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>
652 static const wxString
wxPyListCtrlNameStr(_T("wxListCtrl"));
653 void wxListItemAttr_Destroy(wxListItemAttr
*self
){ delete self
; }
654 // Python aware sorting function for wxPyListCtrl
655 static int wxCALLBACK
wxPyListCtrl_SortItems(long item1
, long item2
, long funcPtr
) {
657 PyObject
* func
= (PyObject
*)funcPtr
;
658 bool blocked
= wxPyBeginBlockThreads();
660 PyObject
* args
= Py_BuildValue("(ii)", item1
, item2
);
661 PyObject
* result
= PyEval_CallObject(func
, args
);
664 retval
= PyInt_AsLong(result
);
668 wxPyEndBlockThreads(blocked
);
672 // C++ Version of a Python aware class
673 class wxPyListCtrl
: public wxListCtrl
{
674 DECLARE_ABSTRACT_CLASS(wxPyListCtrl
);
676 wxPyListCtrl() : wxListCtrl() {}
677 wxPyListCtrl(wxWindow
* parent
, wxWindowID id
,
681 const wxValidator
& validator
,
682 const wxString
& name
) :
683 wxListCtrl(parent
, id
, pos
, size
, style
, validator
, name
) {}
685 bool Create(wxWindow
* parent
, wxWindowID id
,
689 const wxValidator
& validator
,
690 const wxString
& name
) {
691 return wxListCtrl::Create(parent
, id
, pos
, size
, style
, validator
, name
);
694 DEC_PYCALLBACK_STRING_LONGLONG(OnGetItemText
);
695 DEC_PYCALLBACK_INT_LONG(OnGetItemImage
);
696 DEC_PYCALLBACK_LISTATTR_LONG(OnGetItemAttr
);
701 IMPLEMENT_ABSTRACT_CLASS(wxPyListCtrl
, wxListCtrl
);
703 IMP_PYCALLBACK_STRING_LONGLONG(wxPyListCtrl
, wxListCtrl
, OnGetItemText
);
704 IMP_PYCALLBACK_INT_LONG(wxPyListCtrl
, wxListCtrl
, OnGetItemImage
);
705 IMP_PYCALLBACK_LISTATTR_LONG(wxPyListCtrl
, wxListCtrl
, OnGetItemAttr
);
707 wxListItem
*wxPyListCtrl_GetColumn(wxPyListCtrl
*self
,int col
){
709 item
.SetMask( wxLIST_MASK_STATE
|
717 if (self
->GetColumn(col
, item
))
718 return new wxListItem(item
);
722 wxListItem
*wxPyListCtrl_GetItem(wxPyListCtrl
*self
,long itemId
,int col
){
723 wxListItem
* info
= new wxListItem
;
724 info
->m_itemId
= itemId
;
726 info
->m_mask
= 0xFFFF;
727 self
->GetItem(*info
);
730 wxPoint
wxPyListCtrl_GetItemPosition(wxPyListCtrl
*self
,long item
){
732 self
->GetItemPosition(item
, pos
);
735 wxRect
wxPyListCtrl_GetItemRect(wxPyListCtrl
*self
,long item
,int code
){
737 self
->GetItemRect(item
, rect
, code
);
740 bool wxPyListCtrl_SortItems(wxPyListCtrl
*self
,PyObject
*func
){
741 if (!PyCallable_Check(func
))
743 return self
->SortItems((wxListCtrlCompare
)wxPyListCtrl_SortItems
, (long)func
);
745 wxWindow
*wxPyListCtrl_GetMainWindow(wxPyListCtrl
*self
){
753 #include <wx/treectrl.h>
754 #include "wx/wxPython/pytree.h"
756 static const wxString
wxPyTreeCtrlNameStr(_T("wxTreeCtrl"));
757 bool wxTreeItemId___eq__(wxTreeItemId
*self
,wxTreeItemId
const *other
){ return other
? (*self
== *other
) : False
; }
758 bool wxTreeItemId___ne__(wxTreeItemId
*self
,wxTreeItemId
const *other
){ return other
? (*self
!= *other
) : True
; }
759 void wxPyTreeItemData_Destroy(wxPyTreeItemData
*self
){ delete self
; }
760 // C++ version of Python aware wxTreeCtrl
761 class wxPyTreeCtrl
: public wxTreeCtrl
{
762 DECLARE_ABSTRACT_CLASS(wxPyTreeCtrl
);
764 wxPyTreeCtrl() : wxTreeCtrl() {}
765 wxPyTreeCtrl(wxWindow
*parent
, wxWindowID id
,
769 const wxValidator
& validator
,
770 const wxString
& name
) :
771 wxTreeCtrl(parent
, id
, pos
, size
, style
, validator
, name
) {}
773 bool Create(wxWindow
*parent
, wxWindowID id
,
777 const wxValidator
& validator
,
778 const wxString
& name
) {
779 return wxTreeCtrl::Create(parent
, id
, pos
, size
, style
, validator
, name
);
783 int OnCompareItems(const wxTreeItemId
& item1
,
784 const wxTreeItemId
& item2
) {
787 bool blocked
= wxPyBeginBlockThreads();
788 if ((found
= wxPyCBH_findCallback(m_myInst
, "OnCompareItems"))) {
789 PyObject
*o1
= wxPyConstructObject((void*)&item1
, wxT("wxTreeItemId"), False
);
790 PyObject
*o2
= wxPyConstructObject((void*)&item2
, wxT("wxTreeItemId"), False
);
791 rval
= wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(OO)",o1
,o2
));
795 wxPyEndBlockThreads(blocked
);
797 rval
= wxTreeCtrl::OnCompareItems(item1
, item2
);
803 IMPLEMENT_ABSTRACT_CLASS(wxPyTreeCtrl
, wxTreeCtrl
);
807 #if UINT_MAX < LONG_MAX
808 #define SWIG_FromUnsignedInt SWIG_FromLong
810 #define SWIG_FromUnsignedInt SWIG_FromUnsignedLong
814 SWIGSTATICINLINE(unsigned long)
815 SWIG_CheckUnsignedLongInRange(unsigned long value
, const char* type
,
816 unsigned long max_value
)
818 if (!PyErr_Occurred()) {
819 if (value
> max_value
) {
821 PyString_FromFormat("value %ld is greater than '%s' minimum %ld",
822 value
, type
, max_value
);
823 PyErr_SetObject(PyExc_OverflowError
, err
);
831 #if UINT_MAX != ULONG_MAX
832 SWIGSTATICINLINE(unsigned int)
833 SWIG_AsUnsignedInt(PyObject
*obj
)
835 return swig_numeric_cast(unsigned int,
836 SWIG_CheckUnsignedLongInRange(SWIG_AsUnsignedLong(obj
),
837 "unsigned int", UINT_MAX
));
840 #define SWIG_AsUnsignedInt SWIG_AsUnsignedLong
844 SWIGSTATICINLINE(int)
845 SWIG_CheckUnsignedInt(PyObject
* obj
)
847 SWIG_AsUnsignedInt(obj
);
848 if (PyErr_Occurred()) {
856 wxPyTreeItemData
*wxPyTreeCtrl_GetItemData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
){
857 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
859 data
= new wxPyTreeItemData();
860 data
->SetId(item
); // set the id
861 self
->SetItemData(item
, data
);
865 PyObject
*wxPyTreeCtrl_GetItemPyData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
){
866 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
868 data
= new wxPyTreeItemData();
869 data
->SetId(item
); // set the id
870 self
->SetItemData(item
, data
);
872 return data
->GetData();
874 void wxPyTreeCtrl_SetItemData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,wxPyTreeItemData
*data
){
875 data
->SetId(item
); // set the id
876 self
->SetItemData(item
, data
);
878 void wxPyTreeCtrl_SetItemPyData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,PyObject
*obj
){
879 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
881 data
= new wxPyTreeItemData(obj
);
882 data
->SetId(item
); // set the id
883 self
->SetItemData(item
, data
);
887 PyObject
*wxPyTreeCtrl_GetSelections(wxPyTreeCtrl
*self
){
888 bool blocked
= wxPyBeginBlockThreads();
889 PyObject
* rval
= PyList_New(0);
890 wxArrayTreeItemIds array
;
892 num
= self
->GetSelections(array
);
893 for (x
=0; x
< num
; x
++) {
894 wxTreeItemId
*tii
= new wxTreeItemId(array
.Item(x
));
895 PyObject
* item
= wxPyConstructObject((void*)tii
, wxT("wxTreeItemId"), True
);
896 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 ;
1043 int arg2
= (int) -1 ;
1044 wxString
const &arg3_defvalue
= wxPyEmptyString
;
1045 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
1046 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
1047 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
1048 wxSize
const &arg5_defvalue
= wxDefaultSize
;
1049 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
1050 long arg6
= (long) 0 ;
1051 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
1052 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
1053 wxString
const &arg8_defvalue
= wxPyButtonNameStr
;
1054 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
1056 bool temp3
= False
;
1059 bool temp8
= False
;
1060 PyObject
* obj0
= 0 ;
1061 PyObject
* obj1
= 0 ;
1062 PyObject
* obj2
= 0 ;
1063 PyObject
* obj3
= 0 ;
1064 PyObject
* obj4
= 0 ;
1065 PyObject
* obj5
= 0 ;
1066 PyObject
* obj6
= 0 ;
1067 PyObject
* obj7
= 0 ;
1069 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1072 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_Button",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
1073 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
1074 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1076 arg2
= (int) SWIG_AsInt(obj1
);
1077 if (PyErr_Occurred()) SWIG_fail
;
1081 arg3
= wxString_in_helper(obj2
);
1082 if (arg3
== NULL
) SWIG_fail
;
1089 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
1095 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
1099 arg6
= (long) SWIG_AsLong(obj5
);
1100 if (PyErr_Occurred()) SWIG_fail
;
1103 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
1104 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1107 PyErr_SetString(PyExc_TypeError
,"null reference");
1113 arg8
= wxString_in_helper(obj7
);
1114 if (arg8
== NULL
) SWIG_fail
;
1119 if (!wxPyCheckForApp()) SWIG_fail
;
1120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1121 result
= (wxButton
*)new wxButton(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
1123 wxPyEndAllowThreads(__tstate
);
1124 if (PyErr_Occurred()) SWIG_fail
;
1126 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxButton
, 1);
1149 static PyObject
*_wrap_new_PreButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1150 PyObject
*resultobj
;
1156 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreButton",kwnames
)) goto fail
;
1158 if (!wxPyCheckForApp()) SWIG_fail
;
1159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1160 result
= (wxButton
*)new wxButton();
1162 wxPyEndAllowThreads(__tstate
);
1163 if (PyErr_Occurred()) SWIG_fail
;
1165 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxButton
, 1);
1172 static PyObject
*_wrap_Button_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1173 PyObject
*resultobj
;
1174 wxButton
*arg1
= (wxButton
*) 0 ;
1175 wxWindow
*arg2
= (wxWindow
*) 0 ;
1176 int arg3
= (int) -1 ;
1177 wxString
const &arg4_defvalue
= wxPyEmptyString
;
1178 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
1179 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
1180 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
1181 wxSize
const &arg6_defvalue
= wxDefaultSize
;
1182 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
1183 long arg7
= (long) 0 ;
1184 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
1185 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
1186 wxString
const &arg9_defvalue
= wxPyButtonNameStr
;
1187 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
1189 bool temp4
= False
;
1192 bool temp9
= False
;
1193 PyObject
* obj0
= 0 ;
1194 PyObject
* obj1
= 0 ;
1195 PyObject
* obj2
= 0 ;
1196 PyObject
* obj3
= 0 ;
1197 PyObject
* obj4
= 0 ;
1198 PyObject
* obj5
= 0 ;
1199 PyObject
* obj6
= 0 ;
1200 PyObject
* obj7
= 0 ;
1201 PyObject
* obj8
= 0 ;
1203 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1206 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:Button_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
1207 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxButton
,
1208 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1209 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
1210 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1212 arg3
= (int) SWIG_AsInt(obj2
);
1213 if (PyErr_Occurred()) SWIG_fail
;
1217 arg4
= wxString_in_helper(obj3
);
1218 if (arg4
== NULL
) SWIG_fail
;
1225 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
1231 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
1235 arg7
= (long) SWIG_AsLong(obj6
);
1236 if (PyErr_Occurred()) SWIG_fail
;
1239 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
1240 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1243 PyErr_SetString(PyExc_TypeError
,"null reference");
1249 arg9
= wxString_in_helper(obj8
);
1250 if (arg9
== NULL
) SWIG_fail
;
1255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1256 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
1258 wxPyEndAllowThreads(__tstate
);
1259 if (PyErr_Occurred()) SWIG_fail
;
1262 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1286 static PyObject
*_wrap_Button_SetDefault(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1287 PyObject
*resultobj
;
1288 wxButton
*arg1
= (wxButton
*) 0 ;
1289 PyObject
* obj0
= 0 ;
1291 (char *) "self", NULL
1294 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Button_SetDefault",kwnames
,&obj0
)) goto fail
;
1295 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxButton
,
1296 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1299 (arg1
)->SetDefault();
1301 wxPyEndAllowThreads(__tstate
);
1302 if (PyErr_Occurred()) SWIG_fail
;
1304 Py_INCREF(Py_None
); resultobj
= Py_None
;
1311 static PyObject
*_wrap_Button_GetDefaultSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1312 PyObject
*resultobj
;
1318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Button_GetDefaultSize",kwnames
)) goto fail
;
1320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1321 result
= wxButton::GetDefaultSize();
1323 wxPyEndAllowThreads(__tstate
);
1324 if (PyErr_Occurred()) SWIG_fail
;
1328 resultptr
= new wxSize((wxSize
&) result
);
1329 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
1337 static PyObject
*_wrap_Button_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1338 PyObject
*resultobj
;
1339 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
1340 wxVisualAttributes result
;
1341 PyObject
* obj0
= 0 ;
1343 (char *) "variant", NULL
1346 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Button_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
1348 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
1349 if (PyErr_Occurred()) SWIG_fail
;
1352 if (!wxPyCheckForApp()) SWIG_fail
;
1353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1354 result
= wxButton::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
1356 wxPyEndAllowThreads(__tstate
);
1357 if (PyErr_Occurred()) SWIG_fail
;
1360 wxVisualAttributes
* resultptr
;
1361 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
1362 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
1370 static PyObject
* Button_swigregister(PyObject
*self
, PyObject
*args
) {
1372 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1373 SWIG_TypeClientData(SWIGTYPE_p_wxButton
, obj
);
1375 return Py_BuildValue((char *)"");
1377 static PyObject
*_wrap_new_BitmapButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1378 PyObject
*resultobj
;
1379 wxWindow
*arg1
= (wxWindow
*) 0 ;
1380 int arg2
= (int) -1 ;
1381 wxBitmap
const &arg3_defvalue
= wxNullBitmap
;
1382 wxBitmap
*arg3
= (wxBitmap
*) &arg3_defvalue
;
1383 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
1384 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
1385 wxSize
const &arg5_defvalue
= wxDefaultSize
;
1386 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
1387 long arg6
= (long) wxBU_AUTODRAW
;
1388 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
1389 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
1390 wxString
const &arg8_defvalue
= wxPyButtonNameStr
;
1391 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
1392 wxBitmapButton
*result
;
1395 bool temp8
= False
;
1396 PyObject
* obj0
= 0 ;
1397 PyObject
* obj1
= 0 ;
1398 PyObject
* obj2
= 0 ;
1399 PyObject
* obj3
= 0 ;
1400 PyObject
* obj4
= 0 ;
1401 PyObject
* obj5
= 0 ;
1402 PyObject
* obj6
= 0 ;
1403 PyObject
* obj7
= 0 ;
1405 (char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1408 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_BitmapButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
1409 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
1410 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1412 arg2
= (int) SWIG_AsInt(obj1
);
1413 if (PyErr_Occurred()) SWIG_fail
;
1416 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxBitmap
,
1417 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1420 PyErr_SetString(PyExc_TypeError
,"null reference");
1427 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
1433 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
1437 arg6
= (long) SWIG_AsLong(obj5
);
1438 if (PyErr_Occurred()) SWIG_fail
;
1441 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
1442 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1445 PyErr_SetString(PyExc_TypeError
,"null reference");
1451 arg8
= wxString_in_helper(obj7
);
1452 if (arg8
== NULL
) SWIG_fail
;
1457 if (!wxPyCheckForApp()) SWIG_fail
;
1458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1459 result
= (wxBitmapButton
*)new wxBitmapButton(arg1
,arg2
,(wxBitmap
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
1461 wxPyEndAllowThreads(__tstate
);
1462 if (PyErr_Occurred()) SWIG_fail
;
1464 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmapButton
, 1);
1479 static PyObject
*_wrap_new_PreBitmapButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1480 PyObject
*resultobj
;
1481 wxBitmapButton
*result
;
1486 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreBitmapButton",kwnames
)) goto fail
;
1488 if (!wxPyCheckForApp()) SWIG_fail
;
1489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1490 result
= (wxBitmapButton
*)new wxBitmapButton();
1492 wxPyEndAllowThreads(__tstate
);
1493 if (PyErr_Occurred()) SWIG_fail
;
1495 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmapButton
, 1);
1502 static PyObject
*_wrap_BitmapButton_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1503 PyObject
*resultobj
;
1504 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1505 wxWindow
*arg2
= (wxWindow
*) 0 ;
1506 int arg3
= (int) -1 ;
1507 wxBitmap
const &arg4_defvalue
= wxNullBitmap
;
1508 wxBitmap
*arg4
= (wxBitmap
*) &arg4_defvalue
;
1509 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
1510 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
1511 wxSize
const &arg6_defvalue
= wxDefaultSize
;
1512 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
1513 long arg7
= (long) wxBU_AUTODRAW
;
1514 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
1515 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
1516 wxString
const &arg9_defvalue
= wxPyButtonNameStr
;
1517 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
1521 bool temp9
= False
;
1522 PyObject
* obj0
= 0 ;
1523 PyObject
* obj1
= 0 ;
1524 PyObject
* obj2
= 0 ;
1525 PyObject
* obj3
= 0 ;
1526 PyObject
* obj4
= 0 ;
1527 PyObject
* obj5
= 0 ;
1528 PyObject
* obj6
= 0 ;
1529 PyObject
* obj7
= 0 ;
1530 PyObject
* obj8
= 0 ;
1532 (char *) "self",(char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1535 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:BitmapButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
1536 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
1537 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1538 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
1539 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1541 arg3
= (int) SWIG_AsInt(obj2
);
1542 if (PyErr_Occurred()) SWIG_fail
;
1545 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxBitmap
,
1546 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1549 PyErr_SetString(PyExc_TypeError
,"null reference");
1556 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
1562 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
1566 arg7
= (long) SWIG_AsLong(obj6
);
1567 if (PyErr_Occurred()) SWIG_fail
;
1570 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
1571 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1574 PyErr_SetString(PyExc_TypeError
,"null reference");
1580 arg9
= wxString_in_helper(obj8
);
1581 if (arg9
== NULL
) SWIG_fail
;
1586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1587 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxBitmap
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
1589 wxPyEndAllowThreads(__tstate
);
1590 if (PyErr_Occurred()) SWIG_fail
;
1593 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1609 static PyObject
*_wrap_BitmapButton_GetBitmapLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1610 PyObject
*resultobj
;
1611 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1613 PyObject
* obj0
= 0 ;
1615 (char *) "self", NULL
1618 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetBitmapLabel",kwnames
,&obj0
)) goto fail
;
1619 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
1620 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1623 result
= (arg1
)->GetBitmapLabel();
1625 wxPyEndAllowThreads(__tstate
);
1626 if (PyErr_Occurred()) SWIG_fail
;
1629 wxBitmap
* resultptr
;
1630 resultptr
= new wxBitmap((wxBitmap
&) result
);
1631 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
1639 static PyObject
*_wrap_BitmapButton_GetBitmapDisabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1640 PyObject
*resultobj
;
1641 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1643 PyObject
* obj0
= 0 ;
1645 (char *) "self", NULL
1648 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetBitmapDisabled",kwnames
,&obj0
)) goto fail
;
1649 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
1650 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1653 result
= (arg1
)->GetBitmapDisabled();
1655 wxPyEndAllowThreads(__tstate
);
1656 if (PyErr_Occurred()) SWIG_fail
;
1659 wxBitmap
* resultptr
;
1660 resultptr
= new wxBitmap((wxBitmap
&) result
);
1661 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
1669 static PyObject
*_wrap_BitmapButton_GetBitmapFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1670 PyObject
*resultobj
;
1671 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1673 PyObject
* obj0
= 0 ;
1675 (char *) "self", NULL
1678 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetBitmapFocus",kwnames
,&obj0
)) goto fail
;
1679 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
1680 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1683 result
= (arg1
)->GetBitmapFocus();
1685 wxPyEndAllowThreads(__tstate
);
1686 if (PyErr_Occurred()) SWIG_fail
;
1689 wxBitmap
* resultptr
;
1690 resultptr
= new wxBitmap((wxBitmap
&) result
);
1691 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
1699 static PyObject
*_wrap_BitmapButton_GetBitmapSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1700 PyObject
*resultobj
;
1701 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1703 PyObject
* obj0
= 0 ;
1705 (char *) "self", NULL
1708 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetBitmapSelected",kwnames
,&obj0
)) goto fail
;
1709 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
1710 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1713 result
= (arg1
)->GetBitmapSelected();
1715 wxPyEndAllowThreads(__tstate
);
1716 if (PyErr_Occurred()) SWIG_fail
;
1719 wxBitmap
* resultptr
;
1720 resultptr
= new wxBitmap((wxBitmap
&) result
);
1721 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
1729 static PyObject
*_wrap_BitmapButton_SetBitmapDisabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1730 PyObject
*resultobj
;
1731 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1732 wxBitmap
*arg2
= 0 ;
1733 PyObject
* obj0
= 0 ;
1734 PyObject
* obj1
= 0 ;
1736 (char *) "self",(char *) "bitmap", NULL
1739 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapDisabled",kwnames
,&obj0
,&obj1
)) goto fail
;
1740 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
1741 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1742 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
1743 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1746 PyErr_SetString(PyExc_TypeError
,"null reference");
1750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1751 (arg1
)->SetBitmapDisabled((wxBitmap
const &)*arg2
);
1753 wxPyEndAllowThreads(__tstate
);
1754 if (PyErr_Occurred()) SWIG_fail
;
1756 Py_INCREF(Py_None
); resultobj
= Py_None
;
1763 static PyObject
*_wrap_BitmapButton_SetBitmapFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1764 PyObject
*resultobj
;
1765 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1766 wxBitmap
*arg2
= 0 ;
1767 PyObject
* obj0
= 0 ;
1768 PyObject
* obj1
= 0 ;
1770 (char *) "self",(char *) "bitmap", NULL
1773 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapFocus",kwnames
,&obj0
,&obj1
)) goto fail
;
1774 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
1775 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1776 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
1777 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1780 PyErr_SetString(PyExc_TypeError
,"null reference");
1784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1785 (arg1
)->SetBitmapFocus((wxBitmap
const &)*arg2
);
1787 wxPyEndAllowThreads(__tstate
);
1788 if (PyErr_Occurred()) SWIG_fail
;
1790 Py_INCREF(Py_None
); resultobj
= Py_None
;
1797 static PyObject
*_wrap_BitmapButton_SetBitmapSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1798 PyObject
*resultobj
;
1799 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1800 wxBitmap
*arg2
= 0 ;
1801 PyObject
* obj0
= 0 ;
1802 PyObject
* obj1
= 0 ;
1804 (char *) "self",(char *) "bitmap", NULL
1807 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
1808 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
1809 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1810 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
1811 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1814 PyErr_SetString(PyExc_TypeError
,"null reference");
1818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1819 (arg1
)->SetBitmapSelected((wxBitmap
const &)*arg2
);
1821 wxPyEndAllowThreads(__tstate
);
1822 if (PyErr_Occurred()) SWIG_fail
;
1824 Py_INCREF(Py_None
); resultobj
= Py_None
;
1831 static PyObject
*_wrap_BitmapButton_SetBitmapLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1832 PyObject
*resultobj
;
1833 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1834 wxBitmap
*arg2
= 0 ;
1835 PyObject
* obj0
= 0 ;
1836 PyObject
* obj1
= 0 ;
1838 (char *) "self",(char *) "bitmap", NULL
1841 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
1842 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
1843 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1844 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
1845 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1848 PyErr_SetString(PyExc_TypeError
,"null reference");
1852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1853 (arg1
)->SetBitmapLabel((wxBitmap
const &)*arg2
);
1855 wxPyEndAllowThreads(__tstate
);
1856 if (PyErr_Occurred()) SWIG_fail
;
1858 Py_INCREF(Py_None
); resultobj
= Py_None
;
1865 static PyObject
*_wrap_BitmapButton_SetMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1866 PyObject
*resultobj
;
1867 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1870 PyObject
* obj0
= 0 ;
1871 PyObject
* obj1
= 0 ;
1872 PyObject
* obj2
= 0 ;
1874 (char *) "self",(char *) "x",(char *) "y", NULL
1877 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BitmapButton_SetMargins",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
1878 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
1879 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1880 arg2
= (int) SWIG_AsInt(obj1
);
1881 if (PyErr_Occurred()) SWIG_fail
;
1882 arg3
= (int) SWIG_AsInt(obj2
);
1883 if (PyErr_Occurred()) SWIG_fail
;
1885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1886 (arg1
)->SetMargins(arg2
,arg3
);
1888 wxPyEndAllowThreads(__tstate
);
1889 if (PyErr_Occurred()) SWIG_fail
;
1891 Py_INCREF(Py_None
); resultobj
= Py_None
;
1898 static PyObject
*_wrap_BitmapButton_GetMarginX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1899 PyObject
*resultobj
;
1900 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1902 PyObject
* obj0
= 0 ;
1904 (char *) "self", NULL
1907 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetMarginX",kwnames
,&obj0
)) goto fail
;
1908 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
1909 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1912 result
= (int)((wxBitmapButton
const *)arg1
)->GetMarginX();
1914 wxPyEndAllowThreads(__tstate
);
1915 if (PyErr_Occurred()) SWIG_fail
;
1917 resultobj
= SWIG_FromInt((int)result
);
1924 static PyObject
*_wrap_BitmapButton_GetMarginY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1925 PyObject
*resultobj
;
1926 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1928 PyObject
* obj0
= 0 ;
1930 (char *) "self", NULL
1933 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetMarginY",kwnames
,&obj0
)) goto fail
;
1934 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
1935 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1938 result
= (int)((wxBitmapButton
const *)arg1
)->GetMarginY();
1940 wxPyEndAllowThreads(__tstate
);
1941 if (PyErr_Occurred()) SWIG_fail
;
1943 resultobj
= SWIG_FromInt((int)result
);
1950 static PyObject
* BitmapButton_swigregister(PyObject
*self
, PyObject
*args
) {
1952 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1953 SWIG_TypeClientData(SWIGTYPE_p_wxBitmapButton
, obj
);
1955 return Py_BuildValue((char *)"");
1957 static int _wrap_CheckBoxNameStr_set(PyObject
*_val
) {
1958 PyErr_SetString(PyExc_TypeError
,"Variable CheckBoxNameStr is read-only.");
1963 static PyObject
*_wrap_CheckBoxNameStr_get() {
1968 pyobj
= PyUnicode_FromWideChar((&wxPyCheckBoxNameStr
)->c_str(), (&wxPyCheckBoxNameStr
)->Len());
1970 pyobj
= PyString_FromStringAndSize((&wxPyCheckBoxNameStr
)->c_str(), (&wxPyCheckBoxNameStr
)->Len());
1977 static PyObject
*_wrap_new_CheckBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1978 PyObject
*resultobj
;
1979 wxWindow
*arg1
= (wxWindow
*) 0 ;
1980 int arg2
= (int) -1 ;
1981 wxString
const &arg3_defvalue
= wxPyEmptyString
;
1982 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
1983 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
1984 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
1985 wxSize
const &arg5_defvalue
= wxDefaultSize
;
1986 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
1987 long arg6
= (long) 0 ;
1988 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
1989 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
1990 wxString
const &arg8_defvalue
= wxPyCheckBoxNameStr
;
1991 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
1993 bool temp3
= False
;
1996 bool temp8
= False
;
1997 PyObject
* obj0
= 0 ;
1998 PyObject
* obj1
= 0 ;
1999 PyObject
* obj2
= 0 ;
2000 PyObject
* obj3
= 0 ;
2001 PyObject
* obj4
= 0 ;
2002 PyObject
* obj5
= 0 ;
2003 PyObject
* obj6
= 0 ;
2004 PyObject
* obj7
= 0 ;
2006 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
2009 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_CheckBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
2010 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
2011 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2013 arg2
= (int) SWIG_AsInt(obj1
);
2014 if (PyErr_Occurred()) SWIG_fail
;
2018 arg3
= wxString_in_helper(obj2
);
2019 if (arg3
== NULL
) SWIG_fail
;
2026 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
2032 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
2036 arg6
= (long) SWIG_AsLong(obj5
);
2037 if (PyErr_Occurred()) SWIG_fail
;
2040 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
2041 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2044 PyErr_SetString(PyExc_TypeError
,"null reference");
2050 arg8
= wxString_in_helper(obj7
);
2051 if (arg8
== NULL
) SWIG_fail
;
2056 if (!wxPyCheckForApp()) SWIG_fail
;
2057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2058 result
= (wxCheckBox
*)new wxCheckBox(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
2060 wxPyEndAllowThreads(__tstate
);
2061 if (PyErr_Occurred()) SWIG_fail
;
2063 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCheckBox
, 1);
2086 static PyObject
*_wrap_new_PreCheckBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2087 PyObject
*resultobj
;
2093 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreCheckBox",kwnames
)) goto fail
;
2095 if (!wxPyCheckForApp()) SWIG_fail
;
2096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2097 result
= (wxCheckBox
*)new wxCheckBox();
2099 wxPyEndAllowThreads(__tstate
);
2100 if (PyErr_Occurred()) SWIG_fail
;
2102 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCheckBox
, 1);
2109 static PyObject
*_wrap_CheckBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2110 PyObject
*resultobj
;
2111 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
2112 wxWindow
*arg2
= (wxWindow
*) 0 ;
2113 int arg3
= (int) -1 ;
2114 wxString
const &arg4_defvalue
= wxPyEmptyString
;
2115 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
2116 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
2117 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
2118 wxSize
const &arg6_defvalue
= wxDefaultSize
;
2119 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
2120 long arg7
= (long) 0 ;
2121 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
2122 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
2123 wxString
const &arg9_defvalue
= wxPyCheckBoxNameStr
;
2124 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
2126 bool temp4
= False
;
2129 bool temp9
= False
;
2130 PyObject
* obj0
= 0 ;
2131 PyObject
* obj1
= 0 ;
2132 PyObject
* obj2
= 0 ;
2133 PyObject
* obj3
= 0 ;
2134 PyObject
* obj4
= 0 ;
2135 PyObject
* obj5
= 0 ;
2136 PyObject
* obj6
= 0 ;
2137 PyObject
* obj7
= 0 ;
2138 PyObject
* obj8
= 0 ;
2140 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
2143 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:CheckBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
2144 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckBox
,
2145 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2146 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
2147 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2149 arg3
= (int) SWIG_AsInt(obj2
);
2150 if (PyErr_Occurred()) SWIG_fail
;
2154 arg4
= wxString_in_helper(obj3
);
2155 if (arg4
== NULL
) SWIG_fail
;
2162 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
2168 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
2172 arg7
= (long) SWIG_AsLong(obj6
);
2173 if (PyErr_Occurred()) SWIG_fail
;
2176 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
2177 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2180 PyErr_SetString(PyExc_TypeError
,"null reference");
2186 arg9
= wxString_in_helper(obj8
);
2187 if (arg9
== NULL
) SWIG_fail
;
2192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2193 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
2195 wxPyEndAllowThreads(__tstate
);
2196 if (PyErr_Occurred()) SWIG_fail
;
2199 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2223 static PyObject
*_wrap_CheckBox_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2224 PyObject
*resultobj
;
2225 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
2227 PyObject
* obj0
= 0 ;
2229 (char *) "self", NULL
2232 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckBox_GetValue",kwnames
,&obj0
)) goto fail
;
2233 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckBox
,
2234 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2237 result
= (bool)(arg1
)->GetValue();
2239 wxPyEndAllowThreads(__tstate
);
2240 if (PyErr_Occurred()) SWIG_fail
;
2243 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2251 static PyObject
*_wrap_CheckBox_IsChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2252 PyObject
*resultobj
;
2253 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
2255 PyObject
* obj0
= 0 ;
2257 (char *) "self", NULL
2260 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckBox_IsChecked",kwnames
,&obj0
)) goto fail
;
2261 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckBox
,
2262 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2265 result
= (bool)(arg1
)->IsChecked();
2267 wxPyEndAllowThreads(__tstate
);
2268 if (PyErr_Occurred()) SWIG_fail
;
2271 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2279 static PyObject
*_wrap_CheckBox_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2280 PyObject
*resultobj
;
2281 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
2283 PyObject
* obj0
= 0 ;
2284 PyObject
* obj1
= 0 ;
2286 (char *) "self",(char *) "state", NULL
2289 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckBox_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
2290 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckBox
,
2291 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2292 arg2
= (bool const) SWIG_AsBool(obj1
);
2293 if (PyErr_Occurred()) SWIG_fail
;
2295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2296 (arg1
)->SetValue(arg2
);
2298 wxPyEndAllowThreads(__tstate
);
2299 if (PyErr_Occurred()) SWIG_fail
;
2301 Py_INCREF(Py_None
); resultobj
= Py_None
;
2308 static PyObject
*_wrap_CheckBox_Get3StateValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2309 PyObject
*resultobj
;
2310 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
2312 PyObject
* obj0
= 0 ;
2314 (char *) "self", NULL
2317 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckBox_Get3StateValue",kwnames
,&obj0
)) goto fail
;
2318 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckBox
,
2319 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2322 result
= (int)((wxCheckBox
const *)arg1
)->Get3StateValue();
2324 wxPyEndAllowThreads(__tstate
);
2325 if (PyErr_Occurred()) SWIG_fail
;
2327 resultobj
= SWIG_FromInt((int)result
);
2334 static PyObject
*_wrap_CheckBox_Set3StateValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2335 PyObject
*resultobj
;
2336 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
2338 PyObject
* obj0
= 0 ;
2339 PyObject
* obj1
= 0 ;
2341 (char *) "self",(char *) "state", NULL
2344 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckBox_Set3StateValue",kwnames
,&obj0
,&obj1
)) goto fail
;
2345 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckBox
,
2346 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2347 arg2
= (wxCheckBoxState
) SWIG_AsInt(obj1
);
2348 if (PyErr_Occurred()) SWIG_fail
;
2350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2351 (arg1
)->Set3StateValue((wxCheckBoxState
)arg2
);
2353 wxPyEndAllowThreads(__tstate
);
2354 if (PyErr_Occurred()) SWIG_fail
;
2356 Py_INCREF(Py_None
); resultobj
= Py_None
;
2363 static PyObject
*_wrap_CheckBox_Is3State(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2364 PyObject
*resultobj
;
2365 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
2367 PyObject
* obj0
= 0 ;
2369 (char *) "self", NULL
2372 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckBox_Is3State",kwnames
,&obj0
)) goto fail
;
2373 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckBox
,
2374 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2377 result
= (bool)((wxCheckBox
const *)arg1
)->Is3State();
2379 wxPyEndAllowThreads(__tstate
);
2380 if (PyErr_Occurred()) SWIG_fail
;
2383 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2391 static PyObject
*_wrap_CheckBox_Is3rdStateAllowedForUser(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2392 PyObject
*resultobj
;
2393 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
2395 PyObject
* obj0
= 0 ;
2397 (char *) "self", NULL
2400 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckBox_Is3rdStateAllowedForUser",kwnames
,&obj0
)) goto fail
;
2401 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckBox
,
2402 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2405 result
= (bool)((wxCheckBox
const *)arg1
)->Is3rdStateAllowedForUser();
2407 wxPyEndAllowThreads(__tstate
);
2408 if (PyErr_Occurred()) SWIG_fail
;
2411 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2419 static PyObject
*_wrap_CheckBox_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2420 PyObject
*resultobj
;
2421 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
2422 wxVisualAttributes result
;
2423 PyObject
* obj0
= 0 ;
2425 (char *) "variant", NULL
2428 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:CheckBox_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
2430 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
2431 if (PyErr_Occurred()) SWIG_fail
;
2434 if (!wxPyCheckForApp()) SWIG_fail
;
2435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2436 result
= wxCheckBox::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
2438 wxPyEndAllowThreads(__tstate
);
2439 if (PyErr_Occurred()) SWIG_fail
;
2442 wxVisualAttributes
* resultptr
;
2443 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
2444 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
2452 static PyObject
* CheckBox_swigregister(PyObject
*self
, PyObject
*args
) {
2454 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2455 SWIG_TypeClientData(SWIGTYPE_p_wxCheckBox
, obj
);
2457 return Py_BuildValue((char *)"");
2459 static int _wrap_ChoiceNameStr_set(PyObject
*_val
) {
2460 PyErr_SetString(PyExc_TypeError
,"Variable ChoiceNameStr is read-only.");
2465 static PyObject
*_wrap_ChoiceNameStr_get() {
2470 pyobj
= PyUnicode_FromWideChar((&wxPyChoiceNameStr
)->c_str(), (&wxPyChoiceNameStr
)->Len());
2472 pyobj
= PyString_FromStringAndSize((&wxPyChoiceNameStr
)->c_str(), (&wxPyChoiceNameStr
)->Len());
2479 static PyObject
*_wrap_new_Choice(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2480 PyObject
*resultobj
;
2481 wxWindow
*arg1
= (wxWindow
*) 0 ;
2482 int arg2
= (int) -1 ;
2483 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
2484 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
2485 wxSize
const &arg4_defvalue
= wxDefaultSize
;
2486 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
2487 wxArrayString
const &arg5_defvalue
= wxPyEmptyStringArray
;
2488 wxArrayString
*arg5
= (wxArrayString
*) &arg5_defvalue
;
2489 long arg6
= (long) 0 ;
2490 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
2491 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
2492 wxString
const &arg8_defvalue
= wxPyChoiceNameStr
;
2493 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
2497 bool temp5
= False
;
2498 bool temp8
= False
;
2499 PyObject
* obj0
= 0 ;
2500 PyObject
* obj1
= 0 ;
2501 PyObject
* obj2
= 0 ;
2502 PyObject
* obj3
= 0 ;
2503 PyObject
* obj4
= 0 ;
2504 PyObject
* obj5
= 0 ;
2505 PyObject
* obj6
= 0 ;
2506 PyObject
* obj7
= 0 ;
2508 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
2511 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_Choice",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
2512 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
2513 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2515 arg2
= (int) SWIG_AsInt(obj1
);
2516 if (PyErr_Occurred()) SWIG_fail
;
2521 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
2527 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
2532 if (! PySequence_Check(obj4
)) {
2533 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
2536 arg5
= new wxArrayString
;
2538 int i
, len
=PySequence_Length(obj4
);
2539 for (i
=0; i
<len
; i
++) {
2540 PyObject
* item
= PySequence_GetItem(obj4
, i
);
2542 PyObject
* str
= PyObject_Unicode(item
);
2544 PyObject
* str
= PyObject_Str(item
);
2546 if (PyErr_Occurred()) SWIG_fail
;
2547 arg5
->Add(Py2wxString(str
));
2554 arg6
= (long) SWIG_AsLong(obj5
);
2555 if (PyErr_Occurred()) SWIG_fail
;
2558 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
2559 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2562 PyErr_SetString(PyExc_TypeError
,"null reference");
2568 arg8
= wxString_in_helper(obj7
);
2569 if (arg8
== NULL
) SWIG_fail
;
2574 if (!wxPyCheckForApp()) SWIG_fail
;
2575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2576 result
= (wxChoice
*)new wxChoice(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,(wxArrayString
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
2578 wxPyEndAllowThreads(__tstate
);
2579 if (PyErr_Occurred()) SWIG_fail
;
2581 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxChoice
, 1);
2583 if (temp5
) delete arg5
;
2592 if (temp5
) delete arg5
;
2602 static PyObject
*_wrap_new_PreChoice(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2603 PyObject
*resultobj
;
2609 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreChoice",kwnames
)) goto fail
;
2611 if (!wxPyCheckForApp()) SWIG_fail
;
2612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2613 result
= (wxChoice
*)new wxChoice();
2615 wxPyEndAllowThreads(__tstate
);
2616 if (PyErr_Occurred()) SWIG_fail
;
2618 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxChoice
, 1);
2625 static PyObject
*_wrap_Choice_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2626 PyObject
*resultobj
;
2627 wxChoice
*arg1
= (wxChoice
*) 0 ;
2628 wxWindow
*arg2
= (wxWindow
*) 0 ;
2629 int arg3
= (int) -1 ;
2630 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
2631 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
2632 wxSize
const &arg5_defvalue
= wxDefaultSize
;
2633 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
2634 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
2635 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
2636 long arg7
= (long) 0 ;
2637 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
2638 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
2639 wxString
const &arg9_defvalue
= wxPyChoiceNameStr
;
2640 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
2644 bool temp6
= False
;
2645 bool temp9
= False
;
2646 PyObject
* obj0
= 0 ;
2647 PyObject
* obj1
= 0 ;
2648 PyObject
* obj2
= 0 ;
2649 PyObject
* obj3
= 0 ;
2650 PyObject
* obj4
= 0 ;
2651 PyObject
* obj5
= 0 ;
2652 PyObject
* obj6
= 0 ;
2653 PyObject
* obj7
= 0 ;
2654 PyObject
* obj8
= 0 ;
2656 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
2659 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:Choice_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
2660 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxChoice
,
2661 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2662 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
2663 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2665 arg3
= (int) SWIG_AsInt(obj2
);
2666 if (PyErr_Occurred()) SWIG_fail
;
2671 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
2677 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
2682 if (! PySequence_Check(obj5
)) {
2683 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
2686 arg6
= new wxArrayString
;
2688 int i
, len
=PySequence_Length(obj5
);
2689 for (i
=0; i
<len
; i
++) {
2690 PyObject
* item
= PySequence_GetItem(obj5
, i
);
2692 PyObject
* str
= PyObject_Unicode(item
);
2694 PyObject
* str
= PyObject_Str(item
);
2696 if (PyErr_Occurred()) SWIG_fail
;
2697 arg6
->Add(Py2wxString(str
));
2704 arg7
= (long) SWIG_AsLong(obj6
);
2705 if (PyErr_Occurred()) SWIG_fail
;
2708 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
2709 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2712 PyErr_SetString(PyExc_TypeError
,"null reference");
2718 arg9
= wxString_in_helper(obj8
);
2719 if (arg9
== NULL
) SWIG_fail
;
2724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2725 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,(wxArrayString
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
2727 wxPyEndAllowThreads(__tstate
);
2728 if (PyErr_Occurred()) SWIG_fail
;
2731 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2734 if (temp6
) delete arg6
;
2743 if (temp6
) delete arg6
;
2753 static PyObject
*_wrap_Choice_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2754 PyObject
*resultobj
;
2755 wxChoice
*arg1
= (wxChoice
*) 0 ;
2757 PyObject
* obj0
= 0 ;
2758 PyObject
* obj1
= 0 ;
2760 (char *) "self",(char *) "n", NULL
2763 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Choice_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
2764 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxChoice
,
2765 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2766 arg2
= (int const) SWIG_AsInt(obj1
);
2767 if (PyErr_Occurred()) SWIG_fail
;
2769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2770 (arg1
)->SetSelection(arg2
);
2772 wxPyEndAllowThreads(__tstate
);
2773 if (PyErr_Occurred()) SWIG_fail
;
2775 Py_INCREF(Py_None
); resultobj
= Py_None
;
2782 static PyObject
*_wrap_Choice_SetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2783 PyObject
*resultobj
;
2784 wxChoice
*arg1
= (wxChoice
*) 0 ;
2785 wxString
*arg2
= 0 ;
2787 bool temp2
= False
;
2788 PyObject
* obj0
= 0 ;
2789 PyObject
* obj1
= 0 ;
2791 (char *) "self",(char *) "string", NULL
2794 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Choice_SetStringSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
2795 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxChoice
,
2796 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2798 arg2
= wxString_in_helper(obj1
);
2799 if (arg2
== NULL
) SWIG_fail
;
2803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2804 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
);
2806 wxPyEndAllowThreads(__tstate
);
2807 if (PyErr_Occurred()) SWIG_fail
;
2810 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2826 static PyObject
*_wrap_Choice_SetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2827 PyObject
*resultobj
;
2828 wxChoice
*arg1
= (wxChoice
*) 0 ;
2830 wxString
*arg3
= 0 ;
2831 bool temp3
= False
;
2832 PyObject
* obj0
= 0 ;
2833 PyObject
* obj1
= 0 ;
2834 PyObject
* obj2
= 0 ;
2836 (char *) "self",(char *) "n",(char *) "string", NULL
2839 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Choice_SetString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2840 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxChoice
,
2841 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2842 arg2
= (int) SWIG_AsInt(obj1
);
2843 if (PyErr_Occurred()) SWIG_fail
;
2845 arg3
= wxString_in_helper(obj2
);
2846 if (arg3
== NULL
) SWIG_fail
;
2850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2851 (arg1
)->SetString(arg2
,(wxString
const &)*arg3
);
2853 wxPyEndAllowThreads(__tstate
);
2854 if (PyErr_Occurred()) SWIG_fail
;
2856 Py_INCREF(Py_None
); resultobj
= Py_None
;
2871 static PyObject
*_wrap_Choice_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2872 PyObject
*resultobj
;
2873 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
2874 wxVisualAttributes result
;
2875 PyObject
* obj0
= 0 ;
2877 (char *) "variant", NULL
2880 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Choice_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
2882 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
2883 if (PyErr_Occurred()) SWIG_fail
;
2886 if (!wxPyCheckForApp()) SWIG_fail
;
2887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2888 result
= wxChoice::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
2890 wxPyEndAllowThreads(__tstate
);
2891 if (PyErr_Occurred()) SWIG_fail
;
2894 wxVisualAttributes
* resultptr
;
2895 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
2896 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
2904 static PyObject
* Choice_swigregister(PyObject
*self
, PyObject
*args
) {
2906 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2907 SWIG_TypeClientData(SWIGTYPE_p_wxChoice
, obj
);
2909 return Py_BuildValue((char *)"");
2911 static int _wrap_ComboBoxNameStr_set(PyObject
*_val
) {
2912 PyErr_SetString(PyExc_TypeError
,"Variable ComboBoxNameStr is read-only.");
2917 static PyObject
*_wrap_ComboBoxNameStr_get() {
2922 pyobj
= PyUnicode_FromWideChar((&wxPyComboBoxNameStr
)->c_str(), (&wxPyComboBoxNameStr
)->Len());
2924 pyobj
= PyString_FromStringAndSize((&wxPyComboBoxNameStr
)->c_str(), (&wxPyComboBoxNameStr
)->Len());
2931 static PyObject
*_wrap_new_ComboBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2932 PyObject
*resultobj
;
2933 wxWindow
*arg1
= (wxWindow
*) 0 ;
2934 int arg2
= (int) -1 ;
2935 wxString
const &arg3_defvalue
= wxPyEmptyString
;
2936 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
2937 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
2938 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
2939 wxSize
const &arg5_defvalue
= wxDefaultSize
;
2940 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
2941 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
2942 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
2943 long arg7
= (long) 0 ;
2944 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
2945 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
2946 wxString
const &arg9_defvalue
= wxPyComboBoxNameStr
;
2947 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
2949 bool temp3
= False
;
2952 bool temp6
= False
;
2953 bool temp9
= False
;
2954 PyObject
* obj0
= 0 ;
2955 PyObject
* obj1
= 0 ;
2956 PyObject
* obj2
= 0 ;
2957 PyObject
* obj3
= 0 ;
2958 PyObject
* obj4
= 0 ;
2959 PyObject
* obj5
= 0 ;
2960 PyObject
* obj6
= 0 ;
2961 PyObject
* obj7
= 0 ;
2962 PyObject
* obj8
= 0 ;
2964 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
2967 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOO:new_ComboBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
2968 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
2969 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2971 arg2
= (int) SWIG_AsInt(obj1
);
2972 if (PyErr_Occurred()) SWIG_fail
;
2976 arg3
= wxString_in_helper(obj2
);
2977 if (arg3
== NULL
) SWIG_fail
;
2984 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
2990 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
2995 if (! PySequence_Check(obj5
)) {
2996 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
2999 arg6
= new wxArrayString
;
3001 int i
, len
=PySequence_Length(obj5
);
3002 for (i
=0; i
<len
; i
++) {
3003 PyObject
* item
= PySequence_GetItem(obj5
, i
);
3005 PyObject
* str
= PyObject_Unicode(item
);
3007 PyObject
* str
= PyObject_Str(item
);
3009 if (PyErr_Occurred()) SWIG_fail
;
3010 arg6
->Add(Py2wxString(str
));
3017 arg7
= (long) SWIG_AsLong(obj6
);
3018 if (PyErr_Occurred()) SWIG_fail
;
3021 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
3022 SWIG_POINTER_EXCEPTION
| 0)) == -1)
3025 PyErr_SetString(PyExc_TypeError
,"null reference");
3031 arg9
= wxString_in_helper(obj8
);
3032 if (arg9
== NULL
) SWIG_fail
;
3037 if (!wxPyCheckForApp()) SWIG_fail
;
3038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3039 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
);
3041 wxPyEndAllowThreads(__tstate
);
3042 if (PyErr_Occurred()) SWIG_fail
;
3044 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxComboBox
, 1);
3050 if (temp6
) delete arg6
;
3063 if (temp6
) delete arg6
;
3073 static PyObject
*_wrap_new_PreComboBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3074 PyObject
*resultobj
;
3080 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreComboBox",kwnames
)) goto fail
;
3082 if (!wxPyCheckForApp()) SWIG_fail
;
3083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3084 result
= (wxComboBox
*)new wxComboBox();
3086 wxPyEndAllowThreads(__tstate
);
3087 if (PyErr_Occurred()) SWIG_fail
;
3089 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxComboBox
, 1);
3096 static PyObject
*_wrap_ComboBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3097 PyObject
*resultobj
;
3098 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3099 wxWindow
*arg2
= (wxWindow
*) 0 ;
3100 int arg3
= (int) -1 ;
3101 wxString
const &arg4_defvalue
= wxPyEmptyString
;
3102 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
3103 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
3104 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
3105 wxSize
const &arg6_defvalue
= wxDefaultSize
;
3106 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
3107 wxArrayString
const &arg7_defvalue
= wxPyEmptyStringArray
;
3108 wxArrayString
*arg7
= (wxArrayString
*) &arg7_defvalue
;
3109 long arg8
= (long) 0 ;
3110 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
3111 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
3112 wxString
const &arg10_defvalue
= wxPyChoiceNameStr
;
3113 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
3115 bool temp4
= False
;
3118 bool temp7
= False
;
3119 bool temp10
= False
;
3120 PyObject
* obj0
= 0 ;
3121 PyObject
* obj1
= 0 ;
3122 PyObject
* obj2
= 0 ;
3123 PyObject
* obj3
= 0 ;
3124 PyObject
* obj4
= 0 ;
3125 PyObject
* obj5
= 0 ;
3126 PyObject
* obj6
= 0 ;
3127 PyObject
* obj7
= 0 ;
3128 PyObject
* obj8
= 0 ;
3129 PyObject
* obj9
= 0 ;
3131 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
3134 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOO:ComboBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
3135 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3136 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3137 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
3138 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3140 arg3
= (int) SWIG_AsInt(obj2
);
3141 if (PyErr_Occurred()) SWIG_fail
;
3145 arg4
= wxString_in_helper(obj3
);
3146 if (arg4
== NULL
) SWIG_fail
;
3153 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
3159 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
3164 if (! PySequence_Check(obj6
)) {
3165 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
3168 arg7
= new wxArrayString
;
3170 int i
, len
=PySequence_Length(obj6
);
3171 for (i
=0; i
<len
; i
++) {
3172 PyObject
* item
= PySequence_GetItem(obj6
, i
);
3174 PyObject
* str
= PyObject_Unicode(item
);
3176 PyObject
* str
= PyObject_Str(item
);
3178 if (PyErr_Occurred()) SWIG_fail
;
3179 arg7
->Add(Py2wxString(str
));
3186 arg8
= (long) SWIG_AsLong(obj7
);
3187 if (PyErr_Occurred()) SWIG_fail
;
3190 if ((SWIG_ConvertPtr(obj8
,(void **)(&arg9
),SWIGTYPE_p_wxValidator
,
3191 SWIG_POINTER_EXCEPTION
| 0)) == -1)
3194 PyErr_SetString(PyExc_TypeError
,"null reference");
3200 arg10
= wxString_in_helper(obj9
);
3201 if (arg10
== NULL
) SWIG_fail
;
3206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3207 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
);
3209 wxPyEndAllowThreads(__tstate
);
3210 if (PyErr_Occurred()) SWIG_fail
;
3213 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3220 if (temp7
) delete arg7
;
3233 if (temp7
) delete arg7
;
3243 static PyObject
*_wrap_ComboBox_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3244 PyObject
*resultobj
;
3245 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3247 PyObject
* obj0
= 0 ;
3249 (char *) "self", NULL
3252 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_GetValue",kwnames
,&obj0
)) goto fail
;
3253 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3254 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3257 result
= ((wxComboBox
const *)arg1
)->GetValue();
3259 wxPyEndAllowThreads(__tstate
);
3260 if (PyErr_Occurred()) SWIG_fail
;
3264 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3266 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3275 static PyObject
*_wrap_ComboBox_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3276 PyObject
*resultobj
;
3277 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3278 wxString
*arg2
= 0 ;
3279 bool temp2
= False
;
3280 PyObject
* obj0
= 0 ;
3281 PyObject
* obj1
= 0 ;
3283 (char *) "self",(char *) "value", NULL
3286 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
3287 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3288 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3290 arg2
= wxString_in_helper(obj1
);
3291 if (arg2
== NULL
) SWIG_fail
;
3295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3296 (arg1
)->SetValue((wxString
const &)*arg2
);
3298 wxPyEndAllowThreads(__tstate
);
3299 if (PyErr_Occurred()) SWIG_fail
;
3301 Py_INCREF(Py_None
); resultobj
= Py_None
;
3316 static PyObject
*_wrap_ComboBox_Copy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3317 PyObject
*resultobj
;
3318 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3319 PyObject
* obj0
= 0 ;
3321 (char *) "self", NULL
3324 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_Copy",kwnames
,&obj0
)) goto fail
;
3325 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3326 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3331 wxPyEndAllowThreads(__tstate
);
3332 if (PyErr_Occurred()) SWIG_fail
;
3334 Py_INCREF(Py_None
); resultobj
= Py_None
;
3341 static PyObject
*_wrap_ComboBox_Cut(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3342 PyObject
*resultobj
;
3343 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3344 PyObject
* obj0
= 0 ;
3346 (char *) "self", NULL
3349 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_Cut",kwnames
,&obj0
)) goto fail
;
3350 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3351 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3356 wxPyEndAllowThreads(__tstate
);
3357 if (PyErr_Occurred()) SWIG_fail
;
3359 Py_INCREF(Py_None
); resultobj
= Py_None
;
3366 static PyObject
*_wrap_ComboBox_Paste(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3367 PyObject
*resultobj
;
3368 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3369 PyObject
* obj0
= 0 ;
3371 (char *) "self", NULL
3374 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_Paste",kwnames
,&obj0
)) goto fail
;
3375 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3376 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3381 wxPyEndAllowThreads(__tstate
);
3382 if (PyErr_Occurred()) SWIG_fail
;
3384 Py_INCREF(Py_None
); resultobj
= Py_None
;
3391 static PyObject
*_wrap_ComboBox_SetInsertionPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3392 PyObject
*resultobj
;
3393 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3395 PyObject
* obj0
= 0 ;
3396 PyObject
* obj1
= 0 ;
3398 (char *) "self",(char *) "pos", NULL
3401 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetInsertionPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
3402 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3403 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3404 arg2
= (long) SWIG_AsLong(obj1
);
3405 if (PyErr_Occurred()) SWIG_fail
;
3407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3408 (arg1
)->SetInsertionPoint(arg2
);
3410 wxPyEndAllowThreads(__tstate
);
3411 if (PyErr_Occurred()) SWIG_fail
;
3413 Py_INCREF(Py_None
); resultobj
= Py_None
;
3420 static PyObject
*_wrap_ComboBox_GetInsertionPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3421 PyObject
*resultobj
;
3422 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3424 PyObject
* obj0
= 0 ;
3426 (char *) "self", NULL
3429 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_GetInsertionPoint",kwnames
,&obj0
)) goto fail
;
3430 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3431 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3434 result
= (long)((wxComboBox
const *)arg1
)->GetInsertionPoint();
3436 wxPyEndAllowThreads(__tstate
);
3437 if (PyErr_Occurred()) SWIG_fail
;
3439 resultobj
= SWIG_FromLong((long)result
);
3446 static PyObject
*_wrap_ComboBox_GetLastPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3447 PyObject
*resultobj
;
3448 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3450 PyObject
* obj0
= 0 ;
3452 (char *) "self", NULL
3455 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_GetLastPosition",kwnames
,&obj0
)) goto fail
;
3456 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3457 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3460 result
= (long)((wxComboBox
const *)arg1
)->GetLastPosition();
3462 wxPyEndAllowThreads(__tstate
);
3463 if (PyErr_Occurred()) SWIG_fail
;
3465 resultobj
= SWIG_FromLong((long)result
);
3472 static PyObject
*_wrap_ComboBox_Replace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3473 PyObject
*resultobj
;
3474 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3477 wxString
*arg4
= 0 ;
3478 bool temp4
= False
;
3479 PyObject
* obj0
= 0 ;
3480 PyObject
* obj1
= 0 ;
3481 PyObject
* obj2
= 0 ;
3482 PyObject
* obj3
= 0 ;
3484 (char *) "self",(char *) "from",(char *) "to",(char *) "value", NULL
3487 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ComboBox_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
3488 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3489 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3490 arg2
= (long) SWIG_AsLong(obj1
);
3491 if (PyErr_Occurred()) SWIG_fail
;
3492 arg3
= (long) SWIG_AsLong(obj2
);
3493 if (PyErr_Occurred()) SWIG_fail
;
3495 arg4
= wxString_in_helper(obj3
);
3496 if (arg4
== NULL
) SWIG_fail
;
3500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3501 (arg1
)->Replace(arg2
,arg3
,(wxString
const &)*arg4
);
3503 wxPyEndAllowThreads(__tstate
);
3504 if (PyErr_Occurred()) SWIG_fail
;
3506 Py_INCREF(Py_None
); resultobj
= Py_None
;
3521 static PyObject
*_wrap_ComboBox_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3522 PyObject
*resultobj
;
3523 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3525 PyObject
* obj0
= 0 ;
3526 PyObject
* obj1
= 0 ;
3528 (char *) "self",(char *) "n", NULL
3531 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
3532 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3533 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3534 arg2
= (int) SWIG_AsInt(obj1
);
3535 if (PyErr_Occurred()) SWIG_fail
;
3537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3538 (arg1
)->SetSelection(arg2
);
3540 wxPyEndAllowThreads(__tstate
);
3541 if (PyErr_Occurred()) SWIG_fail
;
3543 Py_INCREF(Py_None
); resultobj
= Py_None
;
3550 static PyObject
*_wrap_ComboBox_SetMark(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3551 PyObject
*resultobj
;
3552 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3555 PyObject
* obj0
= 0 ;
3556 PyObject
* obj1
= 0 ;
3557 PyObject
* obj2
= 0 ;
3559 (char *) "self",(char *) "from",(char *) "to", NULL
3562 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ComboBox_SetMark",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3563 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3564 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3565 arg2
= (long) SWIG_AsLong(obj1
);
3566 if (PyErr_Occurred()) SWIG_fail
;
3567 arg3
= (long) SWIG_AsLong(obj2
);
3568 if (PyErr_Occurred()) SWIG_fail
;
3570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3571 (arg1
)->SetSelection(arg2
,arg3
);
3573 wxPyEndAllowThreads(__tstate
);
3574 if (PyErr_Occurred()) SWIG_fail
;
3576 Py_INCREF(Py_None
); resultobj
= Py_None
;
3583 static PyObject
*_wrap_ComboBox_SetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3584 PyObject
*resultobj
;
3585 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3586 wxString
*arg2
= 0 ;
3588 bool temp2
= False
;
3589 PyObject
* obj0
= 0 ;
3590 PyObject
* obj1
= 0 ;
3592 (char *) "self",(char *) "string", NULL
3595 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetStringSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
3596 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3597 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3599 arg2
= wxString_in_helper(obj1
);
3600 if (arg2
== NULL
) SWIG_fail
;
3604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3605 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
);
3607 wxPyEndAllowThreads(__tstate
);
3608 if (PyErr_Occurred()) SWIG_fail
;
3611 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3627 static PyObject
*_wrap_ComboBox_SetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3628 PyObject
*resultobj
;
3629 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3631 wxString
*arg3
= 0 ;
3632 bool temp3
= False
;
3633 PyObject
* obj0
= 0 ;
3634 PyObject
* obj1
= 0 ;
3635 PyObject
* obj2
= 0 ;
3637 (char *) "self",(char *) "n",(char *) "string", NULL
3640 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ComboBox_SetString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3641 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3642 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3643 arg2
= (int) SWIG_AsInt(obj1
);
3644 if (PyErr_Occurred()) SWIG_fail
;
3646 arg3
= wxString_in_helper(obj2
);
3647 if (arg3
== NULL
) SWIG_fail
;
3651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3652 (arg1
)->SetString(arg2
,(wxString
const &)*arg3
);
3654 wxPyEndAllowThreads(__tstate
);
3655 if (PyErr_Occurred()) SWIG_fail
;
3657 Py_INCREF(Py_None
); resultobj
= Py_None
;
3672 static PyObject
*_wrap_ComboBox_SetEditable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3673 PyObject
*resultobj
;
3674 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3676 PyObject
* obj0
= 0 ;
3677 PyObject
* obj1
= 0 ;
3679 (char *) "self",(char *) "editable", NULL
3682 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetEditable",kwnames
,&obj0
,&obj1
)) goto fail
;
3683 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3684 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3685 arg2
= (bool) SWIG_AsBool(obj1
);
3686 if (PyErr_Occurred()) SWIG_fail
;
3688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3689 (arg1
)->SetEditable(arg2
);
3691 wxPyEndAllowThreads(__tstate
);
3692 if (PyErr_Occurred()) SWIG_fail
;
3694 Py_INCREF(Py_None
); resultobj
= Py_None
;
3701 static PyObject
*_wrap_ComboBox_SetInsertionPointEnd(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3702 PyObject
*resultobj
;
3703 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3704 PyObject
* obj0
= 0 ;
3706 (char *) "self", NULL
3709 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_SetInsertionPointEnd",kwnames
,&obj0
)) goto fail
;
3710 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3711 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3714 (arg1
)->SetInsertionPointEnd();
3716 wxPyEndAllowThreads(__tstate
);
3717 if (PyErr_Occurred()) SWIG_fail
;
3719 Py_INCREF(Py_None
); resultobj
= Py_None
;
3726 static PyObject
*_wrap_ComboBox_Remove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3727 PyObject
*resultobj
;
3728 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3731 PyObject
* obj0
= 0 ;
3732 PyObject
* obj1
= 0 ;
3733 PyObject
* obj2
= 0 ;
3735 (char *) "self",(char *) "from",(char *) "to", NULL
3738 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ComboBox_Remove",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3739 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3740 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3741 arg2
= (long) SWIG_AsLong(obj1
);
3742 if (PyErr_Occurred()) SWIG_fail
;
3743 arg3
= (long) SWIG_AsLong(obj2
);
3744 if (PyErr_Occurred()) SWIG_fail
;
3746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3747 (arg1
)->Remove(arg2
,arg3
);
3749 wxPyEndAllowThreads(__tstate
);
3750 if (PyErr_Occurred()) SWIG_fail
;
3752 Py_INCREF(Py_None
); resultobj
= Py_None
;
3759 static PyObject
*_wrap_ComboBox_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3760 PyObject
*resultobj
;
3761 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
3762 wxVisualAttributes result
;
3763 PyObject
* obj0
= 0 ;
3765 (char *) "variant", NULL
3768 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ComboBox_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
3770 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
3771 if (PyErr_Occurred()) SWIG_fail
;
3774 if (!wxPyCheckForApp()) SWIG_fail
;
3775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3776 result
= wxComboBox::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
3778 wxPyEndAllowThreads(__tstate
);
3779 if (PyErr_Occurred()) SWIG_fail
;
3782 wxVisualAttributes
* resultptr
;
3783 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
3784 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
3792 static PyObject
* ComboBox_swigregister(PyObject
*self
, PyObject
*args
) {
3794 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3795 SWIG_TypeClientData(SWIGTYPE_p_wxComboBox
, obj
);
3797 return Py_BuildValue((char *)"");
3799 static int _wrap_GaugeNameStr_set(PyObject
*_val
) {
3800 PyErr_SetString(PyExc_TypeError
,"Variable GaugeNameStr is read-only.");
3805 static PyObject
*_wrap_GaugeNameStr_get() {
3810 pyobj
= PyUnicode_FromWideChar((&wxPyGaugeNameStr
)->c_str(), (&wxPyGaugeNameStr
)->Len());
3812 pyobj
= PyString_FromStringAndSize((&wxPyGaugeNameStr
)->c_str(), (&wxPyGaugeNameStr
)->Len());
3819 static PyObject
*_wrap_new_Gauge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3820 PyObject
*resultobj
;
3821 wxWindow
*arg1
= (wxWindow
*) 0 ;
3822 int arg2
= (int) -1 ;
3823 int arg3
= (int) 100 ;
3824 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
3825 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
3826 wxSize
const &arg5_defvalue
= wxDefaultSize
;
3827 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
3828 long arg6
= (long) wxGA_HORIZONTAL
;
3829 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
3830 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
3831 wxString
const &arg8_defvalue
= wxPyGaugeNameStr
;
3832 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
3836 bool temp8
= False
;
3837 PyObject
* obj0
= 0 ;
3838 PyObject
* obj1
= 0 ;
3839 PyObject
* obj2
= 0 ;
3840 PyObject
* obj3
= 0 ;
3841 PyObject
* obj4
= 0 ;
3842 PyObject
* obj5
= 0 ;
3843 PyObject
* obj6
= 0 ;
3844 PyObject
* obj7
= 0 ;
3846 (char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3849 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_Gauge",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
3850 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
3851 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3853 arg2
= (int) SWIG_AsInt(obj1
);
3854 if (PyErr_Occurred()) SWIG_fail
;
3857 arg3
= (int) SWIG_AsInt(obj2
);
3858 if (PyErr_Occurred()) SWIG_fail
;
3863 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
3869 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
3873 arg6
= (long) SWIG_AsLong(obj5
);
3874 if (PyErr_Occurred()) SWIG_fail
;
3877 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
3878 SWIG_POINTER_EXCEPTION
| 0)) == -1)
3881 PyErr_SetString(PyExc_TypeError
,"null reference");
3887 arg8
= wxString_in_helper(obj7
);
3888 if (arg8
== NULL
) SWIG_fail
;
3893 if (!wxPyCheckForApp()) SWIG_fail
;
3894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3895 result
= (wxGauge
*)new wxGauge(arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
3897 wxPyEndAllowThreads(__tstate
);
3898 if (PyErr_Occurred()) SWIG_fail
;
3900 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGauge
, 1);
3915 static PyObject
*_wrap_new_PreGauge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3916 PyObject
*resultobj
;
3922 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreGauge",kwnames
)) goto fail
;
3924 if (!wxPyCheckForApp()) SWIG_fail
;
3925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3926 result
= (wxGauge
*)new wxGauge();
3928 wxPyEndAllowThreads(__tstate
);
3929 if (PyErr_Occurred()) SWIG_fail
;
3931 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGauge
, 1);
3938 static PyObject
*_wrap_Gauge_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3939 PyObject
*resultobj
;
3940 wxGauge
*arg1
= (wxGauge
*) 0 ;
3941 wxWindow
*arg2
= (wxWindow
*) 0 ;
3942 int arg3
= (int) -1 ;
3943 int arg4
= (int) 100 ;
3944 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
3945 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
3946 wxSize
const &arg6_defvalue
= wxDefaultSize
;
3947 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
3948 long arg7
= (long) wxGA_HORIZONTAL
;
3949 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
3950 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
3951 wxString
const &arg9_defvalue
= wxPyGaugeNameStr
;
3952 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
3956 bool temp9
= False
;
3957 PyObject
* obj0
= 0 ;
3958 PyObject
* obj1
= 0 ;
3959 PyObject
* obj2
= 0 ;
3960 PyObject
* obj3
= 0 ;
3961 PyObject
* obj4
= 0 ;
3962 PyObject
* obj5
= 0 ;
3963 PyObject
* obj6
= 0 ;
3964 PyObject
* obj7
= 0 ;
3965 PyObject
* obj8
= 0 ;
3967 (char *) "self",(char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3970 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:Gauge_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
3971 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGauge
,
3972 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3973 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
3974 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3976 arg3
= (int) SWIG_AsInt(obj2
);
3977 if (PyErr_Occurred()) SWIG_fail
;
3980 arg4
= (int) SWIG_AsInt(obj3
);
3981 if (PyErr_Occurred()) SWIG_fail
;
3986 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
3992 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
3996 arg7
= (long) SWIG_AsLong(obj6
);
3997 if (PyErr_Occurred()) SWIG_fail
;
4000 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
4001 SWIG_POINTER_EXCEPTION
| 0)) == -1)
4004 PyErr_SetString(PyExc_TypeError
,"null reference");
4010 arg9
= wxString_in_helper(obj8
);
4011 if (arg9
== NULL
) SWIG_fail
;
4016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4017 result
= (bool)(arg1
)->Create(arg2
,arg3
,arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
4019 wxPyEndAllowThreads(__tstate
);
4020 if (PyErr_Occurred()) SWIG_fail
;
4023 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4039 static PyObject
*_wrap_Gauge_SetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4040 PyObject
*resultobj
;
4041 wxGauge
*arg1
= (wxGauge
*) 0 ;
4043 PyObject
* obj0
= 0 ;
4044 PyObject
* obj1
= 0 ;
4046 (char *) "self",(char *) "range", NULL
4049 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetRange",kwnames
,&obj0
,&obj1
)) goto fail
;
4050 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGauge
,
4051 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4052 arg2
= (int) SWIG_AsInt(obj1
);
4053 if (PyErr_Occurred()) SWIG_fail
;
4055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4056 (arg1
)->SetRange(arg2
);
4058 wxPyEndAllowThreads(__tstate
);
4059 if (PyErr_Occurred()) SWIG_fail
;
4061 Py_INCREF(Py_None
); resultobj
= Py_None
;
4068 static PyObject
*_wrap_Gauge_GetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4069 PyObject
*resultobj
;
4070 wxGauge
*arg1
= (wxGauge
*) 0 ;
4072 PyObject
* obj0
= 0 ;
4074 (char *) "self", NULL
4077 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_GetRange",kwnames
,&obj0
)) goto fail
;
4078 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGauge
,
4079 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4082 result
= (int)((wxGauge
const *)arg1
)->GetRange();
4084 wxPyEndAllowThreads(__tstate
);
4085 if (PyErr_Occurred()) SWIG_fail
;
4087 resultobj
= SWIG_FromInt((int)result
);
4094 static PyObject
*_wrap_Gauge_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4095 PyObject
*resultobj
;
4096 wxGauge
*arg1
= (wxGauge
*) 0 ;
4098 PyObject
* obj0
= 0 ;
4099 PyObject
* obj1
= 0 ;
4101 (char *) "self",(char *) "pos", NULL
4104 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
4105 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGauge
,
4106 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4107 arg2
= (int) SWIG_AsInt(obj1
);
4108 if (PyErr_Occurred()) SWIG_fail
;
4110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4111 (arg1
)->SetValue(arg2
);
4113 wxPyEndAllowThreads(__tstate
);
4114 if (PyErr_Occurred()) SWIG_fail
;
4116 Py_INCREF(Py_None
); resultobj
= Py_None
;
4123 static PyObject
*_wrap_Gauge_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4124 PyObject
*resultobj
;
4125 wxGauge
*arg1
= (wxGauge
*) 0 ;
4127 PyObject
* obj0
= 0 ;
4129 (char *) "self", NULL
4132 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_GetValue",kwnames
,&obj0
)) goto fail
;
4133 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGauge
,
4134 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4137 result
= (int)((wxGauge
const *)arg1
)->GetValue();
4139 wxPyEndAllowThreads(__tstate
);
4140 if (PyErr_Occurred()) SWIG_fail
;
4142 resultobj
= SWIG_FromInt((int)result
);
4149 static PyObject
*_wrap_Gauge_IsVertical(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4150 PyObject
*resultobj
;
4151 wxGauge
*arg1
= (wxGauge
*) 0 ;
4153 PyObject
* obj0
= 0 ;
4155 (char *) "self", NULL
4158 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_IsVertical",kwnames
,&obj0
)) goto fail
;
4159 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGauge
,
4160 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4163 result
= (bool)((wxGauge
const *)arg1
)->IsVertical();
4165 wxPyEndAllowThreads(__tstate
);
4166 if (PyErr_Occurred()) SWIG_fail
;
4169 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4177 static PyObject
*_wrap_Gauge_SetShadowWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4178 PyObject
*resultobj
;
4179 wxGauge
*arg1
= (wxGauge
*) 0 ;
4181 PyObject
* obj0
= 0 ;
4182 PyObject
* obj1
= 0 ;
4184 (char *) "self",(char *) "w", NULL
4187 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetShadowWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
4188 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGauge
,
4189 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4190 arg2
= (int) SWIG_AsInt(obj1
);
4191 if (PyErr_Occurred()) SWIG_fail
;
4193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4194 (arg1
)->SetShadowWidth(arg2
);
4196 wxPyEndAllowThreads(__tstate
);
4197 if (PyErr_Occurred()) SWIG_fail
;
4199 Py_INCREF(Py_None
); resultobj
= Py_None
;
4206 static PyObject
*_wrap_Gauge_GetShadowWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4207 PyObject
*resultobj
;
4208 wxGauge
*arg1
= (wxGauge
*) 0 ;
4210 PyObject
* obj0
= 0 ;
4212 (char *) "self", NULL
4215 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_GetShadowWidth",kwnames
,&obj0
)) goto fail
;
4216 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGauge
,
4217 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4220 result
= (int)((wxGauge
const *)arg1
)->GetShadowWidth();
4222 wxPyEndAllowThreads(__tstate
);
4223 if (PyErr_Occurred()) SWIG_fail
;
4225 resultobj
= SWIG_FromInt((int)result
);
4232 static PyObject
*_wrap_Gauge_SetBezelFace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4233 PyObject
*resultobj
;
4234 wxGauge
*arg1
= (wxGauge
*) 0 ;
4236 PyObject
* obj0
= 0 ;
4237 PyObject
* obj1
= 0 ;
4239 (char *) "self",(char *) "w", NULL
4242 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetBezelFace",kwnames
,&obj0
,&obj1
)) goto fail
;
4243 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGauge
,
4244 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4245 arg2
= (int) SWIG_AsInt(obj1
);
4246 if (PyErr_Occurred()) SWIG_fail
;
4248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4249 (arg1
)->SetBezelFace(arg2
);
4251 wxPyEndAllowThreads(__tstate
);
4252 if (PyErr_Occurred()) SWIG_fail
;
4254 Py_INCREF(Py_None
); resultobj
= Py_None
;
4261 static PyObject
*_wrap_Gauge_GetBezelFace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4262 PyObject
*resultobj
;
4263 wxGauge
*arg1
= (wxGauge
*) 0 ;
4265 PyObject
* obj0
= 0 ;
4267 (char *) "self", NULL
4270 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_GetBezelFace",kwnames
,&obj0
)) goto fail
;
4271 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGauge
,
4272 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4275 result
= (int)((wxGauge
const *)arg1
)->GetBezelFace();
4277 wxPyEndAllowThreads(__tstate
);
4278 if (PyErr_Occurred()) SWIG_fail
;
4280 resultobj
= SWIG_FromInt((int)result
);
4287 static PyObject
*_wrap_Gauge_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4288 PyObject
*resultobj
;
4289 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
4290 wxVisualAttributes result
;
4291 PyObject
* obj0
= 0 ;
4293 (char *) "variant", NULL
4296 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Gauge_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
4298 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
4299 if (PyErr_Occurred()) SWIG_fail
;
4302 if (!wxPyCheckForApp()) SWIG_fail
;
4303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4304 result
= wxGauge::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
4306 wxPyEndAllowThreads(__tstate
);
4307 if (PyErr_Occurred()) SWIG_fail
;
4310 wxVisualAttributes
* resultptr
;
4311 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
4312 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
4320 static PyObject
* Gauge_swigregister(PyObject
*self
, PyObject
*args
) {
4322 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4323 SWIG_TypeClientData(SWIGTYPE_p_wxGauge
, obj
);
4325 return Py_BuildValue((char *)"");
4327 static int _wrap_StaticBitmapNameStr_set(PyObject
*_val
) {
4328 PyErr_SetString(PyExc_TypeError
,"Variable StaticBitmapNameStr is read-only.");
4333 static PyObject
*_wrap_StaticBitmapNameStr_get() {
4338 pyobj
= PyUnicode_FromWideChar((&wxPyStaticBitmapNameStr
)->c_str(), (&wxPyStaticBitmapNameStr
)->Len());
4340 pyobj
= PyString_FromStringAndSize((&wxPyStaticBitmapNameStr
)->c_str(), (&wxPyStaticBitmapNameStr
)->Len());
4347 static int _wrap_StaticBoxNameStr_set(PyObject
*_val
) {
4348 PyErr_SetString(PyExc_TypeError
,"Variable StaticBoxNameStr is read-only.");
4353 static PyObject
*_wrap_StaticBoxNameStr_get() {
4358 pyobj
= PyUnicode_FromWideChar((&wxPyStaticBoxNameStr
)->c_str(), (&wxPyStaticBoxNameStr
)->Len());
4360 pyobj
= PyString_FromStringAndSize((&wxPyStaticBoxNameStr
)->c_str(), (&wxPyStaticBoxNameStr
)->Len());
4367 static int _wrap_StaticTextNameStr_set(PyObject
*_val
) {
4368 PyErr_SetString(PyExc_TypeError
,"Variable StaticTextNameStr is read-only.");
4373 static PyObject
*_wrap_StaticTextNameStr_get() {
4378 pyobj
= PyUnicode_FromWideChar((&wxPyStaticTextNameStr
)->c_str(), (&wxPyStaticTextNameStr
)->Len());
4380 pyobj
= PyString_FromStringAndSize((&wxPyStaticTextNameStr
)->c_str(), (&wxPyStaticTextNameStr
)->Len());
4387 static PyObject
*_wrap_new_StaticBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4388 PyObject
*resultobj
;
4389 wxWindow
*arg1
= (wxWindow
*) 0 ;
4390 int arg2
= (int) -1 ;
4391 wxString
const &arg3_defvalue
= wxPyEmptyString
;
4392 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
4393 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4394 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4395 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4396 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4397 long arg6
= (long) 0 ;
4398 wxString
const &arg7_defvalue
= wxPyStaticBoxNameStr
;
4399 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
4400 wxStaticBox
*result
;
4401 bool temp3
= False
;
4404 bool temp7
= False
;
4405 PyObject
* obj0
= 0 ;
4406 PyObject
* obj1
= 0 ;
4407 PyObject
* obj2
= 0 ;
4408 PyObject
* obj3
= 0 ;
4409 PyObject
* obj4
= 0 ;
4410 PyObject
* obj5
= 0 ;
4411 PyObject
* obj6
= 0 ;
4413 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4416 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_StaticBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
4417 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
4418 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4420 arg2
= (int) SWIG_AsInt(obj1
);
4421 if (PyErr_Occurred()) SWIG_fail
;
4425 arg3
= wxString_in_helper(obj2
);
4426 if (arg3
== NULL
) SWIG_fail
;
4433 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4439 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4443 arg6
= (long) SWIG_AsLong(obj5
);
4444 if (PyErr_Occurred()) SWIG_fail
;
4448 arg7
= wxString_in_helper(obj6
);
4449 if (arg7
== NULL
) SWIG_fail
;
4454 if (!wxPyCheckForApp()) SWIG_fail
;
4455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4456 result
= (wxStaticBox
*)new wxStaticBox(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
4458 wxPyEndAllowThreads(__tstate
);
4459 if (PyErr_Occurred()) SWIG_fail
;
4461 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticBox
, 1);
4484 static PyObject
*_wrap_new_PreStaticBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4485 PyObject
*resultobj
;
4486 wxStaticBox
*result
;
4491 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreStaticBox",kwnames
)) goto fail
;
4493 if (!wxPyCheckForApp()) SWIG_fail
;
4494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4495 result
= (wxStaticBox
*)new wxStaticBox();
4497 wxPyEndAllowThreads(__tstate
);
4498 if (PyErr_Occurred()) SWIG_fail
;
4500 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticBox
, 1);
4507 static PyObject
*_wrap_StaticBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4508 PyObject
*resultobj
;
4509 wxStaticBox
*arg1
= (wxStaticBox
*) 0 ;
4510 wxWindow
*arg2
= (wxWindow
*) 0 ;
4511 int arg3
= (int) -1 ;
4512 wxString
const &arg4_defvalue
= wxPyEmptyString
;
4513 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
4514 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
4515 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
4516 wxSize
const &arg6_defvalue
= wxDefaultSize
;
4517 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
4518 long arg7
= (long) 0 ;
4519 wxString
const &arg8_defvalue
= wxPyStaticBoxNameStr
;
4520 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
4522 bool temp4
= False
;
4525 bool temp8
= False
;
4526 PyObject
* obj0
= 0 ;
4527 PyObject
* obj1
= 0 ;
4528 PyObject
* obj2
= 0 ;
4529 PyObject
* obj3
= 0 ;
4530 PyObject
* obj4
= 0 ;
4531 PyObject
* obj5
= 0 ;
4532 PyObject
* obj6
= 0 ;
4533 PyObject
* obj7
= 0 ;
4535 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4538 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:StaticBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
4539 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticBox
,
4540 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4541 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
4542 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4544 arg3
= (int) SWIG_AsInt(obj2
);
4545 if (PyErr_Occurred()) SWIG_fail
;
4549 arg4
= wxString_in_helper(obj3
);
4550 if (arg4
== NULL
) SWIG_fail
;
4557 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
4563 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
4567 arg7
= (long) SWIG_AsLong(obj6
);
4568 if (PyErr_Occurred()) SWIG_fail
;
4572 arg8
= wxString_in_helper(obj7
);
4573 if (arg8
== NULL
) SWIG_fail
;
4578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4579 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
4581 wxPyEndAllowThreads(__tstate
);
4582 if (PyErr_Occurred()) SWIG_fail
;
4585 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4609 static PyObject
*_wrap_StaticBox_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4610 PyObject
*resultobj
;
4611 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
4612 wxVisualAttributes result
;
4613 PyObject
* obj0
= 0 ;
4615 (char *) "variant", NULL
4618 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StaticBox_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
4620 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
4621 if (PyErr_Occurred()) SWIG_fail
;
4624 if (!wxPyCheckForApp()) SWIG_fail
;
4625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4626 result
= wxStaticBox::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
4628 wxPyEndAllowThreads(__tstate
);
4629 if (PyErr_Occurred()) SWIG_fail
;
4632 wxVisualAttributes
* resultptr
;
4633 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
4634 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
4642 static PyObject
* StaticBox_swigregister(PyObject
*self
, PyObject
*args
) {
4644 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4645 SWIG_TypeClientData(SWIGTYPE_p_wxStaticBox
, obj
);
4647 return Py_BuildValue((char *)"");
4649 static PyObject
*_wrap_new_StaticLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4650 PyObject
*resultobj
;
4651 wxWindow
*arg1
= (wxWindow
*) 0 ;
4652 int arg2
= (int) -1 ;
4653 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
4654 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
4655 wxSize
const &arg4_defvalue
= wxDefaultSize
;
4656 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
4657 long arg5
= (long) wxLI_HORIZONTAL
;
4658 wxString
const &arg6_defvalue
= wxPyStaticTextNameStr
;
4659 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
4660 wxStaticLine
*result
;
4663 bool temp6
= False
;
4664 PyObject
* obj0
= 0 ;
4665 PyObject
* obj1
= 0 ;
4666 PyObject
* obj2
= 0 ;
4667 PyObject
* obj3
= 0 ;
4668 PyObject
* obj4
= 0 ;
4669 PyObject
* obj5
= 0 ;
4671 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4674 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_StaticLine",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
4675 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
4676 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4678 arg2
= (int) SWIG_AsInt(obj1
);
4679 if (PyErr_Occurred()) SWIG_fail
;
4684 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
4690 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
4694 arg5
= (long) SWIG_AsLong(obj4
);
4695 if (PyErr_Occurred()) SWIG_fail
;
4699 arg6
= wxString_in_helper(obj5
);
4700 if (arg6
== NULL
) SWIG_fail
;
4705 if (!wxPyCheckForApp()) SWIG_fail
;
4706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4707 result
= (wxStaticLine
*)new wxStaticLine(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
4709 wxPyEndAllowThreads(__tstate
);
4710 if (PyErr_Occurred()) SWIG_fail
;
4712 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticLine
, 1);
4727 static PyObject
*_wrap_new_PreStaticLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4728 PyObject
*resultobj
;
4729 wxStaticLine
*result
;
4734 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreStaticLine",kwnames
)) goto fail
;
4736 if (!wxPyCheckForApp()) SWIG_fail
;
4737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4738 result
= (wxStaticLine
*)new wxStaticLine();
4740 wxPyEndAllowThreads(__tstate
);
4741 if (PyErr_Occurred()) SWIG_fail
;
4743 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticLine
, 1);
4750 static PyObject
*_wrap_StaticLine_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4751 PyObject
*resultobj
;
4752 wxStaticLine
*arg1
= (wxStaticLine
*) 0 ;
4753 wxWindow
*arg2
= (wxWindow
*) 0 ;
4754 int arg3
= (int) -1 ;
4755 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4756 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4757 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4758 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4759 long arg6
= (long) wxLI_HORIZONTAL
;
4760 wxString
const &arg7_defvalue
= wxPyStaticTextNameStr
;
4761 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
4765 bool temp7
= False
;
4766 PyObject
* obj0
= 0 ;
4767 PyObject
* obj1
= 0 ;
4768 PyObject
* obj2
= 0 ;
4769 PyObject
* obj3
= 0 ;
4770 PyObject
* obj4
= 0 ;
4771 PyObject
* obj5
= 0 ;
4772 PyObject
* obj6
= 0 ;
4774 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4777 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:StaticLine_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
4778 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticLine
,
4779 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4780 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
4781 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4783 arg3
= (int) SWIG_AsInt(obj2
);
4784 if (PyErr_Occurred()) SWIG_fail
;
4789 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4795 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4799 arg6
= (long) SWIG_AsLong(obj5
);
4800 if (PyErr_Occurred()) SWIG_fail
;
4804 arg7
= wxString_in_helper(obj6
);
4805 if (arg7
== NULL
) SWIG_fail
;
4810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4811 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
4813 wxPyEndAllowThreads(__tstate
);
4814 if (PyErr_Occurred()) SWIG_fail
;
4817 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4833 static PyObject
*_wrap_StaticLine_IsVertical(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4834 PyObject
*resultobj
;
4835 wxStaticLine
*arg1
= (wxStaticLine
*) 0 ;
4837 PyObject
* obj0
= 0 ;
4839 (char *) "self", NULL
4842 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StaticLine_IsVertical",kwnames
,&obj0
)) goto fail
;
4843 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticLine
,
4844 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4847 result
= (bool)((wxStaticLine
const *)arg1
)->IsVertical();
4849 wxPyEndAllowThreads(__tstate
);
4850 if (PyErr_Occurred()) SWIG_fail
;
4853 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4861 static PyObject
*_wrap_StaticLine_GetDefaultSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4862 PyObject
*resultobj
;
4868 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":StaticLine_GetDefaultSize",kwnames
)) goto fail
;
4870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4871 result
= (int)wxStaticLine::GetDefaultSize();
4873 wxPyEndAllowThreads(__tstate
);
4874 if (PyErr_Occurred()) SWIG_fail
;
4876 resultobj
= SWIG_FromInt((int)result
);
4883 static PyObject
*_wrap_StaticLine_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4884 PyObject
*resultobj
;
4885 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
4886 wxVisualAttributes result
;
4887 PyObject
* obj0
= 0 ;
4889 (char *) "variant", NULL
4892 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StaticLine_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
4894 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
4895 if (PyErr_Occurred()) SWIG_fail
;
4898 if (!wxPyCheckForApp()) SWIG_fail
;
4899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4900 result
= wxStaticLine::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
4902 wxPyEndAllowThreads(__tstate
);
4903 if (PyErr_Occurred()) SWIG_fail
;
4906 wxVisualAttributes
* resultptr
;
4907 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
4908 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
4916 static PyObject
* StaticLine_swigregister(PyObject
*self
, PyObject
*args
) {
4918 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4919 SWIG_TypeClientData(SWIGTYPE_p_wxStaticLine
, obj
);
4921 return Py_BuildValue((char *)"");
4923 static PyObject
*_wrap_new_StaticText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4924 PyObject
*resultobj
;
4925 wxWindow
*arg1
= (wxWindow
*) 0 ;
4926 int arg2
= (int) -1 ;
4927 wxString
const &arg3_defvalue
= wxPyEmptyString
;
4928 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
4929 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4930 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4931 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4932 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4933 long arg6
= (long) 0 ;
4934 wxString
const &arg7_defvalue
= wxPyStaticTextNameStr
;
4935 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
4936 wxStaticText
*result
;
4937 bool temp3
= False
;
4940 bool temp7
= False
;
4941 PyObject
* obj0
= 0 ;
4942 PyObject
* obj1
= 0 ;
4943 PyObject
* obj2
= 0 ;
4944 PyObject
* obj3
= 0 ;
4945 PyObject
* obj4
= 0 ;
4946 PyObject
* obj5
= 0 ;
4947 PyObject
* obj6
= 0 ;
4949 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4952 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_StaticText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
4953 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
4954 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4956 arg2
= (int) SWIG_AsInt(obj1
);
4957 if (PyErr_Occurred()) SWIG_fail
;
4961 arg3
= wxString_in_helper(obj2
);
4962 if (arg3
== NULL
) SWIG_fail
;
4969 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4975 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4979 arg6
= (long) SWIG_AsLong(obj5
);
4980 if (PyErr_Occurred()) SWIG_fail
;
4984 arg7
= wxString_in_helper(obj6
);
4985 if (arg7
== NULL
) SWIG_fail
;
4990 if (!wxPyCheckForApp()) SWIG_fail
;
4991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4992 result
= (wxStaticText
*)new wxStaticText(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
4994 wxPyEndAllowThreads(__tstate
);
4995 if (PyErr_Occurred()) SWIG_fail
;
4997 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticText
, 1);
5020 static PyObject
*_wrap_new_PreStaticText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5021 PyObject
*resultobj
;
5022 wxStaticText
*result
;
5027 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreStaticText",kwnames
)) goto fail
;
5029 if (!wxPyCheckForApp()) SWIG_fail
;
5030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5031 result
= (wxStaticText
*)new wxStaticText();
5033 wxPyEndAllowThreads(__tstate
);
5034 if (PyErr_Occurred()) SWIG_fail
;
5036 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticText
, 1);
5043 static PyObject
*_wrap_StaticText_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5044 PyObject
*resultobj
;
5045 wxStaticText
*arg1
= (wxStaticText
*) 0 ;
5046 wxWindow
*arg2
= (wxWindow
*) 0 ;
5047 int arg3
= (int) -1 ;
5048 wxString
const &arg4_defvalue
= wxPyEmptyString
;
5049 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
5050 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
5051 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
5052 wxSize
const &arg6_defvalue
= wxDefaultSize
;
5053 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
5054 long arg7
= (long) 0 ;
5055 wxString
const &arg8_defvalue
= wxPyStaticTextNameStr
;
5056 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
5058 bool temp4
= False
;
5061 bool temp8
= False
;
5062 PyObject
* obj0
= 0 ;
5063 PyObject
* obj1
= 0 ;
5064 PyObject
* obj2
= 0 ;
5065 PyObject
* obj3
= 0 ;
5066 PyObject
* obj4
= 0 ;
5067 PyObject
* obj5
= 0 ;
5068 PyObject
* obj6
= 0 ;
5069 PyObject
* obj7
= 0 ;
5071 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5074 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:StaticText_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
5075 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticText
,
5076 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5077 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
5078 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5080 arg3
= (int) SWIG_AsInt(obj2
);
5081 if (PyErr_Occurred()) SWIG_fail
;
5085 arg4
= wxString_in_helper(obj3
);
5086 if (arg4
== NULL
) SWIG_fail
;
5093 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
5099 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
5103 arg7
= (long) SWIG_AsLong(obj6
);
5104 if (PyErr_Occurred()) SWIG_fail
;
5108 arg8
= wxString_in_helper(obj7
);
5109 if (arg8
== NULL
) SWIG_fail
;
5114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5115 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
5117 wxPyEndAllowThreads(__tstate
);
5118 if (PyErr_Occurred()) SWIG_fail
;
5121 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5145 static PyObject
*_wrap_StaticText_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5146 PyObject
*resultobj
;
5147 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
5148 wxVisualAttributes result
;
5149 PyObject
* obj0
= 0 ;
5151 (char *) "variant", NULL
5154 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StaticText_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
5156 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
5157 if (PyErr_Occurred()) SWIG_fail
;
5160 if (!wxPyCheckForApp()) SWIG_fail
;
5161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5162 result
= wxStaticText::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
5164 wxPyEndAllowThreads(__tstate
);
5165 if (PyErr_Occurred()) SWIG_fail
;
5168 wxVisualAttributes
* resultptr
;
5169 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
5170 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
5178 static PyObject
* StaticText_swigregister(PyObject
*self
, PyObject
*args
) {
5180 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5181 SWIG_TypeClientData(SWIGTYPE_p_wxStaticText
, obj
);
5183 return Py_BuildValue((char *)"");
5185 static PyObject
*_wrap_new_StaticBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5186 PyObject
*resultobj
;
5187 wxWindow
*arg1
= (wxWindow
*) 0 ;
5188 int arg2
= (int) -1 ;
5189 wxBitmap
const &arg3_defvalue
= wxNullBitmap
;
5190 wxBitmap
*arg3
= (wxBitmap
*) &arg3_defvalue
;
5191 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
5192 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
5193 wxSize
const &arg5_defvalue
= wxDefaultSize
;
5194 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
5195 long arg6
= (long) 0 ;
5196 wxString
const &arg7_defvalue
= wxPyStaticBitmapNameStr
;
5197 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
5198 wxStaticBitmap
*result
;
5201 bool temp7
= False
;
5202 PyObject
* obj0
= 0 ;
5203 PyObject
* obj1
= 0 ;
5204 PyObject
* obj2
= 0 ;
5205 PyObject
* obj3
= 0 ;
5206 PyObject
* obj4
= 0 ;
5207 PyObject
* obj5
= 0 ;
5208 PyObject
* obj6
= 0 ;
5210 (char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5213 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_StaticBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
5214 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
5215 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5217 arg2
= (int) SWIG_AsInt(obj1
);
5218 if (PyErr_Occurred()) SWIG_fail
;
5221 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxBitmap
,
5222 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5225 PyErr_SetString(PyExc_TypeError
,"null reference");
5232 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
5238 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
5242 arg6
= (long) SWIG_AsLong(obj5
);
5243 if (PyErr_Occurred()) SWIG_fail
;
5247 arg7
= wxString_in_helper(obj6
);
5248 if (arg7
== NULL
) SWIG_fail
;
5253 if (!wxPyCheckForApp()) SWIG_fail
;
5254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5255 result
= (wxStaticBitmap
*)new wxStaticBitmap(arg1
,arg2
,(wxBitmap
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
5257 wxPyEndAllowThreads(__tstate
);
5258 if (PyErr_Occurred()) SWIG_fail
;
5260 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticBitmap
, 1);
5275 static PyObject
*_wrap_new_PreStaticBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5276 PyObject
*resultobj
;
5277 wxStaticBitmap
*result
;
5282 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreStaticBitmap",kwnames
)) goto fail
;
5284 if (!wxPyCheckForApp()) SWIG_fail
;
5285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5286 result
= (wxStaticBitmap
*)new wxStaticBitmap();
5288 wxPyEndAllowThreads(__tstate
);
5289 if (PyErr_Occurred()) SWIG_fail
;
5291 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticBitmap
, 1);
5298 static PyObject
*_wrap_StaticBitmap_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5299 PyObject
*resultobj
;
5300 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
5301 wxWindow
*arg2
= (wxWindow
*) 0 ;
5302 int arg3
= (int) -1 ;
5303 wxBitmap
const &arg4_defvalue
= wxNullBitmap
;
5304 wxBitmap
*arg4
= (wxBitmap
*) &arg4_defvalue
;
5305 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
5306 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
5307 wxSize
const &arg6_defvalue
= wxDefaultSize
;
5308 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
5309 long arg7
= (long) 0 ;
5310 wxString
const &arg8_defvalue
= wxPyStaticBitmapNameStr
;
5311 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
5315 bool temp8
= False
;
5316 PyObject
* obj0
= 0 ;
5317 PyObject
* obj1
= 0 ;
5318 PyObject
* obj2
= 0 ;
5319 PyObject
* obj3
= 0 ;
5320 PyObject
* obj4
= 0 ;
5321 PyObject
* obj5
= 0 ;
5322 PyObject
* obj6
= 0 ;
5323 PyObject
* obj7
= 0 ;
5325 (char *) "self",(char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5328 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:StaticBitmap_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
5329 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticBitmap
,
5330 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5331 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
5332 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5334 arg3
= (int) SWIG_AsInt(obj2
);
5335 if (PyErr_Occurred()) SWIG_fail
;
5338 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxBitmap
,
5339 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5342 PyErr_SetString(PyExc_TypeError
,"null reference");
5349 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
5355 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
5359 arg7
= (long) SWIG_AsLong(obj6
);
5360 if (PyErr_Occurred()) SWIG_fail
;
5364 arg8
= wxString_in_helper(obj7
);
5365 if (arg8
== NULL
) SWIG_fail
;
5370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5371 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxBitmap
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
5373 wxPyEndAllowThreads(__tstate
);
5374 if (PyErr_Occurred()) SWIG_fail
;
5377 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5393 static PyObject
*_wrap_StaticBitmap_GetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5394 PyObject
*resultobj
;
5395 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
5397 PyObject
* obj0
= 0 ;
5399 (char *) "self", NULL
5402 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StaticBitmap_GetBitmap",kwnames
,&obj0
)) goto fail
;
5403 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticBitmap
,
5404 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5407 result
= (arg1
)->GetBitmap();
5409 wxPyEndAllowThreads(__tstate
);
5410 if (PyErr_Occurred()) SWIG_fail
;
5413 wxBitmap
* resultptr
;
5414 resultptr
= new wxBitmap((wxBitmap
&) result
);
5415 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
5423 static PyObject
*_wrap_StaticBitmap_SetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5424 PyObject
*resultobj
;
5425 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
5426 wxBitmap
*arg2
= 0 ;
5427 PyObject
* obj0
= 0 ;
5428 PyObject
* obj1
= 0 ;
5430 (char *) "self",(char *) "bitmap", NULL
5433 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StaticBitmap_SetBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
5434 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticBitmap
,
5435 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5436 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
5437 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5440 PyErr_SetString(PyExc_TypeError
,"null reference");
5444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5445 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
5447 wxPyEndAllowThreads(__tstate
);
5448 if (PyErr_Occurred()) SWIG_fail
;
5450 Py_INCREF(Py_None
); resultobj
= Py_None
;
5457 static PyObject
*_wrap_StaticBitmap_SetIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5458 PyObject
*resultobj
;
5459 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
5461 PyObject
* obj0
= 0 ;
5462 PyObject
* obj1
= 0 ;
5464 (char *) "self",(char *) "icon", NULL
5467 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StaticBitmap_SetIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
5468 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticBitmap
,
5469 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5470 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxIcon
,
5471 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5474 PyErr_SetString(PyExc_TypeError
,"null reference");
5478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5479 (arg1
)->SetIcon((wxIcon
const &)*arg2
);
5481 wxPyEndAllowThreads(__tstate
);
5482 if (PyErr_Occurred()) SWIG_fail
;
5484 Py_INCREF(Py_None
); resultobj
= Py_None
;
5491 static PyObject
*_wrap_StaticBitmap_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5492 PyObject
*resultobj
;
5493 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
5494 wxVisualAttributes result
;
5495 PyObject
* obj0
= 0 ;
5497 (char *) "variant", NULL
5500 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StaticBitmap_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
5502 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
5503 if (PyErr_Occurred()) SWIG_fail
;
5506 if (!wxPyCheckForApp()) SWIG_fail
;
5507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5508 result
= wxStaticBitmap::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
5510 wxPyEndAllowThreads(__tstate
);
5511 if (PyErr_Occurred()) SWIG_fail
;
5514 wxVisualAttributes
* resultptr
;
5515 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
5516 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
5524 static PyObject
* StaticBitmap_swigregister(PyObject
*self
, PyObject
*args
) {
5526 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5527 SWIG_TypeClientData(SWIGTYPE_p_wxStaticBitmap
, obj
);
5529 return Py_BuildValue((char *)"");
5531 static int _wrap_ListBoxNameStr_set(PyObject
*_val
) {
5532 PyErr_SetString(PyExc_TypeError
,"Variable ListBoxNameStr is read-only.");
5537 static PyObject
*_wrap_ListBoxNameStr_get() {
5542 pyobj
= PyUnicode_FromWideChar((&wxPyListBoxNameStr
)->c_str(), (&wxPyListBoxNameStr
)->Len());
5544 pyobj
= PyString_FromStringAndSize((&wxPyListBoxNameStr
)->c_str(), (&wxPyListBoxNameStr
)->Len());
5551 static PyObject
*_wrap_new_ListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5552 PyObject
*resultobj
;
5553 wxWindow
*arg1
= (wxWindow
*) 0 ;
5554 int arg2
= (int) -1 ;
5555 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
5556 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
5557 wxSize
const &arg4_defvalue
= wxDefaultSize
;
5558 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
5559 wxArrayString
const &arg5_defvalue
= wxPyEmptyStringArray
;
5560 wxArrayString
*arg5
= (wxArrayString
*) &arg5_defvalue
;
5561 long arg6
= (long) 0 ;
5562 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
5563 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
5564 wxString
const &arg8_defvalue
= wxPyListBoxNameStr
;
5565 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
5569 bool temp5
= False
;
5570 bool temp8
= False
;
5571 PyObject
* obj0
= 0 ;
5572 PyObject
* obj1
= 0 ;
5573 PyObject
* obj2
= 0 ;
5574 PyObject
* obj3
= 0 ;
5575 PyObject
* obj4
= 0 ;
5576 PyObject
* obj5
= 0 ;
5577 PyObject
* obj6
= 0 ;
5578 PyObject
* obj7
= 0 ;
5580 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5583 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_ListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
5584 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
5585 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5587 arg2
= (int) SWIG_AsInt(obj1
);
5588 if (PyErr_Occurred()) SWIG_fail
;
5593 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
5599 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
5604 if (! PySequence_Check(obj4
)) {
5605 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
5608 arg5
= new wxArrayString
;
5610 int i
, len
=PySequence_Length(obj4
);
5611 for (i
=0; i
<len
; i
++) {
5612 PyObject
* item
= PySequence_GetItem(obj4
, i
);
5614 PyObject
* str
= PyObject_Unicode(item
);
5616 PyObject
* str
= PyObject_Str(item
);
5618 if (PyErr_Occurred()) SWIG_fail
;
5619 arg5
->Add(Py2wxString(str
));
5626 arg6
= (long) SWIG_AsLong(obj5
);
5627 if (PyErr_Occurred()) SWIG_fail
;
5630 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
5631 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5634 PyErr_SetString(PyExc_TypeError
,"null reference");
5640 arg8
= wxString_in_helper(obj7
);
5641 if (arg8
== NULL
) SWIG_fail
;
5646 if (!wxPyCheckForApp()) SWIG_fail
;
5647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5648 result
= (wxListBox
*)new wxListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,(wxArrayString
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
5650 wxPyEndAllowThreads(__tstate
);
5651 if (PyErr_Occurred()) SWIG_fail
;
5653 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListBox
, 1);
5655 if (temp5
) delete arg5
;
5664 if (temp5
) delete arg5
;
5674 static PyObject
*_wrap_new_PreListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5675 PyObject
*resultobj
;
5681 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreListBox",kwnames
)) goto fail
;
5683 if (!wxPyCheckForApp()) SWIG_fail
;
5684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5685 result
= (wxListBox
*)new wxListBox();
5687 wxPyEndAllowThreads(__tstate
);
5688 if (PyErr_Occurred()) SWIG_fail
;
5690 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListBox
, 1);
5697 static PyObject
*_wrap_ListBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5698 PyObject
*resultobj
;
5699 wxListBox
*arg1
= (wxListBox
*) 0 ;
5700 wxWindow
*arg2
= (wxWindow
*) 0 ;
5701 int arg3
= (int) -1 ;
5702 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
5703 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
5704 wxSize
const &arg5_defvalue
= wxDefaultSize
;
5705 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
5706 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
5707 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
5708 long arg7
= (long) 0 ;
5709 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
5710 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
5711 wxString
const &arg9_defvalue
= wxPyListBoxNameStr
;
5712 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
5716 bool temp6
= False
;
5717 bool temp9
= False
;
5718 PyObject
* obj0
= 0 ;
5719 PyObject
* obj1
= 0 ;
5720 PyObject
* obj2
= 0 ;
5721 PyObject
* obj3
= 0 ;
5722 PyObject
* obj4
= 0 ;
5723 PyObject
* obj5
= 0 ;
5724 PyObject
* obj6
= 0 ;
5725 PyObject
* obj7
= 0 ;
5726 PyObject
* obj8
= 0 ;
5728 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5731 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:ListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
5732 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
5733 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5734 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
5735 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5737 arg3
= (int) SWIG_AsInt(obj2
);
5738 if (PyErr_Occurred()) SWIG_fail
;
5743 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
5749 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
5754 if (! PySequence_Check(obj5
)) {
5755 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
5758 arg6
= new wxArrayString
;
5760 int i
, len
=PySequence_Length(obj5
);
5761 for (i
=0; i
<len
; i
++) {
5762 PyObject
* item
= PySequence_GetItem(obj5
, i
);
5764 PyObject
* str
= PyObject_Unicode(item
);
5766 PyObject
* str
= PyObject_Str(item
);
5768 if (PyErr_Occurred()) SWIG_fail
;
5769 arg6
->Add(Py2wxString(str
));
5776 arg7
= (long) SWIG_AsLong(obj6
);
5777 if (PyErr_Occurred()) SWIG_fail
;
5780 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
5781 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5784 PyErr_SetString(PyExc_TypeError
,"null reference");
5790 arg9
= wxString_in_helper(obj8
);
5791 if (arg9
== NULL
) SWIG_fail
;
5796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5797 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,(wxArrayString
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
5799 wxPyEndAllowThreads(__tstate
);
5800 if (PyErr_Occurred()) SWIG_fail
;
5803 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5806 if (temp6
) delete arg6
;
5815 if (temp6
) delete arg6
;
5825 static PyObject
*_wrap_ListBox_Insert(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5826 PyObject
*resultobj
;
5827 wxListBox
*arg1
= (wxListBox
*) 0 ;
5828 wxString
*arg2
= 0 ;
5830 PyObject
*arg4
= (PyObject
*) NULL
;
5831 bool temp2
= False
;
5832 PyObject
* obj0
= 0 ;
5833 PyObject
* obj1
= 0 ;
5834 PyObject
* obj2
= 0 ;
5835 PyObject
* obj3
= 0 ;
5837 (char *) "self",(char *) "item",(char *) "pos",(char *) "clientData", NULL
5840 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ListBox_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
5841 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
5842 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5844 arg2
= wxString_in_helper(obj1
);
5845 if (arg2
== NULL
) SWIG_fail
;
5848 arg3
= (int) SWIG_AsInt(obj2
);
5849 if (PyErr_Occurred()) SWIG_fail
;
5854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5855 wxListBox_Insert(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
5857 wxPyEndAllowThreads(__tstate
);
5858 if (PyErr_Occurred()) SWIG_fail
;
5860 Py_INCREF(Py_None
); resultobj
= Py_None
;
5875 static PyObject
*_wrap_ListBox_InsertItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5876 PyObject
*resultobj
;
5877 wxListBox
*arg1
= (wxListBox
*) 0 ;
5878 wxArrayString
*arg2
= 0 ;
5880 bool temp2
= False
;
5881 PyObject
* obj0
= 0 ;
5882 PyObject
* obj1
= 0 ;
5883 PyObject
* obj2
= 0 ;
5885 (char *) "self",(char *) "items",(char *) "pos", NULL
5888 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_InsertItems",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5889 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
5890 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5892 if (! PySequence_Check(obj1
)) {
5893 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
5896 arg2
= new wxArrayString
;
5898 int i
, len
=PySequence_Length(obj1
);
5899 for (i
=0; i
<len
; i
++) {
5900 PyObject
* item
= PySequence_GetItem(obj1
, i
);
5902 PyObject
* str
= PyObject_Unicode(item
);
5904 PyObject
* str
= PyObject_Str(item
);
5906 if (PyErr_Occurred()) SWIG_fail
;
5907 arg2
->Add(Py2wxString(str
));
5912 arg3
= (int) SWIG_AsInt(obj2
);
5913 if (PyErr_Occurred()) SWIG_fail
;
5915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5916 (arg1
)->InsertItems((wxArrayString
const &)*arg2
,arg3
);
5918 wxPyEndAllowThreads(__tstate
);
5919 if (PyErr_Occurred()) SWIG_fail
;
5921 Py_INCREF(Py_None
); resultobj
= Py_None
;
5923 if (temp2
) delete arg2
;
5928 if (temp2
) delete arg2
;
5934 static PyObject
*_wrap_ListBox_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5935 PyObject
*resultobj
;
5936 wxListBox
*arg1
= (wxListBox
*) 0 ;
5937 wxArrayString
*arg2
= 0 ;
5938 bool temp2
= False
;
5939 PyObject
* obj0
= 0 ;
5940 PyObject
* obj1
= 0 ;
5942 (char *) "self",(char *) "items", NULL
5945 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_Set",kwnames
,&obj0
,&obj1
)) goto fail
;
5946 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
5947 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5949 if (! PySequence_Check(obj1
)) {
5950 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
5953 arg2
= new wxArrayString
;
5955 int i
, len
=PySequence_Length(obj1
);
5956 for (i
=0; i
<len
; i
++) {
5957 PyObject
* item
= PySequence_GetItem(obj1
, i
);
5959 PyObject
* str
= PyObject_Unicode(item
);
5961 PyObject
* str
= PyObject_Str(item
);
5963 if (PyErr_Occurred()) SWIG_fail
;
5964 arg2
->Add(Py2wxString(str
));
5970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5971 (arg1
)->Set((wxArrayString
const &)*arg2
);
5973 wxPyEndAllowThreads(__tstate
);
5974 if (PyErr_Occurred()) SWIG_fail
;
5976 Py_INCREF(Py_None
); resultobj
= Py_None
;
5978 if (temp2
) delete arg2
;
5983 if (temp2
) delete arg2
;
5989 static PyObject
*_wrap_ListBox_IsSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5990 PyObject
*resultobj
;
5991 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_IsSelected",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 result
= (bool)((wxListBox
const *)arg1
)->IsSelected(arg2
);
6009 wxPyEndAllowThreads(__tstate
);
6010 if (PyErr_Occurred()) SWIG_fail
;
6013 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6021 static PyObject
*_wrap_ListBox_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6022 PyObject
*resultobj
;
6023 wxListBox
*arg1
= (wxListBox
*) 0 ;
6025 bool arg3
= (bool) True
;
6026 PyObject
* obj0
= 0 ;
6027 PyObject
* obj1
= 0 ;
6028 PyObject
* obj2
= 0 ;
6030 (char *) "self",(char *) "n",(char *) "select", NULL
6033 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListBox_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6034 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
6035 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6036 arg2
= (int) SWIG_AsInt(obj1
);
6037 if (PyErr_Occurred()) SWIG_fail
;
6039 arg3
= (bool) SWIG_AsBool(obj2
);
6040 if (PyErr_Occurred()) SWIG_fail
;
6043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6044 (arg1
)->SetSelection(arg2
,arg3
);
6046 wxPyEndAllowThreads(__tstate
);
6047 if (PyErr_Occurred()) SWIG_fail
;
6049 Py_INCREF(Py_None
); resultobj
= Py_None
;
6056 static PyObject
*_wrap_ListBox_Select(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6057 PyObject
*resultobj
;
6058 wxListBox
*arg1
= (wxListBox
*) 0 ;
6060 PyObject
* obj0
= 0 ;
6061 PyObject
* obj1
= 0 ;
6063 (char *) "self",(char *) "n", NULL
6066 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_Select",kwnames
,&obj0
,&obj1
)) goto fail
;
6067 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
6068 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6069 arg2
= (int) SWIG_AsInt(obj1
);
6070 if (PyErr_Occurred()) SWIG_fail
;
6072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6073 (arg1
)->Select(arg2
);
6075 wxPyEndAllowThreads(__tstate
);
6076 if (PyErr_Occurred()) SWIG_fail
;
6078 Py_INCREF(Py_None
); resultobj
= Py_None
;
6085 static PyObject
*_wrap_ListBox_Deselect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6086 PyObject
*resultobj
;
6087 wxListBox
*arg1
= (wxListBox
*) 0 ;
6089 PyObject
* obj0
= 0 ;
6090 PyObject
* obj1
= 0 ;
6092 (char *) "self",(char *) "n", NULL
6095 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_Deselect",kwnames
,&obj0
,&obj1
)) goto fail
;
6096 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
6097 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6098 arg2
= (int) SWIG_AsInt(obj1
);
6099 if (PyErr_Occurred()) SWIG_fail
;
6101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6102 (arg1
)->Deselect(arg2
);
6104 wxPyEndAllowThreads(__tstate
);
6105 if (PyErr_Occurred()) SWIG_fail
;
6107 Py_INCREF(Py_None
); resultobj
= Py_None
;
6114 static PyObject
*_wrap_ListBox_DeselectAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6115 PyObject
*resultobj
;
6116 wxListBox
*arg1
= (wxListBox
*) 0 ;
6117 int arg2
= (int) -1 ;
6118 PyObject
* obj0
= 0 ;
6119 PyObject
* obj1
= 0 ;
6121 (char *) "self",(char *) "itemToLeaveSelected", NULL
6124 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ListBox_DeselectAll",kwnames
,&obj0
,&obj1
)) goto fail
;
6125 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
6126 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6128 arg2
= (int) SWIG_AsInt(obj1
);
6129 if (PyErr_Occurred()) SWIG_fail
;
6132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6133 (arg1
)->DeselectAll(arg2
);
6135 wxPyEndAllowThreads(__tstate
);
6136 if (PyErr_Occurred()) SWIG_fail
;
6138 Py_INCREF(Py_None
); resultobj
= Py_None
;
6145 static PyObject
*_wrap_ListBox_SetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6146 PyObject
*resultobj
;
6147 wxListBox
*arg1
= (wxListBox
*) 0 ;
6148 wxString
*arg2
= 0 ;
6149 bool arg3
= (bool) True
;
6151 bool temp2
= False
;
6152 PyObject
* obj0
= 0 ;
6153 PyObject
* obj1
= 0 ;
6154 PyObject
* obj2
= 0 ;
6156 (char *) "self",(char *) "s",(char *) "select", NULL
6159 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListBox_SetStringSelection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6160 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
6161 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6163 arg2
= wxString_in_helper(obj1
);
6164 if (arg2
== NULL
) SWIG_fail
;
6168 arg3
= (bool) SWIG_AsBool(obj2
);
6169 if (PyErr_Occurred()) SWIG_fail
;
6172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6173 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
,arg3
);
6175 wxPyEndAllowThreads(__tstate
);
6176 if (PyErr_Occurred()) SWIG_fail
;
6179 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6195 static PyObject
*_wrap_ListBox_GetSelections(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6196 PyObject
*resultobj
;
6197 wxListBox
*arg1
= (wxListBox
*) 0 ;
6199 PyObject
* obj0
= 0 ;
6201 (char *) "self", NULL
6204 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListBox_GetSelections",kwnames
,&obj0
)) goto fail
;
6205 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
6206 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6209 result
= (PyObject
*)wxListBox_GetSelections(arg1
);
6211 wxPyEndAllowThreads(__tstate
);
6212 if (PyErr_Occurred()) SWIG_fail
;
6221 static PyObject
*_wrap_ListBox_SetFirstItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6222 PyObject
*resultobj
;
6223 wxListBox
*arg1
= (wxListBox
*) 0 ;
6225 PyObject
* obj0
= 0 ;
6226 PyObject
* obj1
= 0 ;
6228 (char *) "self",(char *) "n", NULL
6231 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_SetFirstItem",kwnames
,&obj0
,&obj1
)) goto fail
;
6232 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
6233 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6234 arg2
= (int) SWIG_AsInt(obj1
);
6235 if (PyErr_Occurred()) SWIG_fail
;
6237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6238 (arg1
)->SetFirstItem(arg2
);
6240 wxPyEndAllowThreads(__tstate
);
6241 if (PyErr_Occurred()) SWIG_fail
;
6243 Py_INCREF(Py_None
); resultobj
= Py_None
;
6250 static PyObject
*_wrap_ListBox_SetFirstItemStr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6251 PyObject
*resultobj
;
6252 wxListBox
*arg1
= (wxListBox
*) 0 ;
6253 wxString
*arg2
= 0 ;
6254 bool temp2
= False
;
6255 PyObject
* obj0
= 0 ;
6256 PyObject
* obj1
= 0 ;
6258 (char *) "self",(char *) "s", NULL
6261 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_SetFirstItemStr",kwnames
,&obj0
,&obj1
)) goto fail
;
6262 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
6263 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6265 arg2
= wxString_in_helper(obj1
);
6266 if (arg2
== NULL
) SWIG_fail
;
6270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6271 (arg1
)->SetFirstItem((wxString
const &)*arg2
);
6273 wxPyEndAllowThreads(__tstate
);
6274 if (PyErr_Occurred()) SWIG_fail
;
6276 Py_INCREF(Py_None
); resultobj
= Py_None
;
6291 static PyObject
*_wrap_ListBox_EnsureVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6292 PyObject
*resultobj
;
6293 wxListBox
*arg1
= (wxListBox
*) 0 ;
6295 PyObject
* obj0
= 0 ;
6296 PyObject
* obj1
= 0 ;
6298 (char *) "self",(char *) "n", NULL
6301 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_EnsureVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
6302 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
6303 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6304 arg2
= (int) SWIG_AsInt(obj1
);
6305 if (PyErr_Occurred()) SWIG_fail
;
6307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6308 (arg1
)->EnsureVisible(arg2
);
6310 wxPyEndAllowThreads(__tstate
);
6311 if (PyErr_Occurred()) SWIG_fail
;
6313 Py_INCREF(Py_None
); resultobj
= Py_None
;
6320 static PyObject
*_wrap_ListBox_AppendAndEnsureVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6321 PyObject
*resultobj
;
6322 wxListBox
*arg1
= (wxListBox
*) 0 ;
6323 wxString
*arg2
= 0 ;
6324 bool temp2
= False
;
6325 PyObject
* obj0
= 0 ;
6326 PyObject
* obj1
= 0 ;
6328 (char *) "self",(char *) "s", NULL
6331 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_AppendAndEnsureVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
6332 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
6333 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6335 arg2
= wxString_in_helper(obj1
);
6336 if (arg2
== NULL
) SWIG_fail
;
6340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6341 (arg1
)->AppendAndEnsureVisible((wxString
const &)*arg2
);
6343 wxPyEndAllowThreads(__tstate
);
6344 if (PyErr_Occurred()) SWIG_fail
;
6346 Py_INCREF(Py_None
); resultobj
= Py_None
;
6361 static PyObject
*_wrap_ListBox_IsSorted(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6362 PyObject
*resultobj
;
6363 wxListBox
*arg1
= (wxListBox
*) 0 ;
6365 PyObject
* obj0
= 0 ;
6367 (char *) "self", NULL
6370 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListBox_IsSorted",kwnames
,&obj0
)) goto fail
;
6371 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
6372 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6375 result
= (bool)((wxListBox
const *)arg1
)->IsSorted();
6377 wxPyEndAllowThreads(__tstate
);
6378 if (PyErr_Occurred()) SWIG_fail
;
6381 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6389 static PyObject
*_wrap_ListBox_SetItemForegroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6390 PyObject
*resultobj
;
6391 wxListBox
*arg1
= (wxListBox
*) 0 ;
6393 wxColour
*arg3
= 0 ;
6395 PyObject
* obj0
= 0 ;
6396 PyObject
* obj1
= 0 ;
6397 PyObject
* obj2
= 0 ;
6399 (char *) "self",(char *) "item",(char *) "c", NULL
6402 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_SetItemForegroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6403 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
6404 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6405 arg2
= (int) SWIG_AsInt(obj1
);
6406 if (PyErr_Occurred()) SWIG_fail
;
6409 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
6412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6413 wxListBox_SetItemForegroundColour(arg1
,arg2
,(wxColour
const &)*arg3
);
6415 wxPyEndAllowThreads(__tstate
);
6416 if (PyErr_Occurred()) SWIG_fail
;
6418 Py_INCREF(Py_None
); resultobj
= Py_None
;
6425 static PyObject
*_wrap_ListBox_SetItemBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6426 PyObject
*resultobj
;
6427 wxListBox
*arg1
= (wxListBox
*) 0 ;
6429 wxColour
*arg3
= 0 ;
6431 PyObject
* obj0
= 0 ;
6432 PyObject
* obj1
= 0 ;
6433 PyObject
* obj2
= 0 ;
6435 (char *) "self",(char *) "item",(char *) "c", NULL
6438 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_SetItemBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6439 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
6440 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6441 arg2
= (int) SWIG_AsInt(obj1
);
6442 if (PyErr_Occurred()) SWIG_fail
;
6445 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
6448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6449 wxListBox_SetItemBackgroundColour(arg1
,arg2
,(wxColour
const &)*arg3
);
6451 wxPyEndAllowThreads(__tstate
);
6452 if (PyErr_Occurred()) SWIG_fail
;
6454 Py_INCREF(Py_None
); resultobj
= Py_None
;
6461 static PyObject
*_wrap_ListBox_SetItemFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6462 PyObject
*resultobj
;
6463 wxListBox
*arg1
= (wxListBox
*) 0 ;
6466 PyObject
* obj0
= 0 ;
6467 PyObject
* obj1
= 0 ;
6468 PyObject
* obj2
= 0 ;
6470 (char *) "self",(char *) "item",(char *) "f", NULL
6473 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_SetItemFont",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6474 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
6475 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6476 arg2
= (int) SWIG_AsInt(obj1
);
6477 if (PyErr_Occurred()) SWIG_fail
;
6478 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxFont
,
6479 SWIG_POINTER_EXCEPTION
| 0)) == -1)
6482 PyErr_SetString(PyExc_TypeError
,"null reference");
6486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6487 wxListBox_SetItemFont(arg1
,arg2
,(wxFont
const &)*arg3
);
6489 wxPyEndAllowThreads(__tstate
);
6490 if (PyErr_Occurred()) SWIG_fail
;
6492 Py_INCREF(Py_None
); resultobj
= Py_None
;
6499 static PyObject
*_wrap_ListBox_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6500 PyObject
*resultobj
;
6501 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
6502 wxVisualAttributes result
;
6503 PyObject
* obj0
= 0 ;
6505 (char *) "variant", NULL
6508 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ListBox_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
6510 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
6511 if (PyErr_Occurred()) SWIG_fail
;
6514 if (!wxPyCheckForApp()) SWIG_fail
;
6515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6516 result
= wxListBox::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
6518 wxPyEndAllowThreads(__tstate
);
6519 if (PyErr_Occurred()) SWIG_fail
;
6522 wxVisualAttributes
* resultptr
;
6523 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
6524 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
6532 static PyObject
* ListBox_swigregister(PyObject
*self
, PyObject
*args
) {
6534 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6535 SWIG_TypeClientData(SWIGTYPE_p_wxListBox
, obj
);
6537 return Py_BuildValue((char *)"");
6539 static PyObject
*_wrap_new_CheckListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6540 PyObject
*resultobj
;
6541 wxWindow
*arg1
= (wxWindow
*) 0 ;
6542 int arg2
= (int) -1 ;
6543 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
6544 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
6545 wxSize
const &arg4_defvalue
= wxDefaultSize
;
6546 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
6547 wxArrayString
const &arg5_defvalue
= wxPyEmptyStringArray
;
6548 wxArrayString
*arg5
= (wxArrayString
*) &arg5_defvalue
;
6549 long arg6
= (long) 0 ;
6550 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
6551 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
6552 wxString
const &arg8_defvalue
= wxPyListBoxNameStr
;
6553 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
6554 wxCheckListBox
*result
;
6557 bool temp5
= False
;
6558 bool temp8
= False
;
6559 PyObject
* obj0
= 0 ;
6560 PyObject
* obj1
= 0 ;
6561 PyObject
* obj2
= 0 ;
6562 PyObject
* obj3
= 0 ;
6563 PyObject
* obj4
= 0 ;
6564 PyObject
* obj5
= 0 ;
6565 PyObject
* obj6
= 0 ;
6566 PyObject
* obj7
= 0 ;
6568 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
6571 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_CheckListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
6572 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
6573 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6575 arg2
= (int) SWIG_AsInt(obj1
);
6576 if (PyErr_Occurred()) SWIG_fail
;
6581 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
6587 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
6592 if (! PySequence_Check(obj4
)) {
6593 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
6596 arg5
= new wxArrayString
;
6598 int i
, len
=PySequence_Length(obj4
);
6599 for (i
=0; i
<len
; i
++) {
6600 PyObject
* item
= PySequence_GetItem(obj4
, i
);
6602 PyObject
* str
= PyObject_Unicode(item
);
6604 PyObject
* str
= PyObject_Str(item
);
6606 if (PyErr_Occurred()) SWIG_fail
;
6607 arg5
->Add(Py2wxString(str
));
6614 arg6
= (long) SWIG_AsLong(obj5
);
6615 if (PyErr_Occurred()) SWIG_fail
;
6618 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
6619 SWIG_POINTER_EXCEPTION
| 0)) == -1)
6622 PyErr_SetString(PyExc_TypeError
,"null reference");
6628 arg8
= wxString_in_helper(obj7
);
6629 if (arg8
== NULL
) SWIG_fail
;
6634 if (!wxPyCheckForApp()) SWIG_fail
;
6635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6636 result
= (wxCheckListBox
*)new wxCheckListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,(wxArrayString
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
6638 wxPyEndAllowThreads(__tstate
);
6639 if (PyErr_Occurred()) SWIG_fail
;
6641 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCheckListBox
, 1);
6643 if (temp5
) delete arg5
;
6652 if (temp5
) delete arg5
;
6662 static PyObject
*_wrap_new_PreCheckListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6663 PyObject
*resultobj
;
6664 wxCheckListBox
*result
;
6669 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreCheckListBox",kwnames
)) goto fail
;
6671 if (!wxPyCheckForApp()) SWIG_fail
;
6672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6673 result
= (wxCheckListBox
*)new wxCheckListBox();
6675 wxPyEndAllowThreads(__tstate
);
6676 if (PyErr_Occurred()) SWIG_fail
;
6678 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCheckListBox
, 1);
6685 static PyObject
*_wrap_CheckListBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6686 PyObject
*resultobj
;
6687 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
6688 wxWindow
*arg2
= (wxWindow
*) 0 ;
6689 int arg3
= (int) -1 ;
6690 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
6691 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
6692 wxSize
const &arg5_defvalue
= wxDefaultSize
;
6693 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
6694 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
6695 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
6696 long arg7
= (long) 0 ;
6697 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
6698 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
6699 wxString
const &arg9_defvalue
= wxPyListBoxNameStr
;
6700 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
6704 bool temp6
= False
;
6705 bool temp9
= False
;
6706 PyObject
* obj0
= 0 ;
6707 PyObject
* obj1
= 0 ;
6708 PyObject
* obj2
= 0 ;
6709 PyObject
* obj3
= 0 ;
6710 PyObject
* obj4
= 0 ;
6711 PyObject
* obj5
= 0 ;
6712 PyObject
* obj6
= 0 ;
6713 PyObject
* obj7
= 0 ;
6714 PyObject
* obj8
= 0 ;
6716 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
6719 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:CheckListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
6720 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckListBox
,
6721 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6722 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
6723 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6725 arg3
= (int) SWIG_AsInt(obj2
);
6726 if (PyErr_Occurred()) SWIG_fail
;
6731 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
6737 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
6742 if (! PySequence_Check(obj5
)) {
6743 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
6746 arg6
= new wxArrayString
;
6748 int i
, len
=PySequence_Length(obj5
);
6749 for (i
=0; i
<len
; i
++) {
6750 PyObject
* item
= PySequence_GetItem(obj5
, i
);
6752 PyObject
* str
= PyObject_Unicode(item
);
6754 PyObject
* str
= PyObject_Str(item
);
6756 if (PyErr_Occurred()) SWIG_fail
;
6757 arg6
->Add(Py2wxString(str
));
6764 arg7
= (long) SWIG_AsLong(obj6
);
6765 if (PyErr_Occurred()) SWIG_fail
;
6768 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
6769 SWIG_POINTER_EXCEPTION
| 0)) == -1)
6772 PyErr_SetString(PyExc_TypeError
,"null reference");
6778 arg9
= wxString_in_helper(obj8
);
6779 if (arg9
== NULL
) SWIG_fail
;
6784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6785 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,(wxArrayString
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
6787 wxPyEndAllowThreads(__tstate
);
6788 if (PyErr_Occurred()) SWIG_fail
;
6791 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6794 if (temp6
) delete arg6
;
6803 if (temp6
) delete arg6
;
6813 static PyObject
*_wrap_CheckListBox_IsChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6814 PyObject
*resultobj
;
6815 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
6818 PyObject
* obj0
= 0 ;
6819 PyObject
* obj1
= 0 ;
6821 (char *) "self",(char *) "index", NULL
6824 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckListBox_IsChecked",kwnames
,&obj0
,&obj1
)) 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
;
6830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6831 result
= (bool)(arg1
)->IsChecked(arg2
);
6833 wxPyEndAllowThreads(__tstate
);
6834 if (PyErr_Occurred()) SWIG_fail
;
6837 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6845 static PyObject
*_wrap_CheckListBox_Check(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6846 PyObject
*resultobj
;
6847 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
6849 int arg3
= (int) True
;
6850 PyObject
* obj0
= 0 ;
6851 PyObject
* obj1
= 0 ;
6852 PyObject
* obj2
= 0 ;
6854 (char *) "self",(char *) "index",(char *) "check", NULL
6857 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:CheckListBox_Check",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6858 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckListBox
,
6859 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6860 arg2
= (int) SWIG_AsInt(obj1
);
6861 if (PyErr_Occurred()) SWIG_fail
;
6863 arg3
= (int) SWIG_AsInt(obj2
);
6864 if (PyErr_Occurred()) SWIG_fail
;
6867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6868 (arg1
)->Check(arg2
,arg3
);
6870 wxPyEndAllowThreads(__tstate
);
6871 if (PyErr_Occurred()) SWIG_fail
;
6873 Py_INCREF(Py_None
); resultobj
= Py_None
;
6880 static PyObject
*_wrap_CheckListBox_GetItemHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6881 PyObject
*resultobj
;
6882 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
6884 PyObject
* obj0
= 0 ;
6886 (char *) "self", NULL
6889 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckListBox_GetItemHeight",kwnames
,&obj0
)) goto fail
;
6890 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckListBox
,
6891 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6894 result
= (int)(arg1
)->GetItemHeight();
6896 wxPyEndAllowThreads(__tstate
);
6897 if (PyErr_Occurred()) SWIG_fail
;
6899 resultobj
= SWIG_FromInt((int)result
);
6906 static PyObject
*_wrap_CheckListBox_HitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6907 PyObject
*resultobj
;
6908 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
6912 PyObject
* obj0
= 0 ;
6913 PyObject
* obj1
= 0 ;
6915 (char *) "self",(char *) "pt", NULL
6918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckListBox_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
6919 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckListBox
,
6920 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6923 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
6926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6927 result
= (int)((wxCheckListBox
const *)arg1
)->HitTest((wxPoint
const &)*arg2
);
6929 wxPyEndAllowThreads(__tstate
);
6930 if (PyErr_Occurred()) SWIG_fail
;
6932 resultobj
= SWIG_FromInt((int)result
);
6939 static PyObject
*_wrap_CheckListBox_HitTestXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6940 PyObject
*resultobj
;
6941 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
6945 PyObject
* obj0
= 0 ;
6946 PyObject
* obj1
= 0 ;
6947 PyObject
* obj2
= 0 ;
6949 (char *) "self",(char *) "x",(char *) "y", NULL
6952 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:CheckListBox_HitTestXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6953 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckListBox
,
6954 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6955 arg2
= (int) SWIG_AsInt(obj1
);
6956 if (PyErr_Occurred()) SWIG_fail
;
6957 arg3
= (int) SWIG_AsInt(obj2
);
6958 if (PyErr_Occurred()) SWIG_fail
;
6960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6961 result
= (int)((wxCheckListBox
const *)arg1
)->HitTest(arg2
,arg3
);
6963 wxPyEndAllowThreads(__tstate
);
6964 if (PyErr_Occurred()) SWIG_fail
;
6966 resultobj
= SWIG_FromInt((int)result
);
6973 static PyObject
* CheckListBox_swigregister(PyObject
*self
, PyObject
*args
) {
6975 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6976 SWIG_TypeClientData(SWIGTYPE_p_wxCheckListBox
, obj
);
6978 return Py_BuildValue((char *)"");
6980 static int _wrap_TextCtrlNameStr_set(PyObject
*_val
) {
6981 PyErr_SetString(PyExc_TypeError
,"Variable TextCtrlNameStr is read-only.");
6986 static PyObject
*_wrap_TextCtrlNameStr_get() {
6991 pyobj
= PyUnicode_FromWideChar((&wxPyTextCtrlNameStr
)->c_str(), (&wxPyTextCtrlNameStr
)->Len());
6993 pyobj
= PyString_FromStringAndSize((&wxPyTextCtrlNameStr
)->c_str(), (&wxPyTextCtrlNameStr
)->Len());
7000 static PyObject
*_wrap_new_TextAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7001 PyObject
*resultobj
;
7002 wxColour
const &arg1_defvalue
= wxNullColour
;
7003 wxColour
*arg1
= (wxColour
*) &arg1_defvalue
;
7004 wxColour
const &arg2_defvalue
= wxNullColour
;
7005 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
7006 wxFont
const &arg3_defvalue
= wxNullFont
;
7007 wxFont
*arg3
= (wxFont
*) &arg3_defvalue
;
7008 int arg4
= (int) wxTEXT_ALIGNMENT_DEFAULT
;
7012 PyObject
* obj0
= 0 ;
7013 PyObject
* obj1
= 0 ;
7014 PyObject
* obj2
= 0 ;
7015 PyObject
* obj3
= 0 ;
7017 (char *) "colText",(char *) "colBack",(char *) "font",(char *) "alignment", NULL
7020 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_TextAttr",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
7024 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
7030 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
7034 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxFont
,
7035 SWIG_POINTER_EXCEPTION
| 0)) == -1)
7038 PyErr_SetString(PyExc_TypeError
,"null reference");
7043 arg4
= (wxTextAttrAlignment
) SWIG_AsInt(obj3
);
7044 if (PyErr_Occurred()) SWIG_fail
;
7047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7048 result
= (wxTextAttr
*)new wxTextAttr((wxColour
const &)*arg1
,(wxColour
const &)*arg2
,(wxFont
const &)*arg3
,(wxTextAttrAlignment
)arg4
);
7050 wxPyEndAllowThreads(__tstate
);
7051 if (PyErr_Occurred()) SWIG_fail
;
7053 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextAttr
, 1);
7060 static PyObject
*_wrap_delete_TextAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7061 PyObject
*resultobj
;
7062 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7063 PyObject
* obj0
= 0 ;
7065 (char *) "self", NULL
7068 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TextAttr",kwnames
,&obj0
)) goto fail
;
7069 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7070 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7075 wxPyEndAllowThreads(__tstate
);
7076 if (PyErr_Occurred()) SWIG_fail
;
7078 Py_INCREF(Py_None
); resultobj
= Py_None
;
7085 static PyObject
*_wrap_TextAttr_Init(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7086 PyObject
*resultobj
;
7087 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7088 PyObject
* obj0
= 0 ;
7090 (char *) "self", NULL
7093 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_Init",kwnames
,&obj0
)) goto fail
;
7094 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7095 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7100 wxPyEndAllowThreads(__tstate
);
7101 if (PyErr_Occurred()) SWIG_fail
;
7103 Py_INCREF(Py_None
); resultobj
= Py_None
;
7110 static PyObject
*_wrap_TextAttr_SetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7111 PyObject
*resultobj
;
7112 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7113 wxColour
*arg2
= 0 ;
7115 PyObject
* obj0
= 0 ;
7116 PyObject
* obj1
= 0 ;
7118 (char *) "self",(char *) "colText", NULL
7121 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
7122 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7123 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7126 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
7129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7130 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
7132 wxPyEndAllowThreads(__tstate
);
7133 if (PyErr_Occurred()) SWIG_fail
;
7135 Py_INCREF(Py_None
); resultobj
= Py_None
;
7142 static PyObject
*_wrap_TextAttr_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7143 PyObject
*resultobj
;
7144 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7145 wxColour
*arg2
= 0 ;
7147 PyObject
* obj0
= 0 ;
7148 PyObject
* obj1
= 0 ;
7150 (char *) "self",(char *) "colBack", NULL
7153 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
7154 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7155 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7158 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
7161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7162 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
7164 wxPyEndAllowThreads(__tstate
);
7165 if (PyErr_Occurred()) SWIG_fail
;
7167 Py_INCREF(Py_None
); resultobj
= Py_None
;
7174 static PyObject
*_wrap_TextAttr_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7175 PyObject
*resultobj
;
7176 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7178 long arg3
= (long) wxTEXT_ATTR_FONT
;
7179 PyObject
* obj0
= 0 ;
7180 PyObject
* obj1
= 0 ;
7181 PyObject
* obj2
= 0 ;
7183 (char *) "self",(char *) "font",(char *) "flags", NULL
7186 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TextAttr_SetFont",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7187 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7188 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7189 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
7190 SWIG_POINTER_EXCEPTION
| 0)) == -1)
7193 PyErr_SetString(PyExc_TypeError
,"null reference");
7197 arg3
= (long) SWIG_AsLong(obj2
);
7198 if (PyErr_Occurred()) SWIG_fail
;
7201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7202 (arg1
)->SetFont((wxFont
const &)*arg2
,arg3
);
7204 wxPyEndAllowThreads(__tstate
);
7205 if (PyErr_Occurred()) SWIG_fail
;
7207 Py_INCREF(Py_None
); resultobj
= Py_None
;
7214 static PyObject
*_wrap_TextAttr_SetAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7215 PyObject
*resultobj
;
7216 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7218 PyObject
* obj0
= 0 ;
7219 PyObject
* obj1
= 0 ;
7221 (char *) "self",(char *) "alignment", NULL
7224 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetAlignment",kwnames
,&obj0
,&obj1
)) goto fail
;
7225 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7226 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7227 arg2
= (wxTextAttrAlignment
) SWIG_AsInt(obj1
);
7228 if (PyErr_Occurred()) SWIG_fail
;
7230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7231 (arg1
)->SetAlignment((wxTextAttrAlignment
)arg2
);
7233 wxPyEndAllowThreads(__tstate
);
7234 if (PyErr_Occurred()) SWIG_fail
;
7236 Py_INCREF(Py_None
); resultobj
= Py_None
;
7243 static PyObject
*_wrap_TextAttr_SetTabs(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7244 PyObject
*resultobj
;
7245 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7246 wxArrayInt
*arg2
= 0 ;
7247 bool temp2
= False
;
7248 PyObject
* obj0
= 0 ;
7249 PyObject
* obj1
= 0 ;
7251 (char *) "self",(char *) "tabs", NULL
7254 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetTabs",kwnames
,&obj0
,&obj1
)) goto fail
;
7255 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7256 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7258 if (! PySequence_Check(obj1
)) {
7259 PyErr_SetString(PyExc_TypeError
, "Sequence of integers expected.");
7262 arg2
= new wxArrayInt
;
7264 int i
, len
=PySequence_Length(obj1
);
7265 for (i
=0; i
<len
; i
++) {
7266 PyObject
* item
= PySequence_GetItem(obj1
, i
);
7267 PyObject
* number
= PyNumber_Int(item
);
7268 arg2
->Add(PyInt_AS_LONG(number
));
7274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7275 (arg1
)->SetTabs((wxArrayInt
const &)*arg2
);
7277 wxPyEndAllowThreads(__tstate
);
7278 if (PyErr_Occurred()) SWIG_fail
;
7280 Py_INCREF(Py_None
); resultobj
= Py_None
;
7282 if (temp2
) delete arg2
;
7287 if (temp2
) delete arg2
;
7293 static PyObject
*_wrap_TextAttr_SetLeftIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7294 PyObject
*resultobj
;
7295 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7297 int arg3
= (int) 0 ;
7298 PyObject
* obj0
= 0 ;
7299 PyObject
* obj1
= 0 ;
7300 PyObject
* obj2
= 0 ;
7302 (char *) "self",(char *) "indent",(char *) "subIndent", NULL
7305 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TextAttr_SetLeftIndent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7306 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7307 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7308 arg2
= (int) SWIG_AsInt(obj1
);
7309 if (PyErr_Occurred()) SWIG_fail
;
7311 arg3
= (int) SWIG_AsInt(obj2
);
7312 if (PyErr_Occurred()) SWIG_fail
;
7315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7316 (arg1
)->SetLeftIndent(arg2
,arg3
);
7318 wxPyEndAllowThreads(__tstate
);
7319 if (PyErr_Occurred()) SWIG_fail
;
7321 Py_INCREF(Py_None
); resultobj
= Py_None
;
7328 static PyObject
*_wrap_TextAttr_SetRightIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7329 PyObject
*resultobj
;
7330 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7332 PyObject
* obj0
= 0 ;
7333 PyObject
* obj1
= 0 ;
7335 (char *) "self",(char *) "indent", NULL
7338 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetRightIndent",kwnames
,&obj0
,&obj1
)) goto fail
;
7339 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7340 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7341 arg2
= (int) SWIG_AsInt(obj1
);
7342 if (PyErr_Occurred()) SWIG_fail
;
7344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7345 (arg1
)->SetRightIndent(arg2
);
7347 wxPyEndAllowThreads(__tstate
);
7348 if (PyErr_Occurred()) SWIG_fail
;
7350 Py_INCREF(Py_None
); resultobj
= Py_None
;
7357 static PyObject
*_wrap_TextAttr_SetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7358 PyObject
*resultobj
;
7359 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7361 PyObject
* obj0
= 0 ;
7362 PyObject
* obj1
= 0 ;
7364 (char *) "self",(char *) "flags", NULL
7367 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetFlags",kwnames
,&obj0
,&obj1
)) goto fail
;
7368 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7369 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7370 arg2
= (long) SWIG_AsLong(obj1
);
7371 if (PyErr_Occurred()) SWIG_fail
;
7373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7374 (arg1
)->SetFlags(arg2
);
7376 wxPyEndAllowThreads(__tstate
);
7377 if (PyErr_Occurred()) SWIG_fail
;
7379 Py_INCREF(Py_None
); resultobj
= Py_None
;
7386 static PyObject
*_wrap_TextAttr_HasTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7387 PyObject
*resultobj
;
7388 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7390 PyObject
* obj0
= 0 ;
7392 (char *) "self", NULL
7395 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasTextColour",kwnames
,&obj0
)) goto fail
;
7396 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7397 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7400 result
= (bool)((wxTextAttr
const *)arg1
)->HasTextColour();
7402 wxPyEndAllowThreads(__tstate
);
7403 if (PyErr_Occurred()) SWIG_fail
;
7406 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7414 static PyObject
*_wrap_TextAttr_HasBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7415 PyObject
*resultobj
;
7416 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7418 PyObject
* obj0
= 0 ;
7420 (char *) "self", NULL
7423 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasBackgroundColour",kwnames
,&obj0
)) goto fail
;
7424 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7425 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7428 result
= (bool)((wxTextAttr
const *)arg1
)->HasBackgroundColour();
7430 wxPyEndAllowThreads(__tstate
);
7431 if (PyErr_Occurred()) SWIG_fail
;
7434 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7442 static PyObject
*_wrap_TextAttr_HasFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7443 PyObject
*resultobj
;
7444 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7446 PyObject
* obj0
= 0 ;
7448 (char *) "self", NULL
7451 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasFont",kwnames
,&obj0
)) goto fail
;
7452 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7453 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7456 result
= (bool)((wxTextAttr
const *)arg1
)->HasFont();
7458 wxPyEndAllowThreads(__tstate
);
7459 if (PyErr_Occurred()) SWIG_fail
;
7462 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7470 static PyObject
*_wrap_TextAttr_HasAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7471 PyObject
*resultobj
;
7472 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7474 PyObject
* obj0
= 0 ;
7476 (char *) "self", NULL
7479 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasAlignment",kwnames
,&obj0
)) goto fail
;
7480 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7481 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7484 result
= (bool)((wxTextAttr
const *)arg1
)->HasAlignment();
7486 wxPyEndAllowThreads(__tstate
);
7487 if (PyErr_Occurred()) SWIG_fail
;
7490 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7498 static PyObject
*_wrap_TextAttr_HasTabs(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7499 PyObject
*resultobj
;
7500 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7502 PyObject
* obj0
= 0 ;
7504 (char *) "self", NULL
7507 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasTabs",kwnames
,&obj0
)) goto fail
;
7508 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7509 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7512 result
= (bool)((wxTextAttr
const *)arg1
)->HasTabs();
7514 wxPyEndAllowThreads(__tstate
);
7515 if (PyErr_Occurred()) SWIG_fail
;
7518 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7526 static PyObject
*_wrap_TextAttr_HasLeftIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7527 PyObject
*resultobj
;
7528 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7530 PyObject
* obj0
= 0 ;
7532 (char *) "self", NULL
7535 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasLeftIndent",kwnames
,&obj0
)) goto fail
;
7536 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7537 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7540 result
= (bool)((wxTextAttr
const *)arg1
)->HasLeftIndent();
7542 wxPyEndAllowThreads(__tstate
);
7543 if (PyErr_Occurred()) SWIG_fail
;
7546 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7554 static PyObject
*_wrap_TextAttr_HasRightIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7555 PyObject
*resultobj
;
7556 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7558 PyObject
* obj0
= 0 ;
7560 (char *) "self", NULL
7563 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasRightIndent",kwnames
,&obj0
)) goto fail
;
7564 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7565 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7568 result
= (bool)((wxTextAttr
const *)arg1
)->HasRightIndent();
7570 wxPyEndAllowThreads(__tstate
);
7571 if (PyErr_Occurred()) SWIG_fail
;
7574 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7582 static PyObject
*_wrap_TextAttr_HasFlag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7583 PyObject
*resultobj
;
7584 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7587 PyObject
* obj0
= 0 ;
7588 PyObject
* obj1
= 0 ;
7590 (char *) "self",(char *) "flag", NULL
7593 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_HasFlag",kwnames
,&obj0
,&obj1
)) goto fail
;
7594 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7595 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7596 arg2
= (long) SWIG_AsLong(obj1
);
7597 if (PyErr_Occurred()) SWIG_fail
;
7599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7600 result
= (bool)((wxTextAttr
const *)arg1
)->HasFlag(arg2
);
7602 wxPyEndAllowThreads(__tstate
);
7603 if (PyErr_Occurred()) SWIG_fail
;
7606 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7614 static PyObject
*_wrap_TextAttr_GetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7615 PyObject
*resultobj
;
7616 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7618 PyObject
* obj0
= 0 ;
7620 (char *) "self", NULL
7623 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetTextColour",kwnames
,&obj0
)) goto fail
;
7624 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7625 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7629 wxColour
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetTextColour();
7630 result
= (wxColour
*) &_result_ref
;
7633 wxPyEndAllowThreads(__tstate
);
7634 if (PyErr_Occurred()) SWIG_fail
;
7636 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0);
7643 static PyObject
*_wrap_TextAttr_GetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7644 PyObject
*resultobj
;
7645 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7647 PyObject
* obj0
= 0 ;
7649 (char *) "self", NULL
7652 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
7653 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7654 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7658 wxColour
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetBackgroundColour();
7659 result
= (wxColour
*) &_result_ref
;
7662 wxPyEndAllowThreads(__tstate
);
7663 if (PyErr_Occurred()) SWIG_fail
;
7665 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0);
7672 static PyObject
*_wrap_TextAttr_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7673 PyObject
*resultobj
;
7674 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7676 PyObject
* obj0
= 0 ;
7678 (char *) "self", NULL
7681 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetFont",kwnames
,&obj0
)) goto fail
;
7682 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7683 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7687 wxFont
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetFont();
7688 result
= (wxFont
*) &_result_ref
;
7691 wxPyEndAllowThreads(__tstate
);
7692 if (PyErr_Occurred()) SWIG_fail
;
7695 wxFont
* resultptr
= new wxFont(*result
);
7696 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxFont
, 1);
7704 static PyObject
*_wrap_TextAttr_GetAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7705 PyObject
*resultobj
;
7706 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7708 PyObject
* obj0
= 0 ;
7710 (char *) "self", NULL
7713 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetAlignment",kwnames
,&obj0
)) goto fail
;
7714 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7715 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7718 result
= (int)((wxTextAttr
const *)arg1
)->GetAlignment();
7720 wxPyEndAllowThreads(__tstate
);
7721 if (PyErr_Occurred()) SWIG_fail
;
7723 resultobj
= SWIG_FromInt((int)result
);
7730 static PyObject
*_wrap_TextAttr_GetTabs(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7731 PyObject
*resultobj
;
7732 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7734 PyObject
* obj0
= 0 ;
7736 (char *) "self", NULL
7739 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetTabs",kwnames
,&obj0
)) goto fail
;
7740 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7741 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7745 wxArrayInt
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetTabs();
7746 result
= (wxArrayInt
*) &_result_ref
;
7749 wxPyEndAllowThreads(__tstate
);
7750 if (PyErr_Occurred()) SWIG_fail
;
7753 resultobj
= PyList_New(0);
7755 for (idx
= 0; idx
< result
->GetCount(); idx
+= 1) {
7756 PyObject
* val
= PyInt_FromLong( result
->Item(idx
) );
7757 PyList_Append(resultobj
, val
);
7767 static PyObject
*_wrap_TextAttr_GetLeftIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7768 PyObject
*resultobj
;
7769 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7771 PyObject
* obj0
= 0 ;
7773 (char *) "self", NULL
7776 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetLeftIndent",kwnames
,&obj0
)) goto fail
;
7777 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7778 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7781 result
= (long)((wxTextAttr
const *)arg1
)->GetLeftIndent();
7783 wxPyEndAllowThreads(__tstate
);
7784 if (PyErr_Occurred()) SWIG_fail
;
7786 resultobj
= SWIG_FromLong((long)result
);
7793 static PyObject
*_wrap_TextAttr_GetLeftSubIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7794 PyObject
*resultobj
;
7795 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7797 PyObject
* obj0
= 0 ;
7799 (char *) "self", NULL
7802 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetLeftSubIndent",kwnames
,&obj0
)) goto fail
;
7803 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7804 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7807 result
= (long)((wxTextAttr
const *)arg1
)->GetLeftSubIndent();
7809 wxPyEndAllowThreads(__tstate
);
7810 if (PyErr_Occurred()) SWIG_fail
;
7812 resultobj
= SWIG_FromLong((long)result
);
7819 static PyObject
*_wrap_TextAttr_GetRightIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7820 PyObject
*resultobj
;
7821 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7823 PyObject
* obj0
= 0 ;
7825 (char *) "self", NULL
7828 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetRightIndent",kwnames
,&obj0
)) goto fail
;
7829 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7830 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7833 result
= (long)((wxTextAttr
const *)arg1
)->GetRightIndent();
7835 wxPyEndAllowThreads(__tstate
);
7836 if (PyErr_Occurred()) SWIG_fail
;
7838 resultobj
= SWIG_FromLong((long)result
);
7845 static PyObject
*_wrap_TextAttr_GetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7846 PyObject
*resultobj
;
7847 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7849 PyObject
* obj0
= 0 ;
7851 (char *) "self", NULL
7854 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetFlags",kwnames
,&obj0
)) goto fail
;
7855 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7856 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7859 result
= (long)((wxTextAttr
const *)arg1
)->GetFlags();
7861 wxPyEndAllowThreads(__tstate
);
7862 if (PyErr_Occurred()) SWIG_fail
;
7864 resultobj
= SWIG_FromLong((long)result
);
7871 static PyObject
*_wrap_TextAttr_IsDefault(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7872 PyObject
*resultobj
;
7873 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7875 PyObject
* obj0
= 0 ;
7877 (char *) "self", NULL
7880 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_IsDefault",kwnames
,&obj0
)) goto fail
;
7881 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7882 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7885 result
= (bool)((wxTextAttr
const *)arg1
)->IsDefault();
7887 wxPyEndAllowThreads(__tstate
);
7888 if (PyErr_Occurred()) SWIG_fail
;
7891 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7899 static PyObject
*_wrap_TextAttr_Combine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7900 PyObject
*resultobj
;
7901 wxTextAttr
*arg1
= 0 ;
7902 wxTextAttr
*arg2
= 0 ;
7903 wxTextCtrl
*arg3
= (wxTextCtrl
*) 0 ;
7905 PyObject
* obj0
= 0 ;
7906 PyObject
* obj1
= 0 ;
7907 PyObject
* obj2
= 0 ;
7909 (char *) "attr",(char *) "attrDef",(char *) "text", NULL
7912 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextAttr_Combine",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7913 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7914 SWIG_POINTER_EXCEPTION
| 0)) == -1)
7917 PyErr_SetString(PyExc_TypeError
,"null reference");
7920 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTextAttr
,
7921 SWIG_POINTER_EXCEPTION
| 0)) == -1)
7924 PyErr_SetString(PyExc_TypeError
,"null reference");
7927 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxTextCtrl
,
7928 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7931 result
= wxTextAttr::Combine((wxTextAttr
const &)*arg1
,(wxTextAttr
const &)*arg2
,(wxTextCtrl
const *)arg3
);
7933 wxPyEndAllowThreads(__tstate
);
7934 if (PyErr_Occurred()) SWIG_fail
;
7937 wxTextAttr
* resultptr
;
7938 resultptr
= new wxTextAttr((wxTextAttr
&) result
);
7939 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTextAttr
, 1);
7947 static PyObject
* TextAttr_swigregister(PyObject
*self
, PyObject
*args
) {
7949 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7950 SWIG_TypeClientData(SWIGTYPE_p_wxTextAttr
, obj
);
7952 return Py_BuildValue((char *)"");
7954 static PyObject
*_wrap_new_TextCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7955 PyObject
*resultobj
;
7956 wxWindow
*arg1
= (wxWindow
*) 0 ;
7957 int arg2
= (int) -1 ;
7958 wxString
const &arg3_defvalue
= wxPyEmptyString
;
7959 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
7960 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
7961 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
7962 wxSize
const &arg5_defvalue
= wxDefaultSize
;
7963 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
7964 long arg6
= (long) 0 ;
7965 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
7966 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
7967 wxString
const &arg8_defvalue
= wxPyTextCtrlNameStr
;
7968 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
7970 bool temp3
= False
;
7973 bool temp8
= False
;
7974 PyObject
* obj0
= 0 ;
7975 PyObject
* obj1
= 0 ;
7976 PyObject
* obj2
= 0 ;
7977 PyObject
* obj3
= 0 ;
7978 PyObject
* obj4
= 0 ;
7979 PyObject
* obj5
= 0 ;
7980 PyObject
* obj6
= 0 ;
7981 PyObject
* obj7
= 0 ;
7983 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
7986 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_TextCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
7987 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
7988 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7990 arg2
= (int) SWIG_AsInt(obj1
);
7991 if (PyErr_Occurred()) SWIG_fail
;
7995 arg3
= wxString_in_helper(obj2
);
7996 if (arg3
== NULL
) SWIG_fail
;
8003 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
8009 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
8013 arg6
= (long) SWIG_AsLong(obj5
);
8014 if (PyErr_Occurred()) SWIG_fail
;
8017 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
8018 SWIG_POINTER_EXCEPTION
| 0)) == -1)
8021 PyErr_SetString(PyExc_TypeError
,"null reference");
8027 arg8
= wxString_in_helper(obj7
);
8028 if (arg8
== NULL
) SWIG_fail
;
8033 if (!wxPyCheckForApp()) SWIG_fail
;
8034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8035 result
= (wxTextCtrl
*)new wxTextCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
8037 wxPyEndAllowThreads(__tstate
);
8038 if (PyErr_Occurred()) SWIG_fail
;
8040 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextCtrl
, 1);
8063 static PyObject
*_wrap_new_PreTextCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8064 PyObject
*resultobj
;
8070 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreTextCtrl",kwnames
)) goto fail
;
8072 if (!wxPyCheckForApp()) SWIG_fail
;
8073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8074 result
= (wxTextCtrl
*)new wxTextCtrl();
8076 wxPyEndAllowThreads(__tstate
);
8077 if (PyErr_Occurred()) SWIG_fail
;
8079 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextCtrl
, 1);
8086 static PyObject
*_wrap_TextCtrl_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8087 PyObject
*resultobj
;
8088 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8089 wxWindow
*arg2
= (wxWindow
*) 0 ;
8090 int arg3
= (int) -1 ;
8091 wxString
const &arg4_defvalue
= wxPyEmptyString
;
8092 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
8093 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
8094 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
8095 wxSize
const &arg6_defvalue
= wxDefaultSize
;
8096 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
8097 long arg7
= (long) 0 ;
8098 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
8099 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
8100 wxString
const &arg9_defvalue
= wxPyTextCtrlNameStr
;
8101 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
8103 bool temp4
= False
;
8106 bool temp9
= False
;
8107 PyObject
* obj0
= 0 ;
8108 PyObject
* obj1
= 0 ;
8109 PyObject
* obj2
= 0 ;
8110 PyObject
* obj3
= 0 ;
8111 PyObject
* obj4
= 0 ;
8112 PyObject
* obj5
= 0 ;
8113 PyObject
* obj6
= 0 ;
8114 PyObject
* obj7
= 0 ;
8115 PyObject
* obj8
= 0 ;
8117 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
8120 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:TextCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
8121 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8122 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8123 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
8124 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8126 arg3
= (int) SWIG_AsInt(obj2
);
8127 if (PyErr_Occurred()) SWIG_fail
;
8131 arg4
= wxString_in_helper(obj3
);
8132 if (arg4
== NULL
) SWIG_fail
;
8139 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
8145 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
8149 arg7
= (long) SWIG_AsLong(obj6
);
8150 if (PyErr_Occurred()) SWIG_fail
;
8153 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
8154 SWIG_POINTER_EXCEPTION
| 0)) == -1)
8157 PyErr_SetString(PyExc_TypeError
,"null reference");
8163 arg9
= wxString_in_helper(obj8
);
8164 if (arg9
== NULL
) SWIG_fail
;
8169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8170 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
8172 wxPyEndAllowThreads(__tstate
);
8173 if (PyErr_Occurred()) SWIG_fail
;
8176 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8200 static PyObject
*_wrap_TextCtrl_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8201 PyObject
*resultobj
;
8202 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8204 PyObject
* obj0
= 0 ;
8206 (char *) "self", NULL
8209 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetValue",kwnames
,&obj0
)) goto fail
;
8210 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8211 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8214 result
= ((wxTextCtrl
const *)arg1
)->GetValue();
8216 wxPyEndAllowThreads(__tstate
);
8217 if (PyErr_Occurred()) SWIG_fail
;
8221 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8223 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8232 static PyObject
*_wrap_TextCtrl_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8233 PyObject
*resultobj
;
8234 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8235 wxString
*arg2
= 0 ;
8236 bool temp2
= False
;
8237 PyObject
* obj0
= 0 ;
8238 PyObject
* obj1
= 0 ;
8240 (char *) "self",(char *) "value", NULL
8243 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
8244 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8245 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8247 arg2
= wxString_in_helper(obj1
);
8248 if (arg2
== NULL
) SWIG_fail
;
8252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8253 (arg1
)->SetValue((wxString
const &)*arg2
);
8255 wxPyEndAllowThreads(__tstate
);
8256 if (PyErr_Occurred()) SWIG_fail
;
8258 Py_INCREF(Py_None
); resultobj
= Py_None
;
8273 static PyObject
*_wrap_TextCtrl_GetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8274 PyObject
*resultobj
;
8275 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8279 PyObject
* obj0
= 0 ;
8280 PyObject
* obj1
= 0 ;
8281 PyObject
* obj2
= 0 ;
8283 (char *) "self",(char *) "from",(char *) "to", NULL
8286 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_GetRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8287 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8288 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8289 arg2
= (long) SWIG_AsLong(obj1
);
8290 if (PyErr_Occurred()) SWIG_fail
;
8291 arg3
= (long) SWIG_AsLong(obj2
);
8292 if (PyErr_Occurred()) SWIG_fail
;
8294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8295 result
= ((wxTextCtrl
const *)arg1
)->GetRange(arg2
,arg3
);
8297 wxPyEndAllowThreads(__tstate
);
8298 if (PyErr_Occurred()) SWIG_fail
;
8302 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8304 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8313 static PyObject
*_wrap_TextCtrl_GetLineLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8314 PyObject
*resultobj
;
8315 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8318 PyObject
* obj0
= 0 ;
8319 PyObject
* obj1
= 0 ;
8321 (char *) "self",(char *) "lineNo", NULL
8324 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_GetLineLength",kwnames
,&obj0
,&obj1
)) goto fail
;
8325 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8326 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8327 arg2
= (long) SWIG_AsLong(obj1
);
8328 if (PyErr_Occurred()) SWIG_fail
;
8330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8331 result
= (int)((wxTextCtrl
const *)arg1
)->GetLineLength(arg2
);
8333 wxPyEndAllowThreads(__tstate
);
8334 if (PyErr_Occurred()) SWIG_fail
;
8336 resultobj
= SWIG_FromInt((int)result
);
8343 static PyObject
*_wrap_TextCtrl_GetLineText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8344 PyObject
*resultobj
;
8345 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8348 PyObject
* obj0
= 0 ;
8349 PyObject
* obj1
= 0 ;
8351 (char *) "self",(char *) "lineNo", NULL
8354 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_GetLineText",kwnames
,&obj0
,&obj1
)) goto fail
;
8355 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8356 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8357 arg2
= (long) SWIG_AsLong(obj1
);
8358 if (PyErr_Occurred()) SWIG_fail
;
8360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8361 result
= ((wxTextCtrl
const *)arg1
)->GetLineText(arg2
);
8363 wxPyEndAllowThreads(__tstate
);
8364 if (PyErr_Occurred()) SWIG_fail
;
8368 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8370 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8379 static PyObject
*_wrap_TextCtrl_GetNumberOfLines(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8380 PyObject
*resultobj
;
8381 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8383 PyObject
* obj0
= 0 ;
8385 (char *) "self", NULL
8388 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetNumberOfLines",kwnames
,&obj0
)) goto fail
;
8389 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8390 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8393 result
= (int)((wxTextCtrl
const *)arg1
)->GetNumberOfLines();
8395 wxPyEndAllowThreads(__tstate
);
8396 if (PyErr_Occurred()) SWIG_fail
;
8398 resultobj
= SWIG_FromInt((int)result
);
8405 static PyObject
*_wrap_TextCtrl_IsModified(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8406 PyObject
*resultobj
;
8407 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8409 PyObject
* obj0
= 0 ;
8411 (char *) "self", NULL
8414 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_IsModified",kwnames
,&obj0
)) goto fail
;
8415 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8416 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8419 result
= (bool)((wxTextCtrl
const *)arg1
)->IsModified();
8421 wxPyEndAllowThreads(__tstate
);
8422 if (PyErr_Occurred()) SWIG_fail
;
8425 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8433 static PyObject
*_wrap_TextCtrl_IsEditable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8434 PyObject
*resultobj
;
8435 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8437 PyObject
* obj0
= 0 ;
8439 (char *) "self", NULL
8442 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_IsEditable",kwnames
,&obj0
)) goto fail
;
8443 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8444 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8447 result
= (bool)((wxTextCtrl
const *)arg1
)->IsEditable();
8449 wxPyEndAllowThreads(__tstate
);
8450 if (PyErr_Occurred()) SWIG_fail
;
8453 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8461 static PyObject
*_wrap_TextCtrl_IsSingleLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8462 PyObject
*resultobj
;
8463 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8465 PyObject
* obj0
= 0 ;
8467 (char *) "self", NULL
8470 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_IsSingleLine",kwnames
,&obj0
)) goto fail
;
8471 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8472 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8475 result
= (bool)((wxTextCtrl
const *)arg1
)->IsSingleLine();
8477 wxPyEndAllowThreads(__tstate
);
8478 if (PyErr_Occurred()) SWIG_fail
;
8481 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8489 static PyObject
*_wrap_TextCtrl_IsMultiLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8490 PyObject
*resultobj
;
8491 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8493 PyObject
* obj0
= 0 ;
8495 (char *) "self", NULL
8498 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_IsMultiLine",kwnames
,&obj0
)) goto fail
;
8499 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8500 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8503 result
= (bool)((wxTextCtrl
const *)arg1
)->IsMultiLine();
8505 wxPyEndAllowThreads(__tstate
);
8506 if (PyErr_Occurred()) SWIG_fail
;
8509 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8517 static PyObject
*_wrap_TextCtrl_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8518 PyObject
*resultobj
;
8519 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8520 long *arg2
= (long *) 0 ;
8521 long *arg3
= (long *) 0 ;
8524 PyObject
* obj0
= 0 ;
8526 (char *) "self", NULL
8531 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetSelection",kwnames
,&obj0
)) goto fail
;
8532 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8533 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8536 ((wxTextCtrl
const *)arg1
)->GetSelection(arg2
,arg3
);
8538 wxPyEndAllowThreads(__tstate
);
8539 if (PyErr_Occurred()) SWIG_fail
;
8541 Py_INCREF(Py_None
); resultobj
= Py_None
;
8543 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
8544 resultobj
= t_output_helper(resultobj
,o
);
8547 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
8548 resultobj
= t_output_helper(resultobj
,o
);
8556 static PyObject
*_wrap_TextCtrl_GetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8557 PyObject
*resultobj
;
8558 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8560 PyObject
* obj0
= 0 ;
8562 (char *) "self", NULL
8565 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetStringSelection",kwnames
,&obj0
)) goto fail
;
8566 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8567 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8570 result
= ((wxTextCtrl
const *)arg1
)->GetStringSelection();
8572 wxPyEndAllowThreads(__tstate
);
8573 if (PyErr_Occurred()) SWIG_fail
;
8577 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8579 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8588 static PyObject
*_wrap_TextCtrl_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8589 PyObject
*resultobj
;
8590 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8591 PyObject
* obj0
= 0 ;
8593 (char *) "self", NULL
8596 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Clear",kwnames
,&obj0
)) goto fail
;
8597 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8598 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8603 wxPyEndAllowThreads(__tstate
);
8604 if (PyErr_Occurred()) SWIG_fail
;
8606 Py_INCREF(Py_None
); resultobj
= Py_None
;
8613 static PyObject
*_wrap_TextCtrl_Replace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8614 PyObject
*resultobj
;
8615 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8618 wxString
*arg4
= 0 ;
8619 bool temp4
= False
;
8620 PyObject
* obj0
= 0 ;
8621 PyObject
* obj1
= 0 ;
8622 PyObject
* obj2
= 0 ;
8623 PyObject
* obj3
= 0 ;
8625 (char *) "self",(char *) "from",(char *) "to",(char *) "value", NULL
8628 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextCtrl_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
8629 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8630 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8631 arg2
= (long) SWIG_AsLong(obj1
);
8632 if (PyErr_Occurred()) SWIG_fail
;
8633 arg3
= (long) SWIG_AsLong(obj2
);
8634 if (PyErr_Occurred()) SWIG_fail
;
8636 arg4
= wxString_in_helper(obj3
);
8637 if (arg4
== NULL
) SWIG_fail
;
8641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8642 (arg1
)->Replace(arg2
,arg3
,(wxString
const &)*arg4
);
8644 wxPyEndAllowThreads(__tstate
);
8645 if (PyErr_Occurred()) SWIG_fail
;
8647 Py_INCREF(Py_None
); resultobj
= Py_None
;
8662 static PyObject
*_wrap_TextCtrl_Remove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8663 PyObject
*resultobj
;
8664 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8667 PyObject
* obj0
= 0 ;
8668 PyObject
* obj1
= 0 ;
8669 PyObject
* obj2
= 0 ;
8671 (char *) "self",(char *) "from",(char *) "to", NULL
8674 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_Remove",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8675 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8676 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8677 arg2
= (long) SWIG_AsLong(obj1
);
8678 if (PyErr_Occurred()) SWIG_fail
;
8679 arg3
= (long) SWIG_AsLong(obj2
);
8680 if (PyErr_Occurred()) SWIG_fail
;
8682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8683 (arg1
)->Remove(arg2
,arg3
);
8685 wxPyEndAllowThreads(__tstate
);
8686 if (PyErr_Occurred()) SWIG_fail
;
8688 Py_INCREF(Py_None
); resultobj
= Py_None
;
8695 static PyObject
*_wrap_TextCtrl_LoadFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8696 PyObject
*resultobj
;
8697 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8698 wxString
*arg2
= 0 ;
8700 bool temp2
= False
;
8701 PyObject
* obj0
= 0 ;
8702 PyObject
* obj1
= 0 ;
8704 (char *) "self",(char *) "file", NULL
8707 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_LoadFile",kwnames
,&obj0
,&obj1
)) goto fail
;
8708 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8709 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8711 arg2
= wxString_in_helper(obj1
);
8712 if (arg2
== NULL
) SWIG_fail
;
8716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8717 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
);
8719 wxPyEndAllowThreads(__tstate
);
8720 if (PyErr_Occurred()) SWIG_fail
;
8723 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8739 static PyObject
*_wrap_TextCtrl_SaveFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8740 PyObject
*resultobj
;
8741 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8742 wxString
const &arg2_defvalue
= wxPyEmptyString
;
8743 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
8745 bool temp2
= False
;
8746 PyObject
* obj0
= 0 ;
8747 PyObject
* obj1
= 0 ;
8749 (char *) "self",(char *) "file", NULL
8752 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TextCtrl_SaveFile",kwnames
,&obj0
,&obj1
)) goto fail
;
8753 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8754 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8757 arg2
= wxString_in_helper(obj1
);
8758 if (arg2
== NULL
) SWIG_fail
;
8763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8764 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
);
8766 wxPyEndAllowThreads(__tstate
);
8767 if (PyErr_Occurred()) SWIG_fail
;
8770 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8786 static PyObject
*_wrap_TextCtrl_MarkDirty(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8787 PyObject
*resultobj
;
8788 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8789 PyObject
* obj0
= 0 ;
8791 (char *) "self", NULL
8794 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_MarkDirty",kwnames
,&obj0
)) goto fail
;
8795 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8796 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8799 (arg1
)->MarkDirty();
8801 wxPyEndAllowThreads(__tstate
);
8802 if (PyErr_Occurred()) SWIG_fail
;
8804 Py_INCREF(Py_None
); resultobj
= Py_None
;
8811 static PyObject
*_wrap_TextCtrl_DiscardEdits(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8812 PyObject
*resultobj
;
8813 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8814 PyObject
* obj0
= 0 ;
8816 (char *) "self", NULL
8819 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_DiscardEdits",kwnames
,&obj0
)) goto fail
;
8820 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8821 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8824 (arg1
)->DiscardEdits();
8826 wxPyEndAllowThreads(__tstate
);
8827 if (PyErr_Occurred()) SWIG_fail
;
8829 Py_INCREF(Py_None
); resultobj
= Py_None
;
8836 static PyObject
*_wrap_TextCtrl_SetMaxLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8837 PyObject
*resultobj
;
8838 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8839 unsigned long arg2
;
8840 PyObject
* obj0
= 0 ;
8841 PyObject
* obj1
= 0 ;
8843 (char *) "self",(char *) "len", NULL
8846 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetMaxLength",kwnames
,&obj0
,&obj1
)) goto fail
;
8847 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8848 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8849 arg2
= (unsigned long) SWIG_AsUnsignedLong(obj1
);
8850 if (PyErr_Occurred()) SWIG_fail
;
8852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8853 (arg1
)->SetMaxLength(arg2
);
8855 wxPyEndAllowThreads(__tstate
);
8856 if (PyErr_Occurred()) SWIG_fail
;
8858 Py_INCREF(Py_None
); resultobj
= Py_None
;
8865 static PyObject
*_wrap_TextCtrl_WriteText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8866 PyObject
*resultobj
;
8867 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8868 wxString
*arg2
= 0 ;
8869 bool temp2
= False
;
8870 PyObject
* obj0
= 0 ;
8871 PyObject
* obj1
= 0 ;
8873 (char *) "self",(char *) "text", NULL
8876 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_WriteText",kwnames
,&obj0
,&obj1
)) goto fail
;
8877 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8878 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8880 arg2
= wxString_in_helper(obj1
);
8881 if (arg2
== NULL
) SWIG_fail
;
8885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8886 (arg1
)->WriteText((wxString
const &)*arg2
);
8888 wxPyEndAllowThreads(__tstate
);
8889 if (PyErr_Occurred()) SWIG_fail
;
8891 Py_INCREF(Py_None
); resultobj
= Py_None
;
8906 static PyObject
*_wrap_TextCtrl_AppendText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8907 PyObject
*resultobj
;
8908 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8909 wxString
*arg2
= 0 ;
8910 bool temp2
= False
;
8911 PyObject
* obj0
= 0 ;
8912 PyObject
* obj1
= 0 ;
8914 (char *) "self",(char *) "text", NULL
8917 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_AppendText",kwnames
,&obj0
,&obj1
)) goto fail
;
8918 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8919 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8921 arg2
= wxString_in_helper(obj1
);
8922 if (arg2
== NULL
) SWIG_fail
;
8926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8927 (arg1
)->AppendText((wxString
const &)*arg2
);
8929 wxPyEndAllowThreads(__tstate
);
8930 if (PyErr_Occurred()) SWIG_fail
;
8932 Py_INCREF(Py_None
); resultobj
= Py_None
;
8947 static PyObject
*_wrap_TextCtrl_EmulateKeyPress(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8948 PyObject
*resultobj
;
8949 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8950 wxKeyEvent
*arg2
= 0 ;
8952 PyObject
* obj0
= 0 ;
8953 PyObject
* obj1
= 0 ;
8955 (char *) "self",(char *) "event", NULL
8958 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_EmulateKeyPress",kwnames
,&obj0
,&obj1
)) goto fail
;
8959 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8960 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8961 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxKeyEvent
,
8962 SWIG_POINTER_EXCEPTION
| 0)) == -1)
8965 PyErr_SetString(PyExc_TypeError
,"null reference");
8969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8970 result
= (bool)(arg1
)->EmulateKeyPress((wxKeyEvent
const &)*arg2
);
8972 wxPyEndAllowThreads(__tstate
);
8973 if (PyErr_Occurred()) SWIG_fail
;
8976 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8984 static PyObject
*_wrap_TextCtrl_SetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8985 PyObject
*resultobj
;
8986 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8989 wxTextAttr
*arg4
= 0 ;
8991 PyObject
* obj0
= 0 ;
8992 PyObject
* obj1
= 0 ;
8993 PyObject
* obj2
= 0 ;
8994 PyObject
* obj3
= 0 ;
8996 (char *) "self",(char *) "start",(char *) "end",(char *) "style", NULL
8999 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextCtrl_SetStyle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9000 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9001 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9002 arg2
= (long) SWIG_AsLong(obj1
);
9003 if (PyErr_Occurred()) SWIG_fail
;
9004 arg3
= (long) SWIG_AsLong(obj2
);
9005 if (PyErr_Occurred()) SWIG_fail
;
9006 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxTextAttr
,
9007 SWIG_POINTER_EXCEPTION
| 0)) == -1)
9010 PyErr_SetString(PyExc_TypeError
,"null reference");
9014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9015 result
= (bool)(arg1
)->SetStyle(arg2
,arg3
,(wxTextAttr
const &)*arg4
);
9017 wxPyEndAllowThreads(__tstate
);
9018 if (PyErr_Occurred()) SWIG_fail
;
9021 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9029 static PyObject
*_wrap_TextCtrl_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9030 PyObject
*resultobj
;
9031 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9033 wxTextAttr
*arg3
= 0 ;
9035 PyObject
* obj0
= 0 ;
9036 PyObject
* obj1
= 0 ;
9037 PyObject
* obj2
= 0 ;
9039 (char *) "self",(char *) "position",(char *) "style", NULL
9042 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_GetStyle",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9043 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9044 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9045 arg2
= (long) SWIG_AsLong(obj1
);
9046 if (PyErr_Occurred()) SWIG_fail
;
9047 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxTextAttr
,
9048 SWIG_POINTER_EXCEPTION
| 0)) == -1)
9051 PyErr_SetString(PyExc_TypeError
,"null reference");
9055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9056 result
= (bool)(arg1
)->GetStyle(arg2
,*arg3
);
9058 wxPyEndAllowThreads(__tstate
);
9059 if (PyErr_Occurred()) SWIG_fail
;
9062 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9070 static PyObject
*_wrap_TextCtrl_SetDefaultStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9071 PyObject
*resultobj
;
9072 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9073 wxTextAttr
*arg2
= 0 ;
9075 PyObject
* obj0
= 0 ;
9076 PyObject
* obj1
= 0 ;
9078 (char *) "self",(char *) "style", NULL
9081 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetDefaultStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
9082 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9083 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9084 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTextAttr
,
9085 SWIG_POINTER_EXCEPTION
| 0)) == -1)
9088 PyErr_SetString(PyExc_TypeError
,"null reference");
9092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9093 result
= (bool)(arg1
)->SetDefaultStyle((wxTextAttr
const &)*arg2
);
9095 wxPyEndAllowThreads(__tstate
);
9096 if (PyErr_Occurred()) SWIG_fail
;
9099 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9107 static PyObject
*_wrap_TextCtrl_GetDefaultStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9108 PyObject
*resultobj
;
9109 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9111 PyObject
* obj0
= 0 ;
9113 (char *) "self", NULL
9116 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetDefaultStyle",kwnames
,&obj0
)) goto fail
;
9117 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9118 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9122 wxTextAttr
const &_result_ref
= ((wxTextCtrl
const *)arg1
)->GetDefaultStyle();
9123 result
= (wxTextAttr
*) &_result_ref
;
9126 wxPyEndAllowThreads(__tstate
);
9127 if (PyErr_Occurred()) SWIG_fail
;
9129 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextAttr
, 0);
9136 static PyObject
*_wrap_TextCtrl_XYToPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9137 PyObject
*resultobj
;
9138 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9142 PyObject
* obj0
= 0 ;
9143 PyObject
* obj1
= 0 ;
9144 PyObject
* obj2
= 0 ;
9146 (char *) "self",(char *) "x",(char *) "y", NULL
9149 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_XYToPosition",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9150 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9151 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9152 arg2
= (long) SWIG_AsLong(obj1
);
9153 if (PyErr_Occurred()) SWIG_fail
;
9154 arg3
= (long) SWIG_AsLong(obj2
);
9155 if (PyErr_Occurred()) SWIG_fail
;
9157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9158 result
= (long)((wxTextCtrl
const *)arg1
)->XYToPosition(arg2
,arg3
);
9160 wxPyEndAllowThreads(__tstate
);
9161 if (PyErr_Occurred()) SWIG_fail
;
9163 resultobj
= SWIG_FromLong((long)result
);
9170 static PyObject
*_wrap_TextCtrl_PositionToXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9171 PyObject
*resultobj
;
9172 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9174 long *arg3
= (long *) 0 ;
9175 long *arg4
= (long *) 0 ;
9178 PyObject
* obj0
= 0 ;
9179 PyObject
* obj1
= 0 ;
9181 (char *) "self",(char *) "pos", NULL
9186 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_PositionToXY",kwnames
,&obj0
,&obj1
)) goto fail
;
9187 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9188 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9189 arg2
= (long) SWIG_AsLong(obj1
);
9190 if (PyErr_Occurred()) SWIG_fail
;
9192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9193 ((wxTextCtrl
const *)arg1
)->PositionToXY(arg2
,arg3
,arg4
);
9195 wxPyEndAllowThreads(__tstate
);
9196 if (PyErr_Occurred()) SWIG_fail
;
9198 Py_INCREF(Py_None
); resultobj
= Py_None
;
9200 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
9201 resultobj
= t_output_helper(resultobj
,o
);
9204 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
9205 resultobj
= t_output_helper(resultobj
,o
);
9213 static PyObject
*_wrap_TextCtrl_ShowPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9214 PyObject
*resultobj
;
9215 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9217 PyObject
* obj0
= 0 ;
9218 PyObject
* obj1
= 0 ;
9220 (char *) "self",(char *) "pos", NULL
9223 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_ShowPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
9224 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9225 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9226 arg2
= (long) SWIG_AsLong(obj1
);
9227 if (PyErr_Occurred()) SWIG_fail
;
9229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9230 (arg1
)->ShowPosition(arg2
);
9232 wxPyEndAllowThreads(__tstate
);
9233 if (PyErr_Occurred()) SWIG_fail
;
9235 Py_INCREF(Py_None
); resultobj
= Py_None
;
9242 static PyObject
*_wrap_TextCtrl_HitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9243 PyObject
*resultobj
;
9244 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9246 long *arg3
= (long *) 0 ;
9247 long *arg4
= (long *) 0 ;
9252 PyObject
* obj0
= 0 ;
9253 PyObject
* obj1
= 0 ;
9255 (char *) "self",(char *) "pt", NULL
9260 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
9261 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9262 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9265 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
9268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9269 result
= (int)((wxTextCtrl
const *)arg1
)->HitTest((wxPoint
const &)*arg2
,arg3
,arg4
);
9271 wxPyEndAllowThreads(__tstate
);
9272 if (PyErr_Occurred()) SWIG_fail
;
9274 resultobj
= SWIG_FromInt((int)result
);
9276 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
9277 resultobj
= t_output_helper(resultobj
,o
);
9280 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
9281 resultobj
= t_output_helper(resultobj
,o
);
9289 static PyObject
*_wrap_TextCtrl_Copy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9290 PyObject
*resultobj
;
9291 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9292 PyObject
* obj0
= 0 ;
9294 (char *) "self", NULL
9297 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Copy",kwnames
,&obj0
)) goto fail
;
9298 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9299 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9304 wxPyEndAllowThreads(__tstate
);
9305 if (PyErr_Occurred()) SWIG_fail
;
9307 Py_INCREF(Py_None
); resultobj
= Py_None
;
9314 static PyObject
*_wrap_TextCtrl_Cut(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9315 PyObject
*resultobj
;
9316 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9317 PyObject
* obj0
= 0 ;
9319 (char *) "self", NULL
9322 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Cut",kwnames
,&obj0
)) goto fail
;
9323 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9324 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9329 wxPyEndAllowThreads(__tstate
);
9330 if (PyErr_Occurred()) SWIG_fail
;
9332 Py_INCREF(Py_None
); resultobj
= Py_None
;
9339 static PyObject
*_wrap_TextCtrl_Paste(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9340 PyObject
*resultobj
;
9341 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9342 PyObject
* obj0
= 0 ;
9344 (char *) "self", NULL
9347 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Paste",kwnames
,&obj0
)) goto fail
;
9348 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9349 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9354 wxPyEndAllowThreads(__tstate
);
9355 if (PyErr_Occurred()) SWIG_fail
;
9357 Py_INCREF(Py_None
); resultobj
= Py_None
;
9364 static PyObject
*_wrap_TextCtrl_CanCopy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9365 PyObject
*resultobj
;
9366 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9368 PyObject
* obj0
= 0 ;
9370 (char *) "self", NULL
9373 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanCopy",kwnames
,&obj0
)) goto fail
;
9374 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9375 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9378 result
= (bool)((wxTextCtrl
const *)arg1
)->CanCopy();
9380 wxPyEndAllowThreads(__tstate
);
9381 if (PyErr_Occurred()) SWIG_fail
;
9384 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9392 static PyObject
*_wrap_TextCtrl_CanCut(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9393 PyObject
*resultobj
;
9394 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9396 PyObject
* obj0
= 0 ;
9398 (char *) "self", NULL
9401 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanCut",kwnames
,&obj0
)) goto fail
;
9402 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9403 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9406 result
= (bool)((wxTextCtrl
const *)arg1
)->CanCut();
9408 wxPyEndAllowThreads(__tstate
);
9409 if (PyErr_Occurred()) SWIG_fail
;
9412 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9420 static PyObject
*_wrap_TextCtrl_CanPaste(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9421 PyObject
*resultobj
;
9422 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9424 PyObject
* obj0
= 0 ;
9426 (char *) "self", NULL
9429 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanPaste",kwnames
,&obj0
)) goto fail
;
9430 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9431 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9434 result
= (bool)((wxTextCtrl
const *)arg1
)->CanPaste();
9436 wxPyEndAllowThreads(__tstate
);
9437 if (PyErr_Occurred()) SWIG_fail
;
9440 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9448 static PyObject
*_wrap_TextCtrl_Undo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9449 PyObject
*resultobj
;
9450 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9451 PyObject
* obj0
= 0 ;
9453 (char *) "self", NULL
9456 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Undo",kwnames
,&obj0
)) goto fail
;
9457 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9458 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9463 wxPyEndAllowThreads(__tstate
);
9464 if (PyErr_Occurred()) SWIG_fail
;
9466 Py_INCREF(Py_None
); resultobj
= Py_None
;
9473 static PyObject
*_wrap_TextCtrl_Redo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9474 PyObject
*resultobj
;
9475 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9476 PyObject
* obj0
= 0 ;
9478 (char *) "self", NULL
9481 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Redo",kwnames
,&obj0
)) goto fail
;
9482 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9483 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9488 wxPyEndAllowThreads(__tstate
);
9489 if (PyErr_Occurred()) SWIG_fail
;
9491 Py_INCREF(Py_None
); resultobj
= Py_None
;
9498 static PyObject
*_wrap_TextCtrl_CanUndo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9499 PyObject
*resultobj
;
9500 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9502 PyObject
* obj0
= 0 ;
9504 (char *) "self", NULL
9507 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanUndo",kwnames
,&obj0
)) goto fail
;
9508 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9509 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9512 result
= (bool)((wxTextCtrl
const *)arg1
)->CanUndo();
9514 wxPyEndAllowThreads(__tstate
);
9515 if (PyErr_Occurred()) SWIG_fail
;
9518 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9526 static PyObject
*_wrap_TextCtrl_CanRedo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9527 PyObject
*resultobj
;
9528 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9530 PyObject
* obj0
= 0 ;
9532 (char *) "self", NULL
9535 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanRedo",kwnames
,&obj0
)) goto fail
;
9536 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9537 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9540 result
= (bool)((wxTextCtrl
const *)arg1
)->CanRedo();
9542 wxPyEndAllowThreads(__tstate
);
9543 if (PyErr_Occurred()) SWIG_fail
;
9546 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9554 static PyObject
*_wrap_TextCtrl_SetInsertionPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9555 PyObject
*resultobj
;
9556 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9558 PyObject
* obj0
= 0 ;
9559 PyObject
* obj1
= 0 ;
9561 (char *) "self",(char *) "pos", NULL
9564 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetInsertionPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
9565 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9566 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9567 arg2
= (long) SWIG_AsLong(obj1
);
9568 if (PyErr_Occurred()) SWIG_fail
;
9570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9571 (arg1
)->SetInsertionPoint(arg2
);
9573 wxPyEndAllowThreads(__tstate
);
9574 if (PyErr_Occurred()) SWIG_fail
;
9576 Py_INCREF(Py_None
); resultobj
= Py_None
;
9583 static PyObject
*_wrap_TextCtrl_SetInsertionPointEnd(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9584 PyObject
*resultobj
;
9585 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9586 PyObject
* obj0
= 0 ;
9588 (char *) "self", NULL
9591 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_SetInsertionPointEnd",kwnames
,&obj0
)) goto fail
;
9592 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9593 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9596 (arg1
)->SetInsertionPointEnd();
9598 wxPyEndAllowThreads(__tstate
);
9599 if (PyErr_Occurred()) SWIG_fail
;
9601 Py_INCREF(Py_None
); resultobj
= Py_None
;
9608 static PyObject
*_wrap_TextCtrl_GetInsertionPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9609 PyObject
*resultobj
;
9610 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9612 PyObject
* obj0
= 0 ;
9614 (char *) "self", NULL
9617 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetInsertionPoint",kwnames
,&obj0
)) goto fail
;
9618 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9619 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9622 result
= (long)((wxTextCtrl
const *)arg1
)->GetInsertionPoint();
9624 wxPyEndAllowThreads(__tstate
);
9625 if (PyErr_Occurred()) SWIG_fail
;
9627 resultobj
= SWIG_FromLong((long)result
);
9634 static PyObject
*_wrap_TextCtrl_GetLastPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9635 PyObject
*resultobj
;
9636 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9638 PyObject
* obj0
= 0 ;
9640 (char *) "self", NULL
9643 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetLastPosition",kwnames
,&obj0
)) goto fail
;
9644 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9645 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9648 result
= (long)((wxTextCtrl
const *)arg1
)->GetLastPosition();
9650 wxPyEndAllowThreads(__tstate
);
9651 if (PyErr_Occurred()) SWIG_fail
;
9653 resultobj
= SWIG_FromLong((long)result
);
9660 static PyObject
*_wrap_TextCtrl_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9661 PyObject
*resultobj
;
9662 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9665 PyObject
* obj0
= 0 ;
9666 PyObject
* obj1
= 0 ;
9667 PyObject
* obj2
= 0 ;
9669 (char *) "self",(char *) "from",(char *) "to", NULL
9672 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9673 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9674 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9675 arg2
= (long) SWIG_AsLong(obj1
);
9676 if (PyErr_Occurred()) SWIG_fail
;
9677 arg3
= (long) SWIG_AsLong(obj2
);
9678 if (PyErr_Occurred()) SWIG_fail
;
9680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9681 (arg1
)->SetSelection(arg2
,arg3
);
9683 wxPyEndAllowThreads(__tstate
);
9684 if (PyErr_Occurred()) SWIG_fail
;
9686 Py_INCREF(Py_None
); resultobj
= Py_None
;
9693 static PyObject
*_wrap_TextCtrl_SelectAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9694 PyObject
*resultobj
;
9695 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9696 PyObject
* obj0
= 0 ;
9698 (char *) "self", NULL
9701 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_SelectAll",kwnames
,&obj0
)) goto fail
;
9702 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9703 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9706 (arg1
)->SelectAll();
9708 wxPyEndAllowThreads(__tstate
);
9709 if (PyErr_Occurred()) SWIG_fail
;
9711 Py_INCREF(Py_None
); resultobj
= Py_None
;
9718 static PyObject
*_wrap_TextCtrl_SetEditable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9719 PyObject
*resultobj
;
9720 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9722 PyObject
* obj0
= 0 ;
9723 PyObject
* obj1
= 0 ;
9725 (char *) "self",(char *) "editable", NULL
9728 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetEditable",kwnames
,&obj0
,&obj1
)) goto fail
;
9729 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9730 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9731 arg2
= (bool) SWIG_AsBool(obj1
);
9732 if (PyErr_Occurred()) SWIG_fail
;
9734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9735 (arg1
)->SetEditable(arg2
);
9737 wxPyEndAllowThreads(__tstate
);
9738 if (PyErr_Occurred()) SWIG_fail
;
9740 Py_INCREF(Py_None
); resultobj
= Py_None
;
9747 static PyObject
*_wrap_TextCtrl_ShowNativeCaret(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9748 PyObject
*resultobj
;
9749 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9750 bool arg2
= (bool) True
;
9752 PyObject
* obj0
= 0 ;
9753 PyObject
* obj1
= 0 ;
9755 (char *) "self",(char *) "show", NULL
9758 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TextCtrl_ShowNativeCaret",kwnames
,&obj0
,&obj1
)) goto fail
;
9759 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9760 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9762 arg2
= (bool) SWIG_AsBool(obj1
);
9763 if (PyErr_Occurred()) SWIG_fail
;
9766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9767 result
= (bool)(arg1
)->ShowNativeCaret(arg2
);
9769 wxPyEndAllowThreads(__tstate
);
9770 if (PyErr_Occurred()) SWIG_fail
;
9773 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9781 static PyObject
*_wrap_TextCtrl_HideNativeCaret(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9782 PyObject
*resultobj
;
9783 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9785 PyObject
* obj0
= 0 ;
9787 (char *) "self", NULL
9790 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_HideNativeCaret",kwnames
,&obj0
)) goto fail
;
9791 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9792 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9795 result
= (bool)(arg1
)->HideNativeCaret();
9797 wxPyEndAllowThreads(__tstate
);
9798 if (PyErr_Occurred()) SWIG_fail
;
9801 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9809 static PyObject
*_wrap_TextCtrl_write(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9810 PyObject
*resultobj
;
9811 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9812 wxString
*arg2
= 0 ;
9813 bool temp2
= False
;
9814 PyObject
* obj0
= 0 ;
9815 PyObject
* obj1
= 0 ;
9817 (char *) "self",(char *) "text", NULL
9820 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_write",kwnames
,&obj0
,&obj1
)) goto fail
;
9821 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9822 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9824 arg2
= wxString_in_helper(obj1
);
9825 if (arg2
== NULL
) SWIG_fail
;
9829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9830 wxTextCtrl_write(arg1
,(wxString
const &)*arg2
);
9832 wxPyEndAllowThreads(__tstate
);
9833 if (PyErr_Occurred()) SWIG_fail
;
9835 Py_INCREF(Py_None
); resultobj
= Py_None
;
9850 static PyObject
*_wrap_TextCtrl_GetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9851 PyObject
*resultobj
;
9852 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9856 PyObject
* obj0
= 0 ;
9857 PyObject
* obj1
= 0 ;
9858 PyObject
* obj2
= 0 ;
9860 (char *) "self",(char *) "from",(char *) "to", NULL
9863 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_GetString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9864 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9865 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9866 arg2
= (long) SWIG_AsLong(obj1
);
9867 if (PyErr_Occurred()) SWIG_fail
;
9868 arg3
= (long) SWIG_AsLong(obj2
);
9869 if (PyErr_Occurred()) SWIG_fail
;
9871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9872 result
= wxTextCtrl_GetString(arg1
,arg2
,arg3
);
9874 wxPyEndAllowThreads(__tstate
);
9875 if (PyErr_Occurred()) SWIG_fail
;
9879 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9881 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9890 static PyObject
*_wrap_TextCtrl_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9891 PyObject
*resultobj
;
9892 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
9893 wxVisualAttributes result
;
9894 PyObject
* obj0
= 0 ;
9896 (char *) "variant", NULL
9899 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:TextCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
9901 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
9902 if (PyErr_Occurred()) SWIG_fail
;
9905 if (!wxPyCheckForApp()) SWIG_fail
;
9906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9907 result
= wxTextCtrl::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
9909 wxPyEndAllowThreads(__tstate
);
9910 if (PyErr_Occurred()) SWIG_fail
;
9913 wxVisualAttributes
* resultptr
;
9914 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
9915 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
9923 static PyObject
* TextCtrl_swigregister(PyObject
*self
, PyObject
*args
) {
9925 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9926 SWIG_TypeClientData(SWIGTYPE_p_wxTextCtrl
, obj
);
9928 return Py_BuildValue((char *)"");
9930 static PyObject
*_wrap_new_TextUrlEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9931 PyObject
*resultobj
;
9933 wxMouseEvent
*arg2
= 0 ;
9936 wxTextUrlEvent
*result
;
9937 PyObject
* obj0
= 0 ;
9938 PyObject
* obj1
= 0 ;
9939 PyObject
* obj2
= 0 ;
9940 PyObject
* obj3
= 0 ;
9942 (char *) "winid",(char *) "evtMouse",(char *) "start",(char *) "end", NULL
9945 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_TextUrlEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9946 arg1
= (int) SWIG_AsInt(obj0
);
9947 if (PyErr_Occurred()) SWIG_fail
;
9948 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMouseEvent
,
9949 SWIG_POINTER_EXCEPTION
| 0)) == -1)
9952 PyErr_SetString(PyExc_TypeError
,"null reference");
9955 arg3
= (long) SWIG_AsLong(obj2
);
9956 if (PyErr_Occurred()) SWIG_fail
;
9957 arg4
= (long) SWIG_AsLong(obj3
);
9958 if (PyErr_Occurred()) SWIG_fail
;
9960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9961 result
= (wxTextUrlEvent
*)new wxTextUrlEvent(arg1
,(wxMouseEvent
const &)*arg2
,arg3
,arg4
);
9963 wxPyEndAllowThreads(__tstate
);
9964 if (PyErr_Occurred()) SWIG_fail
;
9966 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextUrlEvent
, 1);
9973 static PyObject
*_wrap_TextUrlEvent_GetMouseEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9974 PyObject
*resultobj
;
9975 wxTextUrlEvent
*arg1
= (wxTextUrlEvent
*) 0 ;
9976 wxMouseEvent
*result
;
9977 PyObject
* obj0
= 0 ;
9979 (char *) "self", NULL
9982 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextUrlEvent_GetMouseEvent",kwnames
,&obj0
)) goto fail
;
9983 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextUrlEvent
,
9984 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9988 wxMouseEvent
const &_result_ref
= (arg1
)->GetMouseEvent();
9989 result
= (wxMouseEvent
*) &_result_ref
;
9992 wxPyEndAllowThreads(__tstate
);
9993 if (PyErr_Occurred()) SWIG_fail
;
9995 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMouseEvent
, 0);
10002 static PyObject
*_wrap_TextUrlEvent_GetURLStart(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10003 PyObject
*resultobj
;
10004 wxTextUrlEvent
*arg1
= (wxTextUrlEvent
*) 0 ;
10006 PyObject
* obj0
= 0 ;
10007 char *kwnames
[] = {
10008 (char *) "self", NULL
10011 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextUrlEvent_GetURLStart",kwnames
,&obj0
)) goto fail
;
10012 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextUrlEvent
,
10013 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10016 result
= (long)((wxTextUrlEvent
const *)arg1
)->GetURLStart();
10018 wxPyEndAllowThreads(__tstate
);
10019 if (PyErr_Occurred()) SWIG_fail
;
10021 resultobj
= SWIG_FromLong((long)result
);
10028 static PyObject
*_wrap_TextUrlEvent_GetURLEnd(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10029 PyObject
*resultobj
;
10030 wxTextUrlEvent
*arg1
= (wxTextUrlEvent
*) 0 ;
10032 PyObject
* obj0
= 0 ;
10033 char *kwnames
[] = {
10034 (char *) "self", NULL
10037 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextUrlEvent_GetURLEnd",kwnames
,&obj0
)) goto fail
;
10038 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextUrlEvent
,
10039 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10042 result
= (long)((wxTextUrlEvent
const *)arg1
)->GetURLEnd();
10044 wxPyEndAllowThreads(__tstate
);
10045 if (PyErr_Occurred()) SWIG_fail
;
10047 resultobj
= SWIG_FromLong((long)result
);
10054 static PyObject
* TextUrlEvent_swigregister(PyObject
*self
, PyObject
*args
) {
10056 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10057 SWIG_TypeClientData(SWIGTYPE_p_wxTextUrlEvent
, obj
);
10059 return Py_BuildValue((char *)"");
10061 static int _wrap_ScrollBarNameStr_set(PyObject
*_val
) {
10062 PyErr_SetString(PyExc_TypeError
,"Variable ScrollBarNameStr is read-only.");
10067 static PyObject
*_wrap_ScrollBarNameStr_get() {
10072 pyobj
= PyUnicode_FromWideChar((&wxPyScrollBarNameStr
)->c_str(), (&wxPyScrollBarNameStr
)->Len());
10074 pyobj
= PyString_FromStringAndSize((&wxPyScrollBarNameStr
)->c_str(), (&wxPyScrollBarNameStr
)->Len());
10081 static PyObject
*_wrap_new_ScrollBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10082 PyObject
*resultobj
;
10083 wxWindow
*arg1
= (wxWindow
*) 0 ;
10084 int arg2
= (int) -1 ;
10085 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
10086 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
10087 wxSize
const &arg4_defvalue
= wxDefaultSize
;
10088 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
10089 long arg5
= (long) wxSB_HORIZONTAL
;
10090 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
10091 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
10092 wxString
const &arg7_defvalue
= wxPyScrollBarNameStr
;
10093 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
10094 wxScrollBar
*result
;
10097 bool temp7
= False
;
10098 PyObject
* obj0
= 0 ;
10099 PyObject
* obj1
= 0 ;
10100 PyObject
* obj2
= 0 ;
10101 PyObject
* obj3
= 0 ;
10102 PyObject
* obj4
= 0 ;
10103 PyObject
* obj5
= 0 ;
10104 PyObject
* obj6
= 0 ;
10105 char *kwnames
[] = {
10106 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
10109 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_ScrollBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
10110 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
10111 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10113 arg2
= (int) SWIG_AsInt(obj1
);
10114 if (PyErr_Occurred()) SWIG_fail
;
10119 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
10125 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
10129 arg5
= (long) SWIG_AsLong(obj4
);
10130 if (PyErr_Occurred()) SWIG_fail
;
10133 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxValidator
,
10134 SWIG_POINTER_EXCEPTION
| 0)) == -1)
10136 if (arg6
== NULL
) {
10137 PyErr_SetString(PyExc_TypeError
,"null reference");
10143 arg7
= wxString_in_helper(obj6
);
10144 if (arg7
== NULL
) SWIG_fail
;
10149 if (!wxPyCheckForApp()) SWIG_fail
;
10150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10151 result
= (wxScrollBar
*)new wxScrollBar(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
10153 wxPyEndAllowThreads(__tstate
);
10154 if (PyErr_Occurred()) SWIG_fail
;
10156 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScrollBar
, 1);
10171 static PyObject
*_wrap_new_PreScrollBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10172 PyObject
*resultobj
;
10173 wxScrollBar
*result
;
10174 char *kwnames
[] = {
10178 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreScrollBar",kwnames
)) goto fail
;
10180 if (!wxPyCheckForApp()) SWIG_fail
;
10181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10182 result
= (wxScrollBar
*)new wxScrollBar();
10184 wxPyEndAllowThreads(__tstate
);
10185 if (PyErr_Occurred()) SWIG_fail
;
10187 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScrollBar
, 1);
10194 static PyObject
*_wrap_ScrollBar_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10195 PyObject
*resultobj
;
10196 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
10197 wxWindow
*arg2
= (wxWindow
*) 0 ;
10198 int arg3
= (int) -1 ;
10199 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
10200 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
10201 wxSize
const &arg5_defvalue
= wxDefaultSize
;
10202 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
10203 long arg6
= (long) wxSB_HORIZONTAL
;
10204 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
10205 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
10206 wxString
const &arg8_defvalue
= wxPyScrollBarNameStr
;
10207 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
10211 bool temp8
= False
;
10212 PyObject
* obj0
= 0 ;
10213 PyObject
* obj1
= 0 ;
10214 PyObject
* obj2
= 0 ;
10215 PyObject
* obj3
= 0 ;
10216 PyObject
* obj4
= 0 ;
10217 PyObject
* obj5
= 0 ;
10218 PyObject
* obj6
= 0 ;
10219 PyObject
* obj7
= 0 ;
10220 char *kwnames
[] = {
10221 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
10224 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:ScrollBar_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
10225 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollBar
,
10226 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10227 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
10228 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10230 arg3
= (int) SWIG_AsInt(obj2
);
10231 if (PyErr_Occurred()) SWIG_fail
;
10236 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
10242 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
10246 arg6
= (long) SWIG_AsLong(obj5
);
10247 if (PyErr_Occurred()) SWIG_fail
;
10250 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
10251 SWIG_POINTER_EXCEPTION
| 0)) == -1)
10253 if (arg7
== NULL
) {
10254 PyErr_SetString(PyExc_TypeError
,"null reference");
10260 arg8
= wxString_in_helper(obj7
);
10261 if (arg8
== NULL
) SWIG_fail
;
10266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10267 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
10269 wxPyEndAllowThreads(__tstate
);
10270 if (PyErr_Occurred()) SWIG_fail
;
10273 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10289 static PyObject
*_wrap_ScrollBar_GetThumbPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10290 PyObject
*resultobj
;
10291 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
10293 PyObject
* obj0
= 0 ;
10294 char *kwnames
[] = {
10295 (char *) "self", NULL
10298 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_GetThumbPosition",kwnames
,&obj0
)) goto fail
;
10299 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollBar
,
10300 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10303 result
= (int)((wxScrollBar
const *)arg1
)->GetThumbPosition();
10305 wxPyEndAllowThreads(__tstate
);
10306 if (PyErr_Occurred()) SWIG_fail
;
10308 resultobj
= SWIG_FromInt((int)result
);
10315 static PyObject
*_wrap_ScrollBar_GetThumbSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10316 PyObject
*resultobj
;
10317 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
10319 PyObject
* obj0
= 0 ;
10320 char *kwnames
[] = {
10321 (char *) "self", NULL
10324 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_GetThumbSize",kwnames
,&obj0
)) goto fail
;
10325 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollBar
,
10326 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10329 result
= (int)((wxScrollBar
const *)arg1
)->GetThumbSize();
10331 wxPyEndAllowThreads(__tstate
);
10332 if (PyErr_Occurred()) SWIG_fail
;
10334 resultobj
= SWIG_FromInt((int)result
);
10341 static PyObject
*_wrap_ScrollBar_GetPageSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10342 PyObject
*resultobj
;
10343 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
10345 PyObject
* obj0
= 0 ;
10346 char *kwnames
[] = {
10347 (char *) "self", NULL
10350 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_GetPageSize",kwnames
,&obj0
)) goto fail
;
10351 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollBar
,
10352 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10355 result
= (int)((wxScrollBar
const *)arg1
)->GetPageSize();
10357 wxPyEndAllowThreads(__tstate
);
10358 if (PyErr_Occurred()) SWIG_fail
;
10360 resultobj
= SWIG_FromInt((int)result
);
10367 static PyObject
*_wrap_ScrollBar_GetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10368 PyObject
*resultobj
;
10369 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
10371 PyObject
* obj0
= 0 ;
10372 char *kwnames
[] = {
10373 (char *) "self", NULL
10376 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_GetRange",kwnames
,&obj0
)) goto fail
;
10377 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollBar
,
10378 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10381 result
= (int)((wxScrollBar
const *)arg1
)->GetRange();
10383 wxPyEndAllowThreads(__tstate
);
10384 if (PyErr_Occurred()) SWIG_fail
;
10386 resultobj
= SWIG_FromInt((int)result
);
10393 static PyObject
*_wrap_ScrollBar_IsVertical(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10394 PyObject
*resultobj
;
10395 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
10397 PyObject
* obj0
= 0 ;
10398 char *kwnames
[] = {
10399 (char *) "self", NULL
10402 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_IsVertical",kwnames
,&obj0
)) goto fail
;
10403 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollBar
,
10404 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10407 result
= (bool)((wxScrollBar
const *)arg1
)->IsVertical();
10409 wxPyEndAllowThreads(__tstate
);
10410 if (PyErr_Occurred()) SWIG_fail
;
10413 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10421 static PyObject
*_wrap_ScrollBar_SetThumbPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10422 PyObject
*resultobj
;
10423 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
10425 PyObject
* obj0
= 0 ;
10426 PyObject
* obj1
= 0 ;
10427 char *kwnames
[] = {
10428 (char *) "self",(char *) "viewStart", NULL
10431 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollBar_SetThumbPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
10432 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollBar
,
10433 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10434 arg2
= (int) SWIG_AsInt(obj1
);
10435 if (PyErr_Occurred()) SWIG_fail
;
10437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10438 (arg1
)->SetThumbPosition(arg2
);
10440 wxPyEndAllowThreads(__tstate
);
10441 if (PyErr_Occurred()) SWIG_fail
;
10443 Py_INCREF(Py_None
); resultobj
= Py_None
;
10450 static PyObject
*_wrap_ScrollBar_SetScrollbar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10451 PyObject
*resultobj
;
10452 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
10457 bool arg6
= (bool) True
;
10458 PyObject
* obj0
= 0 ;
10459 PyObject
* obj1
= 0 ;
10460 PyObject
* obj2
= 0 ;
10461 PyObject
* obj3
= 0 ;
10462 PyObject
* obj4
= 0 ;
10463 PyObject
* obj5
= 0 ;
10464 char *kwnames
[] = {
10465 (char *) "self",(char *) "position",(char *) "thumbSize",(char *) "range",(char *) "pageSize",(char *) "refresh", NULL
10468 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:ScrollBar_SetScrollbar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
10469 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollBar
,
10470 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10471 arg2
= (int) SWIG_AsInt(obj1
);
10472 if (PyErr_Occurred()) SWIG_fail
;
10473 arg3
= (int) SWIG_AsInt(obj2
);
10474 if (PyErr_Occurred()) SWIG_fail
;
10475 arg4
= (int) SWIG_AsInt(obj3
);
10476 if (PyErr_Occurred()) SWIG_fail
;
10477 arg5
= (int) SWIG_AsInt(obj4
);
10478 if (PyErr_Occurred()) SWIG_fail
;
10480 arg6
= (bool) SWIG_AsBool(obj5
);
10481 if (PyErr_Occurred()) SWIG_fail
;
10484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10485 (arg1
)->SetScrollbar(arg2
,arg3
,arg4
,arg5
,arg6
);
10487 wxPyEndAllowThreads(__tstate
);
10488 if (PyErr_Occurred()) SWIG_fail
;
10490 Py_INCREF(Py_None
); resultobj
= Py_None
;
10497 static PyObject
*_wrap_ScrollBar_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10498 PyObject
*resultobj
;
10499 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
10500 wxVisualAttributes result
;
10501 PyObject
* obj0
= 0 ;
10502 char *kwnames
[] = {
10503 (char *) "variant", NULL
10506 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ScrollBar_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
10508 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
10509 if (PyErr_Occurred()) SWIG_fail
;
10512 if (!wxPyCheckForApp()) SWIG_fail
;
10513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10514 result
= wxScrollBar::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
10516 wxPyEndAllowThreads(__tstate
);
10517 if (PyErr_Occurred()) SWIG_fail
;
10520 wxVisualAttributes
* resultptr
;
10521 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
10522 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
10530 static PyObject
* ScrollBar_swigregister(PyObject
*self
, PyObject
*args
) {
10532 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10533 SWIG_TypeClientData(SWIGTYPE_p_wxScrollBar
, obj
);
10535 return Py_BuildValue((char *)"");
10537 static int _wrap_SPIN_BUTTON_NAME_set(PyObject
*_val
) {
10538 PyErr_SetString(PyExc_TypeError
,"Variable SPIN_BUTTON_NAME is read-only.");
10543 static PyObject
*_wrap_SPIN_BUTTON_NAME_get() {
10548 pyobj
= PyUnicode_FromWideChar((&wxPySPIN_BUTTON_NAME
)->c_str(), (&wxPySPIN_BUTTON_NAME
)->Len());
10550 pyobj
= PyString_FromStringAndSize((&wxPySPIN_BUTTON_NAME
)->c_str(), (&wxPySPIN_BUTTON_NAME
)->Len());
10557 static int _wrap_SpinCtrlNameStr_set(PyObject
*_val
) {
10558 PyErr_SetString(PyExc_TypeError
,"Variable SpinCtrlNameStr is read-only.");
10563 static PyObject
*_wrap_SpinCtrlNameStr_get() {
10568 pyobj
= PyUnicode_FromWideChar((&wxPySpinCtrlNameStr
)->c_str(), (&wxPySpinCtrlNameStr
)->Len());
10570 pyobj
= PyString_FromStringAndSize((&wxPySpinCtrlNameStr
)->c_str(), (&wxPySpinCtrlNameStr
)->Len());
10577 static PyObject
*_wrap_new_SpinButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10578 PyObject
*resultobj
;
10579 wxWindow
*arg1
= (wxWindow
*) 0 ;
10580 int arg2
= (int) -1 ;
10581 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
10582 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
10583 wxSize
const &arg4_defvalue
= wxDefaultSize
;
10584 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
10585 long arg5
= (long) wxSP_HORIZONTAL
;
10586 wxString
const &arg6_defvalue
= wxPySPIN_BUTTON_NAME
;
10587 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
10588 wxSpinButton
*result
;
10591 bool temp6
= False
;
10592 PyObject
* obj0
= 0 ;
10593 PyObject
* obj1
= 0 ;
10594 PyObject
* obj2
= 0 ;
10595 PyObject
* obj3
= 0 ;
10596 PyObject
* obj4
= 0 ;
10597 PyObject
* obj5
= 0 ;
10598 char *kwnames
[] = {
10599 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10602 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_SpinButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
10603 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
10604 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10606 arg2
= (int) SWIG_AsInt(obj1
);
10607 if (PyErr_Occurred()) SWIG_fail
;
10612 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
10618 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
10622 arg5
= (long) SWIG_AsLong(obj4
);
10623 if (PyErr_Occurred()) SWIG_fail
;
10627 arg6
= wxString_in_helper(obj5
);
10628 if (arg6
== NULL
) SWIG_fail
;
10633 if (!wxPyCheckForApp()) SWIG_fail
;
10634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10635 result
= (wxSpinButton
*)new wxSpinButton(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
10637 wxPyEndAllowThreads(__tstate
);
10638 if (PyErr_Occurred()) SWIG_fail
;
10640 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSpinButton
, 1);
10655 static PyObject
*_wrap_new_PreSpinButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10656 PyObject
*resultobj
;
10657 wxSpinButton
*result
;
10658 char *kwnames
[] = {
10662 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSpinButton",kwnames
)) goto fail
;
10664 if (!wxPyCheckForApp()) SWIG_fail
;
10665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10666 result
= (wxSpinButton
*)new wxSpinButton();
10668 wxPyEndAllowThreads(__tstate
);
10669 if (PyErr_Occurred()) SWIG_fail
;
10671 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSpinButton
, 1);
10678 static PyObject
*_wrap_SpinButton_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10679 PyObject
*resultobj
;
10680 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
10681 wxWindow
*arg2
= (wxWindow
*) 0 ;
10682 int arg3
= (int) -1 ;
10683 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
10684 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
10685 wxSize
const &arg5_defvalue
= wxDefaultSize
;
10686 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
10687 long arg6
= (long) wxSP_HORIZONTAL
;
10688 wxString
const &arg7_defvalue
= wxPySPIN_BUTTON_NAME
;
10689 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
10693 bool temp7
= False
;
10694 PyObject
* obj0
= 0 ;
10695 PyObject
* obj1
= 0 ;
10696 PyObject
* obj2
= 0 ;
10697 PyObject
* obj3
= 0 ;
10698 PyObject
* obj4
= 0 ;
10699 PyObject
* obj5
= 0 ;
10700 PyObject
* obj6
= 0 ;
10701 char *kwnames
[] = {
10702 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10705 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:SpinButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
10706 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinButton
,
10707 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10708 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
10709 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10711 arg3
= (int) SWIG_AsInt(obj2
);
10712 if (PyErr_Occurred()) SWIG_fail
;
10717 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
10723 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
10727 arg6
= (long) SWIG_AsLong(obj5
);
10728 if (PyErr_Occurred()) SWIG_fail
;
10732 arg7
= wxString_in_helper(obj6
);
10733 if (arg7
== NULL
) SWIG_fail
;
10738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10739 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
10741 wxPyEndAllowThreads(__tstate
);
10742 if (PyErr_Occurred()) SWIG_fail
;
10745 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10761 static PyObject
*_wrap_SpinButton_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10762 PyObject
*resultobj
;
10763 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
10765 PyObject
* obj0
= 0 ;
10766 char *kwnames
[] = {
10767 (char *) "self", NULL
10770 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinButton_GetValue",kwnames
,&obj0
)) goto fail
;
10771 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinButton
,
10772 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10775 result
= (int)((wxSpinButton
const *)arg1
)->GetValue();
10777 wxPyEndAllowThreads(__tstate
);
10778 if (PyErr_Occurred()) SWIG_fail
;
10780 resultobj
= SWIG_FromInt((int)result
);
10787 static PyObject
*_wrap_SpinButton_GetMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10788 PyObject
*resultobj
;
10789 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
10791 PyObject
* obj0
= 0 ;
10792 char *kwnames
[] = {
10793 (char *) "self", NULL
10796 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinButton_GetMin",kwnames
,&obj0
)) goto fail
;
10797 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinButton
,
10798 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10801 result
= (int)((wxSpinButton
const *)arg1
)->GetMin();
10803 wxPyEndAllowThreads(__tstate
);
10804 if (PyErr_Occurred()) SWIG_fail
;
10806 resultobj
= SWIG_FromInt((int)result
);
10813 static PyObject
*_wrap_SpinButton_GetMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10814 PyObject
*resultobj
;
10815 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
10817 PyObject
* obj0
= 0 ;
10818 char *kwnames
[] = {
10819 (char *) "self", NULL
10822 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinButton_GetMax",kwnames
,&obj0
)) goto fail
;
10823 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinButton
,
10824 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10827 result
= (int)((wxSpinButton
const *)arg1
)->GetMax();
10829 wxPyEndAllowThreads(__tstate
);
10830 if (PyErr_Occurred()) SWIG_fail
;
10832 resultobj
= SWIG_FromInt((int)result
);
10839 static PyObject
*_wrap_SpinButton_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10840 PyObject
*resultobj
;
10841 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
10843 PyObject
* obj0
= 0 ;
10844 PyObject
* obj1
= 0 ;
10845 char *kwnames
[] = {
10846 (char *) "self",(char *) "val", NULL
10849 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinButton_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
10850 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinButton
,
10851 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10852 arg2
= (int) SWIG_AsInt(obj1
);
10853 if (PyErr_Occurred()) SWIG_fail
;
10855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10856 (arg1
)->SetValue(arg2
);
10858 wxPyEndAllowThreads(__tstate
);
10859 if (PyErr_Occurred()) SWIG_fail
;
10861 Py_INCREF(Py_None
); resultobj
= Py_None
;
10868 static PyObject
*_wrap_SpinButton_SetMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10869 PyObject
*resultobj
;
10870 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
10872 PyObject
* obj0
= 0 ;
10873 PyObject
* obj1
= 0 ;
10874 char *kwnames
[] = {
10875 (char *) "self",(char *) "minVal", NULL
10878 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinButton_SetMin",kwnames
,&obj0
,&obj1
)) goto fail
;
10879 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinButton
,
10880 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10881 arg2
= (int) SWIG_AsInt(obj1
);
10882 if (PyErr_Occurred()) SWIG_fail
;
10884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10885 (arg1
)->SetMin(arg2
);
10887 wxPyEndAllowThreads(__tstate
);
10888 if (PyErr_Occurred()) SWIG_fail
;
10890 Py_INCREF(Py_None
); resultobj
= Py_None
;
10897 static PyObject
*_wrap_SpinButton_SetMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10898 PyObject
*resultobj
;
10899 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
10901 PyObject
* obj0
= 0 ;
10902 PyObject
* obj1
= 0 ;
10903 char *kwnames
[] = {
10904 (char *) "self",(char *) "maxVal", NULL
10907 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinButton_SetMax",kwnames
,&obj0
,&obj1
)) goto fail
;
10908 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinButton
,
10909 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10910 arg2
= (int) SWIG_AsInt(obj1
);
10911 if (PyErr_Occurred()) SWIG_fail
;
10913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10914 (arg1
)->SetMax(arg2
);
10916 wxPyEndAllowThreads(__tstate
);
10917 if (PyErr_Occurred()) SWIG_fail
;
10919 Py_INCREF(Py_None
); resultobj
= Py_None
;
10926 static PyObject
*_wrap_SpinButton_SetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10927 PyObject
*resultobj
;
10928 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
10931 PyObject
* obj0
= 0 ;
10932 PyObject
* obj1
= 0 ;
10933 PyObject
* obj2
= 0 ;
10934 char *kwnames
[] = {
10935 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
10938 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SpinButton_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10939 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinButton
,
10940 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10941 arg2
= (int) SWIG_AsInt(obj1
);
10942 if (PyErr_Occurred()) SWIG_fail
;
10943 arg3
= (int) SWIG_AsInt(obj2
);
10944 if (PyErr_Occurred()) SWIG_fail
;
10946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10947 (arg1
)->SetRange(arg2
,arg3
);
10949 wxPyEndAllowThreads(__tstate
);
10950 if (PyErr_Occurred()) SWIG_fail
;
10952 Py_INCREF(Py_None
); resultobj
= Py_None
;
10959 static PyObject
*_wrap_SpinButton_IsVertical(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10960 PyObject
*resultobj
;
10961 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
10963 PyObject
* obj0
= 0 ;
10964 char *kwnames
[] = {
10965 (char *) "self", NULL
10968 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinButton_IsVertical",kwnames
,&obj0
)) goto fail
;
10969 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinButton
,
10970 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10973 result
= (bool)((wxSpinButton
const *)arg1
)->IsVertical();
10975 wxPyEndAllowThreads(__tstate
);
10976 if (PyErr_Occurred()) SWIG_fail
;
10979 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10987 static PyObject
*_wrap_SpinButton_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10988 PyObject
*resultobj
;
10989 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
10990 wxVisualAttributes result
;
10991 PyObject
* obj0
= 0 ;
10992 char *kwnames
[] = {
10993 (char *) "variant", NULL
10996 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:SpinButton_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
10998 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
10999 if (PyErr_Occurred()) SWIG_fail
;
11002 if (!wxPyCheckForApp()) SWIG_fail
;
11003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11004 result
= wxSpinButton::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
11006 wxPyEndAllowThreads(__tstate
);
11007 if (PyErr_Occurred()) SWIG_fail
;
11010 wxVisualAttributes
* resultptr
;
11011 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
11012 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
11020 static PyObject
* SpinButton_swigregister(PyObject
*self
, PyObject
*args
) {
11022 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11023 SWIG_TypeClientData(SWIGTYPE_p_wxSpinButton
, obj
);
11025 return Py_BuildValue((char *)"");
11027 static PyObject
*_wrap_new_SpinCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11028 PyObject
*resultobj
;
11029 wxWindow
*arg1
= (wxWindow
*) 0 ;
11030 int arg2
= (int) -1 ;
11031 wxString
const &arg3_defvalue
= wxPyEmptyString
;
11032 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
11033 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
11034 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
11035 wxSize
const &arg5_defvalue
= wxDefaultSize
;
11036 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
11037 long arg6
= (long) wxSP_ARROW_KEYS
;
11038 int arg7
= (int) 0 ;
11039 int arg8
= (int) 100 ;
11040 int arg9
= (int) 0 ;
11041 wxString
const &arg10_defvalue
= wxPySpinCtrlNameStr
;
11042 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
11043 wxSpinCtrl
*result
;
11044 bool temp3
= False
;
11047 bool temp10
= False
;
11048 PyObject
* obj0
= 0 ;
11049 PyObject
* obj1
= 0 ;
11050 PyObject
* obj2
= 0 ;
11051 PyObject
* obj3
= 0 ;
11052 PyObject
* obj4
= 0 ;
11053 PyObject
* obj5
= 0 ;
11054 PyObject
* obj6
= 0 ;
11055 PyObject
* obj7
= 0 ;
11056 PyObject
* obj8
= 0 ;
11057 PyObject
* obj9
= 0 ;
11058 char *kwnames
[] = {
11059 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
11062 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOOO:new_SpinCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
11063 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
11064 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11066 arg2
= (int) SWIG_AsInt(obj1
);
11067 if (PyErr_Occurred()) SWIG_fail
;
11071 arg3
= wxString_in_helper(obj2
);
11072 if (arg3
== NULL
) SWIG_fail
;
11079 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
11085 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
11089 arg6
= (long) SWIG_AsLong(obj5
);
11090 if (PyErr_Occurred()) SWIG_fail
;
11093 arg7
= (int) SWIG_AsInt(obj6
);
11094 if (PyErr_Occurred()) SWIG_fail
;
11097 arg8
= (int) SWIG_AsInt(obj7
);
11098 if (PyErr_Occurred()) SWIG_fail
;
11101 arg9
= (int) SWIG_AsInt(obj8
);
11102 if (PyErr_Occurred()) SWIG_fail
;
11106 arg10
= wxString_in_helper(obj9
);
11107 if (arg10
== NULL
) SWIG_fail
;
11112 if (!wxPyCheckForApp()) SWIG_fail
;
11113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11114 result
= (wxSpinCtrl
*)new wxSpinCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,arg7
,arg8
,arg9
,(wxString
const &)*arg10
);
11116 wxPyEndAllowThreads(__tstate
);
11117 if (PyErr_Occurred()) SWIG_fail
;
11119 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSpinCtrl
, 1);
11142 static PyObject
*_wrap_new_PreSpinCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11143 PyObject
*resultobj
;
11144 wxSpinCtrl
*result
;
11145 char *kwnames
[] = {
11149 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSpinCtrl",kwnames
)) goto fail
;
11151 if (!wxPyCheckForApp()) SWIG_fail
;
11152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11153 result
= (wxSpinCtrl
*)new wxSpinCtrl();
11155 wxPyEndAllowThreads(__tstate
);
11156 if (PyErr_Occurred()) SWIG_fail
;
11158 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSpinCtrl
, 1);
11165 static PyObject
*_wrap_SpinCtrl_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11166 PyObject
*resultobj
;
11167 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
11168 wxWindow
*arg2
= (wxWindow
*) 0 ;
11169 int arg3
= (int) -1 ;
11170 wxString
const &arg4_defvalue
= wxPyEmptyString
;
11171 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
11172 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
11173 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
11174 wxSize
const &arg6_defvalue
= wxDefaultSize
;
11175 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
11176 long arg7
= (long) wxSP_ARROW_KEYS
;
11177 int arg8
= (int) 0 ;
11178 int arg9
= (int) 100 ;
11179 int arg10
= (int) 0 ;
11180 wxString
const &arg11_defvalue
= wxPySpinCtrlNameStr
;
11181 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
11183 bool temp4
= False
;
11186 bool temp11
= False
;
11187 PyObject
* obj0
= 0 ;
11188 PyObject
* obj1
= 0 ;
11189 PyObject
* obj2
= 0 ;
11190 PyObject
* obj3
= 0 ;
11191 PyObject
* obj4
= 0 ;
11192 PyObject
* obj5
= 0 ;
11193 PyObject
* obj6
= 0 ;
11194 PyObject
* obj7
= 0 ;
11195 PyObject
* obj8
= 0 ;
11196 PyObject
* obj9
= 0 ;
11197 PyObject
* obj10
= 0 ;
11198 char *kwnames
[] = {
11199 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
11202 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOOO:SpinCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) goto fail
;
11203 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinCtrl
,
11204 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11205 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
11206 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11208 arg3
= (int) SWIG_AsInt(obj2
);
11209 if (PyErr_Occurred()) SWIG_fail
;
11213 arg4
= wxString_in_helper(obj3
);
11214 if (arg4
== NULL
) SWIG_fail
;
11221 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
11227 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
11231 arg7
= (long) SWIG_AsLong(obj6
);
11232 if (PyErr_Occurred()) SWIG_fail
;
11235 arg8
= (int) SWIG_AsInt(obj7
);
11236 if (PyErr_Occurred()) SWIG_fail
;
11239 arg9
= (int) SWIG_AsInt(obj8
);
11240 if (PyErr_Occurred()) SWIG_fail
;
11243 arg10
= (int) SWIG_AsInt(obj9
);
11244 if (PyErr_Occurred()) SWIG_fail
;
11248 arg11
= wxString_in_helper(obj10
);
11249 if (arg11
== NULL
) SWIG_fail
;
11254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11255 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,arg8
,arg9
,arg10
,(wxString
const &)*arg11
);
11257 wxPyEndAllowThreads(__tstate
);
11258 if (PyErr_Occurred()) SWIG_fail
;
11261 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11285 static PyObject
*_wrap_SpinCtrl_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11286 PyObject
*resultobj
;
11287 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
11289 PyObject
* obj0
= 0 ;
11290 char *kwnames
[] = {
11291 (char *) "self", NULL
11294 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinCtrl_GetValue",kwnames
,&obj0
)) goto fail
;
11295 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinCtrl
,
11296 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11299 result
= (int)((wxSpinCtrl
const *)arg1
)->GetValue();
11301 wxPyEndAllowThreads(__tstate
);
11302 if (PyErr_Occurred()) SWIG_fail
;
11304 resultobj
= SWIG_FromInt((int)result
);
11311 static PyObject
*_wrap_SpinCtrl_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11312 PyObject
*resultobj
;
11313 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
11315 PyObject
* obj0
= 0 ;
11316 PyObject
* obj1
= 0 ;
11317 char *kwnames
[] = {
11318 (char *) "self",(char *) "value", NULL
11321 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinCtrl_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
11322 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinCtrl
,
11323 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11324 arg2
= (int) SWIG_AsInt(obj1
);
11325 if (PyErr_Occurred()) SWIG_fail
;
11327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11328 (arg1
)->SetValue(arg2
);
11330 wxPyEndAllowThreads(__tstate
);
11331 if (PyErr_Occurred()) SWIG_fail
;
11333 Py_INCREF(Py_None
); resultobj
= Py_None
;
11340 static PyObject
*_wrap_SpinCtrl_SetValueString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11341 PyObject
*resultobj
;
11342 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
11343 wxString
*arg2
= 0 ;
11344 bool temp2
= False
;
11345 PyObject
* obj0
= 0 ;
11346 PyObject
* obj1
= 0 ;
11347 char *kwnames
[] = {
11348 (char *) "self",(char *) "text", NULL
11351 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinCtrl_SetValueString",kwnames
,&obj0
,&obj1
)) goto fail
;
11352 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinCtrl
,
11353 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11355 arg2
= wxString_in_helper(obj1
);
11356 if (arg2
== NULL
) SWIG_fail
;
11360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11361 (arg1
)->SetValue((wxString
const &)*arg2
);
11363 wxPyEndAllowThreads(__tstate
);
11364 if (PyErr_Occurred()) SWIG_fail
;
11366 Py_INCREF(Py_None
); resultobj
= Py_None
;
11381 static PyObject
*_wrap_SpinCtrl_SetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11382 PyObject
*resultobj
;
11383 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
11386 PyObject
* obj0
= 0 ;
11387 PyObject
* obj1
= 0 ;
11388 PyObject
* obj2
= 0 ;
11389 char *kwnames
[] = {
11390 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
11393 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SpinCtrl_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11394 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinCtrl
,
11395 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11396 arg2
= (int) SWIG_AsInt(obj1
);
11397 if (PyErr_Occurred()) SWIG_fail
;
11398 arg3
= (int) SWIG_AsInt(obj2
);
11399 if (PyErr_Occurred()) SWIG_fail
;
11401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11402 (arg1
)->SetRange(arg2
,arg3
);
11404 wxPyEndAllowThreads(__tstate
);
11405 if (PyErr_Occurred()) SWIG_fail
;
11407 Py_INCREF(Py_None
); resultobj
= Py_None
;
11414 static PyObject
*_wrap_SpinCtrl_GetMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11415 PyObject
*resultobj
;
11416 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
11418 PyObject
* obj0
= 0 ;
11419 char *kwnames
[] = {
11420 (char *) "self", NULL
11423 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinCtrl_GetMin",kwnames
,&obj0
)) goto fail
;
11424 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinCtrl
,
11425 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11428 result
= (int)((wxSpinCtrl
const *)arg1
)->GetMin();
11430 wxPyEndAllowThreads(__tstate
);
11431 if (PyErr_Occurred()) SWIG_fail
;
11433 resultobj
= SWIG_FromInt((int)result
);
11440 static PyObject
*_wrap_SpinCtrl_GetMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11441 PyObject
*resultobj
;
11442 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
11444 PyObject
* obj0
= 0 ;
11445 char *kwnames
[] = {
11446 (char *) "self", NULL
11449 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinCtrl_GetMax",kwnames
,&obj0
)) goto fail
;
11450 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinCtrl
,
11451 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11454 result
= (int)((wxSpinCtrl
const *)arg1
)->GetMax();
11456 wxPyEndAllowThreads(__tstate
);
11457 if (PyErr_Occurred()) SWIG_fail
;
11459 resultobj
= SWIG_FromInt((int)result
);
11466 static PyObject
*_wrap_SpinCtrl_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11467 PyObject
*resultobj
;
11468 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
11471 PyObject
* obj0
= 0 ;
11472 PyObject
* obj1
= 0 ;
11473 PyObject
* obj2
= 0 ;
11474 char *kwnames
[] = {
11475 (char *) "self",(char *) "from",(char *) "to", NULL
11478 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SpinCtrl_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11479 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinCtrl
,
11480 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11481 arg2
= (long) SWIG_AsLong(obj1
);
11482 if (PyErr_Occurred()) SWIG_fail
;
11483 arg3
= (long) SWIG_AsLong(obj2
);
11484 if (PyErr_Occurred()) SWIG_fail
;
11486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11487 (arg1
)->SetSelection(arg2
,arg3
);
11489 wxPyEndAllowThreads(__tstate
);
11490 if (PyErr_Occurred()) SWIG_fail
;
11492 Py_INCREF(Py_None
); resultobj
= Py_None
;
11499 static PyObject
*_wrap_SpinCtrl_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11500 PyObject
*resultobj
;
11501 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
11502 wxVisualAttributes result
;
11503 PyObject
* obj0
= 0 ;
11504 char *kwnames
[] = {
11505 (char *) "variant", NULL
11508 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:SpinCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
11510 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
11511 if (PyErr_Occurred()) SWIG_fail
;
11514 if (!wxPyCheckForApp()) SWIG_fail
;
11515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11516 result
= wxSpinCtrl::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
11518 wxPyEndAllowThreads(__tstate
);
11519 if (PyErr_Occurred()) SWIG_fail
;
11522 wxVisualAttributes
* resultptr
;
11523 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
11524 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
11532 static PyObject
* SpinCtrl_swigregister(PyObject
*self
, PyObject
*args
) {
11534 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11535 SWIG_TypeClientData(SWIGTYPE_p_wxSpinCtrl
, obj
);
11537 return Py_BuildValue((char *)"");
11539 static PyObject
*_wrap_new_SpinEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11540 PyObject
*resultobj
;
11541 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
11542 int arg2
= (int) 0 ;
11543 wxSpinEvent
*result
;
11544 PyObject
* obj0
= 0 ;
11545 PyObject
* obj1
= 0 ;
11546 char *kwnames
[] = {
11547 (char *) "commandType",(char *) "winid", NULL
11550 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SpinEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
11552 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
11553 if (PyErr_Occurred()) SWIG_fail
;
11556 arg2
= (int) SWIG_AsInt(obj1
);
11557 if (PyErr_Occurred()) SWIG_fail
;
11560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11561 result
= (wxSpinEvent
*)new wxSpinEvent(arg1
,arg2
);
11563 wxPyEndAllowThreads(__tstate
);
11564 if (PyErr_Occurred()) SWIG_fail
;
11566 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSpinEvent
, 1);
11573 static PyObject
*_wrap_SpinEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11574 PyObject
*resultobj
;
11575 wxSpinEvent
*arg1
= (wxSpinEvent
*) 0 ;
11577 PyObject
* obj0
= 0 ;
11578 char *kwnames
[] = {
11579 (char *) "self", NULL
11582 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
11583 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinEvent
,
11584 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11587 result
= (int)((wxSpinEvent
const *)arg1
)->GetPosition();
11589 wxPyEndAllowThreads(__tstate
);
11590 if (PyErr_Occurred()) SWIG_fail
;
11592 resultobj
= SWIG_FromInt((int)result
);
11599 static PyObject
*_wrap_SpinEvent_SetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11600 PyObject
*resultobj
;
11601 wxSpinEvent
*arg1
= (wxSpinEvent
*) 0 ;
11603 PyObject
* obj0
= 0 ;
11604 PyObject
* obj1
= 0 ;
11605 char *kwnames
[] = {
11606 (char *) "self",(char *) "pos", NULL
11609 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
11610 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinEvent
,
11611 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11612 arg2
= (int) SWIG_AsInt(obj1
);
11613 if (PyErr_Occurred()) SWIG_fail
;
11615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11616 (arg1
)->SetPosition(arg2
);
11618 wxPyEndAllowThreads(__tstate
);
11619 if (PyErr_Occurred()) SWIG_fail
;
11621 Py_INCREF(Py_None
); resultobj
= Py_None
;
11628 static PyObject
* SpinEvent_swigregister(PyObject
*self
, PyObject
*args
) {
11630 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11631 SWIG_TypeClientData(SWIGTYPE_p_wxSpinEvent
, obj
);
11633 return Py_BuildValue((char *)"");
11635 static int _wrap_RadioBoxNameStr_set(PyObject
*_val
) {
11636 PyErr_SetString(PyExc_TypeError
,"Variable RadioBoxNameStr is read-only.");
11641 static PyObject
*_wrap_RadioBoxNameStr_get() {
11646 pyobj
= PyUnicode_FromWideChar((&wxPyRadioBoxNameStr
)->c_str(), (&wxPyRadioBoxNameStr
)->Len());
11648 pyobj
= PyString_FromStringAndSize((&wxPyRadioBoxNameStr
)->c_str(), (&wxPyRadioBoxNameStr
)->Len());
11655 static int _wrap_RadioButtonNameStr_set(PyObject
*_val
) {
11656 PyErr_SetString(PyExc_TypeError
,"Variable RadioButtonNameStr is read-only.");
11661 static PyObject
*_wrap_RadioButtonNameStr_get() {
11666 pyobj
= PyUnicode_FromWideChar((&wxPyRadioButtonNameStr
)->c_str(), (&wxPyRadioButtonNameStr
)->Len());
11668 pyobj
= PyString_FromStringAndSize((&wxPyRadioButtonNameStr
)->c_str(), (&wxPyRadioButtonNameStr
)->Len());
11675 static PyObject
*_wrap_new_RadioBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11676 PyObject
*resultobj
;
11677 wxWindow
*arg1
= (wxWindow
*) 0 ;
11678 int arg2
= (int) -1 ;
11679 wxString
const &arg3_defvalue
= wxPyEmptyString
;
11680 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
11681 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
11682 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
11683 wxSize
const &arg5_defvalue
= wxDefaultSize
;
11684 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
11685 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
11686 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
11687 int arg7
= (int) 0 ;
11688 long arg8
= (long) wxRA_HORIZONTAL
;
11689 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
11690 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
11691 wxString
const &arg10_defvalue
= wxPyRadioBoxNameStr
;
11692 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
11693 wxRadioBox
*result
;
11694 bool temp3
= False
;
11697 bool temp6
= False
;
11698 bool temp10
= False
;
11699 PyObject
* obj0
= 0 ;
11700 PyObject
* obj1
= 0 ;
11701 PyObject
* obj2
= 0 ;
11702 PyObject
* obj3
= 0 ;
11703 PyObject
* obj4
= 0 ;
11704 PyObject
* obj5
= 0 ;
11705 PyObject
* obj6
= 0 ;
11706 PyObject
* obj7
= 0 ;
11707 PyObject
* obj8
= 0 ;
11708 PyObject
* obj9
= 0 ;
11709 char *kwnames
[] = {
11710 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
11713 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOOO:new_RadioBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
11714 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
11715 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11717 arg2
= (int) SWIG_AsInt(obj1
);
11718 if (PyErr_Occurred()) SWIG_fail
;
11722 arg3
= wxString_in_helper(obj2
);
11723 if (arg3
== NULL
) SWIG_fail
;
11730 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
11736 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
11741 if (! PySequence_Check(obj5
)) {
11742 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
11745 arg6
= new wxArrayString
;
11747 int i
, len
=PySequence_Length(obj5
);
11748 for (i
=0; i
<len
; i
++) {
11749 PyObject
* item
= PySequence_GetItem(obj5
, i
);
11751 PyObject
* str
= PyObject_Unicode(item
);
11753 PyObject
* str
= PyObject_Str(item
);
11755 if (PyErr_Occurred()) SWIG_fail
;
11756 arg6
->Add(Py2wxString(str
));
11763 arg7
= (int) SWIG_AsInt(obj6
);
11764 if (PyErr_Occurred()) SWIG_fail
;
11767 arg8
= (long) SWIG_AsLong(obj7
);
11768 if (PyErr_Occurred()) SWIG_fail
;
11771 if ((SWIG_ConvertPtr(obj8
,(void **)(&arg9
),SWIGTYPE_p_wxValidator
,
11772 SWIG_POINTER_EXCEPTION
| 0)) == -1)
11774 if (arg9
== NULL
) {
11775 PyErr_SetString(PyExc_TypeError
,"null reference");
11781 arg10
= wxString_in_helper(obj9
);
11782 if (arg10
== NULL
) SWIG_fail
;
11787 if (!wxPyCheckForApp()) SWIG_fail
;
11788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11789 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
);
11791 wxPyEndAllowThreads(__tstate
);
11792 if (PyErr_Occurred()) SWIG_fail
;
11794 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRadioBox
, 1);
11800 if (temp6
) delete arg6
;
11813 if (temp6
) delete arg6
;
11823 static PyObject
*_wrap_new_PreRadioBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11824 PyObject
*resultobj
;
11825 wxRadioBox
*result
;
11826 char *kwnames
[] = {
11830 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreRadioBox",kwnames
)) goto fail
;
11832 if (!wxPyCheckForApp()) SWIG_fail
;
11833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11834 result
= (wxRadioBox
*)new wxRadioBox();
11836 wxPyEndAllowThreads(__tstate
);
11837 if (PyErr_Occurred()) SWIG_fail
;
11839 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRadioBox
, 1);
11846 static PyObject
*_wrap_RadioBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11847 PyObject
*resultobj
;
11848 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
11849 wxWindow
*arg2
= (wxWindow
*) 0 ;
11850 int arg3
= (int) -1 ;
11851 wxString
const &arg4_defvalue
= wxPyEmptyString
;
11852 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
11853 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
11854 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
11855 wxSize
const &arg6_defvalue
= wxDefaultSize
;
11856 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
11857 wxArrayString
const &arg7_defvalue
= wxPyEmptyStringArray
;
11858 wxArrayString
*arg7
= (wxArrayString
*) &arg7_defvalue
;
11859 int arg8
= (int) 0 ;
11860 long arg9
= (long) wxRA_HORIZONTAL
;
11861 wxValidator
const &arg10_defvalue
= wxDefaultValidator
;
11862 wxValidator
*arg10
= (wxValidator
*) &arg10_defvalue
;
11863 wxString
const &arg11_defvalue
= wxPyRadioBoxNameStr
;
11864 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
11866 bool temp4
= False
;
11869 bool temp7
= False
;
11870 bool temp11
= False
;
11871 PyObject
* obj0
= 0 ;
11872 PyObject
* obj1
= 0 ;
11873 PyObject
* obj2
= 0 ;
11874 PyObject
* obj3
= 0 ;
11875 PyObject
* obj4
= 0 ;
11876 PyObject
* obj5
= 0 ;
11877 PyObject
* obj6
= 0 ;
11878 PyObject
* obj7
= 0 ;
11879 PyObject
* obj8
= 0 ;
11880 PyObject
* obj9
= 0 ;
11881 PyObject
* obj10
= 0 ;
11882 char *kwnames
[] = {
11883 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
11886 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOOO:RadioBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) goto fail
;
11887 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
11888 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11889 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
11890 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11892 arg3
= (int) SWIG_AsInt(obj2
);
11893 if (PyErr_Occurred()) SWIG_fail
;
11897 arg4
= wxString_in_helper(obj3
);
11898 if (arg4
== NULL
) SWIG_fail
;
11905 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
11911 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
11916 if (! PySequence_Check(obj6
)) {
11917 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
11920 arg7
= new wxArrayString
;
11922 int i
, len
=PySequence_Length(obj6
);
11923 for (i
=0; i
<len
; i
++) {
11924 PyObject
* item
= PySequence_GetItem(obj6
, i
);
11926 PyObject
* str
= PyObject_Unicode(item
);
11928 PyObject
* str
= PyObject_Str(item
);
11930 if (PyErr_Occurred()) SWIG_fail
;
11931 arg7
->Add(Py2wxString(str
));
11938 arg8
= (int) SWIG_AsInt(obj7
);
11939 if (PyErr_Occurred()) SWIG_fail
;
11942 arg9
= (long) SWIG_AsLong(obj8
);
11943 if (PyErr_Occurred()) SWIG_fail
;
11946 if ((SWIG_ConvertPtr(obj9
,(void **)(&arg10
),SWIGTYPE_p_wxValidator
,
11947 SWIG_POINTER_EXCEPTION
| 0)) == -1)
11949 if (arg10
== NULL
) {
11950 PyErr_SetString(PyExc_TypeError
,"null reference");
11956 arg11
= wxString_in_helper(obj10
);
11957 if (arg11
== NULL
) SWIG_fail
;
11962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11963 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
);
11965 wxPyEndAllowThreads(__tstate
);
11966 if (PyErr_Occurred()) SWIG_fail
;
11969 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11976 if (temp7
) delete arg7
;
11989 if (temp7
) delete arg7
;
11999 static PyObject
*_wrap_RadioBox_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12000 PyObject
*resultobj
;
12001 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
12003 PyObject
* obj0
= 0 ;
12004 PyObject
* obj1
= 0 ;
12005 char *kwnames
[] = {
12006 (char *) "self",(char *) "n", NULL
12009 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
12010 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
12011 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12012 arg2
= (int) SWIG_AsInt(obj1
);
12013 if (PyErr_Occurred()) SWIG_fail
;
12015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12016 (arg1
)->SetSelection(arg2
);
12018 wxPyEndAllowThreads(__tstate
);
12019 if (PyErr_Occurred()) SWIG_fail
;
12021 Py_INCREF(Py_None
); resultobj
= Py_None
;
12028 static PyObject
*_wrap_RadioBox_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12029 PyObject
*resultobj
;
12030 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
12032 PyObject
* obj0
= 0 ;
12033 char *kwnames
[] = {
12034 (char *) "self", NULL
12037 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetSelection",kwnames
,&obj0
)) goto fail
;
12038 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
12039 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12042 result
= (int)((wxRadioBox
const *)arg1
)->GetSelection();
12044 wxPyEndAllowThreads(__tstate
);
12045 if (PyErr_Occurred()) SWIG_fail
;
12047 resultobj
= SWIG_FromInt((int)result
);
12054 static PyObject
*_wrap_RadioBox_GetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12055 PyObject
*resultobj
;
12056 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
12058 PyObject
* obj0
= 0 ;
12059 char *kwnames
[] = {
12060 (char *) "self", NULL
12063 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetStringSelection",kwnames
,&obj0
)) goto fail
;
12064 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
12065 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12068 result
= ((wxRadioBox
const *)arg1
)->GetStringSelection();
12070 wxPyEndAllowThreads(__tstate
);
12071 if (PyErr_Occurred()) SWIG_fail
;
12075 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12077 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12086 static PyObject
*_wrap_RadioBox_SetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12087 PyObject
*resultobj
;
12088 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
12089 wxString
*arg2
= 0 ;
12091 bool temp2
= False
;
12092 PyObject
* obj0
= 0 ;
12093 PyObject
* obj1
= 0 ;
12094 char *kwnames
[] = {
12095 (char *) "self",(char *) "s", NULL
12098 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_SetStringSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
12099 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
12100 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12102 arg2
= wxString_in_helper(obj1
);
12103 if (arg2
== NULL
) SWIG_fail
;
12107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12108 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
);
12110 wxPyEndAllowThreads(__tstate
);
12111 if (PyErr_Occurred()) SWIG_fail
;
12114 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12130 static PyObject
*_wrap_RadioBox_GetCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12131 PyObject
*resultobj
;
12132 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
12134 PyObject
* obj0
= 0 ;
12135 char *kwnames
[] = {
12136 (char *) "self", NULL
12139 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetCount",kwnames
,&obj0
)) goto fail
;
12140 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
12141 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12144 result
= (int)((wxRadioBox
const *)arg1
)->GetCount();
12146 wxPyEndAllowThreads(__tstate
);
12147 if (PyErr_Occurred()) SWIG_fail
;
12149 resultobj
= SWIG_FromInt((int)result
);
12156 static PyObject
*_wrap_RadioBox_FindString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12157 PyObject
*resultobj
;
12158 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
12159 wxString
*arg2
= 0 ;
12161 bool temp2
= False
;
12162 PyObject
* obj0
= 0 ;
12163 PyObject
* obj1
= 0 ;
12164 char *kwnames
[] = {
12165 (char *) "self",(char *) "s", NULL
12168 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_FindString",kwnames
,&obj0
,&obj1
)) goto fail
;
12169 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
12170 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12172 arg2
= wxString_in_helper(obj1
);
12173 if (arg2
== NULL
) SWIG_fail
;
12177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12178 result
= (int)((wxRadioBox
const *)arg1
)->FindString((wxString
const &)*arg2
);
12180 wxPyEndAllowThreads(__tstate
);
12181 if (PyErr_Occurred()) SWIG_fail
;
12183 resultobj
= SWIG_FromInt((int)result
);
12198 static PyObject
*_wrap_RadioBox_GetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12199 PyObject
*resultobj
;
12200 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
12203 PyObject
* obj0
= 0 ;
12204 PyObject
* obj1
= 0 ;
12205 char *kwnames
[] = {
12206 (char *) "self",(char *) "n", NULL
12209 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_GetString",kwnames
,&obj0
,&obj1
)) goto fail
;
12210 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
12211 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12212 arg2
= (int) SWIG_AsInt(obj1
);
12213 if (PyErr_Occurred()) SWIG_fail
;
12215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12216 result
= ((wxRadioBox
const *)arg1
)->GetString(arg2
);
12218 wxPyEndAllowThreads(__tstate
);
12219 if (PyErr_Occurred()) SWIG_fail
;
12223 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12225 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12234 static PyObject
*_wrap_RadioBox_SetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12235 PyObject
*resultobj
;
12236 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
12238 wxString
*arg3
= 0 ;
12239 bool temp3
= False
;
12240 PyObject
* obj0
= 0 ;
12241 PyObject
* obj1
= 0 ;
12242 PyObject
* obj2
= 0 ;
12243 char *kwnames
[] = {
12244 (char *) "self",(char *) "n",(char *) "label", NULL
12247 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:RadioBox_SetString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12248 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
12249 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12250 arg2
= (int) SWIG_AsInt(obj1
);
12251 if (PyErr_Occurred()) SWIG_fail
;
12253 arg3
= wxString_in_helper(obj2
);
12254 if (arg3
== NULL
) SWIG_fail
;
12258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12259 (arg1
)->SetString(arg2
,(wxString
const &)*arg3
);
12261 wxPyEndAllowThreads(__tstate
);
12262 if (PyErr_Occurred()) SWIG_fail
;
12264 Py_INCREF(Py_None
); resultobj
= Py_None
;
12279 static PyObject
*_wrap_RadioBox_EnableItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12280 PyObject
*resultobj
;
12281 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
12283 bool arg3
= (bool) True
;
12284 PyObject
* obj0
= 0 ;
12285 PyObject
* obj1
= 0 ;
12286 PyObject
* obj2
= 0 ;
12287 char *kwnames
[] = {
12288 (char *) "self",(char *) "n",(char *) "enable", NULL
12291 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:RadioBox_EnableItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12292 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
12293 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12294 arg2
= (int) SWIG_AsInt(obj1
);
12295 if (PyErr_Occurred()) SWIG_fail
;
12297 arg3
= (bool) SWIG_AsBool(obj2
);
12298 if (PyErr_Occurred()) SWIG_fail
;
12301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12302 (arg1
)->Enable(arg2
,arg3
);
12304 wxPyEndAllowThreads(__tstate
);
12305 if (PyErr_Occurred()) SWIG_fail
;
12307 Py_INCREF(Py_None
); resultobj
= Py_None
;
12314 static PyObject
*_wrap_RadioBox_ShowItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12315 PyObject
*resultobj
;
12316 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
12318 bool arg3
= (bool) True
;
12319 PyObject
* obj0
= 0 ;
12320 PyObject
* obj1
= 0 ;
12321 PyObject
* obj2
= 0 ;
12322 char *kwnames
[] = {
12323 (char *) "self",(char *) "n",(char *) "show", NULL
12326 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:RadioBox_ShowItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12327 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
12328 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12329 arg2
= (int) SWIG_AsInt(obj1
);
12330 if (PyErr_Occurred()) SWIG_fail
;
12332 arg3
= (bool) SWIG_AsBool(obj2
);
12333 if (PyErr_Occurred()) SWIG_fail
;
12336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12337 (arg1
)->Show(arg2
,arg3
);
12339 wxPyEndAllowThreads(__tstate
);
12340 if (PyErr_Occurred()) SWIG_fail
;
12342 Py_INCREF(Py_None
); resultobj
= Py_None
;
12349 static PyObject
*_wrap_RadioBox_GetColumnCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12350 PyObject
*resultobj
;
12351 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
12353 PyObject
* obj0
= 0 ;
12354 char *kwnames
[] = {
12355 (char *) "self", NULL
12358 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetColumnCount",kwnames
,&obj0
)) goto fail
;
12359 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
12360 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12363 result
= (int)((wxRadioBox
const *)arg1
)->GetColumnCount();
12365 wxPyEndAllowThreads(__tstate
);
12366 if (PyErr_Occurred()) SWIG_fail
;
12368 resultobj
= SWIG_FromInt((int)result
);
12375 static PyObject
*_wrap_RadioBox_GetRowCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12376 PyObject
*resultobj
;
12377 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
12379 PyObject
* obj0
= 0 ;
12380 char *kwnames
[] = {
12381 (char *) "self", NULL
12384 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetRowCount",kwnames
,&obj0
)) goto fail
;
12385 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
12386 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12389 result
= (int)((wxRadioBox
const *)arg1
)->GetRowCount();
12391 wxPyEndAllowThreads(__tstate
);
12392 if (PyErr_Occurred()) SWIG_fail
;
12394 resultobj
= SWIG_FromInt((int)result
);
12401 static PyObject
*_wrap_RadioBox_GetNextItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12402 PyObject
*resultobj
;
12403 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
12408 PyObject
* obj0
= 0 ;
12409 PyObject
* obj1
= 0 ;
12410 PyObject
* obj2
= 0 ;
12411 PyObject
* obj3
= 0 ;
12412 char *kwnames
[] = {
12413 (char *) "self",(char *) "item",(char *) "dir",(char *) "style", NULL
12416 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:RadioBox_GetNextItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
12417 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
12418 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12419 arg2
= (int) SWIG_AsInt(obj1
);
12420 if (PyErr_Occurred()) SWIG_fail
;
12421 arg3
= (wxDirection
) SWIG_AsInt(obj2
);
12422 if (PyErr_Occurred()) SWIG_fail
;
12423 arg4
= (long) SWIG_AsLong(obj3
);
12424 if (PyErr_Occurred()) SWIG_fail
;
12426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12427 result
= (int)((wxRadioBox
const *)arg1
)->GetNextItem(arg2
,(wxDirection
)arg3
,arg4
);
12429 wxPyEndAllowThreads(__tstate
);
12430 if (PyErr_Occurred()) SWIG_fail
;
12432 resultobj
= SWIG_FromInt((int)result
);
12439 static PyObject
*_wrap_RadioBox_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12440 PyObject
*resultobj
;
12441 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
12442 wxVisualAttributes result
;
12443 PyObject
* obj0
= 0 ;
12444 char *kwnames
[] = {
12445 (char *) "variant", NULL
12448 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:RadioBox_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
12450 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
12451 if (PyErr_Occurred()) SWIG_fail
;
12454 if (!wxPyCheckForApp()) SWIG_fail
;
12455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12456 result
= wxRadioBox::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
12458 wxPyEndAllowThreads(__tstate
);
12459 if (PyErr_Occurred()) SWIG_fail
;
12462 wxVisualAttributes
* resultptr
;
12463 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
12464 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
12472 static PyObject
* RadioBox_swigregister(PyObject
*self
, PyObject
*args
) {
12474 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12475 SWIG_TypeClientData(SWIGTYPE_p_wxRadioBox
, obj
);
12477 return Py_BuildValue((char *)"");
12479 static PyObject
*_wrap_new_RadioButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12480 PyObject
*resultobj
;
12481 wxWindow
*arg1
= (wxWindow
*) 0 ;
12482 int arg2
= (int) -1 ;
12483 wxString
const &arg3_defvalue
= wxPyEmptyString
;
12484 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
12485 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
12486 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
12487 wxSize
const &arg5_defvalue
= wxDefaultSize
;
12488 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
12489 long arg6
= (long) 0 ;
12490 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
12491 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
12492 wxString
const &arg8_defvalue
= wxPyRadioButtonNameStr
;
12493 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
12494 wxRadioButton
*result
;
12495 bool temp3
= False
;
12498 bool temp8
= False
;
12499 PyObject
* obj0
= 0 ;
12500 PyObject
* obj1
= 0 ;
12501 PyObject
* obj2
= 0 ;
12502 PyObject
* obj3
= 0 ;
12503 PyObject
* obj4
= 0 ;
12504 PyObject
* obj5
= 0 ;
12505 PyObject
* obj6
= 0 ;
12506 PyObject
* obj7
= 0 ;
12507 char *kwnames
[] = {
12508 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
12511 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_RadioButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
12512 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
12513 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12515 arg2
= (int) SWIG_AsInt(obj1
);
12516 if (PyErr_Occurred()) SWIG_fail
;
12520 arg3
= wxString_in_helper(obj2
);
12521 if (arg3
== NULL
) SWIG_fail
;
12528 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
12534 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
12538 arg6
= (long) SWIG_AsLong(obj5
);
12539 if (PyErr_Occurred()) SWIG_fail
;
12542 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
12543 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12545 if (arg7
== NULL
) {
12546 PyErr_SetString(PyExc_TypeError
,"null reference");
12552 arg8
= wxString_in_helper(obj7
);
12553 if (arg8
== NULL
) SWIG_fail
;
12558 if (!wxPyCheckForApp()) SWIG_fail
;
12559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12560 result
= (wxRadioButton
*)new wxRadioButton(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
12562 wxPyEndAllowThreads(__tstate
);
12563 if (PyErr_Occurred()) SWIG_fail
;
12565 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRadioButton
, 1);
12588 static PyObject
*_wrap_new_PreRadioButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12589 PyObject
*resultobj
;
12590 wxRadioButton
*result
;
12591 char *kwnames
[] = {
12595 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreRadioButton",kwnames
)) goto fail
;
12597 if (!wxPyCheckForApp()) SWIG_fail
;
12598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12599 result
= (wxRadioButton
*)new wxRadioButton();
12601 wxPyEndAllowThreads(__tstate
);
12602 if (PyErr_Occurred()) SWIG_fail
;
12604 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRadioButton
, 1);
12611 static PyObject
*_wrap_RadioButton_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12612 PyObject
*resultobj
;
12613 wxRadioButton
*arg1
= (wxRadioButton
*) 0 ;
12614 wxWindow
*arg2
= (wxWindow
*) 0 ;
12615 int arg3
= (int) -1 ;
12616 wxString
const &arg4_defvalue
= wxPyEmptyString
;
12617 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
12618 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
12619 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
12620 wxSize
const &arg6_defvalue
= wxDefaultSize
;
12621 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
12622 long arg7
= (long) 0 ;
12623 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
12624 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
12625 wxString
const &arg9_defvalue
= wxPyRadioButtonNameStr
;
12626 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
12628 bool temp4
= False
;
12631 bool temp9
= False
;
12632 PyObject
* obj0
= 0 ;
12633 PyObject
* obj1
= 0 ;
12634 PyObject
* obj2
= 0 ;
12635 PyObject
* obj3
= 0 ;
12636 PyObject
* obj4
= 0 ;
12637 PyObject
* obj5
= 0 ;
12638 PyObject
* obj6
= 0 ;
12639 PyObject
* obj7
= 0 ;
12640 PyObject
* obj8
= 0 ;
12641 char *kwnames
[] = {
12642 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
12645 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:RadioButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
12646 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioButton
,
12647 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12648 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
12649 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12651 arg3
= (int) SWIG_AsInt(obj2
);
12652 if (PyErr_Occurred()) SWIG_fail
;
12656 arg4
= wxString_in_helper(obj3
);
12657 if (arg4
== NULL
) SWIG_fail
;
12664 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
12670 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
12674 arg7
= (long) SWIG_AsLong(obj6
);
12675 if (PyErr_Occurred()) SWIG_fail
;
12678 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
12679 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12681 if (arg8
== NULL
) {
12682 PyErr_SetString(PyExc_TypeError
,"null reference");
12688 arg9
= wxString_in_helper(obj8
);
12689 if (arg9
== NULL
) SWIG_fail
;
12694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12695 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
12697 wxPyEndAllowThreads(__tstate
);
12698 if (PyErr_Occurred()) SWIG_fail
;
12701 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12725 static PyObject
*_wrap_RadioButton_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12726 PyObject
*resultobj
;
12727 wxRadioButton
*arg1
= (wxRadioButton
*) 0 ;
12729 PyObject
* obj0
= 0 ;
12730 char *kwnames
[] = {
12731 (char *) "self", NULL
12734 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioButton_GetValue",kwnames
,&obj0
)) goto fail
;
12735 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioButton
,
12736 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12739 result
= (bool)(arg1
)->GetValue();
12741 wxPyEndAllowThreads(__tstate
);
12742 if (PyErr_Occurred()) SWIG_fail
;
12745 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12753 static PyObject
*_wrap_RadioButton_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12754 PyObject
*resultobj
;
12755 wxRadioButton
*arg1
= (wxRadioButton
*) 0 ;
12757 PyObject
* obj0
= 0 ;
12758 PyObject
* obj1
= 0 ;
12759 char *kwnames
[] = {
12760 (char *) "self",(char *) "value", NULL
12763 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioButton_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
12764 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioButton
,
12765 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12766 arg2
= (bool) SWIG_AsBool(obj1
);
12767 if (PyErr_Occurred()) SWIG_fail
;
12769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12770 (arg1
)->SetValue(arg2
);
12772 wxPyEndAllowThreads(__tstate
);
12773 if (PyErr_Occurred()) SWIG_fail
;
12775 Py_INCREF(Py_None
); resultobj
= Py_None
;
12782 static PyObject
*_wrap_RadioButton_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12783 PyObject
*resultobj
;
12784 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
12785 wxVisualAttributes result
;
12786 PyObject
* obj0
= 0 ;
12787 char *kwnames
[] = {
12788 (char *) "variant", NULL
12791 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:RadioButton_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
12793 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
12794 if (PyErr_Occurred()) SWIG_fail
;
12797 if (!wxPyCheckForApp()) SWIG_fail
;
12798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12799 result
= wxRadioButton::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
12801 wxPyEndAllowThreads(__tstate
);
12802 if (PyErr_Occurred()) SWIG_fail
;
12805 wxVisualAttributes
* resultptr
;
12806 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
12807 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
12815 static PyObject
* RadioButton_swigregister(PyObject
*self
, PyObject
*args
) {
12817 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12818 SWIG_TypeClientData(SWIGTYPE_p_wxRadioButton
, obj
);
12820 return Py_BuildValue((char *)"");
12822 static int _wrap_SliderNameStr_set(PyObject
*_val
) {
12823 PyErr_SetString(PyExc_TypeError
,"Variable SliderNameStr is read-only.");
12828 static PyObject
*_wrap_SliderNameStr_get() {
12833 pyobj
= PyUnicode_FromWideChar((&wxPySliderNameStr
)->c_str(), (&wxPySliderNameStr
)->Len());
12835 pyobj
= PyString_FromStringAndSize((&wxPySliderNameStr
)->c_str(), (&wxPySliderNameStr
)->Len());
12842 static PyObject
*_wrap_new_Slider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12843 PyObject
*resultobj
;
12844 wxWindow
*arg1
= (wxWindow
*) 0 ;
12845 int arg2
= (int) -1 ;
12846 int arg3
= (int) 0 ;
12847 int arg4
= (int) 0 ;
12848 int arg5
= (int) 100 ;
12849 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
12850 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
12851 wxSize
const &arg7_defvalue
= wxDefaultSize
;
12852 wxSize
*arg7
= (wxSize
*) &arg7_defvalue
;
12853 long arg8
= (long) wxSL_HORIZONTAL
;
12854 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
12855 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
12856 wxString
const &arg10_defvalue
= wxPySliderNameStr
;
12857 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
12861 bool temp10
= False
;
12862 PyObject
* obj0
= 0 ;
12863 PyObject
* obj1
= 0 ;
12864 PyObject
* obj2
= 0 ;
12865 PyObject
* obj3
= 0 ;
12866 PyObject
* obj4
= 0 ;
12867 PyObject
* obj5
= 0 ;
12868 PyObject
* obj6
= 0 ;
12869 PyObject
* obj7
= 0 ;
12870 PyObject
* obj8
= 0 ;
12871 PyObject
* obj9
= 0 ;
12872 char *kwnames
[] = {
12873 (char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
12876 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOOO:new_Slider",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
12877 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
12878 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12880 arg2
= (int) SWIG_AsInt(obj1
);
12881 if (PyErr_Occurred()) SWIG_fail
;
12884 arg3
= (int) SWIG_AsInt(obj2
);
12885 if (PyErr_Occurred()) SWIG_fail
;
12888 arg4
= (int) SWIG_AsInt(obj3
);
12889 if (PyErr_Occurred()) SWIG_fail
;
12892 arg5
= (int) SWIG_AsInt(obj4
);
12893 if (PyErr_Occurred()) SWIG_fail
;
12898 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
12904 if ( ! wxSize_helper(obj6
, &arg7
)) SWIG_fail
;
12908 arg8
= (long) SWIG_AsLong(obj7
);
12909 if (PyErr_Occurred()) SWIG_fail
;
12912 if ((SWIG_ConvertPtr(obj8
,(void **)(&arg9
),SWIGTYPE_p_wxValidator
,
12913 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12915 if (arg9
== NULL
) {
12916 PyErr_SetString(PyExc_TypeError
,"null reference");
12922 arg10
= wxString_in_helper(obj9
);
12923 if (arg10
== NULL
) SWIG_fail
;
12928 if (!wxPyCheckForApp()) SWIG_fail
;
12929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12930 result
= (wxSlider
*)new wxSlider(arg1
,arg2
,arg3
,arg4
,arg5
,(wxPoint
const &)*arg6
,(wxSize
const &)*arg7
,arg8
,(wxValidator
const &)*arg9
,(wxString
const &)*arg10
);
12932 wxPyEndAllowThreads(__tstate
);
12933 if (PyErr_Occurred()) SWIG_fail
;
12935 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSlider
, 1);
12950 static PyObject
*_wrap_new_PreSlider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12951 PyObject
*resultobj
;
12953 char *kwnames
[] = {
12957 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSlider",kwnames
)) goto fail
;
12959 if (!wxPyCheckForApp()) SWIG_fail
;
12960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12961 result
= (wxSlider
*)new wxSlider();
12963 wxPyEndAllowThreads(__tstate
);
12964 if (PyErr_Occurred()) SWIG_fail
;
12966 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSlider
, 1);
12973 static PyObject
*_wrap_Slider_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12974 PyObject
*resultobj
;
12975 wxSlider
*arg1
= (wxSlider
*) 0 ;
12976 wxWindow
*arg2
= (wxWindow
*) 0 ;
12977 int arg3
= (int) -1 ;
12978 int arg4
= (int) 0 ;
12979 int arg5
= (int) 0 ;
12980 int arg6
= (int) 100 ;
12981 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
12982 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
12983 wxSize
const &arg8_defvalue
= wxDefaultSize
;
12984 wxSize
*arg8
= (wxSize
*) &arg8_defvalue
;
12985 long arg9
= (long) wxSL_HORIZONTAL
;
12986 wxValidator
const &arg10_defvalue
= wxDefaultValidator
;
12987 wxValidator
*arg10
= (wxValidator
*) &arg10_defvalue
;
12988 wxString
const &arg11_defvalue
= wxPySliderNameStr
;
12989 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
12993 bool temp11
= False
;
12994 PyObject
* obj0
= 0 ;
12995 PyObject
* obj1
= 0 ;
12996 PyObject
* obj2
= 0 ;
12997 PyObject
* obj3
= 0 ;
12998 PyObject
* obj4
= 0 ;
12999 PyObject
* obj5
= 0 ;
13000 PyObject
* obj6
= 0 ;
13001 PyObject
* obj7
= 0 ;
13002 PyObject
* obj8
= 0 ;
13003 PyObject
* obj9
= 0 ;
13004 PyObject
* obj10
= 0 ;
13005 char *kwnames
[] = {
13006 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
13009 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOOO:Slider_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) goto fail
;
13010 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13011 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13012 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
13013 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13015 arg3
= (int) SWIG_AsInt(obj2
);
13016 if (PyErr_Occurred()) SWIG_fail
;
13019 arg4
= (int) SWIG_AsInt(obj3
);
13020 if (PyErr_Occurred()) SWIG_fail
;
13023 arg5
= (int) SWIG_AsInt(obj4
);
13024 if (PyErr_Occurred()) SWIG_fail
;
13027 arg6
= (int) SWIG_AsInt(obj5
);
13028 if (PyErr_Occurred()) SWIG_fail
;
13033 if ( ! wxPoint_helper(obj6
, &arg7
)) SWIG_fail
;
13039 if ( ! wxSize_helper(obj7
, &arg8
)) SWIG_fail
;
13043 arg9
= (long) SWIG_AsLong(obj8
);
13044 if (PyErr_Occurred()) SWIG_fail
;
13047 if ((SWIG_ConvertPtr(obj9
,(void **)(&arg10
),SWIGTYPE_p_wxValidator
,
13048 SWIG_POINTER_EXCEPTION
| 0)) == -1)
13050 if (arg10
== NULL
) {
13051 PyErr_SetString(PyExc_TypeError
,"null reference");
13057 arg11
= wxString_in_helper(obj10
);
13058 if (arg11
== NULL
) SWIG_fail
;
13063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13064 result
= (bool)(arg1
)->Create(arg2
,arg3
,arg4
,arg5
,arg6
,(wxPoint
const &)*arg7
,(wxSize
const &)*arg8
,arg9
,(wxValidator
const &)*arg10
,(wxString
const &)*arg11
);
13066 wxPyEndAllowThreads(__tstate
);
13067 if (PyErr_Occurred()) SWIG_fail
;
13070 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13086 static PyObject
*_wrap_Slider_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13087 PyObject
*resultobj
;
13088 wxSlider
*arg1
= (wxSlider
*) 0 ;
13090 PyObject
* obj0
= 0 ;
13091 char *kwnames
[] = {
13092 (char *) "self", NULL
13095 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetValue",kwnames
,&obj0
)) goto fail
;
13096 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13097 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13100 result
= (int)((wxSlider
const *)arg1
)->GetValue();
13102 wxPyEndAllowThreads(__tstate
);
13103 if (PyErr_Occurred()) SWIG_fail
;
13105 resultobj
= SWIG_FromInt((int)result
);
13112 static PyObject
*_wrap_Slider_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13113 PyObject
*resultobj
;
13114 wxSlider
*arg1
= (wxSlider
*) 0 ;
13116 PyObject
* obj0
= 0 ;
13117 PyObject
* obj1
= 0 ;
13118 char *kwnames
[] = {
13119 (char *) "self",(char *) "value", NULL
13122 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
13123 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13124 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13125 arg2
= (int) SWIG_AsInt(obj1
);
13126 if (PyErr_Occurred()) SWIG_fail
;
13128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13129 (arg1
)->SetValue(arg2
);
13131 wxPyEndAllowThreads(__tstate
);
13132 if (PyErr_Occurred()) SWIG_fail
;
13134 Py_INCREF(Py_None
); resultobj
= Py_None
;
13141 static PyObject
*_wrap_Slider_SetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13142 PyObject
*resultobj
;
13143 wxSlider
*arg1
= (wxSlider
*) 0 ;
13146 PyObject
* obj0
= 0 ;
13147 PyObject
* obj1
= 0 ;
13148 PyObject
* obj2
= 0 ;
13149 char *kwnames
[] = {
13150 (char *) "self",(char *) "minValue",(char *) "maxValue", NULL
13153 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Slider_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13154 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13155 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13156 arg2
= (int) SWIG_AsInt(obj1
);
13157 if (PyErr_Occurred()) SWIG_fail
;
13158 arg3
= (int) SWIG_AsInt(obj2
);
13159 if (PyErr_Occurred()) SWIG_fail
;
13161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13162 (arg1
)->SetRange(arg2
,arg3
);
13164 wxPyEndAllowThreads(__tstate
);
13165 if (PyErr_Occurred()) SWIG_fail
;
13167 Py_INCREF(Py_None
); resultobj
= Py_None
;
13174 static PyObject
*_wrap_Slider_GetMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13175 PyObject
*resultobj
;
13176 wxSlider
*arg1
= (wxSlider
*) 0 ;
13178 PyObject
* obj0
= 0 ;
13179 char *kwnames
[] = {
13180 (char *) "self", NULL
13183 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetMin",kwnames
,&obj0
)) goto fail
;
13184 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13185 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13188 result
= (int)((wxSlider
const *)arg1
)->GetMin();
13190 wxPyEndAllowThreads(__tstate
);
13191 if (PyErr_Occurred()) SWIG_fail
;
13193 resultobj
= SWIG_FromInt((int)result
);
13200 static PyObject
*_wrap_Slider_GetMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13201 PyObject
*resultobj
;
13202 wxSlider
*arg1
= (wxSlider
*) 0 ;
13204 PyObject
* obj0
= 0 ;
13205 char *kwnames
[] = {
13206 (char *) "self", NULL
13209 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetMax",kwnames
,&obj0
)) goto fail
;
13210 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13211 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13214 result
= (int)((wxSlider
const *)arg1
)->GetMax();
13216 wxPyEndAllowThreads(__tstate
);
13217 if (PyErr_Occurred()) SWIG_fail
;
13219 resultobj
= SWIG_FromInt((int)result
);
13226 static PyObject
*_wrap_Slider_SetMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13227 PyObject
*resultobj
;
13228 wxSlider
*arg1
= (wxSlider
*) 0 ;
13230 PyObject
* obj0
= 0 ;
13231 PyObject
* obj1
= 0 ;
13232 char *kwnames
[] = {
13233 (char *) "self",(char *) "minValue", NULL
13236 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetMin",kwnames
,&obj0
,&obj1
)) goto fail
;
13237 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13238 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13239 arg2
= (int) SWIG_AsInt(obj1
);
13240 if (PyErr_Occurred()) SWIG_fail
;
13242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13243 (arg1
)->SetMin(arg2
);
13245 wxPyEndAllowThreads(__tstate
);
13246 if (PyErr_Occurred()) SWIG_fail
;
13248 Py_INCREF(Py_None
); resultobj
= Py_None
;
13255 static PyObject
*_wrap_Slider_SetMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13256 PyObject
*resultobj
;
13257 wxSlider
*arg1
= (wxSlider
*) 0 ;
13259 PyObject
* obj0
= 0 ;
13260 PyObject
* obj1
= 0 ;
13261 char *kwnames
[] = {
13262 (char *) "self",(char *) "maxValue", NULL
13265 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetMax",kwnames
,&obj0
,&obj1
)) goto fail
;
13266 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13267 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13268 arg2
= (int) SWIG_AsInt(obj1
);
13269 if (PyErr_Occurred()) SWIG_fail
;
13271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13272 (arg1
)->SetMax(arg2
);
13274 wxPyEndAllowThreads(__tstate
);
13275 if (PyErr_Occurred()) SWIG_fail
;
13277 Py_INCREF(Py_None
); resultobj
= Py_None
;
13284 static PyObject
*_wrap_Slider_SetLineSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13285 PyObject
*resultobj
;
13286 wxSlider
*arg1
= (wxSlider
*) 0 ;
13288 PyObject
* obj0
= 0 ;
13289 PyObject
* obj1
= 0 ;
13290 char *kwnames
[] = {
13291 (char *) "self",(char *) "lineSize", NULL
13294 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetLineSize",kwnames
,&obj0
,&obj1
)) goto fail
;
13295 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13296 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13297 arg2
= (int) SWIG_AsInt(obj1
);
13298 if (PyErr_Occurred()) SWIG_fail
;
13300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13301 (arg1
)->SetLineSize(arg2
);
13303 wxPyEndAllowThreads(__tstate
);
13304 if (PyErr_Occurred()) SWIG_fail
;
13306 Py_INCREF(Py_None
); resultobj
= Py_None
;
13313 static PyObject
*_wrap_Slider_SetPageSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13314 PyObject
*resultobj
;
13315 wxSlider
*arg1
= (wxSlider
*) 0 ;
13317 PyObject
* obj0
= 0 ;
13318 PyObject
* obj1
= 0 ;
13319 char *kwnames
[] = {
13320 (char *) "self",(char *) "pageSize", NULL
13323 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetPageSize",kwnames
,&obj0
,&obj1
)) goto fail
;
13324 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13325 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13326 arg2
= (int) SWIG_AsInt(obj1
);
13327 if (PyErr_Occurred()) SWIG_fail
;
13329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13330 (arg1
)->SetPageSize(arg2
);
13332 wxPyEndAllowThreads(__tstate
);
13333 if (PyErr_Occurred()) SWIG_fail
;
13335 Py_INCREF(Py_None
); resultobj
= Py_None
;
13342 static PyObject
*_wrap_Slider_GetLineSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13343 PyObject
*resultobj
;
13344 wxSlider
*arg1
= (wxSlider
*) 0 ;
13346 PyObject
* obj0
= 0 ;
13347 char *kwnames
[] = {
13348 (char *) "self", NULL
13351 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetLineSize",kwnames
,&obj0
)) goto fail
;
13352 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13353 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13356 result
= (int)((wxSlider
const *)arg1
)->GetLineSize();
13358 wxPyEndAllowThreads(__tstate
);
13359 if (PyErr_Occurred()) SWIG_fail
;
13361 resultobj
= SWIG_FromInt((int)result
);
13368 static PyObject
*_wrap_Slider_GetPageSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13369 PyObject
*resultobj
;
13370 wxSlider
*arg1
= (wxSlider
*) 0 ;
13372 PyObject
* obj0
= 0 ;
13373 char *kwnames
[] = {
13374 (char *) "self", NULL
13377 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetPageSize",kwnames
,&obj0
)) goto fail
;
13378 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13379 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13382 result
= (int)((wxSlider
const *)arg1
)->GetPageSize();
13384 wxPyEndAllowThreads(__tstate
);
13385 if (PyErr_Occurred()) SWIG_fail
;
13387 resultobj
= SWIG_FromInt((int)result
);
13394 static PyObject
*_wrap_Slider_SetThumbLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13395 PyObject
*resultobj
;
13396 wxSlider
*arg1
= (wxSlider
*) 0 ;
13398 PyObject
* obj0
= 0 ;
13399 PyObject
* obj1
= 0 ;
13400 char *kwnames
[] = {
13401 (char *) "self",(char *) "lenPixels", NULL
13404 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetThumbLength",kwnames
,&obj0
,&obj1
)) goto fail
;
13405 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13406 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13407 arg2
= (int) SWIG_AsInt(obj1
);
13408 if (PyErr_Occurred()) SWIG_fail
;
13410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13411 (arg1
)->SetThumbLength(arg2
);
13413 wxPyEndAllowThreads(__tstate
);
13414 if (PyErr_Occurred()) SWIG_fail
;
13416 Py_INCREF(Py_None
); resultobj
= Py_None
;
13423 static PyObject
*_wrap_Slider_GetThumbLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13424 PyObject
*resultobj
;
13425 wxSlider
*arg1
= (wxSlider
*) 0 ;
13427 PyObject
* obj0
= 0 ;
13428 char *kwnames
[] = {
13429 (char *) "self", NULL
13432 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetThumbLength",kwnames
,&obj0
)) goto fail
;
13433 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13434 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13437 result
= (int)((wxSlider
const *)arg1
)->GetThumbLength();
13439 wxPyEndAllowThreads(__tstate
);
13440 if (PyErr_Occurred()) SWIG_fail
;
13442 resultobj
= SWIG_FromInt((int)result
);
13449 static PyObject
*_wrap_Slider_SetTickFreq(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13450 PyObject
*resultobj
;
13451 wxSlider
*arg1
= (wxSlider
*) 0 ;
13453 int arg3
= (int) 1 ;
13454 PyObject
* obj0
= 0 ;
13455 PyObject
* obj1
= 0 ;
13456 PyObject
* obj2
= 0 ;
13457 char *kwnames
[] = {
13458 (char *) "self",(char *) "n",(char *) "pos", NULL
13461 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Slider_SetTickFreq",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13462 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13463 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13464 arg2
= (int) SWIG_AsInt(obj1
);
13465 if (PyErr_Occurred()) SWIG_fail
;
13467 arg3
= (int) SWIG_AsInt(obj2
);
13468 if (PyErr_Occurred()) SWIG_fail
;
13471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13472 (arg1
)->SetTickFreq(arg2
,arg3
);
13474 wxPyEndAllowThreads(__tstate
);
13475 if (PyErr_Occurred()) SWIG_fail
;
13477 Py_INCREF(Py_None
); resultobj
= Py_None
;
13484 static PyObject
*_wrap_Slider_GetTickFreq(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13485 PyObject
*resultobj
;
13486 wxSlider
*arg1
= (wxSlider
*) 0 ;
13488 PyObject
* obj0
= 0 ;
13489 char *kwnames
[] = {
13490 (char *) "self", NULL
13493 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetTickFreq",kwnames
,&obj0
)) goto fail
;
13494 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13495 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13498 result
= (int)((wxSlider
const *)arg1
)->GetTickFreq();
13500 wxPyEndAllowThreads(__tstate
);
13501 if (PyErr_Occurred()) SWIG_fail
;
13503 resultobj
= SWIG_FromInt((int)result
);
13510 static PyObject
*_wrap_Slider_ClearTicks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13511 PyObject
*resultobj
;
13512 wxSlider
*arg1
= (wxSlider
*) 0 ;
13513 PyObject
* obj0
= 0 ;
13514 char *kwnames
[] = {
13515 (char *) "self", NULL
13518 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_ClearTicks",kwnames
,&obj0
)) goto fail
;
13519 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13520 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13523 (arg1
)->ClearTicks();
13525 wxPyEndAllowThreads(__tstate
);
13526 if (PyErr_Occurred()) SWIG_fail
;
13528 Py_INCREF(Py_None
); resultobj
= Py_None
;
13535 static PyObject
*_wrap_Slider_SetTick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13536 PyObject
*resultobj
;
13537 wxSlider
*arg1
= (wxSlider
*) 0 ;
13539 PyObject
* obj0
= 0 ;
13540 PyObject
* obj1
= 0 ;
13541 char *kwnames
[] = {
13542 (char *) "self",(char *) "tickPos", NULL
13545 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetTick",kwnames
,&obj0
,&obj1
)) goto fail
;
13546 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13547 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13548 arg2
= (int) SWIG_AsInt(obj1
);
13549 if (PyErr_Occurred()) SWIG_fail
;
13551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13552 (arg1
)->SetTick(arg2
);
13554 wxPyEndAllowThreads(__tstate
);
13555 if (PyErr_Occurred()) SWIG_fail
;
13557 Py_INCREF(Py_None
); resultobj
= Py_None
;
13564 static PyObject
*_wrap_Slider_ClearSel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13565 PyObject
*resultobj
;
13566 wxSlider
*arg1
= (wxSlider
*) 0 ;
13567 PyObject
* obj0
= 0 ;
13568 char *kwnames
[] = {
13569 (char *) "self", NULL
13572 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_ClearSel",kwnames
,&obj0
)) goto fail
;
13573 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13574 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13577 (arg1
)->ClearSel();
13579 wxPyEndAllowThreads(__tstate
);
13580 if (PyErr_Occurred()) SWIG_fail
;
13582 Py_INCREF(Py_None
); resultobj
= Py_None
;
13589 static PyObject
*_wrap_Slider_GetSelEnd(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13590 PyObject
*resultobj
;
13591 wxSlider
*arg1
= (wxSlider
*) 0 ;
13593 PyObject
* obj0
= 0 ;
13594 char *kwnames
[] = {
13595 (char *) "self", NULL
13598 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetSelEnd",kwnames
,&obj0
)) goto fail
;
13599 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13600 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13603 result
= (int)((wxSlider
const *)arg1
)->GetSelEnd();
13605 wxPyEndAllowThreads(__tstate
);
13606 if (PyErr_Occurred()) SWIG_fail
;
13608 resultobj
= SWIG_FromInt((int)result
);
13615 static PyObject
*_wrap_Slider_GetSelStart(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13616 PyObject
*resultobj
;
13617 wxSlider
*arg1
= (wxSlider
*) 0 ;
13619 PyObject
* obj0
= 0 ;
13620 char *kwnames
[] = {
13621 (char *) "self", NULL
13624 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetSelStart",kwnames
,&obj0
)) goto fail
;
13625 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13626 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13629 result
= (int)((wxSlider
const *)arg1
)->GetSelStart();
13631 wxPyEndAllowThreads(__tstate
);
13632 if (PyErr_Occurred()) SWIG_fail
;
13634 resultobj
= SWIG_FromInt((int)result
);
13641 static PyObject
*_wrap_Slider_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13642 PyObject
*resultobj
;
13643 wxSlider
*arg1
= (wxSlider
*) 0 ;
13646 PyObject
* obj0
= 0 ;
13647 PyObject
* obj1
= 0 ;
13648 PyObject
* obj2
= 0 ;
13649 char *kwnames
[] = {
13650 (char *) "self",(char *) "min",(char *) "max", NULL
13653 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Slider_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13654 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13655 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13656 arg2
= (int) SWIG_AsInt(obj1
);
13657 if (PyErr_Occurred()) SWIG_fail
;
13658 arg3
= (int) SWIG_AsInt(obj2
);
13659 if (PyErr_Occurred()) SWIG_fail
;
13661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13662 (arg1
)->SetSelection(arg2
,arg3
);
13664 wxPyEndAllowThreads(__tstate
);
13665 if (PyErr_Occurred()) SWIG_fail
;
13667 Py_INCREF(Py_None
); resultobj
= Py_None
;
13674 static PyObject
*_wrap_Slider_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13675 PyObject
*resultobj
;
13676 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
13677 wxVisualAttributes result
;
13678 PyObject
* obj0
= 0 ;
13679 char *kwnames
[] = {
13680 (char *) "variant", NULL
13683 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Slider_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
13685 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
13686 if (PyErr_Occurred()) SWIG_fail
;
13689 if (!wxPyCheckForApp()) SWIG_fail
;
13690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13691 result
= wxSlider::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
13693 wxPyEndAllowThreads(__tstate
);
13694 if (PyErr_Occurred()) SWIG_fail
;
13697 wxVisualAttributes
* resultptr
;
13698 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
13699 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
13707 static PyObject
* Slider_swigregister(PyObject
*self
, PyObject
*args
) {
13709 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13710 SWIG_TypeClientData(SWIGTYPE_p_wxSlider
, obj
);
13712 return Py_BuildValue((char *)"");
13714 static int _wrap_ToggleButtonNameStr_set(PyObject
*_val
) {
13715 PyErr_SetString(PyExc_TypeError
,"Variable ToggleButtonNameStr is read-only.");
13720 static PyObject
*_wrap_ToggleButtonNameStr_get() {
13725 pyobj
= PyUnicode_FromWideChar((&wxPyToggleButtonNameStr
)->c_str(), (&wxPyToggleButtonNameStr
)->Len());
13727 pyobj
= PyString_FromStringAndSize((&wxPyToggleButtonNameStr
)->c_str(), (&wxPyToggleButtonNameStr
)->Len());
13734 static PyObject
*_wrap_new_ToggleButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13735 PyObject
*resultobj
;
13736 wxWindow
*arg1
= (wxWindow
*) 0 ;
13737 int arg2
= (int) -1 ;
13738 wxString
const &arg3_defvalue
= wxPyEmptyString
;
13739 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
13740 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
13741 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
13742 wxSize
const &arg5_defvalue
= wxDefaultSize
;
13743 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
13744 long arg6
= (long) 0 ;
13745 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
13746 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
13747 wxString
const &arg8_defvalue
= wxPyToggleButtonNameStr
;
13748 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
13749 wxToggleButton
*result
;
13750 bool temp3
= False
;
13753 bool temp8
= False
;
13754 PyObject
* obj0
= 0 ;
13755 PyObject
* obj1
= 0 ;
13756 PyObject
* obj2
= 0 ;
13757 PyObject
* obj3
= 0 ;
13758 PyObject
* obj4
= 0 ;
13759 PyObject
* obj5
= 0 ;
13760 PyObject
* obj6
= 0 ;
13761 PyObject
* obj7
= 0 ;
13762 char *kwnames
[] = {
13763 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
13766 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_ToggleButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
13767 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
13768 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13770 arg2
= (int) SWIG_AsInt(obj1
);
13771 if (PyErr_Occurred()) SWIG_fail
;
13775 arg3
= wxString_in_helper(obj2
);
13776 if (arg3
== NULL
) SWIG_fail
;
13783 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
13789 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
13793 arg6
= (long) SWIG_AsLong(obj5
);
13794 if (PyErr_Occurred()) SWIG_fail
;
13797 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
13798 SWIG_POINTER_EXCEPTION
| 0)) == -1)
13800 if (arg7
== NULL
) {
13801 PyErr_SetString(PyExc_TypeError
,"null reference");
13807 arg8
= wxString_in_helper(obj7
);
13808 if (arg8
== NULL
) SWIG_fail
;
13813 if (!wxPyCheckForApp()) SWIG_fail
;
13814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13815 result
= (wxToggleButton
*)new wxToggleButton(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
13817 wxPyEndAllowThreads(__tstate
);
13818 if (PyErr_Occurred()) SWIG_fail
;
13820 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxToggleButton
, 1);
13843 static PyObject
*_wrap_new_PreToggleButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13844 PyObject
*resultobj
;
13845 wxToggleButton
*result
;
13846 char *kwnames
[] = {
13850 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreToggleButton",kwnames
)) goto fail
;
13852 if (!wxPyCheckForApp()) SWIG_fail
;
13853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13854 result
= (wxToggleButton
*)new wxToggleButton();
13856 wxPyEndAllowThreads(__tstate
);
13857 if (PyErr_Occurred()) SWIG_fail
;
13859 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxToggleButton
, 1);
13866 static PyObject
*_wrap_ToggleButton_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13867 PyObject
*resultobj
;
13868 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
13869 wxWindow
*arg2
= (wxWindow
*) 0 ;
13870 int arg3
= (int) -1 ;
13871 wxString
const &arg4_defvalue
= wxPyEmptyString
;
13872 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
13873 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
13874 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
13875 wxSize
const &arg6_defvalue
= wxDefaultSize
;
13876 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
13877 long arg7
= (long) 0 ;
13878 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
13879 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
13880 wxString
const &arg9_defvalue
= wxPyToggleButtonNameStr
;
13881 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
13883 bool temp4
= False
;
13886 bool temp9
= False
;
13887 PyObject
* obj0
= 0 ;
13888 PyObject
* obj1
= 0 ;
13889 PyObject
* obj2
= 0 ;
13890 PyObject
* obj3
= 0 ;
13891 PyObject
* obj4
= 0 ;
13892 PyObject
* obj5
= 0 ;
13893 PyObject
* obj6
= 0 ;
13894 PyObject
* obj7
= 0 ;
13895 PyObject
* obj8
= 0 ;
13896 char *kwnames
[] = {
13897 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
13900 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:ToggleButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
13901 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToggleButton
,
13902 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13903 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
13904 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13906 arg3
= (int) SWIG_AsInt(obj2
);
13907 if (PyErr_Occurred()) SWIG_fail
;
13911 arg4
= wxString_in_helper(obj3
);
13912 if (arg4
== NULL
) SWIG_fail
;
13919 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
13925 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
13929 arg7
= (long) SWIG_AsLong(obj6
);
13930 if (PyErr_Occurred()) SWIG_fail
;
13933 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
13934 SWIG_POINTER_EXCEPTION
| 0)) == -1)
13936 if (arg8
== NULL
) {
13937 PyErr_SetString(PyExc_TypeError
,"null reference");
13943 arg9
= wxString_in_helper(obj8
);
13944 if (arg9
== NULL
) SWIG_fail
;
13949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13950 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
13952 wxPyEndAllowThreads(__tstate
);
13953 if (PyErr_Occurred()) SWIG_fail
;
13956 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13980 static PyObject
*_wrap_ToggleButton_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13981 PyObject
*resultobj
;
13982 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
13984 PyObject
* obj0
= 0 ;
13985 PyObject
* obj1
= 0 ;
13986 char *kwnames
[] = {
13987 (char *) "self",(char *) "value", NULL
13990 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToggleButton_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
13991 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToggleButton
,
13992 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13993 arg2
= (bool) SWIG_AsBool(obj1
);
13994 if (PyErr_Occurred()) SWIG_fail
;
13996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13997 (arg1
)->SetValue(arg2
);
13999 wxPyEndAllowThreads(__tstate
);
14000 if (PyErr_Occurred()) SWIG_fail
;
14002 Py_INCREF(Py_None
); resultobj
= Py_None
;
14009 static PyObject
*_wrap_ToggleButton_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14010 PyObject
*resultobj
;
14011 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
14013 PyObject
* obj0
= 0 ;
14014 char *kwnames
[] = {
14015 (char *) "self", NULL
14018 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToggleButton_GetValue",kwnames
,&obj0
)) goto fail
;
14019 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToggleButton
,
14020 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14023 result
= (bool)((wxToggleButton
const *)arg1
)->GetValue();
14025 wxPyEndAllowThreads(__tstate
);
14026 if (PyErr_Occurred()) SWIG_fail
;
14029 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14037 static PyObject
*_wrap_ToggleButton_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14038 PyObject
*resultobj
;
14039 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
14040 wxString
*arg2
= 0 ;
14041 bool temp2
= False
;
14042 PyObject
* obj0
= 0 ;
14043 PyObject
* obj1
= 0 ;
14044 char *kwnames
[] = {
14045 (char *) "self",(char *) "label", NULL
14048 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToggleButton_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
14049 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToggleButton
,
14050 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14052 arg2
= wxString_in_helper(obj1
);
14053 if (arg2
== NULL
) SWIG_fail
;
14057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14058 (arg1
)->SetLabel((wxString
const &)*arg2
);
14060 wxPyEndAllowThreads(__tstate
);
14061 if (PyErr_Occurred()) SWIG_fail
;
14063 Py_INCREF(Py_None
); resultobj
= Py_None
;
14078 static PyObject
*_wrap_ToggleButton_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14079 PyObject
*resultobj
;
14080 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
14081 wxVisualAttributes result
;
14082 PyObject
* obj0
= 0 ;
14083 char *kwnames
[] = {
14084 (char *) "variant", NULL
14087 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ToggleButton_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
14089 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
14090 if (PyErr_Occurred()) SWIG_fail
;
14093 if (!wxPyCheckForApp()) SWIG_fail
;
14094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14095 result
= wxToggleButton::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
14097 wxPyEndAllowThreads(__tstate
);
14098 if (PyErr_Occurred()) SWIG_fail
;
14101 wxVisualAttributes
* resultptr
;
14102 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
14103 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
14111 static PyObject
* ToggleButton_swigregister(PyObject
*self
, PyObject
*args
) {
14113 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14114 SWIG_TypeClientData(SWIGTYPE_p_wxToggleButton
, obj
);
14116 return Py_BuildValue((char *)"");
14118 static int _wrap_NOTEBOOK_NAME_set(PyObject
*_val
) {
14119 PyErr_SetString(PyExc_TypeError
,"Variable NOTEBOOK_NAME is read-only.");
14124 static PyObject
*_wrap_NOTEBOOK_NAME_get() {
14129 pyobj
= PyUnicode_FromWideChar((&wxPyNOTEBOOK_NAME
)->c_str(), (&wxPyNOTEBOOK_NAME
)->Len());
14131 pyobj
= PyString_FromStringAndSize((&wxPyNOTEBOOK_NAME
)->c_str(), (&wxPyNOTEBOOK_NAME
)->Len());
14138 static PyObject
*_wrap_BookCtrl_GetPageCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14139 PyObject
*resultobj
;
14140 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14142 PyObject
* obj0
= 0 ;
14143 char *kwnames
[] = {
14144 (char *) "self", NULL
14147 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrl_GetPageCount",kwnames
,&obj0
)) goto fail
;
14148 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14149 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14152 result
= (size_t)((wxBookCtrl
const *)arg1
)->GetPageCount();
14154 wxPyEndAllowThreads(__tstate
);
14155 if (PyErr_Occurred()) SWIG_fail
;
14157 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
14164 static PyObject
*_wrap_BookCtrl_GetPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14165 PyObject
*resultobj
;
14166 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14169 PyObject
* obj0
= 0 ;
14170 PyObject
* obj1
= 0 ;
14171 char *kwnames
[] = {
14172 (char *) "self",(char *) "n", NULL
14175 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_GetPage",kwnames
,&obj0
,&obj1
)) goto fail
;
14176 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14177 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14178 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
14179 if (PyErr_Occurred()) SWIG_fail
;
14181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14182 result
= (wxWindow
*)(arg1
)->GetPage(arg2
);
14184 wxPyEndAllowThreads(__tstate
);
14185 if (PyErr_Occurred()) SWIG_fail
;
14188 resultobj
= wxPyMake_wxObject(result
, 0);
14196 static PyObject
*_wrap_BookCtrl_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14197 PyObject
*resultobj
;
14198 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14200 PyObject
* obj0
= 0 ;
14201 char *kwnames
[] = {
14202 (char *) "self", NULL
14205 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrl_GetSelection",kwnames
,&obj0
)) goto fail
;
14206 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14207 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14210 result
= (int)((wxBookCtrl
const *)arg1
)->GetSelection();
14212 wxPyEndAllowThreads(__tstate
);
14213 if (PyErr_Occurred()) SWIG_fail
;
14215 resultobj
= SWIG_FromInt((int)result
);
14222 static PyObject
*_wrap_BookCtrl_SetPageText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14223 PyObject
*resultobj
;
14224 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14226 wxString
*arg3
= 0 ;
14228 bool temp3
= False
;
14229 PyObject
* obj0
= 0 ;
14230 PyObject
* obj1
= 0 ;
14231 PyObject
* obj2
= 0 ;
14232 char *kwnames
[] = {
14233 (char *) "self",(char *) "n",(char *) "strText", NULL
14236 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BookCtrl_SetPageText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14237 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14238 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14239 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
14240 if (PyErr_Occurred()) SWIG_fail
;
14242 arg3
= wxString_in_helper(obj2
);
14243 if (arg3
== NULL
) SWIG_fail
;
14247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14248 result
= (bool)(arg1
)->SetPageText(arg2
,(wxString
const &)*arg3
);
14250 wxPyEndAllowThreads(__tstate
);
14251 if (PyErr_Occurred()) SWIG_fail
;
14254 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14270 static PyObject
*_wrap_BookCtrl_GetPageText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14271 PyObject
*resultobj
;
14272 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14275 PyObject
* obj0
= 0 ;
14276 PyObject
* obj1
= 0 ;
14277 char *kwnames
[] = {
14278 (char *) "self",(char *) "n", NULL
14281 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_GetPageText",kwnames
,&obj0
,&obj1
)) goto fail
;
14282 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14283 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14284 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
14285 if (PyErr_Occurred()) SWIG_fail
;
14287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14288 result
= ((wxBookCtrl
const *)arg1
)->GetPageText(arg2
);
14290 wxPyEndAllowThreads(__tstate
);
14291 if (PyErr_Occurred()) SWIG_fail
;
14295 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14297 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14306 static PyObject
*_wrap_BookCtrl_SetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14307 PyObject
*resultobj
;
14308 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14309 wxImageList
*arg2
= (wxImageList
*) 0 ;
14310 PyObject
* obj0
= 0 ;
14311 PyObject
* obj1
= 0 ;
14312 char *kwnames
[] = {
14313 (char *) "self",(char *) "imageList", NULL
14316 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_SetImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
14317 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14318 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14319 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImageList
,
14320 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14323 (arg1
)->SetImageList(arg2
);
14325 wxPyEndAllowThreads(__tstate
);
14326 if (PyErr_Occurred()) SWIG_fail
;
14328 Py_INCREF(Py_None
); resultobj
= Py_None
;
14335 static PyObject
*_wrap_BookCtrl_AssignImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14336 PyObject
*resultobj
;
14337 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14338 wxImageList
*arg2
= (wxImageList
*) 0 ;
14339 PyObject
* obj0
= 0 ;
14340 PyObject
* obj1
= 0 ;
14341 char *kwnames
[] = {
14342 (char *) "self",(char *) "imageList", NULL
14345 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_AssignImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
14346 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14347 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14348 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImageList
,
14349 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
14351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14352 (arg1
)->AssignImageList(arg2
);
14354 wxPyEndAllowThreads(__tstate
);
14355 if (PyErr_Occurred()) SWIG_fail
;
14357 Py_INCREF(Py_None
); resultobj
= Py_None
;
14364 static PyObject
*_wrap_BookCtrl_GetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14365 PyObject
*resultobj
;
14366 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14367 wxImageList
*result
;
14368 PyObject
* obj0
= 0 ;
14369 char *kwnames
[] = {
14370 (char *) "self", NULL
14373 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrl_GetImageList",kwnames
,&obj0
)) goto fail
;
14374 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14375 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14378 result
= (wxImageList
*)((wxBookCtrl
const *)arg1
)->GetImageList();
14380 wxPyEndAllowThreads(__tstate
);
14381 if (PyErr_Occurred()) SWIG_fail
;
14384 resultobj
= wxPyMake_wxObject(result
, 0);
14392 static PyObject
*_wrap_BookCtrl_GetPageImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14393 PyObject
*resultobj
;
14394 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14397 PyObject
* obj0
= 0 ;
14398 PyObject
* obj1
= 0 ;
14399 char *kwnames
[] = {
14400 (char *) "self",(char *) "n", NULL
14403 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_GetPageImage",kwnames
,&obj0
,&obj1
)) goto fail
;
14404 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14405 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14406 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
14407 if (PyErr_Occurred()) SWIG_fail
;
14409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14410 result
= (int)((wxBookCtrl
const *)arg1
)->GetPageImage(arg2
);
14412 wxPyEndAllowThreads(__tstate
);
14413 if (PyErr_Occurred()) SWIG_fail
;
14415 resultobj
= SWIG_FromInt((int)result
);
14422 static PyObject
*_wrap_BookCtrl_SetPageImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14423 PyObject
*resultobj
;
14424 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14428 PyObject
* obj0
= 0 ;
14429 PyObject
* obj1
= 0 ;
14430 PyObject
* obj2
= 0 ;
14431 char *kwnames
[] = {
14432 (char *) "self",(char *) "n",(char *) "imageId", NULL
14435 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BookCtrl_SetPageImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14436 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14437 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14438 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
14439 if (PyErr_Occurred()) SWIG_fail
;
14440 arg3
= (int) SWIG_AsInt(obj2
);
14441 if (PyErr_Occurred()) SWIG_fail
;
14443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14444 result
= (bool)(arg1
)->SetPageImage(arg2
,arg3
);
14446 wxPyEndAllowThreads(__tstate
);
14447 if (PyErr_Occurred()) SWIG_fail
;
14450 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14458 static PyObject
*_wrap_BookCtrl_SetPageSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14459 PyObject
*resultobj
;
14460 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14463 PyObject
* obj0
= 0 ;
14464 PyObject
* obj1
= 0 ;
14465 char *kwnames
[] = {
14466 (char *) "self",(char *) "size", NULL
14469 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_SetPageSize",kwnames
,&obj0
,&obj1
)) goto fail
;
14470 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14471 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14474 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
14477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14478 (arg1
)->SetPageSize((wxSize
const &)*arg2
);
14480 wxPyEndAllowThreads(__tstate
);
14481 if (PyErr_Occurred()) SWIG_fail
;
14483 Py_INCREF(Py_None
); resultobj
= Py_None
;
14490 static PyObject
*_wrap_BookCtrl_CalcSizeFromPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14491 PyObject
*resultobj
;
14492 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14496 PyObject
* obj0
= 0 ;
14497 PyObject
* obj1
= 0 ;
14498 char *kwnames
[] = {
14499 (char *) "self",(char *) "sizePage", NULL
14502 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_CalcSizeFromPage",kwnames
,&obj0
,&obj1
)) goto fail
;
14503 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14504 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14507 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
14510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14511 result
= ((wxBookCtrl
const *)arg1
)->CalcSizeFromPage((wxSize
const &)*arg2
);
14513 wxPyEndAllowThreads(__tstate
);
14514 if (PyErr_Occurred()) SWIG_fail
;
14517 wxSize
* resultptr
;
14518 resultptr
= new wxSize((wxSize
&) result
);
14519 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
14527 static PyObject
*_wrap_BookCtrl_DeletePage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14528 PyObject
*resultobj
;
14529 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14532 PyObject
* obj0
= 0 ;
14533 PyObject
* obj1
= 0 ;
14534 char *kwnames
[] = {
14535 (char *) "self",(char *) "n", NULL
14538 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_DeletePage",kwnames
,&obj0
,&obj1
)) goto fail
;
14539 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14540 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14541 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
14542 if (PyErr_Occurred()) SWIG_fail
;
14544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14545 result
= (bool)(arg1
)->DeletePage(arg2
);
14547 wxPyEndAllowThreads(__tstate
);
14548 if (PyErr_Occurred()) SWIG_fail
;
14551 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14559 static PyObject
*_wrap_BookCtrl_RemovePage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14560 PyObject
*resultobj
;
14561 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14564 PyObject
* obj0
= 0 ;
14565 PyObject
* obj1
= 0 ;
14566 char *kwnames
[] = {
14567 (char *) "self",(char *) "n", NULL
14570 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_RemovePage",kwnames
,&obj0
,&obj1
)) goto fail
;
14571 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14572 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14573 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
14574 if (PyErr_Occurred()) SWIG_fail
;
14576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14577 result
= (bool)(arg1
)->RemovePage(arg2
);
14579 wxPyEndAllowThreads(__tstate
);
14580 if (PyErr_Occurred()) SWIG_fail
;
14583 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14591 static PyObject
*_wrap_BookCtrl_DeleteAllPages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14592 PyObject
*resultobj
;
14593 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14595 PyObject
* obj0
= 0 ;
14596 char *kwnames
[] = {
14597 (char *) "self", NULL
14600 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrl_DeleteAllPages",kwnames
,&obj0
)) goto fail
;
14601 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14602 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14605 result
= (bool)(arg1
)->DeleteAllPages();
14607 wxPyEndAllowThreads(__tstate
);
14608 if (PyErr_Occurred()) SWIG_fail
;
14611 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14619 static PyObject
*_wrap_BookCtrl_AddPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14620 PyObject
*resultobj
;
14621 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14622 wxWindow
*arg2
= (wxWindow
*) 0 ;
14623 wxString
*arg3
= 0 ;
14624 bool arg4
= (bool) False
;
14625 int arg5
= (int) -1 ;
14627 bool temp3
= False
;
14628 PyObject
* obj0
= 0 ;
14629 PyObject
* obj1
= 0 ;
14630 PyObject
* obj2
= 0 ;
14631 PyObject
* obj3
= 0 ;
14632 PyObject
* obj4
= 0 ;
14633 char *kwnames
[] = {
14634 (char *) "self",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
14637 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:BookCtrl_AddPage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
14638 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14639 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14640 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
14641 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14643 arg3
= wxString_in_helper(obj2
);
14644 if (arg3
== NULL
) SWIG_fail
;
14648 arg4
= (bool) SWIG_AsBool(obj3
);
14649 if (PyErr_Occurred()) SWIG_fail
;
14652 arg5
= (int) SWIG_AsInt(obj4
);
14653 if (PyErr_Occurred()) SWIG_fail
;
14656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14657 result
= (bool)(arg1
)->AddPage(arg2
,(wxString
const &)*arg3
,arg4
,arg5
);
14659 wxPyEndAllowThreads(__tstate
);
14660 if (PyErr_Occurred()) SWIG_fail
;
14663 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14679 static PyObject
*_wrap_BookCtrl_InsertPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14680 PyObject
*resultobj
;
14681 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14683 wxWindow
*arg3
= (wxWindow
*) 0 ;
14684 wxString
*arg4
= 0 ;
14685 bool arg5
= (bool) False
;
14686 int arg6
= (int) -1 ;
14688 bool temp4
= False
;
14689 PyObject
* obj0
= 0 ;
14690 PyObject
* obj1
= 0 ;
14691 PyObject
* obj2
= 0 ;
14692 PyObject
* obj3
= 0 ;
14693 PyObject
* obj4
= 0 ;
14694 PyObject
* obj5
= 0 ;
14695 char *kwnames
[] = {
14696 (char *) "self",(char *) "n",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
14699 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:BookCtrl_InsertPage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
14700 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14701 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14702 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
14703 if (PyErr_Occurred()) SWIG_fail
;
14704 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
14705 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14707 arg4
= wxString_in_helper(obj3
);
14708 if (arg4
== NULL
) SWIG_fail
;
14712 arg5
= (bool) SWIG_AsBool(obj4
);
14713 if (PyErr_Occurred()) SWIG_fail
;
14716 arg6
= (int) SWIG_AsInt(obj5
);
14717 if (PyErr_Occurred()) SWIG_fail
;
14720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14721 result
= (bool)(arg1
)->InsertPage(arg2
,arg3
,(wxString
const &)*arg4
,arg5
,arg6
);
14723 wxPyEndAllowThreads(__tstate
);
14724 if (PyErr_Occurred()) SWIG_fail
;
14727 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14743 static PyObject
*_wrap_BookCtrl_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14744 PyObject
*resultobj
;
14745 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14748 PyObject
* obj0
= 0 ;
14749 PyObject
* obj1
= 0 ;
14750 char *kwnames
[] = {
14751 (char *) "self",(char *) "n", NULL
14754 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
14755 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14756 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14757 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
14758 if (PyErr_Occurred()) SWIG_fail
;
14760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14761 result
= (int)(arg1
)->SetSelection(arg2
);
14763 wxPyEndAllowThreads(__tstate
);
14764 if (PyErr_Occurred()) SWIG_fail
;
14766 resultobj
= SWIG_FromInt((int)result
);
14773 static PyObject
*_wrap_BookCtrl_AdvanceSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14774 PyObject
*resultobj
;
14775 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14776 bool arg2
= (bool) True
;
14777 PyObject
* obj0
= 0 ;
14778 PyObject
* obj1
= 0 ;
14779 char *kwnames
[] = {
14780 (char *) "self",(char *) "forward", NULL
14783 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:BookCtrl_AdvanceSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
14784 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14785 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14787 arg2
= (bool) SWIG_AsBool(obj1
);
14788 if (PyErr_Occurred()) SWIG_fail
;
14791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14792 (arg1
)->AdvanceSelection(arg2
);
14794 wxPyEndAllowThreads(__tstate
);
14795 if (PyErr_Occurred()) SWIG_fail
;
14797 Py_INCREF(Py_None
); resultobj
= Py_None
;
14804 static PyObject
*_wrap_BookCtrl_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14805 PyObject
*resultobj
;
14806 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
14807 wxVisualAttributes result
;
14808 PyObject
* obj0
= 0 ;
14809 char *kwnames
[] = {
14810 (char *) "variant", NULL
14813 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:BookCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
14815 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
14816 if (PyErr_Occurred()) SWIG_fail
;
14819 if (!wxPyCheckForApp()) SWIG_fail
;
14820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14821 result
= wxBookCtrl::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
14823 wxPyEndAllowThreads(__tstate
);
14824 if (PyErr_Occurred()) SWIG_fail
;
14827 wxVisualAttributes
* resultptr
;
14828 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
14829 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
14837 static PyObject
* BookCtrl_swigregister(PyObject
*self
, PyObject
*args
) {
14839 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14840 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrl
, obj
);
14842 return Py_BuildValue((char *)"");
14844 static PyObject
*_wrap_new_BookCtrlEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14845 PyObject
*resultobj
;
14846 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
14847 int arg2
= (int) 0 ;
14848 int arg3
= (int) -1 ;
14849 int arg4
= (int) -1 ;
14850 wxBookCtrlEvent
*result
;
14851 PyObject
* obj0
= 0 ;
14852 PyObject
* obj1
= 0 ;
14853 PyObject
* obj2
= 0 ;
14854 PyObject
* obj3
= 0 ;
14855 char *kwnames
[] = {
14856 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
14859 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_BookCtrlEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
14861 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
14862 if (PyErr_Occurred()) SWIG_fail
;
14865 arg2
= (int) SWIG_AsInt(obj1
);
14866 if (PyErr_Occurred()) SWIG_fail
;
14869 arg3
= (int) SWIG_AsInt(obj2
);
14870 if (PyErr_Occurred()) SWIG_fail
;
14873 arg4
= (int) SWIG_AsInt(obj3
);
14874 if (PyErr_Occurred()) SWIG_fail
;
14877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14878 result
= (wxBookCtrlEvent
*)new wxBookCtrlEvent(arg1
,arg2
,arg3
,arg4
);
14880 wxPyEndAllowThreads(__tstate
);
14881 if (PyErr_Occurred()) SWIG_fail
;
14883 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBookCtrlEvent
, 1);
14890 static PyObject
*_wrap_BookCtrlEvent_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14891 PyObject
*resultobj
;
14892 wxBookCtrlEvent
*arg1
= (wxBookCtrlEvent
*) 0 ;
14894 PyObject
* obj0
= 0 ;
14895 char *kwnames
[] = {
14896 (char *) "self", NULL
14899 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlEvent_GetSelection",kwnames
,&obj0
)) goto fail
;
14900 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrlEvent
,
14901 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14904 result
= (int)((wxBookCtrlEvent
const *)arg1
)->GetSelection();
14906 wxPyEndAllowThreads(__tstate
);
14907 if (PyErr_Occurred()) SWIG_fail
;
14909 resultobj
= SWIG_FromInt((int)result
);
14916 static PyObject
*_wrap_BookCtrlEvent_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14917 PyObject
*resultobj
;
14918 wxBookCtrlEvent
*arg1
= (wxBookCtrlEvent
*) 0 ;
14920 PyObject
* obj0
= 0 ;
14921 PyObject
* obj1
= 0 ;
14922 char *kwnames
[] = {
14923 (char *) "self",(char *) "nSel", NULL
14926 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlEvent_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
14927 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrlEvent
,
14928 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14929 arg2
= (int) SWIG_AsInt(obj1
);
14930 if (PyErr_Occurred()) SWIG_fail
;
14932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14933 (arg1
)->SetSelection(arg2
);
14935 wxPyEndAllowThreads(__tstate
);
14936 if (PyErr_Occurred()) SWIG_fail
;
14938 Py_INCREF(Py_None
); resultobj
= Py_None
;
14945 static PyObject
*_wrap_BookCtrlEvent_GetOldSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14946 PyObject
*resultobj
;
14947 wxBookCtrlEvent
*arg1
= (wxBookCtrlEvent
*) 0 ;
14949 PyObject
* obj0
= 0 ;
14950 char *kwnames
[] = {
14951 (char *) "self", NULL
14954 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlEvent_GetOldSelection",kwnames
,&obj0
)) goto fail
;
14955 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrlEvent
,
14956 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14959 result
= (int)((wxBookCtrlEvent
const *)arg1
)->GetOldSelection();
14961 wxPyEndAllowThreads(__tstate
);
14962 if (PyErr_Occurred()) SWIG_fail
;
14964 resultobj
= SWIG_FromInt((int)result
);
14971 static PyObject
*_wrap_BookCtrlEvent_SetOldSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14972 PyObject
*resultobj
;
14973 wxBookCtrlEvent
*arg1
= (wxBookCtrlEvent
*) 0 ;
14975 PyObject
* obj0
= 0 ;
14976 PyObject
* obj1
= 0 ;
14977 char *kwnames
[] = {
14978 (char *) "self",(char *) "nOldSel", NULL
14981 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlEvent_SetOldSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
14982 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrlEvent
,
14983 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14984 arg2
= (int) SWIG_AsInt(obj1
);
14985 if (PyErr_Occurred()) SWIG_fail
;
14987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14988 (arg1
)->SetOldSelection(arg2
);
14990 wxPyEndAllowThreads(__tstate
);
14991 if (PyErr_Occurred()) SWIG_fail
;
14993 Py_INCREF(Py_None
); resultobj
= Py_None
;
15000 static PyObject
* BookCtrlEvent_swigregister(PyObject
*self
, PyObject
*args
) {
15002 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15003 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrlEvent
, obj
);
15005 return Py_BuildValue((char *)"");
15007 static PyObject
*_wrap_new_Notebook(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15008 PyObject
*resultobj
;
15009 wxWindow
*arg1
= (wxWindow
*) 0 ;
15010 int arg2
= (int) -1 ;
15011 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
15012 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
15013 wxSize
const &arg4_defvalue
= wxDefaultSize
;
15014 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
15015 long arg5
= (long) 0 ;
15016 wxString
const &arg6_defvalue
= wxPyNOTEBOOK_NAME
;
15017 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
15018 wxNotebook
*result
;
15021 bool temp6
= False
;
15022 PyObject
* obj0
= 0 ;
15023 PyObject
* obj1
= 0 ;
15024 PyObject
* obj2
= 0 ;
15025 PyObject
* obj3
= 0 ;
15026 PyObject
* obj4
= 0 ;
15027 PyObject
* obj5
= 0 ;
15028 char *kwnames
[] = {
15029 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15032 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_Notebook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
15033 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
15034 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15036 arg2
= (int) SWIG_AsInt(obj1
);
15037 if (PyErr_Occurred()) SWIG_fail
;
15042 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
15048 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
15052 arg5
= (long) SWIG_AsLong(obj4
);
15053 if (PyErr_Occurred()) SWIG_fail
;
15057 arg6
= wxString_in_helper(obj5
);
15058 if (arg6
== NULL
) SWIG_fail
;
15063 if (!wxPyCheckForApp()) SWIG_fail
;
15064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15065 result
= (wxNotebook
*)new wxNotebook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
15067 wxPyEndAllowThreads(__tstate
);
15068 if (PyErr_Occurred()) SWIG_fail
;
15070 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNotebook
, 1);
15085 static PyObject
*_wrap_new_PreNotebook(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15086 PyObject
*resultobj
;
15087 wxNotebook
*result
;
15088 char *kwnames
[] = {
15092 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreNotebook",kwnames
)) goto fail
;
15094 if (!wxPyCheckForApp()) SWIG_fail
;
15095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15096 result
= (wxNotebook
*)new wxNotebook();
15098 wxPyEndAllowThreads(__tstate
);
15099 if (PyErr_Occurred()) SWIG_fail
;
15101 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNotebook
, 1);
15108 static PyObject
*_wrap_Notebook_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15109 PyObject
*resultobj
;
15110 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
15111 wxWindow
*arg2
= (wxWindow
*) 0 ;
15112 int arg3
= (int) -1 ;
15113 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
15114 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
15115 wxSize
const &arg5_defvalue
= wxDefaultSize
;
15116 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
15117 long arg6
= (long) 0 ;
15118 wxString
const &arg7_defvalue
= wxPyNOTEBOOK_NAME
;
15119 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
15123 bool temp7
= False
;
15124 PyObject
* obj0
= 0 ;
15125 PyObject
* obj1
= 0 ;
15126 PyObject
* obj2
= 0 ;
15127 PyObject
* obj3
= 0 ;
15128 PyObject
* obj4
= 0 ;
15129 PyObject
* obj5
= 0 ;
15130 PyObject
* obj6
= 0 ;
15131 char *kwnames
[] = {
15132 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15135 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:Notebook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
15136 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebook
,
15137 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15138 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
15139 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15141 arg3
= (int) SWIG_AsInt(obj2
);
15142 if (PyErr_Occurred()) SWIG_fail
;
15147 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
15153 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
15157 arg6
= (long) SWIG_AsLong(obj5
);
15158 if (PyErr_Occurred()) SWIG_fail
;
15162 arg7
= wxString_in_helper(obj6
);
15163 if (arg7
== NULL
) SWIG_fail
;
15168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15169 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
15171 wxPyEndAllowThreads(__tstate
);
15172 if (PyErr_Occurred()) SWIG_fail
;
15175 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15191 static PyObject
*_wrap_Notebook_GetRowCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15192 PyObject
*resultobj
;
15193 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
15195 PyObject
* obj0
= 0 ;
15196 char *kwnames
[] = {
15197 (char *) "self", NULL
15200 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Notebook_GetRowCount",kwnames
,&obj0
)) goto fail
;
15201 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebook
,
15202 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15205 result
= (int)((wxNotebook
const *)arg1
)->GetRowCount();
15207 wxPyEndAllowThreads(__tstate
);
15208 if (PyErr_Occurred()) SWIG_fail
;
15210 resultobj
= SWIG_FromInt((int)result
);
15217 static PyObject
*_wrap_Notebook_SetPadding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15218 PyObject
*resultobj
;
15219 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
15222 PyObject
* obj0
= 0 ;
15223 PyObject
* obj1
= 0 ;
15224 char *kwnames
[] = {
15225 (char *) "self",(char *) "padding", NULL
15228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_SetPadding",kwnames
,&obj0
,&obj1
)) goto fail
;
15229 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebook
,
15230 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15233 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
15236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15237 (arg1
)->SetPadding((wxSize
const &)*arg2
);
15239 wxPyEndAllowThreads(__tstate
);
15240 if (PyErr_Occurred()) SWIG_fail
;
15242 Py_INCREF(Py_None
); resultobj
= Py_None
;
15249 static PyObject
*_wrap_Notebook_SetTabSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15250 PyObject
*resultobj
;
15251 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
15254 PyObject
* obj0
= 0 ;
15255 PyObject
* obj1
= 0 ;
15256 char *kwnames
[] = {
15257 (char *) "self",(char *) "sz", NULL
15260 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_SetTabSize",kwnames
,&obj0
,&obj1
)) goto fail
;
15261 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebook
,
15262 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15265 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
15268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15269 (arg1
)->SetTabSize((wxSize
const &)*arg2
);
15271 wxPyEndAllowThreads(__tstate
);
15272 if (PyErr_Occurred()) SWIG_fail
;
15274 Py_INCREF(Py_None
); resultobj
= Py_None
;
15281 static PyObject
*_wrap_Notebook_HitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15282 PyObject
*resultobj
;
15283 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
15284 wxPoint
*arg2
= 0 ;
15285 long *arg3
= (long *) 0 ;
15289 PyObject
* obj0
= 0 ;
15290 PyObject
* obj1
= 0 ;
15291 char *kwnames
[] = {
15292 (char *) "self",(char *) "pt", NULL
15296 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
15297 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebook
,
15298 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15301 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
15304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15305 result
= (int)((wxNotebook
const *)arg1
)->HitTest((wxPoint
const &)*arg2
,arg3
);
15307 wxPyEndAllowThreads(__tstate
);
15308 if (PyErr_Occurred()) SWIG_fail
;
15310 resultobj
= SWIG_FromInt((int)result
);
15312 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
15313 resultobj
= t_output_helper(resultobj
,o
);
15321 static PyObject
*_wrap_Notebook_CalcSizeFromPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15322 PyObject
*resultobj
;
15323 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
15327 PyObject
* obj0
= 0 ;
15328 PyObject
* obj1
= 0 ;
15329 char *kwnames
[] = {
15330 (char *) "self",(char *) "sizePage", NULL
15333 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_CalcSizeFromPage",kwnames
,&obj0
,&obj1
)) goto fail
;
15334 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebook
,
15335 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15338 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
15341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15342 result
= ((wxNotebook
const *)arg1
)->CalcSizeFromPage((wxSize
const &)*arg2
);
15344 wxPyEndAllowThreads(__tstate
);
15345 if (PyErr_Occurred()) SWIG_fail
;
15348 wxSize
* resultptr
;
15349 resultptr
= new wxSize((wxSize
&) result
);
15350 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
15358 static PyObject
*_wrap_Notebook_ApplyThemeBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15359 PyObject
*resultobj
;
15360 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
15361 wxWindow
*arg2
= (wxWindow
*) 0 ;
15362 wxColour
*arg3
= 0 ;
15364 PyObject
* obj0
= 0 ;
15365 PyObject
* obj1
= 0 ;
15366 PyObject
* obj2
= 0 ;
15367 char *kwnames
[] = {
15368 (char *) "self",(char *) "window",(char *) "colour", NULL
15371 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Notebook_ApplyThemeBackground",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15372 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebook
,
15373 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15374 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
15375 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15378 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
15381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15382 (arg1
)->ApplyThemeBackground(arg2
,(wxColour
const &)*arg3
);
15384 wxPyEndAllowThreads(__tstate
);
15385 if (PyErr_Occurred()) SWIG_fail
;
15387 Py_INCREF(Py_None
); resultobj
= Py_None
;
15394 static PyObject
*_wrap_Notebook_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15395 PyObject
*resultobj
;
15396 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
15397 wxVisualAttributes result
;
15398 PyObject
* obj0
= 0 ;
15399 char *kwnames
[] = {
15400 (char *) "variant", NULL
15403 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Notebook_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
15405 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
15406 if (PyErr_Occurred()) SWIG_fail
;
15409 if (!wxPyCheckForApp()) SWIG_fail
;
15410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15411 result
= wxNotebook::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
15413 wxPyEndAllowThreads(__tstate
);
15414 if (PyErr_Occurred()) SWIG_fail
;
15417 wxVisualAttributes
* resultptr
;
15418 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
15419 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
15427 static PyObject
* Notebook_swigregister(PyObject
*self
, PyObject
*args
) {
15429 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15430 SWIG_TypeClientData(SWIGTYPE_p_wxNotebook
, obj
);
15432 return Py_BuildValue((char *)"");
15434 static PyObject
*_wrap_new_NotebookEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15435 PyObject
*resultobj
;
15436 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
15437 int arg2
= (int) 0 ;
15438 int arg3
= (int) -1 ;
15439 int arg4
= (int) -1 ;
15440 wxNotebookEvent
*result
;
15441 PyObject
* obj0
= 0 ;
15442 PyObject
* obj1
= 0 ;
15443 PyObject
* obj2
= 0 ;
15444 PyObject
* obj3
= 0 ;
15445 char *kwnames
[] = {
15446 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
15449 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_NotebookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
15451 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
15452 if (PyErr_Occurred()) SWIG_fail
;
15455 arg2
= (int) SWIG_AsInt(obj1
);
15456 if (PyErr_Occurred()) SWIG_fail
;
15459 arg3
= (int) SWIG_AsInt(obj2
);
15460 if (PyErr_Occurred()) SWIG_fail
;
15463 arg4
= (int) SWIG_AsInt(obj3
);
15464 if (PyErr_Occurred()) SWIG_fail
;
15467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15468 result
= (wxNotebookEvent
*)new wxNotebookEvent(arg1
,arg2
,arg3
,arg4
);
15470 wxPyEndAllowThreads(__tstate
);
15471 if (PyErr_Occurred()) SWIG_fail
;
15473 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNotebookEvent
, 1);
15480 static PyObject
* NotebookEvent_swigregister(PyObject
*self
, PyObject
*args
) {
15482 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15483 SWIG_TypeClientData(SWIGTYPE_p_wxNotebookEvent
, obj
);
15485 return Py_BuildValue((char *)"");
15487 static PyObject
*_wrap_new_Listbook(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15488 PyObject
*resultobj
;
15489 wxWindow
*arg1
= (wxWindow
*) 0 ;
15490 int arg2
= (int) -1 ;
15491 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
15492 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
15493 wxSize
const &arg4_defvalue
= wxDefaultSize
;
15494 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
15495 long arg5
= (long) 0 ;
15496 wxString
const &arg6_defvalue
= wxPyEmptyString
;
15497 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
15498 wxListbook
*result
;
15501 bool temp6
= False
;
15502 PyObject
* obj0
= 0 ;
15503 PyObject
* obj1
= 0 ;
15504 PyObject
* obj2
= 0 ;
15505 PyObject
* obj3
= 0 ;
15506 PyObject
* obj4
= 0 ;
15507 PyObject
* obj5
= 0 ;
15508 char *kwnames
[] = {
15509 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15512 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_Listbook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
15513 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
15514 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15516 arg2
= (int) SWIG_AsInt(obj1
);
15517 if (PyErr_Occurred()) SWIG_fail
;
15522 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
15528 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
15532 arg5
= (long) SWIG_AsLong(obj4
);
15533 if (PyErr_Occurred()) SWIG_fail
;
15537 arg6
= wxString_in_helper(obj5
);
15538 if (arg6
== NULL
) SWIG_fail
;
15543 if (!wxPyCheckForApp()) SWIG_fail
;
15544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15545 result
= (wxListbook
*)new wxListbook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
15547 wxPyEndAllowThreads(__tstate
);
15548 if (PyErr_Occurred()) SWIG_fail
;
15550 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListbook
, 1);
15565 static PyObject
*_wrap_new_PreListbook(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15566 PyObject
*resultobj
;
15567 wxListbook
*result
;
15568 char *kwnames
[] = {
15572 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreListbook",kwnames
)) goto fail
;
15574 if (!wxPyCheckForApp()) SWIG_fail
;
15575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15576 result
= (wxListbook
*)new wxListbook();
15578 wxPyEndAllowThreads(__tstate
);
15579 if (PyErr_Occurred()) SWIG_fail
;
15581 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListbook
, 1);
15588 static PyObject
*_wrap_Listbook_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15589 PyObject
*resultobj
;
15590 wxListbook
*arg1
= (wxListbook
*) 0 ;
15591 wxWindow
*arg2
= (wxWindow
*) 0 ;
15592 int arg3
= (int) -1 ;
15593 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
15594 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
15595 wxSize
const &arg5_defvalue
= wxDefaultSize
;
15596 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
15597 long arg6
= (long) 0 ;
15598 wxString
const &arg7_defvalue
= wxPyEmptyString
;
15599 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
15603 bool temp7
= False
;
15604 PyObject
* obj0
= 0 ;
15605 PyObject
* obj1
= 0 ;
15606 PyObject
* obj2
= 0 ;
15607 PyObject
* obj3
= 0 ;
15608 PyObject
* obj4
= 0 ;
15609 PyObject
* obj5
= 0 ;
15610 PyObject
* obj6
= 0 ;
15611 char *kwnames
[] = {
15612 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15615 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:Listbook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
15616 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListbook
,
15617 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15618 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
15619 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15621 arg3
= (int) SWIG_AsInt(obj2
);
15622 if (PyErr_Occurred()) SWIG_fail
;
15627 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
15633 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
15637 arg6
= (long) SWIG_AsLong(obj5
);
15638 if (PyErr_Occurred()) SWIG_fail
;
15642 arg7
= wxString_in_helper(obj6
);
15643 if (arg7
== NULL
) SWIG_fail
;
15648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15649 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
15651 wxPyEndAllowThreads(__tstate
);
15652 if (PyErr_Occurred()) SWIG_fail
;
15655 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15671 static PyObject
*_wrap_Listbook_IsVertical(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15672 PyObject
*resultobj
;
15673 wxListbook
*arg1
= (wxListbook
*) 0 ;
15675 PyObject
* obj0
= 0 ;
15676 char *kwnames
[] = {
15677 (char *) "self", NULL
15680 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Listbook_IsVertical",kwnames
,&obj0
)) goto fail
;
15681 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListbook
,
15682 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15685 result
= (bool)((wxListbook
const *)arg1
)->IsVertical();
15687 wxPyEndAllowThreads(__tstate
);
15688 if (PyErr_Occurred()) SWIG_fail
;
15691 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15699 static PyObject
* Listbook_swigregister(PyObject
*self
, PyObject
*args
) {
15701 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15702 SWIG_TypeClientData(SWIGTYPE_p_wxListbook
, obj
);
15704 return Py_BuildValue((char *)"");
15706 static PyObject
*_wrap_new_ListbookEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15707 PyObject
*resultobj
;
15708 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
15709 int arg2
= (int) 0 ;
15710 int arg3
= (int) -1 ;
15711 int arg4
= (int) -1 ;
15712 wxListbookEvent
*result
;
15713 PyObject
* obj0
= 0 ;
15714 PyObject
* obj1
= 0 ;
15715 PyObject
* obj2
= 0 ;
15716 PyObject
* obj3
= 0 ;
15717 char *kwnames
[] = {
15718 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
15721 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_ListbookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
15723 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
15724 if (PyErr_Occurred()) SWIG_fail
;
15727 arg2
= (int) SWIG_AsInt(obj1
);
15728 if (PyErr_Occurred()) SWIG_fail
;
15731 arg3
= (int) SWIG_AsInt(obj2
);
15732 if (PyErr_Occurred()) SWIG_fail
;
15735 arg4
= (int) SWIG_AsInt(obj3
);
15736 if (PyErr_Occurred()) SWIG_fail
;
15739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15740 result
= (wxListbookEvent
*)new wxListbookEvent(arg1
,arg2
,arg3
,arg4
);
15742 wxPyEndAllowThreads(__tstate
);
15743 if (PyErr_Occurred()) SWIG_fail
;
15745 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListbookEvent
, 1);
15752 static PyObject
* ListbookEvent_swigregister(PyObject
*self
, PyObject
*args
) {
15754 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15755 SWIG_TypeClientData(SWIGTYPE_p_wxListbookEvent
, obj
);
15757 return Py_BuildValue((char *)"");
15759 static PyObject
*_wrap_new_BookCtrlSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15760 PyObject
*resultobj
;
15761 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
15762 wxBookCtrlSizer
*result
;
15763 PyObject
* obj0
= 0 ;
15764 char *kwnames
[] = {
15765 (char *) "nb", NULL
15768 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BookCtrlSizer",kwnames
,&obj0
)) goto fail
;
15769 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
15770 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15773 result
= (wxBookCtrlSizer
*)new wxBookCtrlSizer(arg1
);
15775 wxPyEndAllowThreads(__tstate
);
15776 if (PyErr_Occurred()) SWIG_fail
;
15778 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBookCtrlSizer
, 1);
15785 static PyObject
*_wrap_BookCtrlSizer_RecalcSizes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15786 PyObject
*resultobj
;
15787 wxBookCtrlSizer
*arg1
= (wxBookCtrlSizer
*) 0 ;
15788 PyObject
* obj0
= 0 ;
15789 char *kwnames
[] = {
15790 (char *) "self", NULL
15793 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlSizer_RecalcSizes",kwnames
,&obj0
)) goto fail
;
15794 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrlSizer
,
15795 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15797 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15798 (arg1
)->RecalcSizes();
15800 wxPyEndAllowThreads(__tstate
);
15801 if (PyErr_Occurred()) SWIG_fail
;
15803 Py_INCREF(Py_None
); resultobj
= Py_None
;
15810 static PyObject
*_wrap_BookCtrlSizer_CalcMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15811 PyObject
*resultobj
;
15812 wxBookCtrlSizer
*arg1
= (wxBookCtrlSizer
*) 0 ;
15814 PyObject
* obj0
= 0 ;
15815 char *kwnames
[] = {
15816 (char *) "self", NULL
15819 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlSizer_CalcMin",kwnames
,&obj0
)) goto fail
;
15820 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrlSizer
,
15821 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15824 result
= (arg1
)->CalcMin();
15826 wxPyEndAllowThreads(__tstate
);
15827 if (PyErr_Occurred()) SWIG_fail
;
15830 wxSize
* resultptr
;
15831 resultptr
= new wxSize((wxSize
&) result
);
15832 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
15840 static PyObject
*_wrap_BookCtrlSizer_GetControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15841 PyObject
*resultobj
;
15842 wxBookCtrlSizer
*arg1
= (wxBookCtrlSizer
*) 0 ;
15843 wxBookCtrl
*result
;
15844 PyObject
* obj0
= 0 ;
15845 char *kwnames
[] = {
15846 (char *) "self", NULL
15849 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlSizer_GetControl",kwnames
,&obj0
)) goto fail
;
15850 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrlSizer
,
15851 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15854 result
= (wxBookCtrl
*)(arg1
)->GetControl();
15856 wxPyEndAllowThreads(__tstate
);
15857 if (PyErr_Occurred()) SWIG_fail
;
15859 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBookCtrl
, 0);
15866 static PyObject
* BookCtrlSizer_swigregister(PyObject
*self
, PyObject
*args
) {
15868 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15869 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrlSizer
, obj
);
15871 return Py_BuildValue((char *)"");
15873 static PyObject
*_wrap_new_NotebookSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15874 PyObject
*resultobj
;
15875 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
15876 wxNotebookSizer
*result
;
15877 PyObject
* obj0
= 0 ;
15878 char *kwnames
[] = {
15879 (char *) "nb", NULL
15882 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_NotebookSizer",kwnames
,&obj0
)) goto fail
;
15883 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebook
,
15884 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15887 result
= (wxNotebookSizer
*)new wxNotebookSizer(arg1
);
15889 wxPyEndAllowThreads(__tstate
);
15890 if (PyErr_Occurred()) SWIG_fail
;
15892 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNotebookSizer
, 1);
15899 static PyObject
*_wrap_NotebookSizer_RecalcSizes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15900 PyObject
*resultobj
;
15901 wxNotebookSizer
*arg1
= (wxNotebookSizer
*) 0 ;
15902 PyObject
* obj0
= 0 ;
15903 char *kwnames
[] = {
15904 (char *) "self", NULL
15907 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotebookSizer_RecalcSizes",kwnames
,&obj0
)) goto fail
;
15908 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebookSizer
,
15909 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15912 (arg1
)->RecalcSizes();
15914 wxPyEndAllowThreads(__tstate
);
15915 if (PyErr_Occurred()) SWIG_fail
;
15917 Py_INCREF(Py_None
); resultobj
= Py_None
;
15924 static PyObject
*_wrap_NotebookSizer_CalcMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15925 PyObject
*resultobj
;
15926 wxNotebookSizer
*arg1
= (wxNotebookSizer
*) 0 ;
15928 PyObject
* obj0
= 0 ;
15929 char *kwnames
[] = {
15930 (char *) "self", NULL
15933 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotebookSizer_CalcMin",kwnames
,&obj0
)) goto fail
;
15934 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebookSizer
,
15935 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15938 result
= (arg1
)->CalcMin();
15940 wxPyEndAllowThreads(__tstate
);
15941 if (PyErr_Occurred()) SWIG_fail
;
15944 wxSize
* resultptr
;
15945 resultptr
= new wxSize((wxSize
&) result
);
15946 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
15954 static PyObject
*_wrap_NotebookSizer_GetNotebook(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15955 PyObject
*resultobj
;
15956 wxNotebookSizer
*arg1
= (wxNotebookSizer
*) 0 ;
15957 wxNotebook
*result
;
15958 PyObject
* obj0
= 0 ;
15959 char *kwnames
[] = {
15960 (char *) "self", NULL
15963 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotebookSizer_GetNotebook",kwnames
,&obj0
)) goto fail
;
15964 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebookSizer
,
15965 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15968 result
= (wxNotebook
*)(arg1
)->GetNotebook();
15970 wxPyEndAllowThreads(__tstate
);
15971 if (PyErr_Occurred()) SWIG_fail
;
15974 resultobj
= wxPyMake_wxObject(result
, 0);
15982 static PyObject
* NotebookSizer_swigregister(PyObject
*self
, PyObject
*args
) {
15984 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15985 SWIG_TypeClientData(SWIGTYPE_p_wxNotebookSizer
, obj
);
15987 return Py_BuildValue((char *)"");
15989 static PyObject
*_wrap_ToolBarToolBase_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15990 PyObject
*resultobj
;
15991 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15993 PyObject
* obj0
= 0 ;
15994 char *kwnames
[] = {
15995 (char *) "self", NULL
15998 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetId",kwnames
,&obj0
)) goto fail
;
15999 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16000 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16003 result
= (int)(arg1
)->GetId();
16005 wxPyEndAllowThreads(__tstate
);
16006 if (PyErr_Occurred()) SWIG_fail
;
16008 resultobj
= SWIG_FromInt((int)result
);
16015 static PyObject
*_wrap_ToolBarToolBase_GetControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16016 PyObject
*resultobj
;
16017 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16019 PyObject
* obj0
= 0 ;
16020 char *kwnames
[] = {
16021 (char *) "self", NULL
16024 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetControl",kwnames
,&obj0
)) goto fail
;
16025 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16026 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16029 result
= (wxControl
*)(arg1
)->GetControl();
16031 wxPyEndAllowThreads(__tstate
);
16032 if (PyErr_Occurred()) SWIG_fail
;
16035 resultobj
= wxPyMake_wxObject(result
, 0);
16043 static PyObject
*_wrap_ToolBarToolBase_GetToolBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16044 PyObject
*resultobj
;
16045 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16046 wxToolBarBase
*result
;
16047 PyObject
* obj0
= 0 ;
16048 char *kwnames
[] = {
16049 (char *) "self", NULL
16052 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetToolBar",kwnames
,&obj0
)) goto fail
;
16053 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16054 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16057 result
= (wxToolBarBase
*)(arg1
)->GetToolBar();
16059 wxPyEndAllowThreads(__tstate
);
16060 if (PyErr_Occurred()) SWIG_fail
;
16063 resultobj
= wxPyMake_wxObject(result
, 0);
16071 static PyObject
*_wrap_ToolBarToolBase_IsButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16072 PyObject
*resultobj
;
16073 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16075 PyObject
* obj0
= 0 ;
16076 char *kwnames
[] = {
16077 (char *) "self", NULL
16080 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsButton",kwnames
,&obj0
)) goto fail
;
16081 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16082 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16085 result
= (int)(arg1
)->IsButton();
16087 wxPyEndAllowThreads(__tstate
);
16088 if (PyErr_Occurred()) SWIG_fail
;
16090 resultobj
= SWIG_FromInt((int)result
);
16097 static PyObject
*_wrap_ToolBarToolBase_IsControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16098 PyObject
*resultobj
;
16099 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16101 PyObject
* obj0
= 0 ;
16102 char *kwnames
[] = {
16103 (char *) "self", NULL
16106 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsControl",kwnames
,&obj0
)) goto fail
;
16107 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16108 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16111 result
= (int)(arg1
)->IsControl();
16113 wxPyEndAllowThreads(__tstate
);
16114 if (PyErr_Occurred()) SWIG_fail
;
16116 resultobj
= SWIG_FromInt((int)result
);
16123 static PyObject
*_wrap_ToolBarToolBase_IsSeparator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16124 PyObject
*resultobj
;
16125 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16127 PyObject
* obj0
= 0 ;
16128 char *kwnames
[] = {
16129 (char *) "self", NULL
16132 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsSeparator",kwnames
,&obj0
)) goto fail
;
16133 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16134 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16137 result
= (int)(arg1
)->IsSeparator();
16139 wxPyEndAllowThreads(__tstate
);
16140 if (PyErr_Occurred()) SWIG_fail
;
16142 resultobj
= SWIG_FromInt((int)result
);
16149 static PyObject
*_wrap_ToolBarToolBase_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16150 PyObject
*resultobj
;
16151 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16153 PyObject
* obj0
= 0 ;
16154 char *kwnames
[] = {
16155 (char *) "self", NULL
16158 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetStyle",kwnames
,&obj0
)) goto fail
;
16159 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16160 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16163 result
= (int)(arg1
)->GetStyle();
16165 wxPyEndAllowThreads(__tstate
);
16166 if (PyErr_Occurred()) SWIG_fail
;
16168 resultobj
= SWIG_FromInt((int)result
);
16175 static PyObject
*_wrap_ToolBarToolBase_GetKind(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16176 PyObject
*resultobj
;
16177 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16179 PyObject
* obj0
= 0 ;
16180 char *kwnames
[] = {
16181 (char *) "self", NULL
16184 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetKind",kwnames
,&obj0
)) goto fail
;
16185 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16186 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16189 result
= (int)(arg1
)->GetKind();
16191 wxPyEndAllowThreads(__tstate
);
16192 if (PyErr_Occurred()) SWIG_fail
;
16194 resultobj
= SWIG_FromInt((int)result
);
16201 static PyObject
*_wrap_ToolBarToolBase_IsEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16202 PyObject
*resultobj
;
16203 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16205 PyObject
* obj0
= 0 ;
16206 char *kwnames
[] = {
16207 (char *) "self", NULL
16210 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsEnabled",kwnames
,&obj0
)) goto fail
;
16211 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16212 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16215 result
= (bool)(arg1
)->IsEnabled();
16217 wxPyEndAllowThreads(__tstate
);
16218 if (PyErr_Occurred()) SWIG_fail
;
16221 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16229 static PyObject
*_wrap_ToolBarToolBase_IsToggled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16230 PyObject
*resultobj
;
16231 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16233 PyObject
* obj0
= 0 ;
16234 char *kwnames
[] = {
16235 (char *) "self", NULL
16238 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsToggled",kwnames
,&obj0
)) goto fail
;
16239 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16240 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16243 result
= (bool)(arg1
)->IsToggled();
16245 wxPyEndAllowThreads(__tstate
);
16246 if (PyErr_Occurred()) SWIG_fail
;
16249 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16257 static PyObject
*_wrap_ToolBarToolBase_CanBeToggled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16258 PyObject
*resultobj
;
16259 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16261 PyObject
* obj0
= 0 ;
16262 char *kwnames
[] = {
16263 (char *) "self", NULL
16266 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_CanBeToggled",kwnames
,&obj0
)) goto fail
;
16267 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16268 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16271 result
= (bool)(arg1
)->CanBeToggled();
16273 wxPyEndAllowThreads(__tstate
);
16274 if (PyErr_Occurred()) SWIG_fail
;
16277 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16285 static PyObject
*_wrap_ToolBarToolBase_GetNormalBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16286 PyObject
*resultobj
;
16287 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16289 PyObject
* obj0
= 0 ;
16290 char *kwnames
[] = {
16291 (char *) "self", NULL
16294 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetNormalBitmap",kwnames
,&obj0
)) goto fail
;
16295 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16296 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16300 wxBitmap
const &_result_ref
= (arg1
)->GetNormalBitmap();
16301 result
= (wxBitmap
*) &_result_ref
;
16304 wxPyEndAllowThreads(__tstate
);
16305 if (PyErr_Occurred()) SWIG_fail
;
16308 wxBitmap
* resultptr
= new wxBitmap(*result
);
16309 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
16317 static PyObject
*_wrap_ToolBarToolBase_GetDisabledBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16318 PyObject
*resultobj
;
16319 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16321 PyObject
* obj0
= 0 ;
16322 char *kwnames
[] = {
16323 (char *) "self", NULL
16326 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetDisabledBitmap",kwnames
,&obj0
)) goto fail
;
16327 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16328 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16332 wxBitmap
const &_result_ref
= (arg1
)->GetDisabledBitmap();
16333 result
= (wxBitmap
*) &_result_ref
;
16336 wxPyEndAllowThreads(__tstate
);
16337 if (PyErr_Occurred()) SWIG_fail
;
16340 wxBitmap
* resultptr
= new wxBitmap(*result
);
16341 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
16349 static PyObject
*_wrap_ToolBarToolBase_GetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16350 PyObject
*resultobj
;
16351 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16353 PyObject
* obj0
= 0 ;
16354 char *kwnames
[] = {
16355 (char *) "self", NULL
16358 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetBitmap",kwnames
,&obj0
)) goto fail
;
16359 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16360 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16363 result
= (arg1
)->GetBitmap();
16365 wxPyEndAllowThreads(__tstate
);
16366 if (PyErr_Occurred()) SWIG_fail
;
16369 wxBitmap
* resultptr
;
16370 resultptr
= new wxBitmap((wxBitmap
&) result
);
16371 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
16379 static PyObject
*_wrap_ToolBarToolBase_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16380 PyObject
*resultobj
;
16381 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16383 PyObject
* obj0
= 0 ;
16384 char *kwnames
[] = {
16385 (char *) "self", NULL
16388 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetLabel",kwnames
,&obj0
)) goto fail
;
16389 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16390 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16393 result
= (arg1
)->GetLabel();
16395 wxPyEndAllowThreads(__tstate
);
16396 if (PyErr_Occurred()) SWIG_fail
;
16400 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16402 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16411 static PyObject
*_wrap_ToolBarToolBase_GetShortHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16412 PyObject
*resultobj
;
16413 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16415 PyObject
* obj0
= 0 ;
16416 char *kwnames
[] = {
16417 (char *) "self", NULL
16420 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetShortHelp",kwnames
,&obj0
)) goto fail
;
16421 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16422 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16425 result
= (arg1
)->GetShortHelp();
16427 wxPyEndAllowThreads(__tstate
);
16428 if (PyErr_Occurred()) SWIG_fail
;
16432 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16434 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16443 static PyObject
*_wrap_ToolBarToolBase_GetLongHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16444 PyObject
*resultobj
;
16445 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16447 PyObject
* obj0
= 0 ;
16448 char *kwnames
[] = {
16449 (char *) "self", NULL
16452 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetLongHelp",kwnames
,&obj0
)) goto fail
;
16453 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16454 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16457 result
= (arg1
)->GetLongHelp();
16459 wxPyEndAllowThreads(__tstate
);
16460 if (PyErr_Occurred()) SWIG_fail
;
16464 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16466 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16475 static PyObject
*_wrap_ToolBarToolBase_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16476 PyObject
*resultobj
;
16477 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16480 PyObject
* obj0
= 0 ;
16481 PyObject
* obj1
= 0 ;
16482 char *kwnames
[] = {
16483 (char *) "self",(char *) "enable", NULL
16486 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_Enable",kwnames
,&obj0
,&obj1
)) goto fail
;
16487 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16488 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16489 arg2
= (bool) SWIG_AsBool(obj1
);
16490 if (PyErr_Occurred()) SWIG_fail
;
16492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16493 result
= (bool)(arg1
)->Enable(arg2
);
16495 wxPyEndAllowThreads(__tstate
);
16496 if (PyErr_Occurred()) SWIG_fail
;
16499 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16507 static PyObject
*_wrap_ToolBarToolBase_Toggle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16508 PyObject
*resultobj
;
16509 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16510 PyObject
* obj0
= 0 ;
16511 char *kwnames
[] = {
16512 (char *) "self", NULL
16515 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_Toggle",kwnames
,&obj0
)) goto fail
;
16516 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16517 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16522 wxPyEndAllowThreads(__tstate
);
16523 if (PyErr_Occurred()) SWIG_fail
;
16525 Py_INCREF(Py_None
); resultobj
= Py_None
;
16532 static PyObject
*_wrap_ToolBarToolBase_SetToggle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16533 PyObject
*resultobj
;
16534 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16537 PyObject
* obj0
= 0 ;
16538 PyObject
* obj1
= 0 ;
16539 char *kwnames
[] = {
16540 (char *) "self",(char *) "toggle", NULL
16543 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetToggle",kwnames
,&obj0
,&obj1
)) goto fail
;
16544 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16545 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16546 arg2
= (bool) SWIG_AsBool(obj1
);
16547 if (PyErr_Occurred()) SWIG_fail
;
16549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16550 result
= (bool)(arg1
)->SetToggle(arg2
);
16552 wxPyEndAllowThreads(__tstate
);
16553 if (PyErr_Occurred()) SWIG_fail
;
16556 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16564 static PyObject
*_wrap_ToolBarToolBase_SetShortHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16565 PyObject
*resultobj
;
16566 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16567 wxString
*arg2
= 0 ;
16569 bool temp2
= False
;
16570 PyObject
* obj0
= 0 ;
16571 PyObject
* obj1
= 0 ;
16572 char *kwnames
[] = {
16573 (char *) "self",(char *) "help", NULL
16576 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetShortHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
16577 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16578 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16580 arg2
= wxString_in_helper(obj1
);
16581 if (arg2
== NULL
) SWIG_fail
;
16585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16586 result
= (bool)(arg1
)->SetShortHelp((wxString
const &)*arg2
);
16588 wxPyEndAllowThreads(__tstate
);
16589 if (PyErr_Occurred()) SWIG_fail
;
16592 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16608 static PyObject
*_wrap_ToolBarToolBase_SetLongHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16609 PyObject
*resultobj
;
16610 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16611 wxString
*arg2
= 0 ;
16613 bool temp2
= False
;
16614 PyObject
* obj0
= 0 ;
16615 PyObject
* obj1
= 0 ;
16616 char *kwnames
[] = {
16617 (char *) "self",(char *) "help", NULL
16620 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetLongHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
16621 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16622 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16624 arg2
= wxString_in_helper(obj1
);
16625 if (arg2
== NULL
) SWIG_fail
;
16629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16630 result
= (bool)(arg1
)->SetLongHelp((wxString
const &)*arg2
);
16632 wxPyEndAllowThreads(__tstate
);
16633 if (PyErr_Occurred()) SWIG_fail
;
16636 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16652 static PyObject
*_wrap_ToolBarToolBase_SetNormalBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16653 PyObject
*resultobj
;
16654 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16655 wxBitmap
*arg2
= 0 ;
16656 PyObject
* obj0
= 0 ;
16657 PyObject
* obj1
= 0 ;
16658 char *kwnames
[] = {
16659 (char *) "self",(char *) "bmp", NULL
16662 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetNormalBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
16663 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16664 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16665 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
16666 SWIG_POINTER_EXCEPTION
| 0)) == -1)
16668 if (arg2
== NULL
) {
16669 PyErr_SetString(PyExc_TypeError
,"null reference");
16673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16674 (arg1
)->SetNormalBitmap((wxBitmap
const &)*arg2
);
16676 wxPyEndAllowThreads(__tstate
);
16677 if (PyErr_Occurred()) SWIG_fail
;
16679 Py_INCREF(Py_None
); resultobj
= Py_None
;
16686 static PyObject
*_wrap_ToolBarToolBase_SetDisabledBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16687 PyObject
*resultobj
;
16688 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16689 wxBitmap
*arg2
= 0 ;
16690 PyObject
* obj0
= 0 ;
16691 PyObject
* obj1
= 0 ;
16692 char *kwnames
[] = {
16693 (char *) "self",(char *) "bmp", NULL
16696 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetDisabledBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
16697 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16698 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16699 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
16700 SWIG_POINTER_EXCEPTION
| 0)) == -1)
16702 if (arg2
== NULL
) {
16703 PyErr_SetString(PyExc_TypeError
,"null reference");
16707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16708 (arg1
)->SetDisabledBitmap((wxBitmap
const &)*arg2
);
16710 wxPyEndAllowThreads(__tstate
);
16711 if (PyErr_Occurred()) SWIG_fail
;
16713 Py_INCREF(Py_None
); resultobj
= Py_None
;
16720 static PyObject
*_wrap_ToolBarToolBase_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16721 PyObject
*resultobj
;
16722 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16723 wxString
*arg2
= 0 ;
16724 bool temp2
= False
;
16725 PyObject
* obj0
= 0 ;
16726 PyObject
* obj1
= 0 ;
16727 char *kwnames
[] = {
16728 (char *) "self",(char *) "label", NULL
16731 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
16732 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16733 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16735 arg2
= wxString_in_helper(obj1
);
16736 if (arg2
== NULL
) SWIG_fail
;
16740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16741 (arg1
)->SetLabel((wxString
const &)*arg2
);
16743 wxPyEndAllowThreads(__tstate
);
16744 if (PyErr_Occurred()) SWIG_fail
;
16746 Py_INCREF(Py_None
); resultobj
= Py_None
;
16761 static PyObject
*_wrap_ToolBarToolBase_Detach(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16762 PyObject
*resultobj
;
16763 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16764 PyObject
* obj0
= 0 ;
16765 char *kwnames
[] = {
16766 (char *) "self", NULL
16769 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_Detach",kwnames
,&obj0
)) goto fail
;
16770 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16771 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16776 wxPyEndAllowThreads(__tstate
);
16777 if (PyErr_Occurred()) SWIG_fail
;
16779 Py_INCREF(Py_None
); resultobj
= Py_None
;
16786 static PyObject
*_wrap_ToolBarToolBase_Attach(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16787 PyObject
*resultobj
;
16788 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16789 wxToolBarBase
*arg2
= (wxToolBarBase
*) 0 ;
16790 PyObject
* obj0
= 0 ;
16791 PyObject
* obj1
= 0 ;
16792 char *kwnames
[] = {
16793 (char *) "self",(char *) "tbar", NULL
16796 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_Attach",kwnames
,&obj0
,&obj1
)) goto fail
;
16797 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16798 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16799 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxToolBarBase
,
16800 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16803 (arg1
)->Attach(arg2
);
16805 wxPyEndAllowThreads(__tstate
);
16806 if (PyErr_Occurred()) SWIG_fail
;
16808 Py_INCREF(Py_None
); resultobj
= Py_None
;
16815 static PyObject
*_wrap_ToolBarToolBase_GetClientData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16816 PyObject
*resultobj
;
16817 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16819 PyObject
* obj0
= 0 ;
16820 char *kwnames
[] = {
16821 (char *) "self", NULL
16824 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetClientData",kwnames
,&obj0
)) goto fail
;
16825 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16826 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16829 result
= (PyObject
*)wxToolBarToolBase_GetClientData(arg1
);
16831 wxPyEndAllowThreads(__tstate
);
16832 if (PyErr_Occurred()) SWIG_fail
;
16834 resultobj
= result
;
16841 static PyObject
*_wrap_ToolBarToolBase_SetClientData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16842 PyObject
*resultobj
;
16843 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16844 PyObject
*arg2
= (PyObject
*) 0 ;
16845 PyObject
* obj0
= 0 ;
16846 PyObject
* obj1
= 0 ;
16847 char *kwnames
[] = {
16848 (char *) "self",(char *) "clientData", NULL
16851 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetClientData",kwnames
,&obj0
,&obj1
)) goto fail
;
16852 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16853 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16857 wxToolBarToolBase_SetClientData(arg1
,arg2
);
16859 wxPyEndAllowThreads(__tstate
);
16860 if (PyErr_Occurred()) SWIG_fail
;
16862 Py_INCREF(Py_None
); resultobj
= Py_None
;
16869 static PyObject
* ToolBarToolBase_swigregister(PyObject
*self
, PyObject
*args
) {
16871 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16872 SWIG_TypeClientData(SWIGTYPE_p_wxToolBarToolBase
, obj
);
16874 return Py_BuildValue((char *)"");
16876 static PyObject
*_wrap_ToolBarBase_DoAddTool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16877 PyObject
*resultobj
;
16878 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16880 wxString
*arg3
= 0 ;
16881 wxBitmap
*arg4
= 0 ;
16882 wxBitmap
const &arg5_defvalue
= wxNullBitmap
;
16883 wxBitmap
*arg5
= (wxBitmap
*) &arg5_defvalue
;
16884 int arg6
= (int) wxITEM_NORMAL
;
16885 wxString
const &arg7_defvalue
= wxPyEmptyString
;
16886 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
16887 wxString
const &arg8_defvalue
= wxPyEmptyString
;
16888 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
16889 PyObject
*arg9
= (PyObject
*) NULL
;
16890 wxToolBarToolBase
*result
;
16891 bool temp3
= False
;
16892 bool temp7
= False
;
16893 bool temp8
= False
;
16894 PyObject
* obj0
= 0 ;
16895 PyObject
* obj1
= 0 ;
16896 PyObject
* obj2
= 0 ;
16897 PyObject
* obj3
= 0 ;
16898 PyObject
* obj4
= 0 ;
16899 PyObject
* obj5
= 0 ;
16900 PyObject
* obj6
= 0 ;
16901 PyObject
* obj7
= 0 ;
16902 PyObject
* obj8
= 0 ;
16903 char *kwnames
[] = {
16904 (char *) "self",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
16907 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOOO:ToolBarBase_DoAddTool",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
16908 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16909 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16910 arg2
= (int) SWIG_AsInt(obj1
);
16911 if (PyErr_Occurred()) SWIG_fail
;
16913 arg3
= wxString_in_helper(obj2
);
16914 if (arg3
== NULL
) SWIG_fail
;
16917 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxBitmap
,
16918 SWIG_POINTER_EXCEPTION
| 0)) == -1)
16920 if (arg4
== NULL
) {
16921 PyErr_SetString(PyExc_TypeError
,"null reference");
16925 if ((SWIG_ConvertPtr(obj4
,(void **)(&arg5
),SWIGTYPE_p_wxBitmap
,
16926 SWIG_POINTER_EXCEPTION
| 0)) == -1)
16928 if (arg5
== NULL
) {
16929 PyErr_SetString(PyExc_TypeError
,"null reference");
16934 arg6
= (wxItemKind
) SWIG_AsInt(obj5
);
16935 if (PyErr_Occurred()) SWIG_fail
;
16939 arg7
= wxString_in_helper(obj6
);
16940 if (arg7
== NULL
) SWIG_fail
;
16946 arg8
= wxString_in_helper(obj7
);
16947 if (arg8
== NULL
) SWIG_fail
;
16955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16956 result
= (wxToolBarToolBase
*)wxToolBarBase_DoAddTool(arg1
,arg2
,(wxString
const &)*arg3
,(wxBitmap
const &)*arg4
,(wxBitmap
const &)*arg5
,(wxItemKind
)arg6
,(wxString
const &)*arg7
,(wxString
const &)*arg8
,arg9
);
16958 wxPyEndAllowThreads(__tstate
);
16959 if (PyErr_Occurred()) SWIG_fail
;
16962 resultobj
= wxPyMake_wxObject(result
, 0);
16994 static PyObject
*_wrap_ToolBarBase_DoInsertTool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16995 PyObject
*resultobj
;
16996 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16999 wxString
*arg4
= 0 ;
17000 wxBitmap
*arg5
= 0 ;
17001 wxBitmap
const &arg6_defvalue
= wxNullBitmap
;
17002 wxBitmap
*arg6
= (wxBitmap
*) &arg6_defvalue
;
17003 int arg7
= (int) wxITEM_NORMAL
;
17004 wxString
const &arg8_defvalue
= wxPyEmptyString
;
17005 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
17006 wxString
const &arg9_defvalue
= wxPyEmptyString
;
17007 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
17008 PyObject
*arg10
= (PyObject
*) NULL
;
17009 wxToolBarToolBase
*result
;
17010 bool temp4
= False
;
17011 bool temp8
= False
;
17012 bool temp9
= False
;
17013 PyObject
* obj0
= 0 ;
17014 PyObject
* obj1
= 0 ;
17015 PyObject
* obj2
= 0 ;
17016 PyObject
* obj3
= 0 ;
17017 PyObject
* obj4
= 0 ;
17018 PyObject
* obj5
= 0 ;
17019 PyObject
* obj6
= 0 ;
17020 PyObject
* obj7
= 0 ;
17021 PyObject
* obj8
= 0 ;
17022 PyObject
* obj9
= 0 ;
17023 char *kwnames
[] = {
17024 (char *) "self",(char *) "pos",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
17027 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOOOO:ToolBarBase_DoInsertTool",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
17028 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17029 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17030 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
17031 if (PyErr_Occurred()) SWIG_fail
;
17032 arg3
= (int) SWIG_AsInt(obj2
);
17033 if (PyErr_Occurred()) SWIG_fail
;
17035 arg4
= wxString_in_helper(obj3
);
17036 if (arg4
== NULL
) SWIG_fail
;
17039 if ((SWIG_ConvertPtr(obj4
,(void **)(&arg5
),SWIGTYPE_p_wxBitmap
,
17040 SWIG_POINTER_EXCEPTION
| 0)) == -1)
17042 if (arg5
== NULL
) {
17043 PyErr_SetString(PyExc_TypeError
,"null reference");
17047 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxBitmap
,
17048 SWIG_POINTER_EXCEPTION
| 0)) == -1)
17050 if (arg6
== NULL
) {
17051 PyErr_SetString(PyExc_TypeError
,"null reference");
17056 arg7
= (wxItemKind
) SWIG_AsInt(obj6
);
17057 if (PyErr_Occurred()) SWIG_fail
;
17061 arg8
= wxString_in_helper(obj7
);
17062 if (arg8
== NULL
) SWIG_fail
;
17068 arg9
= wxString_in_helper(obj8
);
17069 if (arg9
== NULL
) SWIG_fail
;
17077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17078 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
);
17080 wxPyEndAllowThreads(__tstate
);
17081 if (PyErr_Occurred()) SWIG_fail
;
17084 resultobj
= wxPyMake_wxObject(result
, 0);
17116 static PyObject
*_wrap_ToolBarBase_AddToolItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17117 PyObject
*resultobj
;
17118 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17119 wxToolBarToolBase
*arg2
= (wxToolBarToolBase
*) 0 ;
17120 wxToolBarToolBase
*result
;
17121 PyObject
* obj0
= 0 ;
17122 PyObject
* obj1
= 0 ;
17123 char *kwnames
[] = {
17124 (char *) "self",(char *) "tool", NULL
17127 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_AddToolItem",kwnames
,&obj0
,&obj1
)) goto fail
;
17128 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17129 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17130 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxToolBarToolBase
,
17131 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17134 result
= (wxToolBarToolBase
*)(arg1
)->AddTool(arg2
);
17136 wxPyEndAllowThreads(__tstate
);
17137 if (PyErr_Occurred()) SWIG_fail
;
17140 resultobj
= wxPyMake_wxObject(result
, 0);
17148 static PyObject
*_wrap_ToolBarBase_InsertToolItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17149 PyObject
*resultobj
;
17150 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17152 wxToolBarToolBase
*arg3
= (wxToolBarToolBase
*) 0 ;
17153 wxToolBarToolBase
*result
;
17154 PyObject
* obj0
= 0 ;
17155 PyObject
* obj1
= 0 ;
17156 PyObject
* obj2
= 0 ;
17157 char *kwnames
[] = {
17158 (char *) "self",(char *) "pos",(char *) "tool", NULL
17161 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_InsertToolItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17162 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17163 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17164 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
17165 if (PyErr_Occurred()) SWIG_fail
;
17166 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxToolBarToolBase
,
17167 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17170 result
= (wxToolBarToolBase
*)(arg1
)->InsertTool(arg2
,arg3
);
17172 wxPyEndAllowThreads(__tstate
);
17173 if (PyErr_Occurred()) SWIG_fail
;
17176 resultobj
= wxPyMake_wxObject(result
, 0);
17184 static PyObject
*_wrap_ToolBarBase_AddControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17185 PyObject
*resultobj
;
17186 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17187 wxControl
*arg2
= (wxControl
*) 0 ;
17188 wxToolBarToolBase
*result
;
17189 PyObject
* obj0
= 0 ;
17190 PyObject
* obj1
= 0 ;
17191 char *kwnames
[] = {
17192 (char *) "self",(char *) "control", NULL
17195 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_AddControl",kwnames
,&obj0
,&obj1
)) goto fail
;
17196 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17197 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17198 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxControl
,
17199 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17202 result
= (wxToolBarToolBase
*)(arg1
)->AddControl(arg2
);
17204 wxPyEndAllowThreads(__tstate
);
17205 if (PyErr_Occurred()) SWIG_fail
;
17208 resultobj
= wxPyMake_wxObject(result
, 0);
17216 static PyObject
*_wrap_ToolBarBase_InsertControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17217 PyObject
*resultobj
;
17218 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17220 wxControl
*arg3
= (wxControl
*) 0 ;
17221 wxToolBarToolBase
*result
;
17222 PyObject
* obj0
= 0 ;
17223 PyObject
* obj1
= 0 ;
17224 PyObject
* obj2
= 0 ;
17225 char *kwnames
[] = {
17226 (char *) "self",(char *) "pos",(char *) "control", NULL
17229 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_InsertControl",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17230 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17231 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17232 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
17233 if (PyErr_Occurred()) SWIG_fail
;
17234 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxControl
,
17235 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17238 result
= (wxToolBarToolBase
*)(arg1
)->InsertControl(arg2
,arg3
);
17240 wxPyEndAllowThreads(__tstate
);
17241 if (PyErr_Occurred()) SWIG_fail
;
17244 resultobj
= wxPyMake_wxObject(result
, 0);
17252 static PyObject
*_wrap_ToolBarBase_FindControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17253 PyObject
*resultobj
;
17254 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17257 PyObject
* obj0
= 0 ;
17258 PyObject
* obj1
= 0 ;
17259 char *kwnames
[] = {
17260 (char *) "self",(char *) "id", NULL
17263 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_FindControl",kwnames
,&obj0
,&obj1
)) goto fail
;
17264 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17265 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17266 arg2
= (int) SWIG_AsInt(obj1
);
17267 if (PyErr_Occurred()) SWIG_fail
;
17269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17270 result
= (wxControl
*)(arg1
)->FindControl(arg2
);
17272 wxPyEndAllowThreads(__tstate
);
17273 if (PyErr_Occurred()) SWIG_fail
;
17276 resultobj
= wxPyMake_wxObject(result
, 0);
17284 static PyObject
*_wrap_ToolBarBase_AddSeparator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17285 PyObject
*resultobj
;
17286 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17287 wxToolBarToolBase
*result
;
17288 PyObject
* obj0
= 0 ;
17289 char *kwnames
[] = {
17290 (char *) "self", NULL
17293 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_AddSeparator",kwnames
,&obj0
)) goto fail
;
17294 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17295 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17298 result
= (wxToolBarToolBase
*)(arg1
)->AddSeparator();
17300 wxPyEndAllowThreads(__tstate
);
17301 if (PyErr_Occurred()) SWIG_fail
;
17304 resultobj
= wxPyMake_wxObject(result
, 0);
17312 static PyObject
*_wrap_ToolBarBase_InsertSeparator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17313 PyObject
*resultobj
;
17314 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17316 wxToolBarToolBase
*result
;
17317 PyObject
* obj0
= 0 ;
17318 PyObject
* obj1
= 0 ;
17319 char *kwnames
[] = {
17320 (char *) "self",(char *) "pos", NULL
17323 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_InsertSeparator",kwnames
,&obj0
,&obj1
)) goto fail
;
17324 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17325 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17326 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
17327 if (PyErr_Occurred()) SWIG_fail
;
17329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17330 result
= (wxToolBarToolBase
*)(arg1
)->InsertSeparator(arg2
);
17332 wxPyEndAllowThreads(__tstate
);
17333 if (PyErr_Occurred()) SWIG_fail
;
17336 resultobj
= wxPyMake_wxObject(result
, 0);
17344 static PyObject
*_wrap_ToolBarBase_RemoveTool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17345 PyObject
*resultobj
;
17346 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17348 wxToolBarToolBase
*result
;
17349 PyObject
* obj0
= 0 ;
17350 PyObject
* obj1
= 0 ;
17351 char *kwnames
[] = {
17352 (char *) "self",(char *) "id", NULL
17355 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_RemoveTool",kwnames
,&obj0
,&obj1
)) goto fail
;
17356 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17357 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17358 arg2
= (int) SWIG_AsInt(obj1
);
17359 if (PyErr_Occurred()) SWIG_fail
;
17361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17362 result
= (wxToolBarToolBase
*)(arg1
)->RemoveTool(arg2
);
17364 wxPyEndAllowThreads(__tstate
);
17365 if (PyErr_Occurred()) SWIG_fail
;
17368 resultobj
= wxPyMake_wxObject(result
, 0);
17376 static PyObject
*_wrap_ToolBarBase_DeleteToolByPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17377 PyObject
*resultobj
;
17378 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17381 PyObject
* obj0
= 0 ;
17382 PyObject
* obj1
= 0 ;
17383 char *kwnames
[] = {
17384 (char *) "self",(char *) "pos", NULL
17387 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_DeleteToolByPos",kwnames
,&obj0
,&obj1
)) goto fail
;
17388 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17389 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17390 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
17391 if (PyErr_Occurred()) SWIG_fail
;
17393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17394 result
= (bool)(arg1
)->DeleteToolByPos(arg2
);
17396 wxPyEndAllowThreads(__tstate
);
17397 if (PyErr_Occurred()) SWIG_fail
;
17400 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17408 static PyObject
*_wrap_ToolBarBase_DeleteTool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17409 PyObject
*resultobj
;
17410 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17413 PyObject
* obj0
= 0 ;
17414 PyObject
* obj1
= 0 ;
17415 char *kwnames
[] = {
17416 (char *) "self",(char *) "id", NULL
17419 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_DeleteTool",kwnames
,&obj0
,&obj1
)) goto fail
;
17420 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17421 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17422 arg2
= (int) SWIG_AsInt(obj1
);
17423 if (PyErr_Occurred()) SWIG_fail
;
17425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17426 result
= (bool)(arg1
)->DeleteTool(arg2
);
17428 wxPyEndAllowThreads(__tstate
);
17429 if (PyErr_Occurred()) SWIG_fail
;
17432 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17440 static PyObject
*_wrap_ToolBarBase_ClearTools(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17441 PyObject
*resultobj
;
17442 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17443 PyObject
* obj0
= 0 ;
17444 char *kwnames
[] = {
17445 (char *) "self", NULL
17448 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_ClearTools",kwnames
,&obj0
)) goto fail
;
17449 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17450 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17453 (arg1
)->ClearTools();
17455 wxPyEndAllowThreads(__tstate
);
17456 if (PyErr_Occurred()) SWIG_fail
;
17458 Py_INCREF(Py_None
); resultobj
= Py_None
;
17465 static PyObject
*_wrap_ToolBarBase_Realize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17466 PyObject
*resultobj
;
17467 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17469 PyObject
* obj0
= 0 ;
17470 char *kwnames
[] = {
17471 (char *) "self", NULL
17474 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_Realize",kwnames
,&obj0
)) goto fail
;
17475 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17476 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17479 result
= (bool)(arg1
)->Realize();
17481 wxPyEndAllowThreads(__tstate
);
17482 if (PyErr_Occurred()) SWIG_fail
;
17485 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17493 static PyObject
*_wrap_ToolBarBase_EnableTool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17494 PyObject
*resultobj
;
17495 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17498 PyObject
* obj0
= 0 ;
17499 PyObject
* obj1
= 0 ;
17500 PyObject
* obj2
= 0 ;
17501 char *kwnames
[] = {
17502 (char *) "self",(char *) "id",(char *) "enable", NULL
17505 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_EnableTool",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17506 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17507 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17508 arg2
= (int) SWIG_AsInt(obj1
);
17509 if (PyErr_Occurred()) SWIG_fail
;
17510 arg3
= (bool) SWIG_AsBool(obj2
);
17511 if (PyErr_Occurred()) SWIG_fail
;
17513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17514 (arg1
)->EnableTool(arg2
,arg3
);
17516 wxPyEndAllowThreads(__tstate
);
17517 if (PyErr_Occurred()) SWIG_fail
;
17519 Py_INCREF(Py_None
); resultobj
= Py_None
;
17526 static PyObject
*_wrap_ToolBarBase_ToggleTool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17527 PyObject
*resultobj
;
17528 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17531 PyObject
* obj0
= 0 ;
17532 PyObject
* obj1
= 0 ;
17533 PyObject
* obj2
= 0 ;
17534 char *kwnames
[] = {
17535 (char *) "self",(char *) "id",(char *) "toggle", NULL
17538 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_ToggleTool",kwnames
,&obj0
,&obj1
,&obj2
)) 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
;
17543 arg3
= (bool) SWIG_AsBool(obj2
);
17544 if (PyErr_Occurred()) SWIG_fail
;
17546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17547 (arg1
)->ToggleTool(arg2
,arg3
);
17549 wxPyEndAllowThreads(__tstate
);
17550 if (PyErr_Occurred()) SWIG_fail
;
17552 Py_INCREF(Py_None
); resultobj
= Py_None
;
17559 static PyObject
*_wrap_ToolBarBase_SetToggle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17560 PyObject
*resultobj
;
17561 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17564 PyObject
* obj0
= 0 ;
17565 PyObject
* obj1
= 0 ;
17566 PyObject
* obj2
= 0 ;
17567 char *kwnames
[] = {
17568 (char *) "self",(char *) "id",(char *) "toggle", NULL
17571 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToggle",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17572 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17573 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17574 arg2
= (int) SWIG_AsInt(obj1
);
17575 if (PyErr_Occurred()) SWIG_fail
;
17576 arg3
= (bool) SWIG_AsBool(obj2
);
17577 if (PyErr_Occurred()) SWIG_fail
;
17579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17580 (arg1
)->SetToggle(arg2
,arg3
);
17582 wxPyEndAllowThreads(__tstate
);
17583 if (PyErr_Occurred()) SWIG_fail
;
17585 Py_INCREF(Py_None
); resultobj
= Py_None
;
17592 static PyObject
*_wrap_ToolBarBase_GetToolClientData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17593 PyObject
*resultobj
;
17594 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17597 PyObject
* obj0
= 0 ;
17598 PyObject
* obj1
= 0 ;
17599 char *kwnames
[] = {
17600 (char *) "self",(char *) "id", NULL
17603 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolClientData",kwnames
,&obj0
,&obj1
)) goto fail
;
17604 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17605 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17606 arg2
= (int) SWIG_AsInt(obj1
);
17607 if (PyErr_Occurred()) SWIG_fail
;
17609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17610 result
= (PyObject
*)wxToolBarBase_GetToolClientData(arg1
,arg2
);
17612 wxPyEndAllowThreads(__tstate
);
17613 if (PyErr_Occurred()) SWIG_fail
;
17615 resultobj
= result
;
17622 static PyObject
*_wrap_ToolBarBase_SetToolClientData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17623 PyObject
*resultobj
;
17624 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17626 PyObject
*arg3
= (PyObject
*) 0 ;
17627 PyObject
* obj0
= 0 ;
17628 PyObject
* obj1
= 0 ;
17629 PyObject
* obj2
= 0 ;
17630 char *kwnames
[] = {
17631 (char *) "self",(char *) "id",(char *) "clientData", NULL
17634 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToolClientData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17635 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17636 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17637 arg2
= (int) SWIG_AsInt(obj1
);
17638 if (PyErr_Occurred()) SWIG_fail
;
17641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17642 wxToolBarBase_SetToolClientData(arg1
,arg2
,arg3
);
17644 wxPyEndAllowThreads(__tstate
);
17645 if (PyErr_Occurred()) SWIG_fail
;
17647 Py_INCREF(Py_None
); resultobj
= Py_None
;
17654 static PyObject
*_wrap_ToolBarBase_GetToolPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17655 PyObject
*resultobj
;
17656 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17659 PyObject
* obj0
= 0 ;
17660 PyObject
* obj1
= 0 ;
17661 char *kwnames
[] = {
17662 (char *) "self",(char *) "id", NULL
17665 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolPos",kwnames
,&obj0
,&obj1
)) goto fail
;
17666 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17667 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17668 arg2
= (int) SWIG_AsInt(obj1
);
17669 if (PyErr_Occurred()) SWIG_fail
;
17671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17672 result
= (int)((wxToolBarBase
const *)arg1
)->GetToolPos(arg2
);
17674 wxPyEndAllowThreads(__tstate
);
17675 if (PyErr_Occurred()) SWIG_fail
;
17677 resultobj
= SWIG_FromInt((int)result
);
17684 static PyObject
*_wrap_ToolBarBase_GetToolState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17685 PyObject
*resultobj
;
17686 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17689 PyObject
* obj0
= 0 ;
17690 PyObject
* obj1
= 0 ;
17691 char *kwnames
[] = {
17692 (char *) "self",(char *) "id", NULL
17695 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolState",kwnames
,&obj0
,&obj1
)) goto fail
;
17696 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17697 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17698 arg2
= (int) SWIG_AsInt(obj1
);
17699 if (PyErr_Occurred()) SWIG_fail
;
17701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17702 result
= (bool)(arg1
)->GetToolState(arg2
);
17704 wxPyEndAllowThreads(__tstate
);
17705 if (PyErr_Occurred()) SWIG_fail
;
17708 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17716 static PyObject
*_wrap_ToolBarBase_GetToolEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17717 PyObject
*resultobj
;
17718 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17721 PyObject
* obj0
= 0 ;
17722 PyObject
* obj1
= 0 ;
17723 char *kwnames
[] = {
17724 (char *) "self",(char *) "id", NULL
17727 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolEnabled",kwnames
,&obj0
,&obj1
)) goto fail
;
17728 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17729 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17730 arg2
= (int) SWIG_AsInt(obj1
);
17731 if (PyErr_Occurred()) SWIG_fail
;
17733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17734 result
= (bool)(arg1
)->GetToolEnabled(arg2
);
17736 wxPyEndAllowThreads(__tstate
);
17737 if (PyErr_Occurred()) SWIG_fail
;
17740 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17748 static PyObject
*_wrap_ToolBarBase_SetToolShortHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17749 PyObject
*resultobj
;
17750 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17752 wxString
*arg3
= 0 ;
17753 bool temp3
= False
;
17754 PyObject
* obj0
= 0 ;
17755 PyObject
* obj1
= 0 ;
17756 PyObject
* obj2
= 0 ;
17757 char *kwnames
[] = {
17758 (char *) "self",(char *) "id",(char *) "helpString", NULL
17761 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToolShortHelp",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17762 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17763 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17764 arg2
= (int) SWIG_AsInt(obj1
);
17765 if (PyErr_Occurred()) SWIG_fail
;
17767 arg3
= wxString_in_helper(obj2
);
17768 if (arg3
== NULL
) SWIG_fail
;
17772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17773 (arg1
)->SetToolShortHelp(arg2
,(wxString
const &)*arg3
);
17775 wxPyEndAllowThreads(__tstate
);
17776 if (PyErr_Occurred()) SWIG_fail
;
17778 Py_INCREF(Py_None
); resultobj
= Py_None
;
17793 static PyObject
*_wrap_ToolBarBase_GetToolShortHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17794 PyObject
*resultobj
;
17795 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17798 PyObject
* obj0
= 0 ;
17799 PyObject
* obj1
= 0 ;
17800 char *kwnames
[] = {
17801 (char *) "self",(char *) "id", NULL
17804 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolShortHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
17805 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17806 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17807 arg2
= (int) SWIG_AsInt(obj1
);
17808 if (PyErr_Occurred()) SWIG_fail
;
17810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17811 result
= (arg1
)->GetToolShortHelp(arg2
);
17813 wxPyEndAllowThreads(__tstate
);
17814 if (PyErr_Occurred()) SWIG_fail
;
17818 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17820 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17829 static PyObject
*_wrap_ToolBarBase_SetToolLongHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17830 PyObject
*resultobj
;
17831 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17833 wxString
*arg3
= 0 ;
17834 bool temp3
= False
;
17835 PyObject
* obj0
= 0 ;
17836 PyObject
* obj1
= 0 ;
17837 PyObject
* obj2
= 0 ;
17838 char *kwnames
[] = {
17839 (char *) "self",(char *) "id",(char *) "helpString", NULL
17842 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToolLongHelp",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17843 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17844 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17845 arg2
= (int) SWIG_AsInt(obj1
);
17846 if (PyErr_Occurred()) SWIG_fail
;
17848 arg3
= wxString_in_helper(obj2
);
17849 if (arg3
== NULL
) SWIG_fail
;
17853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17854 (arg1
)->SetToolLongHelp(arg2
,(wxString
const &)*arg3
);
17856 wxPyEndAllowThreads(__tstate
);
17857 if (PyErr_Occurred()) SWIG_fail
;
17859 Py_INCREF(Py_None
); resultobj
= Py_None
;
17874 static PyObject
*_wrap_ToolBarBase_GetToolLongHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17875 PyObject
*resultobj
;
17876 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17879 PyObject
* obj0
= 0 ;
17880 PyObject
* obj1
= 0 ;
17881 char *kwnames
[] = {
17882 (char *) "self",(char *) "id", NULL
17885 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolLongHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
17886 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17887 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17888 arg2
= (int) SWIG_AsInt(obj1
);
17889 if (PyErr_Occurred()) SWIG_fail
;
17891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17892 result
= (arg1
)->GetToolLongHelp(arg2
);
17894 wxPyEndAllowThreads(__tstate
);
17895 if (PyErr_Occurred()) SWIG_fail
;
17899 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17901 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17910 static PyObject
*_wrap_ToolBarBase_SetMarginsXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17911 PyObject
*resultobj
;
17912 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17915 PyObject
* obj0
= 0 ;
17916 PyObject
* obj1
= 0 ;
17917 PyObject
* obj2
= 0 ;
17918 char *kwnames
[] = {
17919 (char *) "self",(char *) "x",(char *) "y", NULL
17922 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetMarginsXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17923 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17924 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17925 arg2
= (int) SWIG_AsInt(obj1
);
17926 if (PyErr_Occurred()) SWIG_fail
;
17927 arg3
= (int) SWIG_AsInt(obj2
);
17928 if (PyErr_Occurred()) SWIG_fail
;
17930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17931 (arg1
)->SetMargins(arg2
,arg3
);
17933 wxPyEndAllowThreads(__tstate
);
17934 if (PyErr_Occurred()) SWIG_fail
;
17936 Py_INCREF(Py_None
); resultobj
= Py_None
;
17943 static PyObject
*_wrap_ToolBarBase_SetMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17944 PyObject
*resultobj
;
17945 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17948 PyObject
* obj0
= 0 ;
17949 PyObject
* obj1
= 0 ;
17950 char *kwnames
[] = {
17951 (char *) "self",(char *) "size", NULL
17954 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetMargins",kwnames
,&obj0
,&obj1
)) goto fail
;
17955 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17956 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17959 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
17962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17963 (arg1
)->SetMargins((wxSize
const &)*arg2
);
17965 wxPyEndAllowThreads(__tstate
);
17966 if (PyErr_Occurred()) SWIG_fail
;
17968 Py_INCREF(Py_None
); resultobj
= Py_None
;
17975 static PyObject
*_wrap_ToolBarBase_SetToolPacking(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17976 PyObject
*resultobj
;
17977 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17979 PyObject
* obj0
= 0 ;
17980 PyObject
* obj1
= 0 ;
17981 char *kwnames
[] = {
17982 (char *) "self",(char *) "packing", NULL
17985 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetToolPacking",kwnames
,&obj0
,&obj1
)) goto fail
;
17986 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17987 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17988 arg2
= (int) SWIG_AsInt(obj1
);
17989 if (PyErr_Occurred()) SWIG_fail
;
17991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17992 (arg1
)->SetToolPacking(arg2
);
17994 wxPyEndAllowThreads(__tstate
);
17995 if (PyErr_Occurred()) SWIG_fail
;
17997 Py_INCREF(Py_None
); resultobj
= Py_None
;
18004 static PyObject
*_wrap_ToolBarBase_SetToolSeparation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18005 PyObject
*resultobj
;
18006 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18008 PyObject
* obj0
= 0 ;
18009 PyObject
* obj1
= 0 ;
18010 char *kwnames
[] = {
18011 (char *) "self",(char *) "separation", NULL
18014 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetToolSeparation",kwnames
,&obj0
,&obj1
)) goto fail
;
18015 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18016 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18017 arg2
= (int) SWIG_AsInt(obj1
);
18018 if (PyErr_Occurred()) SWIG_fail
;
18020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18021 (arg1
)->SetToolSeparation(arg2
);
18023 wxPyEndAllowThreads(__tstate
);
18024 if (PyErr_Occurred()) SWIG_fail
;
18026 Py_INCREF(Py_None
); resultobj
= Py_None
;
18033 static PyObject
*_wrap_ToolBarBase_GetToolMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18034 PyObject
*resultobj
;
18035 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18037 PyObject
* obj0
= 0 ;
18038 char *kwnames
[] = {
18039 (char *) "self", NULL
18042 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolMargins",kwnames
,&obj0
)) goto fail
;
18043 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18044 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18047 result
= (arg1
)->GetToolMargins();
18049 wxPyEndAllowThreads(__tstate
);
18050 if (PyErr_Occurred()) SWIG_fail
;
18053 wxSize
* resultptr
;
18054 resultptr
= new wxSize((wxSize
&) result
);
18055 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
18063 static PyObject
*_wrap_ToolBarBase_GetMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18064 PyObject
*resultobj
;
18065 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18067 PyObject
* obj0
= 0 ;
18068 char *kwnames
[] = {
18069 (char *) "self", NULL
18072 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetMargins",kwnames
,&obj0
)) goto fail
;
18073 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18074 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18077 result
= (arg1
)->GetMargins();
18079 wxPyEndAllowThreads(__tstate
);
18080 if (PyErr_Occurred()) SWIG_fail
;
18083 wxSize
* resultptr
;
18084 resultptr
= new wxSize((wxSize
&) result
);
18085 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
18093 static PyObject
*_wrap_ToolBarBase_GetToolPacking(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18094 PyObject
*resultobj
;
18095 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18097 PyObject
* obj0
= 0 ;
18098 char *kwnames
[] = {
18099 (char *) "self", NULL
18102 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolPacking",kwnames
,&obj0
)) goto fail
;
18103 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18104 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18107 result
= (int)(arg1
)->GetToolPacking();
18109 wxPyEndAllowThreads(__tstate
);
18110 if (PyErr_Occurred()) SWIG_fail
;
18112 resultobj
= SWIG_FromInt((int)result
);
18119 static PyObject
*_wrap_ToolBarBase_GetToolSeparation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18120 PyObject
*resultobj
;
18121 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18123 PyObject
* obj0
= 0 ;
18124 char *kwnames
[] = {
18125 (char *) "self", NULL
18128 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolSeparation",kwnames
,&obj0
)) goto fail
;
18129 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18130 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18133 result
= (int)(arg1
)->GetToolSeparation();
18135 wxPyEndAllowThreads(__tstate
);
18136 if (PyErr_Occurred()) SWIG_fail
;
18138 resultobj
= SWIG_FromInt((int)result
);
18145 static PyObject
*_wrap_ToolBarBase_SetRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18146 PyObject
*resultobj
;
18147 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18149 PyObject
* obj0
= 0 ;
18150 PyObject
* obj1
= 0 ;
18151 char *kwnames
[] = {
18152 (char *) "self",(char *) "nRows", NULL
18155 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetRows",kwnames
,&obj0
,&obj1
)) goto fail
;
18156 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18157 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18158 arg2
= (int) SWIG_AsInt(obj1
);
18159 if (PyErr_Occurred()) SWIG_fail
;
18161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18162 (arg1
)->SetRows(arg2
);
18164 wxPyEndAllowThreads(__tstate
);
18165 if (PyErr_Occurred()) SWIG_fail
;
18167 Py_INCREF(Py_None
); resultobj
= Py_None
;
18174 static PyObject
*_wrap_ToolBarBase_SetMaxRowsCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18175 PyObject
*resultobj
;
18176 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18179 PyObject
* obj0
= 0 ;
18180 PyObject
* obj1
= 0 ;
18181 PyObject
* obj2
= 0 ;
18182 char *kwnames
[] = {
18183 (char *) "self",(char *) "rows",(char *) "cols", NULL
18186 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetMaxRowsCols",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18187 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18188 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18189 arg2
= (int) SWIG_AsInt(obj1
);
18190 if (PyErr_Occurred()) SWIG_fail
;
18191 arg3
= (int) SWIG_AsInt(obj2
);
18192 if (PyErr_Occurred()) SWIG_fail
;
18194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18195 (arg1
)->SetMaxRowsCols(arg2
,arg3
);
18197 wxPyEndAllowThreads(__tstate
);
18198 if (PyErr_Occurred()) SWIG_fail
;
18200 Py_INCREF(Py_None
); resultobj
= Py_None
;
18207 static PyObject
*_wrap_ToolBarBase_GetMaxRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18208 PyObject
*resultobj
;
18209 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18211 PyObject
* obj0
= 0 ;
18212 char *kwnames
[] = {
18213 (char *) "self", NULL
18216 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetMaxRows",kwnames
,&obj0
)) goto fail
;
18217 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18218 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18221 result
= (int)(arg1
)->GetMaxRows();
18223 wxPyEndAllowThreads(__tstate
);
18224 if (PyErr_Occurred()) SWIG_fail
;
18226 resultobj
= SWIG_FromInt((int)result
);
18233 static PyObject
*_wrap_ToolBarBase_GetMaxCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18234 PyObject
*resultobj
;
18235 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18237 PyObject
* obj0
= 0 ;
18238 char *kwnames
[] = {
18239 (char *) "self", NULL
18242 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetMaxCols",kwnames
,&obj0
)) goto fail
;
18243 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18244 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18247 result
= (int)(arg1
)->GetMaxCols();
18249 wxPyEndAllowThreads(__tstate
);
18250 if (PyErr_Occurred()) SWIG_fail
;
18252 resultobj
= SWIG_FromInt((int)result
);
18259 static PyObject
*_wrap_ToolBarBase_SetToolBitmapSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18260 PyObject
*resultobj
;
18261 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18264 PyObject
* obj0
= 0 ;
18265 PyObject
* obj1
= 0 ;
18266 char *kwnames
[] = {
18267 (char *) "self",(char *) "size", NULL
18270 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetToolBitmapSize",kwnames
,&obj0
,&obj1
)) goto fail
;
18271 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18272 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18275 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
18278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18279 (arg1
)->SetToolBitmapSize((wxSize
const &)*arg2
);
18281 wxPyEndAllowThreads(__tstate
);
18282 if (PyErr_Occurred()) SWIG_fail
;
18284 Py_INCREF(Py_None
); resultobj
= Py_None
;
18291 static PyObject
*_wrap_ToolBarBase_GetToolBitmapSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18292 PyObject
*resultobj
;
18293 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18295 PyObject
* obj0
= 0 ;
18296 char *kwnames
[] = {
18297 (char *) "self", NULL
18300 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolBitmapSize",kwnames
,&obj0
)) goto fail
;
18301 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18302 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18305 result
= (arg1
)->GetToolBitmapSize();
18307 wxPyEndAllowThreads(__tstate
);
18308 if (PyErr_Occurred()) SWIG_fail
;
18311 wxSize
* resultptr
;
18312 resultptr
= new wxSize((wxSize
&) result
);
18313 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
18321 static PyObject
*_wrap_ToolBarBase_GetToolSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18322 PyObject
*resultobj
;
18323 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18325 PyObject
* obj0
= 0 ;
18326 char *kwnames
[] = {
18327 (char *) "self", NULL
18330 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolSize",kwnames
,&obj0
)) goto fail
;
18331 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18332 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18335 result
= (arg1
)->GetToolSize();
18337 wxPyEndAllowThreads(__tstate
);
18338 if (PyErr_Occurred()) SWIG_fail
;
18341 wxSize
* resultptr
;
18342 resultptr
= new wxSize((wxSize
&) result
);
18343 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
18351 static PyObject
*_wrap_ToolBarBase_FindToolForPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18352 PyObject
*resultobj
;
18353 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18356 wxToolBarToolBase
*result
;
18357 PyObject
* obj0
= 0 ;
18358 PyObject
* obj1
= 0 ;
18359 PyObject
* obj2
= 0 ;
18360 char *kwnames
[] = {
18361 (char *) "self",(char *) "x",(char *) "y", NULL
18364 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_FindToolForPosition",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18365 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18366 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18367 arg2
= (int) SWIG_AsInt(obj1
);
18368 if (PyErr_Occurred()) SWIG_fail
;
18369 arg3
= (int) SWIG_AsInt(obj2
);
18370 if (PyErr_Occurred()) SWIG_fail
;
18372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18373 result
= (wxToolBarToolBase
*)(arg1
)->FindToolForPosition(arg2
,arg3
);
18375 wxPyEndAllowThreads(__tstate
);
18376 if (PyErr_Occurred()) SWIG_fail
;
18379 resultobj
= wxPyMake_wxObject(result
, 0);
18387 static PyObject
*_wrap_ToolBarBase_FindById(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18388 PyObject
*resultobj
;
18389 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18391 wxToolBarToolBase
*result
;
18392 PyObject
* obj0
= 0 ;
18393 PyObject
* obj1
= 0 ;
18394 char *kwnames
[] = {
18395 (char *) "self",(char *) "toolid", NULL
18398 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_FindById",kwnames
,&obj0
,&obj1
)) goto fail
;
18399 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18400 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18401 arg2
= (int) SWIG_AsInt(obj1
);
18402 if (PyErr_Occurred()) SWIG_fail
;
18404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18405 result
= (wxToolBarToolBase
*)((wxToolBarBase
const *)arg1
)->FindById(arg2
);
18407 wxPyEndAllowThreads(__tstate
);
18408 if (PyErr_Occurred()) SWIG_fail
;
18411 resultobj
= wxPyMake_wxObject(result
, 0);
18419 static PyObject
*_wrap_ToolBarBase_IsVertical(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18420 PyObject
*resultobj
;
18421 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18423 PyObject
* obj0
= 0 ;
18424 char *kwnames
[] = {
18425 (char *) "self", NULL
18428 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_IsVertical",kwnames
,&obj0
)) goto fail
;
18429 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18430 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18433 result
= (bool)(arg1
)->IsVertical();
18435 wxPyEndAllowThreads(__tstate
);
18436 if (PyErr_Occurred()) SWIG_fail
;
18439 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18447 static PyObject
* ToolBarBase_swigregister(PyObject
*self
, PyObject
*args
) {
18449 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18450 SWIG_TypeClientData(SWIGTYPE_p_wxToolBarBase
, obj
);
18452 return Py_BuildValue((char *)"");
18454 static PyObject
*_wrap_new_ToolBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18455 PyObject
*resultobj
;
18456 wxWindow
*arg1
= (wxWindow
*) 0 ;
18457 int arg2
= (int) -1 ;
18458 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
18459 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
18460 wxSize
const &arg4_defvalue
= wxDefaultSize
;
18461 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
18462 long arg5
= (long) wxNO_BORDER
|wxTB_HORIZONTAL
;
18463 wxString
const &arg6_defvalue
= wxPyToolBarNameStr
;
18464 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
18468 bool temp6
= False
;
18469 PyObject
* obj0
= 0 ;
18470 PyObject
* obj1
= 0 ;
18471 PyObject
* obj2
= 0 ;
18472 PyObject
* obj3
= 0 ;
18473 PyObject
* obj4
= 0 ;
18474 PyObject
* obj5
= 0 ;
18475 char *kwnames
[] = {
18476 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
18479 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_ToolBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
18480 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
18481 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18483 arg2
= (int) SWIG_AsInt(obj1
);
18484 if (PyErr_Occurred()) SWIG_fail
;
18489 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
18495 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
18499 arg5
= (long) SWIG_AsLong(obj4
);
18500 if (PyErr_Occurred()) SWIG_fail
;
18504 arg6
= wxString_in_helper(obj5
);
18505 if (arg6
== NULL
) SWIG_fail
;
18510 if (!wxPyCheckForApp()) SWIG_fail
;
18511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18512 result
= (wxToolBar
*)new wxToolBar(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
18514 wxPyEndAllowThreads(__tstate
);
18515 if (PyErr_Occurred()) SWIG_fail
;
18517 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxToolBar
, 1);
18532 static PyObject
*_wrap_new_PreToolBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18533 PyObject
*resultobj
;
18535 char *kwnames
[] = {
18539 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreToolBar",kwnames
)) goto fail
;
18541 if (!wxPyCheckForApp()) SWIG_fail
;
18542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18543 result
= (wxToolBar
*)new wxToolBar();
18545 wxPyEndAllowThreads(__tstate
);
18546 if (PyErr_Occurred()) SWIG_fail
;
18548 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxToolBar
, 1);
18555 static PyObject
*_wrap_ToolBar_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18556 PyObject
*resultobj
;
18557 wxToolBar
*arg1
= (wxToolBar
*) 0 ;
18558 wxWindow
*arg2
= (wxWindow
*) 0 ;
18559 int arg3
= (int) -1 ;
18560 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
18561 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
18562 wxSize
const &arg5_defvalue
= wxDefaultSize
;
18563 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
18564 long arg6
= (long) wxNO_BORDER
|wxTB_HORIZONTAL
;
18565 wxString
const &arg7_defvalue
= wxPyToolBarNameStr
;
18566 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
18570 bool temp7
= False
;
18571 PyObject
* obj0
= 0 ;
18572 PyObject
* obj1
= 0 ;
18573 PyObject
* obj2
= 0 ;
18574 PyObject
* obj3
= 0 ;
18575 PyObject
* obj4
= 0 ;
18576 PyObject
* obj5
= 0 ;
18577 PyObject
* obj6
= 0 ;
18578 char *kwnames
[] = {
18579 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
18582 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:ToolBar_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
18583 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBar
,
18584 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18585 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
18586 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18588 arg3
= (int) SWIG_AsInt(obj2
);
18589 if (PyErr_Occurred()) SWIG_fail
;
18594 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
18600 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
18604 arg6
= (long) SWIG_AsLong(obj5
);
18605 if (PyErr_Occurred()) SWIG_fail
;
18609 arg7
= wxString_in_helper(obj6
);
18610 if (arg7
== NULL
) SWIG_fail
;
18615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18616 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
18618 wxPyEndAllowThreads(__tstate
);
18619 if (PyErr_Occurred()) SWIG_fail
;
18622 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18638 static PyObject
*_wrap_ToolBar_FindToolForPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18639 PyObject
*resultobj
;
18640 wxToolBar
*arg1
= (wxToolBar
*) 0 ;
18643 wxToolBarToolBase
*result
;
18644 PyObject
* obj0
= 0 ;
18645 PyObject
* obj1
= 0 ;
18646 PyObject
* obj2
= 0 ;
18647 char *kwnames
[] = {
18648 (char *) "self",(char *) "x",(char *) "y", NULL
18651 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBar_FindToolForPosition",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18652 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBar
,
18653 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18654 arg2
= (int) SWIG_AsInt(obj1
);
18655 if (PyErr_Occurred()) SWIG_fail
;
18656 arg3
= (int) SWIG_AsInt(obj2
);
18657 if (PyErr_Occurred()) SWIG_fail
;
18659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18660 result
= (wxToolBarToolBase
*)(arg1
)->FindToolForPosition(arg2
,arg3
);
18662 wxPyEndAllowThreads(__tstate
);
18663 if (PyErr_Occurred()) SWIG_fail
;
18666 resultobj
= wxPyMake_wxObject(result
, 0);
18674 static PyObject
*_wrap_ToolBar_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18675 PyObject
*resultobj
;
18676 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
18677 wxVisualAttributes result
;
18678 PyObject
* obj0
= 0 ;
18679 char *kwnames
[] = {
18680 (char *) "variant", NULL
18683 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ToolBar_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
18685 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
18686 if (PyErr_Occurred()) SWIG_fail
;
18689 if (!wxPyCheckForApp()) SWIG_fail
;
18690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18691 result
= wxToolBar::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
18693 wxPyEndAllowThreads(__tstate
);
18694 if (PyErr_Occurred()) SWIG_fail
;
18697 wxVisualAttributes
* resultptr
;
18698 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
18699 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
18707 static PyObject
* ToolBar_swigregister(PyObject
*self
, PyObject
*args
) {
18709 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18710 SWIG_TypeClientData(SWIGTYPE_p_wxToolBar
, obj
);
18712 return Py_BuildValue((char *)"");
18714 static int _wrap_ListCtrlNameStr_set(PyObject
*_val
) {
18715 PyErr_SetString(PyExc_TypeError
,"Variable ListCtrlNameStr is read-only.");
18720 static PyObject
*_wrap_ListCtrlNameStr_get() {
18725 pyobj
= PyUnicode_FromWideChar((&wxPyListCtrlNameStr
)->c_str(), (&wxPyListCtrlNameStr
)->Len());
18727 pyobj
= PyString_FromStringAndSize((&wxPyListCtrlNameStr
)->c_str(), (&wxPyListCtrlNameStr
)->Len());
18734 static PyObject
*_wrap_new_ListItemAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18735 PyObject
*resultobj
;
18736 wxColour
const &arg1_defvalue
= wxNullColour
;
18737 wxColour
*arg1
= (wxColour
*) &arg1_defvalue
;
18738 wxColour
const &arg2_defvalue
= wxNullColour
;
18739 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
18740 wxFont
const &arg3_defvalue
= wxNullFont
;
18741 wxFont
*arg3
= (wxFont
*) &arg3_defvalue
;
18742 wxListItemAttr
*result
;
18745 PyObject
* obj0
= 0 ;
18746 PyObject
* obj1
= 0 ;
18747 PyObject
* obj2
= 0 ;
18748 char *kwnames
[] = {
18749 (char *) "colText",(char *) "colBack",(char *) "font", NULL
18752 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ListItemAttr",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18756 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
18762 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
18766 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxFont
,
18767 SWIG_POINTER_EXCEPTION
| 0)) == -1)
18769 if (arg3
== NULL
) {
18770 PyErr_SetString(PyExc_TypeError
,"null reference");
18775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18776 result
= (wxListItemAttr
*)new wxListItemAttr((wxColour
const &)*arg1
,(wxColour
const &)*arg2
,(wxFont
const &)*arg3
);
18778 wxPyEndAllowThreads(__tstate
);
18779 if (PyErr_Occurred()) SWIG_fail
;
18781 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListItemAttr
, 1);
18788 static PyObject
*_wrap_ListItemAttr_SetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18789 PyObject
*resultobj
;
18790 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
18791 wxColour
*arg2
= 0 ;
18793 PyObject
* obj0
= 0 ;
18794 PyObject
* obj1
= 0 ;
18795 char *kwnames
[] = {
18796 (char *) "self",(char *) "colText", NULL
18799 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
18800 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
18801 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18804 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
18807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18808 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
18810 wxPyEndAllowThreads(__tstate
);
18811 if (PyErr_Occurred()) SWIG_fail
;
18813 Py_INCREF(Py_None
); resultobj
= Py_None
;
18820 static PyObject
*_wrap_ListItemAttr_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18821 PyObject
*resultobj
;
18822 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
18823 wxColour
*arg2
= 0 ;
18825 PyObject
* obj0
= 0 ;
18826 PyObject
* obj1
= 0 ;
18827 char *kwnames
[] = {
18828 (char *) "self",(char *) "colBack", NULL
18831 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
18832 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
18833 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18836 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
18839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18840 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
18842 wxPyEndAllowThreads(__tstate
);
18843 if (PyErr_Occurred()) SWIG_fail
;
18845 Py_INCREF(Py_None
); resultobj
= Py_None
;
18852 static PyObject
*_wrap_ListItemAttr_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18853 PyObject
*resultobj
;
18854 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
18856 PyObject
* obj0
= 0 ;
18857 PyObject
* obj1
= 0 ;
18858 char *kwnames
[] = {
18859 (char *) "self",(char *) "font", NULL
18862 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
;
18863 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
18864 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18865 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
18866 SWIG_POINTER_EXCEPTION
| 0)) == -1)
18868 if (arg2
== NULL
) {
18869 PyErr_SetString(PyExc_TypeError
,"null reference");
18873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18874 (arg1
)->SetFont((wxFont
const &)*arg2
);
18876 wxPyEndAllowThreads(__tstate
);
18877 if (PyErr_Occurred()) SWIG_fail
;
18879 Py_INCREF(Py_None
); resultobj
= Py_None
;
18886 static PyObject
*_wrap_ListItemAttr_HasTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18887 PyObject
*resultobj
;
18888 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
18890 PyObject
* obj0
= 0 ;
18891 char *kwnames
[] = {
18892 (char *) "self", NULL
18895 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_HasTextColour",kwnames
,&obj0
)) goto fail
;
18896 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
18897 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18900 result
= (bool)(arg1
)->HasTextColour();
18902 wxPyEndAllowThreads(__tstate
);
18903 if (PyErr_Occurred()) SWIG_fail
;
18906 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18914 static PyObject
*_wrap_ListItemAttr_HasBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18915 PyObject
*resultobj
;
18916 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
18918 PyObject
* obj0
= 0 ;
18919 char *kwnames
[] = {
18920 (char *) "self", NULL
18923 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_HasBackgroundColour",kwnames
,&obj0
)) goto fail
;
18924 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
18925 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18928 result
= (bool)(arg1
)->HasBackgroundColour();
18930 wxPyEndAllowThreads(__tstate
);
18931 if (PyErr_Occurred()) SWIG_fail
;
18934 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18942 static PyObject
*_wrap_ListItemAttr_HasFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18943 PyObject
*resultobj
;
18944 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
18946 PyObject
* obj0
= 0 ;
18947 char *kwnames
[] = {
18948 (char *) "self", NULL
18951 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_HasFont",kwnames
,&obj0
)) goto fail
;
18952 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
18953 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18956 result
= (bool)(arg1
)->HasFont();
18958 wxPyEndAllowThreads(__tstate
);
18959 if (PyErr_Occurred()) SWIG_fail
;
18962 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18970 static PyObject
*_wrap_ListItemAttr_GetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18971 PyObject
*resultobj
;
18972 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
18974 PyObject
* obj0
= 0 ;
18975 char *kwnames
[] = {
18976 (char *) "self", NULL
18979 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_GetTextColour",kwnames
,&obj0
)) goto fail
;
18980 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
18981 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18984 result
= (arg1
)->GetTextColour();
18986 wxPyEndAllowThreads(__tstate
);
18987 if (PyErr_Occurred()) SWIG_fail
;
18990 wxColour
* resultptr
;
18991 resultptr
= new wxColour((wxColour
&) result
);
18992 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
19000 static PyObject
*_wrap_ListItemAttr_GetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19001 PyObject
*resultobj
;
19002 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
19004 PyObject
* obj0
= 0 ;
19005 char *kwnames
[] = {
19006 (char *) "self", NULL
19009 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
19010 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
19011 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19014 result
= (arg1
)->GetBackgroundColour();
19016 wxPyEndAllowThreads(__tstate
);
19017 if (PyErr_Occurred()) SWIG_fail
;
19020 wxColour
* resultptr
;
19021 resultptr
= new wxColour((wxColour
&) result
);
19022 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
19030 static PyObject
*_wrap_ListItemAttr_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19031 PyObject
*resultobj
;
19032 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
19034 PyObject
* obj0
= 0 ;
19035 char *kwnames
[] = {
19036 (char *) "self", NULL
19039 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_GetFont",kwnames
,&obj0
)) goto fail
;
19040 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
19041 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19044 result
= (arg1
)->GetFont();
19046 wxPyEndAllowThreads(__tstate
);
19047 if (PyErr_Occurred()) SWIG_fail
;
19050 wxFont
* resultptr
;
19051 resultptr
= new wxFont((wxFont
&) result
);
19052 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
19060 static PyObject
*_wrap_ListItemAttr_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19061 PyObject
*resultobj
;
19062 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
19063 PyObject
* obj0
= 0 ;
19064 char *kwnames
[] = {
19065 (char *) "self", NULL
19068 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_Destroy",kwnames
,&obj0
)) goto fail
;
19069 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
19070 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19073 wxListItemAttr_Destroy(arg1
);
19075 wxPyEndAllowThreads(__tstate
);
19076 if (PyErr_Occurred()) SWIG_fail
;
19078 Py_INCREF(Py_None
); resultobj
= Py_None
;
19085 static PyObject
* ListItemAttr_swigregister(PyObject
*self
, PyObject
*args
) {
19087 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19088 SWIG_TypeClientData(SWIGTYPE_p_wxListItemAttr
, obj
);
19090 return Py_BuildValue((char *)"");
19092 static PyObject
*_wrap_new_ListItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19093 PyObject
*resultobj
;
19094 wxListItem
*result
;
19095 char *kwnames
[] = {
19099 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ListItem",kwnames
)) goto fail
;
19101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19102 result
= (wxListItem
*)new wxListItem();
19104 wxPyEndAllowThreads(__tstate
);
19105 if (PyErr_Occurred()) SWIG_fail
;
19108 resultobj
= wxPyMake_wxObject(result
, 1);
19116 static PyObject
*_wrap_delete_ListItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19117 PyObject
*resultobj
;
19118 wxListItem
*arg1
= (wxListItem
*) 0 ;
19119 PyObject
* obj0
= 0 ;
19120 char *kwnames
[] = {
19121 (char *) "self", NULL
19124 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ListItem",kwnames
,&obj0
)) goto fail
;
19125 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19126 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19131 wxPyEndAllowThreads(__tstate
);
19132 if (PyErr_Occurred()) SWIG_fail
;
19134 Py_INCREF(Py_None
); resultobj
= Py_None
;
19141 static PyObject
*_wrap_ListItem_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19142 PyObject
*resultobj
;
19143 wxListItem
*arg1
= (wxListItem
*) 0 ;
19144 PyObject
* obj0
= 0 ;
19145 char *kwnames
[] = {
19146 (char *) "self", NULL
19149 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_Clear",kwnames
,&obj0
)) goto fail
;
19150 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19151 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19156 wxPyEndAllowThreads(__tstate
);
19157 if (PyErr_Occurred()) SWIG_fail
;
19159 Py_INCREF(Py_None
); resultobj
= Py_None
;
19166 static PyObject
*_wrap_ListItem_ClearAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19167 PyObject
*resultobj
;
19168 wxListItem
*arg1
= (wxListItem
*) 0 ;
19169 PyObject
* obj0
= 0 ;
19170 char *kwnames
[] = {
19171 (char *) "self", NULL
19174 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_ClearAttributes",kwnames
,&obj0
)) goto fail
;
19175 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19176 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19179 (arg1
)->ClearAttributes();
19181 wxPyEndAllowThreads(__tstate
);
19182 if (PyErr_Occurred()) SWIG_fail
;
19184 Py_INCREF(Py_None
); resultobj
= Py_None
;
19191 static PyObject
*_wrap_ListItem_SetMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19192 PyObject
*resultobj
;
19193 wxListItem
*arg1
= (wxListItem
*) 0 ;
19195 PyObject
* obj0
= 0 ;
19196 PyObject
* obj1
= 0 ;
19197 char *kwnames
[] = {
19198 (char *) "self",(char *) "mask", NULL
19201 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetMask",kwnames
,&obj0
,&obj1
)) goto fail
;
19202 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19203 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19204 arg2
= (long) SWIG_AsLong(obj1
);
19205 if (PyErr_Occurred()) SWIG_fail
;
19207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19208 (arg1
)->SetMask(arg2
);
19210 wxPyEndAllowThreads(__tstate
);
19211 if (PyErr_Occurred()) SWIG_fail
;
19213 Py_INCREF(Py_None
); resultobj
= Py_None
;
19220 static PyObject
*_wrap_ListItem_SetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19221 PyObject
*resultobj
;
19222 wxListItem
*arg1
= (wxListItem
*) 0 ;
19224 PyObject
* obj0
= 0 ;
19225 PyObject
* obj1
= 0 ;
19226 char *kwnames
[] = {
19227 (char *) "self",(char *) "id", NULL
19230 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
19231 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19232 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19233 arg2
= (long) SWIG_AsLong(obj1
);
19234 if (PyErr_Occurred()) SWIG_fail
;
19236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19237 (arg1
)->SetId(arg2
);
19239 wxPyEndAllowThreads(__tstate
);
19240 if (PyErr_Occurred()) SWIG_fail
;
19242 Py_INCREF(Py_None
); resultobj
= Py_None
;
19249 static PyObject
*_wrap_ListItem_SetColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19250 PyObject
*resultobj
;
19251 wxListItem
*arg1
= (wxListItem
*) 0 ;
19253 PyObject
* obj0
= 0 ;
19254 PyObject
* obj1
= 0 ;
19255 char *kwnames
[] = {
19256 (char *) "self",(char *) "col", NULL
19259 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetColumn",kwnames
,&obj0
,&obj1
)) goto fail
;
19260 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19261 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19262 arg2
= (int) SWIG_AsInt(obj1
);
19263 if (PyErr_Occurred()) SWIG_fail
;
19265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19266 (arg1
)->SetColumn(arg2
);
19268 wxPyEndAllowThreads(__tstate
);
19269 if (PyErr_Occurred()) SWIG_fail
;
19271 Py_INCREF(Py_None
); resultobj
= Py_None
;
19278 static PyObject
*_wrap_ListItem_SetState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19279 PyObject
*resultobj
;
19280 wxListItem
*arg1
= (wxListItem
*) 0 ;
19282 PyObject
* obj0
= 0 ;
19283 PyObject
* obj1
= 0 ;
19284 char *kwnames
[] = {
19285 (char *) "self",(char *) "state", NULL
19288 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetState",kwnames
,&obj0
,&obj1
)) goto fail
;
19289 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19290 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19291 arg2
= (long) SWIG_AsLong(obj1
);
19292 if (PyErr_Occurred()) SWIG_fail
;
19294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19295 (arg1
)->SetState(arg2
);
19297 wxPyEndAllowThreads(__tstate
);
19298 if (PyErr_Occurred()) SWIG_fail
;
19300 Py_INCREF(Py_None
); resultobj
= Py_None
;
19307 static PyObject
*_wrap_ListItem_SetStateMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19308 PyObject
*resultobj
;
19309 wxListItem
*arg1
= (wxListItem
*) 0 ;
19311 PyObject
* obj0
= 0 ;
19312 PyObject
* obj1
= 0 ;
19313 char *kwnames
[] = {
19314 (char *) "self",(char *) "stateMask", NULL
19317 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetStateMask",kwnames
,&obj0
,&obj1
)) goto fail
;
19318 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19319 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19320 arg2
= (long) SWIG_AsLong(obj1
);
19321 if (PyErr_Occurred()) SWIG_fail
;
19323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19324 (arg1
)->SetStateMask(arg2
);
19326 wxPyEndAllowThreads(__tstate
);
19327 if (PyErr_Occurred()) SWIG_fail
;
19329 Py_INCREF(Py_None
); resultobj
= Py_None
;
19336 static PyObject
*_wrap_ListItem_SetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19337 PyObject
*resultobj
;
19338 wxListItem
*arg1
= (wxListItem
*) 0 ;
19339 wxString
*arg2
= 0 ;
19340 bool temp2
= False
;
19341 PyObject
* obj0
= 0 ;
19342 PyObject
* obj1
= 0 ;
19343 char *kwnames
[] = {
19344 (char *) "self",(char *) "text", NULL
19347 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetText",kwnames
,&obj0
,&obj1
)) goto fail
;
19348 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19349 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19351 arg2
= wxString_in_helper(obj1
);
19352 if (arg2
== NULL
) SWIG_fail
;
19356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19357 (arg1
)->SetText((wxString
const &)*arg2
);
19359 wxPyEndAllowThreads(__tstate
);
19360 if (PyErr_Occurred()) SWIG_fail
;
19362 Py_INCREF(Py_None
); resultobj
= Py_None
;
19377 static PyObject
*_wrap_ListItem_SetImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19378 PyObject
*resultobj
;
19379 wxListItem
*arg1
= (wxListItem
*) 0 ;
19381 PyObject
* obj0
= 0 ;
19382 PyObject
* obj1
= 0 ;
19383 char *kwnames
[] = {
19384 (char *) "self",(char *) "image", NULL
19387 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetImage",kwnames
,&obj0
,&obj1
)) goto fail
;
19388 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19389 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19390 arg2
= (int) SWIG_AsInt(obj1
);
19391 if (PyErr_Occurred()) SWIG_fail
;
19393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19394 (arg1
)->SetImage(arg2
);
19396 wxPyEndAllowThreads(__tstate
);
19397 if (PyErr_Occurred()) SWIG_fail
;
19399 Py_INCREF(Py_None
); resultobj
= Py_None
;
19406 static PyObject
*_wrap_ListItem_SetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19407 PyObject
*resultobj
;
19408 wxListItem
*arg1
= (wxListItem
*) 0 ;
19410 PyObject
* obj0
= 0 ;
19411 PyObject
* obj1
= 0 ;
19412 char *kwnames
[] = {
19413 (char *) "self",(char *) "data", NULL
19416 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
19417 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19418 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19419 arg2
= (long) SWIG_AsLong(obj1
);
19420 if (PyErr_Occurred()) SWIG_fail
;
19422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19423 (arg1
)->SetData(arg2
);
19425 wxPyEndAllowThreads(__tstate
);
19426 if (PyErr_Occurred()) SWIG_fail
;
19428 Py_INCREF(Py_None
); resultobj
= Py_None
;
19435 static PyObject
*_wrap_ListItem_SetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19436 PyObject
*resultobj
;
19437 wxListItem
*arg1
= (wxListItem
*) 0 ;
19439 PyObject
* obj0
= 0 ;
19440 PyObject
* obj1
= 0 ;
19441 char *kwnames
[] = {
19442 (char *) "self",(char *) "width", NULL
19445 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
19446 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19447 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19448 arg2
= (int) SWIG_AsInt(obj1
);
19449 if (PyErr_Occurred()) SWIG_fail
;
19451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19452 (arg1
)->SetWidth(arg2
);
19454 wxPyEndAllowThreads(__tstate
);
19455 if (PyErr_Occurred()) SWIG_fail
;
19457 Py_INCREF(Py_None
); resultobj
= Py_None
;
19464 static PyObject
*_wrap_ListItem_SetAlign(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19465 PyObject
*resultobj
;
19466 wxListItem
*arg1
= (wxListItem
*) 0 ;
19468 PyObject
* obj0
= 0 ;
19469 PyObject
* obj1
= 0 ;
19470 char *kwnames
[] = {
19471 (char *) "self",(char *) "align", NULL
19474 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetAlign",kwnames
,&obj0
,&obj1
)) goto fail
;
19475 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19476 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19477 arg2
= (wxListColumnFormat
) SWIG_AsInt(obj1
);
19478 if (PyErr_Occurred()) SWIG_fail
;
19480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19481 (arg1
)->SetAlign((wxListColumnFormat
)arg2
);
19483 wxPyEndAllowThreads(__tstate
);
19484 if (PyErr_Occurred()) SWIG_fail
;
19486 Py_INCREF(Py_None
); resultobj
= Py_None
;
19493 static PyObject
*_wrap_ListItem_SetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19494 PyObject
*resultobj
;
19495 wxListItem
*arg1
= (wxListItem
*) 0 ;
19496 wxColour
*arg2
= 0 ;
19498 PyObject
* obj0
= 0 ;
19499 PyObject
* obj1
= 0 ;
19500 char *kwnames
[] = {
19501 (char *) "self",(char *) "colText", NULL
19504 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
19505 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19506 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19509 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
19512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19513 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
19515 wxPyEndAllowThreads(__tstate
);
19516 if (PyErr_Occurred()) SWIG_fail
;
19518 Py_INCREF(Py_None
); resultobj
= Py_None
;
19525 static PyObject
*_wrap_ListItem_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19526 PyObject
*resultobj
;
19527 wxListItem
*arg1
= (wxListItem
*) 0 ;
19528 wxColour
*arg2
= 0 ;
19530 PyObject
* obj0
= 0 ;
19531 PyObject
* obj1
= 0 ;
19532 char *kwnames
[] = {
19533 (char *) "self",(char *) "colBack", NULL
19536 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
19537 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19538 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19541 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
19544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19545 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
19547 wxPyEndAllowThreads(__tstate
);
19548 if (PyErr_Occurred()) SWIG_fail
;
19550 Py_INCREF(Py_None
); resultobj
= Py_None
;
19557 static PyObject
*_wrap_ListItem_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19558 PyObject
*resultobj
;
19559 wxListItem
*arg1
= (wxListItem
*) 0 ;
19561 PyObject
* obj0
= 0 ;
19562 PyObject
* obj1
= 0 ;
19563 char *kwnames
[] = {
19564 (char *) "self",(char *) "font", NULL
19567 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
;
19568 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19569 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19570 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
19571 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19573 if (arg2
== NULL
) {
19574 PyErr_SetString(PyExc_TypeError
,"null reference");
19578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19579 (arg1
)->SetFont((wxFont
const &)*arg2
);
19581 wxPyEndAllowThreads(__tstate
);
19582 if (PyErr_Occurred()) SWIG_fail
;
19584 Py_INCREF(Py_None
); resultobj
= Py_None
;
19591 static PyObject
*_wrap_ListItem_GetMask(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_GetMask",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
= (long)(arg1
)->GetMask();
19607 wxPyEndAllowThreads(__tstate
);
19608 if (PyErr_Occurred()) SWIG_fail
;
19610 resultobj
= SWIG_FromLong((long)result
);
19617 static PyObject
*_wrap_ListItem_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19618 PyObject
*resultobj
;
19619 wxListItem
*arg1
= (wxListItem
*) 0 ;
19621 PyObject
* obj0
= 0 ;
19622 char *kwnames
[] = {
19623 (char *) "self", NULL
19626 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetId",kwnames
,&obj0
)) goto fail
;
19627 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19628 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19631 result
= (long)(arg1
)->GetId();
19633 wxPyEndAllowThreads(__tstate
);
19634 if (PyErr_Occurred()) SWIG_fail
;
19636 resultobj
= SWIG_FromLong((long)result
);
19643 static PyObject
*_wrap_ListItem_GetColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19644 PyObject
*resultobj
;
19645 wxListItem
*arg1
= (wxListItem
*) 0 ;
19647 PyObject
* obj0
= 0 ;
19648 char *kwnames
[] = {
19649 (char *) "self", NULL
19652 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetColumn",kwnames
,&obj0
)) goto fail
;
19653 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19654 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19657 result
= (int)(arg1
)->GetColumn();
19659 wxPyEndAllowThreads(__tstate
);
19660 if (PyErr_Occurred()) SWIG_fail
;
19662 resultobj
= SWIG_FromInt((int)result
);
19669 static PyObject
*_wrap_ListItem_GetState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19670 PyObject
*resultobj
;
19671 wxListItem
*arg1
= (wxListItem
*) 0 ;
19673 PyObject
* obj0
= 0 ;
19674 char *kwnames
[] = {
19675 (char *) "self", NULL
19678 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetState",kwnames
,&obj0
)) goto fail
;
19679 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19680 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19683 result
= (long)(arg1
)->GetState();
19685 wxPyEndAllowThreads(__tstate
);
19686 if (PyErr_Occurred()) SWIG_fail
;
19688 resultobj
= SWIG_FromLong((long)result
);
19695 static PyObject
*_wrap_ListItem_GetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19696 PyObject
*resultobj
;
19697 wxListItem
*arg1
= (wxListItem
*) 0 ;
19699 PyObject
* obj0
= 0 ;
19700 char *kwnames
[] = {
19701 (char *) "self", NULL
19704 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetText",kwnames
,&obj0
)) goto fail
;
19705 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19706 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19710 wxString
const &_result_ref
= (arg1
)->GetText();
19711 result
= (wxString
*) &_result_ref
;
19714 wxPyEndAllowThreads(__tstate
);
19715 if (PyErr_Occurred()) SWIG_fail
;
19719 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
19721 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
19730 static PyObject
*_wrap_ListItem_GetImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19731 PyObject
*resultobj
;
19732 wxListItem
*arg1
= (wxListItem
*) 0 ;
19734 PyObject
* obj0
= 0 ;
19735 char *kwnames
[] = {
19736 (char *) "self", NULL
19739 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetImage",kwnames
,&obj0
)) goto fail
;
19740 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19741 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19744 result
= (int)(arg1
)->GetImage();
19746 wxPyEndAllowThreads(__tstate
);
19747 if (PyErr_Occurred()) SWIG_fail
;
19749 resultobj
= SWIG_FromInt((int)result
);
19756 static PyObject
*_wrap_ListItem_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19757 PyObject
*resultobj
;
19758 wxListItem
*arg1
= (wxListItem
*) 0 ;
19760 PyObject
* obj0
= 0 ;
19761 char *kwnames
[] = {
19762 (char *) "self", NULL
19765 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetData",kwnames
,&obj0
)) goto fail
;
19766 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19767 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19770 result
= (long)(arg1
)->GetData();
19772 wxPyEndAllowThreads(__tstate
);
19773 if (PyErr_Occurred()) SWIG_fail
;
19775 resultobj
= SWIG_FromLong((long)result
);
19782 static PyObject
*_wrap_ListItem_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19783 PyObject
*resultobj
;
19784 wxListItem
*arg1
= (wxListItem
*) 0 ;
19786 PyObject
* obj0
= 0 ;
19787 char *kwnames
[] = {
19788 (char *) "self", NULL
19791 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetWidth",kwnames
,&obj0
)) goto fail
;
19792 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19793 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19796 result
= (int)(arg1
)->GetWidth();
19798 wxPyEndAllowThreads(__tstate
);
19799 if (PyErr_Occurred()) SWIG_fail
;
19801 resultobj
= SWIG_FromInt((int)result
);
19808 static PyObject
*_wrap_ListItem_GetAlign(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19809 PyObject
*resultobj
;
19810 wxListItem
*arg1
= (wxListItem
*) 0 ;
19812 PyObject
* obj0
= 0 ;
19813 char *kwnames
[] = {
19814 (char *) "self", NULL
19817 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetAlign",kwnames
,&obj0
)) goto fail
;
19818 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19819 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19822 result
= (int)(arg1
)->GetAlign();
19824 wxPyEndAllowThreads(__tstate
);
19825 if (PyErr_Occurred()) SWIG_fail
;
19827 resultobj
= SWIG_FromInt((int)result
);
19834 static PyObject
*_wrap_ListItem_GetAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19835 PyObject
*resultobj
;
19836 wxListItem
*arg1
= (wxListItem
*) 0 ;
19837 wxListItemAttr
*result
;
19838 PyObject
* obj0
= 0 ;
19839 char *kwnames
[] = {
19840 (char *) "self", NULL
19843 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetAttributes",kwnames
,&obj0
)) goto fail
;
19844 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19845 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19848 result
= (wxListItemAttr
*)(arg1
)->GetAttributes();
19850 wxPyEndAllowThreads(__tstate
);
19851 if (PyErr_Occurred()) SWIG_fail
;
19853 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListItemAttr
, 0);
19860 static PyObject
*_wrap_ListItem_HasAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19861 PyObject
*resultobj
;
19862 wxListItem
*arg1
= (wxListItem
*) 0 ;
19864 PyObject
* obj0
= 0 ;
19865 char *kwnames
[] = {
19866 (char *) "self", NULL
19869 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_HasAttributes",kwnames
,&obj0
)) goto fail
;
19870 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19871 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19874 result
= (bool)(arg1
)->HasAttributes();
19876 wxPyEndAllowThreads(__tstate
);
19877 if (PyErr_Occurred()) SWIG_fail
;
19880 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19888 static PyObject
*_wrap_ListItem_GetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19889 PyObject
*resultobj
;
19890 wxListItem
*arg1
= (wxListItem
*) 0 ;
19892 PyObject
* obj0
= 0 ;
19893 char *kwnames
[] = {
19894 (char *) "self", NULL
19897 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetTextColour",kwnames
,&obj0
)) goto fail
;
19898 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19899 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19902 result
= ((wxListItem
const *)arg1
)->GetTextColour();
19904 wxPyEndAllowThreads(__tstate
);
19905 if (PyErr_Occurred()) SWIG_fail
;
19908 wxColour
* resultptr
;
19909 resultptr
= new wxColour((wxColour
&) result
);
19910 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
19918 static PyObject
*_wrap_ListItem_GetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19919 PyObject
*resultobj
;
19920 wxListItem
*arg1
= (wxListItem
*) 0 ;
19922 PyObject
* obj0
= 0 ;
19923 char *kwnames
[] = {
19924 (char *) "self", NULL
19927 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
19928 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19929 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19932 result
= ((wxListItem
const *)arg1
)->GetBackgroundColour();
19934 wxPyEndAllowThreads(__tstate
);
19935 if (PyErr_Occurred()) SWIG_fail
;
19938 wxColour
* resultptr
;
19939 resultptr
= new wxColour((wxColour
&) result
);
19940 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
19948 static PyObject
*_wrap_ListItem_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19949 PyObject
*resultobj
;
19950 wxListItem
*arg1
= (wxListItem
*) 0 ;
19952 PyObject
* obj0
= 0 ;
19953 char *kwnames
[] = {
19954 (char *) "self", NULL
19957 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetFont",kwnames
,&obj0
)) goto fail
;
19958 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19959 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19962 result
= ((wxListItem
const *)arg1
)->GetFont();
19964 wxPyEndAllowThreads(__tstate
);
19965 if (PyErr_Occurred()) SWIG_fail
;
19968 wxFont
* resultptr
;
19969 resultptr
= new wxFont((wxFont
&) result
);
19970 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
19978 static PyObject
*_wrap_ListItem_m_mask_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19979 PyObject
*resultobj
;
19980 wxListItem
*arg1
= (wxListItem
*) 0 ;
19982 PyObject
* obj0
= 0 ;
19983 PyObject
* obj1
= 0 ;
19984 char *kwnames
[] = {
19985 (char *) "self",(char *) "m_mask", NULL
19988 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_mask_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19989 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19990 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19991 arg2
= (long) SWIG_AsLong(obj1
);
19992 if (PyErr_Occurred()) SWIG_fail
;
19993 if (arg1
) (arg1
)->m_mask
= arg2
;
19995 Py_INCREF(Py_None
); resultobj
= Py_None
;
20002 static PyObject
*_wrap_ListItem_m_mask_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20003 PyObject
*resultobj
;
20004 wxListItem
*arg1
= (wxListItem
*) 0 ;
20006 PyObject
* obj0
= 0 ;
20007 char *kwnames
[] = {
20008 (char *) "self", NULL
20011 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_mask_get",kwnames
,&obj0
)) goto fail
;
20012 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20013 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20014 result
= (long) ((arg1
)->m_mask
);
20016 resultobj
= SWIG_FromLong((long)result
);
20023 static PyObject
*_wrap_ListItem_m_itemId_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20024 PyObject
*resultobj
;
20025 wxListItem
*arg1
= (wxListItem
*) 0 ;
20027 PyObject
* obj0
= 0 ;
20028 PyObject
* obj1
= 0 ;
20029 char *kwnames
[] = {
20030 (char *) "self",(char *) "m_itemId", NULL
20033 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_itemId_set",kwnames
,&obj0
,&obj1
)) goto fail
;
20034 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20035 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20036 arg2
= (long) SWIG_AsLong(obj1
);
20037 if (PyErr_Occurred()) SWIG_fail
;
20038 if (arg1
) (arg1
)->m_itemId
= arg2
;
20040 Py_INCREF(Py_None
); resultobj
= Py_None
;
20047 static PyObject
*_wrap_ListItem_m_itemId_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20048 PyObject
*resultobj
;
20049 wxListItem
*arg1
= (wxListItem
*) 0 ;
20051 PyObject
* obj0
= 0 ;
20052 char *kwnames
[] = {
20053 (char *) "self", NULL
20056 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_itemId_get",kwnames
,&obj0
)) goto fail
;
20057 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20058 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20059 result
= (long) ((arg1
)->m_itemId
);
20061 resultobj
= SWIG_FromLong((long)result
);
20068 static PyObject
*_wrap_ListItem_m_col_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20069 PyObject
*resultobj
;
20070 wxListItem
*arg1
= (wxListItem
*) 0 ;
20072 PyObject
* obj0
= 0 ;
20073 PyObject
* obj1
= 0 ;
20074 char *kwnames
[] = {
20075 (char *) "self",(char *) "m_col", NULL
20078 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_col_set",kwnames
,&obj0
,&obj1
)) goto fail
;
20079 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20080 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20081 arg2
= (int) SWIG_AsInt(obj1
);
20082 if (PyErr_Occurred()) SWIG_fail
;
20083 if (arg1
) (arg1
)->m_col
= arg2
;
20085 Py_INCREF(Py_None
); resultobj
= Py_None
;
20092 static PyObject
*_wrap_ListItem_m_col_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20093 PyObject
*resultobj
;
20094 wxListItem
*arg1
= (wxListItem
*) 0 ;
20096 PyObject
* obj0
= 0 ;
20097 char *kwnames
[] = {
20098 (char *) "self", NULL
20101 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_col_get",kwnames
,&obj0
)) goto fail
;
20102 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20103 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20104 result
= (int) ((arg1
)->m_col
);
20106 resultobj
= SWIG_FromInt((int)result
);
20113 static PyObject
*_wrap_ListItem_m_state_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20114 PyObject
*resultobj
;
20115 wxListItem
*arg1
= (wxListItem
*) 0 ;
20117 PyObject
* obj0
= 0 ;
20118 PyObject
* obj1
= 0 ;
20119 char *kwnames
[] = {
20120 (char *) "self",(char *) "m_state", NULL
20123 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_state_set",kwnames
,&obj0
,&obj1
)) goto fail
;
20124 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20125 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20126 arg2
= (long) SWIG_AsLong(obj1
);
20127 if (PyErr_Occurred()) SWIG_fail
;
20128 if (arg1
) (arg1
)->m_state
= arg2
;
20130 Py_INCREF(Py_None
); resultobj
= Py_None
;
20137 static PyObject
*_wrap_ListItem_m_state_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20138 PyObject
*resultobj
;
20139 wxListItem
*arg1
= (wxListItem
*) 0 ;
20141 PyObject
* obj0
= 0 ;
20142 char *kwnames
[] = {
20143 (char *) "self", NULL
20146 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_state_get",kwnames
,&obj0
)) goto fail
;
20147 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20148 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20149 result
= (long) ((arg1
)->m_state
);
20151 resultobj
= SWIG_FromLong((long)result
);
20158 static PyObject
*_wrap_ListItem_m_stateMask_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20159 PyObject
*resultobj
;
20160 wxListItem
*arg1
= (wxListItem
*) 0 ;
20162 PyObject
* obj0
= 0 ;
20163 PyObject
* obj1
= 0 ;
20164 char *kwnames
[] = {
20165 (char *) "self",(char *) "m_stateMask", NULL
20168 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_stateMask_set",kwnames
,&obj0
,&obj1
)) goto fail
;
20169 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20170 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20171 arg2
= (long) SWIG_AsLong(obj1
);
20172 if (PyErr_Occurred()) SWIG_fail
;
20173 if (arg1
) (arg1
)->m_stateMask
= arg2
;
20175 Py_INCREF(Py_None
); resultobj
= Py_None
;
20182 static PyObject
*_wrap_ListItem_m_stateMask_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20183 PyObject
*resultobj
;
20184 wxListItem
*arg1
= (wxListItem
*) 0 ;
20186 PyObject
* obj0
= 0 ;
20187 char *kwnames
[] = {
20188 (char *) "self", NULL
20191 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_stateMask_get",kwnames
,&obj0
)) goto fail
;
20192 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20193 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20194 result
= (long) ((arg1
)->m_stateMask
);
20196 resultobj
= SWIG_FromLong((long)result
);
20203 static PyObject
*_wrap_ListItem_m_text_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20204 PyObject
*resultobj
;
20205 wxListItem
*arg1
= (wxListItem
*) 0 ;
20206 wxString
*arg2
= (wxString
*) 0 ;
20207 bool temp2
= False
;
20208 PyObject
* obj0
= 0 ;
20209 PyObject
* obj1
= 0 ;
20210 char *kwnames
[] = {
20211 (char *) "self",(char *) "m_text", NULL
20214 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_text_set",kwnames
,&obj0
,&obj1
)) goto fail
;
20215 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20216 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20218 arg2
= wxString_in_helper(obj1
);
20219 if (arg2
== NULL
) SWIG_fail
;
20222 if (arg1
) (arg1
)->m_text
= *arg2
;
20224 Py_INCREF(Py_None
); resultobj
= Py_None
;
20239 static PyObject
*_wrap_ListItem_m_text_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20240 PyObject
*resultobj
;
20241 wxListItem
*arg1
= (wxListItem
*) 0 ;
20243 PyObject
* obj0
= 0 ;
20244 char *kwnames
[] = {
20245 (char *) "self", NULL
20248 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_text_get",kwnames
,&obj0
)) goto fail
;
20249 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20250 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20251 result
= (wxString
*)& ((arg1
)->m_text
);
20255 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
20257 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
20266 static PyObject
*_wrap_ListItem_m_image_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20267 PyObject
*resultobj
;
20268 wxListItem
*arg1
= (wxListItem
*) 0 ;
20270 PyObject
* obj0
= 0 ;
20271 PyObject
* obj1
= 0 ;
20272 char *kwnames
[] = {
20273 (char *) "self",(char *) "m_image", NULL
20276 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_image_set",kwnames
,&obj0
,&obj1
)) goto fail
;
20277 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20278 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20279 arg2
= (int) SWIG_AsInt(obj1
);
20280 if (PyErr_Occurred()) SWIG_fail
;
20281 if (arg1
) (arg1
)->m_image
= arg2
;
20283 Py_INCREF(Py_None
); resultobj
= Py_None
;
20290 static PyObject
*_wrap_ListItem_m_image_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20291 PyObject
*resultobj
;
20292 wxListItem
*arg1
= (wxListItem
*) 0 ;
20294 PyObject
* obj0
= 0 ;
20295 char *kwnames
[] = {
20296 (char *) "self", NULL
20299 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_image_get",kwnames
,&obj0
)) goto fail
;
20300 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20301 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20302 result
= (int) ((arg1
)->m_image
);
20304 resultobj
= SWIG_FromInt((int)result
);
20311 static PyObject
*_wrap_ListItem_m_data_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20312 PyObject
*resultobj
;
20313 wxListItem
*arg1
= (wxListItem
*) 0 ;
20315 PyObject
* obj0
= 0 ;
20316 PyObject
* obj1
= 0 ;
20317 char *kwnames
[] = {
20318 (char *) "self",(char *) "m_data", NULL
20321 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_data_set",kwnames
,&obj0
,&obj1
)) goto fail
;
20322 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20323 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20324 arg2
= (long) SWIG_AsLong(obj1
);
20325 if (PyErr_Occurred()) SWIG_fail
;
20326 if (arg1
) (arg1
)->m_data
= arg2
;
20328 Py_INCREF(Py_None
); resultobj
= Py_None
;
20335 static PyObject
*_wrap_ListItem_m_data_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20336 PyObject
*resultobj
;
20337 wxListItem
*arg1
= (wxListItem
*) 0 ;
20339 PyObject
* obj0
= 0 ;
20340 char *kwnames
[] = {
20341 (char *) "self", NULL
20344 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_data_get",kwnames
,&obj0
)) goto fail
;
20345 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20346 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20347 result
= (long) ((arg1
)->m_data
);
20349 resultobj
= SWIG_FromLong((long)result
);
20356 static PyObject
*_wrap_ListItem_m_format_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20357 PyObject
*resultobj
;
20358 wxListItem
*arg1
= (wxListItem
*) 0 ;
20360 PyObject
* obj0
= 0 ;
20361 PyObject
* obj1
= 0 ;
20362 char *kwnames
[] = {
20363 (char *) "self",(char *) "m_format", NULL
20366 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_format_set",kwnames
,&obj0
,&obj1
)) goto fail
;
20367 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20368 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20369 arg2
= (int) SWIG_AsInt(obj1
);
20370 if (PyErr_Occurred()) SWIG_fail
;
20371 if (arg1
) (arg1
)->m_format
= arg2
;
20373 Py_INCREF(Py_None
); resultobj
= Py_None
;
20380 static PyObject
*_wrap_ListItem_m_format_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20381 PyObject
*resultobj
;
20382 wxListItem
*arg1
= (wxListItem
*) 0 ;
20384 PyObject
* obj0
= 0 ;
20385 char *kwnames
[] = {
20386 (char *) "self", NULL
20389 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_format_get",kwnames
,&obj0
)) goto fail
;
20390 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20391 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20392 result
= (int) ((arg1
)->m_format
);
20394 resultobj
= SWIG_FromInt((int)result
);
20401 static PyObject
*_wrap_ListItem_m_width_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20402 PyObject
*resultobj
;
20403 wxListItem
*arg1
= (wxListItem
*) 0 ;
20405 PyObject
* obj0
= 0 ;
20406 PyObject
* obj1
= 0 ;
20407 char *kwnames
[] = {
20408 (char *) "self",(char *) "m_width", NULL
20411 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_width_set",kwnames
,&obj0
,&obj1
)) goto fail
;
20412 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20413 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20414 arg2
= (int) SWIG_AsInt(obj1
);
20415 if (PyErr_Occurred()) SWIG_fail
;
20416 if (arg1
) (arg1
)->m_width
= arg2
;
20418 Py_INCREF(Py_None
); resultobj
= Py_None
;
20425 static PyObject
*_wrap_ListItem_m_width_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20426 PyObject
*resultobj
;
20427 wxListItem
*arg1
= (wxListItem
*) 0 ;
20429 PyObject
* obj0
= 0 ;
20430 char *kwnames
[] = {
20431 (char *) "self", NULL
20434 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_width_get",kwnames
,&obj0
)) goto fail
;
20435 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20436 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20437 result
= (int) ((arg1
)->m_width
);
20439 resultobj
= SWIG_FromInt((int)result
);
20446 static PyObject
* ListItem_swigregister(PyObject
*self
, PyObject
*args
) {
20448 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20449 SWIG_TypeClientData(SWIGTYPE_p_wxListItem
, obj
);
20451 return Py_BuildValue((char *)"");
20453 static PyObject
*_wrap_new_ListEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20454 PyObject
*resultobj
;
20455 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
20456 int arg2
= (int) 0 ;
20457 wxListEvent
*result
;
20458 PyObject
* obj0
= 0 ;
20459 PyObject
* obj1
= 0 ;
20460 char *kwnames
[] = {
20461 (char *) "commandType",(char *) "id", NULL
20464 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_ListEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
20466 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
20467 if (PyErr_Occurred()) SWIG_fail
;
20470 arg2
= (int) SWIG_AsInt(obj1
);
20471 if (PyErr_Occurred()) SWIG_fail
;
20474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20475 result
= (wxListEvent
*)new wxListEvent(arg1
,arg2
);
20477 wxPyEndAllowThreads(__tstate
);
20478 if (PyErr_Occurred()) SWIG_fail
;
20480 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListEvent
, 1);
20487 static PyObject
*_wrap_ListEvent_m_code_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20488 PyObject
*resultobj
;
20489 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20491 PyObject
* obj0
= 0 ;
20492 PyObject
* obj1
= 0 ;
20493 char *kwnames
[] = {
20494 (char *) "self",(char *) "m_code", NULL
20497 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_code_set",kwnames
,&obj0
,&obj1
)) goto fail
;
20498 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20499 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20500 arg2
= (int) SWIG_AsInt(obj1
);
20501 if (PyErr_Occurred()) SWIG_fail
;
20502 if (arg1
) (arg1
)->m_code
= arg2
;
20504 Py_INCREF(Py_None
); resultobj
= Py_None
;
20511 static PyObject
*_wrap_ListEvent_m_code_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20512 PyObject
*resultobj
;
20513 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20515 PyObject
* obj0
= 0 ;
20516 char *kwnames
[] = {
20517 (char *) "self", NULL
20520 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_code_get",kwnames
,&obj0
)) goto fail
;
20521 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20522 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20523 result
= (int) ((arg1
)->m_code
);
20525 resultobj
= SWIG_FromInt((int)result
);
20532 static PyObject
*_wrap_ListEvent_m_oldItemIndex_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20533 PyObject
*resultobj
;
20534 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20536 PyObject
* obj0
= 0 ;
20537 PyObject
* obj1
= 0 ;
20538 char *kwnames
[] = {
20539 (char *) "self",(char *) "m_oldItemIndex", NULL
20542 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_oldItemIndex_set",kwnames
,&obj0
,&obj1
)) goto fail
;
20543 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20544 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20545 arg2
= (long) SWIG_AsLong(obj1
);
20546 if (PyErr_Occurred()) SWIG_fail
;
20547 if (arg1
) (arg1
)->m_oldItemIndex
= arg2
;
20549 Py_INCREF(Py_None
); resultobj
= Py_None
;
20556 static PyObject
*_wrap_ListEvent_m_oldItemIndex_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20557 PyObject
*resultobj
;
20558 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20560 PyObject
* obj0
= 0 ;
20561 char *kwnames
[] = {
20562 (char *) "self", NULL
20565 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_oldItemIndex_get",kwnames
,&obj0
)) goto fail
;
20566 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20567 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20568 result
= (long) ((arg1
)->m_oldItemIndex
);
20570 resultobj
= SWIG_FromLong((long)result
);
20577 static PyObject
*_wrap_ListEvent_m_itemIndex_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20578 PyObject
*resultobj
;
20579 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20581 PyObject
* obj0
= 0 ;
20582 PyObject
* obj1
= 0 ;
20583 char *kwnames
[] = {
20584 (char *) "self",(char *) "m_itemIndex", NULL
20587 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_itemIndex_set",kwnames
,&obj0
,&obj1
)) goto fail
;
20588 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20589 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20590 arg2
= (long) SWIG_AsLong(obj1
);
20591 if (PyErr_Occurred()) SWIG_fail
;
20592 if (arg1
) (arg1
)->m_itemIndex
= arg2
;
20594 Py_INCREF(Py_None
); resultobj
= Py_None
;
20601 static PyObject
*_wrap_ListEvent_m_itemIndex_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20602 PyObject
*resultobj
;
20603 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20605 PyObject
* obj0
= 0 ;
20606 char *kwnames
[] = {
20607 (char *) "self", NULL
20610 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_itemIndex_get",kwnames
,&obj0
)) goto fail
;
20611 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20612 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20613 result
= (long) ((arg1
)->m_itemIndex
);
20615 resultobj
= SWIG_FromLong((long)result
);
20622 static PyObject
*_wrap_ListEvent_m_col_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20623 PyObject
*resultobj
;
20624 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20626 PyObject
* obj0
= 0 ;
20627 PyObject
* obj1
= 0 ;
20628 char *kwnames
[] = {
20629 (char *) "self",(char *) "m_col", NULL
20632 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_col_set",kwnames
,&obj0
,&obj1
)) goto fail
;
20633 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20634 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20635 arg2
= (int) SWIG_AsInt(obj1
);
20636 if (PyErr_Occurred()) SWIG_fail
;
20637 if (arg1
) (arg1
)->m_col
= arg2
;
20639 Py_INCREF(Py_None
); resultobj
= Py_None
;
20646 static PyObject
*_wrap_ListEvent_m_col_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20647 PyObject
*resultobj
;
20648 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20650 PyObject
* obj0
= 0 ;
20651 char *kwnames
[] = {
20652 (char *) "self", NULL
20655 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_col_get",kwnames
,&obj0
)) goto fail
;
20656 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20657 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20658 result
= (int) ((arg1
)->m_col
);
20660 resultobj
= SWIG_FromInt((int)result
);
20667 static PyObject
*_wrap_ListEvent_m_pointDrag_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20668 PyObject
*resultobj
;
20669 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20670 wxPoint
*arg2
= (wxPoint
*) 0 ;
20671 PyObject
* obj0
= 0 ;
20672 PyObject
* obj1
= 0 ;
20673 char *kwnames
[] = {
20674 (char *) "self",(char *) "m_pointDrag", NULL
20677 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_pointDrag_set",kwnames
,&obj0
,&obj1
)) goto fail
;
20678 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20679 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20680 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPoint
,
20681 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20682 if (arg1
) (arg1
)->m_pointDrag
= *arg2
;
20684 Py_INCREF(Py_None
); resultobj
= Py_None
;
20691 static PyObject
*_wrap_ListEvent_m_pointDrag_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20692 PyObject
*resultobj
;
20693 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20695 PyObject
* obj0
= 0 ;
20696 char *kwnames
[] = {
20697 (char *) "self", NULL
20700 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_pointDrag_get",kwnames
,&obj0
)) goto fail
;
20701 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20702 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20703 result
= (wxPoint
*)& ((arg1
)->m_pointDrag
);
20705 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 0);
20712 static PyObject
*_wrap_ListEvent_m_item_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20713 PyObject
*resultobj
;
20714 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20715 wxListItem
*result
;
20716 PyObject
* obj0
= 0 ;
20717 char *kwnames
[] = {
20718 (char *) "self", NULL
20721 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_item_get",kwnames
,&obj0
)) goto fail
;
20722 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20723 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20724 result
= (wxListItem
*)& ((arg1
)->m_item
);
20727 resultobj
= wxPyMake_wxObject(result
, 0);
20735 static PyObject
*_wrap_ListEvent_GetKeyCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20736 PyObject
*resultobj
;
20737 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20739 PyObject
* obj0
= 0 ;
20740 char *kwnames
[] = {
20741 (char *) "self", NULL
20744 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetKeyCode",kwnames
,&obj0
)) goto fail
;
20745 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20746 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20749 result
= (int)(arg1
)->GetKeyCode();
20751 wxPyEndAllowThreads(__tstate
);
20752 if (PyErr_Occurred()) SWIG_fail
;
20754 resultobj
= SWIG_FromInt((int)result
);
20761 static PyObject
*_wrap_ListEvent_GetIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20762 PyObject
*resultobj
;
20763 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20765 PyObject
* obj0
= 0 ;
20766 char *kwnames
[] = {
20767 (char *) "self", NULL
20770 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetIndex",kwnames
,&obj0
)) goto fail
;
20771 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20772 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20775 result
= (long)(arg1
)->GetIndex();
20777 wxPyEndAllowThreads(__tstate
);
20778 if (PyErr_Occurred()) SWIG_fail
;
20780 resultobj
= SWIG_FromLong((long)result
);
20787 static PyObject
*_wrap_ListEvent_GetColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20788 PyObject
*resultobj
;
20789 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20791 PyObject
* obj0
= 0 ;
20792 char *kwnames
[] = {
20793 (char *) "self", NULL
20796 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetColumn",kwnames
,&obj0
)) goto fail
;
20797 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20798 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20801 result
= (int)(arg1
)->GetColumn();
20803 wxPyEndAllowThreads(__tstate
);
20804 if (PyErr_Occurred()) SWIG_fail
;
20806 resultobj
= SWIG_FromInt((int)result
);
20813 static PyObject
*_wrap_ListEvent_GetPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20814 PyObject
*resultobj
;
20815 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20817 PyObject
* obj0
= 0 ;
20818 char *kwnames
[] = {
20819 (char *) "self", NULL
20822 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetPoint",kwnames
,&obj0
)) goto fail
;
20823 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20824 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20827 result
= (arg1
)->GetPoint();
20829 wxPyEndAllowThreads(__tstate
);
20830 if (PyErr_Occurred()) SWIG_fail
;
20833 wxPoint
* resultptr
;
20834 resultptr
= new wxPoint((wxPoint
&) result
);
20835 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
20843 static PyObject
*_wrap_ListEvent_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20844 PyObject
*resultobj
;
20845 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20847 PyObject
* obj0
= 0 ;
20848 char *kwnames
[] = {
20849 (char *) "self", NULL
20852 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetLabel",kwnames
,&obj0
)) goto fail
;
20853 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20854 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20858 wxString
const &_result_ref
= (arg1
)->GetLabel();
20859 result
= (wxString
*) &_result_ref
;
20862 wxPyEndAllowThreads(__tstate
);
20863 if (PyErr_Occurred()) SWIG_fail
;
20867 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
20869 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
20878 static PyObject
*_wrap_ListEvent_GetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20879 PyObject
*resultobj
;
20880 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20882 PyObject
* obj0
= 0 ;
20883 char *kwnames
[] = {
20884 (char *) "self", NULL
20887 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetText",kwnames
,&obj0
)) goto fail
;
20888 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20889 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20893 wxString
const &_result_ref
= (arg1
)->GetText();
20894 result
= (wxString
*) &_result_ref
;
20897 wxPyEndAllowThreads(__tstate
);
20898 if (PyErr_Occurred()) SWIG_fail
;
20902 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
20904 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
20913 static PyObject
*_wrap_ListEvent_GetImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20914 PyObject
*resultobj
;
20915 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20917 PyObject
* obj0
= 0 ;
20918 char *kwnames
[] = {
20919 (char *) "self", NULL
20922 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetImage",kwnames
,&obj0
)) goto fail
;
20923 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20924 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20927 result
= (int)(arg1
)->GetImage();
20929 wxPyEndAllowThreads(__tstate
);
20930 if (PyErr_Occurred()) SWIG_fail
;
20932 resultobj
= SWIG_FromInt((int)result
);
20939 static PyObject
*_wrap_ListEvent_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20940 PyObject
*resultobj
;
20941 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20943 PyObject
* obj0
= 0 ;
20944 char *kwnames
[] = {
20945 (char *) "self", NULL
20948 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetData",kwnames
,&obj0
)) goto fail
;
20949 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20950 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20953 result
= (long)(arg1
)->GetData();
20955 wxPyEndAllowThreads(__tstate
);
20956 if (PyErr_Occurred()) SWIG_fail
;
20958 resultobj
= SWIG_FromLong((long)result
);
20965 static PyObject
*_wrap_ListEvent_GetMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20966 PyObject
*resultobj
;
20967 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20969 PyObject
* obj0
= 0 ;
20970 char *kwnames
[] = {
20971 (char *) "self", NULL
20974 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetMask",kwnames
,&obj0
)) goto fail
;
20975 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20976 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20979 result
= (long)(arg1
)->GetMask();
20981 wxPyEndAllowThreads(__tstate
);
20982 if (PyErr_Occurred()) SWIG_fail
;
20984 resultobj
= SWIG_FromLong((long)result
);
20991 static PyObject
*_wrap_ListEvent_GetItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20992 PyObject
*resultobj
;
20993 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20994 wxListItem
*result
;
20995 PyObject
* obj0
= 0 ;
20996 char *kwnames
[] = {
20997 (char *) "self", NULL
21000 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetItem",kwnames
,&obj0
)) goto fail
;
21001 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
21002 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21006 wxListItem
const &_result_ref
= (arg1
)->GetItem();
21007 result
= (wxListItem
*) &_result_ref
;
21010 wxPyEndAllowThreads(__tstate
);
21011 if (PyErr_Occurred()) SWIG_fail
;
21013 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListItem
, 0);
21020 static PyObject
*_wrap_ListEvent_GetCacheFrom(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21021 PyObject
*resultobj
;
21022 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
21024 PyObject
* obj0
= 0 ;
21025 char *kwnames
[] = {
21026 (char *) "self", NULL
21029 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetCacheFrom",kwnames
,&obj0
)) goto fail
;
21030 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
21031 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21034 result
= (long)(arg1
)->GetCacheFrom();
21036 wxPyEndAllowThreads(__tstate
);
21037 if (PyErr_Occurred()) SWIG_fail
;
21039 resultobj
= SWIG_FromLong((long)result
);
21046 static PyObject
*_wrap_ListEvent_GetCacheTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21047 PyObject
*resultobj
;
21048 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
21050 PyObject
* obj0
= 0 ;
21051 char *kwnames
[] = {
21052 (char *) "self", NULL
21055 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetCacheTo",kwnames
,&obj0
)) goto fail
;
21056 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
21057 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21060 result
= (long)(arg1
)->GetCacheTo();
21062 wxPyEndAllowThreads(__tstate
);
21063 if (PyErr_Occurred()) SWIG_fail
;
21065 resultobj
= SWIG_FromLong((long)result
);
21072 static PyObject
*_wrap_ListEvent_IsEditCancelled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21073 PyObject
*resultobj
;
21074 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
21076 PyObject
* obj0
= 0 ;
21077 char *kwnames
[] = {
21078 (char *) "self", NULL
21081 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_IsEditCancelled",kwnames
,&obj0
)) goto fail
;
21082 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
21083 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21086 result
= (bool)((wxListEvent
const *)arg1
)->IsEditCancelled();
21088 wxPyEndAllowThreads(__tstate
);
21089 if (PyErr_Occurred()) SWIG_fail
;
21092 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21100 static PyObject
*_wrap_ListEvent_SetEditCanceled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21101 PyObject
*resultobj
;
21102 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
21104 PyObject
* obj0
= 0 ;
21105 PyObject
* obj1
= 0 ;
21106 char *kwnames
[] = {
21107 (char *) "self",(char *) "editCancelled", NULL
21110 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_SetEditCanceled",kwnames
,&obj0
,&obj1
)) goto fail
;
21111 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
21112 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21113 arg2
= (bool) SWIG_AsBool(obj1
);
21114 if (PyErr_Occurred()) SWIG_fail
;
21116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21117 (arg1
)->SetEditCanceled(arg2
);
21119 wxPyEndAllowThreads(__tstate
);
21120 if (PyErr_Occurred()) SWIG_fail
;
21122 Py_INCREF(Py_None
); resultobj
= Py_None
;
21129 static PyObject
* ListEvent_swigregister(PyObject
*self
, PyObject
*args
) {
21131 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21132 SWIG_TypeClientData(SWIGTYPE_p_wxListEvent
, obj
);
21134 return Py_BuildValue((char *)"");
21136 static PyObject
*_wrap_new_ListCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21137 PyObject
*resultobj
;
21138 wxWindow
*arg1
= (wxWindow
*) 0 ;
21139 int arg2
= (int) -1 ;
21140 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
21141 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
21142 wxSize
const &arg4_defvalue
= wxDefaultSize
;
21143 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
21144 long arg5
= (long) wxLC_ICON
;
21145 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
21146 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
21147 wxString
const &arg7_defvalue
= wxPyListCtrlNameStr
;
21148 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
21149 wxPyListCtrl
*result
;
21152 bool temp7
= False
;
21153 PyObject
* obj0
= 0 ;
21154 PyObject
* obj1
= 0 ;
21155 PyObject
* obj2
= 0 ;
21156 PyObject
* obj3
= 0 ;
21157 PyObject
* obj4
= 0 ;
21158 PyObject
* obj5
= 0 ;
21159 PyObject
* obj6
= 0 ;
21160 char *kwnames
[] = {
21161 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
21164 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_ListCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
21165 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21166 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21168 arg2
= (int) SWIG_AsInt(obj1
);
21169 if (PyErr_Occurred()) SWIG_fail
;
21174 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
21180 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
21184 arg5
= (long) SWIG_AsLong(obj4
);
21185 if (PyErr_Occurred()) SWIG_fail
;
21188 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxValidator
,
21189 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21191 if (arg6
== NULL
) {
21192 PyErr_SetString(PyExc_TypeError
,"null reference");
21198 arg7
= wxString_in_helper(obj6
);
21199 if (arg7
== NULL
) SWIG_fail
;
21204 if (!wxPyCheckForApp()) SWIG_fail
;
21205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21206 result
= (wxPyListCtrl
*)new wxPyListCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
21208 wxPyEndAllowThreads(__tstate
);
21209 if (PyErr_Occurred()) SWIG_fail
;
21211 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyListCtrl
, 1);
21226 static PyObject
*_wrap_new_PreListCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21227 PyObject
*resultobj
;
21228 wxPyListCtrl
*result
;
21229 char *kwnames
[] = {
21233 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreListCtrl",kwnames
)) goto fail
;
21235 if (!wxPyCheckForApp()) SWIG_fail
;
21236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21237 result
= (wxPyListCtrl
*)new wxPyListCtrl();
21239 wxPyEndAllowThreads(__tstate
);
21240 if (PyErr_Occurred()) SWIG_fail
;
21242 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyListCtrl
, 1);
21249 static PyObject
*_wrap_ListCtrl_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21250 PyObject
*resultobj
;
21251 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21252 wxWindow
*arg2
= (wxWindow
*) 0 ;
21253 int arg3
= (int) -1 ;
21254 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
21255 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
21256 wxSize
const &arg5_defvalue
= wxDefaultSize
;
21257 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
21258 long arg6
= (long) wxLC_ICON
;
21259 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
21260 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
21261 wxString
const &arg8_defvalue
= wxPyListCtrlNameStr
;
21262 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
21266 bool temp8
= False
;
21267 PyObject
* obj0
= 0 ;
21268 PyObject
* obj1
= 0 ;
21269 PyObject
* obj2
= 0 ;
21270 PyObject
* obj3
= 0 ;
21271 PyObject
* obj4
= 0 ;
21272 PyObject
* obj5
= 0 ;
21273 PyObject
* obj6
= 0 ;
21274 PyObject
* obj7
= 0 ;
21275 char *kwnames
[] = {
21276 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
21279 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:ListCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
21280 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21281 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21282 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
21283 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21285 arg3
= (int) SWIG_AsInt(obj2
);
21286 if (PyErr_Occurred()) SWIG_fail
;
21291 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
21297 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
21301 arg6
= (long) SWIG_AsLong(obj5
);
21302 if (PyErr_Occurred()) SWIG_fail
;
21305 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
21306 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21308 if (arg7
== NULL
) {
21309 PyErr_SetString(PyExc_TypeError
,"null reference");
21315 arg8
= wxString_in_helper(obj7
);
21316 if (arg8
== NULL
) SWIG_fail
;
21321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21322 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
21324 wxPyEndAllowThreads(__tstate
);
21325 if (PyErr_Occurred()) SWIG_fail
;
21328 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21344 static PyObject
*_wrap_ListCtrl__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21345 PyObject
*resultobj
;
21346 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21347 PyObject
*arg2
= (PyObject
*) 0 ;
21348 PyObject
*arg3
= (PyObject
*) 0 ;
21349 PyObject
* obj0
= 0 ;
21350 PyObject
* obj1
= 0 ;
21351 PyObject
* obj2
= 0 ;
21352 char *kwnames
[] = {
21353 (char *) "self",(char *) "self",(char *) "_class", NULL
21356 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21357 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21358 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21363 (arg1
)->_setCallbackInfo(arg2
,arg3
);
21365 wxPyEndAllowThreads(__tstate
);
21366 if (PyErr_Occurred()) SWIG_fail
;
21368 Py_INCREF(Py_None
); resultobj
= Py_None
;
21375 static PyObject
*_wrap_ListCtrl_SetForegroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21376 PyObject
*resultobj
;
21377 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21378 wxColour
*arg2
= 0 ;
21381 PyObject
* obj0
= 0 ;
21382 PyObject
* obj1
= 0 ;
21383 char *kwnames
[] = {
21384 (char *) "self",(char *) "col", NULL
21387 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetForegroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
21388 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21389 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21392 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
21395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21396 result
= (bool)(arg1
)->SetForegroundColour((wxColour
const &)*arg2
);
21398 wxPyEndAllowThreads(__tstate
);
21399 if (PyErr_Occurred()) SWIG_fail
;
21402 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21410 static PyObject
*_wrap_ListCtrl_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21411 PyObject
*resultobj
;
21412 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21413 wxColour
*arg2
= 0 ;
21416 PyObject
* obj0
= 0 ;
21417 PyObject
* obj1
= 0 ;
21418 char *kwnames
[] = {
21419 (char *) "self",(char *) "col", NULL
21422 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
21423 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21424 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21427 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
21430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21431 result
= (bool)(arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
21433 wxPyEndAllowThreads(__tstate
);
21434 if (PyErr_Occurred()) SWIG_fail
;
21437 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21445 static PyObject
*_wrap_ListCtrl_GetColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21446 PyObject
*resultobj
;
21447 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21449 wxListItem
*result
;
21450 PyObject
* obj0
= 0 ;
21451 PyObject
* obj1
= 0 ;
21452 char *kwnames
[] = {
21453 (char *) "self",(char *) "col", NULL
21456 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetColumn",kwnames
,&obj0
,&obj1
)) goto fail
;
21457 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21458 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21459 arg2
= (int) SWIG_AsInt(obj1
);
21460 if (PyErr_Occurred()) SWIG_fail
;
21462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21463 result
= (wxListItem
*)wxPyListCtrl_GetColumn(arg1
,arg2
);
21465 wxPyEndAllowThreads(__tstate
);
21466 if (PyErr_Occurred()) SWIG_fail
;
21469 resultobj
= wxPyMake_wxObject(result
, 0);
21477 static PyObject
*_wrap_ListCtrl_SetColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21478 PyObject
*resultobj
;
21479 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21481 wxListItem
*arg3
= 0 ;
21483 PyObject
* obj0
= 0 ;
21484 PyObject
* obj1
= 0 ;
21485 PyObject
* obj2
= 0 ;
21486 char *kwnames
[] = {
21487 (char *) "self",(char *) "col",(char *) "item", NULL
21490 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetColumn",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21491 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21492 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21493 arg2
= (int) SWIG_AsInt(obj1
);
21494 if (PyErr_Occurred()) SWIG_fail
;
21495 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxListItem
,
21496 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21498 if (arg3
== NULL
) {
21499 PyErr_SetString(PyExc_TypeError
,"null reference");
21503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21504 result
= (bool)(arg1
)->SetColumn(arg2
,*arg3
);
21506 wxPyEndAllowThreads(__tstate
);
21507 if (PyErr_Occurred()) SWIG_fail
;
21510 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21518 static PyObject
*_wrap_ListCtrl_GetColumnWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21519 PyObject
*resultobj
;
21520 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21523 PyObject
* obj0
= 0 ;
21524 PyObject
* obj1
= 0 ;
21525 char *kwnames
[] = {
21526 (char *) "self",(char *) "col", NULL
21529 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetColumnWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
21530 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21531 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21532 arg2
= (int) SWIG_AsInt(obj1
);
21533 if (PyErr_Occurred()) SWIG_fail
;
21535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21536 result
= (int)((wxPyListCtrl
const *)arg1
)->GetColumnWidth(arg2
);
21538 wxPyEndAllowThreads(__tstate
);
21539 if (PyErr_Occurred()) SWIG_fail
;
21541 resultobj
= SWIG_FromInt((int)result
);
21548 static PyObject
*_wrap_ListCtrl_SetColumnWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21549 PyObject
*resultobj
;
21550 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21554 PyObject
* obj0
= 0 ;
21555 PyObject
* obj1
= 0 ;
21556 PyObject
* obj2
= 0 ;
21557 char *kwnames
[] = {
21558 (char *) "self",(char *) "col",(char *) "width", NULL
21561 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetColumnWidth",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21562 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21563 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21564 arg2
= (int) SWIG_AsInt(obj1
);
21565 if (PyErr_Occurred()) SWIG_fail
;
21566 arg3
= (int) SWIG_AsInt(obj2
);
21567 if (PyErr_Occurred()) SWIG_fail
;
21569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21570 result
= (bool)(arg1
)->SetColumnWidth(arg2
,arg3
);
21572 wxPyEndAllowThreads(__tstate
);
21573 if (PyErr_Occurred()) SWIG_fail
;
21576 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21584 static PyObject
*_wrap_ListCtrl_GetCountPerPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21585 PyObject
*resultobj
;
21586 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21588 PyObject
* obj0
= 0 ;
21589 char *kwnames
[] = {
21590 (char *) "self", NULL
21593 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetCountPerPage",kwnames
,&obj0
)) goto fail
;
21594 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21595 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21598 result
= (int)((wxPyListCtrl
const *)arg1
)->GetCountPerPage();
21600 wxPyEndAllowThreads(__tstate
);
21601 if (PyErr_Occurred()) SWIG_fail
;
21603 resultobj
= SWIG_FromInt((int)result
);
21610 static PyObject
*_wrap_ListCtrl_GetViewRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21611 PyObject
*resultobj
;
21612 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21614 PyObject
* obj0
= 0 ;
21615 char *kwnames
[] = {
21616 (char *) "self", NULL
21619 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetViewRect",kwnames
,&obj0
)) goto fail
;
21620 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21621 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21624 result
= ((wxPyListCtrl
const *)arg1
)->GetViewRect();
21626 wxPyEndAllowThreads(__tstate
);
21627 if (PyErr_Occurred()) SWIG_fail
;
21630 wxRect
* resultptr
;
21631 resultptr
= new wxRect((wxRect
&) result
);
21632 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
21640 static PyObject
*_wrap_ListCtrl_GetEditControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21641 PyObject
*resultobj
;
21642 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21643 wxTextCtrl
*result
;
21644 PyObject
* obj0
= 0 ;
21645 char *kwnames
[] = {
21646 (char *) "self", NULL
21649 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetEditControl",kwnames
,&obj0
)) goto fail
;
21650 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21651 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21654 result
= (wxTextCtrl
*)((wxPyListCtrl
const *)arg1
)->GetEditControl();
21656 wxPyEndAllowThreads(__tstate
);
21657 if (PyErr_Occurred()) SWIG_fail
;
21660 resultobj
= wxPyMake_wxObject(result
, 0);
21668 static PyObject
*_wrap_ListCtrl_GetItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21669 PyObject
*resultobj
;
21670 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21672 int arg3
= (int) 0 ;
21673 wxListItem
*result
;
21674 PyObject
* obj0
= 0 ;
21675 PyObject
* obj1
= 0 ;
21676 PyObject
* obj2
= 0 ;
21677 char *kwnames
[] = {
21678 (char *) "self",(char *) "itemId",(char *) "col", NULL
21681 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_GetItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21682 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21683 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21684 arg2
= (long) SWIG_AsLong(obj1
);
21685 if (PyErr_Occurred()) SWIG_fail
;
21687 arg3
= (int) SWIG_AsInt(obj2
);
21688 if (PyErr_Occurred()) SWIG_fail
;
21691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21692 result
= (wxListItem
*)wxPyListCtrl_GetItem(arg1
,arg2
,arg3
);
21694 wxPyEndAllowThreads(__tstate
);
21695 if (PyErr_Occurred()) SWIG_fail
;
21698 resultobj
= wxPyMake_wxObject(result
, 0);
21706 static PyObject
*_wrap_ListCtrl_SetItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21707 PyObject
*resultobj
;
21708 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21709 wxListItem
*arg2
= 0 ;
21711 PyObject
* obj0
= 0 ;
21712 PyObject
* obj1
= 0 ;
21713 char *kwnames
[] = {
21714 (char *) "self",(char *) "info", NULL
21717 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetItem",kwnames
,&obj0
,&obj1
)) goto fail
;
21718 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21719 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21720 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxListItem
,
21721 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21723 if (arg2
== NULL
) {
21724 PyErr_SetString(PyExc_TypeError
,"null reference");
21728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21729 result
= (bool)(arg1
)->SetItem(*arg2
);
21731 wxPyEndAllowThreads(__tstate
);
21732 if (PyErr_Occurred()) SWIG_fail
;
21735 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21743 static PyObject
*_wrap_ListCtrl_SetStringItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21744 PyObject
*resultobj
;
21745 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21748 wxString
*arg4
= 0 ;
21749 int arg5
= (int) -1 ;
21751 bool temp4
= False
;
21752 PyObject
* obj0
= 0 ;
21753 PyObject
* obj1
= 0 ;
21754 PyObject
* obj2
= 0 ;
21755 PyObject
* obj3
= 0 ;
21756 PyObject
* obj4
= 0 ;
21757 char *kwnames
[] = {
21758 (char *) "self",(char *) "index",(char *) "col",(char *) "label",(char *) "imageId", NULL
21761 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:ListCtrl_SetStringItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
21762 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21763 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21764 arg2
= (long) SWIG_AsLong(obj1
);
21765 if (PyErr_Occurred()) SWIG_fail
;
21766 arg3
= (int) SWIG_AsInt(obj2
);
21767 if (PyErr_Occurred()) SWIG_fail
;
21769 arg4
= wxString_in_helper(obj3
);
21770 if (arg4
== NULL
) SWIG_fail
;
21774 arg5
= (int) SWIG_AsInt(obj4
);
21775 if (PyErr_Occurred()) SWIG_fail
;
21778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21779 result
= (long)(arg1
)->SetItem(arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
21781 wxPyEndAllowThreads(__tstate
);
21782 if (PyErr_Occurred()) SWIG_fail
;
21784 resultobj
= SWIG_FromLong((long)result
);
21799 static PyObject
*_wrap_ListCtrl_GetItemState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21800 PyObject
*resultobj
;
21801 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21805 PyObject
* obj0
= 0 ;
21806 PyObject
* obj1
= 0 ;
21807 PyObject
* obj2
= 0 ;
21808 char *kwnames
[] = {
21809 (char *) "self",(char *) "item",(char *) "stateMask", NULL
21812 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_GetItemState",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21813 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21814 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21815 arg2
= (long) SWIG_AsLong(obj1
);
21816 if (PyErr_Occurred()) SWIG_fail
;
21817 arg3
= (long) SWIG_AsLong(obj2
);
21818 if (PyErr_Occurred()) SWIG_fail
;
21820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21821 result
= (int)((wxPyListCtrl
const *)arg1
)->GetItemState(arg2
,arg3
);
21823 wxPyEndAllowThreads(__tstate
);
21824 if (PyErr_Occurred()) SWIG_fail
;
21826 resultobj
= SWIG_FromInt((int)result
);
21833 static PyObject
*_wrap_ListCtrl_SetItemState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21834 PyObject
*resultobj
;
21835 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21840 PyObject
* obj0
= 0 ;
21841 PyObject
* obj1
= 0 ;
21842 PyObject
* obj2
= 0 ;
21843 PyObject
* obj3
= 0 ;
21844 char *kwnames
[] = {
21845 (char *) "self",(char *) "item",(char *) "state",(char *) "stateMask", NULL
21848 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_SetItemState",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
21849 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21850 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21851 arg2
= (long) SWIG_AsLong(obj1
);
21852 if (PyErr_Occurred()) SWIG_fail
;
21853 arg3
= (long) SWIG_AsLong(obj2
);
21854 if (PyErr_Occurred()) SWIG_fail
;
21855 arg4
= (long) SWIG_AsLong(obj3
);
21856 if (PyErr_Occurred()) SWIG_fail
;
21858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21859 result
= (bool)(arg1
)->SetItemState(arg2
,arg3
,arg4
);
21861 wxPyEndAllowThreads(__tstate
);
21862 if (PyErr_Occurred()) SWIG_fail
;
21865 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21873 static PyObject
*_wrap_ListCtrl_SetItemImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21874 PyObject
*resultobj
;
21875 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21880 PyObject
* obj0
= 0 ;
21881 PyObject
* obj1
= 0 ;
21882 PyObject
* obj2
= 0 ;
21883 PyObject
* obj3
= 0 ;
21884 char *kwnames
[] = {
21885 (char *) "self",(char *) "item",(char *) "image",(char *) "selImage", NULL
21888 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_SetItemImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
21889 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21890 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21891 arg2
= (long) SWIG_AsLong(obj1
);
21892 if (PyErr_Occurred()) SWIG_fail
;
21893 arg3
= (int) SWIG_AsInt(obj2
);
21894 if (PyErr_Occurred()) SWIG_fail
;
21895 arg4
= (int) SWIG_AsInt(obj3
);
21896 if (PyErr_Occurred()) SWIG_fail
;
21898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21899 result
= (bool)(arg1
)->SetItemImage(arg2
,arg3
,arg4
);
21901 wxPyEndAllowThreads(__tstate
);
21902 if (PyErr_Occurred()) SWIG_fail
;
21905 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21913 static PyObject
*_wrap_ListCtrl_GetItemText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21914 PyObject
*resultobj
;
21915 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21918 PyObject
* obj0
= 0 ;
21919 PyObject
* obj1
= 0 ;
21920 char *kwnames
[] = {
21921 (char *) "self",(char *) "item", NULL
21924 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemText",kwnames
,&obj0
,&obj1
)) goto fail
;
21925 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21926 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21927 arg2
= (long) SWIG_AsLong(obj1
);
21928 if (PyErr_Occurred()) SWIG_fail
;
21930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21931 result
= ((wxPyListCtrl
const *)arg1
)->GetItemText(arg2
);
21933 wxPyEndAllowThreads(__tstate
);
21934 if (PyErr_Occurred()) SWIG_fail
;
21938 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
21940 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
21949 static PyObject
*_wrap_ListCtrl_SetItemText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21950 PyObject
*resultobj
;
21951 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21953 wxString
*arg3
= 0 ;
21954 bool temp3
= False
;
21955 PyObject
* obj0
= 0 ;
21956 PyObject
* obj1
= 0 ;
21957 PyObject
* obj2
= 0 ;
21958 char *kwnames
[] = {
21959 (char *) "self",(char *) "item",(char *) "str", NULL
21962 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21963 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21964 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21965 arg2
= (long) SWIG_AsLong(obj1
);
21966 if (PyErr_Occurred()) SWIG_fail
;
21968 arg3
= wxString_in_helper(obj2
);
21969 if (arg3
== NULL
) SWIG_fail
;
21973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21974 (arg1
)->SetItemText(arg2
,(wxString
const &)*arg3
);
21976 wxPyEndAllowThreads(__tstate
);
21977 if (PyErr_Occurred()) SWIG_fail
;
21979 Py_INCREF(Py_None
); resultobj
= Py_None
;
21994 static PyObject
*_wrap_ListCtrl_GetItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21995 PyObject
*resultobj
;
21996 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21999 PyObject
* obj0
= 0 ;
22000 PyObject
* obj1
= 0 ;
22001 char *kwnames
[] = {
22002 (char *) "self",(char *) "item", NULL
22005 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemData",kwnames
,&obj0
,&obj1
)) goto fail
;
22006 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22007 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22008 arg2
= (long) SWIG_AsLong(obj1
);
22009 if (PyErr_Occurred()) SWIG_fail
;
22011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22012 result
= (long)((wxPyListCtrl
const *)arg1
)->GetItemData(arg2
);
22014 wxPyEndAllowThreads(__tstate
);
22015 if (PyErr_Occurred()) SWIG_fail
;
22017 resultobj
= SWIG_FromLong((long)result
);
22024 static PyObject
*_wrap_ListCtrl_SetItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22025 PyObject
*resultobj
;
22026 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22030 PyObject
* obj0
= 0 ;
22031 PyObject
* obj1
= 0 ;
22032 PyObject
* obj2
= 0 ;
22033 char *kwnames
[] = {
22034 (char *) "self",(char *) "item",(char *) "data", NULL
22037 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22038 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22039 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22040 arg2
= (long) SWIG_AsLong(obj1
);
22041 if (PyErr_Occurred()) SWIG_fail
;
22042 arg3
= (long) SWIG_AsLong(obj2
);
22043 if (PyErr_Occurred()) SWIG_fail
;
22045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22046 result
= (bool)(arg1
)->SetItemData(arg2
,arg3
);
22048 wxPyEndAllowThreads(__tstate
);
22049 if (PyErr_Occurred()) SWIG_fail
;
22052 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22060 static PyObject
*_wrap_ListCtrl_GetItemPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22061 PyObject
*resultobj
;
22062 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22065 PyObject
* obj0
= 0 ;
22066 PyObject
* obj1
= 0 ;
22067 char *kwnames
[] = {
22068 (char *) "self",(char *) "item", NULL
22071 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
22072 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22073 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22074 arg2
= (long) SWIG_AsLong(obj1
);
22075 if (PyErr_Occurred()) SWIG_fail
;
22077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22078 result
= wxPyListCtrl_GetItemPosition(arg1
,arg2
);
22080 wxPyEndAllowThreads(__tstate
);
22081 if (PyErr_Occurred()) SWIG_fail
;
22084 wxPoint
* resultptr
;
22085 resultptr
= new wxPoint((wxPoint
&) result
);
22086 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
22094 static PyObject
*_wrap_ListCtrl_GetItemRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22095 PyObject
*resultobj
;
22096 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22098 int arg3
= (int) wxLIST_RECT_BOUNDS
;
22100 PyObject
* obj0
= 0 ;
22101 PyObject
* obj1
= 0 ;
22102 PyObject
* obj2
= 0 ;
22103 char *kwnames
[] = {
22104 (char *) "self",(char *) "item",(char *) "code", NULL
22107 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_GetItemRect",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22108 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22109 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22110 arg2
= (long) SWIG_AsLong(obj1
);
22111 if (PyErr_Occurred()) SWIG_fail
;
22113 arg3
= (int) SWIG_AsInt(obj2
);
22114 if (PyErr_Occurred()) SWIG_fail
;
22117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22118 result
= wxPyListCtrl_GetItemRect(arg1
,arg2
,arg3
);
22120 wxPyEndAllowThreads(__tstate
);
22121 if (PyErr_Occurred()) SWIG_fail
;
22124 wxRect
* resultptr
;
22125 resultptr
= new wxRect((wxRect
&) result
);
22126 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
22134 static PyObject
*_wrap_ListCtrl_SetItemPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22135 PyObject
*resultobj
;
22136 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22138 wxPoint
*arg3
= 0 ;
22141 PyObject
* obj0
= 0 ;
22142 PyObject
* obj1
= 0 ;
22143 PyObject
* obj2
= 0 ;
22144 char *kwnames
[] = {
22145 (char *) "self",(char *) "item",(char *) "pos", NULL
22148 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemPosition",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22149 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22150 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22151 arg2
= (long) SWIG_AsLong(obj1
);
22152 if (PyErr_Occurred()) SWIG_fail
;
22155 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
22158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22159 result
= (bool)(arg1
)->SetItemPosition(arg2
,(wxPoint
const &)*arg3
);
22161 wxPyEndAllowThreads(__tstate
);
22162 if (PyErr_Occurred()) SWIG_fail
;
22165 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22173 static PyObject
*_wrap_ListCtrl_GetItemCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22174 PyObject
*resultobj
;
22175 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22177 PyObject
* obj0
= 0 ;
22178 char *kwnames
[] = {
22179 (char *) "self", NULL
22182 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetItemCount",kwnames
,&obj0
)) goto fail
;
22183 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22184 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22187 result
= (int)((wxPyListCtrl
const *)arg1
)->GetItemCount();
22189 wxPyEndAllowThreads(__tstate
);
22190 if (PyErr_Occurred()) SWIG_fail
;
22192 resultobj
= SWIG_FromInt((int)result
);
22199 static PyObject
*_wrap_ListCtrl_GetColumnCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22200 PyObject
*resultobj
;
22201 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22203 PyObject
* obj0
= 0 ;
22204 char *kwnames
[] = {
22205 (char *) "self", NULL
22208 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetColumnCount",kwnames
,&obj0
)) goto fail
;
22209 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22210 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22213 result
= (int)((wxPyListCtrl
const *)arg1
)->GetColumnCount();
22215 wxPyEndAllowThreads(__tstate
);
22216 if (PyErr_Occurred()) SWIG_fail
;
22218 resultobj
= SWIG_FromInt((int)result
);
22225 static PyObject
*_wrap_ListCtrl_GetItemSpacing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22226 PyObject
*resultobj
;
22227 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22229 PyObject
* obj0
= 0 ;
22230 char *kwnames
[] = {
22231 (char *) "self", NULL
22234 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetItemSpacing",kwnames
,&obj0
)) goto fail
;
22235 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22236 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22239 result
= ((wxPyListCtrl
const *)arg1
)->GetItemSpacing();
22241 wxPyEndAllowThreads(__tstate
);
22242 if (PyErr_Occurred()) SWIG_fail
;
22245 wxSize
* resultptr
;
22246 resultptr
= new wxSize((wxSize
&) result
);
22247 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
22255 static PyObject
*_wrap_ListCtrl_GetSelectedItemCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22256 PyObject
*resultobj
;
22257 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22259 PyObject
* obj0
= 0 ;
22260 char *kwnames
[] = {
22261 (char *) "self", NULL
22264 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetSelectedItemCount",kwnames
,&obj0
)) goto fail
;
22265 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22266 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22269 result
= (int)((wxPyListCtrl
const *)arg1
)->GetSelectedItemCount();
22271 wxPyEndAllowThreads(__tstate
);
22272 if (PyErr_Occurred()) SWIG_fail
;
22274 resultobj
= SWIG_FromInt((int)result
);
22281 static PyObject
*_wrap_ListCtrl_GetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22282 PyObject
*resultobj
;
22283 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22285 PyObject
* obj0
= 0 ;
22286 char *kwnames
[] = {
22287 (char *) "self", NULL
22290 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetTextColour",kwnames
,&obj0
)) goto fail
;
22291 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22292 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22295 result
= ((wxPyListCtrl
const *)arg1
)->GetTextColour();
22297 wxPyEndAllowThreads(__tstate
);
22298 if (PyErr_Occurred()) SWIG_fail
;
22301 wxColour
* resultptr
;
22302 resultptr
= new wxColour((wxColour
&) result
);
22303 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
22311 static PyObject
*_wrap_ListCtrl_SetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22312 PyObject
*resultobj
;
22313 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22314 wxColour
*arg2
= 0 ;
22316 PyObject
* obj0
= 0 ;
22317 PyObject
* obj1
= 0 ;
22318 char *kwnames
[] = {
22319 (char *) "self",(char *) "col", NULL
22322 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
22323 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22324 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22327 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
22330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22331 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
22333 wxPyEndAllowThreads(__tstate
);
22334 if (PyErr_Occurred()) SWIG_fail
;
22336 Py_INCREF(Py_None
); resultobj
= Py_None
;
22343 static PyObject
*_wrap_ListCtrl_GetTopItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22344 PyObject
*resultobj
;
22345 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22347 PyObject
* obj0
= 0 ;
22348 char *kwnames
[] = {
22349 (char *) "self", NULL
22352 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetTopItem",kwnames
,&obj0
)) goto fail
;
22353 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22354 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22357 result
= (long)((wxPyListCtrl
const *)arg1
)->GetTopItem();
22359 wxPyEndAllowThreads(__tstate
);
22360 if (PyErr_Occurred()) SWIG_fail
;
22362 resultobj
= SWIG_FromLong((long)result
);
22369 static PyObject
*_wrap_ListCtrl_SetSingleStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22370 PyObject
*resultobj
;
22371 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22373 bool arg3
= (bool) True
;
22374 PyObject
* obj0
= 0 ;
22375 PyObject
* obj1
= 0 ;
22376 PyObject
* obj2
= 0 ;
22377 char *kwnames
[] = {
22378 (char *) "self",(char *) "style",(char *) "add", NULL
22381 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_SetSingleStyle",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22382 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22383 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22384 arg2
= (long) SWIG_AsLong(obj1
);
22385 if (PyErr_Occurred()) SWIG_fail
;
22387 arg3
= (bool) SWIG_AsBool(obj2
);
22388 if (PyErr_Occurred()) SWIG_fail
;
22391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22392 (arg1
)->SetSingleStyle(arg2
,arg3
);
22394 wxPyEndAllowThreads(__tstate
);
22395 if (PyErr_Occurred()) SWIG_fail
;
22397 Py_INCREF(Py_None
); resultobj
= Py_None
;
22404 static PyObject
*_wrap_ListCtrl_SetWindowStyleFlag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22405 PyObject
*resultobj
;
22406 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22408 PyObject
* obj0
= 0 ;
22409 PyObject
* obj1
= 0 ;
22410 char *kwnames
[] = {
22411 (char *) "self",(char *) "style", NULL
22414 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetWindowStyleFlag",kwnames
,&obj0
,&obj1
)) goto fail
;
22415 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22416 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22417 arg2
= (long) SWIG_AsLong(obj1
);
22418 if (PyErr_Occurred()) SWIG_fail
;
22420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22421 (arg1
)->SetWindowStyleFlag(arg2
);
22423 wxPyEndAllowThreads(__tstate
);
22424 if (PyErr_Occurred()) SWIG_fail
;
22426 Py_INCREF(Py_None
); resultobj
= Py_None
;
22433 static PyObject
*_wrap_ListCtrl_GetNextItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22434 PyObject
*resultobj
;
22435 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22437 int arg3
= (int) wxLIST_NEXT_ALL
;
22438 int arg4
= (int) wxLIST_STATE_DONTCARE
;
22440 PyObject
* obj0
= 0 ;
22441 PyObject
* obj1
= 0 ;
22442 PyObject
* obj2
= 0 ;
22443 PyObject
* obj3
= 0 ;
22444 char *kwnames
[] = {
22445 (char *) "self",(char *) "item",(char *) "geometry",(char *) "state", NULL
22448 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:ListCtrl_GetNextItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
22449 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22450 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22451 arg2
= (long) SWIG_AsLong(obj1
);
22452 if (PyErr_Occurred()) SWIG_fail
;
22454 arg3
= (int) SWIG_AsInt(obj2
);
22455 if (PyErr_Occurred()) SWIG_fail
;
22458 arg4
= (int) SWIG_AsInt(obj3
);
22459 if (PyErr_Occurred()) SWIG_fail
;
22462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22463 result
= (long)((wxPyListCtrl
const *)arg1
)->GetNextItem(arg2
,arg3
,arg4
);
22465 wxPyEndAllowThreads(__tstate
);
22466 if (PyErr_Occurred()) SWIG_fail
;
22468 resultobj
= SWIG_FromLong((long)result
);
22475 static PyObject
*_wrap_ListCtrl_GetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22476 PyObject
*resultobj
;
22477 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22479 wxImageList
*result
;
22480 PyObject
* obj0
= 0 ;
22481 PyObject
* obj1
= 0 ;
22482 char *kwnames
[] = {
22483 (char *) "self",(char *) "which", NULL
22486 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
22487 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22488 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22489 arg2
= (int) SWIG_AsInt(obj1
);
22490 if (PyErr_Occurred()) SWIG_fail
;
22492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22493 result
= (wxImageList
*)((wxPyListCtrl
const *)arg1
)->GetImageList(arg2
);
22495 wxPyEndAllowThreads(__tstate
);
22496 if (PyErr_Occurred()) SWIG_fail
;
22499 resultobj
= wxPyMake_wxObject(result
, 0);
22507 static PyObject
*_wrap_ListCtrl_SetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22508 PyObject
*resultobj
;
22509 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22510 wxImageList
*arg2
= (wxImageList
*) 0 ;
22512 PyObject
* obj0
= 0 ;
22513 PyObject
* obj1
= 0 ;
22514 PyObject
* obj2
= 0 ;
22515 char *kwnames
[] = {
22516 (char *) "self",(char *) "imageList",(char *) "which", NULL
22519 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetImageList",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22520 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22521 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22522 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImageList
,
22523 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22524 arg3
= (int) SWIG_AsInt(obj2
);
22525 if (PyErr_Occurred()) SWIG_fail
;
22527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22528 (arg1
)->SetImageList(arg2
,arg3
);
22530 wxPyEndAllowThreads(__tstate
);
22531 if (PyErr_Occurred()) SWIG_fail
;
22533 Py_INCREF(Py_None
); resultobj
= Py_None
;
22540 static PyObject
*_wrap_ListCtrl_AssignImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22541 PyObject
*resultobj
;
22542 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22543 wxImageList
*arg2
= (wxImageList
*) 0 ;
22545 PyObject
* obj0
= 0 ;
22546 PyObject
* obj1
= 0 ;
22547 PyObject
* obj2
= 0 ;
22548 char *kwnames
[] = {
22549 (char *) "self",(char *) "imageList",(char *) "which", NULL
22552 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_AssignImageList",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22553 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22554 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22555 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImageList
,
22556 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
22557 arg3
= (int) SWIG_AsInt(obj2
);
22558 if (PyErr_Occurred()) SWIG_fail
;
22560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22561 (arg1
)->AssignImageList(arg2
,arg3
);
22563 wxPyEndAllowThreads(__tstate
);
22564 if (PyErr_Occurred()) SWIG_fail
;
22566 Py_INCREF(Py_None
); resultobj
= Py_None
;
22573 static PyObject
*_wrap_ListCtrl_InReportView(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22574 PyObject
*resultobj
;
22575 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22577 PyObject
* obj0
= 0 ;
22578 char *kwnames
[] = {
22579 (char *) "self", NULL
22582 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_InReportView",kwnames
,&obj0
)) goto fail
;
22583 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22584 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22587 result
= (bool)((wxPyListCtrl
const *)arg1
)->InReportView();
22589 wxPyEndAllowThreads(__tstate
);
22590 if (PyErr_Occurred()) SWIG_fail
;
22593 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22601 static PyObject
*_wrap_ListCtrl_IsVirtual(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22602 PyObject
*resultobj
;
22603 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22605 PyObject
* obj0
= 0 ;
22606 char *kwnames
[] = {
22607 (char *) "self", NULL
22610 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_IsVirtual",kwnames
,&obj0
)) goto fail
;
22611 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22612 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22615 result
= (bool)((wxPyListCtrl
const *)arg1
)->IsVirtual();
22617 wxPyEndAllowThreads(__tstate
);
22618 if (PyErr_Occurred()) SWIG_fail
;
22621 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22629 static PyObject
*_wrap_ListCtrl_RefreshItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22630 PyObject
*resultobj
;
22631 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22633 PyObject
* obj0
= 0 ;
22634 PyObject
* obj1
= 0 ;
22635 char *kwnames
[] = {
22636 (char *) "self",(char *) "item", NULL
22639 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_RefreshItem",kwnames
,&obj0
,&obj1
)) goto fail
;
22640 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22641 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22642 arg2
= (long) SWIG_AsLong(obj1
);
22643 if (PyErr_Occurred()) SWIG_fail
;
22645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22646 (arg1
)->RefreshItem(arg2
);
22648 wxPyEndAllowThreads(__tstate
);
22649 if (PyErr_Occurred()) SWIG_fail
;
22651 Py_INCREF(Py_None
); resultobj
= Py_None
;
22658 static PyObject
*_wrap_ListCtrl_RefreshItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22659 PyObject
*resultobj
;
22660 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22663 PyObject
* obj0
= 0 ;
22664 PyObject
* obj1
= 0 ;
22665 PyObject
* obj2
= 0 ;
22666 char *kwnames
[] = {
22667 (char *) "self",(char *) "itemFrom",(char *) "itemTo", NULL
22670 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_RefreshItems",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22671 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22672 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22673 arg2
= (long) SWIG_AsLong(obj1
);
22674 if (PyErr_Occurred()) SWIG_fail
;
22675 arg3
= (long) SWIG_AsLong(obj2
);
22676 if (PyErr_Occurred()) SWIG_fail
;
22678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22679 (arg1
)->RefreshItems(arg2
,arg3
);
22681 wxPyEndAllowThreads(__tstate
);
22682 if (PyErr_Occurred()) SWIG_fail
;
22684 Py_INCREF(Py_None
); resultobj
= Py_None
;
22691 static PyObject
*_wrap_ListCtrl_Arrange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22692 PyObject
*resultobj
;
22693 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22694 int arg2
= (int) wxLIST_ALIGN_DEFAULT
;
22696 PyObject
* obj0
= 0 ;
22697 PyObject
* obj1
= 0 ;
22698 char *kwnames
[] = {
22699 (char *) "self",(char *) "flag", NULL
22702 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ListCtrl_Arrange",kwnames
,&obj0
,&obj1
)) goto fail
;
22703 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22704 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22706 arg2
= (int) SWIG_AsInt(obj1
);
22707 if (PyErr_Occurred()) SWIG_fail
;
22710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22711 result
= (bool)(arg1
)->Arrange(arg2
);
22713 wxPyEndAllowThreads(__tstate
);
22714 if (PyErr_Occurred()) SWIG_fail
;
22717 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22725 static PyObject
*_wrap_ListCtrl_DeleteItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22726 PyObject
*resultobj
;
22727 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22730 PyObject
* obj0
= 0 ;
22731 PyObject
* obj1
= 0 ;
22732 char *kwnames
[] = {
22733 (char *) "self",(char *) "item", NULL
22736 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_DeleteItem",kwnames
,&obj0
,&obj1
)) goto fail
;
22737 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22738 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22739 arg2
= (long) SWIG_AsLong(obj1
);
22740 if (PyErr_Occurred()) SWIG_fail
;
22742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22743 result
= (bool)(arg1
)->DeleteItem(arg2
);
22745 wxPyEndAllowThreads(__tstate
);
22746 if (PyErr_Occurred()) SWIG_fail
;
22749 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22757 static PyObject
*_wrap_ListCtrl_DeleteAllItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22758 PyObject
*resultobj
;
22759 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22761 PyObject
* obj0
= 0 ;
22762 char *kwnames
[] = {
22763 (char *) "self", NULL
22766 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_DeleteAllItems",kwnames
,&obj0
)) goto fail
;
22767 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22768 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22771 result
= (bool)(arg1
)->DeleteAllItems();
22773 wxPyEndAllowThreads(__tstate
);
22774 if (PyErr_Occurred()) SWIG_fail
;
22777 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22785 static PyObject
*_wrap_ListCtrl_DeleteColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22786 PyObject
*resultobj
;
22787 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22790 PyObject
* obj0
= 0 ;
22791 PyObject
* obj1
= 0 ;
22792 char *kwnames
[] = {
22793 (char *) "self",(char *) "col", NULL
22796 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_DeleteColumn",kwnames
,&obj0
,&obj1
)) goto fail
;
22797 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22798 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22799 arg2
= (int) SWIG_AsInt(obj1
);
22800 if (PyErr_Occurred()) SWIG_fail
;
22802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22803 result
= (bool)(arg1
)->DeleteColumn(arg2
);
22805 wxPyEndAllowThreads(__tstate
);
22806 if (PyErr_Occurred()) SWIG_fail
;
22809 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22817 static PyObject
*_wrap_ListCtrl_DeleteAllColumns(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22818 PyObject
*resultobj
;
22819 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22821 PyObject
* obj0
= 0 ;
22822 char *kwnames
[] = {
22823 (char *) "self", NULL
22826 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_DeleteAllColumns",kwnames
,&obj0
)) goto fail
;
22827 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22828 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22831 result
= (bool)(arg1
)->DeleteAllColumns();
22833 wxPyEndAllowThreads(__tstate
);
22834 if (PyErr_Occurred()) SWIG_fail
;
22837 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22845 static PyObject
*_wrap_ListCtrl_ClearAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22846 PyObject
*resultobj
;
22847 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22848 PyObject
* obj0
= 0 ;
22849 char *kwnames
[] = {
22850 (char *) "self", NULL
22853 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_ClearAll",kwnames
,&obj0
)) goto fail
;
22854 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22855 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22858 (arg1
)->ClearAll();
22860 wxPyEndAllowThreads(__tstate
);
22861 if (PyErr_Occurred()) SWIG_fail
;
22863 Py_INCREF(Py_None
); resultobj
= Py_None
;
22870 static PyObject
*_wrap_ListCtrl_EditLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22871 PyObject
*resultobj
;
22872 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22874 wxTextCtrl
*result
;
22875 PyObject
* obj0
= 0 ;
22876 PyObject
* obj1
= 0 ;
22877 char *kwnames
[] = {
22878 (char *) "self",(char *) "item", NULL
22881 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_EditLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
22882 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22883 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22884 arg2
= (long) SWIG_AsLong(obj1
);
22885 if (PyErr_Occurred()) SWIG_fail
;
22887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22888 result
= (wxTextCtrl
*)(arg1
)->EditLabel(arg2
);
22890 wxPyEndAllowThreads(__tstate
);
22891 if (PyErr_Occurred()) SWIG_fail
;
22894 resultobj
= wxPyMake_wxObject(result
, 0);
22902 static PyObject
*_wrap_ListCtrl_EndEditLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22903 PyObject
*resultobj
;
22904 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22907 PyObject
* obj0
= 0 ;
22908 PyObject
* obj1
= 0 ;
22909 char *kwnames
[] = {
22910 (char *) "self",(char *) "cancel", NULL
22913 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_EndEditLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
22914 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22915 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22916 arg2
= (bool) SWIG_AsBool(obj1
);
22917 if (PyErr_Occurred()) SWIG_fail
;
22919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22920 result
= (bool)(arg1
)->EndEditLabel(arg2
);
22922 wxPyEndAllowThreads(__tstate
);
22923 if (PyErr_Occurred()) SWIG_fail
;
22926 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22934 static PyObject
*_wrap_ListCtrl_EnsureVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22935 PyObject
*resultobj
;
22936 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22939 PyObject
* obj0
= 0 ;
22940 PyObject
* obj1
= 0 ;
22941 char *kwnames
[] = {
22942 (char *) "self",(char *) "item", NULL
22945 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_EnsureVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
22946 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22947 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22948 arg2
= (long) SWIG_AsLong(obj1
);
22949 if (PyErr_Occurred()) SWIG_fail
;
22951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22952 result
= (bool)(arg1
)->EnsureVisible(arg2
);
22954 wxPyEndAllowThreads(__tstate
);
22955 if (PyErr_Occurred()) SWIG_fail
;
22958 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22966 static PyObject
*_wrap_ListCtrl_FindItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22967 PyObject
*resultobj
;
22968 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22970 wxString
*arg3
= 0 ;
22971 bool arg4
= (bool) False
;
22973 bool temp3
= False
;
22974 PyObject
* obj0
= 0 ;
22975 PyObject
* obj1
= 0 ;
22976 PyObject
* obj2
= 0 ;
22977 PyObject
* obj3
= 0 ;
22978 char *kwnames
[] = {
22979 (char *) "self",(char *) "start",(char *) "str",(char *) "partial", NULL
22982 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ListCtrl_FindItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
22983 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22984 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22985 arg2
= (long) SWIG_AsLong(obj1
);
22986 if (PyErr_Occurred()) SWIG_fail
;
22988 arg3
= wxString_in_helper(obj2
);
22989 if (arg3
== NULL
) SWIG_fail
;
22993 arg4
= (bool) SWIG_AsBool(obj3
);
22994 if (PyErr_Occurred()) SWIG_fail
;
22997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22998 result
= (long)(arg1
)->FindItem(arg2
,(wxString
const &)*arg3
,arg4
);
23000 wxPyEndAllowThreads(__tstate
);
23001 if (PyErr_Occurred()) SWIG_fail
;
23003 resultobj
= SWIG_FromLong((long)result
);
23018 static PyObject
*_wrap_ListCtrl_FindItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23019 PyObject
*resultobj
;
23020 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23024 PyObject
* obj0
= 0 ;
23025 PyObject
* obj1
= 0 ;
23026 PyObject
* obj2
= 0 ;
23027 char *kwnames
[] = {
23028 (char *) "self",(char *) "start",(char *) "data", NULL
23031 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_FindItemData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23032 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23033 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23034 arg2
= (long) SWIG_AsLong(obj1
);
23035 if (PyErr_Occurred()) SWIG_fail
;
23036 arg3
= (long) SWIG_AsLong(obj2
);
23037 if (PyErr_Occurred()) SWIG_fail
;
23039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23040 result
= (long)(arg1
)->FindItem(arg2
,arg3
);
23042 wxPyEndAllowThreads(__tstate
);
23043 if (PyErr_Occurred()) SWIG_fail
;
23045 resultobj
= SWIG_FromLong((long)result
);
23052 static PyObject
*_wrap_ListCtrl_FindItemAtPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23053 PyObject
*resultobj
;
23054 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23056 wxPoint
*arg3
= 0 ;
23060 PyObject
* obj0
= 0 ;
23061 PyObject
* obj1
= 0 ;
23062 PyObject
* obj2
= 0 ;
23063 PyObject
* obj3
= 0 ;
23064 char *kwnames
[] = {
23065 (char *) "self",(char *) "start",(char *) "pt",(char *) "direction", NULL
23068 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_FindItemAtPos",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
23069 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23070 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23071 arg2
= (long) SWIG_AsLong(obj1
);
23072 if (PyErr_Occurred()) SWIG_fail
;
23075 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
23077 arg4
= (int) SWIG_AsInt(obj3
);
23078 if (PyErr_Occurred()) SWIG_fail
;
23080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23081 result
= (long)(arg1
)->FindItem(arg2
,(wxPoint
const &)*arg3
,arg4
);
23083 wxPyEndAllowThreads(__tstate
);
23084 if (PyErr_Occurred()) SWIG_fail
;
23086 resultobj
= SWIG_FromLong((long)result
);
23093 static PyObject
*_wrap_ListCtrl_HitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23094 PyObject
*resultobj
;
23095 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23096 wxPoint
*arg2
= 0 ;
23101 PyObject
* obj0
= 0 ;
23102 PyObject
* obj1
= 0 ;
23103 char *kwnames
[] = {
23104 (char *) "self",(char *) "point", NULL
23108 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
23109 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23110 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23113 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
23116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23117 result
= (long)(arg1
)->HitTest((wxPoint
const &)*arg2
,*arg3
);
23119 wxPyEndAllowThreads(__tstate
);
23120 if (PyErr_Occurred()) SWIG_fail
;
23122 resultobj
= SWIG_FromLong((long)result
);
23124 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
23125 resultobj
= t_output_helper(resultobj
,o
);
23133 static PyObject
*_wrap_ListCtrl_InsertItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23134 PyObject
*resultobj
;
23135 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23136 wxListItem
*arg2
= 0 ;
23138 PyObject
* obj0
= 0 ;
23139 PyObject
* obj1
= 0 ;
23140 char *kwnames
[] = {
23141 (char *) "self",(char *) "info", NULL
23144 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_InsertItem",kwnames
,&obj0
,&obj1
)) goto fail
;
23145 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23146 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23147 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxListItem
,
23148 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23150 if (arg2
== NULL
) {
23151 PyErr_SetString(PyExc_TypeError
,"null reference");
23155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23156 result
= (long)(arg1
)->InsertItem(*arg2
);
23158 wxPyEndAllowThreads(__tstate
);
23159 if (PyErr_Occurred()) SWIG_fail
;
23161 resultobj
= SWIG_FromLong((long)result
);
23168 static PyObject
*_wrap_ListCtrl_InsertStringItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23169 PyObject
*resultobj
;
23170 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23172 wxString
*arg3
= 0 ;
23174 bool temp3
= False
;
23175 PyObject
* obj0
= 0 ;
23176 PyObject
* obj1
= 0 ;
23177 PyObject
* obj2
= 0 ;
23178 char *kwnames
[] = {
23179 (char *) "self",(char *) "index",(char *) "label", NULL
23182 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_InsertStringItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23183 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23184 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23185 arg2
= (long) SWIG_AsLong(obj1
);
23186 if (PyErr_Occurred()) SWIG_fail
;
23188 arg3
= wxString_in_helper(obj2
);
23189 if (arg3
== NULL
) SWIG_fail
;
23193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23194 result
= (long)(arg1
)->InsertItem(arg2
,(wxString
const &)*arg3
);
23196 wxPyEndAllowThreads(__tstate
);
23197 if (PyErr_Occurred()) SWIG_fail
;
23199 resultobj
= SWIG_FromLong((long)result
);
23214 static PyObject
*_wrap_ListCtrl_InsertImageItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23215 PyObject
*resultobj
;
23216 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23220 PyObject
* obj0
= 0 ;
23221 PyObject
* obj1
= 0 ;
23222 PyObject
* obj2
= 0 ;
23223 char *kwnames
[] = {
23224 (char *) "self",(char *) "index",(char *) "imageIndex", NULL
23227 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_InsertImageItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23228 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23229 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23230 arg2
= (long) SWIG_AsLong(obj1
);
23231 if (PyErr_Occurred()) SWIG_fail
;
23232 arg3
= (int) SWIG_AsInt(obj2
);
23233 if (PyErr_Occurred()) SWIG_fail
;
23235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23236 result
= (long)(arg1
)->InsertItem(arg2
,arg3
);
23238 wxPyEndAllowThreads(__tstate
);
23239 if (PyErr_Occurred()) SWIG_fail
;
23241 resultobj
= SWIG_FromLong((long)result
);
23248 static PyObject
*_wrap_ListCtrl_InsertImageStringItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23249 PyObject
*resultobj
;
23250 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23252 wxString
*arg3
= 0 ;
23255 bool temp3
= False
;
23256 PyObject
* obj0
= 0 ;
23257 PyObject
* obj1
= 0 ;
23258 PyObject
* obj2
= 0 ;
23259 PyObject
* obj3
= 0 ;
23260 char *kwnames
[] = {
23261 (char *) "self",(char *) "index",(char *) "label",(char *) "imageIndex", NULL
23264 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_InsertImageStringItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
23265 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23266 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23267 arg2
= (long) SWIG_AsLong(obj1
);
23268 if (PyErr_Occurred()) SWIG_fail
;
23270 arg3
= wxString_in_helper(obj2
);
23271 if (arg3
== NULL
) SWIG_fail
;
23274 arg4
= (int) SWIG_AsInt(obj3
);
23275 if (PyErr_Occurred()) SWIG_fail
;
23277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23278 result
= (long)(arg1
)->InsertItem(arg2
,(wxString
const &)*arg3
,arg4
);
23280 wxPyEndAllowThreads(__tstate
);
23281 if (PyErr_Occurred()) SWIG_fail
;
23283 resultobj
= SWIG_FromLong((long)result
);
23298 static PyObject
*_wrap_ListCtrl_InsertColumnInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23299 PyObject
*resultobj
;
23300 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23302 wxListItem
*arg3
= 0 ;
23304 PyObject
* obj0
= 0 ;
23305 PyObject
* obj1
= 0 ;
23306 PyObject
* obj2
= 0 ;
23307 char *kwnames
[] = {
23308 (char *) "self",(char *) "col",(char *) "info", NULL
23311 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_InsertColumnInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23312 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23313 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23314 arg2
= (long) SWIG_AsLong(obj1
);
23315 if (PyErr_Occurred()) SWIG_fail
;
23316 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxListItem
,
23317 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23319 if (arg3
== NULL
) {
23320 PyErr_SetString(PyExc_TypeError
,"null reference");
23324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23325 result
= (long)(arg1
)->InsertColumn(arg2
,*arg3
);
23327 wxPyEndAllowThreads(__tstate
);
23328 if (PyErr_Occurred()) SWIG_fail
;
23330 resultobj
= SWIG_FromLong((long)result
);
23337 static PyObject
*_wrap_ListCtrl_InsertColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23338 PyObject
*resultobj
;
23339 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23341 wxString
*arg3
= 0 ;
23342 int arg4
= (int) wxLIST_FORMAT_LEFT
;
23343 int arg5
= (int) -1 ;
23345 bool temp3
= False
;
23346 PyObject
* obj0
= 0 ;
23347 PyObject
* obj1
= 0 ;
23348 PyObject
* obj2
= 0 ;
23349 PyObject
* obj3
= 0 ;
23350 PyObject
* obj4
= 0 ;
23351 char *kwnames
[] = {
23352 (char *) "self",(char *) "col",(char *) "heading",(char *) "format",(char *) "width", NULL
23355 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:ListCtrl_InsertColumn",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
23356 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23357 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23358 arg2
= (long) SWIG_AsLong(obj1
);
23359 if (PyErr_Occurred()) SWIG_fail
;
23361 arg3
= wxString_in_helper(obj2
);
23362 if (arg3
== NULL
) SWIG_fail
;
23366 arg4
= (int) SWIG_AsInt(obj3
);
23367 if (PyErr_Occurred()) SWIG_fail
;
23370 arg5
= (int) SWIG_AsInt(obj4
);
23371 if (PyErr_Occurred()) SWIG_fail
;
23374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23375 result
= (long)(arg1
)->InsertColumn(arg2
,(wxString
const &)*arg3
,arg4
,arg5
);
23377 wxPyEndAllowThreads(__tstate
);
23378 if (PyErr_Occurred()) SWIG_fail
;
23380 resultobj
= SWIG_FromLong((long)result
);
23395 static PyObject
*_wrap_ListCtrl_SetItemCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23396 PyObject
*resultobj
;
23397 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23399 PyObject
* obj0
= 0 ;
23400 PyObject
* obj1
= 0 ;
23401 char *kwnames
[] = {
23402 (char *) "self",(char *) "count", NULL
23405 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetItemCount",kwnames
,&obj0
,&obj1
)) goto fail
;
23406 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23407 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23408 arg2
= (long) SWIG_AsLong(obj1
);
23409 if (PyErr_Occurred()) SWIG_fail
;
23411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23412 (arg1
)->SetItemCount(arg2
);
23414 wxPyEndAllowThreads(__tstate
);
23415 if (PyErr_Occurred()) SWIG_fail
;
23417 Py_INCREF(Py_None
); resultobj
= Py_None
;
23424 static PyObject
*_wrap_ListCtrl_ScrollList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23425 PyObject
*resultobj
;
23426 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23430 PyObject
* obj0
= 0 ;
23431 PyObject
* obj1
= 0 ;
23432 PyObject
* obj2
= 0 ;
23433 char *kwnames
[] = {
23434 (char *) "self",(char *) "dx",(char *) "dy", NULL
23437 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_ScrollList",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23438 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23439 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23440 arg2
= (int) SWIG_AsInt(obj1
);
23441 if (PyErr_Occurred()) SWIG_fail
;
23442 arg3
= (int) SWIG_AsInt(obj2
);
23443 if (PyErr_Occurred()) SWIG_fail
;
23445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23446 result
= (bool)(arg1
)->ScrollList(arg2
,arg3
);
23448 wxPyEndAllowThreads(__tstate
);
23449 if (PyErr_Occurred()) SWIG_fail
;
23452 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23460 static PyObject
*_wrap_ListCtrl_SetItemTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23461 PyObject
*resultobj
;
23462 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23464 wxColour
*arg3
= 0 ;
23466 PyObject
* obj0
= 0 ;
23467 PyObject
* obj1
= 0 ;
23468 PyObject
* obj2
= 0 ;
23469 char *kwnames
[] = {
23470 (char *) "self",(char *) "item",(char *) "col", NULL
23473 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemTextColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23474 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23475 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23476 arg2
= (long) SWIG_AsLong(obj1
);
23477 if (PyErr_Occurred()) SWIG_fail
;
23480 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
23483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23484 (arg1
)->SetItemTextColour(arg2
,(wxColour
const &)*arg3
);
23486 wxPyEndAllowThreads(__tstate
);
23487 if (PyErr_Occurred()) SWIG_fail
;
23489 Py_INCREF(Py_None
); resultobj
= Py_None
;
23496 static PyObject
*_wrap_ListCtrl_GetItemTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23497 PyObject
*resultobj
;
23498 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23501 PyObject
* obj0
= 0 ;
23502 PyObject
* obj1
= 0 ;
23503 char *kwnames
[] = {
23504 (char *) "self",(char *) "item", NULL
23507 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
23508 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23509 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23510 arg2
= (long) SWIG_AsLong(obj1
);
23511 if (PyErr_Occurred()) SWIG_fail
;
23513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23514 result
= ((wxPyListCtrl
const *)arg1
)->GetItemTextColour(arg2
);
23516 wxPyEndAllowThreads(__tstate
);
23517 if (PyErr_Occurred()) SWIG_fail
;
23520 wxColour
* resultptr
;
23521 resultptr
= new wxColour((wxColour
&) result
);
23522 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
23530 static PyObject
*_wrap_ListCtrl_SetItemBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23531 PyObject
*resultobj
;
23532 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23534 wxColour
*arg3
= 0 ;
23536 PyObject
* obj0
= 0 ;
23537 PyObject
* obj1
= 0 ;
23538 PyObject
* obj2
= 0 ;
23539 char *kwnames
[] = {
23540 (char *) "self",(char *) "item",(char *) "col", NULL
23543 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23544 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23545 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23546 arg2
= (long) SWIG_AsLong(obj1
);
23547 if (PyErr_Occurred()) SWIG_fail
;
23550 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
23553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23554 (arg1
)->SetItemBackgroundColour(arg2
,(wxColour
const &)*arg3
);
23556 wxPyEndAllowThreads(__tstate
);
23557 if (PyErr_Occurred()) SWIG_fail
;
23559 Py_INCREF(Py_None
); resultobj
= Py_None
;
23566 static PyObject
*_wrap_ListCtrl_GetItemBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23567 PyObject
*resultobj
;
23568 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23571 PyObject
* obj0
= 0 ;
23572 PyObject
* obj1
= 0 ;
23573 char *kwnames
[] = {
23574 (char *) "self",(char *) "item", NULL
23577 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
23578 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23579 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23580 arg2
= (long) SWIG_AsLong(obj1
);
23581 if (PyErr_Occurred()) SWIG_fail
;
23583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23584 result
= ((wxPyListCtrl
const *)arg1
)->GetItemBackgroundColour(arg2
);
23586 wxPyEndAllowThreads(__tstate
);
23587 if (PyErr_Occurred()) SWIG_fail
;
23590 wxColour
* resultptr
;
23591 resultptr
= new wxColour((wxColour
&) result
);
23592 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
23600 static PyObject
*_wrap_ListCtrl_SortItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23601 PyObject
*resultobj
;
23602 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23603 PyObject
*arg2
= (PyObject
*) 0 ;
23605 PyObject
* obj0
= 0 ;
23606 PyObject
* obj1
= 0 ;
23607 char *kwnames
[] = {
23608 (char *) "self",(char *) "func", NULL
23611 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SortItems",kwnames
,&obj0
,&obj1
)) goto fail
;
23612 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23613 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23617 result
= (bool)wxPyListCtrl_SortItems(arg1
,arg2
);
23619 wxPyEndAllowThreads(__tstate
);
23620 if (PyErr_Occurred()) SWIG_fail
;
23623 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23631 static PyObject
*_wrap_ListCtrl_GetMainWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23632 PyObject
*resultobj
;
23633 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23635 PyObject
* obj0
= 0 ;
23636 char *kwnames
[] = {
23637 (char *) "self", NULL
23640 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetMainWindow",kwnames
,&obj0
)) goto fail
;
23641 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23642 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23645 result
= (wxWindow
*)wxPyListCtrl_GetMainWindow(arg1
);
23647 wxPyEndAllowThreads(__tstate
);
23648 if (PyErr_Occurred()) SWIG_fail
;
23651 resultobj
= wxPyMake_wxObject(result
, 0);
23659 static PyObject
*_wrap_ListCtrl_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23660 PyObject
*resultobj
;
23661 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
23662 wxVisualAttributes result
;
23663 PyObject
* obj0
= 0 ;
23664 char *kwnames
[] = {
23665 (char *) "variant", NULL
23668 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ListCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
23670 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
23671 if (PyErr_Occurred()) SWIG_fail
;
23674 if (!wxPyCheckForApp()) SWIG_fail
;
23675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23676 result
= wxPyListCtrl::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
23678 wxPyEndAllowThreads(__tstate
);
23679 if (PyErr_Occurred()) SWIG_fail
;
23682 wxVisualAttributes
* resultptr
;
23683 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
23684 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
23692 static PyObject
* ListCtrl_swigregister(PyObject
*self
, PyObject
*args
) {
23694 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23695 SWIG_TypeClientData(SWIGTYPE_p_wxPyListCtrl
, obj
);
23697 return Py_BuildValue((char *)"");
23699 static PyObject
*_wrap_new_ListView(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23700 PyObject
*resultobj
;
23701 wxWindow
*arg1
= (wxWindow
*) 0 ;
23702 int arg2
= (int) -1 ;
23703 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
23704 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
23705 wxSize
const &arg4_defvalue
= wxDefaultSize
;
23706 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
23707 long arg5
= (long) wxLC_REPORT
;
23708 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
23709 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
23710 wxString
const &arg7_defvalue
= wxPyListCtrlNameStr
;
23711 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
23712 wxListView
*result
;
23715 bool temp7
= False
;
23716 PyObject
* obj0
= 0 ;
23717 PyObject
* obj1
= 0 ;
23718 PyObject
* obj2
= 0 ;
23719 PyObject
* obj3
= 0 ;
23720 PyObject
* obj4
= 0 ;
23721 PyObject
* obj5
= 0 ;
23722 PyObject
* obj6
= 0 ;
23723 char *kwnames
[] = {
23724 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
23727 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_ListView",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
23728 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23729 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23731 arg2
= (int) SWIG_AsInt(obj1
);
23732 if (PyErr_Occurred()) SWIG_fail
;
23737 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
23743 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
23747 arg5
= (long) SWIG_AsLong(obj4
);
23748 if (PyErr_Occurred()) SWIG_fail
;
23751 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxValidator
,
23752 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23754 if (arg6
== NULL
) {
23755 PyErr_SetString(PyExc_TypeError
,"null reference");
23761 arg7
= wxString_in_helper(obj6
);
23762 if (arg7
== NULL
) SWIG_fail
;
23767 if (!wxPyCheckForApp()) SWIG_fail
;
23768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23769 result
= (wxListView
*)new wxListView(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
23771 wxPyEndAllowThreads(__tstate
);
23772 if (PyErr_Occurred()) SWIG_fail
;
23774 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListView
, 1);
23789 static PyObject
*_wrap_new_PreListView(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23790 PyObject
*resultobj
;
23791 wxListView
*result
;
23792 char *kwnames
[] = {
23796 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreListView",kwnames
)) goto fail
;
23798 if (!wxPyCheckForApp()) SWIG_fail
;
23799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23800 result
= (wxListView
*)new wxListView();
23802 wxPyEndAllowThreads(__tstate
);
23803 if (PyErr_Occurred()) SWIG_fail
;
23805 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListView
, 1);
23812 static PyObject
*_wrap_ListView_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23813 PyObject
*resultobj
;
23814 wxListView
*arg1
= (wxListView
*) 0 ;
23815 wxWindow
*arg2
= (wxWindow
*) 0 ;
23816 int arg3
= (int) -1 ;
23817 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
23818 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
23819 wxSize
const &arg5_defvalue
= wxDefaultSize
;
23820 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
23821 long arg6
= (long) wxLC_REPORT
;
23822 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
23823 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
23824 wxString
const &arg8_defvalue
= wxPyListCtrlNameStr
;
23825 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
23829 bool temp8
= False
;
23830 PyObject
* obj0
= 0 ;
23831 PyObject
* obj1
= 0 ;
23832 PyObject
* obj2
= 0 ;
23833 PyObject
* obj3
= 0 ;
23834 PyObject
* obj4
= 0 ;
23835 PyObject
* obj5
= 0 ;
23836 PyObject
* obj6
= 0 ;
23837 PyObject
* obj7
= 0 ;
23838 char *kwnames
[] = {
23839 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
23842 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:ListView_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
23843 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListView
,
23844 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23845 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
23846 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23848 arg3
= (int) SWIG_AsInt(obj2
);
23849 if (PyErr_Occurred()) SWIG_fail
;
23854 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
23860 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
23864 arg6
= (long) SWIG_AsLong(obj5
);
23865 if (PyErr_Occurred()) SWIG_fail
;
23868 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
23869 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23871 if (arg7
== NULL
) {
23872 PyErr_SetString(PyExc_TypeError
,"null reference");
23878 arg8
= wxString_in_helper(obj7
);
23879 if (arg8
== NULL
) SWIG_fail
;
23884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23885 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
23887 wxPyEndAllowThreads(__tstate
);
23888 if (PyErr_Occurred()) SWIG_fail
;
23891 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23907 static PyObject
*_wrap_ListView_Select(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23908 PyObject
*resultobj
;
23909 wxListView
*arg1
= (wxListView
*) 0 ;
23911 bool arg3
= (bool) True
;
23912 PyObject
* obj0
= 0 ;
23913 PyObject
* obj1
= 0 ;
23914 PyObject
* obj2
= 0 ;
23915 char *kwnames
[] = {
23916 (char *) "self",(char *) "n",(char *) "on", NULL
23919 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListView_Select",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23920 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListView
,
23921 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23922 arg2
= (long) SWIG_AsLong(obj1
);
23923 if (PyErr_Occurred()) SWIG_fail
;
23925 arg3
= (bool) SWIG_AsBool(obj2
);
23926 if (PyErr_Occurred()) SWIG_fail
;
23929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23930 (arg1
)->Select(arg2
,arg3
);
23932 wxPyEndAllowThreads(__tstate
);
23933 if (PyErr_Occurred()) SWIG_fail
;
23935 Py_INCREF(Py_None
); resultobj
= Py_None
;
23942 static PyObject
*_wrap_ListView_Focus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23943 PyObject
*resultobj
;
23944 wxListView
*arg1
= (wxListView
*) 0 ;
23946 PyObject
* obj0
= 0 ;
23947 PyObject
* obj1
= 0 ;
23948 char *kwnames
[] = {
23949 (char *) "self",(char *) "index", NULL
23952 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_Focus",kwnames
,&obj0
,&obj1
)) goto fail
;
23953 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListView
,
23954 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23955 arg2
= (long) SWIG_AsLong(obj1
);
23956 if (PyErr_Occurred()) SWIG_fail
;
23958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23959 (arg1
)->Focus(arg2
);
23961 wxPyEndAllowThreads(__tstate
);
23962 if (PyErr_Occurred()) SWIG_fail
;
23964 Py_INCREF(Py_None
); resultobj
= Py_None
;
23971 static PyObject
*_wrap_ListView_GetFocusedItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23972 PyObject
*resultobj
;
23973 wxListView
*arg1
= (wxListView
*) 0 ;
23975 PyObject
* obj0
= 0 ;
23976 char *kwnames
[] = {
23977 (char *) "self", NULL
23980 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListView_GetFocusedItem",kwnames
,&obj0
)) goto fail
;
23981 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListView
,
23982 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23985 result
= (long)((wxListView
const *)arg1
)->GetFocusedItem();
23987 wxPyEndAllowThreads(__tstate
);
23988 if (PyErr_Occurred()) SWIG_fail
;
23990 resultobj
= SWIG_FromLong((long)result
);
23997 static PyObject
*_wrap_ListView_GetNextSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23998 PyObject
*resultobj
;
23999 wxListView
*arg1
= (wxListView
*) 0 ;
24002 PyObject
* obj0
= 0 ;
24003 PyObject
* obj1
= 0 ;
24004 char *kwnames
[] = {
24005 (char *) "self",(char *) "item", NULL
24008 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_GetNextSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
24009 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListView
,
24010 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24011 arg2
= (long) SWIG_AsLong(obj1
);
24012 if (PyErr_Occurred()) SWIG_fail
;
24014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24015 result
= (long)((wxListView
const *)arg1
)->GetNextSelected(arg2
);
24017 wxPyEndAllowThreads(__tstate
);
24018 if (PyErr_Occurred()) SWIG_fail
;
24020 resultobj
= SWIG_FromLong((long)result
);
24027 static PyObject
*_wrap_ListView_GetFirstSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24028 PyObject
*resultobj
;
24029 wxListView
*arg1
= (wxListView
*) 0 ;
24031 PyObject
* obj0
= 0 ;
24032 char *kwnames
[] = {
24033 (char *) "self", NULL
24036 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListView_GetFirstSelected",kwnames
,&obj0
)) goto fail
;
24037 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListView
,
24038 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24041 result
= (long)((wxListView
const *)arg1
)->GetFirstSelected();
24043 wxPyEndAllowThreads(__tstate
);
24044 if (PyErr_Occurred()) SWIG_fail
;
24046 resultobj
= SWIG_FromLong((long)result
);
24053 static PyObject
*_wrap_ListView_IsSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24054 PyObject
*resultobj
;
24055 wxListView
*arg1
= (wxListView
*) 0 ;
24058 PyObject
* obj0
= 0 ;
24059 PyObject
* obj1
= 0 ;
24060 char *kwnames
[] = {
24061 (char *) "self",(char *) "index", NULL
24064 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_IsSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
24065 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListView
,
24066 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24067 arg2
= (long) SWIG_AsLong(obj1
);
24068 if (PyErr_Occurred()) SWIG_fail
;
24070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24071 result
= (bool)(arg1
)->IsSelected(arg2
);
24073 wxPyEndAllowThreads(__tstate
);
24074 if (PyErr_Occurred()) SWIG_fail
;
24077 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24085 static PyObject
*_wrap_ListView_SetColumnImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24086 PyObject
*resultobj
;
24087 wxListView
*arg1
= (wxListView
*) 0 ;
24090 PyObject
* obj0
= 0 ;
24091 PyObject
* obj1
= 0 ;
24092 PyObject
* obj2
= 0 ;
24093 char *kwnames
[] = {
24094 (char *) "self",(char *) "col",(char *) "image", NULL
24097 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListView_SetColumnImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24098 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListView
,
24099 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24100 arg2
= (int) SWIG_AsInt(obj1
);
24101 if (PyErr_Occurred()) SWIG_fail
;
24102 arg3
= (int) SWIG_AsInt(obj2
);
24103 if (PyErr_Occurred()) SWIG_fail
;
24105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24106 (arg1
)->SetColumnImage(arg2
,arg3
);
24108 wxPyEndAllowThreads(__tstate
);
24109 if (PyErr_Occurred()) SWIG_fail
;
24111 Py_INCREF(Py_None
); resultobj
= Py_None
;
24118 static PyObject
*_wrap_ListView_ClearColumnImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24119 PyObject
*resultobj
;
24120 wxListView
*arg1
= (wxListView
*) 0 ;
24122 PyObject
* obj0
= 0 ;
24123 PyObject
* obj1
= 0 ;
24124 char *kwnames
[] = {
24125 (char *) "self",(char *) "col", NULL
24128 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_ClearColumnImage",kwnames
,&obj0
,&obj1
)) goto fail
;
24129 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListView
,
24130 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24131 arg2
= (int) SWIG_AsInt(obj1
);
24132 if (PyErr_Occurred()) SWIG_fail
;
24134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24135 (arg1
)->ClearColumnImage(arg2
);
24137 wxPyEndAllowThreads(__tstate
);
24138 if (PyErr_Occurred()) SWIG_fail
;
24140 Py_INCREF(Py_None
); resultobj
= Py_None
;
24147 static PyObject
* ListView_swigregister(PyObject
*self
, PyObject
*args
) {
24149 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24150 SWIG_TypeClientData(SWIGTYPE_p_wxListView
, obj
);
24152 return Py_BuildValue((char *)"");
24154 static int _wrap_TreeCtrlNameStr_set(PyObject
*_val
) {
24155 PyErr_SetString(PyExc_TypeError
,"Variable TreeCtrlNameStr is read-only.");
24160 static PyObject
*_wrap_TreeCtrlNameStr_get() {
24165 pyobj
= PyUnicode_FromWideChar((&wxPyTreeCtrlNameStr
)->c_str(), (&wxPyTreeCtrlNameStr
)->Len());
24167 pyobj
= PyString_FromStringAndSize((&wxPyTreeCtrlNameStr
)->c_str(), (&wxPyTreeCtrlNameStr
)->Len());
24174 static PyObject
*_wrap_new_TreeItemId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24175 PyObject
*resultobj
;
24176 wxTreeItemId
*result
;
24177 char *kwnames
[] = {
24181 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_TreeItemId",kwnames
)) goto fail
;
24183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24184 result
= (wxTreeItemId
*)new wxTreeItemId();
24186 wxPyEndAllowThreads(__tstate
);
24187 if (PyErr_Occurred()) SWIG_fail
;
24189 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTreeItemId
, 1);
24196 static PyObject
*_wrap_delete_TreeItemId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24197 PyObject
*resultobj
;
24198 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
24199 PyObject
* obj0
= 0 ;
24200 char *kwnames
[] = {
24201 (char *) "self", NULL
24204 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TreeItemId",kwnames
,&obj0
)) goto fail
;
24205 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeItemId
,
24206 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24211 wxPyEndAllowThreads(__tstate
);
24212 if (PyErr_Occurred()) SWIG_fail
;
24214 Py_INCREF(Py_None
); resultobj
= Py_None
;
24221 static PyObject
*_wrap_TreeItemId_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24222 PyObject
*resultobj
;
24223 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
24225 PyObject
* obj0
= 0 ;
24226 char *kwnames
[] = {
24227 (char *) "self", NULL
24230 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemId_IsOk",kwnames
,&obj0
)) goto fail
;
24231 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeItemId
,
24232 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24235 result
= (bool)((wxTreeItemId
const *)arg1
)->IsOk();
24237 wxPyEndAllowThreads(__tstate
);
24238 if (PyErr_Occurred()) SWIG_fail
;
24241 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24249 static PyObject
*_wrap_TreeItemId___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24250 PyObject
*resultobj
;
24251 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
24252 wxTreeItemId
*arg2
= (wxTreeItemId
*) 0 ;
24254 PyObject
* obj0
= 0 ;
24255 PyObject
* obj1
= 0 ;
24256 char *kwnames
[] = {
24257 (char *) "self",(char *) "other", NULL
24260 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemId___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
24261 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeItemId
,
24262 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24263 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
24264 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24267 result
= (bool)wxTreeItemId___eq__(arg1
,(wxTreeItemId
const *)arg2
);
24269 wxPyEndAllowThreads(__tstate
);
24270 if (PyErr_Occurred()) SWIG_fail
;
24273 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24281 static PyObject
*_wrap_TreeItemId___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24282 PyObject
*resultobj
;
24283 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
24284 wxTreeItemId
*arg2
= (wxTreeItemId
*) 0 ;
24286 PyObject
* obj0
= 0 ;
24287 PyObject
* obj1
= 0 ;
24288 char *kwnames
[] = {
24289 (char *) "self",(char *) "other", NULL
24292 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemId___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
24293 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeItemId
,
24294 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24295 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
24296 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24299 result
= (bool)wxTreeItemId___ne__(arg1
,(wxTreeItemId
const *)arg2
);
24301 wxPyEndAllowThreads(__tstate
);
24302 if (PyErr_Occurred()) SWIG_fail
;
24305 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24313 static PyObject
*_wrap_TreeItemId_m_pItem_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24314 PyObject
*resultobj
;
24315 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
24316 void *arg2
= (void *) 0 ;
24317 PyObject
* obj0
= 0 ;
24318 PyObject
* obj1
= 0 ;
24319 char *kwnames
[] = {
24320 (char *) "self",(char *) "m_pItem", NULL
24323 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemId_m_pItem_set",kwnames
,&obj0
,&obj1
)) goto fail
;
24324 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeItemId
,
24325 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24326 if ((SWIG_ConvertPtr(obj1
,&arg2
,0,SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
24327 if (arg1
) (arg1
)->m_pItem
= arg2
;
24329 Py_INCREF(Py_None
); resultobj
= Py_None
;
24336 static PyObject
*_wrap_TreeItemId_m_pItem_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24337 PyObject
*resultobj
;
24338 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
24340 PyObject
* obj0
= 0 ;
24341 char *kwnames
[] = {
24342 (char *) "self", NULL
24345 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemId_m_pItem_get",kwnames
,&obj0
)) goto fail
;
24346 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeItemId
,
24347 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24348 result
= (void *) ((arg1
)->m_pItem
);
24350 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_void
, 0);
24357 static PyObject
* TreeItemId_swigregister(PyObject
*self
, PyObject
*args
) {
24359 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24360 SWIG_TypeClientData(SWIGTYPE_p_wxTreeItemId
, obj
);
24362 return Py_BuildValue((char *)"");
24364 static PyObject
*_wrap_new_TreeItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24365 PyObject
*resultobj
;
24366 PyObject
*arg1
= (PyObject
*) NULL
;
24367 wxPyTreeItemData
*result
;
24368 PyObject
* obj0
= 0 ;
24369 char *kwnames
[] = {
24370 (char *) "obj", NULL
24373 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_TreeItemData",kwnames
,&obj0
)) goto fail
;
24378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24379 result
= (wxPyTreeItemData
*)new wxPyTreeItemData(arg1
);
24381 wxPyEndAllowThreads(__tstate
);
24382 if (PyErr_Occurred()) SWIG_fail
;
24384 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTreeItemData
, 1);
24391 static PyObject
*_wrap_TreeItemData_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24392 PyObject
*resultobj
;
24393 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
24395 PyObject
* obj0
= 0 ;
24396 char *kwnames
[] = {
24397 (char *) "self", NULL
24400 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemData_GetData",kwnames
,&obj0
)) goto fail
;
24401 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeItemData
,
24402 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24405 result
= (PyObject
*)(arg1
)->GetData();
24407 wxPyEndAllowThreads(__tstate
);
24408 if (PyErr_Occurred()) SWIG_fail
;
24410 resultobj
= result
;
24417 static PyObject
*_wrap_TreeItemData_SetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24418 PyObject
*resultobj
;
24419 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
24420 PyObject
*arg2
= (PyObject
*) 0 ;
24421 PyObject
* obj0
= 0 ;
24422 PyObject
* obj1
= 0 ;
24423 char *kwnames
[] = {
24424 (char *) "self",(char *) "obj", NULL
24427 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemData_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
24428 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeItemData
,
24429 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24433 (arg1
)->SetData(arg2
);
24435 wxPyEndAllowThreads(__tstate
);
24436 if (PyErr_Occurred()) SWIG_fail
;
24438 Py_INCREF(Py_None
); resultobj
= Py_None
;
24445 static PyObject
*_wrap_TreeItemData_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24446 PyObject
*resultobj
;
24447 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
24448 wxTreeItemId
*result
;
24449 PyObject
* obj0
= 0 ;
24450 char *kwnames
[] = {
24451 (char *) "self", NULL
24454 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemData_GetId",kwnames
,&obj0
)) goto fail
;
24455 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeItemData
,
24456 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24460 wxTreeItemId
const &_result_ref
= (arg1
)->GetId();
24461 result
= (wxTreeItemId
*) &_result_ref
;
24464 wxPyEndAllowThreads(__tstate
);
24465 if (PyErr_Occurred()) SWIG_fail
;
24467 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTreeItemId
, 0);
24474 static PyObject
*_wrap_TreeItemData_SetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24475 PyObject
*resultobj
;
24476 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
24477 wxTreeItemId
*arg2
= 0 ;
24478 PyObject
* obj0
= 0 ;
24479 PyObject
* obj1
= 0 ;
24480 char *kwnames
[] = {
24481 (char *) "self",(char *) "id", NULL
24484 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemData_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
24485 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeItemData
,
24486 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24487 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
24488 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24490 if (arg2
== NULL
) {
24491 PyErr_SetString(PyExc_TypeError
,"null reference");
24495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24496 (arg1
)->SetId((wxTreeItemId
const &)*arg2
);
24498 wxPyEndAllowThreads(__tstate
);
24499 if (PyErr_Occurred()) SWIG_fail
;
24501 Py_INCREF(Py_None
); resultobj
= Py_None
;
24508 static PyObject
*_wrap_TreeItemData_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24509 PyObject
*resultobj
;
24510 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
24511 PyObject
* obj0
= 0 ;
24512 char *kwnames
[] = {
24513 (char *) "self", NULL
24516 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemData_Destroy",kwnames
,&obj0
)) goto fail
;
24517 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeItemData
,
24518 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24521 wxPyTreeItemData_Destroy(arg1
);
24523 wxPyEndAllowThreads(__tstate
);
24524 if (PyErr_Occurred()) SWIG_fail
;
24526 Py_INCREF(Py_None
); resultobj
= Py_None
;
24533 static PyObject
* TreeItemData_swigregister(PyObject
*self
, PyObject
*args
) {
24535 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24536 SWIG_TypeClientData(SWIGTYPE_p_wxPyTreeItemData
, obj
);
24538 return Py_BuildValue((char *)"");
24540 static PyObject
*_wrap_new_TreeEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24541 PyObject
*resultobj
;
24542 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
24543 int arg2
= (int) 0 ;
24544 wxTreeEvent
*result
;
24545 PyObject
* obj0
= 0 ;
24546 PyObject
* obj1
= 0 ;
24547 char *kwnames
[] = {
24548 (char *) "commandType",(char *) "id", NULL
24551 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_TreeEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
24553 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
24554 if (PyErr_Occurred()) SWIG_fail
;
24557 arg2
= (int) SWIG_AsInt(obj1
);
24558 if (PyErr_Occurred()) SWIG_fail
;
24561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24562 result
= (wxTreeEvent
*)new wxTreeEvent(arg1
,arg2
);
24564 wxPyEndAllowThreads(__tstate
);
24565 if (PyErr_Occurred()) SWIG_fail
;
24567 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTreeEvent
, 1);
24574 static PyObject
*_wrap_TreeEvent_GetItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24575 PyObject
*resultobj
;
24576 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
24577 wxTreeItemId result
;
24578 PyObject
* obj0
= 0 ;
24579 char *kwnames
[] = {
24580 (char *) "self", NULL
24583 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetItem",kwnames
,&obj0
)) goto fail
;
24584 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
24585 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24588 result
= ((wxTreeEvent
const *)arg1
)->GetItem();
24590 wxPyEndAllowThreads(__tstate
);
24591 if (PyErr_Occurred()) SWIG_fail
;
24594 wxTreeItemId
* resultptr
;
24595 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
24596 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
24604 static PyObject
*_wrap_TreeEvent_SetItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24605 PyObject
*resultobj
;
24606 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
24607 wxTreeItemId
*arg2
= 0 ;
24608 PyObject
* obj0
= 0 ;
24609 PyObject
* obj1
= 0 ;
24610 char *kwnames
[] = {
24611 (char *) "self",(char *) "item", NULL
24614 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetItem",kwnames
,&obj0
,&obj1
)) goto fail
;
24615 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
24616 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24617 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
24618 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24620 if (arg2
== NULL
) {
24621 PyErr_SetString(PyExc_TypeError
,"null reference");
24625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24626 (arg1
)->SetItem((wxTreeItemId
const &)*arg2
);
24628 wxPyEndAllowThreads(__tstate
);
24629 if (PyErr_Occurred()) SWIG_fail
;
24631 Py_INCREF(Py_None
); resultobj
= Py_None
;
24638 static PyObject
*_wrap_TreeEvent_GetOldItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24639 PyObject
*resultobj
;
24640 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
24641 wxTreeItemId result
;
24642 PyObject
* obj0
= 0 ;
24643 char *kwnames
[] = {
24644 (char *) "self", NULL
24647 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetOldItem",kwnames
,&obj0
)) goto fail
;
24648 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
24649 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24652 result
= ((wxTreeEvent
const *)arg1
)->GetOldItem();
24654 wxPyEndAllowThreads(__tstate
);
24655 if (PyErr_Occurred()) SWIG_fail
;
24658 wxTreeItemId
* resultptr
;
24659 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
24660 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
24668 static PyObject
*_wrap_TreeEvent_SetOldItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24669 PyObject
*resultobj
;
24670 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
24671 wxTreeItemId
*arg2
= 0 ;
24672 PyObject
* obj0
= 0 ;
24673 PyObject
* obj1
= 0 ;
24674 char *kwnames
[] = {
24675 (char *) "self",(char *) "item", NULL
24678 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetOldItem",kwnames
,&obj0
,&obj1
)) goto fail
;
24679 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
24680 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24681 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
24682 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24684 if (arg2
== NULL
) {
24685 PyErr_SetString(PyExc_TypeError
,"null reference");
24689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24690 (arg1
)->SetOldItem((wxTreeItemId
const &)*arg2
);
24692 wxPyEndAllowThreads(__tstate
);
24693 if (PyErr_Occurred()) SWIG_fail
;
24695 Py_INCREF(Py_None
); resultobj
= Py_None
;
24702 static PyObject
*_wrap_TreeEvent_GetPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24703 PyObject
*resultobj
;
24704 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
24706 PyObject
* obj0
= 0 ;
24707 char *kwnames
[] = {
24708 (char *) "self", NULL
24711 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetPoint",kwnames
,&obj0
)) goto fail
;
24712 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
24713 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24716 result
= ((wxTreeEvent
const *)arg1
)->GetPoint();
24718 wxPyEndAllowThreads(__tstate
);
24719 if (PyErr_Occurred()) SWIG_fail
;
24722 wxPoint
* resultptr
;
24723 resultptr
= new wxPoint((wxPoint
&) result
);
24724 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
24732 static PyObject
*_wrap_TreeEvent_SetPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24733 PyObject
*resultobj
;
24734 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
24735 wxPoint
*arg2
= 0 ;
24737 PyObject
* obj0
= 0 ;
24738 PyObject
* obj1
= 0 ;
24739 char *kwnames
[] = {
24740 (char *) "self",(char *) "pt", NULL
24743 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
24744 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
24745 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24748 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
24751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24752 (arg1
)->SetPoint((wxPoint
const &)*arg2
);
24754 wxPyEndAllowThreads(__tstate
);
24755 if (PyErr_Occurred()) SWIG_fail
;
24757 Py_INCREF(Py_None
); resultobj
= Py_None
;
24764 static PyObject
*_wrap_TreeEvent_GetKeyEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24765 PyObject
*resultobj
;
24766 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
24767 wxKeyEvent
*result
;
24768 PyObject
* obj0
= 0 ;
24769 char *kwnames
[] = {
24770 (char *) "self", NULL
24773 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetKeyEvent",kwnames
,&obj0
)) goto fail
;
24774 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
24775 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24779 wxKeyEvent
const &_result_ref
= ((wxTreeEvent
const *)arg1
)->GetKeyEvent();
24780 result
= (wxKeyEvent
*) &_result_ref
;
24783 wxPyEndAllowThreads(__tstate
);
24784 if (PyErr_Occurred()) SWIG_fail
;
24786 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxKeyEvent
, 0);
24793 static PyObject
*_wrap_TreeEvent_GetKeyCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24794 PyObject
*resultobj
;
24795 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
24797 PyObject
* obj0
= 0 ;
24798 char *kwnames
[] = {
24799 (char *) "self", NULL
24802 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetKeyCode",kwnames
,&obj0
)) goto fail
;
24803 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
24804 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24807 result
= (int)((wxTreeEvent
const *)arg1
)->GetKeyCode();
24809 wxPyEndAllowThreads(__tstate
);
24810 if (PyErr_Occurred()) SWIG_fail
;
24812 resultobj
= SWIG_FromInt((int)result
);
24819 static PyObject
*_wrap_TreeEvent_SetKeyEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24820 PyObject
*resultobj
;
24821 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
24822 wxKeyEvent
*arg2
= 0 ;
24823 PyObject
* obj0
= 0 ;
24824 PyObject
* obj1
= 0 ;
24825 char *kwnames
[] = {
24826 (char *) "self",(char *) "evt", NULL
24829 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetKeyEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
24830 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
24831 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24832 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxKeyEvent
,
24833 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24835 if (arg2
== NULL
) {
24836 PyErr_SetString(PyExc_TypeError
,"null reference");
24840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24841 (arg1
)->SetKeyEvent((wxKeyEvent
const &)*arg2
);
24843 wxPyEndAllowThreads(__tstate
);
24844 if (PyErr_Occurred()) SWIG_fail
;
24846 Py_INCREF(Py_None
); resultobj
= Py_None
;
24853 static PyObject
*_wrap_TreeEvent_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24854 PyObject
*resultobj
;
24855 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
24857 PyObject
* obj0
= 0 ;
24858 char *kwnames
[] = {
24859 (char *) "self", NULL
24862 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetLabel",kwnames
,&obj0
)) goto fail
;
24863 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
24864 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24868 wxString
const &_result_ref
= ((wxTreeEvent
const *)arg1
)->GetLabel();
24869 result
= (wxString
*) &_result_ref
;
24872 wxPyEndAllowThreads(__tstate
);
24873 if (PyErr_Occurred()) SWIG_fail
;
24877 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
24879 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
24888 static PyObject
*_wrap_TreeEvent_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24889 PyObject
*resultobj
;
24890 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
24891 wxString
*arg2
= 0 ;
24892 bool temp2
= False
;
24893 PyObject
* obj0
= 0 ;
24894 PyObject
* obj1
= 0 ;
24895 char *kwnames
[] = {
24896 (char *) "self",(char *) "label", NULL
24899 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
24900 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
24901 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24903 arg2
= wxString_in_helper(obj1
);
24904 if (arg2
== NULL
) SWIG_fail
;
24908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24909 (arg1
)->SetLabel((wxString
const &)*arg2
);
24911 wxPyEndAllowThreads(__tstate
);
24912 if (PyErr_Occurred()) SWIG_fail
;
24914 Py_INCREF(Py_None
); resultobj
= Py_None
;
24929 static PyObject
*_wrap_TreeEvent_IsEditCancelled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24930 PyObject
*resultobj
;
24931 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
24933 PyObject
* obj0
= 0 ;
24934 char *kwnames
[] = {
24935 (char *) "self", NULL
24938 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_IsEditCancelled",kwnames
,&obj0
)) goto fail
;
24939 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
24940 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24943 result
= (bool)((wxTreeEvent
const *)arg1
)->IsEditCancelled();
24945 wxPyEndAllowThreads(__tstate
);
24946 if (PyErr_Occurred()) SWIG_fail
;
24949 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24957 static PyObject
*_wrap_TreeEvent_SetEditCanceled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24958 PyObject
*resultobj
;
24959 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
24961 PyObject
* obj0
= 0 ;
24962 PyObject
* obj1
= 0 ;
24963 char *kwnames
[] = {
24964 (char *) "self",(char *) "editCancelled", NULL
24967 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetEditCanceled",kwnames
,&obj0
,&obj1
)) goto fail
;
24968 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
24969 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24970 arg2
= (bool) SWIG_AsBool(obj1
);
24971 if (PyErr_Occurred()) SWIG_fail
;
24973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24974 (arg1
)->SetEditCanceled(arg2
);
24976 wxPyEndAllowThreads(__tstate
);
24977 if (PyErr_Occurred()) SWIG_fail
;
24979 Py_INCREF(Py_None
); resultobj
= Py_None
;
24986 static PyObject
*_wrap_TreeEvent_SetToolTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24987 PyObject
*resultobj
;
24988 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
24989 wxString
*arg2
= 0 ;
24990 bool temp2
= False
;
24991 PyObject
* obj0
= 0 ;
24992 PyObject
* obj1
= 0 ;
24993 char *kwnames
[] = {
24994 (char *) "self",(char *) "toolTip", NULL
24997 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetToolTip",kwnames
,&obj0
,&obj1
)) goto fail
;
24998 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
24999 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25001 arg2
= wxString_in_helper(obj1
);
25002 if (arg2
== NULL
) SWIG_fail
;
25006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25007 (arg1
)->SetToolTip((wxString
const &)*arg2
);
25009 wxPyEndAllowThreads(__tstate
);
25010 if (PyErr_Occurred()) SWIG_fail
;
25012 Py_INCREF(Py_None
); resultobj
= Py_None
;
25027 static PyObject
* TreeEvent_swigregister(PyObject
*self
, PyObject
*args
) {
25029 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25030 SWIG_TypeClientData(SWIGTYPE_p_wxTreeEvent
, obj
);
25032 return Py_BuildValue((char *)"");
25034 static PyObject
*_wrap_new_TreeCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25035 PyObject
*resultobj
;
25036 wxWindow
*arg1
= (wxWindow
*) 0 ;
25037 int arg2
= (int) -1 ;
25038 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
25039 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
25040 wxSize
const &arg4_defvalue
= wxDefaultSize
;
25041 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
25042 long arg5
= (long) wxTR_DEFAULT_STYLE
;
25043 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
25044 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
25045 wxString
const &arg7_defvalue
= wxPyTreeCtrlNameStr
;
25046 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
25047 wxPyTreeCtrl
*result
;
25050 bool temp7
= False
;
25051 PyObject
* obj0
= 0 ;
25052 PyObject
* obj1
= 0 ;
25053 PyObject
* obj2
= 0 ;
25054 PyObject
* obj3
= 0 ;
25055 PyObject
* obj4
= 0 ;
25056 PyObject
* obj5
= 0 ;
25057 PyObject
* obj6
= 0 ;
25058 char *kwnames
[] = {
25059 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
25062 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_TreeCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
25063 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25064 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25066 arg2
= (int) SWIG_AsInt(obj1
);
25067 if (PyErr_Occurred()) SWIG_fail
;
25072 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
25078 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
25082 arg5
= (long) SWIG_AsLong(obj4
);
25083 if (PyErr_Occurred()) SWIG_fail
;
25086 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxValidator
,
25087 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25089 if (arg6
== NULL
) {
25090 PyErr_SetString(PyExc_TypeError
,"null reference");
25096 arg7
= wxString_in_helper(obj6
);
25097 if (arg7
== NULL
) SWIG_fail
;
25102 if (!wxPyCheckForApp()) SWIG_fail
;
25103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25104 result
= (wxPyTreeCtrl
*)new wxPyTreeCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
25106 wxPyEndAllowThreads(__tstate
);
25107 if (PyErr_Occurred()) SWIG_fail
;
25109 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTreeCtrl
, 1);
25124 static PyObject
*_wrap_new_PreTreeCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25125 PyObject
*resultobj
;
25126 wxPyTreeCtrl
*result
;
25127 char *kwnames
[] = {
25131 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreTreeCtrl",kwnames
)) goto fail
;
25133 if (!wxPyCheckForApp()) SWIG_fail
;
25134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25135 result
= (wxPyTreeCtrl
*)new wxPyTreeCtrl();
25137 wxPyEndAllowThreads(__tstate
);
25138 if (PyErr_Occurred()) SWIG_fail
;
25140 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTreeCtrl
, 1);
25147 static PyObject
*_wrap_TreeCtrl_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25148 PyObject
*resultobj
;
25149 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25150 wxWindow
*arg2
= (wxWindow
*) 0 ;
25151 int arg3
= (int) -1 ;
25152 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
25153 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
25154 wxSize
const &arg5_defvalue
= wxDefaultSize
;
25155 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
25156 long arg6
= (long) wxTR_DEFAULT_STYLE
;
25157 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
25158 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
25159 wxString
const &arg8_defvalue
= wxPyTreeCtrlNameStr
;
25160 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
25164 bool temp8
= False
;
25165 PyObject
* obj0
= 0 ;
25166 PyObject
* obj1
= 0 ;
25167 PyObject
* obj2
= 0 ;
25168 PyObject
* obj3
= 0 ;
25169 PyObject
* obj4
= 0 ;
25170 PyObject
* obj5
= 0 ;
25171 PyObject
* obj6
= 0 ;
25172 PyObject
* obj7
= 0 ;
25173 char *kwnames
[] = {
25174 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
25177 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:TreeCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
25178 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25179 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25180 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
25181 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25183 arg3
= (int) SWIG_AsInt(obj2
);
25184 if (PyErr_Occurred()) SWIG_fail
;
25189 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
25195 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
25199 arg6
= (long) SWIG_AsLong(obj5
);
25200 if (PyErr_Occurred()) SWIG_fail
;
25203 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
25204 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25206 if (arg7
== NULL
) {
25207 PyErr_SetString(PyExc_TypeError
,"null reference");
25213 arg8
= wxString_in_helper(obj7
);
25214 if (arg8
== NULL
) SWIG_fail
;
25219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25220 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
25222 wxPyEndAllowThreads(__tstate
);
25223 if (PyErr_Occurred()) SWIG_fail
;
25226 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25242 static PyObject
*_wrap_TreeCtrl__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25243 PyObject
*resultobj
;
25244 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25245 PyObject
*arg2
= (PyObject
*) 0 ;
25246 PyObject
*arg3
= (PyObject
*) 0 ;
25247 PyObject
* obj0
= 0 ;
25248 PyObject
* obj1
= 0 ;
25249 PyObject
* obj2
= 0 ;
25250 char *kwnames
[] = {
25251 (char *) "self",(char *) "self",(char *) "_class", NULL
25254 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25255 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25256 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25261 (arg1
)->_setCallbackInfo(arg2
,arg3
);
25263 wxPyEndAllowThreads(__tstate
);
25264 if (PyErr_Occurred()) SWIG_fail
;
25266 Py_INCREF(Py_None
); resultobj
= Py_None
;
25273 static PyObject
*_wrap_TreeCtrl_GetCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25274 PyObject
*resultobj
;
25275 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25277 PyObject
* obj0
= 0 ;
25278 char *kwnames
[] = {
25279 (char *) "self", NULL
25282 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetCount",kwnames
,&obj0
)) goto fail
;
25283 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25284 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25287 result
= (size_t)((wxPyTreeCtrl
const *)arg1
)->GetCount();
25289 wxPyEndAllowThreads(__tstate
);
25290 if (PyErr_Occurred()) SWIG_fail
;
25292 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
25299 static PyObject
*_wrap_TreeCtrl_GetIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25300 PyObject
*resultobj
;
25301 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25302 unsigned int result
;
25303 PyObject
* obj0
= 0 ;
25304 char *kwnames
[] = {
25305 (char *) "self", NULL
25308 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetIndent",kwnames
,&obj0
)) goto fail
;
25309 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25310 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25313 result
= (unsigned int)((wxPyTreeCtrl
const *)arg1
)->GetIndent();
25315 wxPyEndAllowThreads(__tstate
);
25316 if (PyErr_Occurred()) SWIG_fail
;
25318 resultobj
= SWIG_FromUnsignedInt((unsigned int)result
);
25325 static PyObject
*_wrap_TreeCtrl_SetIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25326 PyObject
*resultobj
;
25327 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25328 unsigned int arg2
;
25329 PyObject
* obj0
= 0 ;
25330 PyObject
* obj1
= 0 ;
25331 char *kwnames
[] = {
25332 (char *) "self",(char *) "indent", NULL
25335 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetIndent",kwnames
,&obj0
,&obj1
)) goto fail
;
25336 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25337 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25338 arg2
= (unsigned int) SWIG_AsUnsignedInt(obj1
);
25339 if (PyErr_Occurred()) SWIG_fail
;
25341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25342 (arg1
)->SetIndent(arg2
);
25344 wxPyEndAllowThreads(__tstate
);
25345 if (PyErr_Occurred()) SWIG_fail
;
25347 Py_INCREF(Py_None
); resultobj
= Py_None
;
25354 static PyObject
*_wrap_TreeCtrl_GetSpacing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25355 PyObject
*resultobj
;
25356 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25357 unsigned int result
;
25358 PyObject
* obj0
= 0 ;
25359 char *kwnames
[] = {
25360 (char *) "self", NULL
25363 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetSpacing",kwnames
,&obj0
)) goto fail
;
25364 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25365 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25368 result
= (unsigned int)((wxPyTreeCtrl
const *)arg1
)->GetSpacing();
25370 wxPyEndAllowThreads(__tstate
);
25371 if (PyErr_Occurred()) SWIG_fail
;
25373 resultobj
= SWIG_FromUnsignedInt((unsigned int)result
);
25380 static PyObject
*_wrap_TreeCtrl_SetSpacing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25381 PyObject
*resultobj
;
25382 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25383 unsigned int arg2
;
25384 PyObject
* obj0
= 0 ;
25385 PyObject
* obj1
= 0 ;
25386 char *kwnames
[] = {
25387 (char *) "self",(char *) "spacing", NULL
25390 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetSpacing",kwnames
,&obj0
,&obj1
)) goto fail
;
25391 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25392 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25393 arg2
= (unsigned int) SWIG_AsUnsignedInt(obj1
);
25394 if (PyErr_Occurred()) SWIG_fail
;
25396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25397 (arg1
)->SetSpacing(arg2
);
25399 wxPyEndAllowThreads(__tstate
);
25400 if (PyErr_Occurred()) SWIG_fail
;
25402 Py_INCREF(Py_None
); resultobj
= Py_None
;
25409 static PyObject
*_wrap_TreeCtrl_GetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25410 PyObject
*resultobj
;
25411 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25412 wxImageList
*result
;
25413 PyObject
* obj0
= 0 ;
25414 char *kwnames
[] = {
25415 (char *) "self", NULL
25418 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetImageList",kwnames
,&obj0
)) goto fail
;
25419 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25420 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25423 result
= (wxImageList
*)((wxPyTreeCtrl
const *)arg1
)->GetImageList();
25425 wxPyEndAllowThreads(__tstate
);
25426 if (PyErr_Occurred()) SWIG_fail
;
25429 resultobj
= wxPyMake_wxObject(result
, 0);
25437 static PyObject
*_wrap_TreeCtrl_GetStateImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25438 PyObject
*resultobj
;
25439 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25440 wxImageList
*result
;
25441 PyObject
* obj0
= 0 ;
25442 char *kwnames
[] = {
25443 (char *) "self", NULL
25446 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetStateImageList",kwnames
,&obj0
)) goto fail
;
25447 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25448 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25451 result
= (wxImageList
*)((wxPyTreeCtrl
const *)arg1
)->GetStateImageList();
25453 wxPyEndAllowThreads(__tstate
);
25454 if (PyErr_Occurred()) SWIG_fail
;
25457 resultobj
= wxPyMake_wxObject(result
, 0);
25465 static PyObject
*_wrap_TreeCtrl_SetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25466 PyObject
*resultobj
;
25467 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25468 wxImageList
*arg2
= (wxImageList
*) 0 ;
25469 PyObject
* obj0
= 0 ;
25470 PyObject
* obj1
= 0 ;
25471 char *kwnames
[] = {
25472 (char *) "self",(char *) "imageList", NULL
25475 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
25476 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25477 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25478 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImageList
,
25479 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25482 (arg1
)->SetImageList(arg2
);
25484 wxPyEndAllowThreads(__tstate
);
25485 if (PyErr_Occurred()) SWIG_fail
;
25487 Py_INCREF(Py_None
); resultobj
= Py_None
;
25494 static PyObject
*_wrap_TreeCtrl_SetStateImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25495 PyObject
*resultobj
;
25496 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25497 wxImageList
*arg2
= (wxImageList
*) 0 ;
25498 PyObject
* obj0
= 0 ;
25499 PyObject
* obj1
= 0 ;
25500 char *kwnames
[] = {
25501 (char *) "self",(char *) "imageList", NULL
25504 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetStateImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
25505 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25506 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25507 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImageList
,
25508 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25511 (arg1
)->SetStateImageList(arg2
);
25513 wxPyEndAllowThreads(__tstate
);
25514 if (PyErr_Occurred()) SWIG_fail
;
25516 Py_INCREF(Py_None
); resultobj
= Py_None
;
25523 static PyObject
*_wrap_TreeCtrl_AssignImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25524 PyObject
*resultobj
;
25525 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25526 wxImageList
*arg2
= (wxImageList
*) 0 ;
25527 PyObject
* obj0
= 0 ;
25528 PyObject
* obj1
= 0 ;
25529 char *kwnames
[] = {
25530 (char *) "self",(char *) "imageList", NULL
25533 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_AssignImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
25534 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25535 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25536 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImageList
,
25537 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
25539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25540 (arg1
)->AssignImageList(arg2
);
25542 wxPyEndAllowThreads(__tstate
);
25543 if (PyErr_Occurred()) SWIG_fail
;
25545 Py_INCREF(Py_None
); resultobj
= Py_None
;
25552 static PyObject
*_wrap_TreeCtrl_AssignStateImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25553 PyObject
*resultobj
;
25554 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25555 wxImageList
*arg2
= (wxImageList
*) 0 ;
25556 PyObject
* obj0
= 0 ;
25557 PyObject
* obj1
= 0 ;
25558 char *kwnames
[] = {
25559 (char *) "self",(char *) "imageList", NULL
25562 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_AssignStateImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
25563 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25564 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25565 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImageList
,
25566 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
25568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25569 (arg1
)->AssignStateImageList(arg2
);
25571 wxPyEndAllowThreads(__tstate
);
25572 if (PyErr_Occurred()) SWIG_fail
;
25574 Py_INCREF(Py_None
); resultobj
= Py_None
;
25581 static PyObject
*_wrap_TreeCtrl_GetItemText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25582 PyObject
*resultobj
;
25583 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25584 wxTreeItemId
*arg2
= 0 ;
25586 PyObject
* obj0
= 0 ;
25587 PyObject
* obj1
= 0 ;
25588 char *kwnames
[] = {
25589 (char *) "self",(char *) "item", NULL
25592 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemText",kwnames
,&obj0
,&obj1
)) goto fail
;
25593 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25594 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25595 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25596 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25598 if (arg2
== NULL
) {
25599 PyErr_SetString(PyExc_TypeError
,"null reference");
25603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25604 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemText((wxTreeItemId
const &)*arg2
);
25606 wxPyEndAllowThreads(__tstate
);
25607 if (PyErr_Occurred()) SWIG_fail
;
25611 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
25613 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
25622 static PyObject
*_wrap_TreeCtrl_GetItemImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25623 PyObject
*resultobj
;
25624 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25625 wxTreeItemId
*arg2
= 0 ;
25626 int arg3
= (int) wxTreeItemIcon_Normal
;
25628 PyObject
* obj0
= 0 ;
25629 PyObject
* obj1
= 0 ;
25630 PyObject
* obj2
= 0 ;
25631 char *kwnames
[] = {
25632 (char *) "self",(char *) "item",(char *) "which", NULL
25635 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_GetItemImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25636 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25637 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25638 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25639 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25641 if (arg2
== NULL
) {
25642 PyErr_SetString(PyExc_TypeError
,"null reference");
25646 arg3
= (wxTreeItemIcon
) SWIG_AsInt(obj2
);
25647 if (PyErr_Occurred()) SWIG_fail
;
25650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25651 result
= (int)((wxPyTreeCtrl
const *)arg1
)->GetItemImage((wxTreeItemId
const &)*arg2
,(wxTreeItemIcon
)arg3
);
25653 wxPyEndAllowThreads(__tstate
);
25654 if (PyErr_Occurred()) SWIG_fail
;
25656 resultobj
= SWIG_FromInt((int)result
);
25663 static PyObject
*_wrap_TreeCtrl_GetItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25664 PyObject
*resultobj
;
25665 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25666 wxTreeItemId
*arg2
= 0 ;
25667 wxPyTreeItemData
*result
;
25668 PyObject
* obj0
= 0 ;
25669 PyObject
* obj1
= 0 ;
25670 char *kwnames
[] = {
25671 (char *) "self",(char *) "item", NULL
25674 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemData",kwnames
,&obj0
,&obj1
)) goto fail
;
25675 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25676 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25677 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25678 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25680 if (arg2
== NULL
) {
25681 PyErr_SetString(PyExc_TypeError
,"null reference");
25685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25686 result
= (wxPyTreeItemData
*)wxPyTreeCtrl_GetItemData(arg1
,(wxTreeItemId
const &)*arg2
);
25688 wxPyEndAllowThreads(__tstate
);
25689 if (PyErr_Occurred()) SWIG_fail
;
25691 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTreeItemData
, 0);
25698 static PyObject
*_wrap_TreeCtrl_GetItemPyData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25699 PyObject
*resultobj
;
25700 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25701 wxTreeItemId
*arg2
= 0 ;
25703 PyObject
* obj0
= 0 ;
25704 PyObject
* obj1
= 0 ;
25705 char *kwnames
[] = {
25706 (char *) "self",(char *) "item", NULL
25709 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemPyData",kwnames
,&obj0
,&obj1
)) goto fail
;
25710 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25711 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25712 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25713 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25715 if (arg2
== NULL
) {
25716 PyErr_SetString(PyExc_TypeError
,"null reference");
25720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25721 result
= (PyObject
*)wxPyTreeCtrl_GetItemPyData(arg1
,(wxTreeItemId
const &)*arg2
);
25723 wxPyEndAllowThreads(__tstate
);
25724 if (PyErr_Occurred()) SWIG_fail
;
25726 resultobj
= result
;
25733 static PyObject
*_wrap_TreeCtrl_GetItemTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25734 PyObject
*resultobj
;
25735 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25736 wxTreeItemId
*arg2
= 0 ;
25738 PyObject
* obj0
= 0 ;
25739 PyObject
* obj1
= 0 ;
25740 char *kwnames
[] = {
25741 (char *) "self",(char *) "item", NULL
25744 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
25745 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25746 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25747 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25748 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25750 if (arg2
== NULL
) {
25751 PyErr_SetString(PyExc_TypeError
,"null reference");
25755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25756 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemTextColour((wxTreeItemId
const &)*arg2
);
25758 wxPyEndAllowThreads(__tstate
);
25759 if (PyErr_Occurred()) SWIG_fail
;
25762 wxColour
* resultptr
;
25763 resultptr
= new wxColour((wxColour
&) result
);
25764 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
25772 static PyObject
*_wrap_TreeCtrl_GetItemBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25773 PyObject
*resultobj
;
25774 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25775 wxTreeItemId
*arg2
= 0 ;
25777 PyObject
* obj0
= 0 ;
25778 PyObject
* obj1
= 0 ;
25779 char *kwnames
[] = {
25780 (char *) "self",(char *) "item", NULL
25783 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
25784 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25785 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25786 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25787 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25789 if (arg2
== NULL
) {
25790 PyErr_SetString(PyExc_TypeError
,"null reference");
25794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25795 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemBackgroundColour((wxTreeItemId
const &)*arg2
);
25797 wxPyEndAllowThreads(__tstate
);
25798 if (PyErr_Occurred()) SWIG_fail
;
25801 wxColour
* resultptr
;
25802 resultptr
= new wxColour((wxColour
&) result
);
25803 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
25811 static PyObject
*_wrap_TreeCtrl_GetItemFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25812 PyObject
*resultobj
;
25813 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25814 wxTreeItemId
*arg2
= 0 ;
25816 PyObject
* obj0
= 0 ;
25817 PyObject
* obj1
= 0 ;
25818 char *kwnames
[] = {
25819 (char *) "self",(char *) "item", NULL
25822 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemFont",kwnames
,&obj0
,&obj1
)) goto fail
;
25823 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25824 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25825 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25826 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25828 if (arg2
== NULL
) {
25829 PyErr_SetString(PyExc_TypeError
,"null reference");
25833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25834 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemFont((wxTreeItemId
const &)*arg2
);
25836 wxPyEndAllowThreads(__tstate
);
25837 if (PyErr_Occurred()) SWIG_fail
;
25840 wxFont
* resultptr
;
25841 resultptr
= new wxFont((wxFont
&) result
);
25842 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
25850 static PyObject
*_wrap_TreeCtrl_SetItemText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25851 PyObject
*resultobj
;
25852 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25853 wxTreeItemId
*arg2
= 0 ;
25854 wxString
*arg3
= 0 ;
25855 bool temp3
= False
;
25856 PyObject
* obj0
= 0 ;
25857 PyObject
* obj1
= 0 ;
25858 PyObject
* obj2
= 0 ;
25859 char *kwnames
[] = {
25860 (char *) "self",(char *) "item",(char *) "text", NULL
25863 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25864 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25865 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25866 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25867 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25869 if (arg2
== NULL
) {
25870 PyErr_SetString(PyExc_TypeError
,"null reference");
25874 arg3
= wxString_in_helper(obj2
);
25875 if (arg3
== NULL
) SWIG_fail
;
25879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25880 (arg1
)->SetItemText((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
);
25882 wxPyEndAllowThreads(__tstate
);
25883 if (PyErr_Occurred()) SWIG_fail
;
25885 Py_INCREF(Py_None
); resultobj
= Py_None
;
25900 static PyObject
*_wrap_TreeCtrl_SetItemImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25901 PyObject
*resultobj
;
25902 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25903 wxTreeItemId
*arg2
= 0 ;
25905 int arg4
= (int) wxTreeItemIcon_Normal
;
25906 PyObject
* obj0
= 0 ;
25907 PyObject
* obj1
= 0 ;
25908 PyObject
* obj2
= 0 ;
25909 PyObject
* obj3
= 0 ;
25910 char *kwnames
[] = {
25911 (char *) "self",(char *) "item",(char *) "image",(char *) "which", NULL
25914 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:TreeCtrl_SetItemImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
25915 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25916 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25917 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25918 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25920 if (arg2
== NULL
) {
25921 PyErr_SetString(PyExc_TypeError
,"null reference");
25924 arg3
= (int) SWIG_AsInt(obj2
);
25925 if (PyErr_Occurred()) SWIG_fail
;
25927 arg4
= (wxTreeItemIcon
) SWIG_AsInt(obj3
);
25928 if (PyErr_Occurred()) SWIG_fail
;
25931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25932 (arg1
)->SetItemImage((wxTreeItemId
const &)*arg2
,arg3
,(wxTreeItemIcon
)arg4
);
25934 wxPyEndAllowThreads(__tstate
);
25935 if (PyErr_Occurred()) SWIG_fail
;
25937 Py_INCREF(Py_None
); resultobj
= Py_None
;
25944 static PyObject
*_wrap_TreeCtrl_SetItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25945 PyObject
*resultobj
;
25946 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25947 wxTreeItemId
*arg2
= 0 ;
25948 wxPyTreeItemData
*arg3
= (wxPyTreeItemData
*) 0 ;
25949 PyObject
* obj0
= 0 ;
25950 PyObject
* obj1
= 0 ;
25951 PyObject
* obj2
= 0 ;
25952 char *kwnames
[] = {
25953 (char *) "self",(char *) "item",(char *) "data", NULL
25956 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25957 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25958 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25959 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25960 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25962 if (arg2
== NULL
) {
25963 PyErr_SetString(PyExc_TypeError
,"null reference");
25966 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPyTreeItemData
,
25967 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25970 wxPyTreeCtrl_SetItemData(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
25972 wxPyEndAllowThreads(__tstate
);
25973 if (PyErr_Occurred()) SWIG_fail
;
25975 Py_INCREF(Py_None
); resultobj
= Py_None
;
25982 static PyObject
*_wrap_TreeCtrl_SetItemPyData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25983 PyObject
*resultobj
;
25984 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25985 wxTreeItemId
*arg2
= 0 ;
25986 PyObject
*arg3
= (PyObject
*) 0 ;
25987 PyObject
* obj0
= 0 ;
25988 PyObject
* obj1
= 0 ;
25989 PyObject
* obj2
= 0 ;
25990 char *kwnames
[] = {
25991 (char *) "self",(char *) "item",(char *) "obj", NULL
25994 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemPyData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25995 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25996 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25997 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25998 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26000 if (arg2
== NULL
) {
26001 PyErr_SetString(PyExc_TypeError
,"null reference");
26006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26007 wxPyTreeCtrl_SetItemPyData(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
26009 wxPyEndAllowThreads(__tstate
);
26010 if (PyErr_Occurred()) SWIG_fail
;
26012 Py_INCREF(Py_None
); resultobj
= Py_None
;
26019 static PyObject
*_wrap_TreeCtrl_SetItemHasChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26020 PyObject
*resultobj
;
26021 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26022 wxTreeItemId
*arg2
= 0 ;
26023 bool arg3
= (bool) True
;
26024 PyObject
* obj0
= 0 ;
26025 PyObject
* obj1
= 0 ;
26026 PyObject
* obj2
= 0 ;
26027 char *kwnames
[] = {
26028 (char *) "self",(char *) "item",(char *) "has", NULL
26031 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SetItemHasChildren",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26032 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26033 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26034 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26035 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26037 if (arg2
== NULL
) {
26038 PyErr_SetString(PyExc_TypeError
,"null reference");
26042 arg3
= (bool) SWIG_AsBool(obj2
);
26043 if (PyErr_Occurred()) SWIG_fail
;
26046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26047 (arg1
)->SetItemHasChildren((wxTreeItemId
const &)*arg2
,arg3
);
26049 wxPyEndAllowThreads(__tstate
);
26050 if (PyErr_Occurred()) SWIG_fail
;
26052 Py_INCREF(Py_None
); resultobj
= Py_None
;
26059 static PyObject
*_wrap_TreeCtrl_SetItemBold(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26060 PyObject
*resultobj
;
26061 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26062 wxTreeItemId
*arg2
= 0 ;
26063 bool arg3
= (bool) True
;
26064 PyObject
* obj0
= 0 ;
26065 PyObject
* obj1
= 0 ;
26066 PyObject
* obj2
= 0 ;
26067 char *kwnames
[] = {
26068 (char *) "self",(char *) "item",(char *) "bold", NULL
26071 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SetItemBold",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26072 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26073 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26074 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26075 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26077 if (arg2
== NULL
) {
26078 PyErr_SetString(PyExc_TypeError
,"null reference");
26082 arg3
= (bool) SWIG_AsBool(obj2
);
26083 if (PyErr_Occurred()) SWIG_fail
;
26086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26087 (arg1
)->SetItemBold((wxTreeItemId
const &)*arg2
,arg3
);
26089 wxPyEndAllowThreads(__tstate
);
26090 if (PyErr_Occurred()) SWIG_fail
;
26092 Py_INCREF(Py_None
); resultobj
= Py_None
;
26099 static PyObject
*_wrap_TreeCtrl_SetItemDropHighlight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26100 PyObject
*resultobj
;
26101 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26102 wxTreeItemId
*arg2
= 0 ;
26103 bool arg3
= (bool) True
;
26104 PyObject
* obj0
= 0 ;
26105 PyObject
* obj1
= 0 ;
26106 PyObject
* obj2
= 0 ;
26107 char *kwnames
[] = {
26108 (char *) "self",(char *) "item",(char *) "highlight", NULL
26111 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SetItemDropHighlight",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26112 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26113 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26114 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26115 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26117 if (arg2
== NULL
) {
26118 PyErr_SetString(PyExc_TypeError
,"null reference");
26122 arg3
= (bool) SWIG_AsBool(obj2
);
26123 if (PyErr_Occurred()) SWIG_fail
;
26126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26127 (arg1
)->SetItemDropHighlight((wxTreeItemId
const &)*arg2
,arg3
);
26129 wxPyEndAllowThreads(__tstate
);
26130 if (PyErr_Occurred()) SWIG_fail
;
26132 Py_INCREF(Py_None
); resultobj
= Py_None
;
26139 static PyObject
*_wrap_TreeCtrl_SetItemTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26140 PyObject
*resultobj
;
26141 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26142 wxTreeItemId
*arg2
= 0 ;
26143 wxColour
*arg3
= 0 ;
26145 PyObject
* obj0
= 0 ;
26146 PyObject
* obj1
= 0 ;
26147 PyObject
* obj2
= 0 ;
26148 char *kwnames
[] = {
26149 (char *) "self",(char *) "item",(char *) "col", NULL
26152 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemTextColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26153 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26154 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26155 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26156 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26158 if (arg2
== NULL
) {
26159 PyErr_SetString(PyExc_TypeError
,"null reference");
26164 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
26167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26168 (arg1
)->SetItemTextColour((wxTreeItemId
const &)*arg2
,(wxColour
const &)*arg3
);
26170 wxPyEndAllowThreads(__tstate
);
26171 if (PyErr_Occurred()) SWIG_fail
;
26173 Py_INCREF(Py_None
); resultobj
= Py_None
;
26180 static PyObject
*_wrap_TreeCtrl_SetItemBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26181 PyObject
*resultobj
;
26182 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26183 wxTreeItemId
*arg2
= 0 ;
26184 wxColour
*arg3
= 0 ;
26186 PyObject
* obj0
= 0 ;
26187 PyObject
* obj1
= 0 ;
26188 PyObject
* obj2
= 0 ;
26189 char *kwnames
[] = {
26190 (char *) "self",(char *) "item",(char *) "col", NULL
26193 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26194 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26195 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26196 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26197 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26199 if (arg2
== NULL
) {
26200 PyErr_SetString(PyExc_TypeError
,"null reference");
26205 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
26208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26209 (arg1
)->SetItemBackgroundColour((wxTreeItemId
const &)*arg2
,(wxColour
const &)*arg3
);
26211 wxPyEndAllowThreads(__tstate
);
26212 if (PyErr_Occurred()) SWIG_fail
;
26214 Py_INCREF(Py_None
); resultobj
= Py_None
;
26221 static PyObject
*_wrap_TreeCtrl_SetItemFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26222 PyObject
*resultobj
;
26223 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26224 wxTreeItemId
*arg2
= 0 ;
26226 PyObject
* obj0
= 0 ;
26227 PyObject
* obj1
= 0 ;
26228 PyObject
* obj2
= 0 ;
26229 char *kwnames
[] = {
26230 (char *) "self",(char *) "item",(char *) "font", NULL
26233 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemFont",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26234 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26235 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26236 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26237 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26239 if (arg2
== NULL
) {
26240 PyErr_SetString(PyExc_TypeError
,"null reference");
26243 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxFont
,
26244 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26246 if (arg3
== NULL
) {
26247 PyErr_SetString(PyExc_TypeError
,"null reference");
26251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26252 (arg1
)->SetItemFont((wxTreeItemId
const &)*arg2
,(wxFont
const &)*arg3
);
26254 wxPyEndAllowThreads(__tstate
);
26255 if (PyErr_Occurred()) SWIG_fail
;
26257 Py_INCREF(Py_None
); resultobj
= Py_None
;
26264 static PyObject
*_wrap_TreeCtrl_IsVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26265 PyObject
*resultobj
;
26266 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26267 wxTreeItemId
*arg2
= 0 ;
26269 PyObject
* obj0
= 0 ;
26270 PyObject
* obj1
= 0 ;
26271 char *kwnames
[] = {
26272 (char *) "self",(char *) "item", NULL
26275 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
26276 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26277 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26278 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26279 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26281 if (arg2
== NULL
) {
26282 PyErr_SetString(PyExc_TypeError
,"null reference");
26286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26287 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsVisible((wxTreeItemId
const &)*arg2
);
26289 wxPyEndAllowThreads(__tstate
);
26290 if (PyErr_Occurred()) SWIG_fail
;
26293 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26301 static PyObject
*_wrap_TreeCtrl_ItemHasChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26302 PyObject
*resultobj
;
26303 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26304 wxTreeItemId
*arg2
= 0 ;
26306 PyObject
* obj0
= 0 ;
26307 PyObject
* obj1
= 0 ;
26308 char *kwnames
[] = {
26309 (char *) "self",(char *) "item", NULL
26312 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ItemHasChildren",kwnames
,&obj0
,&obj1
)) goto fail
;
26313 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26314 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26315 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26316 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26318 if (arg2
== NULL
) {
26319 PyErr_SetString(PyExc_TypeError
,"null reference");
26323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26324 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->ItemHasChildren((wxTreeItemId
const &)*arg2
);
26326 wxPyEndAllowThreads(__tstate
);
26327 if (PyErr_Occurred()) SWIG_fail
;
26330 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26338 static PyObject
*_wrap_TreeCtrl_IsExpanded(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26339 PyObject
*resultobj
;
26340 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26341 wxTreeItemId
*arg2
= 0 ;
26343 PyObject
* obj0
= 0 ;
26344 PyObject
* obj1
= 0 ;
26345 char *kwnames
[] = {
26346 (char *) "self",(char *) "item", NULL
26349 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsExpanded",kwnames
,&obj0
,&obj1
)) goto fail
;
26350 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26351 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26352 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26353 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26355 if (arg2
== NULL
) {
26356 PyErr_SetString(PyExc_TypeError
,"null reference");
26360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26361 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsExpanded((wxTreeItemId
const &)*arg2
);
26363 wxPyEndAllowThreads(__tstate
);
26364 if (PyErr_Occurred()) SWIG_fail
;
26367 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26375 static PyObject
*_wrap_TreeCtrl_IsSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26376 PyObject
*resultobj
;
26377 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26378 wxTreeItemId
*arg2
= 0 ;
26380 PyObject
* obj0
= 0 ;
26381 PyObject
* obj1
= 0 ;
26382 char *kwnames
[] = {
26383 (char *) "self",(char *) "item", NULL
26386 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
26387 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26388 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26389 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26390 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26392 if (arg2
== NULL
) {
26393 PyErr_SetString(PyExc_TypeError
,"null reference");
26397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26398 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsSelected((wxTreeItemId
const &)*arg2
);
26400 wxPyEndAllowThreads(__tstate
);
26401 if (PyErr_Occurred()) SWIG_fail
;
26404 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26412 static PyObject
*_wrap_TreeCtrl_IsBold(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26413 PyObject
*resultobj
;
26414 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26415 wxTreeItemId
*arg2
= 0 ;
26417 PyObject
* obj0
= 0 ;
26418 PyObject
* obj1
= 0 ;
26419 char *kwnames
[] = {
26420 (char *) "self",(char *) "item", NULL
26423 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsBold",kwnames
,&obj0
,&obj1
)) goto fail
;
26424 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26425 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26426 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26427 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26429 if (arg2
== NULL
) {
26430 PyErr_SetString(PyExc_TypeError
,"null reference");
26434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26435 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsBold((wxTreeItemId
const &)*arg2
);
26437 wxPyEndAllowThreads(__tstate
);
26438 if (PyErr_Occurred()) SWIG_fail
;
26441 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26449 static PyObject
*_wrap_TreeCtrl_GetChildrenCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26450 PyObject
*resultobj
;
26451 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26452 wxTreeItemId
*arg2
= 0 ;
26453 bool arg3
= (bool) True
;
26455 PyObject
* obj0
= 0 ;
26456 PyObject
* obj1
= 0 ;
26457 PyObject
* obj2
= 0 ;
26458 char *kwnames
[] = {
26459 (char *) "self",(char *) "item",(char *) "recursively", NULL
26462 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_GetChildrenCount",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26463 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26464 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26465 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26466 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26468 if (arg2
== NULL
) {
26469 PyErr_SetString(PyExc_TypeError
,"null reference");
26473 arg3
= (bool) SWIG_AsBool(obj2
);
26474 if (PyErr_Occurred()) SWIG_fail
;
26477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26478 result
= (size_t)(arg1
)->GetChildrenCount((wxTreeItemId
const &)*arg2
,arg3
);
26480 wxPyEndAllowThreads(__tstate
);
26481 if (PyErr_Occurred()) SWIG_fail
;
26483 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
26490 static PyObject
*_wrap_TreeCtrl_GetRootItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26491 PyObject
*resultobj
;
26492 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26493 wxTreeItemId result
;
26494 PyObject
* obj0
= 0 ;
26495 char *kwnames
[] = {
26496 (char *) "self", NULL
26499 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetRootItem",kwnames
,&obj0
)) goto fail
;
26500 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26501 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26504 result
= ((wxPyTreeCtrl
const *)arg1
)->GetRootItem();
26506 wxPyEndAllowThreads(__tstate
);
26507 if (PyErr_Occurred()) SWIG_fail
;
26510 wxTreeItemId
* resultptr
;
26511 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
26512 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
26520 static PyObject
*_wrap_TreeCtrl_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26521 PyObject
*resultobj
;
26522 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26523 wxTreeItemId result
;
26524 PyObject
* obj0
= 0 ;
26525 char *kwnames
[] = {
26526 (char *) "self", NULL
26529 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetSelection",kwnames
,&obj0
)) goto fail
;
26530 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26531 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26534 result
= ((wxPyTreeCtrl
const *)arg1
)->GetSelection();
26536 wxPyEndAllowThreads(__tstate
);
26537 if (PyErr_Occurred()) SWIG_fail
;
26540 wxTreeItemId
* resultptr
;
26541 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
26542 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
26550 static PyObject
*_wrap_TreeCtrl_GetSelections(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26551 PyObject
*resultobj
;
26552 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26554 PyObject
* obj0
= 0 ;
26555 char *kwnames
[] = {
26556 (char *) "self", NULL
26559 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetSelections",kwnames
,&obj0
)) goto fail
;
26560 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26561 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26564 result
= (PyObject
*)wxPyTreeCtrl_GetSelections(arg1
);
26566 wxPyEndAllowThreads(__tstate
);
26567 if (PyErr_Occurred()) SWIG_fail
;
26569 resultobj
= result
;
26576 static PyObject
*_wrap_TreeCtrl_GetItemParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26577 PyObject
*resultobj
;
26578 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26579 wxTreeItemId
*arg2
= 0 ;
26580 wxTreeItemId result
;
26581 PyObject
* obj0
= 0 ;
26582 PyObject
* obj1
= 0 ;
26583 char *kwnames
[] = {
26584 (char *) "self",(char *) "item", NULL
26587 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemParent",kwnames
,&obj0
,&obj1
)) goto fail
;
26588 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26589 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26590 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26591 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26593 if (arg2
== NULL
) {
26594 PyErr_SetString(PyExc_TypeError
,"null reference");
26598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26599 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemParent((wxTreeItemId
const &)*arg2
);
26601 wxPyEndAllowThreads(__tstate
);
26602 if (PyErr_Occurred()) SWIG_fail
;
26605 wxTreeItemId
* resultptr
;
26606 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
26607 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
26615 static PyObject
*_wrap_TreeCtrl_GetFirstChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26616 PyObject
*resultobj
;
26617 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26618 wxTreeItemId
*arg2
= 0 ;
26620 PyObject
* obj0
= 0 ;
26621 PyObject
* obj1
= 0 ;
26622 char *kwnames
[] = {
26623 (char *) "self",(char *) "item", NULL
26626 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetFirstChild",kwnames
,&obj0
,&obj1
)) goto fail
;
26627 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26628 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26629 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26630 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26632 if (arg2
== NULL
) {
26633 PyErr_SetString(PyExc_TypeError
,"null reference");
26637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26638 result
= (PyObject
*)wxPyTreeCtrl_GetFirstChild(arg1
,(wxTreeItemId
const &)*arg2
);
26640 wxPyEndAllowThreads(__tstate
);
26641 if (PyErr_Occurred()) SWIG_fail
;
26643 resultobj
= result
;
26650 static PyObject
*_wrap_TreeCtrl_GetNextChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26651 PyObject
*resultobj
;
26652 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26653 wxTreeItemId
*arg2
= 0 ;
26654 void *arg3
= (void *) 0 ;
26656 PyObject
* obj0
= 0 ;
26657 PyObject
* obj1
= 0 ;
26658 PyObject
* obj2
= 0 ;
26659 char *kwnames
[] = {
26660 (char *) "self",(char *) "item",(char *) "cookie", NULL
26663 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_GetNextChild",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26664 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26665 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26666 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26667 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26669 if (arg2
== NULL
) {
26670 PyErr_SetString(PyExc_TypeError
,"null reference");
26673 if ((SWIG_ConvertPtr(obj2
,&arg3
,0,SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26676 result
= (PyObject
*)wxPyTreeCtrl_GetNextChild(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
26678 wxPyEndAllowThreads(__tstate
);
26679 if (PyErr_Occurred()) SWIG_fail
;
26681 resultobj
= result
;
26688 static PyObject
*_wrap_TreeCtrl_GetLastChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26689 PyObject
*resultobj
;
26690 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26691 wxTreeItemId
*arg2
= 0 ;
26692 wxTreeItemId result
;
26693 PyObject
* obj0
= 0 ;
26694 PyObject
* obj1
= 0 ;
26695 char *kwnames
[] = {
26696 (char *) "self",(char *) "item", NULL
26699 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetLastChild",kwnames
,&obj0
,&obj1
)) goto fail
;
26700 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26701 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26702 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26703 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26705 if (arg2
== NULL
) {
26706 PyErr_SetString(PyExc_TypeError
,"null reference");
26710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26711 result
= ((wxPyTreeCtrl
const *)arg1
)->GetLastChild((wxTreeItemId
const &)*arg2
);
26713 wxPyEndAllowThreads(__tstate
);
26714 if (PyErr_Occurred()) SWIG_fail
;
26717 wxTreeItemId
* resultptr
;
26718 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
26719 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
26727 static PyObject
*_wrap_TreeCtrl_GetNextSibling(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26728 PyObject
*resultobj
;
26729 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26730 wxTreeItemId
*arg2
= 0 ;
26731 wxTreeItemId result
;
26732 PyObject
* obj0
= 0 ;
26733 PyObject
* obj1
= 0 ;
26734 char *kwnames
[] = {
26735 (char *) "self",(char *) "item", NULL
26738 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetNextSibling",kwnames
,&obj0
,&obj1
)) goto fail
;
26739 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26740 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26741 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26742 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26744 if (arg2
== NULL
) {
26745 PyErr_SetString(PyExc_TypeError
,"null reference");
26749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26750 result
= ((wxPyTreeCtrl
const *)arg1
)->GetNextSibling((wxTreeItemId
const &)*arg2
);
26752 wxPyEndAllowThreads(__tstate
);
26753 if (PyErr_Occurred()) SWIG_fail
;
26756 wxTreeItemId
* resultptr
;
26757 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
26758 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
26766 static PyObject
*_wrap_TreeCtrl_GetPrevSibling(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26767 PyObject
*resultobj
;
26768 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26769 wxTreeItemId
*arg2
= 0 ;
26770 wxTreeItemId result
;
26771 PyObject
* obj0
= 0 ;
26772 PyObject
* obj1
= 0 ;
26773 char *kwnames
[] = {
26774 (char *) "self",(char *) "item", NULL
26777 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetPrevSibling",kwnames
,&obj0
,&obj1
)) goto fail
;
26778 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26779 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26780 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26781 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26783 if (arg2
== NULL
) {
26784 PyErr_SetString(PyExc_TypeError
,"null reference");
26788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26789 result
= ((wxPyTreeCtrl
const *)arg1
)->GetPrevSibling((wxTreeItemId
const &)*arg2
);
26791 wxPyEndAllowThreads(__tstate
);
26792 if (PyErr_Occurred()) SWIG_fail
;
26795 wxTreeItemId
* resultptr
;
26796 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
26797 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
26805 static PyObject
*_wrap_TreeCtrl_GetFirstVisibleItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26806 PyObject
*resultobj
;
26807 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26808 wxTreeItemId result
;
26809 PyObject
* obj0
= 0 ;
26810 char *kwnames
[] = {
26811 (char *) "self", NULL
26814 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetFirstVisibleItem",kwnames
,&obj0
)) goto fail
;
26815 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26816 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26819 result
= ((wxPyTreeCtrl
const *)arg1
)->GetFirstVisibleItem();
26821 wxPyEndAllowThreads(__tstate
);
26822 if (PyErr_Occurred()) SWIG_fail
;
26825 wxTreeItemId
* resultptr
;
26826 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
26827 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
26835 static PyObject
*_wrap_TreeCtrl_GetNextVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26836 PyObject
*resultobj
;
26837 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26838 wxTreeItemId
*arg2
= 0 ;
26839 wxTreeItemId result
;
26840 PyObject
* obj0
= 0 ;
26841 PyObject
* obj1
= 0 ;
26842 char *kwnames
[] = {
26843 (char *) "self",(char *) "item", NULL
26846 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetNextVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
26847 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26848 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26849 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26850 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26852 if (arg2
== NULL
) {
26853 PyErr_SetString(PyExc_TypeError
,"null reference");
26857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26858 result
= ((wxPyTreeCtrl
const *)arg1
)->GetNextVisible((wxTreeItemId
const &)*arg2
);
26860 wxPyEndAllowThreads(__tstate
);
26861 if (PyErr_Occurred()) SWIG_fail
;
26864 wxTreeItemId
* resultptr
;
26865 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
26866 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
26874 static PyObject
*_wrap_TreeCtrl_GetPrevVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26875 PyObject
*resultobj
;
26876 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26877 wxTreeItemId
*arg2
= 0 ;
26878 wxTreeItemId result
;
26879 PyObject
* obj0
= 0 ;
26880 PyObject
* obj1
= 0 ;
26881 char *kwnames
[] = {
26882 (char *) "self",(char *) "item", NULL
26885 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetPrevVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
26886 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26887 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26888 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26889 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26891 if (arg2
== NULL
) {
26892 PyErr_SetString(PyExc_TypeError
,"null reference");
26896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26897 result
= ((wxPyTreeCtrl
const *)arg1
)->GetPrevVisible((wxTreeItemId
const &)*arg2
);
26899 wxPyEndAllowThreads(__tstate
);
26900 if (PyErr_Occurred()) SWIG_fail
;
26903 wxTreeItemId
* resultptr
;
26904 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
26905 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
26913 static PyObject
*_wrap_TreeCtrl_AddRoot(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26914 PyObject
*resultobj
;
26915 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26916 wxString
*arg2
= 0 ;
26917 int arg3
= (int) -1 ;
26918 int arg4
= (int) -1 ;
26919 wxPyTreeItemData
*arg5
= (wxPyTreeItemData
*) NULL
;
26920 wxTreeItemId result
;
26921 bool temp2
= False
;
26922 PyObject
* obj0
= 0 ;
26923 PyObject
* obj1
= 0 ;
26924 PyObject
* obj2
= 0 ;
26925 PyObject
* obj3
= 0 ;
26926 PyObject
* obj4
= 0 ;
26927 char *kwnames
[] = {
26928 (char *) "self",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
26931 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:TreeCtrl_AddRoot",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
26932 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26933 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26935 arg2
= wxString_in_helper(obj1
);
26936 if (arg2
== NULL
) SWIG_fail
;
26940 arg3
= (int) SWIG_AsInt(obj2
);
26941 if (PyErr_Occurred()) SWIG_fail
;
26944 arg4
= (int) SWIG_AsInt(obj3
);
26945 if (PyErr_Occurred()) SWIG_fail
;
26948 if ((SWIG_ConvertPtr(obj4
,(void **)(&arg5
),SWIGTYPE_p_wxPyTreeItemData
,
26949 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26953 result
= (arg1
)->AddRoot((wxString
const &)*arg2
,arg3
,arg4
,arg5
);
26955 wxPyEndAllowThreads(__tstate
);
26956 if (PyErr_Occurred()) SWIG_fail
;
26959 wxTreeItemId
* resultptr
;
26960 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
26961 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
26977 static PyObject
*_wrap_TreeCtrl_PrependItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26978 PyObject
*resultobj
;
26979 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26980 wxTreeItemId
*arg2
= 0 ;
26981 wxString
*arg3
= 0 ;
26982 int arg4
= (int) -1 ;
26983 int arg5
= (int) -1 ;
26984 wxPyTreeItemData
*arg6
= (wxPyTreeItemData
*) NULL
;
26985 wxTreeItemId result
;
26986 bool temp3
= False
;
26987 PyObject
* obj0
= 0 ;
26988 PyObject
* obj1
= 0 ;
26989 PyObject
* obj2
= 0 ;
26990 PyObject
* obj3
= 0 ;
26991 PyObject
* obj4
= 0 ;
26992 PyObject
* obj5
= 0 ;
26993 char *kwnames
[] = {
26994 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
26997 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:TreeCtrl_PrependItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
26998 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26999 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27000 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27001 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27003 if (arg2
== NULL
) {
27004 PyErr_SetString(PyExc_TypeError
,"null reference");
27008 arg3
= wxString_in_helper(obj2
);
27009 if (arg3
== NULL
) SWIG_fail
;
27013 arg4
= (int) SWIG_AsInt(obj3
);
27014 if (PyErr_Occurred()) SWIG_fail
;
27017 arg5
= (int) SWIG_AsInt(obj4
);
27018 if (PyErr_Occurred()) SWIG_fail
;
27021 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxPyTreeItemData
,
27022 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27026 result
= (arg1
)->PrependItem((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
);
27028 wxPyEndAllowThreads(__tstate
);
27029 if (PyErr_Occurred()) SWIG_fail
;
27032 wxTreeItemId
* resultptr
;
27033 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
27034 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
27050 static PyObject
*_wrap_TreeCtrl_InsertItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27051 PyObject
*resultobj
;
27052 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27053 wxTreeItemId
*arg2
= 0 ;
27054 wxTreeItemId
*arg3
= 0 ;
27055 wxString
*arg4
= 0 ;
27056 int arg5
= (int) -1 ;
27057 int arg6
= (int) -1 ;
27058 wxPyTreeItemData
*arg7
= (wxPyTreeItemData
*) NULL
;
27059 wxTreeItemId result
;
27060 bool temp4
= False
;
27061 PyObject
* obj0
= 0 ;
27062 PyObject
* obj1
= 0 ;
27063 PyObject
* obj2
= 0 ;
27064 PyObject
* obj3
= 0 ;
27065 PyObject
* obj4
= 0 ;
27066 PyObject
* obj5
= 0 ;
27067 PyObject
* obj6
= 0 ;
27068 char *kwnames
[] = {
27069 (char *) "self",(char *) "parent",(char *) "idPrevious",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
27072 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:TreeCtrl_InsertItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
27073 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27074 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27075 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27076 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27078 if (arg2
== NULL
) {
27079 PyErr_SetString(PyExc_TypeError
,"null reference");
27082 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxTreeItemId
,
27083 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27085 if (arg3
== NULL
) {
27086 PyErr_SetString(PyExc_TypeError
,"null reference");
27090 arg4
= wxString_in_helper(obj3
);
27091 if (arg4
== NULL
) SWIG_fail
;
27095 arg5
= (int) SWIG_AsInt(obj4
);
27096 if (PyErr_Occurred()) SWIG_fail
;
27099 arg6
= (int) SWIG_AsInt(obj5
);
27100 if (PyErr_Occurred()) SWIG_fail
;
27103 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxPyTreeItemData
,
27104 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27108 result
= (arg1
)->InsertItem((wxTreeItemId
const &)*arg2
,(wxTreeItemId
const &)*arg3
,(wxString
const &)*arg4
,arg5
,arg6
,arg7
);
27110 wxPyEndAllowThreads(__tstate
);
27111 if (PyErr_Occurred()) SWIG_fail
;
27114 wxTreeItemId
* resultptr
;
27115 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
27116 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
27132 static PyObject
*_wrap_TreeCtrl_InsertItemBefore(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27133 PyObject
*resultobj
;
27134 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27135 wxTreeItemId
*arg2
= 0 ;
27137 wxString
*arg4
= 0 ;
27138 int arg5
= (int) -1 ;
27139 int arg6
= (int) -1 ;
27140 wxPyTreeItemData
*arg7
= (wxPyTreeItemData
*) NULL
;
27141 wxTreeItemId result
;
27142 bool temp4
= False
;
27143 PyObject
* obj0
= 0 ;
27144 PyObject
* obj1
= 0 ;
27145 PyObject
* obj2
= 0 ;
27146 PyObject
* obj3
= 0 ;
27147 PyObject
* obj4
= 0 ;
27148 PyObject
* obj5
= 0 ;
27149 PyObject
* obj6
= 0 ;
27150 char *kwnames
[] = {
27151 (char *) "self",(char *) "parent",(char *) "index",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
27154 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:TreeCtrl_InsertItemBefore",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
27155 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27156 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27157 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27158 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27160 if (arg2
== NULL
) {
27161 PyErr_SetString(PyExc_TypeError
,"null reference");
27164 arg3
= (size_t) SWIG_AsUnsignedLong(obj2
);
27165 if (PyErr_Occurred()) SWIG_fail
;
27167 arg4
= wxString_in_helper(obj3
);
27168 if (arg4
== NULL
) SWIG_fail
;
27172 arg5
= (int) SWIG_AsInt(obj4
);
27173 if (PyErr_Occurred()) SWIG_fail
;
27176 arg6
= (int) SWIG_AsInt(obj5
);
27177 if (PyErr_Occurred()) SWIG_fail
;
27180 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxPyTreeItemData
,
27181 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27185 result
= (arg1
)->InsertItem((wxTreeItemId
const &)*arg2
,arg3
,(wxString
const &)*arg4
,arg5
,arg6
,arg7
);
27187 wxPyEndAllowThreads(__tstate
);
27188 if (PyErr_Occurred()) SWIG_fail
;
27191 wxTreeItemId
* resultptr
;
27192 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
27193 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
27209 static PyObject
*_wrap_TreeCtrl_AppendItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27210 PyObject
*resultobj
;
27211 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27212 wxTreeItemId
*arg2
= 0 ;
27213 wxString
*arg3
= 0 ;
27214 int arg4
= (int) -1 ;
27215 int arg5
= (int) -1 ;
27216 wxPyTreeItemData
*arg6
= (wxPyTreeItemData
*) NULL
;
27217 wxTreeItemId result
;
27218 bool temp3
= False
;
27219 PyObject
* obj0
= 0 ;
27220 PyObject
* obj1
= 0 ;
27221 PyObject
* obj2
= 0 ;
27222 PyObject
* obj3
= 0 ;
27223 PyObject
* obj4
= 0 ;
27224 PyObject
* obj5
= 0 ;
27225 char *kwnames
[] = {
27226 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
27229 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:TreeCtrl_AppendItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
27230 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27231 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27232 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27233 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27235 if (arg2
== NULL
) {
27236 PyErr_SetString(PyExc_TypeError
,"null reference");
27240 arg3
= wxString_in_helper(obj2
);
27241 if (arg3
== NULL
) SWIG_fail
;
27245 arg4
= (int) SWIG_AsInt(obj3
);
27246 if (PyErr_Occurred()) SWIG_fail
;
27249 arg5
= (int) SWIG_AsInt(obj4
);
27250 if (PyErr_Occurred()) SWIG_fail
;
27253 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxPyTreeItemData
,
27254 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27258 result
= (arg1
)->AppendItem((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
);
27260 wxPyEndAllowThreads(__tstate
);
27261 if (PyErr_Occurred()) SWIG_fail
;
27264 wxTreeItemId
* resultptr
;
27265 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
27266 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
27282 static PyObject
*_wrap_TreeCtrl_Delete(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27283 PyObject
*resultobj
;
27284 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27285 wxTreeItemId
*arg2
= 0 ;
27286 PyObject
* obj0
= 0 ;
27287 PyObject
* obj1
= 0 ;
27288 char *kwnames
[] = {
27289 (char *) "self",(char *) "item", NULL
27292 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Delete",kwnames
,&obj0
,&obj1
)) goto fail
;
27293 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27294 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27295 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27296 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27298 if (arg2
== NULL
) {
27299 PyErr_SetString(PyExc_TypeError
,"null reference");
27303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27304 (arg1
)->Delete((wxTreeItemId
const &)*arg2
);
27306 wxPyEndAllowThreads(__tstate
);
27307 if (PyErr_Occurred()) SWIG_fail
;
27309 Py_INCREF(Py_None
); resultobj
= Py_None
;
27316 static PyObject
*_wrap_TreeCtrl_DeleteChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27317 PyObject
*resultobj
;
27318 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27319 wxTreeItemId
*arg2
= 0 ;
27320 PyObject
* obj0
= 0 ;
27321 PyObject
* obj1
= 0 ;
27322 char *kwnames
[] = {
27323 (char *) "self",(char *) "item", NULL
27326 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_DeleteChildren",kwnames
,&obj0
,&obj1
)) goto fail
;
27327 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27328 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27329 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27330 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27332 if (arg2
== NULL
) {
27333 PyErr_SetString(PyExc_TypeError
,"null reference");
27337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27338 (arg1
)->DeleteChildren((wxTreeItemId
const &)*arg2
);
27340 wxPyEndAllowThreads(__tstate
);
27341 if (PyErr_Occurred()) SWIG_fail
;
27343 Py_INCREF(Py_None
); resultobj
= Py_None
;
27350 static PyObject
*_wrap_TreeCtrl_DeleteAllItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27351 PyObject
*resultobj
;
27352 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27353 PyObject
* obj0
= 0 ;
27354 char *kwnames
[] = {
27355 (char *) "self", NULL
27358 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_DeleteAllItems",kwnames
,&obj0
)) goto fail
;
27359 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27360 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27363 (arg1
)->DeleteAllItems();
27365 wxPyEndAllowThreads(__tstate
);
27366 if (PyErr_Occurred()) SWIG_fail
;
27368 Py_INCREF(Py_None
); resultobj
= Py_None
;
27375 static PyObject
*_wrap_TreeCtrl_Expand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27376 PyObject
*resultobj
;
27377 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27378 wxTreeItemId
*arg2
= 0 ;
27379 PyObject
* obj0
= 0 ;
27380 PyObject
* obj1
= 0 ;
27381 char *kwnames
[] = {
27382 (char *) "self",(char *) "item", NULL
27385 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Expand",kwnames
,&obj0
,&obj1
)) goto fail
;
27386 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27387 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27388 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27389 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27391 if (arg2
== NULL
) {
27392 PyErr_SetString(PyExc_TypeError
,"null reference");
27396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27397 (arg1
)->Expand((wxTreeItemId
const &)*arg2
);
27399 wxPyEndAllowThreads(__tstate
);
27400 if (PyErr_Occurred()) SWIG_fail
;
27402 Py_INCREF(Py_None
); resultobj
= Py_None
;
27409 static PyObject
*_wrap_TreeCtrl_Collapse(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27410 PyObject
*resultobj
;
27411 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27412 wxTreeItemId
*arg2
= 0 ;
27413 PyObject
* obj0
= 0 ;
27414 PyObject
* obj1
= 0 ;
27415 char *kwnames
[] = {
27416 (char *) "self",(char *) "item", NULL
27419 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Collapse",kwnames
,&obj0
,&obj1
)) goto fail
;
27420 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27421 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27422 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27423 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27425 if (arg2
== NULL
) {
27426 PyErr_SetString(PyExc_TypeError
,"null reference");
27430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27431 (arg1
)->Collapse((wxTreeItemId
const &)*arg2
);
27433 wxPyEndAllowThreads(__tstate
);
27434 if (PyErr_Occurred()) SWIG_fail
;
27436 Py_INCREF(Py_None
); resultobj
= Py_None
;
27443 static PyObject
*_wrap_TreeCtrl_CollapseAndReset(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27444 PyObject
*resultobj
;
27445 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27446 wxTreeItemId
*arg2
= 0 ;
27447 PyObject
* obj0
= 0 ;
27448 PyObject
* obj1
= 0 ;
27449 char *kwnames
[] = {
27450 (char *) "self",(char *) "item", NULL
27453 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_CollapseAndReset",kwnames
,&obj0
,&obj1
)) goto fail
;
27454 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27455 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27456 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27457 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27459 if (arg2
== NULL
) {
27460 PyErr_SetString(PyExc_TypeError
,"null reference");
27464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27465 (arg1
)->CollapseAndReset((wxTreeItemId
const &)*arg2
);
27467 wxPyEndAllowThreads(__tstate
);
27468 if (PyErr_Occurred()) SWIG_fail
;
27470 Py_INCREF(Py_None
); resultobj
= Py_None
;
27477 static PyObject
*_wrap_TreeCtrl_Toggle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27478 PyObject
*resultobj
;
27479 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27480 wxTreeItemId
*arg2
= 0 ;
27481 PyObject
* obj0
= 0 ;
27482 PyObject
* obj1
= 0 ;
27483 char *kwnames
[] = {
27484 (char *) "self",(char *) "item", NULL
27487 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Toggle",kwnames
,&obj0
,&obj1
)) goto fail
;
27488 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27489 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27490 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27491 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27493 if (arg2
== NULL
) {
27494 PyErr_SetString(PyExc_TypeError
,"null reference");
27498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27499 (arg1
)->Toggle((wxTreeItemId
const &)*arg2
);
27501 wxPyEndAllowThreads(__tstate
);
27502 if (PyErr_Occurred()) SWIG_fail
;
27504 Py_INCREF(Py_None
); resultobj
= Py_None
;
27511 static PyObject
*_wrap_TreeCtrl_Unselect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27512 PyObject
*resultobj
;
27513 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27514 PyObject
* obj0
= 0 ;
27515 char *kwnames
[] = {
27516 (char *) "self", NULL
27519 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_Unselect",kwnames
,&obj0
)) goto fail
;
27520 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27521 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27524 (arg1
)->Unselect();
27526 wxPyEndAllowThreads(__tstate
);
27527 if (PyErr_Occurred()) SWIG_fail
;
27529 Py_INCREF(Py_None
); resultobj
= Py_None
;
27536 static PyObject
*_wrap_TreeCtrl_UnselectItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27537 PyObject
*resultobj
;
27538 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27539 wxTreeItemId
*arg2
= 0 ;
27540 PyObject
* obj0
= 0 ;
27541 PyObject
* obj1
= 0 ;
27542 char *kwnames
[] = {
27543 (char *) "self",(char *) "item", NULL
27546 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_UnselectItem",kwnames
,&obj0
,&obj1
)) goto fail
;
27547 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27548 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27549 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27550 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27552 if (arg2
== NULL
) {
27553 PyErr_SetString(PyExc_TypeError
,"null reference");
27557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27558 (arg1
)->UnselectItem((wxTreeItemId
const &)*arg2
);
27560 wxPyEndAllowThreads(__tstate
);
27561 if (PyErr_Occurred()) SWIG_fail
;
27563 Py_INCREF(Py_None
); resultobj
= Py_None
;
27570 static PyObject
*_wrap_TreeCtrl_UnselectAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27571 PyObject
*resultobj
;
27572 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27573 PyObject
* obj0
= 0 ;
27574 char *kwnames
[] = {
27575 (char *) "self", NULL
27578 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_UnselectAll",kwnames
,&obj0
)) goto fail
;
27579 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27580 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27583 (arg1
)->UnselectAll();
27585 wxPyEndAllowThreads(__tstate
);
27586 if (PyErr_Occurred()) SWIG_fail
;
27588 Py_INCREF(Py_None
); resultobj
= Py_None
;
27595 static PyObject
*_wrap_TreeCtrl_SelectItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27596 PyObject
*resultobj
;
27597 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27598 wxTreeItemId
*arg2
= 0 ;
27599 bool arg3
= (bool) True
;
27600 PyObject
* obj0
= 0 ;
27601 PyObject
* obj1
= 0 ;
27602 PyObject
* obj2
= 0 ;
27603 char *kwnames
[] = {
27604 (char *) "self",(char *) "item",(char *) "select", NULL
27607 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SelectItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27608 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27609 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27610 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27611 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27613 if (arg2
== NULL
) {
27614 PyErr_SetString(PyExc_TypeError
,"null reference");
27618 arg3
= (bool) SWIG_AsBool(obj2
);
27619 if (PyErr_Occurred()) SWIG_fail
;
27622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27623 (arg1
)->SelectItem((wxTreeItemId
const &)*arg2
,arg3
);
27625 wxPyEndAllowThreads(__tstate
);
27626 if (PyErr_Occurred()) SWIG_fail
;
27628 Py_INCREF(Py_None
); resultobj
= Py_None
;
27635 static PyObject
*_wrap_TreeCtrl_ToggleItemSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27636 PyObject
*resultobj
;
27637 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27638 wxTreeItemId
*arg2
= 0 ;
27639 PyObject
* obj0
= 0 ;
27640 PyObject
* obj1
= 0 ;
27641 char *kwnames
[] = {
27642 (char *) "self",(char *) "item", NULL
27645 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ToggleItemSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
27646 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27647 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27648 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27649 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27651 if (arg2
== NULL
) {
27652 PyErr_SetString(PyExc_TypeError
,"null reference");
27656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27657 (arg1
)->ToggleItemSelection((wxTreeItemId
const &)*arg2
);
27659 wxPyEndAllowThreads(__tstate
);
27660 if (PyErr_Occurred()) SWIG_fail
;
27662 Py_INCREF(Py_None
); resultobj
= Py_None
;
27669 static PyObject
*_wrap_TreeCtrl_EnsureVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27670 PyObject
*resultobj
;
27671 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27672 wxTreeItemId
*arg2
= 0 ;
27673 PyObject
* obj0
= 0 ;
27674 PyObject
* obj1
= 0 ;
27675 char *kwnames
[] = {
27676 (char *) "self",(char *) "item", NULL
27679 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_EnsureVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
27680 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27681 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27682 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27683 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27685 if (arg2
== NULL
) {
27686 PyErr_SetString(PyExc_TypeError
,"null reference");
27690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27691 (arg1
)->EnsureVisible((wxTreeItemId
const &)*arg2
);
27693 wxPyEndAllowThreads(__tstate
);
27694 if (PyErr_Occurred()) SWIG_fail
;
27696 Py_INCREF(Py_None
); resultobj
= Py_None
;
27703 static PyObject
*_wrap_TreeCtrl_ScrollTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27704 PyObject
*resultobj
;
27705 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27706 wxTreeItemId
*arg2
= 0 ;
27707 PyObject
* obj0
= 0 ;
27708 PyObject
* obj1
= 0 ;
27709 char *kwnames
[] = {
27710 (char *) "self",(char *) "item", NULL
27713 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ScrollTo",kwnames
,&obj0
,&obj1
)) goto fail
;
27714 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27715 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27716 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27717 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27719 if (arg2
== NULL
) {
27720 PyErr_SetString(PyExc_TypeError
,"null reference");
27724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27725 (arg1
)->ScrollTo((wxTreeItemId
const &)*arg2
);
27727 wxPyEndAllowThreads(__tstate
);
27728 if (PyErr_Occurred()) SWIG_fail
;
27730 Py_INCREF(Py_None
); resultobj
= Py_None
;
27737 static PyObject
*_wrap_TreeCtrl_EditLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27738 PyObject
*resultobj
;
27739 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27740 wxTreeItemId
*arg2
= 0 ;
27741 PyObject
* obj0
= 0 ;
27742 PyObject
* obj1
= 0 ;
27743 char *kwnames
[] = {
27744 (char *) "self",(char *) "item", NULL
27747 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_EditLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
27748 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27749 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27750 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27751 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27753 if (arg2
== NULL
) {
27754 PyErr_SetString(PyExc_TypeError
,"null reference");
27758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27759 (arg1
)->EditLabel((wxTreeItemId
const &)*arg2
);
27761 wxPyEndAllowThreads(__tstate
);
27762 if (PyErr_Occurred()) SWIG_fail
;
27764 Py_INCREF(Py_None
); resultobj
= Py_None
;
27771 static PyObject
*_wrap_TreeCtrl_GetEditControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27772 PyObject
*resultobj
;
27773 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27774 wxTextCtrl
*result
;
27775 PyObject
* obj0
= 0 ;
27776 char *kwnames
[] = {
27777 (char *) "self", NULL
27780 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetEditControl",kwnames
,&obj0
)) goto fail
;
27781 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27782 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27785 result
= (wxTextCtrl
*)((wxPyTreeCtrl
const *)arg1
)->GetEditControl();
27787 wxPyEndAllowThreads(__tstate
);
27788 if (PyErr_Occurred()) SWIG_fail
;
27791 resultobj
= wxPyMake_wxObject(result
, 0);
27799 static PyObject
*_wrap_TreeCtrl_EndEditLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27800 PyObject
*resultobj
;
27801 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27802 wxTreeItemId
*arg2
= 0 ;
27803 bool arg3
= (bool) False
;
27804 PyObject
* obj0
= 0 ;
27805 PyObject
* obj1
= 0 ;
27806 PyObject
* obj2
= 0 ;
27807 char *kwnames
[] = {
27808 (char *) "self",(char *) "item",(char *) "discardChanges", NULL
27811 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_EndEditLabel",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27812 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27813 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27814 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27815 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27817 if (arg2
== NULL
) {
27818 PyErr_SetString(PyExc_TypeError
,"null reference");
27822 arg3
= (bool) SWIG_AsBool(obj2
);
27823 if (PyErr_Occurred()) SWIG_fail
;
27826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27827 (arg1
)->EndEditLabel((wxTreeItemId
const &)*arg2
,arg3
);
27829 wxPyEndAllowThreads(__tstate
);
27830 if (PyErr_Occurred()) SWIG_fail
;
27832 Py_INCREF(Py_None
); resultobj
= Py_None
;
27839 static PyObject
*_wrap_TreeCtrl_SortChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27840 PyObject
*resultobj
;
27841 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27842 wxTreeItemId
*arg2
= 0 ;
27843 PyObject
* obj0
= 0 ;
27844 PyObject
* obj1
= 0 ;
27845 char *kwnames
[] = {
27846 (char *) "self",(char *) "item", NULL
27849 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SortChildren",kwnames
,&obj0
,&obj1
)) goto fail
;
27850 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27851 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27852 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27853 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27855 if (arg2
== NULL
) {
27856 PyErr_SetString(PyExc_TypeError
,"null reference");
27860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27861 (arg1
)->SortChildren((wxTreeItemId
const &)*arg2
);
27863 wxPyEndAllowThreads(__tstate
);
27864 if (PyErr_Occurred()) SWIG_fail
;
27866 Py_INCREF(Py_None
); resultobj
= Py_None
;
27873 static PyObject
*_wrap_TreeCtrl_HitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27874 PyObject
*resultobj
;
27875 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27876 wxPoint
*arg2
= 0 ;
27878 wxTreeItemId result
;
27881 PyObject
* obj0
= 0 ;
27882 PyObject
* obj1
= 0 ;
27883 char *kwnames
[] = {
27884 (char *) "self",(char *) "point", NULL
27888 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
27889 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27890 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27893 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
27896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27897 result
= (arg1
)->HitTest((wxPoint
const &)*arg2
,*arg3
);
27899 wxPyEndAllowThreads(__tstate
);
27900 if (PyErr_Occurred()) SWIG_fail
;
27903 wxTreeItemId
* resultptr
;
27904 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
27905 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
27908 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
27909 resultobj
= t_output_helper(resultobj
,o
);
27917 static PyObject
*_wrap_TreeCtrl_GetBoundingRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27918 PyObject
*resultobj
;
27919 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27920 wxTreeItemId
*arg2
= 0 ;
27921 bool arg3
= (bool) False
;
27923 PyObject
* obj0
= 0 ;
27924 PyObject
* obj1
= 0 ;
27925 PyObject
* obj2
= 0 ;
27926 char *kwnames
[] = {
27927 (char *) "self",(char *) "item",(char *) "textOnly", NULL
27930 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_GetBoundingRect",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27931 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27932 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27933 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27934 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27936 if (arg2
== NULL
) {
27937 PyErr_SetString(PyExc_TypeError
,"null reference");
27941 arg3
= (bool) SWIG_AsBool(obj2
);
27942 if (PyErr_Occurred()) SWIG_fail
;
27945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27946 result
= (PyObject
*)wxPyTreeCtrl_GetBoundingRect(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
27948 wxPyEndAllowThreads(__tstate
);
27949 if (PyErr_Occurred()) SWIG_fail
;
27951 resultobj
= result
;
27958 static PyObject
*_wrap_TreeCtrl_SetState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27959 PyObject
*resultobj
;
27960 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27961 wxTreeItemId
*arg2
= 0 ;
27963 PyObject
* obj0
= 0 ;
27964 PyObject
* obj1
= 0 ;
27965 PyObject
* obj2
= 0 ;
27966 char *kwnames
[] = {
27967 (char *) "self",(char *) "node",(char *) "state", NULL
27970 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetState",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27971 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27972 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27973 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27974 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27976 if (arg2
== NULL
) {
27977 PyErr_SetString(PyExc_TypeError
,"null reference");
27980 arg3
= (int) SWIG_AsInt(obj2
);
27981 if (PyErr_Occurred()) SWIG_fail
;
27983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27984 (arg1
)->SetState((wxTreeItemId
const &)*arg2
,arg3
);
27986 wxPyEndAllowThreads(__tstate
);
27987 if (PyErr_Occurred()) SWIG_fail
;
27989 Py_INCREF(Py_None
); resultobj
= Py_None
;
27996 static PyObject
*_wrap_TreeCtrl_GetState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27997 PyObject
*resultobj
;
27998 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27999 wxTreeItemId
*arg2
= 0 ;
28001 PyObject
* obj0
= 0 ;
28002 PyObject
* obj1
= 0 ;
28003 char *kwnames
[] = {
28004 (char *) "self",(char *) "node", NULL
28007 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetState",kwnames
,&obj0
,&obj1
)) goto fail
;
28008 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
28009 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28010 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
28011 SWIG_POINTER_EXCEPTION
| 0)) == -1)
28013 if (arg2
== NULL
) {
28014 PyErr_SetString(PyExc_TypeError
,"null reference");
28018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28019 result
= (int)(arg1
)->GetState((wxTreeItemId
const &)*arg2
);
28021 wxPyEndAllowThreads(__tstate
);
28022 if (PyErr_Occurred()) SWIG_fail
;
28024 resultobj
= SWIG_FromInt((int)result
);
28031 static PyObject
*_wrap_TreeCtrl_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28032 PyObject
*resultobj
;
28033 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
28034 wxVisualAttributes result
;
28035 PyObject
* obj0
= 0 ;
28036 char *kwnames
[] = {
28037 (char *) "variant", NULL
28040 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:TreeCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
28042 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
28043 if (PyErr_Occurred()) SWIG_fail
;
28046 if (!wxPyCheckForApp()) SWIG_fail
;
28047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28048 result
= wxPyTreeCtrl::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
28050 wxPyEndAllowThreads(__tstate
);
28051 if (PyErr_Occurred()) SWIG_fail
;
28054 wxVisualAttributes
* resultptr
;
28055 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
28056 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
28064 static PyObject
* TreeCtrl_swigregister(PyObject
*self
, PyObject
*args
) {
28066 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28067 SWIG_TypeClientData(SWIGTYPE_p_wxPyTreeCtrl
, obj
);
28069 return Py_BuildValue((char *)"");
28071 static int _wrap_DirDialogDefaultFolderStr_set(PyObject
*_val
) {
28072 PyErr_SetString(PyExc_TypeError
,"Variable DirDialogDefaultFolderStr is read-only.");
28077 static PyObject
*_wrap_DirDialogDefaultFolderStr_get() {
28082 pyobj
= PyUnicode_FromWideChar((&wxPyDirDialogDefaultFolderStr
)->c_str(), (&wxPyDirDialogDefaultFolderStr
)->Len());
28084 pyobj
= PyString_FromStringAndSize((&wxPyDirDialogDefaultFolderStr
)->c_str(), (&wxPyDirDialogDefaultFolderStr
)->Len());
28091 static PyObject
*_wrap_new_GenericDirCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28092 PyObject
*resultobj
;
28093 wxWindow
*arg1
= (wxWindow
*) 0 ;
28094 int arg2
= (int) (int)-1 ;
28095 wxString
const &arg3_defvalue
= wxPyDirDialogDefaultFolderStr
;
28096 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
28097 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
28098 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
28099 wxSize
const &arg5_defvalue
= wxDefaultSize
;
28100 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
28101 long arg6
= (long) wxDIRCTRL_3D_INTERNAL
|wxSUNKEN_BORDER
;
28102 wxString
const &arg7_defvalue
= wxPyEmptyString
;
28103 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
28104 int arg8
= (int) 0 ;
28105 wxString
const &arg9_defvalue
= wxPyTreeCtrlNameStr
;
28106 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
28107 wxGenericDirCtrl
*result
;
28108 bool temp3
= False
;
28111 bool temp7
= False
;
28112 bool temp9
= False
;
28113 PyObject
* obj0
= 0 ;
28114 PyObject
* obj1
= 0 ;
28115 PyObject
* obj2
= 0 ;
28116 PyObject
* obj3
= 0 ;
28117 PyObject
* obj4
= 0 ;
28118 PyObject
* obj5
= 0 ;
28119 PyObject
* obj6
= 0 ;
28120 PyObject
* obj7
= 0 ;
28121 PyObject
* obj8
= 0 ;
28122 char *kwnames
[] = {
28123 (char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
28126 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOO:new_GenericDirCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
28127 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28128 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28130 arg2
= (int const) SWIG_AsInt(obj1
);
28131 if (PyErr_Occurred()) SWIG_fail
;
28135 arg3
= wxString_in_helper(obj2
);
28136 if (arg3
== NULL
) SWIG_fail
;
28143 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
28149 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
28153 arg6
= (long) SWIG_AsLong(obj5
);
28154 if (PyErr_Occurred()) SWIG_fail
;
28158 arg7
= wxString_in_helper(obj6
);
28159 if (arg7
== NULL
) SWIG_fail
;
28164 arg8
= (int) SWIG_AsInt(obj7
);
28165 if (PyErr_Occurred()) SWIG_fail
;
28169 arg9
= wxString_in_helper(obj8
);
28170 if (arg9
== NULL
) SWIG_fail
;
28175 if (!wxPyCheckForApp()) SWIG_fail
;
28176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28177 result
= (wxGenericDirCtrl
*)new wxGenericDirCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
,arg8
,(wxString
const &)*arg9
);
28179 wxPyEndAllowThreads(__tstate
);
28180 if (PyErr_Occurred()) SWIG_fail
;
28182 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDirCtrl
, 1);
28213 static PyObject
*_wrap_new_PreGenericDirCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28214 PyObject
*resultobj
;
28215 wxGenericDirCtrl
*result
;
28216 char *kwnames
[] = {
28220 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreGenericDirCtrl",kwnames
)) goto fail
;
28222 if (!wxPyCheckForApp()) SWIG_fail
;
28223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28224 result
= (wxGenericDirCtrl
*)new wxGenericDirCtrl();
28226 wxPyEndAllowThreads(__tstate
);
28227 if (PyErr_Occurred()) SWIG_fail
;
28229 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDirCtrl
, 1);
28236 static PyObject
*_wrap_GenericDirCtrl_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28237 PyObject
*resultobj
;
28238 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28239 wxWindow
*arg2
= (wxWindow
*) 0 ;
28240 int arg3
= (int) (int)-1 ;
28241 wxString
const &arg4_defvalue
= wxPyDirDialogDefaultFolderStr
;
28242 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
28243 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
28244 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
28245 wxSize
const &arg6_defvalue
= wxDefaultSize
;
28246 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
28247 long arg7
= (long) wxDIRCTRL_3D_INTERNAL
|wxSUNKEN_BORDER
;
28248 wxString
const &arg8_defvalue
= wxPyEmptyString
;
28249 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
28250 int arg9
= (int) 0 ;
28251 wxString
const &arg10_defvalue
= wxPyTreeCtrlNameStr
;
28252 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
28254 bool temp4
= False
;
28257 bool temp8
= False
;
28258 bool temp10
= False
;
28259 PyObject
* obj0
= 0 ;
28260 PyObject
* obj1
= 0 ;
28261 PyObject
* obj2
= 0 ;
28262 PyObject
* obj3
= 0 ;
28263 PyObject
* obj4
= 0 ;
28264 PyObject
* obj5
= 0 ;
28265 PyObject
* obj6
= 0 ;
28266 PyObject
* obj7
= 0 ;
28267 PyObject
* obj8
= 0 ;
28268 PyObject
* obj9
= 0 ;
28269 char *kwnames
[] = {
28270 (char *) "self",(char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
28273 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOO:GenericDirCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
28274 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28275 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28276 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
28277 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28279 arg3
= (int const) SWIG_AsInt(obj2
);
28280 if (PyErr_Occurred()) SWIG_fail
;
28284 arg4
= wxString_in_helper(obj3
);
28285 if (arg4
== NULL
) SWIG_fail
;
28292 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
28298 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
28302 arg7
= (long) SWIG_AsLong(obj6
);
28303 if (PyErr_Occurred()) SWIG_fail
;
28307 arg8
= wxString_in_helper(obj7
);
28308 if (arg8
== NULL
) SWIG_fail
;
28313 arg9
= (int) SWIG_AsInt(obj8
);
28314 if (PyErr_Occurred()) SWIG_fail
;
28318 arg10
= wxString_in_helper(obj9
);
28319 if (arg10
== NULL
) SWIG_fail
;
28324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28325 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
,arg9
,(wxString
const &)*arg10
);
28327 wxPyEndAllowThreads(__tstate
);
28328 if (PyErr_Occurred()) SWIG_fail
;
28331 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28363 static PyObject
*_wrap_GenericDirCtrl_ExpandPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28364 PyObject
*resultobj
;
28365 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28366 wxString
*arg2
= 0 ;
28368 bool temp2
= False
;
28369 PyObject
* obj0
= 0 ;
28370 PyObject
* obj1
= 0 ;
28371 char *kwnames
[] = {
28372 (char *) "self",(char *) "path", NULL
28375 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_ExpandPath",kwnames
,&obj0
,&obj1
)) goto fail
;
28376 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28377 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28379 arg2
= wxString_in_helper(obj1
);
28380 if (arg2
== NULL
) SWIG_fail
;
28384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28385 result
= (bool)(arg1
)->ExpandPath((wxString
const &)*arg2
);
28387 wxPyEndAllowThreads(__tstate
);
28388 if (PyErr_Occurred()) SWIG_fail
;
28391 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28407 static PyObject
*_wrap_GenericDirCtrl_GetDefaultPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28408 PyObject
*resultobj
;
28409 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28411 PyObject
* obj0
= 0 ;
28412 char *kwnames
[] = {
28413 (char *) "self", NULL
28416 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetDefaultPath",kwnames
,&obj0
)) goto fail
;
28417 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28418 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28421 result
= ((wxGenericDirCtrl
const *)arg1
)->GetDefaultPath();
28423 wxPyEndAllowThreads(__tstate
);
28424 if (PyErr_Occurred()) SWIG_fail
;
28428 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
28430 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
28439 static PyObject
*_wrap_GenericDirCtrl_SetDefaultPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28440 PyObject
*resultobj
;
28441 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28442 wxString
*arg2
= 0 ;
28443 bool temp2
= False
;
28444 PyObject
* obj0
= 0 ;
28445 PyObject
* obj1
= 0 ;
28446 char *kwnames
[] = {
28447 (char *) "self",(char *) "path", NULL
28450 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetDefaultPath",kwnames
,&obj0
,&obj1
)) goto fail
;
28451 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28452 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28454 arg2
= wxString_in_helper(obj1
);
28455 if (arg2
== NULL
) SWIG_fail
;
28459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28460 (arg1
)->SetDefaultPath((wxString
const &)*arg2
);
28462 wxPyEndAllowThreads(__tstate
);
28463 if (PyErr_Occurred()) SWIG_fail
;
28465 Py_INCREF(Py_None
); resultobj
= Py_None
;
28480 static PyObject
*_wrap_GenericDirCtrl_GetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28481 PyObject
*resultobj
;
28482 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28484 PyObject
* obj0
= 0 ;
28485 char *kwnames
[] = {
28486 (char *) "self", NULL
28489 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetPath",kwnames
,&obj0
)) goto fail
;
28490 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28491 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28494 result
= ((wxGenericDirCtrl
const *)arg1
)->GetPath();
28496 wxPyEndAllowThreads(__tstate
);
28497 if (PyErr_Occurred()) SWIG_fail
;
28501 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
28503 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
28512 static PyObject
*_wrap_GenericDirCtrl_GetFilePath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28513 PyObject
*resultobj
;
28514 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28516 PyObject
* obj0
= 0 ;
28517 char *kwnames
[] = {
28518 (char *) "self", NULL
28521 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetFilePath",kwnames
,&obj0
)) goto fail
;
28522 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28523 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28526 result
= ((wxGenericDirCtrl
const *)arg1
)->GetFilePath();
28528 wxPyEndAllowThreads(__tstate
);
28529 if (PyErr_Occurred()) SWIG_fail
;
28533 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
28535 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
28544 static PyObject
*_wrap_GenericDirCtrl_SetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28545 PyObject
*resultobj
;
28546 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28547 wxString
*arg2
= 0 ;
28548 bool temp2
= False
;
28549 PyObject
* obj0
= 0 ;
28550 PyObject
* obj1
= 0 ;
28551 char *kwnames
[] = {
28552 (char *) "self",(char *) "path", NULL
28555 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetPath",kwnames
,&obj0
,&obj1
)) goto fail
;
28556 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28557 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28559 arg2
= wxString_in_helper(obj1
);
28560 if (arg2
== NULL
) SWIG_fail
;
28564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28565 (arg1
)->SetPath((wxString
const &)*arg2
);
28567 wxPyEndAllowThreads(__tstate
);
28568 if (PyErr_Occurred()) SWIG_fail
;
28570 Py_INCREF(Py_None
); resultobj
= Py_None
;
28585 static PyObject
*_wrap_GenericDirCtrl_ShowHidden(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28586 PyObject
*resultobj
;
28587 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28589 PyObject
* obj0
= 0 ;
28590 PyObject
* obj1
= 0 ;
28591 char *kwnames
[] = {
28592 (char *) "self",(char *) "show", NULL
28595 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_ShowHidden",kwnames
,&obj0
,&obj1
)) goto fail
;
28596 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28597 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28598 arg2
= (bool) SWIG_AsBool(obj1
);
28599 if (PyErr_Occurred()) SWIG_fail
;
28601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28602 (arg1
)->ShowHidden(arg2
);
28604 wxPyEndAllowThreads(__tstate
);
28605 if (PyErr_Occurred()) SWIG_fail
;
28607 Py_INCREF(Py_None
); resultobj
= Py_None
;
28614 static PyObject
*_wrap_GenericDirCtrl_GetShowHidden(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28615 PyObject
*resultobj
;
28616 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28618 PyObject
* obj0
= 0 ;
28619 char *kwnames
[] = {
28620 (char *) "self", NULL
28623 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetShowHidden",kwnames
,&obj0
)) goto fail
;
28624 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28625 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28628 result
= (bool)(arg1
)->GetShowHidden();
28630 wxPyEndAllowThreads(__tstate
);
28631 if (PyErr_Occurred()) SWIG_fail
;
28634 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28642 static PyObject
*_wrap_GenericDirCtrl_GetFilter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28643 PyObject
*resultobj
;
28644 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28646 PyObject
* obj0
= 0 ;
28647 char *kwnames
[] = {
28648 (char *) "self", NULL
28651 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetFilter",kwnames
,&obj0
)) goto fail
;
28652 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28653 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28656 result
= ((wxGenericDirCtrl
const *)arg1
)->GetFilter();
28658 wxPyEndAllowThreads(__tstate
);
28659 if (PyErr_Occurred()) SWIG_fail
;
28663 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
28665 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
28674 static PyObject
*_wrap_GenericDirCtrl_SetFilter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28675 PyObject
*resultobj
;
28676 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28677 wxString
*arg2
= 0 ;
28678 bool temp2
= False
;
28679 PyObject
* obj0
= 0 ;
28680 PyObject
* obj1
= 0 ;
28681 char *kwnames
[] = {
28682 (char *) "self",(char *) "filter", NULL
28685 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetFilter",kwnames
,&obj0
,&obj1
)) goto fail
;
28686 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28687 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28689 arg2
= wxString_in_helper(obj1
);
28690 if (arg2
== NULL
) SWIG_fail
;
28694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28695 (arg1
)->SetFilter((wxString
const &)*arg2
);
28697 wxPyEndAllowThreads(__tstate
);
28698 if (PyErr_Occurred()) SWIG_fail
;
28700 Py_INCREF(Py_None
); resultobj
= Py_None
;
28715 static PyObject
*_wrap_GenericDirCtrl_GetFilterIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28716 PyObject
*resultobj
;
28717 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28719 PyObject
* obj0
= 0 ;
28720 char *kwnames
[] = {
28721 (char *) "self", NULL
28724 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetFilterIndex",kwnames
,&obj0
)) goto fail
;
28725 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28726 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28729 result
= (int)((wxGenericDirCtrl
const *)arg1
)->GetFilterIndex();
28731 wxPyEndAllowThreads(__tstate
);
28732 if (PyErr_Occurred()) SWIG_fail
;
28734 resultobj
= SWIG_FromInt((int)result
);
28741 static PyObject
*_wrap_GenericDirCtrl_SetFilterIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28742 PyObject
*resultobj
;
28743 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28745 PyObject
* obj0
= 0 ;
28746 PyObject
* obj1
= 0 ;
28747 char *kwnames
[] = {
28748 (char *) "self",(char *) "n", NULL
28751 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetFilterIndex",kwnames
,&obj0
,&obj1
)) goto fail
;
28752 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28753 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28754 arg2
= (int) SWIG_AsInt(obj1
);
28755 if (PyErr_Occurred()) SWIG_fail
;
28757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28758 (arg1
)->SetFilterIndex(arg2
);
28760 wxPyEndAllowThreads(__tstate
);
28761 if (PyErr_Occurred()) SWIG_fail
;
28763 Py_INCREF(Py_None
); resultobj
= Py_None
;
28770 static PyObject
*_wrap_GenericDirCtrl_GetRootId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28771 PyObject
*resultobj
;
28772 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28773 wxTreeItemId result
;
28774 PyObject
* obj0
= 0 ;
28775 char *kwnames
[] = {
28776 (char *) "self", NULL
28779 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetRootId",kwnames
,&obj0
)) goto fail
;
28780 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28781 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28784 result
= (arg1
)->GetRootId();
28786 wxPyEndAllowThreads(__tstate
);
28787 if (PyErr_Occurred()) SWIG_fail
;
28790 wxTreeItemId
* resultptr
;
28791 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
28792 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
28800 static PyObject
*_wrap_GenericDirCtrl_GetTreeCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28801 PyObject
*resultobj
;
28802 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28803 wxPyTreeCtrl
*result
;
28804 PyObject
* obj0
= 0 ;
28805 char *kwnames
[] = {
28806 (char *) "self", NULL
28809 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetTreeCtrl",kwnames
,&obj0
)) goto fail
;
28810 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28811 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28814 result
= (wxPyTreeCtrl
*)((wxGenericDirCtrl
const *)arg1
)->GetTreeCtrl();
28816 wxPyEndAllowThreads(__tstate
);
28817 if (PyErr_Occurred()) SWIG_fail
;
28820 resultobj
= wxPyMake_wxObject(result
, 0);
28828 static PyObject
*_wrap_GenericDirCtrl_GetFilterListCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28829 PyObject
*resultobj
;
28830 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28831 wxDirFilterListCtrl
*result
;
28832 PyObject
* obj0
= 0 ;
28833 char *kwnames
[] = {
28834 (char *) "self", NULL
28837 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetFilterListCtrl",kwnames
,&obj0
)) goto fail
;
28838 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28839 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28842 result
= (wxDirFilterListCtrl
*)((wxGenericDirCtrl
const *)arg1
)->GetFilterListCtrl();
28844 wxPyEndAllowThreads(__tstate
);
28845 if (PyErr_Occurred()) SWIG_fail
;
28847 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDirFilterListCtrl
, 0);
28854 static PyObject
*_wrap_GenericDirCtrl_FindChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28855 PyObject
*resultobj
;
28856 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28857 wxTreeItemId arg2
;
28858 wxString
*arg3
= 0 ;
28860 wxTreeItemId result
;
28861 wxTreeItemId
*argp2
;
28862 bool temp3
= False
;
28864 PyObject
* obj0
= 0 ;
28865 PyObject
* obj1
= 0 ;
28866 PyObject
* obj2
= 0 ;
28867 char *kwnames
[] = {
28868 (char *) "self",(char *) "parentId",(char *) "path", NULL
28872 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GenericDirCtrl_FindChild",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28873 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28874 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28875 if ((SWIG_ConvertPtr(obj1
,(void **)(&argp2
),SWIGTYPE_p_wxTreeItemId
,
28876 SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
28879 arg3
= wxString_in_helper(obj2
);
28880 if (arg3
== NULL
) SWIG_fail
;
28884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28885 result
= (arg1
)->FindChild(arg2
,(wxString
const &)*arg3
,*arg4
);
28887 wxPyEndAllowThreads(__tstate
);
28888 if (PyErr_Occurred()) SWIG_fail
;
28891 wxTreeItemId
* resultptr
;
28892 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
28893 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
28896 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
28897 resultobj
= t_output_helper(resultobj
,o
);
28913 static PyObject
*_wrap_GenericDirCtrl_DoResize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28914 PyObject
*resultobj
;
28915 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28916 PyObject
* obj0
= 0 ;
28917 char *kwnames
[] = {
28918 (char *) "self", NULL
28921 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_DoResize",kwnames
,&obj0
)) goto fail
;
28922 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28923 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28926 (arg1
)->DoResize();
28928 wxPyEndAllowThreads(__tstate
);
28929 if (PyErr_Occurred()) SWIG_fail
;
28931 Py_INCREF(Py_None
); resultobj
= Py_None
;
28938 static PyObject
*_wrap_GenericDirCtrl_ReCreateTree(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28939 PyObject
*resultobj
;
28940 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28941 PyObject
* obj0
= 0 ;
28942 char *kwnames
[] = {
28943 (char *) "self", NULL
28946 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_ReCreateTree",kwnames
,&obj0
)) goto fail
;
28947 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28948 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28951 (arg1
)->ReCreateTree();
28953 wxPyEndAllowThreads(__tstate
);
28954 if (PyErr_Occurred()) SWIG_fail
;
28956 Py_INCREF(Py_None
); resultobj
= Py_None
;
28963 static PyObject
* GenericDirCtrl_swigregister(PyObject
*self
, PyObject
*args
) {
28965 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28966 SWIG_TypeClientData(SWIGTYPE_p_wxGenericDirCtrl
, obj
);
28968 return Py_BuildValue((char *)"");
28970 static PyObject
*_wrap_new_DirFilterListCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28971 PyObject
*resultobj
;
28972 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28973 int arg2
= (int) (int)-1 ;
28974 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
28975 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
28976 wxSize
const &arg4_defvalue
= wxDefaultSize
;
28977 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
28978 long arg5
= (long) 0 ;
28979 wxDirFilterListCtrl
*result
;
28982 PyObject
* obj0
= 0 ;
28983 PyObject
* obj1
= 0 ;
28984 PyObject
* obj2
= 0 ;
28985 PyObject
* obj3
= 0 ;
28986 PyObject
* obj4
= 0 ;
28987 char *kwnames
[] = {
28988 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
28991 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:new_DirFilterListCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
28992 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28993 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28995 arg2
= (int const) SWIG_AsInt(obj1
);
28996 if (PyErr_Occurred()) SWIG_fail
;
29001 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
29007 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
29011 arg5
= (long) SWIG_AsLong(obj4
);
29012 if (PyErr_Occurred()) SWIG_fail
;
29015 if (!wxPyCheckForApp()) SWIG_fail
;
29016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29017 result
= (wxDirFilterListCtrl
*)new wxDirFilterListCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
);
29019 wxPyEndAllowThreads(__tstate
);
29020 if (PyErr_Occurred()) SWIG_fail
;
29022 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDirFilterListCtrl
, 1);
29029 static PyObject
*_wrap_new_PreDirFilterListCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29030 PyObject
*resultobj
;
29031 wxDirFilterListCtrl
*result
;
29032 char *kwnames
[] = {
29036 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreDirFilterListCtrl",kwnames
)) goto fail
;
29038 if (!wxPyCheckForApp()) SWIG_fail
;
29039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29040 result
= (wxDirFilterListCtrl
*)new wxDirFilterListCtrl();
29042 wxPyEndAllowThreads(__tstate
);
29043 if (PyErr_Occurred()) SWIG_fail
;
29045 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDirFilterListCtrl
, 1);
29052 static PyObject
*_wrap_DirFilterListCtrl_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29053 PyObject
*resultobj
;
29054 wxDirFilterListCtrl
*arg1
= (wxDirFilterListCtrl
*) 0 ;
29055 wxGenericDirCtrl
*arg2
= (wxGenericDirCtrl
*) 0 ;
29056 int arg3
= (int) (int)-1 ;
29057 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
29058 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
29059 wxSize
const &arg5_defvalue
= wxDefaultSize
;
29060 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
29061 long arg6
= (long) 0 ;
29065 PyObject
* obj0
= 0 ;
29066 PyObject
* obj1
= 0 ;
29067 PyObject
* obj2
= 0 ;
29068 PyObject
* obj3
= 0 ;
29069 PyObject
* obj4
= 0 ;
29070 PyObject
* obj5
= 0 ;
29071 char *kwnames
[] = {
29072 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
29075 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:DirFilterListCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
29076 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDirFilterListCtrl
,
29077 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29078 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxGenericDirCtrl
,
29079 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29081 arg3
= (int const) SWIG_AsInt(obj2
);
29082 if (PyErr_Occurred()) SWIG_fail
;
29087 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
29093 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
29097 arg6
= (long) SWIG_AsLong(obj5
);
29098 if (PyErr_Occurred()) SWIG_fail
;
29101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29102 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
);
29104 wxPyEndAllowThreads(__tstate
);
29105 if (PyErr_Occurred()) SWIG_fail
;
29108 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29116 static PyObject
*_wrap_DirFilterListCtrl_FillFilterList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29117 PyObject
*resultobj
;
29118 wxDirFilterListCtrl
*arg1
= (wxDirFilterListCtrl
*) 0 ;
29119 wxString
*arg2
= 0 ;
29121 bool temp2
= False
;
29122 PyObject
* obj0
= 0 ;
29123 PyObject
* obj1
= 0 ;
29124 PyObject
* obj2
= 0 ;
29125 char *kwnames
[] = {
29126 (char *) "self",(char *) "filter",(char *) "defaultFilter", NULL
29129 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DirFilterListCtrl_FillFilterList",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29130 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDirFilterListCtrl
,
29131 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29133 arg2
= wxString_in_helper(obj1
);
29134 if (arg2
== NULL
) SWIG_fail
;
29137 arg3
= (int) SWIG_AsInt(obj2
);
29138 if (PyErr_Occurred()) SWIG_fail
;
29140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29141 (arg1
)->FillFilterList((wxString
const &)*arg2
,arg3
);
29143 wxPyEndAllowThreads(__tstate
);
29144 if (PyErr_Occurred()) SWIG_fail
;
29146 Py_INCREF(Py_None
); resultobj
= Py_None
;
29161 static PyObject
* DirFilterListCtrl_swigregister(PyObject
*self
, PyObject
*args
) {
29163 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
29164 SWIG_TypeClientData(SWIGTYPE_p_wxDirFilterListCtrl
, obj
);
29166 return Py_BuildValue((char *)"");
29168 static PyObject
*_wrap_new_PyControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29169 PyObject
*resultobj
;
29170 wxWindow
*arg1
= (wxWindow
*) 0 ;
29171 int arg2
= (int) (int)-1 ;
29172 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
29173 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
29174 wxSize
const &arg4_defvalue
= wxDefaultSize
;
29175 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
29176 long arg5
= (long) 0 ;
29177 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
29178 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
29179 wxString
const &arg7_defvalue
= wxPyControlNameStr
;
29180 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
29181 wxPyControl
*result
;
29184 bool temp7
= False
;
29185 PyObject
* obj0
= 0 ;
29186 PyObject
* obj1
= 0 ;
29187 PyObject
* obj2
= 0 ;
29188 PyObject
* obj3
= 0 ;
29189 PyObject
* obj4
= 0 ;
29190 PyObject
* obj5
= 0 ;
29191 PyObject
* obj6
= 0 ;
29192 char *kwnames
[] = {
29193 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
29196 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_PyControl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
29197 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
29198 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29200 arg2
= (int const) SWIG_AsInt(obj1
);
29201 if (PyErr_Occurred()) SWIG_fail
;
29206 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
29212 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
29216 arg5
= (long) SWIG_AsLong(obj4
);
29217 if (PyErr_Occurred()) SWIG_fail
;
29220 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxValidator
,
29221 SWIG_POINTER_EXCEPTION
| 0)) == -1)
29223 if (arg6
== NULL
) {
29224 PyErr_SetString(PyExc_TypeError
,"null reference");
29230 arg7
= wxString_in_helper(obj6
);
29231 if (arg7
== NULL
) SWIG_fail
;
29236 if (!wxPyCheckForApp()) SWIG_fail
;
29237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29238 result
= (wxPyControl
*)new wxPyControl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
29240 wxPyEndAllowThreads(__tstate
);
29241 if (PyErr_Occurred()) SWIG_fail
;
29243 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyControl
, 1);
29258 static PyObject
*_wrap_new_PrePyControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29259 PyObject
*resultobj
;
29260 wxPyControl
*result
;
29261 char *kwnames
[] = {
29265 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePyControl",kwnames
)) goto fail
;
29267 if (!wxPyCheckForApp()) SWIG_fail
;
29268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29269 result
= (wxPyControl
*)new wxPyControl();
29271 wxPyEndAllowThreads(__tstate
);
29272 if (PyErr_Occurred()) SWIG_fail
;
29274 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyControl
, 1);
29281 static PyObject
*_wrap_PyControl__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29282 PyObject
*resultobj
;
29283 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29284 PyObject
*arg2
= (PyObject
*) 0 ;
29285 PyObject
*arg3
= (PyObject
*) 0 ;
29286 PyObject
* obj0
= 0 ;
29287 PyObject
* obj1
= 0 ;
29288 PyObject
* obj2
= 0 ;
29289 char *kwnames
[] = {
29290 (char *) "self",(char *) "self",(char *) "_class", NULL
29293 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29294 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29295 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29300 (arg1
)->_setCallbackInfo(arg2
,arg3
);
29302 wxPyEndAllowThreads(__tstate
);
29303 if (PyErr_Occurred()) SWIG_fail
;
29305 Py_INCREF(Py_None
); resultobj
= Py_None
;
29312 static PyObject
*_wrap_PyControl_SetBestSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29313 PyObject
*resultobj
;
29314 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29317 PyObject
* obj0
= 0 ;
29318 PyObject
* obj1
= 0 ;
29319 char *kwnames
[] = {
29320 (char *) "self",(char *) "size", NULL
29323 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControl_SetBestSize",kwnames
,&obj0
,&obj1
)) goto fail
;
29324 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29325 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29328 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
29331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29332 (arg1
)->SetBestSize((wxSize
const &)*arg2
);
29334 wxPyEndAllowThreads(__tstate
);
29335 if (PyErr_Occurred()) SWIG_fail
;
29337 Py_INCREF(Py_None
); resultobj
= Py_None
;
29344 static PyObject
*_wrap_PyControl_base_DoMoveWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29345 PyObject
*resultobj
;
29346 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29351 PyObject
* obj0
= 0 ;
29352 PyObject
* obj1
= 0 ;
29353 PyObject
* obj2
= 0 ;
29354 PyObject
* obj3
= 0 ;
29355 PyObject
* obj4
= 0 ;
29356 char *kwnames
[] = {
29357 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
29360 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyControl_base_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
29361 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29362 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29363 arg2
= (int) SWIG_AsInt(obj1
);
29364 if (PyErr_Occurred()) SWIG_fail
;
29365 arg3
= (int) SWIG_AsInt(obj2
);
29366 if (PyErr_Occurred()) SWIG_fail
;
29367 arg4
= (int) SWIG_AsInt(obj3
);
29368 if (PyErr_Occurred()) SWIG_fail
;
29369 arg5
= (int) SWIG_AsInt(obj4
);
29370 if (PyErr_Occurred()) SWIG_fail
;
29372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29373 (arg1
)->base_DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
29375 wxPyEndAllowThreads(__tstate
);
29376 if (PyErr_Occurred()) SWIG_fail
;
29378 Py_INCREF(Py_None
); resultobj
= Py_None
;
29385 static PyObject
*_wrap_PyControl_base_DoSetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29386 PyObject
*resultobj
;
29387 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29392 int arg6
= (int) wxSIZE_AUTO
;
29393 PyObject
* obj0
= 0 ;
29394 PyObject
* obj1
= 0 ;
29395 PyObject
* obj2
= 0 ;
29396 PyObject
* obj3
= 0 ;
29397 PyObject
* obj4
= 0 ;
29398 PyObject
* obj5
= 0 ;
29399 char *kwnames
[] = {
29400 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
29403 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyControl_base_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
29404 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29405 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29406 arg2
= (int) SWIG_AsInt(obj1
);
29407 if (PyErr_Occurred()) SWIG_fail
;
29408 arg3
= (int) SWIG_AsInt(obj2
);
29409 if (PyErr_Occurred()) SWIG_fail
;
29410 arg4
= (int) SWIG_AsInt(obj3
);
29411 if (PyErr_Occurred()) SWIG_fail
;
29412 arg5
= (int) SWIG_AsInt(obj4
);
29413 if (PyErr_Occurred()) SWIG_fail
;
29415 arg6
= (int) SWIG_AsInt(obj5
);
29416 if (PyErr_Occurred()) SWIG_fail
;
29419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29420 (arg1
)->base_DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
29422 wxPyEndAllowThreads(__tstate
);
29423 if (PyErr_Occurred()) SWIG_fail
;
29425 Py_INCREF(Py_None
); resultobj
= Py_None
;
29432 static PyObject
*_wrap_PyControl_base_DoSetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29433 PyObject
*resultobj
;
29434 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29437 PyObject
* obj0
= 0 ;
29438 PyObject
* obj1
= 0 ;
29439 PyObject
* obj2
= 0 ;
29440 char *kwnames
[] = {
29441 (char *) "self",(char *) "width",(char *) "height", NULL
29444 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControl_base_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29445 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29446 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29447 arg2
= (int) SWIG_AsInt(obj1
);
29448 if (PyErr_Occurred()) SWIG_fail
;
29449 arg3
= (int) SWIG_AsInt(obj2
);
29450 if (PyErr_Occurred()) SWIG_fail
;
29452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29453 (arg1
)->base_DoSetClientSize(arg2
,arg3
);
29455 wxPyEndAllowThreads(__tstate
);
29456 if (PyErr_Occurred()) SWIG_fail
;
29458 Py_INCREF(Py_None
); resultobj
= Py_None
;
29465 static PyObject
*_wrap_PyControl_base_DoSetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29466 PyObject
*resultobj
;
29467 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29470 PyObject
* obj0
= 0 ;
29471 PyObject
* obj1
= 0 ;
29472 PyObject
* obj2
= 0 ;
29473 char *kwnames
[] = {
29474 (char *) "self",(char *) "x",(char *) "y", NULL
29477 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControl_base_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29478 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29479 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29480 arg2
= (int) SWIG_AsInt(obj1
);
29481 if (PyErr_Occurred()) SWIG_fail
;
29482 arg3
= (int) SWIG_AsInt(obj2
);
29483 if (PyErr_Occurred()) SWIG_fail
;
29485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29486 (arg1
)->base_DoSetVirtualSize(arg2
,arg3
);
29488 wxPyEndAllowThreads(__tstate
);
29489 if (PyErr_Occurred()) SWIG_fail
;
29491 Py_INCREF(Py_None
); resultobj
= Py_None
;
29498 static PyObject
*_wrap_PyControl_base_DoGetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29499 PyObject
*resultobj
;
29500 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29501 int *arg2
= (int *) 0 ;
29502 int *arg3
= (int *) 0 ;
29505 PyObject
* obj0
= 0 ;
29506 char *kwnames
[] = {
29507 (char *) "self", NULL
29512 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetSize",kwnames
,&obj0
)) goto fail
;
29513 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29514 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29517 ((wxPyControl
const *)arg1
)->base_DoGetSize(arg2
,arg3
);
29519 wxPyEndAllowThreads(__tstate
);
29520 if (PyErr_Occurred()) SWIG_fail
;
29522 Py_INCREF(Py_None
); resultobj
= Py_None
;
29524 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
29525 resultobj
= t_output_helper(resultobj
,o
);
29528 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
29529 resultobj
= t_output_helper(resultobj
,o
);
29537 static PyObject
*_wrap_PyControl_base_DoGetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29538 PyObject
*resultobj
;
29539 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29540 int *arg2
= (int *) 0 ;
29541 int *arg3
= (int *) 0 ;
29544 PyObject
* obj0
= 0 ;
29545 char *kwnames
[] = {
29546 (char *) "self", NULL
29551 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetClientSize",kwnames
,&obj0
)) goto fail
;
29552 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29553 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29556 ((wxPyControl
const *)arg1
)->base_DoGetClientSize(arg2
,arg3
);
29558 wxPyEndAllowThreads(__tstate
);
29559 if (PyErr_Occurred()) SWIG_fail
;
29561 Py_INCREF(Py_None
); resultobj
= Py_None
;
29563 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
29564 resultobj
= t_output_helper(resultobj
,o
);
29567 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
29568 resultobj
= t_output_helper(resultobj
,o
);
29576 static PyObject
*_wrap_PyControl_base_DoGetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29577 PyObject
*resultobj
;
29578 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29579 int *arg2
= (int *) 0 ;
29580 int *arg3
= (int *) 0 ;
29583 PyObject
* obj0
= 0 ;
29584 char *kwnames
[] = {
29585 (char *) "self", NULL
29590 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetPosition",kwnames
,&obj0
)) goto fail
;
29591 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29592 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29595 ((wxPyControl
const *)arg1
)->base_DoGetPosition(arg2
,arg3
);
29597 wxPyEndAllowThreads(__tstate
);
29598 if (PyErr_Occurred()) SWIG_fail
;
29600 Py_INCREF(Py_None
); resultobj
= Py_None
;
29602 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
29603 resultobj
= t_output_helper(resultobj
,o
);
29606 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
29607 resultobj
= t_output_helper(resultobj
,o
);
29615 static PyObject
*_wrap_PyControl_base_DoGetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29616 PyObject
*resultobj
;
29617 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29619 PyObject
* obj0
= 0 ;
29620 char *kwnames
[] = {
29621 (char *) "self", NULL
29624 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetVirtualSize",kwnames
,&obj0
)) goto fail
;
29625 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29626 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29629 result
= ((wxPyControl
const *)arg1
)->base_DoGetVirtualSize();
29631 wxPyEndAllowThreads(__tstate
);
29632 if (PyErr_Occurred()) SWIG_fail
;
29635 wxSize
* resultptr
;
29636 resultptr
= new wxSize((wxSize
&) result
);
29637 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
29645 static PyObject
*_wrap_PyControl_base_DoGetBestSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29646 PyObject
*resultobj
;
29647 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29649 PyObject
* obj0
= 0 ;
29650 char *kwnames
[] = {
29651 (char *) "self", NULL
29654 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetBestSize",kwnames
,&obj0
)) goto fail
;
29655 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29656 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29659 result
= ((wxPyControl
const *)arg1
)->base_DoGetBestSize();
29661 wxPyEndAllowThreads(__tstate
);
29662 if (PyErr_Occurred()) SWIG_fail
;
29665 wxSize
* resultptr
;
29666 resultptr
= new wxSize((wxSize
&) result
);
29667 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
29675 static PyObject
*_wrap_PyControl_base_InitDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29676 PyObject
*resultobj
;
29677 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29678 PyObject
* obj0
= 0 ;
29679 char *kwnames
[] = {
29680 (char *) "self", NULL
29683 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_InitDialog",kwnames
,&obj0
)) goto fail
;
29684 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29685 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29688 (arg1
)->base_InitDialog();
29690 wxPyEndAllowThreads(__tstate
);
29691 if (PyErr_Occurred()) SWIG_fail
;
29693 Py_INCREF(Py_None
); resultobj
= Py_None
;
29700 static PyObject
*_wrap_PyControl_base_TransferDataToWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29701 PyObject
*resultobj
;
29702 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29704 PyObject
* obj0
= 0 ;
29705 char *kwnames
[] = {
29706 (char *) "self", NULL
29709 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_TransferDataToWindow",kwnames
,&obj0
)) goto fail
;
29710 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29711 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29714 result
= (bool)(arg1
)->base_TransferDataToWindow();
29716 wxPyEndAllowThreads(__tstate
);
29717 if (PyErr_Occurred()) SWIG_fail
;
29720 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29728 static PyObject
*_wrap_PyControl_base_TransferDataFromWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29729 PyObject
*resultobj
;
29730 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29732 PyObject
* obj0
= 0 ;
29733 char *kwnames
[] = {
29734 (char *) "self", NULL
29737 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_TransferDataFromWindow",kwnames
,&obj0
)) goto fail
;
29738 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29739 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29742 result
= (bool)(arg1
)->base_TransferDataFromWindow();
29744 wxPyEndAllowThreads(__tstate
);
29745 if (PyErr_Occurred()) SWIG_fail
;
29748 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29756 static PyObject
*_wrap_PyControl_base_Validate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29757 PyObject
*resultobj
;
29758 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29760 PyObject
* obj0
= 0 ;
29761 char *kwnames
[] = {
29762 (char *) "self", NULL
29765 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_Validate",kwnames
,&obj0
)) goto fail
;
29766 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29767 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29770 result
= (bool)(arg1
)->base_Validate();
29772 wxPyEndAllowThreads(__tstate
);
29773 if (PyErr_Occurred()) SWIG_fail
;
29776 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29784 static PyObject
*_wrap_PyControl_base_AcceptsFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29785 PyObject
*resultobj
;
29786 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29788 PyObject
* obj0
= 0 ;
29789 char *kwnames
[] = {
29790 (char *) "self", NULL
29793 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_AcceptsFocus",kwnames
,&obj0
)) goto fail
;
29794 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29795 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29797 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29798 result
= (bool)((wxPyControl
const *)arg1
)->base_AcceptsFocus();
29800 wxPyEndAllowThreads(__tstate
);
29801 if (PyErr_Occurred()) SWIG_fail
;
29804 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29812 static PyObject
*_wrap_PyControl_base_AcceptsFocusFromKeyboard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29813 PyObject
*resultobj
;
29814 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29816 PyObject
* obj0
= 0 ;
29817 char *kwnames
[] = {
29818 (char *) "self", NULL
29821 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_AcceptsFocusFromKeyboard",kwnames
,&obj0
)) goto fail
;
29822 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29823 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29826 result
= (bool)((wxPyControl
const *)arg1
)->base_AcceptsFocusFromKeyboard();
29828 wxPyEndAllowThreads(__tstate
);
29829 if (PyErr_Occurred()) SWIG_fail
;
29832 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29840 static PyObject
*_wrap_PyControl_base_GetMaxSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29841 PyObject
*resultobj
;
29842 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29844 PyObject
* obj0
= 0 ;
29845 char *kwnames
[] = {
29846 (char *) "self", NULL
29849 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_GetMaxSize",kwnames
,&obj0
)) goto fail
;
29850 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29851 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29854 result
= ((wxPyControl
const *)arg1
)->base_GetMaxSize();
29856 wxPyEndAllowThreads(__tstate
);
29857 if (PyErr_Occurred()) SWIG_fail
;
29860 wxSize
* resultptr
;
29861 resultptr
= new wxSize((wxSize
&) result
);
29862 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
29870 static PyObject
*_wrap_PyControl_base_AddChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29871 PyObject
*resultobj
;
29872 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29873 wxWindow
*arg2
= (wxWindow
*) 0 ;
29874 PyObject
* obj0
= 0 ;
29875 PyObject
* obj1
= 0 ;
29876 char *kwnames
[] = {
29877 (char *) "self",(char *) "child", NULL
29880 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControl_base_AddChild",kwnames
,&obj0
,&obj1
)) goto fail
;
29881 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29882 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29883 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
29884 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29887 (arg1
)->base_AddChild(arg2
);
29889 wxPyEndAllowThreads(__tstate
);
29890 if (PyErr_Occurred()) SWIG_fail
;
29892 Py_INCREF(Py_None
); resultobj
= Py_None
;
29899 static PyObject
*_wrap_PyControl_base_RemoveChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29900 PyObject
*resultobj
;
29901 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29902 wxWindow
*arg2
= (wxWindow
*) 0 ;
29903 PyObject
* obj0
= 0 ;
29904 PyObject
* obj1
= 0 ;
29905 char *kwnames
[] = {
29906 (char *) "self",(char *) "child", NULL
29909 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControl_base_RemoveChild",kwnames
,&obj0
,&obj1
)) goto fail
;
29910 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29911 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29912 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
29913 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29916 (arg1
)->base_RemoveChild(arg2
);
29918 wxPyEndAllowThreads(__tstate
);
29919 if (PyErr_Occurred()) SWIG_fail
;
29921 Py_INCREF(Py_None
); resultobj
= Py_None
;
29928 static PyObject
*_wrap_PyControl_base_ShouldInheritColours(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29929 PyObject
*resultobj
;
29930 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29932 PyObject
* obj0
= 0 ;
29933 char *kwnames
[] = {
29934 (char *) "self", NULL
29937 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_ShouldInheritColours",kwnames
,&obj0
)) goto fail
;
29938 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29939 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29942 result
= (bool)((wxPyControl
const *)arg1
)->base_ShouldInheritColours();
29944 wxPyEndAllowThreads(__tstate
);
29945 if (PyErr_Occurred()) SWIG_fail
;
29948 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29956 static PyObject
*_wrap_PyControl_base_ApplyParentThemeBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29957 PyObject
*resultobj
;
29958 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29959 wxColour
*arg2
= 0 ;
29961 PyObject
* obj0
= 0 ;
29962 PyObject
* obj1
= 0 ;
29963 char *kwnames
[] = {
29964 (char *) "self",(char *) "c", NULL
29967 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControl_base_ApplyParentThemeBackground",kwnames
,&obj0
,&obj1
)) goto fail
;
29968 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29969 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29972 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
29975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29976 (arg1
)->base_ApplyParentThemeBackground((wxColour
const &)*arg2
);
29978 wxPyEndAllowThreads(__tstate
);
29979 if (PyErr_Occurred()) SWIG_fail
;
29981 Py_INCREF(Py_None
); resultobj
= Py_None
;
29988 static PyObject
*_wrap_PyControl_base_GetDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29989 PyObject
*resultobj
;
29990 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29991 wxVisualAttributes result
;
29992 PyObject
* obj0
= 0 ;
29993 char *kwnames
[] = {
29994 (char *) "self", NULL
29997 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_GetDefaultAttributes",kwnames
,&obj0
)) goto fail
;
29998 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29999 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30002 result
= (arg1
)->base_GetDefaultAttributes();
30004 wxPyEndAllowThreads(__tstate
);
30005 if (PyErr_Occurred()) SWIG_fail
;
30008 wxVisualAttributes
* resultptr
;
30009 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
30010 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
30018 static PyObject
* PyControl_swigregister(PyObject
*self
, PyObject
*args
) {
30020 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
30021 SWIG_TypeClientData(SWIGTYPE_p_wxPyControl
, obj
);
30023 return Py_BuildValue((char *)"");
30025 static PyObject
*_wrap_new_HelpEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30026 PyObject
*resultobj
;
30027 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
30028 int arg2
= (int) 0 ;
30029 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
30030 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
30031 wxHelpEvent
*result
;
30033 PyObject
* obj0
= 0 ;
30034 PyObject
* obj1
= 0 ;
30035 PyObject
* obj2
= 0 ;
30036 char *kwnames
[] = {
30037 (char *) "type",(char *) "winid",(char *) "pt", NULL
30040 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_HelpEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30042 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
30043 if (PyErr_Occurred()) SWIG_fail
;
30046 arg2
= (int) SWIG_AsInt(obj1
);
30047 if (PyErr_Occurred()) SWIG_fail
;
30052 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
30056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30057 result
= (wxHelpEvent
*)new wxHelpEvent(arg1
,arg2
,(wxPoint
const &)*arg3
);
30059 wxPyEndAllowThreads(__tstate
);
30060 if (PyErr_Occurred()) SWIG_fail
;
30062 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHelpEvent
, 1);
30069 static PyObject
*_wrap_HelpEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30070 PyObject
*resultobj
;
30071 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
30073 PyObject
* obj0
= 0 ;
30074 char *kwnames
[] = {
30075 (char *) "self", NULL
30078 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
30079 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpEvent
,
30080 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30083 result
= ((wxHelpEvent
const *)arg1
)->GetPosition();
30085 wxPyEndAllowThreads(__tstate
);
30086 if (PyErr_Occurred()) SWIG_fail
;
30089 wxPoint
* resultptr
;
30090 resultptr
= new wxPoint((wxPoint
&) result
);
30091 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
30099 static PyObject
*_wrap_HelpEvent_SetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30100 PyObject
*resultobj
;
30101 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
30102 wxPoint
*arg2
= 0 ;
30104 PyObject
* obj0
= 0 ;
30105 PyObject
* obj1
= 0 ;
30106 char *kwnames
[] = {
30107 (char *) "self",(char *) "pos", NULL
30110 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
30111 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpEvent
,
30112 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30115 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
30118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30119 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
30121 wxPyEndAllowThreads(__tstate
);
30122 if (PyErr_Occurred()) SWIG_fail
;
30124 Py_INCREF(Py_None
); resultobj
= Py_None
;
30131 static PyObject
*_wrap_HelpEvent_GetLink(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30132 PyObject
*resultobj
;
30133 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
30135 PyObject
* obj0
= 0 ;
30136 char *kwnames
[] = {
30137 (char *) "self", NULL
30140 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpEvent_GetLink",kwnames
,&obj0
)) goto fail
;
30141 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpEvent
,
30142 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30146 wxString
const &_result_ref
= ((wxHelpEvent
const *)arg1
)->GetLink();
30147 result
= (wxString
*) &_result_ref
;
30150 wxPyEndAllowThreads(__tstate
);
30151 if (PyErr_Occurred()) SWIG_fail
;
30155 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
30157 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
30166 static PyObject
*_wrap_HelpEvent_SetLink(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30167 PyObject
*resultobj
;
30168 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
30169 wxString
*arg2
= 0 ;
30170 bool temp2
= False
;
30171 PyObject
* obj0
= 0 ;
30172 PyObject
* obj1
= 0 ;
30173 char *kwnames
[] = {
30174 (char *) "self",(char *) "link", NULL
30177 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetLink",kwnames
,&obj0
,&obj1
)) goto fail
;
30178 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpEvent
,
30179 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30181 arg2
= wxString_in_helper(obj1
);
30182 if (arg2
== NULL
) SWIG_fail
;
30186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30187 (arg1
)->SetLink((wxString
const &)*arg2
);
30189 wxPyEndAllowThreads(__tstate
);
30190 if (PyErr_Occurred()) SWIG_fail
;
30192 Py_INCREF(Py_None
); resultobj
= Py_None
;
30207 static PyObject
*_wrap_HelpEvent_GetTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30208 PyObject
*resultobj
;
30209 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
30211 PyObject
* obj0
= 0 ;
30212 char *kwnames
[] = {
30213 (char *) "self", NULL
30216 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpEvent_GetTarget",kwnames
,&obj0
)) goto fail
;
30217 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpEvent
,
30218 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30222 wxString
const &_result_ref
= ((wxHelpEvent
const *)arg1
)->GetTarget();
30223 result
= (wxString
*) &_result_ref
;
30226 wxPyEndAllowThreads(__tstate
);
30227 if (PyErr_Occurred()) SWIG_fail
;
30231 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
30233 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
30242 static PyObject
*_wrap_HelpEvent_SetTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30243 PyObject
*resultobj
;
30244 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
30245 wxString
*arg2
= 0 ;
30246 bool temp2
= False
;
30247 PyObject
* obj0
= 0 ;
30248 PyObject
* obj1
= 0 ;
30249 char *kwnames
[] = {
30250 (char *) "self",(char *) "target", NULL
30253 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetTarget",kwnames
,&obj0
,&obj1
)) goto fail
;
30254 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpEvent
,
30255 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30257 arg2
= wxString_in_helper(obj1
);
30258 if (arg2
== NULL
) SWIG_fail
;
30262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30263 (arg1
)->SetTarget((wxString
const &)*arg2
);
30265 wxPyEndAllowThreads(__tstate
);
30266 if (PyErr_Occurred()) SWIG_fail
;
30268 Py_INCREF(Py_None
); resultobj
= Py_None
;
30283 static PyObject
* HelpEvent_swigregister(PyObject
*self
, PyObject
*args
) {
30285 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
30286 SWIG_TypeClientData(SWIGTYPE_p_wxHelpEvent
, obj
);
30288 return Py_BuildValue((char *)"");
30290 static PyObject
*_wrap_new_ContextHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30291 PyObject
*resultobj
;
30292 wxWindow
*arg1
= (wxWindow
*) NULL
;
30293 bool arg2
= (bool) True
;
30294 wxContextHelp
*result
;
30295 PyObject
* obj0
= 0 ;
30296 PyObject
* obj1
= 0 ;
30297 char *kwnames
[] = {
30298 (char *) "window",(char *) "doNow", NULL
30301 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_ContextHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
30303 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
30304 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30307 arg2
= (bool) SWIG_AsBool(obj1
);
30308 if (PyErr_Occurred()) SWIG_fail
;
30311 if (!wxPyCheckForApp()) SWIG_fail
;
30312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30313 result
= (wxContextHelp
*)new wxContextHelp(arg1
,arg2
);
30315 wxPyEndAllowThreads(__tstate
);
30316 if (PyErr_Occurred()) SWIG_fail
;
30318 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxContextHelp
, 1);
30325 static PyObject
*_wrap_delete_ContextHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30326 PyObject
*resultobj
;
30327 wxContextHelp
*arg1
= (wxContextHelp
*) 0 ;
30328 PyObject
* obj0
= 0 ;
30329 char *kwnames
[] = {
30330 (char *) "self", NULL
30333 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ContextHelp",kwnames
,&obj0
)) goto fail
;
30334 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxContextHelp
,
30335 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30340 wxPyEndAllowThreads(__tstate
);
30341 if (PyErr_Occurred()) SWIG_fail
;
30343 Py_INCREF(Py_None
); resultobj
= Py_None
;
30350 static PyObject
*_wrap_ContextHelp_BeginContextHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30351 PyObject
*resultobj
;
30352 wxContextHelp
*arg1
= (wxContextHelp
*) 0 ;
30353 wxWindow
*arg2
= (wxWindow
*) NULL
;
30355 PyObject
* obj0
= 0 ;
30356 PyObject
* obj1
= 0 ;
30357 char *kwnames
[] = {
30358 (char *) "self",(char *) "window", NULL
30361 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ContextHelp_BeginContextHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
30362 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxContextHelp
,
30363 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30365 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
30366 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30370 result
= (bool)(arg1
)->BeginContextHelp(arg2
);
30372 wxPyEndAllowThreads(__tstate
);
30373 if (PyErr_Occurred()) SWIG_fail
;
30376 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30384 static PyObject
*_wrap_ContextHelp_EndContextHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30385 PyObject
*resultobj
;
30386 wxContextHelp
*arg1
= (wxContextHelp
*) 0 ;
30388 PyObject
* obj0
= 0 ;
30389 char *kwnames
[] = {
30390 (char *) "self", NULL
30393 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ContextHelp_EndContextHelp",kwnames
,&obj0
)) goto fail
;
30394 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxContextHelp
,
30395 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30398 result
= (bool)(arg1
)->EndContextHelp();
30400 wxPyEndAllowThreads(__tstate
);
30401 if (PyErr_Occurred()) SWIG_fail
;
30404 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30412 static PyObject
* ContextHelp_swigregister(PyObject
*self
, PyObject
*args
) {
30414 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
30415 SWIG_TypeClientData(SWIGTYPE_p_wxContextHelp
, obj
);
30417 return Py_BuildValue((char *)"");
30419 static PyObject
*_wrap_new_ContextHelpButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30420 PyObject
*resultobj
;
30421 wxWindow
*arg1
= (wxWindow
*) 0 ;
30422 int arg2
= (int) wxID_CONTEXT_HELP
;
30423 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
30424 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
30425 wxSize
const &arg4_defvalue
= wxDefaultSize
;
30426 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
30427 long arg5
= (long) wxBU_AUTODRAW
;
30428 wxContextHelpButton
*result
;
30431 PyObject
* obj0
= 0 ;
30432 PyObject
* obj1
= 0 ;
30433 PyObject
* obj2
= 0 ;
30434 PyObject
* obj3
= 0 ;
30435 PyObject
* obj4
= 0 ;
30436 char *kwnames
[] = {
30437 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
30440 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:new_ContextHelpButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
30441 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
30442 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30444 arg2
= (int) SWIG_AsInt(obj1
);
30445 if (PyErr_Occurred()) SWIG_fail
;
30450 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
30456 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
30460 arg5
= (long) SWIG_AsLong(obj4
);
30461 if (PyErr_Occurred()) SWIG_fail
;
30464 if (!wxPyCheckForApp()) SWIG_fail
;
30465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30466 result
= (wxContextHelpButton
*)new wxContextHelpButton(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
);
30468 wxPyEndAllowThreads(__tstate
);
30469 if (PyErr_Occurred()) SWIG_fail
;
30471 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxContextHelpButton
, 1);
30478 static PyObject
* ContextHelpButton_swigregister(PyObject
*self
, PyObject
*args
) {
30480 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
30481 SWIG_TypeClientData(SWIGTYPE_p_wxContextHelpButton
, obj
);
30483 return Py_BuildValue((char *)"");
30485 static PyObject
*_wrap_HelpProvider_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30486 PyObject
*resultobj
;
30487 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
30488 wxHelpProvider
*result
;
30489 PyObject
* obj0
= 0 ;
30490 char *kwnames
[] = {
30491 (char *) "helpProvider", NULL
30494 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpProvider_Set",kwnames
,&obj0
)) goto fail
;
30495 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpProvider
,
30496 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30499 result
= (wxHelpProvider
*)wxHelpProvider::Set(arg1
);
30501 wxPyEndAllowThreads(__tstate
);
30502 if (PyErr_Occurred()) SWIG_fail
;
30504 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHelpProvider
, 0);
30511 static PyObject
*_wrap_HelpProvider_Get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30512 PyObject
*resultobj
;
30513 wxHelpProvider
*result
;
30514 char *kwnames
[] = {
30518 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":HelpProvider_Get",kwnames
)) goto fail
;
30520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30521 result
= (wxHelpProvider
*)wxHelpProvider::Get();
30523 wxPyEndAllowThreads(__tstate
);
30524 if (PyErr_Occurred()) SWIG_fail
;
30526 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHelpProvider
, 0);
30533 static PyObject
*_wrap_HelpProvider_GetHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30534 PyObject
*resultobj
;
30535 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
30536 wxWindow
*arg2
= (wxWindow
*) 0 ;
30538 PyObject
* obj0
= 0 ;
30539 PyObject
* obj1
= 0 ;
30540 char *kwnames
[] = {
30541 (char *) "self",(char *) "window", NULL
30544 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpProvider_GetHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
30545 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpProvider
,
30546 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30547 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
30548 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30551 result
= (arg1
)->GetHelp((wxWindow
const *)arg2
);
30553 wxPyEndAllowThreads(__tstate
);
30554 if (PyErr_Occurred()) SWIG_fail
;
30558 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
30560 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
30569 static PyObject
*_wrap_HelpProvider_ShowHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30570 PyObject
*resultobj
;
30571 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
30572 wxWindow
*arg2
= (wxWindow
*) 0 ;
30574 PyObject
* obj0
= 0 ;
30575 PyObject
* obj1
= 0 ;
30576 char *kwnames
[] = {
30577 (char *) "self",(char *) "window", NULL
30580 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpProvider_ShowHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
30581 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpProvider
,
30582 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30583 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
30584 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30587 result
= (bool)(arg1
)->ShowHelp(arg2
);
30589 wxPyEndAllowThreads(__tstate
);
30590 if (PyErr_Occurred()) SWIG_fail
;
30593 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30601 static PyObject
*_wrap_HelpProvider_AddHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30602 PyObject
*resultobj
;
30603 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
30604 wxWindow
*arg2
= (wxWindow
*) 0 ;
30605 wxString
*arg3
= 0 ;
30606 bool temp3
= False
;
30607 PyObject
* obj0
= 0 ;
30608 PyObject
* obj1
= 0 ;
30609 PyObject
* obj2
= 0 ;
30610 char *kwnames
[] = {
30611 (char *) "self",(char *) "window",(char *) "text", NULL
30614 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HelpProvider_AddHelp",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30615 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpProvider
,
30616 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30617 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
30618 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30620 arg3
= wxString_in_helper(obj2
);
30621 if (arg3
== NULL
) SWIG_fail
;
30625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30626 (arg1
)->AddHelp(arg2
,(wxString
const &)*arg3
);
30628 wxPyEndAllowThreads(__tstate
);
30629 if (PyErr_Occurred()) SWIG_fail
;
30631 Py_INCREF(Py_None
); resultobj
= Py_None
;
30646 static PyObject
*_wrap_HelpProvider_AddHelpById(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30647 PyObject
*resultobj
;
30648 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
30650 wxString
*arg3
= 0 ;
30651 bool temp3
= False
;
30652 PyObject
* obj0
= 0 ;
30653 PyObject
* obj1
= 0 ;
30654 PyObject
* obj2
= 0 ;
30655 char *kwnames
[] = {
30656 (char *) "self",(char *) "id",(char *) "text", NULL
30659 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HelpProvider_AddHelpById",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30660 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpProvider
,
30661 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30662 arg2
= (int) SWIG_AsInt(obj1
);
30663 if (PyErr_Occurred()) SWIG_fail
;
30665 arg3
= wxString_in_helper(obj2
);
30666 if (arg3
== NULL
) SWIG_fail
;
30670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30671 (arg1
)->AddHelp(arg2
,(wxString
const &)*arg3
);
30673 wxPyEndAllowThreads(__tstate
);
30674 if (PyErr_Occurred()) SWIG_fail
;
30676 Py_INCREF(Py_None
); resultobj
= Py_None
;
30691 static PyObject
*_wrap_HelpProvider_RemoveHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30692 PyObject
*resultobj
;
30693 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
30694 wxWindow
*arg2
= (wxWindow
*) 0 ;
30695 PyObject
* obj0
= 0 ;
30696 PyObject
* obj1
= 0 ;
30697 char *kwnames
[] = {
30698 (char *) "self",(char *) "window", NULL
30701 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpProvider_RemoveHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
30702 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpProvider
,
30703 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30704 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
30705 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30708 (arg1
)->RemoveHelp(arg2
);
30710 wxPyEndAllowThreads(__tstate
);
30711 if (PyErr_Occurred()) SWIG_fail
;
30713 Py_INCREF(Py_None
); resultobj
= Py_None
;
30720 static PyObject
*_wrap_HelpProvider_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30721 PyObject
*resultobj
;
30722 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
30723 PyObject
* obj0
= 0 ;
30724 char *kwnames
[] = {
30725 (char *) "self", NULL
30728 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpProvider_Destroy",kwnames
,&obj0
)) goto fail
;
30729 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpProvider
,
30730 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30733 wxHelpProvider_Destroy(arg1
);
30735 wxPyEndAllowThreads(__tstate
);
30736 if (PyErr_Occurred()) SWIG_fail
;
30738 Py_INCREF(Py_None
); resultobj
= Py_None
;
30745 static PyObject
* HelpProvider_swigregister(PyObject
*self
, PyObject
*args
) {
30747 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
30748 SWIG_TypeClientData(SWIGTYPE_p_wxHelpProvider
, obj
);
30750 return Py_BuildValue((char *)"");
30752 static PyObject
*_wrap_new_SimpleHelpProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30753 PyObject
*resultobj
;
30754 wxSimpleHelpProvider
*result
;
30755 char *kwnames
[] = {
30759 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_SimpleHelpProvider",kwnames
)) goto fail
;
30761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30762 result
= (wxSimpleHelpProvider
*)new wxSimpleHelpProvider();
30764 wxPyEndAllowThreads(__tstate
);
30765 if (PyErr_Occurred()) SWIG_fail
;
30767 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSimpleHelpProvider
, 1);
30774 static PyObject
* SimpleHelpProvider_swigregister(PyObject
*self
, PyObject
*args
) {
30776 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
30777 SWIG_TypeClientData(SWIGTYPE_p_wxSimpleHelpProvider
, obj
);
30779 return Py_BuildValue((char *)"");
30781 static PyObject
*_wrap_new_DragImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30782 PyObject
*resultobj
;
30783 wxBitmap
*arg1
= 0 ;
30784 wxCursor
const &arg2_defvalue
= wxNullCursor
;
30785 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
30786 wxGenericDragImage
*result
;
30787 PyObject
* obj0
= 0 ;
30788 PyObject
* obj1
= 0 ;
30789 char *kwnames
[] = {
30790 (char *) "image",(char *) "cursor", NULL
30793 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragImage",kwnames
,&obj0
,&obj1
)) goto fail
;
30794 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
30795 SWIG_POINTER_EXCEPTION
| 0)) == -1)
30797 if (arg1
== NULL
) {
30798 PyErr_SetString(PyExc_TypeError
,"null reference");
30802 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxCursor
,
30803 SWIG_POINTER_EXCEPTION
| 0)) == -1)
30805 if (arg2
== NULL
) {
30806 PyErr_SetString(PyExc_TypeError
,"null reference");
30811 if (!wxPyCheckForApp()) SWIG_fail
;
30812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30813 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxBitmap
const &)*arg1
,(wxCursor
const &)*arg2
);
30815 wxPyEndAllowThreads(__tstate
);
30816 if (PyErr_Occurred()) SWIG_fail
;
30818 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDragImage
, 1);
30825 static PyObject
*_wrap_new_DragIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30826 PyObject
*resultobj
;
30828 wxCursor
const &arg2_defvalue
= wxNullCursor
;
30829 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
30830 wxGenericDragImage
*result
;
30831 PyObject
* obj0
= 0 ;
30832 PyObject
* obj1
= 0 ;
30833 char *kwnames
[] = {
30834 (char *) "image",(char *) "cursor", NULL
30837 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
30838 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
30839 SWIG_POINTER_EXCEPTION
| 0)) == -1)
30841 if (arg1
== NULL
) {
30842 PyErr_SetString(PyExc_TypeError
,"null reference");
30846 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxCursor
,
30847 SWIG_POINTER_EXCEPTION
| 0)) == -1)
30849 if (arg2
== NULL
) {
30850 PyErr_SetString(PyExc_TypeError
,"null reference");
30855 if (!wxPyCheckForApp()) SWIG_fail
;
30856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30857 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxIcon
const &)*arg1
,(wxCursor
const &)*arg2
);
30859 wxPyEndAllowThreads(__tstate
);
30860 if (PyErr_Occurred()) SWIG_fail
;
30862 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDragImage
, 1);
30869 static PyObject
*_wrap_new_DragString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30870 PyObject
*resultobj
;
30871 wxString
*arg1
= 0 ;
30872 wxCursor
const &arg2_defvalue
= wxNullCursor
;
30873 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
30874 wxGenericDragImage
*result
;
30875 bool temp1
= False
;
30876 PyObject
* obj0
= 0 ;
30877 PyObject
* obj1
= 0 ;
30878 char *kwnames
[] = {
30879 (char *) "str",(char *) "cursor", NULL
30882 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragString",kwnames
,&obj0
,&obj1
)) goto fail
;
30884 arg1
= wxString_in_helper(obj0
);
30885 if (arg1
== NULL
) SWIG_fail
;
30889 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxCursor
,
30890 SWIG_POINTER_EXCEPTION
| 0)) == -1)
30892 if (arg2
== NULL
) {
30893 PyErr_SetString(PyExc_TypeError
,"null reference");
30898 if (!wxPyCheckForApp()) SWIG_fail
;
30899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30900 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxString
const &)*arg1
,(wxCursor
const &)*arg2
);
30902 wxPyEndAllowThreads(__tstate
);
30903 if (PyErr_Occurred()) SWIG_fail
;
30905 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDragImage
, 1);
30920 static PyObject
*_wrap_new_DragTreeItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30921 PyObject
*resultobj
;
30922 wxPyTreeCtrl
*arg1
= 0 ;
30923 wxTreeItemId
*arg2
= 0 ;
30924 wxGenericDragImage
*result
;
30925 PyObject
* obj0
= 0 ;
30926 PyObject
* obj1
= 0 ;
30927 char *kwnames
[] = {
30928 (char *) "treeCtrl",(char *) "id", NULL
30931 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_DragTreeItem",kwnames
,&obj0
,&obj1
)) goto fail
;
30932 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
30933 SWIG_POINTER_EXCEPTION
| 0)) == -1)
30935 if (arg1
== NULL
) {
30936 PyErr_SetString(PyExc_TypeError
,"null reference");
30939 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
30940 SWIG_POINTER_EXCEPTION
| 0)) == -1)
30942 if (arg2
== NULL
) {
30943 PyErr_SetString(PyExc_TypeError
,"null reference");
30947 if (!wxPyCheckForApp()) SWIG_fail
;
30948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30949 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxPyTreeCtrl
const &)*arg1
,*arg2
);
30951 wxPyEndAllowThreads(__tstate
);
30952 if (PyErr_Occurred()) SWIG_fail
;
30954 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDragImage
, 1);
30961 static PyObject
*_wrap_new_DragListItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30962 PyObject
*resultobj
;
30963 wxPyListCtrl
*arg1
= 0 ;
30965 wxGenericDragImage
*result
;
30966 PyObject
* obj0
= 0 ;
30967 PyObject
* obj1
= 0 ;
30968 char *kwnames
[] = {
30969 (char *) "listCtrl",(char *) "id", NULL
30972 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_DragListItem",kwnames
,&obj0
,&obj1
)) goto fail
;
30973 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
30974 SWIG_POINTER_EXCEPTION
| 0)) == -1)
30976 if (arg1
== NULL
) {
30977 PyErr_SetString(PyExc_TypeError
,"null reference");
30980 arg2
= (long) SWIG_AsLong(obj1
);
30981 if (PyErr_Occurred()) SWIG_fail
;
30983 if (!wxPyCheckForApp()) SWIG_fail
;
30984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30985 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxPyListCtrl
const &)*arg1
,arg2
);
30987 wxPyEndAllowThreads(__tstate
);
30988 if (PyErr_Occurred()) SWIG_fail
;
30990 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDragImage
, 1);
30997 static PyObject
*_wrap_delete_DragImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30998 PyObject
*resultobj
;
30999 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
31000 PyObject
* obj0
= 0 ;
31001 char *kwnames
[] = {
31002 (char *) "self", NULL
31005 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DragImage",kwnames
,&obj0
)) goto fail
;
31006 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
31007 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31012 wxPyEndAllowThreads(__tstate
);
31013 if (PyErr_Occurred()) SWIG_fail
;
31015 Py_INCREF(Py_None
); resultobj
= Py_None
;
31022 static PyObject
*_wrap_DragImage_SetBackingBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31023 PyObject
*resultobj
;
31024 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
31025 wxBitmap
*arg2
= (wxBitmap
*) 0 ;
31026 PyObject
* obj0
= 0 ;
31027 PyObject
* obj1
= 0 ;
31028 char *kwnames
[] = {
31029 (char *) "self",(char *) "bitmap", NULL
31032 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_SetBackingBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
31033 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
31034 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31035 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
31036 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31039 (arg1
)->SetBackingBitmap(arg2
);
31041 wxPyEndAllowThreads(__tstate
);
31042 if (PyErr_Occurred()) SWIG_fail
;
31044 Py_INCREF(Py_None
); resultobj
= Py_None
;
31051 static PyObject
*_wrap_DragImage_BeginDrag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31052 PyObject
*resultobj
;
31053 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
31054 wxPoint
*arg2
= 0 ;
31055 wxWindow
*arg3
= (wxWindow
*) 0 ;
31056 bool arg4
= (bool) False
;
31057 wxRect
*arg5
= (wxRect
*) NULL
;
31060 PyObject
* obj0
= 0 ;
31061 PyObject
* obj1
= 0 ;
31062 PyObject
* obj2
= 0 ;
31063 PyObject
* obj3
= 0 ;
31064 PyObject
* obj4
= 0 ;
31065 char *kwnames
[] = {
31066 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "fullScreen",(char *) "rect", NULL
31069 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:DragImage_BeginDrag",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
31070 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
31071 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31074 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
31076 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
31077 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31079 arg4
= (bool) SWIG_AsBool(obj3
);
31080 if (PyErr_Occurred()) SWIG_fail
;
31083 if ((SWIG_ConvertPtr(obj4
,(void **)(&arg5
),SWIGTYPE_p_wxRect
,
31084 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31088 result
= (bool)(arg1
)->BeginDrag((wxPoint
const &)*arg2
,arg3
,arg4
,arg5
);
31090 wxPyEndAllowThreads(__tstate
);
31091 if (PyErr_Occurred()) SWIG_fail
;
31094 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31102 static PyObject
*_wrap_DragImage_BeginDragBounded(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31103 PyObject
*resultobj
;
31104 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
31105 wxPoint
*arg2
= 0 ;
31106 wxWindow
*arg3
= (wxWindow
*) 0 ;
31107 wxWindow
*arg4
= (wxWindow
*) 0 ;
31110 PyObject
* obj0
= 0 ;
31111 PyObject
* obj1
= 0 ;
31112 PyObject
* obj2
= 0 ;
31113 PyObject
* obj3
= 0 ;
31114 char *kwnames
[] = {
31115 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "boundingWindow", NULL
31118 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DragImage_BeginDragBounded",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
31119 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
31120 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31123 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
31125 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
31126 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31127 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxWindow
,
31128 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31131 result
= (bool)(arg1
)->BeginDrag((wxPoint
const &)*arg2
,arg3
,arg4
);
31133 wxPyEndAllowThreads(__tstate
);
31134 if (PyErr_Occurred()) SWIG_fail
;
31137 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31145 static PyObject
*_wrap_DragImage_EndDrag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31146 PyObject
*resultobj
;
31147 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
31149 PyObject
* obj0
= 0 ;
31150 char *kwnames
[] = {
31151 (char *) "self", NULL
31154 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DragImage_EndDrag",kwnames
,&obj0
)) goto fail
;
31155 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
31156 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31159 result
= (bool)(arg1
)->EndDrag();
31161 wxPyEndAllowThreads(__tstate
);
31162 if (PyErr_Occurred()) SWIG_fail
;
31165 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31173 static PyObject
*_wrap_DragImage_Move(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31174 PyObject
*resultobj
;
31175 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
31176 wxPoint
*arg2
= 0 ;
31179 PyObject
* obj0
= 0 ;
31180 PyObject
* obj1
= 0 ;
31181 char *kwnames
[] = {
31182 (char *) "self",(char *) "pt", NULL
31185 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_Move",kwnames
,&obj0
,&obj1
)) goto fail
;
31186 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
31187 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31190 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
31193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31194 result
= (bool)(arg1
)->Move((wxPoint
const &)*arg2
);
31196 wxPyEndAllowThreads(__tstate
);
31197 if (PyErr_Occurred()) SWIG_fail
;
31200 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31208 static PyObject
*_wrap_DragImage_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31209 PyObject
*resultobj
;
31210 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
31212 PyObject
* obj0
= 0 ;
31213 char *kwnames
[] = {
31214 (char *) "self", NULL
31217 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DragImage_Show",kwnames
,&obj0
)) goto fail
;
31218 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
31219 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31222 result
= (bool)(arg1
)->Show();
31224 wxPyEndAllowThreads(__tstate
);
31225 if (PyErr_Occurred()) SWIG_fail
;
31228 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31236 static PyObject
*_wrap_DragImage_Hide(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31237 PyObject
*resultobj
;
31238 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
31240 PyObject
* obj0
= 0 ;
31241 char *kwnames
[] = {
31242 (char *) "self", NULL
31245 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DragImage_Hide",kwnames
,&obj0
)) goto fail
;
31246 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
31247 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31250 result
= (bool)(arg1
)->Hide();
31252 wxPyEndAllowThreads(__tstate
);
31253 if (PyErr_Occurred()) SWIG_fail
;
31256 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31264 static PyObject
*_wrap_DragImage_GetImageRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31265 PyObject
*resultobj
;
31266 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
31267 wxPoint
*arg2
= 0 ;
31270 PyObject
* obj0
= 0 ;
31271 PyObject
* obj1
= 0 ;
31272 char *kwnames
[] = {
31273 (char *) "self",(char *) "pos", NULL
31276 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_GetImageRect",kwnames
,&obj0
,&obj1
)) goto fail
;
31277 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
31278 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31281 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
31284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31285 result
= ((wxGenericDragImage
const *)arg1
)->GetImageRect((wxPoint
const &)*arg2
);
31287 wxPyEndAllowThreads(__tstate
);
31288 if (PyErr_Occurred()) SWIG_fail
;
31291 wxRect
* resultptr
;
31292 resultptr
= new wxRect((wxRect
&) result
);
31293 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
31301 static PyObject
*_wrap_DragImage_DoDrawImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31302 PyObject
*resultobj
;
31303 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
31305 wxPoint
*arg3
= 0 ;
31308 PyObject
* obj0
= 0 ;
31309 PyObject
* obj1
= 0 ;
31310 PyObject
* obj2
= 0 ;
31311 char *kwnames
[] = {
31312 (char *) "self",(char *) "dc",(char *) "pos", NULL
31315 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DragImage_DoDrawImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
31316 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
31317 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31318 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
31319 SWIG_POINTER_EXCEPTION
| 0)) == -1)
31321 if (arg2
== NULL
) {
31322 PyErr_SetString(PyExc_TypeError
,"null reference");
31327 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
31330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31331 result
= (bool)((wxGenericDragImage
const *)arg1
)->DoDrawImage(*arg2
,(wxPoint
const &)*arg3
);
31333 wxPyEndAllowThreads(__tstate
);
31334 if (PyErr_Occurred()) SWIG_fail
;
31337 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31345 static PyObject
*_wrap_DragImage_UpdateBackingFromWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31346 PyObject
*resultobj
;
31347 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
31349 wxMemoryDC
*arg3
= 0 ;
31355 PyObject
* obj0
= 0 ;
31356 PyObject
* obj1
= 0 ;
31357 PyObject
* obj2
= 0 ;
31358 PyObject
* obj3
= 0 ;
31359 PyObject
* obj4
= 0 ;
31360 char *kwnames
[] = {
31361 (char *) "self",(char *) "windowDC",(char *) "destDC",(char *) "sourceRect",(char *) "destRect", NULL
31364 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DragImage_UpdateBackingFromWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
31365 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
31366 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31367 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
31368 SWIG_POINTER_EXCEPTION
| 0)) == -1)
31370 if (arg2
== NULL
) {
31371 PyErr_SetString(PyExc_TypeError
,"null reference");
31374 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxMemoryDC
,
31375 SWIG_POINTER_EXCEPTION
| 0)) == -1)
31377 if (arg3
== NULL
) {
31378 PyErr_SetString(PyExc_TypeError
,"null reference");
31383 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
31387 if ( ! wxRect_helper(obj4
, &arg5
)) SWIG_fail
;
31390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31391 result
= (bool)((wxGenericDragImage
const *)arg1
)->UpdateBackingFromWindow(*arg2
,*arg3
,(wxRect
const &)*arg4
,(wxRect
const &)*arg5
);
31393 wxPyEndAllowThreads(__tstate
);
31394 if (PyErr_Occurred()) SWIG_fail
;
31397 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31405 static PyObject
*_wrap_DragImage_RedrawImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31406 PyObject
*resultobj
;
31407 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
31408 wxPoint
*arg2
= 0 ;
31409 wxPoint
*arg3
= 0 ;
31415 PyObject
* obj0
= 0 ;
31416 PyObject
* obj1
= 0 ;
31417 PyObject
* obj2
= 0 ;
31418 PyObject
* obj3
= 0 ;
31419 PyObject
* obj4
= 0 ;
31420 char *kwnames
[] = {
31421 (char *) "self",(char *) "oldPos",(char *) "newPos",(char *) "eraseOld",(char *) "drawNew", NULL
31424 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DragImage_RedrawImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
31425 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
31426 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31429 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
31433 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
31435 arg4
= (bool) SWIG_AsBool(obj3
);
31436 if (PyErr_Occurred()) SWIG_fail
;
31437 arg5
= (bool) SWIG_AsBool(obj4
);
31438 if (PyErr_Occurred()) SWIG_fail
;
31440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31441 result
= (bool)(arg1
)->RedrawImage((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
,arg5
);
31443 wxPyEndAllowThreads(__tstate
);
31444 if (PyErr_Occurred()) SWIG_fail
;
31447 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31455 static PyObject
* DragImage_swigregister(PyObject
*self
, PyObject
*args
) {
31457 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
31458 SWIG_TypeClientData(SWIGTYPE_p_wxGenericDragImage
, obj
);
31460 return Py_BuildValue((char *)"");
31462 static PyMethodDef SwigMethods
[] = {
31463 { (char *)"new_Button", (PyCFunction
) _wrap_new_Button
, METH_VARARGS
| METH_KEYWORDS
},
31464 { (char *)"new_PreButton", (PyCFunction
) _wrap_new_PreButton
, METH_VARARGS
| METH_KEYWORDS
},
31465 { (char *)"Button_Create", (PyCFunction
) _wrap_Button_Create
, METH_VARARGS
| METH_KEYWORDS
},
31466 { (char *)"Button_SetDefault", (PyCFunction
) _wrap_Button_SetDefault
, METH_VARARGS
| METH_KEYWORDS
},
31467 { (char *)"Button_GetDefaultSize", (PyCFunction
) _wrap_Button_GetDefaultSize
, METH_VARARGS
| METH_KEYWORDS
},
31468 { (char *)"Button_GetClassDefaultAttributes", (PyCFunction
) _wrap_Button_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31469 { (char *)"Button_swigregister", Button_swigregister
, METH_VARARGS
},
31470 { (char *)"new_BitmapButton", (PyCFunction
) _wrap_new_BitmapButton
, METH_VARARGS
| METH_KEYWORDS
},
31471 { (char *)"new_PreBitmapButton", (PyCFunction
) _wrap_new_PreBitmapButton
, METH_VARARGS
| METH_KEYWORDS
},
31472 { (char *)"BitmapButton_Create", (PyCFunction
) _wrap_BitmapButton_Create
, METH_VARARGS
| METH_KEYWORDS
},
31473 { (char *)"BitmapButton_GetBitmapLabel", (PyCFunction
) _wrap_BitmapButton_GetBitmapLabel
, METH_VARARGS
| METH_KEYWORDS
},
31474 { (char *)"BitmapButton_GetBitmapDisabled", (PyCFunction
) _wrap_BitmapButton_GetBitmapDisabled
, METH_VARARGS
| METH_KEYWORDS
},
31475 { (char *)"BitmapButton_GetBitmapFocus", (PyCFunction
) _wrap_BitmapButton_GetBitmapFocus
, METH_VARARGS
| METH_KEYWORDS
},
31476 { (char *)"BitmapButton_GetBitmapSelected", (PyCFunction
) _wrap_BitmapButton_GetBitmapSelected
, METH_VARARGS
| METH_KEYWORDS
},
31477 { (char *)"BitmapButton_SetBitmapDisabled", (PyCFunction
) _wrap_BitmapButton_SetBitmapDisabled
, METH_VARARGS
| METH_KEYWORDS
},
31478 { (char *)"BitmapButton_SetBitmapFocus", (PyCFunction
) _wrap_BitmapButton_SetBitmapFocus
, METH_VARARGS
| METH_KEYWORDS
},
31479 { (char *)"BitmapButton_SetBitmapSelected", (PyCFunction
) _wrap_BitmapButton_SetBitmapSelected
, METH_VARARGS
| METH_KEYWORDS
},
31480 { (char *)"BitmapButton_SetBitmapLabel", (PyCFunction
) _wrap_BitmapButton_SetBitmapLabel
, METH_VARARGS
| METH_KEYWORDS
},
31481 { (char *)"BitmapButton_SetMargins", (PyCFunction
) _wrap_BitmapButton_SetMargins
, METH_VARARGS
| METH_KEYWORDS
},
31482 { (char *)"BitmapButton_GetMarginX", (PyCFunction
) _wrap_BitmapButton_GetMarginX
, METH_VARARGS
| METH_KEYWORDS
},
31483 { (char *)"BitmapButton_GetMarginY", (PyCFunction
) _wrap_BitmapButton_GetMarginY
, METH_VARARGS
| METH_KEYWORDS
},
31484 { (char *)"BitmapButton_swigregister", BitmapButton_swigregister
, METH_VARARGS
},
31485 { (char *)"new_CheckBox", (PyCFunction
) _wrap_new_CheckBox
, METH_VARARGS
| METH_KEYWORDS
},
31486 { (char *)"new_PreCheckBox", (PyCFunction
) _wrap_new_PreCheckBox
, METH_VARARGS
| METH_KEYWORDS
},
31487 { (char *)"CheckBox_Create", (PyCFunction
) _wrap_CheckBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
31488 { (char *)"CheckBox_GetValue", (PyCFunction
) _wrap_CheckBox_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
31489 { (char *)"CheckBox_IsChecked", (PyCFunction
) _wrap_CheckBox_IsChecked
, METH_VARARGS
| METH_KEYWORDS
},
31490 { (char *)"CheckBox_SetValue", (PyCFunction
) _wrap_CheckBox_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
31491 { (char *)"CheckBox_Get3StateValue", (PyCFunction
) _wrap_CheckBox_Get3StateValue
, METH_VARARGS
| METH_KEYWORDS
},
31492 { (char *)"CheckBox_Set3StateValue", (PyCFunction
) _wrap_CheckBox_Set3StateValue
, METH_VARARGS
| METH_KEYWORDS
},
31493 { (char *)"CheckBox_Is3State", (PyCFunction
) _wrap_CheckBox_Is3State
, METH_VARARGS
| METH_KEYWORDS
},
31494 { (char *)"CheckBox_Is3rdStateAllowedForUser", (PyCFunction
) _wrap_CheckBox_Is3rdStateAllowedForUser
, METH_VARARGS
| METH_KEYWORDS
},
31495 { (char *)"CheckBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_CheckBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31496 { (char *)"CheckBox_swigregister", CheckBox_swigregister
, METH_VARARGS
},
31497 { (char *)"new_Choice", (PyCFunction
) _wrap_new_Choice
, METH_VARARGS
| METH_KEYWORDS
},
31498 { (char *)"new_PreChoice", (PyCFunction
) _wrap_new_PreChoice
, METH_VARARGS
| METH_KEYWORDS
},
31499 { (char *)"Choice_Create", (PyCFunction
) _wrap_Choice_Create
, METH_VARARGS
| METH_KEYWORDS
},
31500 { (char *)"Choice_SetSelection", (PyCFunction
) _wrap_Choice_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
31501 { (char *)"Choice_SetStringSelection", (PyCFunction
) _wrap_Choice_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
31502 { (char *)"Choice_SetString", (PyCFunction
) _wrap_Choice_SetString
, METH_VARARGS
| METH_KEYWORDS
},
31503 { (char *)"Choice_GetClassDefaultAttributes", (PyCFunction
) _wrap_Choice_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31504 { (char *)"Choice_swigregister", Choice_swigregister
, METH_VARARGS
},
31505 { (char *)"new_ComboBox", (PyCFunction
) _wrap_new_ComboBox
, METH_VARARGS
| METH_KEYWORDS
},
31506 { (char *)"new_PreComboBox", (PyCFunction
) _wrap_new_PreComboBox
, METH_VARARGS
| METH_KEYWORDS
},
31507 { (char *)"ComboBox_Create", (PyCFunction
) _wrap_ComboBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
31508 { (char *)"ComboBox_GetValue", (PyCFunction
) _wrap_ComboBox_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
31509 { (char *)"ComboBox_SetValue", (PyCFunction
) _wrap_ComboBox_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
31510 { (char *)"ComboBox_Copy", (PyCFunction
) _wrap_ComboBox_Copy
, METH_VARARGS
| METH_KEYWORDS
},
31511 { (char *)"ComboBox_Cut", (PyCFunction
) _wrap_ComboBox_Cut
, METH_VARARGS
| METH_KEYWORDS
},
31512 { (char *)"ComboBox_Paste", (PyCFunction
) _wrap_ComboBox_Paste
, METH_VARARGS
| METH_KEYWORDS
},
31513 { (char *)"ComboBox_SetInsertionPoint", (PyCFunction
) _wrap_ComboBox_SetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
},
31514 { (char *)"ComboBox_GetInsertionPoint", (PyCFunction
) _wrap_ComboBox_GetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
},
31515 { (char *)"ComboBox_GetLastPosition", (PyCFunction
) _wrap_ComboBox_GetLastPosition
, METH_VARARGS
| METH_KEYWORDS
},
31516 { (char *)"ComboBox_Replace", (PyCFunction
) _wrap_ComboBox_Replace
, METH_VARARGS
| METH_KEYWORDS
},
31517 { (char *)"ComboBox_SetSelection", (PyCFunction
) _wrap_ComboBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
31518 { (char *)"ComboBox_SetMark", (PyCFunction
) _wrap_ComboBox_SetMark
, METH_VARARGS
| METH_KEYWORDS
},
31519 { (char *)"ComboBox_SetStringSelection", (PyCFunction
) _wrap_ComboBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
31520 { (char *)"ComboBox_SetString", (PyCFunction
) _wrap_ComboBox_SetString
, METH_VARARGS
| METH_KEYWORDS
},
31521 { (char *)"ComboBox_SetEditable", (PyCFunction
) _wrap_ComboBox_SetEditable
, METH_VARARGS
| METH_KEYWORDS
},
31522 { (char *)"ComboBox_SetInsertionPointEnd", (PyCFunction
) _wrap_ComboBox_SetInsertionPointEnd
, METH_VARARGS
| METH_KEYWORDS
},
31523 { (char *)"ComboBox_Remove", (PyCFunction
) _wrap_ComboBox_Remove
, METH_VARARGS
| METH_KEYWORDS
},
31524 { (char *)"ComboBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_ComboBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31525 { (char *)"ComboBox_swigregister", ComboBox_swigregister
, METH_VARARGS
},
31526 { (char *)"new_Gauge", (PyCFunction
) _wrap_new_Gauge
, METH_VARARGS
| METH_KEYWORDS
},
31527 { (char *)"new_PreGauge", (PyCFunction
) _wrap_new_PreGauge
, METH_VARARGS
| METH_KEYWORDS
},
31528 { (char *)"Gauge_Create", (PyCFunction
) _wrap_Gauge_Create
, METH_VARARGS
| METH_KEYWORDS
},
31529 { (char *)"Gauge_SetRange", (PyCFunction
) _wrap_Gauge_SetRange
, METH_VARARGS
| METH_KEYWORDS
},
31530 { (char *)"Gauge_GetRange", (PyCFunction
) _wrap_Gauge_GetRange
, METH_VARARGS
| METH_KEYWORDS
},
31531 { (char *)"Gauge_SetValue", (PyCFunction
) _wrap_Gauge_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
31532 { (char *)"Gauge_GetValue", (PyCFunction
) _wrap_Gauge_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
31533 { (char *)"Gauge_IsVertical", (PyCFunction
) _wrap_Gauge_IsVertical
, METH_VARARGS
| METH_KEYWORDS
},
31534 { (char *)"Gauge_SetShadowWidth", (PyCFunction
) _wrap_Gauge_SetShadowWidth
, METH_VARARGS
| METH_KEYWORDS
},
31535 { (char *)"Gauge_GetShadowWidth", (PyCFunction
) _wrap_Gauge_GetShadowWidth
, METH_VARARGS
| METH_KEYWORDS
},
31536 { (char *)"Gauge_SetBezelFace", (PyCFunction
) _wrap_Gauge_SetBezelFace
, METH_VARARGS
| METH_KEYWORDS
},
31537 { (char *)"Gauge_GetBezelFace", (PyCFunction
) _wrap_Gauge_GetBezelFace
, METH_VARARGS
| METH_KEYWORDS
},
31538 { (char *)"Gauge_GetClassDefaultAttributes", (PyCFunction
) _wrap_Gauge_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31539 { (char *)"Gauge_swigregister", Gauge_swigregister
, METH_VARARGS
},
31540 { (char *)"new_StaticBox", (PyCFunction
) _wrap_new_StaticBox
, METH_VARARGS
| METH_KEYWORDS
},
31541 { (char *)"new_PreStaticBox", (PyCFunction
) _wrap_new_PreStaticBox
, METH_VARARGS
| METH_KEYWORDS
},
31542 { (char *)"StaticBox_Create", (PyCFunction
) _wrap_StaticBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
31543 { (char *)"StaticBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_StaticBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31544 { (char *)"StaticBox_swigregister", StaticBox_swigregister
, METH_VARARGS
},
31545 { (char *)"new_StaticLine", (PyCFunction
) _wrap_new_StaticLine
, METH_VARARGS
| METH_KEYWORDS
},
31546 { (char *)"new_PreStaticLine", (PyCFunction
) _wrap_new_PreStaticLine
, METH_VARARGS
| METH_KEYWORDS
},
31547 { (char *)"StaticLine_Create", (PyCFunction
) _wrap_StaticLine_Create
, METH_VARARGS
| METH_KEYWORDS
},
31548 { (char *)"StaticLine_IsVertical", (PyCFunction
) _wrap_StaticLine_IsVertical
, METH_VARARGS
| METH_KEYWORDS
},
31549 { (char *)"StaticLine_GetDefaultSize", (PyCFunction
) _wrap_StaticLine_GetDefaultSize
, METH_VARARGS
| METH_KEYWORDS
},
31550 { (char *)"StaticLine_GetClassDefaultAttributes", (PyCFunction
) _wrap_StaticLine_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31551 { (char *)"StaticLine_swigregister", StaticLine_swigregister
, METH_VARARGS
},
31552 { (char *)"new_StaticText", (PyCFunction
) _wrap_new_StaticText
, METH_VARARGS
| METH_KEYWORDS
},
31553 { (char *)"new_PreStaticText", (PyCFunction
) _wrap_new_PreStaticText
, METH_VARARGS
| METH_KEYWORDS
},
31554 { (char *)"StaticText_Create", (PyCFunction
) _wrap_StaticText_Create
, METH_VARARGS
| METH_KEYWORDS
},
31555 { (char *)"StaticText_GetClassDefaultAttributes", (PyCFunction
) _wrap_StaticText_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31556 { (char *)"StaticText_swigregister", StaticText_swigregister
, METH_VARARGS
},
31557 { (char *)"new_StaticBitmap", (PyCFunction
) _wrap_new_StaticBitmap
, METH_VARARGS
| METH_KEYWORDS
},
31558 { (char *)"new_PreStaticBitmap", (PyCFunction
) _wrap_new_PreStaticBitmap
, METH_VARARGS
| METH_KEYWORDS
},
31559 { (char *)"StaticBitmap_Create", (PyCFunction
) _wrap_StaticBitmap_Create
, METH_VARARGS
| METH_KEYWORDS
},
31560 { (char *)"StaticBitmap_GetBitmap", (PyCFunction
) _wrap_StaticBitmap_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
31561 { (char *)"StaticBitmap_SetBitmap", (PyCFunction
) _wrap_StaticBitmap_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
31562 { (char *)"StaticBitmap_SetIcon", (PyCFunction
) _wrap_StaticBitmap_SetIcon
, METH_VARARGS
| METH_KEYWORDS
},
31563 { (char *)"StaticBitmap_GetClassDefaultAttributes", (PyCFunction
) _wrap_StaticBitmap_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31564 { (char *)"StaticBitmap_swigregister", StaticBitmap_swigregister
, METH_VARARGS
},
31565 { (char *)"new_ListBox", (PyCFunction
) _wrap_new_ListBox
, METH_VARARGS
| METH_KEYWORDS
},
31566 { (char *)"new_PreListBox", (PyCFunction
) _wrap_new_PreListBox
, METH_VARARGS
| METH_KEYWORDS
},
31567 { (char *)"ListBox_Create", (PyCFunction
) _wrap_ListBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
31568 { (char *)"ListBox_Insert", (PyCFunction
) _wrap_ListBox_Insert
, METH_VARARGS
| METH_KEYWORDS
},
31569 { (char *)"ListBox_InsertItems", (PyCFunction
) _wrap_ListBox_InsertItems
, METH_VARARGS
| METH_KEYWORDS
},
31570 { (char *)"ListBox_Set", (PyCFunction
) _wrap_ListBox_Set
, METH_VARARGS
| METH_KEYWORDS
},
31571 { (char *)"ListBox_IsSelected", (PyCFunction
) _wrap_ListBox_IsSelected
, METH_VARARGS
| METH_KEYWORDS
},
31572 { (char *)"ListBox_SetSelection", (PyCFunction
) _wrap_ListBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
31573 { (char *)"ListBox_Select", (PyCFunction
) _wrap_ListBox_Select
, METH_VARARGS
| METH_KEYWORDS
},
31574 { (char *)"ListBox_Deselect", (PyCFunction
) _wrap_ListBox_Deselect
, METH_VARARGS
| METH_KEYWORDS
},
31575 { (char *)"ListBox_DeselectAll", (PyCFunction
) _wrap_ListBox_DeselectAll
, METH_VARARGS
| METH_KEYWORDS
},
31576 { (char *)"ListBox_SetStringSelection", (PyCFunction
) _wrap_ListBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
31577 { (char *)"ListBox_GetSelections", (PyCFunction
) _wrap_ListBox_GetSelections
, METH_VARARGS
| METH_KEYWORDS
},
31578 { (char *)"ListBox_SetFirstItem", (PyCFunction
) _wrap_ListBox_SetFirstItem
, METH_VARARGS
| METH_KEYWORDS
},
31579 { (char *)"ListBox_SetFirstItemStr", (PyCFunction
) _wrap_ListBox_SetFirstItemStr
, METH_VARARGS
| METH_KEYWORDS
},
31580 { (char *)"ListBox_EnsureVisible", (PyCFunction
) _wrap_ListBox_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
},
31581 { (char *)"ListBox_AppendAndEnsureVisible", (PyCFunction
) _wrap_ListBox_AppendAndEnsureVisible
, METH_VARARGS
| METH_KEYWORDS
},
31582 { (char *)"ListBox_IsSorted", (PyCFunction
) _wrap_ListBox_IsSorted
, METH_VARARGS
| METH_KEYWORDS
},
31583 { (char *)"ListBox_SetItemForegroundColour", (PyCFunction
) _wrap_ListBox_SetItemForegroundColour
, METH_VARARGS
| METH_KEYWORDS
},
31584 { (char *)"ListBox_SetItemBackgroundColour", (PyCFunction
) _wrap_ListBox_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
31585 { (char *)"ListBox_SetItemFont", (PyCFunction
) _wrap_ListBox_SetItemFont
, METH_VARARGS
| METH_KEYWORDS
},
31586 { (char *)"ListBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_ListBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31587 { (char *)"ListBox_swigregister", ListBox_swigregister
, METH_VARARGS
},
31588 { (char *)"new_CheckListBox", (PyCFunction
) _wrap_new_CheckListBox
, METH_VARARGS
| METH_KEYWORDS
},
31589 { (char *)"new_PreCheckListBox", (PyCFunction
) _wrap_new_PreCheckListBox
, METH_VARARGS
| METH_KEYWORDS
},
31590 { (char *)"CheckListBox_Create", (PyCFunction
) _wrap_CheckListBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
31591 { (char *)"CheckListBox_IsChecked", (PyCFunction
) _wrap_CheckListBox_IsChecked
, METH_VARARGS
| METH_KEYWORDS
},
31592 { (char *)"CheckListBox_Check", (PyCFunction
) _wrap_CheckListBox_Check
, METH_VARARGS
| METH_KEYWORDS
},
31593 { (char *)"CheckListBox_GetItemHeight", (PyCFunction
) _wrap_CheckListBox_GetItemHeight
, METH_VARARGS
| METH_KEYWORDS
},
31594 { (char *)"CheckListBox_HitTest", (PyCFunction
) _wrap_CheckListBox_HitTest
, METH_VARARGS
| METH_KEYWORDS
},
31595 { (char *)"CheckListBox_HitTestXY", (PyCFunction
) _wrap_CheckListBox_HitTestXY
, METH_VARARGS
| METH_KEYWORDS
},
31596 { (char *)"CheckListBox_swigregister", CheckListBox_swigregister
, METH_VARARGS
},
31597 { (char *)"new_TextAttr", (PyCFunction
) _wrap_new_TextAttr
, METH_VARARGS
| METH_KEYWORDS
},
31598 { (char *)"delete_TextAttr", (PyCFunction
) _wrap_delete_TextAttr
, METH_VARARGS
| METH_KEYWORDS
},
31599 { (char *)"TextAttr_Init", (PyCFunction
) _wrap_TextAttr_Init
, METH_VARARGS
| METH_KEYWORDS
},
31600 { (char *)"TextAttr_SetTextColour", (PyCFunction
) _wrap_TextAttr_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
31601 { (char *)"TextAttr_SetBackgroundColour", (PyCFunction
) _wrap_TextAttr_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
31602 { (char *)"TextAttr_SetFont", (PyCFunction
) _wrap_TextAttr_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
31603 { (char *)"TextAttr_SetAlignment", (PyCFunction
) _wrap_TextAttr_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
},
31604 { (char *)"TextAttr_SetTabs", (PyCFunction
) _wrap_TextAttr_SetTabs
, METH_VARARGS
| METH_KEYWORDS
},
31605 { (char *)"TextAttr_SetLeftIndent", (PyCFunction
) _wrap_TextAttr_SetLeftIndent
, METH_VARARGS
| METH_KEYWORDS
},
31606 { (char *)"TextAttr_SetRightIndent", (PyCFunction
) _wrap_TextAttr_SetRightIndent
, METH_VARARGS
| METH_KEYWORDS
},
31607 { (char *)"TextAttr_SetFlags", (PyCFunction
) _wrap_TextAttr_SetFlags
, METH_VARARGS
| METH_KEYWORDS
},
31608 { (char *)"TextAttr_HasTextColour", (PyCFunction
) _wrap_TextAttr_HasTextColour
, METH_VARARGS
| METH_KEYWORDS
},
31609 { (char *)"TextAttr_HasBackgroundColour", (PyCFunction
) _wrap_TextAttr_HasBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
31610 { (char *)"TextAttr_HasFont", (PyCFunction
) _wrap_TextAttr_HasFont
, METH_VARARGS
| METH_KEYWORDS
},
31611 { (char *)"TextAttr_HasAlignment", (PyCFunction
) _wrap_TextAttr_HasAlignment
, METH_VARARGS
| METH_KEYWORDS
},
31612 { (char *)"TextAttr_HasTabs", (PyCFunction
) _wrap_TextAttr_HasTabs
, METH_VARARGS
| METH_KEYWORDS
},
31613 { (char *)"TextAttr_HasLeftIndent", (PyCFunction
) _wrap_TextAttr_HasLeftIndent
, METH_VARARGS
| METH_KEYWORDS
},
31614 { (char *)"TextAttr_HasRightIndent", (PyCFunction
) _wrap_TextAttr_HasRightIndent
, METH_VARARGS
| METH_KEYWORDS
},
31615 { (char *)"TextAttr_HasFlag", (PyCFunction
) _wrap_TextAttr_HasFlag
, METH_VARARGS
| METH_KEYWORDS
},
31616 { (char *)"TextAttr_GetTextColour", (PyCFunction
) _wrap_TextAttr_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
31617 { (char *)"TextAttr_GetBackgroundColour", (PyCFunction
) _wrap_TextAttr_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
31618 { (char *)"TextAttr_GetFont", (PyCFunction
) _wrap_TextAttr_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
31619 { (char *)"TextAttr_GetAlignment", (PyCFunction
) _wrap_TextAttr_GetAlignment
, METH_VARARGS
| METH_KEYWORDS
},
31620 { (char *)"TextAttr_GetTabs", (PyCFunction
) _wrap_TextAttr_GetTabs
, METH_VARARGS
| METH_KEYWORDS
},
31621 { (char *)"TextAttr_GetLeftIndent", (PyCFunction
) _wrap_TextAttr_GetLeftIndent
, METH_VARARGS
| METH_KEYWORDS
},
31622 { (char *)"TextAttr_GetLeftSubIndent", (PyCFunction
) _wrap_TextAttr_GetLeftSubIndent
, METH_VARARGS
| METH_KEYWORDS
},
31623 { (char *)"TextAttr_GetRightIndent", (PyCFunction
) _wrap_TextAttr_GetRightIndent
, METH_VARARGS
| METH_KEYWORDS
},
31624 { (char *)"TextAttr_GetFlags", (PyCFunction
) _wrap_TextAttr_GetFlags
, METH_VARARGS
| METH_KEYWORDS
},
31625 { (char *)"TextAttr_IsDefault", (PyCFunction
) _wrap_TextAttr_IsDefault
, METH_VARARGS
| METH_KEYWORDS
},
31626 { (char *)"TextAttr_Combine", (PyCFunction
) _wrap_TextAttr_Combine
, METH_VARARGS
| METH_KEYWORDS
},
31627 { (char *)"TextAttr_swigregister", TextAttr_swigregister
, METH_VARARGS
},
31628 { (char *)"new_TextCtrl", (PyCFunction
) _wrap_new_TextCtrl
, METH_VARARGS
| METH_KEYWORDS
},
31629 { (char *)"new_PreTextCtrl", (PyCFunction
) _wrap_new_PreTextCtrl
, METH_VARARGS
| METH_KEYWORDS
},
31630 { (char *)"TextCtrl_Create", (PyCFunction
) _wrap_TextCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
},
31631 { (char *)"TextCtrl_GetValue", (PyCFunction
) _wrap_TextCtrl_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
31632 { (char *)"TextCtrl_SetValue", (PyCFunction
) _wrap_TextCtrl_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
31633 { (char *)"TextCtrl_GetRange", (PyCFunction
) _wrap_TextCtrl_GetRange
, METH_VARARGS
| METH_KEYWORDS
},
31634 { (char *)"TextCtrl_GetLineLength", (PyCFunction
) _wrap_TextCtrl_GetLineLength
, METH_VARARGS
| METH_KEYWORDS
},
31635 { (char *)"TextCtrl_GetLineText", (PyCFunction
) _wrap_TextCtrl_GetLineText
, METH_VARARGS
| METH_KEYWORDS
},
31636 { (char *)"TextCtrl_GetNumberOfLines", (PyCFunction
) _wrap_TextCtrl_GetNumberOfLines
, METH_VARARGS
| METH_KEYWORDS
},
31637 { (char *)"TextCtrl_IsModified", (PyCFunction
) _wrap_TextCtrl_IsModified
, METH_VARARGS
| METH_KEYWORDS
},
31638 { (char *)"TextCtrl_IsEditable", (PyCFunction
) _wrap_TextCtrl_IsEditable
, METH_VARARGS
| METH_KEYWORDS
},
31639 { (char *)"TextCtrl_IsSingleLine", (PyCFunction
) _wrap_TextCtrl_IsSingleLine
, METH_VARARGS
| METH_KEYWORDS
},
31640 { (char *)"TextCtrl_IsMultiLine", (PyCFunction
) _wrap_TextCtrl_IsMultiLine
, METH_VARARGS
| METH_KEYWORDS
},
31641 { (char *)"TextCtrl_GetSelection", (PyCFunction
) _wrap_TextCtrl_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
31642 { (char *)"TextCtrl_GetStringSelection", (PyCFunction
) _wrap_TextCtrl_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
31643 { (char *)"TextCtrl_Clear", (PyCFunction
) _wrap_TextCtrl_Clear
, METH_VARARGS
| METH_KEYWORDS
},
31644 { (char *)"TextCtrl_Replace", (PyCFunction
) _wrap_TextCtrl_Replace
, METH_VARARGS
| METH_KEYWORDS
},
31645 { (char *)"TextCtrl_Remove", (PyCFunction
) _wrap_TextCtrl_Remove
, METH_VARARGS
| METH_KEYWORDS
},
31646 { (char *)"TextCtrl_LoadFile", (PyCFunction
) _wrap_TextCtrl_LoadFile
, METH_VARARGS
| METH_KEYWORDS
},
31647 { (char *)"TextCtrl_SaveFile", (PyCFunction
) _wrap_TextCtrl_SaveFile
, METH_VARARGS
| METH_KEYWORDS
},
31648 { (char *)"TextCtrl_MarkDirty", (PyCFunction
) _wrap_TextCtrl_MarkDirty
, METH_VARARGS
| METH_KEYWORDS
},
31649 { (char *)"TextCtrl_DiscardEdits", (PyCFunction
) _wrap_TextCtrl_DiscardEdits
, METH_VARARGS
| METH_KEYWORDS
},
31650 { (char *)"TextCtrl_SetMaxLength", (PyCFunction
) _wrap_TextCtrl_SetMaxLength
, METH_VARARGS
| METH_KEYWORDS
},
31651 { (char *)"TextCtrl_WriteText", (PyCFunction
) _wrap_TextCtrl_WriteText
, METH_VARARGS
| METH_KEYWORDS
},
31652 { (char *)"TextCtrl_AppendText", (PyCFunction
) _wrap_TextCtrl_AppendText
, METH_VARARGS
| METH_KEYWORDS
},
31653 { (char *)"TextCtrl_EmulateKeyPress", (PyCFunction
) _wrap_TextCtrl_EmulateKeyPress
, METH_VARARGS
| METH_KEYWORDS
},
31654 { (char *)"TextCtrl_SetStyle", (PyCFunction
) _wrap_TextCtrl_SetStyle
, METH_VARARGS
| METH_KEYWORDS
},
31655 { (char *)"TextCtrl_GetStyle", (PyCFunction
) _wrap_TextCtrl_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
31656 { (char *)"TextCtrl_SetDefaultStyle", (PyCFunction
) _wrap_TextCtrl_SetDefaultStyle
, METH_VARARGS
| METH_KEYWORDS
},
31657 { (char *)"TextCtrl_GetDefaultStyle", (PyCFunction
) _wrap_TextCtrl_GetDefaultStyle
, METH_VARARGS
| METH_KEYWORDS
},
31658 { (char *)"TextCtrl_XYToPosition", (PyCFunction
) _wrap_TextCtrl_XYToPosition
, METH_VARARGS
| METH_KEYWORDS
},
31659 { (char *)"TextCtrl_PositionToXY", (PyCFunction
) _wrap_TextCtrl_PositionToXY
, METH_VARARGS
| METH_KEYWORDS
},
31660 { (char *)"TextCtrl_ShowPosition", (PyCFunction
) _wrap_TextCtrl_ShowPosition
, METH_VARARGS
| METH_KEYWORDS
},
31661 { (char *)"TextCtrl_HitTest", (PyCFunction
) _wrap_TextCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
},
31662 { (char *)"TextCtrl_Copy", (PyCFunction
) _wrap_TextCtrl_Copy
, METH_VARARGS
| METH_KEYWORDS
},
31663 { (char *)"TextCtrl_Cut", (PyCFunction
) _wrap_TextCtrl_Cut
, METH_VARARGS
| METH_KEYWORDS
},
31664 { (char *)"TextCtrl_Paste", (PyCFunction
) _wrap_TextCtrl_Paste
, METH_VARARGS
| METH_KEYWORDS
},
31665 { (char *)"TextCtrl_CanCopy", (PyCFunction
) _wrap_TextCtrl_CanCopy
, METH_VARARGS
| METH_KEYWORDS
},
31666 { (char *)"TextCtrl_CanCut", (PyCFunction
) _wrap_TextCtrl_CanCut
, METH_VARARGS
| METH_KEYWORDS
},
31667 { (char *)"TextCtrl_CanPaste", (PyCFunction
) _wrap_TextCtrl_CanPaste
, METH_VARARGS
| METH_KEYWORDS
},
31668 { (char *)"TextCtrl_Undo", (PyCFunction
) _wrap_TextCtrl_Undo
, METH_VARARGS
| METH_KEYWORDS
},
31669 { (char *)"TextCtrl_Redo", (PyCFunction
) _wrap_TextCtrl_Redo
, METH_VARARGS
| METH_KEYWORDS
},
31670 { (char *)"TextCtrl_CanUndo", (PyCFunction
) _wrap_TextCtrl_CanUndo
, METH_VARARGS
| METH_KEYWORDS
},
31671 { (char *)"TextCtrl_CanRedo", (PyCFunction
) _wrap_TextCtrl_CanRedo
, METH_VARARGS
| METH_KEYWORDS
},
31672 { (char *)"TextCtrl_SetInsertionPoint", (PyCFunction
) _wrap_TextCtrl_SetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
},
31673 { (char *)"TextCtrl_SetInsertionPointEnd", (PyCFunction
) _wrap_TextCtrl_SetInsertionPointEnd
, METH_VARARGS
| METH_KEYWORDS
},
31674 { (char *)"TextCtrl_GetInsertionPoint", (PyCFunction
) _wrap_TextCtrl_GetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
},
31675 { (char *)"TextCtrl_GetLastPosition", (PyCFunction
) _wrap_TextCtrl_GetLastPosition
, METH_VARARGS
| METH_KEYWORDS
},
31676 { (char *)"TextCtrl_SetSelection", (PyCFunction
) _wrap_TextCtrl_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
31677 { (char *)"TextCtrl_SelectAll", (PyCFunction
) _wrap_TextCtrl_SelectAll
, METH_VARARGS
| METH_KEYWORDS
},
31678 { (char *)"TextCtrl_SetEditable", (PyCFunction
) _wrap_TextCtrl_SetEditable
, METH_VARARGS
| METH_KEYWORDS
},
31679 { (char *)"TextCtrl_ShowNativeCaret", (PyCFunction
) _wrap_TextCtrl_ShowNativeCaret
, METH_VARARGS
| METH_KEYWORDS
},
31680 { (char *)"TextCtrl_HideNativeCaret", (PyCFunction
) _wrap_TextCtrl_HideNativeCaret
, METH_VARARGS
| METH_KEYWORDS
},
31681 { (char *)"TextCtrl_write", (PyCFunction
) _wrap_TextCtrl_write
, METH_VARARGS
| METH_KEYWORDS
},
31682 { (char *)"TextCtrl_GetString", (PyCFunction
) _wrap_TextCtrl_GetString
, METH_VARARGS
| METH_KEYWORDS
},
31683 { (char *)"TextCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_TextCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31684 { (char *)"TextCtrl_swigregister", TextCtrl_swigregister
, METH_VARARGS
},
31685 { (char *)"new_TextUrlEvent", (PyCFunction
) _wrap_new_TextUrlEvent
, METH_VARARGS
| METH_KEYWORDS
},
31686 { (char *)"TextUrlEvent_GetMouseEvent", (PyCFunction
) _wrap_TextUrlEvent_GetMouseEvent
, METH_VARARGS
| METH_KEYWORDS
},
31687 { (char *)"TextUrlEvent_GetURLStart", (PyCFunction
) _wrap_TextUrlEvent_GetURLStart
, METH_VARARGS
| METH_KEYWORDS
},
31688 { (char *)"TextUrlEvent_GetURLEnd", (PyCFunction
) _wrap_TextUrlEvent_GetURLEnd
, METH_VARARGS
| METH_KEYWORDS
},
31689 { (char *)"TextUrlEvent_swigregister", TextUrlEvent_swigregister
, METH_VARARGS
},
31690 { (char *)"new_ScrollBar", (PyCFunction
) _wrap_new_ScrollBar
, METH_VARARGS
| METH_KEYWORDS
},
31691 { (char *)"new_PreScrollBar", (PyCFunction
) _wrap_new_PreScrollBar
, METH_VARARGS
| METH_KEYWORDS
},
31692 { (char *)"ScrollBar_Create", (PyCFunction
) _wrap_ScrollBar_Create
, METH_VARARGS
| METH_KEYWORDS
},
31693 { (char *)"ScrollBar_GetThumbPosition", (PyCFunction
) _wrap_ScrollBar_GetThumbPosition
, METH_VARARGS
| METH_KEYWORDS
},
31694 { (char *)"ScrollBar_GetThumbSize", (PyCFunction
) _wrap_ScrollBar_GetThumbSize
, METH_VARARGS
| METH_KEYWORDS
},
31695 { (char *)"ScrollBar_GetPageSize", (PyCFunction
) _wrap_ScrollBar_GetPageSize
, METH_VARARGS
| METH_KEYWORDS
},
31696 { (char *)"ScrollBar_GetRange", (PyCFunction
) _wrap_ScrollBar_GetRange
, METH_VARARGS
| METH_KEYWORDS
},
31697 { (char *)"ScrollBar_IsVertical", (PyCFunction
) _wrap_ScrollBar_IsVertical
, METH_VARARGS
| METH_KEYWORDS
},
31698 { (char *)"ScrollBar_SetThumbPosition", (PyCFunction
) _wrap_ScrollBar_SetThumbPosition
, METH_VARARGS
| METH_KEYWORDS
},
31699 { (char *)"ScrollBar_SetScrollbar", (PyCFunction
) _wrap_ScrollBar_SetScrollbar
, METH_VARARGS
| METH_KEYWORDS
},
31700 { (char *)"ScrollBar_GetClassDefaultAttributes", (PyCFunction
) _wrap_ScrollBar_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31701 { (char *)"ScrollBar_swigregister", ScrollBar_swigregister
, METH_VARARGS
},
31702 { (char *)"new_SpinButton", (PyCFunction
) _wrap_new_SpinButton
, METH_VARARGS
| METH_KEYWORDS
},
31703 { (char *)"new_PreSpinButton", (PyCFunction
) _wrap_new_PreSpinButton
, METH_VARARGS
| METH_KEYWORDS
},
31704 { (char *)"SpinButton_Create", (PyCFunction
) _wrap_SpinButton_Create
, METH_VARARGS
| METH_KEYWORDS
},
31705 { (char *)"SpinButton_GetValue", (PyCFunction
) _wrap_SpinButton_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
31706 { (char *)"SpinButton_GetMin", (PyCFunction
) _wrap_SpinButton_GetMin
, METH_VARARGS
| METH_KEYWORDS
},
31707 { (char *)"SpinButton_GetMax", (PyCFunction
) _wrap_SpinButton_GetMax
, METH_VARARGS
| METH_KEYWORDS
},
31708 { (char *)"SpinButton_SetValue", (PyCFunction
) _wrap_SpinButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
31709 { (char *)"SpinButton_SetMin", (PyCFunction
) _wrap_SpinButton_SetMin
, METH_VARARGS
| METH_KEYWORDS
},
31710 { (char *)"SpinButton_SetMax", (PyCFunction
) _wrap_SpinButton_SetMax
, METH_VARARGS
| METH_KEYWORDS
},
31711 { (char *)"SpinButton_SetRange", (PyCFunction
) _wrap_SpinButton_SetRange
, METH_VARARGS
| METH_KEYWORDS
},
31712 { (char *)"SpinButton_IsVertical", (PyCFunction
) _wrap_SpinButton_IsVertical
, METH_VARARGS
| METH_KEYWORDS
},
31713 { (char *)"SpinButton_GetClassDefaultAttributes", (PyCFunction
) _wrap_SpinButton_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31714 { (char *)"SpinButton_swigregister", SpinButton_swigregister
, METH_VARARGS
},
31715 { (char *)"new_SpinCtrl", (PyCFunction
) _wrap_new_SpinCtrl
, METH_VARARGS
| METH_KEYWORDS
},
31716 { (char *)"new_PreSpinCtrl", (PyCFunction
) _wrap_new_PreSpinCtrl
, METH_VARARGS
| METH_KEYWORDS
},
31717 { (char *)"SpinCtrl_Create", (PyCFunction
) _wrap_SpinCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
},
31718 { (char *)"SpinCtrl_GetValue", (PyCFunction
) _wrap_SpinCtrl_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
31719 { (char *)"SpinCtrl_SetValue", (PyCFunction
) _wrap_SpinCtrl_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
31720 { (char *)"SpinCtrl_SetValueString", (PyCFunction
) _wrap_SpinCtrl_SetValueString
, METH_VARARGS
| METH_KEYWORDS
},
31721 { (char *)"SpinCtrl_SetRange", (PyCFunction
) _wrap_SpinCtrl_SetRange
, METH_VARARGS
| METH_KEYWORDS
},
31722 { (char *)"SpinCtrl_GetMin", (PyCFunction
) _wrap_SpinCtrl_GetMin
, METH_VARARGS
| METH_KEYWORDS
},
31723 { (char *)"SpinCtrl_GetMax", (PyCFunction
) _wrap_SpinCtrl_GetMax
, METH_VARARGS
| METH_KEYWORDS
},
31724 { (char *)"SpinCtrl_SetSelection", (PyCFunction
) _wrap_SpinCtrl_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
31725 { (char *)"SpinCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_SpinCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31726 { (char *)"SpinCtrl_swigregister", SpinCtrl_swigregister
, METH_VARARGS
},
31727 { (char *)"new_SpinEvent", (PyCFunction
) _wrap_new_SpinEvent
, METH_VARARGS
| METH_KEYWORDS
},
31728 { (char *)"SpinEvent_GetPosition", (PyCFunction
) _wrap_SpinEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
31729 { (char *)"SpinEvent_SetPosition", (PyCFunction
) _wrap_SpinEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
},
31730 { (char *)"SpinEvent_swigregister", SpinEvent_swigregister
, METH_VARARGS
},
31731 { (char *)"new_RadioBox", (PyCFunction
) _wrap_new_RadioBox
, METH_VARARGS
| METH_KEYWORDS
},
31732 { (char *)"new_PreRadioBox", (PyCFunction
) _wrap_new_PreRadioBox
, METH_VARARGS
| METH_KEYWORDS
},
31733 { (char *)"RadioBox_Create", (PyCFunction
) _wrap_RadioBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
31734 { (char *)"RadioBox_SetSelection", (PyCFunction
) _wrap_RadioBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
31735 { (char *)"RadioBox_GetSelection", (PyCFunction
) _wrap_RadioBox_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
31736 { (char *)"RadioBox_GetStringSelection", (PyCFunction
) _wrap_RadioBox_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
31737 { (char *)"RadioBox_SetStringSelection", (PyCFunction
) _wrap_RadioBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
31738 { (char *)"RadioBox_GetCount", (PyCFunction
) _wrap_RadioBox_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
31739 { (char *)"RadioBox_FindString", (PyCFunction
) _wrap_RadioBox_FindString
, METH_VARARGS
| METH_KEYWORDS
},
31740 { (char *)"RadioBox_GetString", (PyCFunction
) _wrap_RadioBox_GetString
, METH_VARARGS
| METH_KEYWORDS
},
31741 { (char *)"RadioBox_SetString", (PyCFunction
) _wrap_RadioBox_SetString
, METH_VARARGS
| METH_KEYWORDS
},
31742 { (char *)"RadioBox_EnableItem", (PyCFunction
) _wrap_RadioBox_EnableItem
, METH_VARARGS
| METH_KEYWORDS
},
31743 { (char *)"RadioBox_ShowItem", (PyCFunction
) _wrap_RadioBox_ShowItem
, METH_VARARGS
| METH_KEYWORDS
},
31744 { (char *)"RadioBox_GetColumnCount", (PyCFunction
) _wrap_RadioBox_GetColumnCount
, METH_VARARGS
| METH_KEYWORDS
},
31745 { (char *)"RadioBox_GetRowCount", (PyCFunction
) _wrap_RadioBox_GetRowCount
, METH_VARARGS
| METH_KEYWORDS
},
31746 { (char *)"RadioBox_GetNextItem", (PyCFunction
) _wrap_RadioBox_GetNextItem
, METH_VARARGS
| METH_KEYWORDS
},
31747 { (char *)"RadioBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_RadioBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31748 { (char *)"RadioBox_swigregister", RadioBox_swigregister
, METH_VARARGS
},
31749 { (char *)"new_RadioButton", (PyCFunction
) _wrap_new_RadioButton
, METH_VARARGS
| METH_KEYWORDS
},
31750 { (char *)"new_PreRadioButton", (PyCFunction
) _wrap_new_PreRadioButton
, METH_VARARGS
| METH_KEYWORDS
},
31751 { (char *)"RadioButton_Create", (PyCFunction
) _wrap_RadioButton_Create
, METH_VARARGS
| METH_KEYWORDS
},
31752 { (char *)"RadioButton_GetValue", (PyCFunction
) _wrap_RadioButton_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
31753 { (char *)"RadioButton_SetValue", (PyCFunction
) _wrap_RadioButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
31754 { (char *)"RadioButton_GetClassDefaultAttributes", (PyCFunction
) _wrap_RadioButton_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31755 { (char *)"RadioButton_swigregister", RadioButton_swigregister
, METH_VARARGS
},
31756 { (char *)"new_Slider", (PyCFunction
) _wrap_new_Slider
, METH_VARARGS
| METH_KEYWORDS
},
31757 { (char *)"new_PreSlider", (PyCFunction
) _wrap_new_PreSlider
, METH_VARARGS
| METH_KEYWORDS
},
31758 { (char *)"Slider_Create", (PyCFunction
) _wrap_Slider_Create
, METH_VARARGS
| METH_KEYWORDS
},
31759 { (char *)"Slider_GetValue", (PyCFunction
) _wrap_Slider_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
31760 { (char *)"Slider_SetValue", (PyCFunction
) _wrap_Slider_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
31761 { (char *)"Slider_SetRange", (PyCFunction
) _wrap_Slider_SetRange
, METH_VARARGS
| METH_KEYWORDS
},
31762 { (char *)"Slider_GetMin", (PyCFunction
) _wrap_Slider_GetMin
, METH_VARARGS
| METH_KEYWORDS
},
31763 { (char *)"Slider_GetMax", (PyCFunction
) _wrap_Slider_GetMax
, METH_VARARGS
| METH_KEYWORDS
},
31764 { (char *)"Slider_SetMin", (PyCFunction
) _wrap_Slider_SetMin
, METH_VARARGS
| METH_KEYWORDS
},
31765 { (char *)"Slider_SetMax", (PyCFunction
) _wrap_Slider_SetMax
, METH_VARARGS
| METH_KEYWORDS
},
31766 { (char *)"Slider_SetLineSize", (PyCFunction
) _wrap_Slider_SetLineSize
, METH_VARARGS
| METH_KEYWORDS
},
31767 { (char *)"Slider_SetPageSize", (PyCFunction
) _wrap_Slider_SetPageSize
, METH_VARARGS
| METH_KEYWORDS
},
31768 { (char *)"Slider_GetLineSize", (PyCFunction
) _wrap_Slider_GetLineSize
, METH_VARARGS
| METH_KEYWORDS
},
31769 { (char *)"Slider_GetPageSize", (PyCFunction
) _wrap_Slider_GetPageSize
, METH_VARARGS
| METH_KEYWORDS
},
31770 { (char *)"Slider_SetThumbLength", (PyCFunction
) _wrap_Slider_SetThumbLength
, METH_VARARGS
| METH_KEYWORDS
},
31771 { (char *)"Slider_GetThumbLength", (PyCFunction
) _wrap_Slider_GetThumbLength
, METH_VARARGS
| METH_KEYWORDS
},
31772 { (char *)"Slider_SetTickFreq", (PyCFunction
) _wrap_Slider_SetTickFreq
, METH_VARARGS
| METH_KEYWORDS
},
31773 { (char *)"Slider_GetTickFreq", (PyCFunction
) _wrap_Slider_GetTickFreq
, METH_VARARGS
| METH_KEYWORDS
},
31774 { (char *)"Slider_ClearTicks", (PyCFunction
) _wrap_Slider_ClearTicks
, METH_VARARGS
| METH_KEYWORDS
},
31775 { (char *)"Slider_SetTick", (PyCFunction
) _wrap_Slider_SetTick
, METH_VARARGS
| METH_KEYWORDS
},
31776 { (char *)"Slider_ClearSel", (PyCFunction
) _wrap_Slider_ClearSel
, METH_VARARGS
| METH_KEYWORDS
},
31777 { (char *)"Slider_GetSelEnd", (PyCFunction
) _wrap_Slider_GetSelEnd
, METH_VARARGS
| METH_KEYWORDS
},
31778 { (char *)"Slider_GetSelStart", (PyCFunction
) _wrap_Slider_GetSelStart
, METH_VARARGS
| METH_KEYWORDS
},
31779 { (char *)"Slider_SetSelection", (PyCFunction
) _wrap_Slider_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
31780 { (char *)"Slider_GetClassDefaultAttributes", (PyCFunction
) _wrap_Slider_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31781 { (char *)"Slider_swigregister", Slider_swigregister
, METH_VARARGS
},
31782 { (char *)"new_ToggleButton", (PyCFunction
) _wrap_new_ToggleButton
, METH_VARARGS
| METH_KEYWORDS
},
31783 { (char *)"new_PreToggleButton", (PyCFunction
) _wrap_new_PreToggleButton
, METH_VARARGS
| METH_KEYWORDS
},
31784 { (char *)"ToggleButton_Create", (PyCFunction
) _wrap_ToggleButton_Create
, METH_VARARGS
| METH_KEYWORDS
},
31785 { (char *)"ToggleButton_SetValue", (PyCFunction
) _wrap_ToggleButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
31786 { (char *)"ToggleButton_GetValue", (PyCFunction
) _wrap_ToggleButton_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
31787 { (char *)"ToggleButton_SetLabel", (PyCFunction
) _wrap_ToggleButton_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
31788 { (char *)"ToggleButton_GetClassDefaultAttributes", (PyCFunction
) _wrap_ToggleButton_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31789 { (char *)"ToggleButton_swigregister", ToggleButton_swigregister
, METH_VARARGS
},
31790 { (char *)"BookCtrl_GetPageCount", (PyCFunction
) _wrap_BookCtrl_GetPageCount
, METH_VARARGS
| METH_KEYWORDS
},
31791 { (char *)"BookCtrl_GetPage", (PyCFunction
) _wrap_BookCtrl_GetPage
, METH_VARARGS
| METH_KEYWORDS
},
31792 { (char *)"BookCtrl_GetSelection", (PyCFunction
) _wrap_BookCtrl_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
31793 { (char *)"BookCtrl_SetPageText", (PyCFunction
) _wrap_BookCtrl_SetPageText
, METH_VARARGS
| METH_KEYWORDS
},
31794 { (char *)"BookCtrl_GetPageText", (PyCFunction
) _wrap_BookCtrl_GetPageText
, METH_VARARGS
| METH_KEYWORDS
},
31795 { (char *)"BookCtrl_SetImageList", (PyCFunction
) _wrap_BookCtrl_SetImageList
, METH_VARARGS
| METH_KEYWORDS
},
31796 { (char *)"BookCtrl_AssignImageList", (PyCFunction
) _wrap_BookCtrl_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
},
31797 { (char *)"BookCtrl_GetImageList", (PyCFunction
) _wrap_BookCtrl_GetImageList
, METH_VARARGS
| METH_KEYWORDS
},
31798 { (char *)"BookCtrl_GetPageImage", (PyCFunction
) _wrap_BookCtrl_GetPageImage
, METH_VARARGS
| METH_KEYWORDS
},
31799 { (char *)"BookCtrl_SetPageImage", (PyCFunction
) _wrap_BookCtrl_SetPageImage
, METH_VARARGS
| METH_KEYWORDS
},
31800 { (char *)"BookCtrl_SetPageSize", (PyCFunction
) _wrap_BookCtrl_SetPageSize
, METH_VARARGS
| METH_KEYWORDS
},
31801 { (char *)"BookCtrl_CalcSizeFromPage", (PyCFunction
) _wrap_BookCtrl_CalcSizeFromPage
, METH_VARARGS
| METH_KEYWORDS
},
31802 { (char *)"BookCtrl_DeletePage", (PyCFunction
) _wrap_BookCtrl_DeletePage
, METH_VARARGS
| METH_KEYWORDS
},
31803 { (char *)"BookCtrl_RemovePage", (PyCFunction
) _wrap_BookCtrl_RemovePage
, METH_VARARGS
| METH_KEYWORDS
},
31804 { (char *)"BookCtrl_DeleteAllPages", (PyCFunction
) _wrap_BookCtrl_DeleteAllPages
, METH_VARARGS
| METH_KEYWORDS
},
31805 { (char *)"BookCtrl_AddPage", (PyCFunction
) _wrap_BookCtrl_AddPage
, METH_VARARGS
| METH_KEYWORDS
},
31806 { (char *)"BookCtrl_InsertPage", (PyCFunction
) _wrap_BookCtrl_InsertPage
, METH_VARARGS
| METH_KEYWORDS
},
31807 { (char *)"BookCtrl_SetSelection", (PyCFunction
) _wrap_BookCtrl_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
31808 { (char *)"BookCtrl_AdvanceSelection", (PyCFunction
) _wrap_BookCtrl_AdvanceSelection
, METH_VARARGS
| METH_KEYWORDS
},
31809 { (char *)"BookCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_BookCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31810 { (char *)"BookCtrl_swigregister", BookCtrl_swigregister
, METH_VARARGS
},
31811 { (char *)"new_BookCtrlEvent", (PyCFunction
) _wrap_new_BookCtrlEvent
, METH_VARARGS
| METH_KEYWORDS
},
31812 { (char *)"BookCtrlEvent_GetSelection", (PyCFunction
) _wrap_BookCtrlEvent_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
31813 { (char *)"BookCtrlEvent_SetSelection", (PyCFunction
) _wrap_BookCtrlEvent_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
31814 { (char *)"BookCtrlEvent_GetOldSelection", (PyCFunction
) _wrap_BookCtrlEvent_GetOldSelection
, METH_VARARGS
| METH_KEYWORDS
},
31815 { (char *)"BookCtrlEvent_SetOldSelection", (PyCFunction
) _wrap_BookCtrlEvent_SetOldSelection
, METH_VARARGS
| METH_KEYWORDS
},
31816 { (char *)"BookCtrlEvent_swigregister", BookCtrlEvent_swigregister
, METH_VARARGS
},
31817 { (char *)"new_Notebook", (PyCFunction
) _wrap_new_Notebook
, METH_VARARGS
| METH_KEYWORDS
},
31818 { (char *)"new_PreNotebook", (PyCFunction
) _wrap_new_PreNotebook
, METH_VARARGS
| METH_KEYWORDS
},
31819 { (char *)"Notebook_Create", (PyCFunction
) _wrap_Notebook_Create
, METH_VARARGS
| METH_KEYWORDS
},
31820 { (char *)"Notebook_GetRowCount", (PyCFunction
) _wrap_Notebook_GetRowCount
, METH_VARARGS
| METH_KEYWORDS
},
31821 { (char *)"Notebook_SetPadding", (PyCFunction
) _wrap_Notebook_SetPadding
, METH_VARARGS
| METH_KEYWORDS
},
31822 { (char *)"Notebook_SetTabSize", (PyCFunction
) _wrap_Notebook_SetTabSize
, METH_VARARGS
| METH_KEYWORDS
},
31823 { (char *)"Notebook_HitTest", (PyCFunction
) _wrap_Notebook_HitTest
, METH_VARARGS
| METH_KEYWORDS
},
31824 { (char *)"Notebook_CalcSizeFromPage", (PyCFunction
) _wrap_Notebook_CalcSizeFromPage
, METH_VARARGS
| METH_KEYWORDS
},
31825 { (char *)"Notebook_ApplyThemeBackground", (PyCFunction
) _wrap_Notebook_ApplyThemeBackground
, METH_VARARGS
| METH_KEYWORDS
},
31826 { (char *)"Notebook_GetClassDefaultAttributes", (PyCFunction
) _wrap_Notebook_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31827 { (char *)"Notebook_swigregister", Notebook_swigregister
, METH_VARARGS
},
31828 { (char *)"new_NotebookEvent", (PyCFunction
) _wrap_new_NotebookEvent
, METH_VARARGS
| METH_KEYWORDS
},
31829 { (char *)"NotebookEvent_swigregister", NotebookEvent_swigregister
, METH_VARARGS
},
31830 { (char *)"new_Listbook", (PyCFunction
) _wrap_new_Listbook
, METH_VARARGS
| METH_KEYWORDS
},
31831 { (char *)"new_PreListbook", (PyCFunction
) _wrap_new_PreListbook
, METH_VARARGS
| METH_KEYWORDS
},
31832 { (char *)"Listbook_Create", (PyCFunction
) _wrap_Listbook_Create
, METH_VARARGS
| METH_KEYWORDS
},
31833 { (char *)"Listbook_IsVertical", (PyCFunction
) _wrap_Listbook_IsVertical
, METH_VARARGS
| METH_KEYWORDS
},
31834 { (char *)"Listbook_swigregister", Listbook_swigregister
, METH_VARARGS
},
31835 { (char *)"new_ListbookEvent", (PyCFunction
) _wrap_new_ListbookEvent
, METH_VARARGS
| METH_KEYWORDS
},
31836 { (char *)"ListbookEvent_swigregister", ListbookEvent_swigregister
, METH_VARARGS
},
31837 { (char *)"new_BookCtrlSizer", (PyCFunction
) _wrap_new_BookCtrlSizer
, METH_VARARGS
| METH_KEYWORDS
},
31838 { (char *)"BookCtrlSizer_RecalcSizes", (PyCFunction
) _wrap_BookCtrlSizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
},
31839 { (char *)"BookCtrlSizer_CalcMin", (PyCFunction
) _wrap_BookCtrlSizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
},
31840 { (char *)"BookCtrlSizer_GetControl", (PyCFunction
) _wrap_BookCtrlSizer_GetControl
, METH_VARARGS
| METH_KEYWORDS
},
31841 { (char *)"BookCtrlSizer_swigregister", BookCtrlSizer_swigregister
, METH_VARARGS
},
31842 { (char *)"new_NotebookSizer", (PyCFunction
) _wrap_new_NotebookSizer
, METH_VARARGS
| METH_KEYWORDS
},
31843 { (char *)"NotebookSizer_RecalcSizes", (PyCFunction
) _wrap_NotebookSizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
},
31844 { (char *)"NotebookSizer_CalcMin", (PyCFunction
) _wrap_NotebookSizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
},
31845 { (char *)"NotebookSizer_GetNotebook", (PyCFunction
) _wrap_NotebookSizer_GetNotebook
, METH_VARARGS
| METH_KEYWORDS
},
31846 { (char *)"NotebookSizer_swigregister", NotebookSizer_swigregister
, METH_VARARGS
},
31847 { (char *)"ToolBarToolBase_GetId", (PyCFunction
) _wrap_ToolBarToolBase_GetId
, METH_VARARGS
| METH_KEYWORDS
},
31848 { (char *)"ToolBarToolBase_GetControl", (PyCFunction
) _wrap_ToolBarToolBase_GetControl
, METH_VARARGS
| METH_KEYWORDS
},
31849 { (char *)"ToolBarToolBase_GetToolBar", (PyCFunction
) _wrap_ToolBarToolBase_GetToolBar
, METH_VARARGS
| METH_KEYWORDS
},
31850 { (char *)"ToolBarToolBase_IsButton", (PyCFunction
) _wrap_ToolBarToolBase_IsButton
, METH_VARARGS
| METH_KEYWORDS
},
31851 { (char *)"ToolBarToolBase_IsControl", (PyCFunction
) _wrap_ToolBarToolBase_IsControl
, METH_VARARGS
| METH_KEYWORDS
},
31852 { (char *)"ToolBarToolBase_IsSeparator", (PyCFunction
) _wrap_ToolBarToolBase_IsSeparator
, METH_VARARGS
| METH_KEYWORDS
},
31853 { (char *)"ToolBarToolBase_GetStyle", (PyCFunction
) _wrap_ToolBarToolBase_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
31854 { (char *)"ToolBarToolBase_GetKind", (PyCFunction
) _wrap_ToolBarToolBase_GetKind
, METH_VARARGS
| METH_KEYWORDS
},
31855 { (char *)"ToolBarToolBase_IsEnabled", (PyCFunction
) _wrap_ToolBarToolBase_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
},
31856 { (char *)"ToolBarToolBase_IsToggled", (PyCFunction
) _wrap_ToolBarToolBase_IsToggled
, METH_VARARGS
| METH_KEYWORDS
},
31857 { (char *)"ToolBarToolBase_CanBeToggled", (PyCFunction
) _wrap_ToolBarToolBase_CanBeToggled
, METH_VARARGS
| METH_KEYWORDS
},
31858 { (char *)"ToolBarToolBase_GetNormalBitmap", (PyCFunction
) _wrap_ToolBarToolBase_GetNormalBitmap
, METH_VARARGS
| METH_KEYWORDS
},
31859 { (char *)"ToolBarToolBase_GetDisabledBitmap", (PyCFunction
) _wrap_ToolBarToolBase_GetDisabledBitmap
, METH_VARARGS
| METH_KEYWORDS
},
31860 { (char *)"ToolBarToolBase_GetBitmap", (PyCFunction
) _wrap_ToolBarToolBase_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
31861 { (char *)"ToolBarToolBase_GetLabel", (PyCFunction
) _wrap_ToolBarToolBase_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
31862 { (char *)"ToolBarToolBase_GetShortHelp", (PyCFunction
) _wrap_ToolBarToolBase_GetShortHelp
, METH_VARARGS
| METH_KEYWORDS
},
31863 { (char *)"ToolBarToolBase_GetLongHelp", (PyCFunction
) _wrap_ToolBarToolBase_GetLongHelp
, METH_VARARGS
| METH_KEYWORDS
},
31864 { (char *)"ToolBarToolBase_Enable", (PyCFunction
) _wrap_ToolBarToolBase_Enable
, METH_VARARGS
| METH_KEYWORDS
},
31865 { (char *)"ToolBarToolBase_Toggle", (PyCFunction
) _wrap_ToolBarToolBase_Toggle
, METH_VARARGS
| METH_KEYWORDS
},
31866 { (char *)"ToolBarToolBase_SetToggle", (PyCFunction
) _wrap_ToolBarToolBase_SetToggle
, METH_VARARGS
| METH_KEYWORDS
},
31867 { (char *)"ToolBarToolBase_SetShortHelp", (PyCFunction
) _wrap_ToolBarToolBase_SetShortHelp
, METH_VARARGS
| METH_KEYWORDS
},
31868 { (char *)"ToolBarToolBase_SetLongHelp", (PyCFunction
) _wrap_ToolBarToolBase_SetLongHelp
, METH_VARARGS
| METH_KEYWORDS
},
31869 { (char *)"ToolBarToolBase_SetNormalBitmap", (PyCFunction
) _wrap_ToolBarToolBase_SetNormalBitmap
, METH_VARARGS
| METH_KEYWORDS
},
31870 { (char *)"ToolBarToolBase_SetDisabledBitmap", (PyCFunction
) _wrap_ToolBarToolBase_SetDisabledBitmap
, METH_VARARGS
| METH_KEYWORDS
},
31871 { (char *)"ToolBarToolBase_SetLabel", (PyCFunction
) _wrap_ToolBarToolBase_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
31872 { (char *)"ToolBarToolBase_Detach", (PyCFunction
) _wrap_ToolBarToolBase_Detach
, METH_VARARGS
| METH_KEYWORDS
},
31873 { (char *)"ToolBarToolBase_Attach", (PyCFunction
) _wrap_ToolBarToolBase_Attach
, METH_VARARGS
| METH_KEYWORDS
},
31874 { (char *)"ToolBarToolBase_GetClientData", (PyCFunction
) _wrap_ToolBarToolBase_GetClientData
, METH_VARARGS
| METH_KEYWORDS
},
31875 { (char *)"ToolBarToolBase_SetClientData", (PyCFunction
) _wrap_ToolBarToolBase_SetClientData
, METH_VARARGS
| METH_KEYWORDS
},
31876 { (char *)"ToolBarToolBase_swigregister", ToolBarToolBase_swigregister
, METH_VARARGS
},
31877 { (char *)"ToolBarBase_DoAddTool", (PyCFunction
) _wrap_ToolBarBase_DoAddTool
, METH_VARARGS
| METH_KEYWORDS
},
31878 { (char *)"ToolBarBase_DoInsertTool", (PyCFunction
) _wrap_ToolBarBase_DoInsertTool
, METH_VARARGS
| METH_KEYWORDS
},
31879 { (char *)"ToolBarBase_AddToolItem", (PyCFunction
) _wrap_ToolBarBase_AddToolItem
, METH_VARARGS
| METH_KEYWORDS
},
31880 { (char *)"ToolBarBase_InsertToolItem", (PyCFunction
) _wrap_ToolBarBase_InsertToolItem
, METH_VARARGS
| METH_KEYWORDS
},
31881 { (char *)"ToolBarBase_AddControl", (PyCFunction
) _wrap_ToolBarBase_AddControl
, METH_VARARGS
| METH_KEYWORDS
},
31882 { (char *)"ToolBarBase_InsertControl", (PyCFunction
) _wrap_ToolBarBase_InsertControl
, METH_VARARGS
| METH_KEYWORDS
},
31883 { (char *)"ToolBarBase_FindControl", (PyCFunction
) _wrap_ToolBarBase_FindControl
, METH_VARARGS
| METH_KEYWORDS
},
31884 { (char *)"ToolBarBase_AddSeparator", (PyCFunction
) _wrap_ToolBarBase_AddSeparator
, METH_VARARGS
| METH_KEYWORDS
},
31885 { (char *)"ToolBarBase_InsertSeparator", (PyCFunction
) _wrap_ToolBarBase_InsertSeparator
, METH_VARARGS
| METH_KEYWORDS
},
31886 { (char *)"ToolBarBase_RemoveTool", (PyCFunction
) _wrap_ToolBarBase_RemoveTool
, METH_VARARGS
| METH_KEYWORDS
},
31887 { (char *)"ToolBarBase_DeleteToolByPos", (PyCFunction
) _wrap_ToolBarBase_DeleteToolByPos
, METH_VARARGS
| METH_KEYWORDS
},
31888 { (char *)"ToolBarBase_DeleteTool", (PyCFunction
) _wrap_ToolBarBase_DeleteTool
, METH_VARARGS
| METH_KEYWORDS
},
31889 { (char *)"ToolBarBase_ClearTools", (PyCFunction
) _wrap_ToolBarBase_ClearTools
, METH_VARARGS
| METH_KEYWORDS
},
31890 { (char *)"ToolBarBase_Realize", (PyCFunction
) _wrap_ToolBarBase_Realize
, METH_VARARGS
| METH_KEYWORDS
},
31891 { (char *)"ToolBarBase_EnableTool", (PyCFunction
) _wrap_ToolBarBase_EnableTool
, METH_VARARGS
| METH_KEYWORDS
},
31892 { (char *)"ToolBarBase_ToggleTool", (PyCFunction
) _wrap_ToolBarBase_ToggleTool
, METH_VARARGS
| METH_KEYWORDS
},
31893 { (char *)"ToolBarBase_SetToggle", (PyCFunction
) _wrap_ToolBarBase_SetToggle
, METH_VARARGS
| METH_KEYWORDS
},
31894 { (char *)"ToolBarBase_GetToolClientData", (PyCFunction
) _wrap_ToolBarBase_GetToolClientData
, METH_VARARGS
| METH_KEYWORDS
},
31895 { (char *)"ToolBarBase_SetToolClientData", (PyCFunction
) _wrap_ToolBarBase_SetToolClientData
, METH_VARARGS
| METH_KEYWORDS
},
31896 { (char *)"ToolBarBase_GetToolPos", (PyCFunction
) _wrap_ToolBarBase_GetToolPos
, METH_VARARGS
| METH_KEYWORDS
},
31897 { (char *)"ToolBarBase_GetToolState", (PyCFunction
) _wrap_ToolBarBase_GetToolState
, METH_VARARGS
| METH_KEYWORDS
},
31898 { (char *)"ToolBarBase_GetToolEnabled", (PyCFunction
) _wrap_ToolBarBase_GetToolEnabled
, METH_VARARGS
| METH_KEYWORDS
},
31899 { (char *)"ToolBarBase_SetToolShortHelp", (PyCFunction
) _wrap_ToolBarBase_SetToolShortHelp
, METH_VARARGS
| METH_KEYWORDS
},
31900 { (char *)"ToolBarBase_GetToolShortHelp", (PyCFunction
) _wrap_ToolBarBase_GetToolShortHelp
, METH_VARARGS
| METH_KEYWORDS
},
31901 { (char *)"ToolBarBase_SetToolLongHelp", (PyCFunction
) _wrap_ToolBarBase_SetToolLongHelp
, METH_VARARGS
| METH_KEYWORDS
},
31902 { (char *)"ToolBarBase_GetToolLongHelp", (PyCFunction
) _wrap_ToolBarBase_GetToolLongHelp
, METH_VARARGS
| METH_KEYWORDS
},
31903 { (char *)"ToolBarBase_SetMarginsXY", (PyCFunction
) _wrap_ToolBarBase_SetMarginsXY
, METH_VARARGS
| METH_KEYWORDS
},
31904 { (char *)"ToolBarBase_SetMargins", (PyCFunction
) _wrap_ToolBarBase_SetMargins
, METH_VARARGS
| METH_KEYWORDS
},
31905 { (char *)"ToolBarBase_SetToolPacking", (PyCFunction
) _wrap_ToolBarBase_SetToolPacking
, METH_VARARGS
| METH_KEYWORDS
},
31906 { (char *)"ToolBarBase_SetToolSeparation", (PyCFunction
) _wrap_ToolBarBase_SetToolSeparation
, METH_VARARGS
| METH_KEYWORDS
},
31907 { (char *)"ToolBarBase_GetToolMargins", (PyCFunction
) _wrap_ToolBarBase_GetToolMargins
, METH_VARARGS
| METH_KEYWORDS
},
31908 { (char *)"ToolBarBase_GetMargins", (PyCFunction
) _wrap_ToolBarBase_GetMargins
, METH_VARARGS
| METH_KEYWORDS
},
31909 { (char *)"ToolBarBase_GetToolPacking", (PyCFunction
) _wrap_ToolBarBase_GetToolPacking
, METH_VARARGS
| METH_KEYWORDS
},
31910 { (char *)"ToolBarBase_GetToolSeparation", (PyCFunction
) _wrap_ToolBarBase_GetToolSeparation
, METH_VARARGS
| METH_KEYWORDS
},
31911 { (char *)"ToolBarBase_SetRows", (PyCFunction
) _wrap_ToolBarBase_SetRows
, METH_VARARGS
| METH_KEYWORDS
},
31912 { (char *)"ToolBarBase_SetMaxRowsCols", (PyCFunction
) _wrap_ToolBarBase_SetMaxRowsCols
, METH_VARARGS
| METH_KEYWORDS
},
31913 { (char *)"ToolBarBase_GetMaxRows", (PyCFunction
) _wrap_ToolBarBase_GetMaxRows
, METH_VARARGS
| METH_KEYWORDS
},
31914 { (char *)"ToolBarBase_GetMaxCols", (PyCFunction
) _wrap_ToolBarBase_GetMaxCols
, METH_VARARGS
| METH_KEYWORDS
},
31915 { (char *)"ToolBarBase_SetToolBitmapSize", (PyCFunction
) _wrap_ToolBarBase_SetToolBitmapSize
, METH_VARARGS
| METH_KEYWORDS
},
31916 { (char *)"ToolBarBase_GetToolBitmapSize", (PyCFunction
) _wrap_ToolBarBase_GetToolBitmapSize
, METH_VARARGS
| METH_KEYWORDS
},
31917 { (char *)"ToolBarBase_GetToolSize", (PyCFunction
) _wrap_ToolBarBase_GetToolSize
, METH_VARARGS
| METH_KEYWORDS
},
31918 { (char *)"ToolBarBase_FindToolForPosition", (PyCFunction
) _wrap_ToolBarBase_FindToolForPosition
, METH_VARARGS
| METH_KEYWORDS
},
31919 { (char *)"ToolBarBase_FindById", (PyCFunction
) _wrap_ToolBarBase_FindById
, METH_VARARGS
| METH_KEYWORDS
},
31920 { (char *)"ToolBarBase_IsVertical", (PyCFunction
) _wrap_ToolBarBase_IsVertical
, METH_VARARGS
| METH_KEYWORDS
},
31921 { (char *)"ToolBarBase_swigregister", ToolBarBase_swigregister
, METH_VARARGS
},
31922 { (char *)"new_ToolBar", (PyCFunction
) _wrap_new_ToolBar
, METH_VARARGS
| METH_KEYWORDS
},
31923 { (char *)"new_PreToolBar", (PyCFunction
) _wrap_new_PreToolBar
, METH_VARARGS
| METH_KEYWORDS
},
31924 { (char *)"ToolBar_Create", (PyCFunction
) _wrap_ToolBar_Create
, METH_VARARGS
| METH_KEYWORDS
},
31925 { (char *)"ToolBar_FindToolForPosition", (PyCFunction
) _wrap_ToolBar_FindToolForPosition
, METH_VARARGS
| METH_KEYWORDS
},
31926 { (char *)"ToolBar_GetClassDefaultAttributes", (PyCFunction
) _wrap_ToolBar_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31927 { (char *)"ToolBar_swigregister", ToolBar_swigregister
, METH_VARARGS
},
31928 { (char *)"new_ListItemAttr", (PyCFunction
) _wrap_new_ListItemAttr
, METH_VARARGS
| METH_KEYWORDS
},
31929 { (char *)"ListItemAttr_SetTextColour", (PyCFunction
) _wrap_ListItemAttr_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
31930 { (char *)"ListItemAttr_SetBackgroundColour", (PyCFunction
) _wrap_ListItemAttr_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
31931 { (char *)"ListItemAttr_SetFont", (PyCFunction
) _wrap_ListItemAttr_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
31932 { (char *)"ListItemAttr_HasTextColour", (PyCFunction
) _wrap_ListItemAttr_HasTextColour
, METH_VARARGS
| METH_KEYWORDS
},
31933 { (char *)"ListItemAttr_HasBackgroundColour", (PyCFunction
) _wrap_ListItemAttr_HasBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
31934 { (char *)"ListItemAttr_HasFont", (PyCFunction
) _wrap_ListItemAttr_HasFont
, METH_VARARGS
| METH_KEYWORDS
},
31935 { (char *)"ListItemAttr_GetTextColour", (PyCFunction
) _wrap_ListItemAttr_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
31936 { (char *)"ListItemAttr_GetBackgroundColour", (PyCFunction
) _wrap_ListItemAttr_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
31937 { (char *)"ListItemAttr_GetFont", (PyCFunction
) _wrap_ListItemAttr_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
31938 { (char *)"ListItemAttr_Destroy", (PyCFunction
) _wrap_ListItemAttr_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
31939 { (char *)"ListItemAttr_swigregister", ListItemAttr_swigregister
, METH_VARARGS
},
31940 { (char *)"new_ListItem", (PyCFunction
) _wrap_new_ListItem
, METH_VARARGS
| METH_KEYWORDS
},
31941 { (char *)"delete_ListItem", (PyCFunction
) _wrap_delete_ListItem
, METH_VARARGS
| METH_KEYWORDS
},
31942 { (char *)"ListItem_Clear", (PyCFunction
) _wrap_ListItem_Clear
, METH_VARARGS
| METH_KEYWORDS
},
31943 { (char *)"ListItem_ClearAttributes", (PyCFunction
) _wrap_ListItem_ClearAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31944 { (char *)"ListItem_SetMask", (PyCFunction
) _wrap_ListItem_SetMask
, METH_VARARGS
| METH_KEYWORDS
},
31945 { (char *)"ListItem_SetId", (PyCFunction
) _wrap_ListItem_SetId
, METH_VARARGS
| METH_KEYWORDS
},
31946 { (char *)"ListItem_SetColumn", (PyCFunction
) _wrap_ListItem_SetColumn
, METH_VARARGS
| METH_KEYWORDS
},
31947 { (char *)"ListItem_SetState", (PyCFunction
) _wrap_ListItem_SetState
, METH_VARARGS
| METH_KEYWORDS
},
31948 { (char *)"ListItem_SetStateMask", (PyCFunction
) _wrap_ListItem_SetStateMask
, METH_VARARGS
| METH_KEYWORDS
},
31949 { (char *)"ListItem_SetText", (PyCFunction
) _wrap_ListItem_SetText
, METH_VARARGS
| METH_KEYWORDS
},
31950 { (char *)"ListItem_SetImage", (PyCFunction
) _wrap_ListItem_SetImage
, METH_VARARGS
| METH_KEYWORDS
},
31951 { (char *)"ListItem_SetData", (PyCFunction
) _wrap_ListItem_SetData
, METH_VARARGS
| METH_KEYWORDS
},
31952 { (char *)"ListItem_SetWidth", (PyCFunction
) _wrap_ListItem_SetWidth
, METH_VARARGS
| METH_KEYWORDS
},
31953 { (char *)"ListItem_SetAlign", (PyCFunction
) _wrap_ListItem_SetAlign
, METH_VARARGS
| METH_KEYWORDS
},
31954 { (char *)"ListItem_SetTextColour", (PyCFunction
) _wrap_ListItem_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
31955 { (char *)"ListItem_SetBackgroundColour", (PyCFunction
) _wrap_ListItem_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
31956 { (char *)"ListItem_SetFont", (PyCFunction
) _wrap_ListItem_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
31957 { (char *)"ListItem_GetMask", (PyCFunction
) _wrap_ListItem_GetMask
, METH_VARARGS
| METH_KEYWORDS
},
31958 { (char *)"ListItem_GetId", (PyCFunction
) _wrap_ListItem_GetId
, METH_VARARGS
| METH_KEYWORDS
},
31959 { (char *)"ListItem_GetColumn", (PyCFunction
) _wrap_ListItem_GetColumn
, METH_VARARGS
| METH_KEYWORDS
},
31960 { (char *)"ListItem_GetState", (PyCFunction
) _wrap_ListItem_GetState
, METH_VARARGS
| METH_KEYWORDS
},
31961 { (char *)"ListItem_GetText", (PyCFunction
) _wrap_ListItem_GetText
, METH_VARARGS
| METH_KEYWORDS
},
31962 { (char *)"ListItem_GetImage", (PyCFunction
) _wrap_ListItem_GetImage
, METH_VARARGS
| METH_KEYWORDS
},
31963 { (char *)"ListItem_GetData", (PyCFunction
) _wrap_ListItem_GetData
, METH_VARARGS
| METH_KEYWORDS
},
31964 { (char *)"ListItem_GetWidth", (PyCFunction
) _wrap_ListItem_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
31965 { (char *)"ListItem_GetAlign", (PyCFunction
) _wrap_ListItem_GetAlign
, METH_VARARGS
| METH_KEYWORDS
},
31966 { (char *)"ListItem_GetAttributes", (PyCFunction
) _wrap_ListItem_GetAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31967 { (char *)"ListItem_HasAttributes", (PyCFunction
) _wrap_ListItem_HasAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31968 { (char *)"ListItem_GetTextColour", (PyCFunction
) _wrap_ListItem_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
31969 { (char *)"ListItem_GetBackgroundColour", (PyCFunction
) _wrap_ListItem_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
31970 { (char *)"ListItem_GetFont", (PyCFunction
) _wrap_ListItem_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
31971 { (char *)"ListItem_m_mask_set", (PyCFunction
) _wrap_ListItem_m_mask_set
, METH_VARARGS
| METH_KEYWORDS
},
31972 { (char *)"ListItem_m_mask_get", (PyCFunction
) _wrap_ListItem_m_mask_get
, METH_VARARGS
| METH_KEYWORDS
},
31973 { (char *)"ListItem_m_itemId_set", (PyCFunction
) _wrap_ListItem_m_itemId_set
, METH_VARARGS
| METH_KEYWORDS
},
31974 { (char *)"ListItem_m_itemId_get", (PyCFunction
) _wrap_ListItem_m_itemId_get
, METH_VARARGS
| METH_KEYWORDS
},
31975 { (char *)"ListItem_m_col_set", (PyCFunction
) _wrap_ListItem_m_col_set
, METH_VARARGS
| METH_KEYWORDS
},
31976 { (char *)"ListItem_m_col_get", (PyCFunction
) _wrap_ListItem_m_col_get
, METH_VARARGS
| METH_KEYWORDS
},
31977 { (char *)"ListItem_m_state_set", (PyCFunction
) _wrap_ListItem_m_state_set
, METH_VARARGS
| METH_KEYWORDS
},
31978 { (char *)"ListItem_m_state_get", (PyCFunction
) _wrap_ListItem_m_state_get
, METH_VARARGS
| METH_KEYWORDS
},
31979 { (char *)"ListItem_m_stateMask_set", (PyCFunction
) _wrap_ListItem_m_stateMask_set
, METH_VARARGS
| METH_KEYWORDS
},
31980 { (char *)"ListItem_m_stateMask_get", (PyCFunction
) _wrap_ListItem_m_stateMask_get
, METH_VARARGS
| METH_KEYWORDS
},
31981 { (char *)"ListItem_m_text_set", (PyCFunction
) _wrap_ListItem_m_text_set
, METH_VARARGS
| METH_KEYWORDS
},
31982 { (char *)"ListItem_m_text_get", (PyCFunction
) _wrap_ListItem_m_text_get
, METH_VARARGS
| METH_KEYWORDS
},
31983 { (char *)"ListItem_m_image_set", (PyCFunction
) _wrap_ListItem_m_image_set
, METH_VARARGS
| METH_KEYWORDS
},
31984 { (char *)"ListItem_m_image_get", (PyCFunction
) _wrap_ListItem_m_image_get
, METH_VARARGS
| METH_KEYWORDS
},
31985 { (char *)"ListItem_m_data_set", (PyCFunction
) _wrap_ListItem_m_data_set
, METH_VARARGS
| METH_KEYWORDS
},
31986 { (char *)"ListItem_m_data_get", (PyCFunction
) _wrap_ListItem_m_data_get
, METH_VARARGS
| METH_KEYWORDS
},
31987 { (char *)"ListItem_m_format_set", (PyCFunction
) _wrap_ListItem_m_format_set
, METH_VARARGS
| METH_KEYWORDS
},
31988 { (char *)"ListItem_m_format_get", (PyCFunction
) _wrap_ListItem_m_format_get
, METH_VARARGS
| METH_KEYWORDS
},
31989 { (char *)"ListItem_m_width_set", (PyCFunction
) _wrap_ListItem_m_width_set
, METH_VARARGS
| METH_KEYWORDS
},
31990 { (char *)"ListItem_m_width_get", (PyCFunction
) _wrap_ListItem_m_width_get
, METH_VARARGS
| METH_KEYWORDS
},
31991 { (char *)"ListItem_swigregister", ListItem_swigregister
, METH_VARARGS
},
31992 { (char *)"new_ListEvent", (PyCFunction
) _wrap_new_ListEvent
, METH_VARARGS
| METH_KEYWORDS
},
31993 { (char *)"ListEvent_m_code_set", (PyCFunction
) _wrap_ListEvent_m_code_set
, METH_VARARGS
| METH_KEYWORDS
},
31994 { (char *)"ListEvent_m_code_get", (PyCFunction
) _wrap_ListEvent_m_code_get
, METH_VARARGS
| METH_KEYWORDS
},
31995 { (char *)"ListEvent_m_oldItemIndex_set", (PyCFunction
) _wrap_ListEvent_m_oldItemIndex_set
, METH_VARARGS
| METH_KEYWORDS
},
31996 { (char *)"ListEvent_m_oldItemIndex_get", (PyCFunction
) _wrap_ListEvent_m_oldItemIndex_get
, METH_VARARGS
| METH_KEYWORDS
},
31997 { (char *)"ListEvent_m_itemIndex_set", (PyCFunction
) _wrap_ListEvent_m_itemIndex_set
, METH_VARARGS
| METH_KEYWORDS
},
31998 { (char *)"ListEvent_m_itemIndex_get", (PyCFunction
) _wrap_ListEvent_m_itemIndex_get
, METH_VARARGS
| METH_KEYWORDS
},
31999 { (char *)"ListEvent_m_col_set", (PyCFunction
) _wrap_ListEvent_m_col_set
, METH_VARARGS
| METH_KEYWORDS
},
32000 { (char *)"ListEvent_m_col_get", (PyCFunction
) _wrap_ListEvent_m_col_get
, METH_VARARGS
| METH_KEYWORDS
},
32001 { (char *)"ListEvent_m_pointDrag_set", (PyCFunction
) _wrap_ListEvent_m_pointDrag_set
, METH_VARARGS
| METH_KEYWORDS
},
32002 { (char *)"ListEvent_m_pointDrag_get", (PyCFunction
) _wrap_ListEvent_m_pointDrag_get
, METH_VARARGS
| METH_KEYWORDS
},
32003 { (char *)"ListEvent_m_item_get", (PyCFunction
) _wrap_ListEvent_m_item_get
, METH_VARARGS
| METH_KEYWORDS
},
32004 { (char *)"ListEvent_GetKeyCode", (PyCFunction
) _wrap_ListEvent_GetKeyCode
, METH_VARARGS
| METH_KEYWORDS
},
32005 { (char *)"ListEvent_GetIndex", (PyCFunction
) _wrap_ListEvent_GetIndex
, METH_VARARGS
| METH_KEYWORDS
},
32006 { (char *)"ListEvent_GetColumn", (PyCFunction
) _wrap_ListEvent_GetColumn
, METH_VARARGS
| METH_KEYWORDS
},
32007 { (char *)"ListEvent_GetPoint", (PyCFunction
) _wrap_ListEvent_GetPoint
, METH_VARARGS
| METH_KEYWORDS
},
32008 { (char *)"ListEvent_GetLabel", (PyCFunction
) _wrap_ListEvent_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
32009 { (char *)"ListEvent_GetText", (PyCFunction
) _wrap_ListEvent_GetText
, METH_VARARGS
| METH_KEYWORDS
},
32010 { (char *)"ListEvent_GetImage", (PyCFunction
) _wrap_ListEvent_GetImage
, METH_VARARGS
| METH_KEYWORDS
},
32011 { (char *)"ListEvent_GetData", (PyCFunction
) _wrap_ListEvent_GetData
, METH_VARARGS
| METH_KEYWORDS
},
32012 { (char *)"ListEvent_GetMask", (PyCFunction
) _wrap_ListEvent_GetMask
, METH_VARARGS
| METH_KEYWORDS
},
32013 { (char *)"ListEvent_GetItem", (PyCFunction
) _wrap_ListEvent_GetItem
, METH_VARARGS
| METH_KEYWORDS
},
32014 { (char *)"ListEvent_GetCacheFrom", (PyCFunction
) _wrap_ListEvent_GetCacheFrom
, METH_VARARGS
| METH_KEYWORDS
},
32015 { (char *)"ListEvent_GetCacheTo", (PyCFunction
) _wrap_ListEvent_GetCacheTo
, METH_VARARGS
| METH_KEYWORDS
},
32016 { (char *)"ListEvent_IsEditCancelled", (PyCFunction
) _wrap_ListEvent_IsEditCancelled
, METH_VARARGS
| METH_KEYWORDS
},
32017 { (char *)"ListEvent_SetEditCanceled", (PyCFunction
) _wrap_ListEvent_SetEditCanceled
, METH_VARARGS
| METH_KEYWORDS
},
32018 { (char *)"ListEvent_swigregister", ListEvent_swigregister
, METH_VARARGS
},
32019 { (char *)"new_ListCtrl", (PyCFunction
) _wrap_new_ListCtrl
, METH_VARARGS
| METH_KEYWORDS
},
32020 { (char *)"new_PreListCtrl", (PyCFunction
) _wrap_new_PreListCtrl
, METH_VARARGS
| METH_KEYWORDS
},
32021 { (char *)"ListCtrl_Create", (PyCFunction
) _wrap_ListCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
},
32022 { (char *)"ListCtrl__setCallbackInfo", (PyCFunction
) _wrap_ListCtrl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
32023 { (char *)"ListCtrl_SetForegroundColour", (PyCFunction
) _wrap_ListCtrl_SetForegroundColour
, METH_VARARGS
| METH_KEYWORDS
},
32024 { (char *)"ListCtrl_SetBackgroundColour", (PyCFunction
) _wrap_ListCtrl_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
32025 { (char *)"ListCtrl_GetColumn", (PyCFunction
) _wrap_ListCtrl_GetColumn
, METH_VARARGS
| METH_KEYWORDS
},
32026 { (char *)"ListCtrl_SetColumn", (PyCFunction
) _wrap_ListCtrl_SetColumn
, METH_VARARGS
| METH_KEYWORDS
},
32027 { (char *)"ListCtrl_GetColumnWidth", (PyCFunction
) _wrap_ListCtrl_GetColumnWidth
, METH_VARARGS
| METH_KEYWORDS
},
32028 { (char *)"ListCtrl_SetColumnWidth", (PyCFunction
) _wrap_ListCtrl_SetColumnWidth
, METH_VARARGS
| METH_KEYWORDS
},
32029 { (char *)"ListCtrl_GetCountPerPage", (PyCFunction
) _wrap_ListCtrl_GetCountPerPage
, METH_VARARGS
| METH_KEYWORDS
},
32030 { (char *)"ListCtrl_GetViewRect", (PyCFunction
) _wrap_ListCtrl_GetViewRect
, METH_VARARGS
| METH_KEYWORDS
},
32031 { (char *)"ListCtrl_GetEditControl", (PyCFunction
) _wrap_ListCtrl_GetEditControl
, METH_VARARGS
| METH_KEYWORDS
},
32032 { (char *)"ListCtrl_GetItem", (PyCFunction
) _wrap_ListCtrl_GetItem
, METH_VARARGS
| METH_KEYWORDS
},
32033 { (char *)"ListCtrl_SetItem", (PyCFunction
) _wrap_ListCtrl_SetItem
, METH_VARARGS
| METH_KEYWORDS
},
32034 { (char *)"ListCtrl_SetStringItem", (PyCFunction
) _wrap_ListCtrl_SetStringItem
, METH_VARARGS
| METH_KEYWORDS
},
32035 { (char *)"ListCtrl_GetItemState", (PyCFunction
) _wrap_ListCtrl_GetItemState
, METH_VARARGS
| METH_KEYWORDS
},
32036 { (char *)"ListCtrl_SetItemState", (PyCFunction
) _wrap_ListCtrl_SetItemState
, METH_VARARGS
| METH_KEYWORDS
},
32037 { (char *)"ListCtrl_SetItemImage", (PyCFunction
) _wrap_ListCtrl_SetItemImage
, METH_VARARGS
| METH_KEYWORDS
},
32038 { (char *)"ListCtrl_GetItemText", (PyCFunction
) _wrap_ListCtrl_GetItemText
, METH_VARARGS
| METH_KEYWORDS
},
32039 { (char *)"ListCtrl_SetItemText", (PyCFunction
) _wrap_ListCtrl_SetItemText
, METH_VARARGS
| METH_KEYWORDS
},
32040 { (char *)"ListCtrl_GetItemData", (PyCFunction
) _wrap_ListCtrl_GetItemData
, METH_VARARGS
| METH_KEYWORDS
},
32041 { (char *)"ListCtrl_SetItemData", (PyCFunction
) _wrap_ListCtrl_SetItemData
, METH_VARARGS
| METH_KEYWORDS
},
32042 { (char *)"ListCtrl_GetItemPosition", (PyCFunction
) _wrap_ListCtrl_GetItemPosition
, METH_VARARGS
| METH_KEYWORDS
},
32043 { (char *)"ListCtrl_GetItemRect", (PyCFunction
) _wrap_ListCtrl_GetItemRect
, METH_VARARGS
| METH_KEYWORDS
},
32044 { (char *)"ListCtrl_SetItemPosition", (PyCFunction
) _wrap_ListCtrl_SetItemPosition
, METH_VARARGS
| METH_KEYWORDS
},
32045 { (char *)"ListCtrl_GetItemCount", (PyCFunction
) _wrap_ListCtrl_GetItemCount
, METH_VARARGS
| METH_KEYWORDS
},
32046 { (char *)"ListCtrl_GetColumnCount", (PyCFunction
) _wrap_ListCtrl_GetColumnCount
, METH_VARARGS
| METH_KEYWORDS
},
32047 { (char *)"ListCtrl_GetItemSpacing", (PyCFunction
) _wrap_ListCtrl_GetItemSpacing
, METH_VARARGS
| METH_KEYWORDS
},
32048 { (char *)"ListCtrl_GetSelectedItemCount", (PyCFunction
) _wrap_ListCtrl_GetSelectedItemCount
, METH_VARARGS
| METH_KEYWORDS
},
32049 { (char *)"ListCtrl_GetTextColour", (PyCFunction
) _wrap_ListCtrl_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
32050 { (char *)"ListCtrl_SetTextColour", (PyCFunction
) _wrap_ListCtrl_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
32051 { (char *)"ListCtrl_GetTopItem", (PyCFunction
) _wrap_ListCtrl_GetTopItem
, METH_VARARGS
| METH_KEYWORDS
},
32052 { (char *)"ListCtrl_SetSingleStyle", (PyCFunction
) _wrap_ListCtrl_SetSingleStyle
, METH_VARARGS
| METH_KEYWORDS
},
32053 { (char *)"ListCtrl_SetWindowStyleFlag", (PyCFunction
) _wrap_ListCtrl_SetWindowStyleFlag
, METH_VARARGS
| METH_KEYWORDS
},
32054 { (char *)"ListCtrl_GetNextItem", (PyCFunction
) _wrap_ListCtrl_GetNextItem
, METH_VARARGS
| METH_KEYWORDS
},
32055 { (char *)"ListCtrl_GetImageList", (PyCFunction
) _wrap_ListCtrl_GetImageList
, METH_VARARGS
| METH_KEYWORDS
},
32056 { (char *)"ListCtrl_SetImageList", (PyCFunction
) _wrap_ListCtrl_SetImageList
, METH_VARARGS
| METH_KEYWORDS
},
32057 { (char *)"ListCtrl_AssignImageList", (PyCFunction
) _wrap_ListCtrl_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
},
32058 { (char *)"ListCtrl_InReportView", (PyCFunction
) _wrap_ListCtrl_InReportView
, METH_VARARGS
| METH_KEYWORDS
},
32059 { (char *)"ListCtrl_IsVirtual", (PyCFunction
) _wrap_ListCtrl_IsVirtual
, METH_VARARGS
| METH_KEYWORDS
},
32060 { (char *)"ListCtrl_RefreshItem", (PyCFunction
) _wrap_ListCtrl_RefreshItem
, METH_VARARGS
| METH_KEYWORDS
},
32061 { (char *)"ListCtrl_RefreshItems", (PyCFunction
) _wrap_ListCtrl_RefreshItems
, METH_VARARGS
| METH_KEYWORDS
},
32062 { (char *)"ListCtrl_Arrange", (PyCFunction
) _wrap_ListCtrl_Arrange
, METH_VARARGS
| METH_KEYWORDS
},
32063 { (char *)"ListCtrl_DeleteItem", (PyCFunction
) _wrap_ListCtrl_DeleteItem
, METH_VARARGS
| METH_KEYWORDS
},
32064 { (char *)"ListCtrl_DeleteAllItems", (PyCFunction
) _wrap_ListCtrl_DeleteAllItems
, METH_VARARGS
| METH_KEYWORDS
},
32065 { (char *)"ListCtrl_DeleteColumn", (PyCFunction
) _wrap_ListCtrl_DeleteColumn
, METH_VARARGS
| METH_KEYWORDS
},
32066 { (char *)"ListCtrl_DeleteAllColumns", (PyCFunction
) _wrap_ListCtrl_DeleteAllColumns
, METH_VARARGS
| METH_KEYWORDS
},
32067 { (char *)"ListCtrl_ClearAll", (PyCFunction
) _wrap_ListCtrl_ClearAll
, METH_VARARGS
| METH_KEYWORDS
},
32068 { (char *)"ListCtrl_EditLabel", (PyCFunction
) _wrap_ListCtrl_EditLabel
, METH_VARARGS
| METH_KEYWORDS
},
32069 { (char *)"ListCtrl_EndEditLabel", (PyCFunction
) _wrap_ListCtrl_EndEditLabel
, METH_VARARGS
| METH_KEYWORDS
},
32070 { (char *)"ListCtrl_EnsureVisible", (PyCFunction
) _wrap_ListCtrl_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
},
32071 { (char *)"ListCtrl_FindItem", (PyCFunction
) _wrap_ListCtrl_FindItem
, METH_VARARGS
| METH_KEYWORDS
},
32072 { (char *)"ListCtrl_FindItemData", (PyCFunction
) _wrap_ListCtrl_FindItemData
, METH_VARARGS
| METH_KEYWORDS
},
32073 { (char *)"ListCtrl_FindItemAtPos", (PyCFunction
) _wrap_ListCtrl_FindItemAtPos
, METH_VARARGS
| METH_KEYWORDS
},
32074 { (char *)"ListCtrl_HitTest", (PyCFunction
) _wrap_ListCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
},
32075 { (char *)"ListCtrl_InsertItem", (PyCFunction
) _wrap_ListCtrl_InsertItem
, METH_VARARGS
| METH_KEYWORDS
},
32076 { (char *)"ListCtrl_InsertStringItem", (PyCFunction
) _wrap_ListCtrl_InsertStringItem
, METH_VARARGS
| METH_KEYWORDS
},
32077 { (char *)"ListCtrl_InsertImageItem", (PyCFunction
) _wrap_ListCtrl_InsertImageItem
, METH_VARARGS
| METH_KEYWORDS
},
32078 { (char *)"ListCtrl_InsertImageStringItem", (PyCFunction
) _wrap_ListCtrl_InsertImageStringItem
, METH_VARARGS
| METH_KEYWORDS
},
32079 { (char *)"ListCtrl_InsertColumnInfo", (PyCFunction
) _wrap_ListCtrl_InsertColumnInfo
, METH_VARARGS
| METH_KEYWORDS
},
32080 { (char *)"ListCtrl_InsertColumn", (PyCFunction
) _wrap_ListCtrl_InsertColumn
, METH_VARARGS
| METH_KEYWORDS
},
32081 { (char *)"ListCtrl_SetItemCount", (PyCFunction
) _wrap_ListCtrl_SetItemCount
, METH_VARARGS
| METH_KEYWORDS
},
32082 { (char *)"ListCtrl_ScrollList", (PyCFunction
) _wrap_ListCtrl_ScrollList
, METH_VARARGS
| METH_KEYWORDS
},
32083 { (char *)"ListCtrl_SetItemTextColour", (PyCFunction
) _wrap_ListCtrl_SetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
},
32084 { (char *)"ListCtrl_GetItemTextColour", (PyCFunction
) _wrap_ListCtrl_GetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
},
32085 { (char *)"ListCtrl_SetItemBackgroundColour", (PyCFunction
) _wrap_ListCtrl_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
32086 { (char *)"ListCtrl_GetItemBackgroundColour", (PyCFunction
) _wrap_ListCtrl_GetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
32087 { (char *)"ListCtrl_SortItems", (PyCFunction
) _wrap_ListCtrl_SortItems
, METH_VARARGS
| METH_KEYWORDS
},
32088 { (char *)"ListCtrl_GetMainWindow", (PyCFunction
) _wrap_ListCtrl_GetMainWindow
, METH_VARARGS
| METH_KEYWORDS
},
32089 { (char *)"ListCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_ListCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
32090 { (char *)"ListCtrl_swigregister", ListCtrl_swigregister
, METH_VARARGS
},
32091 { (char *)"new_ListView", (PyCFunction
) _wrap_new_ListView
, METH_VARARGS
| METH_KEYWORDS
},
32092 { (char *)"new_PreListView", (PyCFunction
) _wrap_new_PreListView
, METH_VARARGS
| METH_KEYWORDS
},
32093 { (char *)"ListView_Create", (PyCFunction
) _wrap_ListView_Create
, METH_VARARGS
| METH_KEYWORDS
},
32094 { (char *)"ListView_Select", (PyCFunction
) _wrap_ListView_Select
, METH_VARARGS
| METH_KEYWORDS
},
32095 { (char *)"ListView_Focus", (PyCFunction
) _wrap_ListView_Focus
, METH_VARARGS
| METH_KEYWORDS
},
32096 { (char *)"ListView_GetFocusedItem", (PyCFunction
) _wrap_ListView_GetFocusedItem
, METH_VARARGS
| METH_KEYWORDS
},
32097 { (char *)"ListView_GetNextSelected", (PyCFunction
) _wrap_ListView_GetNextSelected
, METH_VARARGS
| METH_KEYWORDS
},
32098 { (char *)"ListView_GetFirstSelected", (PyCFunction
) _wrap_ListView_GetFirstSelected
, METH_VARARGS
| METH_KEYWORDS
},
32099 { (char *)"ListView_IsSelected", (PyCFunction
) _wrap_ListView_IsSelected
, METH_VARARGS
| METH_KEYWORDS
},
32100 { (char *)"ListView_SetColumnImage", (PyCFunction
) _wrap_ListView_SetColumnImage
, METH_VARARGS
| METH_KEYWORDS
},
32101 { (char *)"ListView_ClearColumnImage", (PyCFunction
) _wrap_ListView_ClearColumnImage
, METH_VARARGS
| METH_KEYWORDS
},
32102 { (char *)"ListView_swigregister", ListView_swigregister
, METH_VARARGS
},
32103 { (char *)"new_TreeItemId", (PyCFunction
) _wrap_new_TreeItemId
, METH_VARARGS
| METH_KEYWORDS
},
32104 { (char *)"delete_TreeItemId", (PyCFunction
) _wrap_delete_TreeItemId
, METH_VARARGS
| METH_KEYWORDS
},
32105 { (char *)"TreeItemId_IsOk", (PyCFunction
) _wrap_TreeItemId_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
32106 { (char *)"TreeItemId___eq__", (PyCFunction
) _wrap_TreeItemId___eq__
, METH_VARARGS
| METH_KEYWORDS
},
32107 { (char *)"TreeItemId___ne__", (PyCFunction
) _wrap_TreeItemId___ne__
, METH_VARARGS
| METH_KEYWORDS
},
32108 { (char *)"TreeItemId_m_pItem_set", (PyCFunction
) _wrap_TreeItemId_m_pItem_set
, METH_VARARGS
| METH_KEYWORDS
},
32109 { (char *)"TreeItemId_m_pItem_get", (PyCFunction
) _wrap_TreeItemId_m_pItem_get
, METH_VARARGS
| METH_KEYWORDS
},
32110 { (char *)"TreeItemId_swigregister", TreeItemId_swigregister
, METH_VARARGS
},
32111 { (char *)"new_TreeItemData", (PyCFunction
) _wrap_new_TreeItemData
, METH_VARARGS
| METH_KEYWORDS
},
32112 { (char *)"TreeItemData_GetData", (PyCFunction
) _wrap_TreeItemData_GetData
, METH_VARARGS
| METH_KEYWORDS
},
32113 { (char *)"TreeItemData_SetData", (PyCFunction
) _wrap_TreeItemData_SetData
, METH_VARARGS
| METH_KEYWORDS
},
32114 { (char *)"TreeItemData_GetId", (PyCFunction
) _wrap_TreeItemData_GetId
, METH_VARARGS
| METH_KEYWORDS
},
32115 { (char *)"TreeItemData_SetId", (PyCFunction
) _wrap_TreeItemData_SetId
, METH_VARARGS
| METH_KEYWORDS
},
32116 { (char *)"TreeItemData_Destroy", (PyCFunction
) _wrap_TreeItemData_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
32117 { (char *)"TreeItemData_swigregister", TreeItemData_swigregister
, METH_VARARGS
},
32118 { (char *)"new_TreeEvent", (PyCFunction
) _wrap_new_TreeEvent
, METH_VARARGS
| METH_KEYWORDS
},
32119 { (char *)"TreeEvent_GetItem", (PyCFunction
) _wrap_TreeEvent_GetItem
, METH_VARARGS
| METH_KEYWORDS
},
32120 { (char *)"TreeEvent_SetItem", (PyCFunction
) _wrap_TreeEvent_SetItem
, METH_VARARGS
| METH_KEYWORDS
},
32121 { (char *)"TreeEvent_GetOldItem", (PyCFunction
) _wrap_TreeEvent_GetOldItem
, METH_VARARGS
| METH_KEYWORDS
},
32122 { (char *)"TreeEvent_SetOldItem", (PyCFunction
) _wrap_TreeEvent_SetOldItem
, METH_VARARGS
| METH_KEYWORDS
},
32123 { (char *)"TreeEvent_GetPoint", (PyCFunction
) _wrap_TreeEvent_GetPoint
, METH_VARARGS
| METH_KEYWORDS
},
32124 { (char *)"TreeEvent_SetPoint", (PyCFunction
) _wrap_TreeEvent_SetPoint
, METH_VARARGS
| METH_KEYWORDS
},
32125 { (char *)"TreeEvent_GetKeyEvent", (PyCFunction
) _wrap_TreeEvent_GetKeyEvent
, METH_VARARGS
| METH_KEYWORDS
},
32126 { (char *)"TreeEvent_GetKeyCode", (PyCFunction
) _wrap_TreeEvent_GetKeyCode
, METH_VARARGS
| METH_KEYWORDS
},
32127 { (char *)"TreeEvent_SetKeyEvent", (PyCFunction
) _wrap_TreeEvent_SetKeyEvent
, METH_VARARGS
| METH_KEYWORDS
},
32128 { (char *)"TreeEvent_GetLabel", (PyCFunction
) _wrap_TreeEvent_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
32129 { (char *)"TreeEvent_SetLabel", (PyCFunction
) _wrap_TreeEvent_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
32130 { (char *)"TreeEvent_IsEditCancelled", (PyCFunction
) _wrap_TreeEvent_IsEditCancelled
, METH_VARARGS
| METH_KEYWORDS
},
32131 { (char *)"TreeEvent_SetEditCanceled", (PyCFunction
) _wrap_TreeEvent_SetEditCanceled
, METH_VARARGS
| METH_KEYWORDS
},
32132 { (char *)"TreeEvent_SetToolTip", (PyCFunction
) _wrap_TreeEvent_SetToolTip
, METH_VARARGS
| METH_KEYWORDS
},
32133 { (char *)"TreeEvent_swigregister", TreeEvent_swigregister
, METH_VARARGS
},
32134 { (char *)"new_TreeCtrl", (PyCFunction
) _wrap_new_TreeCtrl
, METH_VARARGS
| METH_KEYWORDS
},
32135 { (char *)"new_PreTreeCtrl", (PyCFunction
) _wrap_new_PreTreeCtrl
, METH_VARARGS
| METH_KEYWORDS
},
32136 { (char *)"TreeCtrl_Create", (PyCFunction
) _wrap_TreeCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
},
32137 { (char *)"TreeCtrl__setCallbackInfo", (PyCFunction
) _wrap_TreeCtrl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
32138 { (char *)"TreeCtrl_GetCount", (PyCFunction
) _wrap_TreeCtrl_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
32139 { (char *)"TreeCtrl_GetIndent", (PyCFunction
) _wrap_TreeCtrl_GetIndent
, METH_VARARGS
| METH_KEYWORDS
},
32140 { (char *)"TreeCtrl_SetIndent", (PyCFunction
) _wrap_TreeCtrl_SetIndent
, METH_VARARGS
| METH_KEYWORDS
},
32141 { (char *)"TreeCtrl_GetSpacing", (PyCFunction
) _wrap_TreeCtrl_GetSpacing
, METH_VARARGS
| METH_KEYWORDS
},
32142 { (char *)"TreeCtrl_SetSpacing", (PyCFunction
) _wrap_TreeCtrl_SetSpacing
, METH_VARARGS
| METH_KEYWORDS
},
32143 { (char *)"TreeCtrl_GetImageList", (PyCFunction
) _wrap_TreeCtrl_GetImageList
, METH_VARARGS
| METH_KEYWORDS
},
32144 { (char *)"TreeCtrl_GetStateImageList", (PyCFunction
) _wrap_TreeCtrl_GetStateImageList
, METH_VARARGS
| METH_KEYWORDS
},
32145 { (char *)"TreeCtrl_SetImageList", (PyCFunction
) _wrap_TreeCtrl_SetImageList
, METH_VARARGS
| METH_KEYWORDS
},
32146 { (char *)"TreeCtrl_SetStateImageList", (PyCFunction
) _wrap_TreeCtrl_SetStateImageList
, METH_VARARGS
| METH_KEYWORDS
},
32147 { (char *)"TreeCtrl_AssignImageList", (PyCFunction
) _wrap_TreeCtrl_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
},
32148 { (char *)"TreeCtrl_AssignStateImageList", (PyCFunction
) _wrap_TreeCtrl_AssignStateImageList
, METH_VARARGS
| METH_KEYWORDS
},
32149 { (char *)"TreeCtrl_GetItemText", (PyCFunction
) _wrap_TreeCtrl_GetItemText
, METH_VARARGS
| METH_KEYWORDS
},
32150 { (char *)"TreeCtrl_GetItemImage", (PyCFunction
) _wrap_TreeCtrl_GetItemImage
, METH_VARARGS
| METH_KEYWORDS
},
32151 { (char *)"TreeCtrl_GetItemData", (PyCFunction
) _wrap_TreeCtrl_GetItemData
, METH_VARARGS
| METH_KEYWORDS
},
32152 { (char *)"TreeCtrl_GetItemPyData", (PyCFunction
) _wrap_TreeCtrl_GetItemPyData
, METH_VARARGS
| METH_KEYWORDS
},
32153 { (char *)"TreeCtrl_GetItemTextColour", (PyCFunction
) _wrap_TreeCtrl_GetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
},
32154 { (char *)"TreeCtrl_GetItemBackgroundColour", (PyCFunction
) _wrap_TreeCtrl_GetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
32155 { (char *)"TreeCtrl_GetItemFont", (PyCFunction
) _wrap_TreeCtrl_GetItemFont
, METH_VARARGS
| METH_KEYWORDS
},
32156 { (char *)"TreeCtrl_SetItemText", (PyCFunction
) _wrap_TreeCtrl_SetItemText
, METH_VARARGS
| METH_KEYWORDS
},
32157 { (char *)"TreeCtrl_SetItemImage", (PyCFunction
) _wrap_TreeCtrl_SetItemImage
, METH_VARARGS
| METH_KEYWORDS
},
32158 { (char *)"TreeCtrl_SetItemData", (PyCFunction
) _wrap_TreeCtrl_SetItemData
, METH_VARARGS
| METH_KEYWORDS
},
32159 { (char *)"TreeCtrl_SetItemPyData", (PyCFunction
) _wrap_TreeCtrl_SetItemPyData
, METH_VARARGS
| METH_KEYWORDS
},
32160 { (char *)"TreeCtrl_SetItemHasChildren", (PyCFunction
) _wrap_TreeCtrl_SetItemHasChildren
, METH_VARARGS
| METH_KEYWORDS
},
32161 { (char *)"TreeCtrl_SetItemBold", (PyCFunction
) _wrap_TreeCtrl_SetItemBold
, METH_VARARGS
| METH_KEYWORDS
},
32162 { (char *)"TreeCtrl_SetItemDropHighlight", (PyCFunction
) _wrap_TreeCtrl_SetItemDropHighlight
, METH_VARARGS
| METH_KEYWORDS
},
32163 { (char *)"TreeCtrl_SetItemTextColour", (PyCFunction
) _wrap_TreeCtrl_SetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
},
32164 { (char *)"TreeCtrl_SetItemBackgroundColour", (PyCFunction
) _wrap_TreeCtrl_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
32165 { (char *)"TreeCtrl_SetItemFont", (PyCFunction
) _wrap_TreeCtrl_SetItemFont
, METH_VARARGS
| METH_KEYWORDS
},
32166 { (char *)"TreeCtrl_IsVisible", (PyCFunction
) _wrap_TreeCtrl_IsVisible
, METH_VARARGS
| METH_KEYWORDS
},
32167 { (char *)"TreeCtrl_ItemHasChildren", (PyCFunction
) _wrap_TreeCtrl_ItemHasChildren
, METH_VARARGS
| METH_KEYWORDS
},
32168 { (char *)"TreeCtrl_IsExpanded", (PyCFunction
) _wrap_TreeCtrl_IsExpanded
, METH_VARARGS
| METH_KEYWORDS
},
32169 { (char *)"TreeCtrl_IsSelected", (PyCFunction
) _wrap_TreeCtrl_IsSelected
, METH_VARARGS
| METH_KEYWORDS
},
32170 { (char *)"TreeCtrl_IsBold", (PyCFunction
) _wrap_TreeCtrl_IsBold
, METH_VARARGS
| METH_KEYWORDS
},
32171 { (char *)"TreeCtrl_GetChildrenCount", (PyCFunction
) _wrap_TreeCtrl_GetChildrenCount
, METH_VARARGS
| METH_KEYWORDS
},
32172 { (char *)"TreeCtrl_GetRootItem", (PyCFunction
) _wrap_TreeCtrl_GetRootItem
, METH_VARARGS
| METH_KEYWORDS
},
32173 { (char *)"TreeCtrl_GetSelection", (PyCFunction
) _wrap_TreeCtrl_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
32174 { (char *)"TreeCtrl_GetSelections", (PyCFunction
) _wrap_TreeCtrl_GetSelections
, METH_VARARGS
| METH_KEYWORDS
},
32175 { (char *)"TreeCtrl_GetItemParent", (PyCFunction
) _wrap_TreeCtrl_GetItemParent
, METH_VARARGS
| METH_KEYWORDS
},
32176 { (char *)"TreeCtrl_GetFirstChild", (PyCFunction
) _wrap_TreeCtrl_GetFirstChild
, METH_VARARGS
| METH_KEYWORDS
},
32177 { (char *)"TreeCtrl_GetNextChild", (PyCFunction
) _wrap_TreeCtrl_GetNextChild
, METH_VARARGS
| METH_KEYWORDS
},
32178 { (char *)"TreeCtrl_GetLastChild", (PyCFunction
) _wrap_TreeCtrl_GetLastChild
, METH_VARARGS
| METH_KEYWORDS
},
32179 { (char *)"TreeCtrl_GetNextSibling", (PyCFunction
) _wrap_TreeCtrl_GetNextSibling
, METH_VARARGS
| METH_KEYWORDS
},
32180 { (char *)"TreeCtrl_GetPrevSibling", (PyCFunction
) _wrap_TreeCtrl_GetPrevSibling
, METH_VARARGS
| METH_KEYWORDS
},
32181 { (char *)"TreeCtrl_GetFirstVisibleItem", (PyCFunction
) _wrap_TreeCtrl_GetFirstVisibleItem
, METH_VARARGS
| METH_KEYWORDS
},
32182 { (char *)"TreeCtrl_GetNextVisible", (PyCFunction
) _wrap_TreeCtrl_GetNextVisible
, METH_VARARGS
| METH_KEYWORDS
},
32183 { (char *)"TreeCtrl_GetPrevVisible", (PyCFunction
) _wrap_TreeCtrl_GetPrevVisible
, METH_VARARGS
| METH_KEYWORDS
},
32184 { (char *)"TreeCtrl_AddRoot", (PyCFunction
) _wrap_TreeCtrl_AddRoot
, METH_VARARGS
| METH_KEYWORDS
},
32185 { (char *)"TreeCtrl_PrependItem", (PyCFunction
) _wrap_TreeCtrl_PrependItem
, METH_VARARGS
| METH_KEYWORDS
},
32186 { (char *)"TreeCtrl_InsertItem", (PyCFunction
) _wrap_TreeCtrl_InsertItem
, METH_VARARGS
| METH_KEYWORDS
},
32187 { (char *)"TreeCtrl_InsertItemBefore", (PyCFunction
) _wrap_TreeCtrl_InsertItemBefore
, METH_VARARGS
| METH_KEYWORDS
},
32188 { (char *)"TreeCtrl_AppendItem", (PyCFunction
) _wrap_TreeCtrl_AppendItem
, METH_VARARGS
| METH_KEYWORDS
},
32189 { (char *)"TreeCtrl_Delete", (PyCFunction
) _wrap_TreeCtrl_Delete
, METH_VARARGS
| METH_KEYWORDS
},
32190 { (char *)"TreeCtrl_DeleteChildren", (PyCFunction
) _wrap_TreeCtrl_DeleteChildren
, METH_VARARGS
| METH_KEYWORDS
},
32191 { (char *)"TreeCtrl_DeleteAllItems", (PyCFunction
) _wrap_TreeCtrl_DeleteAllItems
, METH_VARARGS
| METH_KEYWORDS
},
32192 { (char *)"TreeCtrl_Expand", (PyCFunction
) _wrap_TreeCtrl_Expand
, METH_VARARGS
| METH_KEYWORDS
},
32193 { (char *)"TreeCtrl_Collapse", (PyCFunction
) _wrap_TreeCtrl_Collapse
, METH_VARARGS
| METH_KEYWORDS
},
32194 { (char *)"TreeCtrl_CollapseAndReset", (PyCFunction
) _wrap_TreeCtrl_CollapseAndReset
, METH_VARARGS
| METH_KEYWORDS
},
32195 { (char *)"TreeCtrl_Toggle", (PyCFunction
) _wrap_TreeCtrl_Toggle
, METH_VARARGS
| METH_KEYWORDS
},
32196 { (char *)"TreeCtrl_Unselect", (PyCFunction
) _wrap_TreeCtrl_Unselect
, METH_VARARGS
| METH_KEYWORDS
},
32197 { (char *)"TreeCtrl_UnselectItem", (PyCFunction
) _wrap_TreeCtrl_UnselectItem
, METH_VARARGS
| METH_KEYWORDS
},
32198 { (char *)"TreeCtrl_UnselectAll", (PyCFunction
) _wrap_TreeCtrl_UnselectAll
, METH_VARARGS
| METH_KEYWORDS
},
32199 { (char *)"TreeCtrl_SelectItem", (PyCFunction
) _wrap_TreeCtrl_SelectItem
, METH_VARARGS
| METH_KEYWORDS
},
32200 { (char *)"TreeCtrl_ToggleItemSelection", (PyCFunction
) _wrap_TreeCtrl_ToggleItemSelection
, METH_VARARGS
| METH_KEYWORDS
},
32201 { (char *)"TreeCtrl_EnsureVisible", (PyCFunction
) _wrap_TreeCtrl_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
},
32202 { (char *)"TreeCtrl_ScrollTo", (PyCFunction
) _wrap_TreeCtrl_ScrollTo
, METH_VARARGS
| METH_KEYWORDS
},
32203 { (char *)"TreeCtrl_EditLabel", (PyCFunction
) _wrap_TreeCtrl_EditLabel
, METH_VARARGS
| METH_KEYWORDS
},
32204 { (char *)"TreeCtrl_GetEditControl", (PyCFunction
) _wrap_TreeCtrl_GetEditControl
, METH_VARARGS
| METH_KEYWORDS
},
32205 { (char *)"TreeCtrl_EndEditLabel", (PyCFunction
) _wrap_TreeCtrl_EndEditLabel
, METH_VARARGS
| METH_KEYWORDS
},
32206 { (char *)"TreeCtrl_SortChildren", (PyCFunction
) _wrap_TreeCtrl_SortChildren
, METH_VARARGS
| METH_KEYWORDS
},
32207 { (char *)"TreeCtrl_HitTest", (PyCFunction
) _wrap_TreeCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
},
32208 { (char *)"TreeCtrl_GetBoundingRect", (PyCFunction
) _wrap_TreeCtrl_GetBoundingRect
, METH_VARARGS
| METH_KEYWORDS
},
32209 { (char *)"TreeCtrl_SetState", (PyCFunction
) _wrap_TreeCtrl_SetState
, METH_VARARGS
| METH_KEYWORDS
},
32210 { (char *)"TreeCtrl_GetState", (PyCFunction
) _wrap_TreeCtrl_GetState
, METH_VARARGS
| METH_KEYWORDS
},
32211 { (char *)"TreeCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_TreeCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
32212 { (char *)"TreeCtrl_swigregister", TreeCtrl_swigregister
, METH_VARARGS
},
32213 { (char *)"new_GenericDirCtrl", (PyCFunction
) _wrap_new_GenericDirCtrl
, METH_VARARGS
| METH_KEYWORDS
},
32214 { (char *)"new_PreGenericDirCtrl", (PyCFunction
) _wrap_new_PreGenericDirCtrl
, METH_VARARGS
| METH_KEYWORDS
},
32215 { (char *)"GenericDirCtrl_Create", (PyCFunction
) _wrap_GenericDirCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
},
32216 { (char *)"GenericDirCtrl_ExpandPath", (PyCFunction
) _wrap_GenericDirCtrl_ExpandPath
, METH_VARARGS
| METH_KEYWORDS
},
32217 { (char *)"GenericDirCtrl_GetDefaultPath", (PyCFunction
) _wrap_GenericDirCtrl_GetDefaultPath
, METH_VARARGS
| METH_KEYWORDS
},
32218 { (char *)"GenericDirCtrl_SetDefaultPath", (PyCFunction
) _wrap_GenericDirCtrl_SetDefaultPath
, METH_VARARGS
| METH_KEYWORDS
},
32219 { (char *)"GenericDirCtrl_GetPath", (PyCFunction
) _wrap_GenericDirCtrl_GetPath
, METH_VARARGS
| METH_KEYWORDS
},
32220 { (char *)"GenericDirCtrl_GetFilePath", (PyCFunction
) _wrap_GenericDirCtrl_GetFilePath
, METH_VARARGS
| METH_KEYWORDS
},
32221 { (char *)"GenericDirCtrl_SetPath", (PyCFunction
) _wrap_GenericDirCtrl_SetPath
, METH_VARARGS
| METH_KEYWORDS
},
32222 { (char *)"GenericDirCtrl_ShowHidden", (PyCFunction
) _wrap_GenericDirCtrl_ShowHidden
, METH_VARARGS
| METH_KEYWORDS
},
32223 { (char *)"GenericDirCtrl_GetShowHidden", (PyCFunction
) _wrap_GenericDirCtrl_GetShowHidden
, METH_VARARGS
| METH_KEYWORDS
},
32224 { (char *)"GenericDirCtrl_GetFilter", (PyCFunction
) _wrap_GenericDirCtrl_GetFilter
, METH_VARARGS
| METH_KEYWORDS
},
32225 { (char *)"GenericDirCtrl_SetFilter", (PyCFunction
) _wrap_GenericDirCtrl_SetFilter
, METH_VARARGS
| METH_KEYWORDS
},
32226 { (char *)"GenericDirCtrl_GetFilterIndex", (PyCFunction
) _wrap_GenericDirCtrl_GetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
},
32227 { (char *)"GenericDirCtrl_SetFilterIndex", (PyCFunction
) _wrap_GenericDirCtrl_SetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
},
32228 { (char *)"GenericDirCtrl_GetRootId", (PyCFunction
) _wrap_GenericDirCtrl_GetRootId
, METH_VARARGS
| METH_KEYWORDS
},
32229 { (char *)"GenericDirCtrl_GetTreeCtrl", (PyCFunction
) _wrap_GenericDirCtrl_GetTreeCtrl
, METH_VARARGS
| METH_KEYWORDS
},
32230 { (char *)"GenericDirCtrl_GetFilterListCtrl", (PyCFunction
) _wrap_GenericDirCtrl_GetFilterListCtrl
, METH_VARARGS
| METH_KEYWORDS
},
32231 { (char *)"GenericDirCtrl_FindChild", (PyCFunction
) _wrap_GenericDirCtrl_FindChild
, METH_VARARGS
| METH_KEYWORDS
},
32232 { (char *)"GenericDirCtrl_DoResize", (PyCFunction
) _wrap_GenericDirCtrl_DoResize
, METH_VARARGS
| METH_KEYWORDS
},
32233 { (char *)"GenericDirCtrl_ReCreateTree", (PyCFunction
) _wrap_GenericDirCtrl_ReCreateTree
, METH_VARARGS
| METH_KEYWORDS
},
32234 { (char *)"GenericDirCtrl_swigregister", GenericDirCtrl_swigregister
, METH_VARARGS
},
32235 { (char *)"new_DirFilterListCtrl", (PyCFunction
) _wrap_new_DirFilterListCtrl
, METH_VARARGS
| METH_KEYWORDS
},
32236 { (char *)"new_PreDirFilterListCtrl", (PyCFunction
) _wrap_new_PreDirFilterListCtrl
, METH_VARARGS
| METH_KEYWORDS
},
32237 { (char *)"DirFilterListCtrl_Create", (PyCFunction
) _wrap_DirFilterListCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
},
32238 { (char *)"DirFilterListCtrl_FillFilterList", (PyCFunction
) _wrap_DirFilterListCtrl_FillFilterList
, METH_VARARGS
| METH_KEYWORDS
},
32239 { (char *)"DirFilterListCtrl_swigregister", DirFilterListCtrl_swigregister
, METH_VARARGS
},
32240 { (char *)"new_PyControl", (PyCFunction
) _wrap_new_PyControl
, METH_VARARGS
| METH_KEYWORDS
},
32241 { (char *)"new_PrePyControl", (PyCFunction
) _wrap_new_PrePyControl
, METH_VARARGS
| METH_KEYWORDS
},
32242 { (char *)"PyControl__setCallbackInfo", (PyCFunction
) _wrap_PyControl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
32243 { (char *)"PyControl_SetBestSize", (PyCFunction
) _wrap_PyControl_SetBestSize
, METH_VARARGS
| METH_KEYWORDS
},
32244 { (char *)"PyControl_base_DoMoveWindow", (PyCFunction
) _wrap_PyControl_base_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
},
32245 { (char *)"PyControl_base_DoSetSize", (PyCFunction
) _wrap_PyControl_base_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
},
32246 { (char *)"PyControl_base_DoSetClientSize", (PyCFunction
) _wrap_PyControl_base_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
32247 { (char *)"PyControl_base_DoSetVirtualSize", (PyCFunction
) _wrap_PyControl_base_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
32248 { (char *)"PyControl_base_DoGetSize", (PyCFunction
) _wrap_PyControl_base_DoGetSize
, METH_VARARGS
| METH_KEYWORDS
},
32249 { (char *)"PyControl_base_DoGetClientSize", (PyCFunction
) _wrap_PyControl_base_DoGetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
32250 { (char *)"PyControl_base_DoGetPosition", (PyCFunction
) _wrap_PyControl_base_DoGetPosition
, METH_VARARGS
| METH_KEYWORDS
},
32251 { (char *)"PyControl_base_DoGetVirtualSize", (PyCFunction
) _wrap_PyControl_base_DoGetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
32252 { (char *)"PyControl_base_DoGetBestSize", (PyCFunction
) _wrap_PyControl_base_DoGetBestSize
, METH_VARARGS
| METH_KEYWORDS
},
32253 { (char *)"PyControl_base_InitDialog", (PyCFunction
) _wrap_PyControl_base_InitDialog
, METH_VARARGS
| METH_KEYWORDS
},
32254 { (char *)"PyControl_base_TransferDataToWindow", (PyCFunction
) _wrap_PyControl_base_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
},
32255 { (char *)"PyControl_base_TransferDataFromWindow", (PyCFunction
) _wrap_PyControl_base_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
},
32256 { (char *)"PyControl_base_Validate", (PyCFunction
) _wrap_PyControl_base_Validate
, METH_VARARGS
| METH_KEYWORDS
},
32257 { (char *)"PyControl_base_AcceptsFocus", (PyCFunction
) _wrap_PyControl_base_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
},
32258 { (char *)"PyControl_base_AcceptsFocusFromKeyboard", (PyCFunction
) _wrap_PyControl_base_AcceptsFocusFromKeyboard
, METH_VARARGS
| METH_KEYWORDS
},
32259 { (char *)"PyControl_base_GetMaxSize", (PyCFunction
) _wrap_PyControl_base_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
},
32260 { (char *)"PyControl_base_AddChild", (PyCFunction
) _wrap_PyControl_base_AddChild
, METH_VARARGS
| METH_KEYWORDS
},
32261 { (char *)"PyControl_base_RemoveChild", (PyCFunction
) _wrap_PyControl_base_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
},
32262 { (char *)"PyControl_base_ShouldInheritColours", (PyCFunction
) _wrap_PyControl_base_ShouldInheritColours
, METH_VARARGS
| METH_KEYWORDS
},
32263 { (char *)"PyControl_base_ApplyParentThemeBackground", (PyCFunction
) _wrap_PyControl_base_ApplyParentThemeBackground
, METH_VARARGS
| METH_KEYWORDS
},
32264 { (char *)"PyControl_base_GetDefaultAttributes", (PyCFunction
) _wrap_PyControl_base_GetDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
32265 { (char *)"PyControl_swigregister", PyControl_swigregister
, METH_VARARGS
},
32266 { (char *)"new_HelpEvent", (PyCFunction
) _wrap_new_HelpEvent
, METH_VARARGS
| METH_KEYWORDS
},
32267 { (char *)"HelpEvent_GetPosition", (PyCFunction
) _wrap_HelpEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
32268 { (char *)"HelpEvent_SetPosition", (PyCFunction
) _wrap_HelpEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
},
32269 { (char *)"HelpEvent_GetLink", (PyCFunction
) _wrap_HelpEvent_GetLink
, METH_VARARGS
| METH_KEYWORDS
},
32270 { (char *)"HelpEvent_SetLink", (PyCFunction
) _wrap_HelpEvent_SetLink
, METH_VARARGS
| METH_KEYWORDS
},
32271 { (char *)"HelpEvent_GetTarget", (PyCFunction
) _wrap_HelpEvent_GetTarget
, METH_VARARGS
| METH_KEYWORDS
},
32272 { (char *)"HelpEvent_SetTarget", (PyCFunction
) _wrap_HelpEvent_SetTarget
, METH_VARARGS
| METH_KEYWORDS
},
32273 { (char *)"HelpEvent_swigregister", HelpEvent_swigregister
, METH_VARARGS
},
32274 { (char *)"new_ContextHelp", (PyCFunction
) _wrap_new_ContextHelp
, METH_VARARGS
| METH_KEYWORDS
},
32275 { (char *)"delete_ContextHelp", (PyCFunction
) _wrap_delete_ContextHelp
, METH_VARARGS
| METH_KEYWORDS
},
32276 { (char *)"ContextHelp_BeginContextHelp", (PyCFunction
) _wrap_ContextHelp_BeginContextHelp
, METH_VARARGS
| METH_KEYWORDS
},
32277 { (char *)"ContextHelp_EndContextHelp", (PyCFunction
) _wrap_ContextHelp_EndContextHelp
, METH_VARARGS
| METH_KEYWORDS
},
32278 { (char *)"ContextHelp_swigregister", ContextHelp_swigregister
, METH_VARARGS
},
32279 { (char *)"new_ContextHelpButton", (PyCFunction
) _wrap_new_ContextHelpButton
, METH_VARARGS
| METH_KEYWORDS
},
32280 { (char *)"ContextHelpButton_swigregister", ContextHelpButton_swigregister
, METH_VARARGS
},
32281 { (char *)"HelpProvider_Set", (PyCFunction
) _wrap_HelpProvider_Set
, METH_VARARGS
| METH_KEYWORDS
},
32282 { (char *)"HelpProvider_Get", (PyCFunction
) _wrap_HelpProvider_Get
, METH_VARARGS
| METH_KEYWORDS
},
32283 { (char *)"HelpProvider_GetHelp", (PyCFunction
) _wrap_HelpProvider_GetHelp
, METH_VARARGS
| METH_KEYWORDS
},
32284 { (char *)"HelpProvider_ShowHelp", (PyCFunction
) _wrap_HelpProvider_ShowHelp
, METH_VARARGS
| METH_KEYWORDS
},
32285 { (char *)"HelpProvider_AddHelp", (PyCFunction
) _wrap_HelpProvider_AddHelp
, METH_VARARGS
| METH_KEYWORDS
},
32286 { (char *)"HelpProvider_AddHelpById", (PyCFunction
) _wrap_HelpProvider_AddHelpById
, METH_VARARGS
| METH_KEYWORDS
},
32287 { (char *)"HelpProvider_RemoveHelp", (PyCFunction
) _wrap_HelpProvider_RemoveHelp
, METH_VARARGS
| METH_KEYWORDS
},
32288 { (char *)"HelpProvider_Destroy", (PyCFunction
) _wrap_HelpProvider_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
32289 { (char *)"HelpProvider_swigregister", HelpProvider_swigregister
, METH_VARARGS
},
32290 { (char *)"new_SimpleHelpProvider", (PyCFunction
) _wrap_new_SimpleHelpProvider
, METH_VARARGS
| METH_KEYWORDS
},
32291 { (char *)"SimpleHelpProvider_swigregister", SimpleHelpProvider_swigregister
, METH_VARARGS
},
32292 { (char *)"new_DragImage", (PyCFunction
) _wrap_new_DragImage
, METH_VARARGS
| METH_KEYWORDS
},
32293 { (char *)"new_DragIcon", (PyCFunction
) _wrap_new_DragIcon
, METH_VARARGS
| METH_KEYWORDS
},
32294 { (char *)"new_DragString", (PyCFunction
) _wrap_new_DragString
, METH_VARARGS
| METH_KEYWORDS
},
32295 { (char *)"new_DragTreeItem", (PyCFunction
) _wrap_new_DragTreeItem
, METH_VARARGS
| METH_KEYWORDS
},
32296 { (char *)"new_DragListItem", (PyCFunction
) _wrap_new_DragListItem
, METH_VARARGS
| METH_KEYWORDS
},
32297 { (char *)"delete_DragImage", (PyCFunction
) _wrap_delete_DragImage
, METH_VARARGS
| METH_KEYWORDS
},
32298 { (char *)"DragImage_SetBackingBitmap", (PyCFunction
) _wrap_DragImage_SetBackingBitmap
, METH_VARARGS
| METH_KEYWORDS
},
32299 { (char *)"DragImage_BeginDrag", (PyCFunction
) _wrap_DragImage_BeginDrag
, METH_VARARGS
| METH_KEYWORDS
},
32300 { (char *)"DragImage_BeginDragBounded", (PyCFunction
) _wrap_DragImage_BeginDragBounded
, METH_VARARGS
| METH_KEYWORDS
},
32301 { (char *)"DragImage_EndDrag", (PyCFunction
) _wrap_DragImage_EndDrag
, METH_VARARGS
| METH_KEYWORDS
},
32302 { (char *)"DragImage_Move", (PyCFunction
) _wrap_DragImage_Move
, METH_VARARGS
| METH_KEYWORDS
},
32303 { (char *)"DragImage_Show", (PyCFunction
) _wrap_DragImage_Show
, METH_VARARGS
| METH_KEYWORDS
},
32304 { (char *)"DragImage_Hide", (PyCFunction
) _wrap_DragImage_Hide
, METH_VARARGS
| METH_KEYWORDS
},
32305 { (char *)"DragImage_GetImageRect", (PyCFunction
) _wrap_DragImage_GetImageRect
, METH_VARARGS
| METH_KEYWORDS
},
32306 { (char *)"DragImage_DoDrawImage", (PyCFunction
) _wrap_DragImage_DoDrawImage
, METH_VARARGS
| METH_KEYWORDS
},
32307 { (char *)"DragImage_UpdateBackingFromWindow", (PyCFunction
) _wrap_DragImage_UpdateBackingFromWindow
, METH_VARARGS
| METH_KEYWORDS
},
32308 { (char *)"DragImage_RedrawImage", (PyCFunction
) _wrap_DragImage_RedrawImage
, METH_VARARGS
| METH_KEYWORDS
},
32309 { (char *)"DragImage_swigregister", DragImage_swigregister
, METH_VARARGS
},
32314 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
32316 static void *_p_wxNotebookEventTo_p_wxBookCtrlEvent(void *x
) {
32317 return (void *)((wxBookCtrlEvent
*) ((wxNotebookEvent
*) x
));
32319 static void *_p_wxListbookEventTo_p_wxBookCtrlEvent(void *x
) {
32320 return (void *)((wxBookCtrlEvent
*) ((wxListbookEvent
*) x
));
32322 static void *_p_wxBoxSizerTo_p_wxSizer(void *x
) {
32323 return (void *)((wxSizer
*) ((wxBoxSizer
*) x
));
32325 static void *_p_wxStaticBoxSizerTo_p_wxSizer(void *x
) {
32326 return (void *)((wxSizer
*) (wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
32328 static void *_p_wxGridBagSizerTo_p_wxSizer(void *x
) {
32329 return (void *)((wxSizer
*) (wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
32331 static void *_p_wxGridSizerTo_p_wxSizer(void *x
) {
32332 return (void *)((wxSizer
*) ((wxGridSizer
*) x
));
32334 static void *_p_wxFlexGridSizerTo_p_wxSizer(void *x
) {
32335 return (void *)((wxSizer
*) (wxGridSizer
*) ((wxFlexGridSizer
*) x
));
32337 static void *_p_wxNotebookSizerTo_p_wxSizer(void *x
) {
32338 return (void *)((wxSizer
*) ((wxNotebookSizer
*) x
));
32340 static void *_p_wxPySizerTo_p_wxSizer(void *x
) {
32341 return (void *)((wxSizer
*) ((wxPySizer
*) x
));
32343 static void *_p_wxBookCtrlSizerTo_p_wxSizer(void *x
) {
32344 return (void *)((wxSizer
*) ((wxBookCtrlSizer
*) x
));
32346 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
32347 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
32349 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
32350 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
32352 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
32353 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
32355 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
32356 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
32358 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
32359 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
32361 static void *_p_wxTreeEventTo_p_wxEvent(void *x
) {
32362 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxTreeEvent
*) x
));
32364 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
32365 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
32367 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
32368 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
32370 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
32371 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
32373 static void *_p_wxTextUrlEventTo_p_wxEvent(void *x
) {
32374 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
32376 static void *_p_wxBookCtrlEventTo_p_wxEvent(void *x
) {
32377 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxBookCtrlEvent
*) x
));
32379 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
32380 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
32382 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
32383 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
32385 static void *_p_wxListEventTo_p_wxEvent(void *x
) {
32386 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxListEvent
*) x
));
32388 static void *_p_wxNotebookEventTo_p_wxEvent(void *x
) {
32389 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlEvent
*) ((wxNotebookEvent
*) x
));
32391 static void *_p_wxListbookEventTo_p_wxEvent(void *x
) {
32392 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlEvent
*) ((wxListbookEvent
*) x
));
32394 static void *_p_wxHelpEventTo_p_wxEvent(void *x
) {
32395 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxHelpEvent
*) x
));
32397 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
32398 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
32400 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
32401 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
32403 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
32404 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
32406 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
32407 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
32409 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
32410 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
32412 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
32413 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
32415 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
32416 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
32418 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
32419 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
32421 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
32422 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
32424 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
32425 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
32427 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
32428 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
32430 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
32431 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
32433 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
32434 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
32436 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
32437 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
32439 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
32440 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
32442 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
32443 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
32445 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
32446 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
32448 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
32449 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
32451 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
32452 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
32454 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
32455 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
32457 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
32458 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
32460 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
32461 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
32463 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
32464 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
32466 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
32467 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
32469 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
32470 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
32472 static void *_p_wxSpinEventTo_p_wxEvent(void *x
) {
32473 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxSpinEvent
*) x
));
32475 static void *_p_wxComboBoxTo_p_wxItemContainer(void *x
) {
32476 return (void *)((wxItemContainer
*) (wxControlWithItems
*)(wxChoice
*) ((wxComboBox
*) x
));
32478 static void *_p_wxDirFilterListCtrlTo_p_wxItemContainer(void *x
) {
32479 return (void *)((wxItemContainer
*) (wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
32481 static void *_p_wxChoiceTo_p_wxItemContainer(void *x
) {
32482 return (void *)((wxItemContainer
*) (wxControlWithItems
*) ((wxChoice
*) x
));
32484 static void *_p_wxControlWithItemsTo_p_wxItemContainer(void *x
) {
32485 return (void *)((wxItemContainer
*) ((wxControlWithItems
*) x
));
32487 static void *_p_wxListBoxTo_p_wxItemContainer(void *x
) {
32488 return (void *)((wxItemContainer
*) (wxControlWithItems
*) ((wxListBox
*) x
));
32490 static void *_p_wxCheckListBoxTo_p_wxItemContainer(void *x
) {
32491 return (void *)((wxItemContainer
*) (wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
32493 static void *_p_wxListViewTo_p_wxPyListCtrl(void *x
) {
32494 return (void *)((wxPyListCtrl
*) ((wxListView
*) x
));
32496 static void *_p_wxCheckListBoxTo_p_wxControl(void *x
) {
32497 return (void *)((wxControl
*) (wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
32499 static void *_p_wxListBoxTo_p_wxControl(void *x
) {
32500 return (void *)((wxControl
*) (wxControlWithItems
*) ((wxListBox
*) x
));
32502 static void *_p_wxChoiceTo_p_wxControl(void *x
) {
32503 return (void *)((wxControl
*) (wxControlWithItems
*) ((wxChoice
*) x
));
32505 static void *_p_wxToolBarTo_p_wxControl(void *x
) {
32506 return (void *)((wxControl
*) (wxToolBarBase
*) ((wxToolBar
*) x
));
32508 static void *_p_wxStaticBitmapTo_p_wxControl(void *x
) {
32509 return (void *)((wxControl
*) ((wxStaticBitmap
*) x
));
32511 static void *_p_wxComboBoxTo_p_wxControl(void *x
) {
32512 return (void *)((wxControl
*) (wxControlWithItems
*)(wxChoice
*) ((wxComboBox
*) x
));
32514 static void *_p_wxSpinCtrlTo_p_wxControl(void *x
) {
32515 return (void *)((wxControl
*) ((wxSpinCtrl
*) x
));
32517 static void *_p_wxStaticBoxTo_p_wxControl(void *x
) {
32518 return (void *)((wxControl
*) ((wxStaticBox
*) x
));
32520 static void *_p_wxPyListCtrlTo_p_wxControl(void *x
) {
32521 return (void *)((wxControl
*) ((wxPyListCtrl
*) x
));
32523 static void *_p_wxPyTreeCtrlTo_p_wxControl(void *x
) {
32524 return (void *)((wxControl
*) ((wxPyTreeCtrl
*) x
));
32526 static void *_p_wxDirFilterListCtrlTo_p_wxControl(void *x
) {
32527 return (void *)((wxControl
*) (wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
32529 static void *_p_wxScrollBarTo_p_wxControl(void *x
) {
32530 return (void *)((wxControl
*) ((wxScrollBar
*) x
));
32532 static void *_p_wxBookCtrlTo_p_wxControl(void *x
) {
32533 return (void *)((wxControl
*) ((wxBookCtrl
*) x
));
32535 static void *_p_wxRadioButtonTo_p_wxControl(void *x
) {
32536 return (void *)((wxControl
*) ((wxRadioButton
*) x
));
32538 static void *_p_wxToggleButtonTo_p_wxControl(void *x
) {
32539 return (void *)((wxControl
*) ((wxToggleButton
*) x
));
32541 static void *_p_wxGaugeTo_p_wxControl(void *x
) {
32542 return (void *)((wxControl
*) ((wxGauge
*) x
));
32544 static void *_p_wxToolBarBaseTo_p_wxControl(void *x
) {
32545 return (void *)((wxControl
*) ((wxToolBarBase
*) x
));
32547 static void *_p_wxBitmapButtonTo_p_wxControl(void *x
) {
32548 return (void *)((wxControl
*) (wxButton
*) ((wxBitmapButton
*) x
));
32550 static void *_p_wxButtonTo_p_wxControl(void *x
) {
32551 return (void *)((wxControl
*) ((wxButton
*) x
));
32553 static void *_p_wxSpinButtonTo_p_wxControl(void *x
) {
32554 return (void *)((wxControl
*) ((wxSpinButton
*) x
));
32556 static void *_p_wxContextHelpButtonTo_p_wxControl(void *x
) {
32557 return (void *)((wxControl
*) (wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
32559 static void *_p_wxControlWithItemsTo_p_wxControl(void *x
) {
32560 return (void *)((wxControl
*) ((wxControlWithItems
*) x
));
32562 static void *_p_wxRadioBoxTo_p_wxControl(void *x
) {
32563 return (void *)((wxControl
*) ((wxRadioBox
*) x
));
32565 static void *_p_wxNotebookTo_p_wxControl(void *x
) {
32566 return (void *)((wxControl
*) (wxBookCtrl
*) ((wxNotebook
*) x
));
32568 static void *_p_wxListbookTo_p_wxControl(void *x
) {
32569 return (void *)((wxControl
*) (wxBookCtrl
*) ((wxListbook
*) x
));
32571 static void *_p_wxCheckBoxTo_p_wxControl(void *x
) {
32572 return (void *)((wxControl
*) ((wxCheckBox
*) x
));
32574 static void *_p_wxTextCtrlTo_p_wxControl(void *x
) {
32575 return (void *)((wxControl
*) ((wxTextCtrl
*) x
));
32577 static void *_p_wxListViewTo_p_wxControl(void *x
) {
32578 return (void *)((wxControl
*) (wxPyListCtrl
*) ((wxListView
*) x
));
32580 static void *_p_wxSliderTo_p_wxControl(void *x
) {
32581 return (void *)((wxControl
*) ((wxSlider
*) x
));
32583 static void *_p_wxGenericDirCtrlTo_p_wxControl(void *x
) {
32584 return (void *)((wxControl
*) ((wxGenericDirCtrl
*) x
));
32586 static void *_p_wxPyControlTo_p_wxControl(void *x
) {
32587 return (void *)((wxControl
*) ((wxPyControl
*) x
));
32589 static void *_p_wxStaticLineTo_p_wxControl(void *x
) {
32590 return (void *)((wxControl
*) ((wxStaticLine
*) x
));
32592 static void *_p_wxStaticTextTo_p_wxControl(void *x
) {
32593 return (void *)((wxControl
*) ((wxStaticText
*) x
));
32595 static void *_p_wxToolBarTo_p_wxToolBarBase(void *x
) {
32596 return (void *)((wxToolBarBase
*) ((wxToolBar
*) x
));
32598 static void *_p_wxComboBoxTo_p_wxChoice(void *x
) {
32599 return (void *)((wxChoice
*) ((wxComboBox
*) x
));
32601 static void *_p_wxDirFilterListCtrlTo_p_wxChoice(void *x
) {
32602 return (void *)((wxChoice
*) ((wxDirFilterListCtrl
*) x
));
32604 static void *_p_wxTreeEventTo_p_wxNotifyEvent(void *x
) {
32605 return (void *)((wxNotifyEvent
*) ((wxTreeEvent
*) x
));
32607 static void *_p_wxBookCtrlEventTo_p_wxNotifyEvent(void *x
) {
32608 return (void *)((wxNotifyEvent
*) ((wxBookCtrlEvent
*) x
));
32610 static void *_p_wxListEventTo_p_wxNotifyEvent(void *x
) {
32611 return (void *)((wxNotifyEvent
*) ((wxListEvent
*) x
));
32613 static void *_p_wxSpinEventTo_p_wxNotifyEvent(void *x
) {
32614 return (void *)((wxNotifyEvent
*) ((wxSpinEvent
*) x
));
32616 static void *_p_wxNotebookEventTo_p_wxNotifyEvent(void *x
) {
32617 return (void *)((wxNotifyEvent
*) (wxBookCtrlEvent
*) ((wxNotebookEvent
*) x
));
32619 static void *_p_wxListbookEventTo_p_wxNotifyEvent(void *x
) {
32620 return (void *)((wxNotifyEvent
*) (wxBookCtrlEvent
*) ((wxListbookEvent
*) x
));
32622 static void *_p_wxBookCtrlTo_p_wxEvtHandler(void *x
) {
32623 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxBookCtrl
*) x
));
32625 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
32626 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
32628 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
32629 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
32631 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
32632 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
32634 static void *_p_wxToolBarTo_p_wxEvtHandler(void *x
) {
32635 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
32637 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
32638 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
32640 static void *_p_wxToggleButtonTo_p_wxEvtHandler(void *x
) {
32641 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxToggleButton
*) x
));
32643 static void *_p_wxRadioButtonTo_p_wxEvtHandler(void *x
) {
32644 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxRadioButton
*) x
));
32646 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
32647 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
32649 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
32650 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
32652 static void *_p_wxToolBarBaseTo_p_wxEvtHandler(void *x
) {
32653 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxToolBarBase
*) x
));
32655 static void *_p_wxPyListCtrlTo_p_wxEvtHandler(void *x
) {
32656 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyListCtrl
*) x
));
32658 static void *_p_wxComboBoxTo_p_wxEvtHandler(void *x
) {
32659 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxComboBox
*) x
));
32661 static void *_p_wxDirFilterListCtrlTo_p_wxEvtHandler(void *x
) {
32662 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
32664 static void *_p_wxPyControlTo_p_wxEvtHandler(void *x
) {
32665 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyControl
*) x
));
32667 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
32668 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
32670 static void *_p_wxGenericDirCtrlTo_p_wxEvtHandler(void *x
) {
32671 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxGenericDirCtrl
*) x
));
32673 static void *_p_wxScrollBarTo_p_wxEvtHandler(void *x
) {
32674 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxScrollBar
*) x
));
32676 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
32677 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
32679 static void *_p_wxGaugeTo_p_wxEvtHandler(void *x
) {
32680 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxGauge
*) x
));
32682 static void *_p_wxStaticLineTo_p_wxEvtHandler(void *x
) {
32683 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticLine
*) x
));
32685 static void *_p_wxListbookTo_p_wxEvtHandler(void *x
) {
32686 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrl
*) ((wxListbook
*) x
));
32688 static void *_p_wxPyTreeCtrlTo_p_wxEvtHandler(void *x
) {
32689 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyTreeCtrl
*) x
));
32691 static void *_p_wxCheckBoxTo_p_wxEvtHandler(void *x
) {
32692 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxCheckBox
*) x
));
32694 static void *_p_wxRadioBoxTo_p_wxEvtHandler(void *x
) {
32695 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxRadioBox
*) x
));
32697 static void *_p_wxCheckListBoxTo_p_wxEvtHandler(void *x
) {
32698 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
32700 static void *_p_wxListBoxTo_p_wxEvtHandler(void *x
) {
32701 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
32703 static void *_p_wxChoiceTo_p_wxEvtHandler(void *x
) {
32704 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
32706 static void *_p_wxNotebookTo_p_wxEvtHandler(void *x
) {
32707 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrl
*) ((wxNotebook
*) x
));
32709 static void *_p_wxStaticBitmapTo_p_wxEvtHandler(void *x
) {
32710 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticBitmap
*) x
));
32712 static void *_p_wxListViewTo_p_wxEvtHandler(void *x
) {
32713 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
32715 static void *_p_wxSpinCtrlTo_p_wxEvtHandler(void *x
) {
32716 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSpinCtrl
*) x
));
32718 static void *_p_wxStaticTextTo_p_wxEvtHandler(void *x
) {
32719 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticText
*) x
));
32721 static void *_p_wxStaticBoxTo_p_wxEvtHandler(void *x
) {
32722 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticBox
*) x
));
32724 static void *_p_wxSliderTo_p_wxEvtHandler(void *x
) {
32725 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSlider
*) x
));
32727 static void *_p_wxSpinButtonTo_p_wxEvtHandler(void *x
) {
32728 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSpinButton
*) x
));
32730 static void *_p_wxButtonTo_p_wxEvtHandler(void *x
) {
32731 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxButton
*) x
));
32733 static void *_p_wxBitmapButtonTo_p_wxEvtHandler(void *x
) {
32734 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
32736 static void *_p_wxContextHelpButtonTo_p_wxEvtHandler(void *x
) {
32737 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
32739 static void *_p_wxTextCtrlTo_p_wxEvtHandler(void *x
) {
32740 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxTextCtrl
*) x
));
32742 static void *_p_wxCheckListBoxTo_p_wxListBox(void *x
) {
32743 return (void *)((wxListBox
*) ((wxCheckListBox
*) x
));
32745 static void *_p_wxListbookTo_p_wxBookCtrl(void *x
) {
32746 return (void *)((wxBookCtrl
*) ((wxListbook
*) x
));
32748 static void *_p_wxNotebookTo_p_wxBookCtrl(void *x
) {
32749 return (void *)((wxBookCtrl
*) ((wxNotebook
*) x
));
32751 static void *_p_wxBitmapButtonTo_p_wxButton(void *x
) {
32752 return (void *)((wxButton
*) ((wxBitmapButton
*) x
));
32754 static void *_p_wxContextHelpButtonTo_p_wxButton(void *x
) {
32755 return (void *)((wxButton
*) (wxBitmapButton
*) ((wxContextHelpButton
*) x
));
32757 static void *_p_wxContextHelpButtonTo_p_wxBitmapButton(void *x
) {
32758 return (void *)((wxBitmapButton
*) ((wxContextHelpButton
*) x
));
32760 static void *_p_wxSimpleHelpProviderTo_p_wxHelpProvider(void *x
) {
32761 return (void *)((wxHelpProvider
*) ((wxSimpleHelpProvider
*) x
));
32763 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
32764 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
32766 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
32767 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
32769 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
32770 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
32772 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
32773 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
32775 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
32776 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
32778 static void *_p_wxTextUrlEventTo_p_wxObject(void *x
) {
32779 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
32781 static void *_p_wxBookCtrlEventTo_p_wxObject(void *x
) {
32782 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxBookCtrlEvent
*) x
));
32784 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
32785 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
32787 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
32788 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
32790 static void *_p_wxSizerTo_p_wxObject(void *x
) {
32791 return (void *)((wxObject
*) ((wxSizer
*) x
));
32793 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
32794 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
32796 static void *_p_wxCheckBoxTo_p_wxObject(void *x
) {
32797 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxCheckBox
*) x
));
32799 static void *_p_wxPyTreeCtrlTo_p_wxObject(void *x
) {
32800 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyTreeCtrl
*) x
));
32802 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
32803 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
32805 static void *_p_wxEventTo_p_wxObject(void *x
) {
32806 return (void *)((wxObject
*) ((wxEvent
*) x
));
32808 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
32809 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
32811 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
32812 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
32814 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
32815 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
32817 static void *_p_wxGenericDirCtrlTo_p_wxObject(void *x
) {
32818 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxGenericDirCtrl
*) x
));
32820 static void *_p_wxPyListCtrlTo_p_wxObject(void *x
) {
32821 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyListCtrl
*) x
));
32823 static void *_p_wxDirFilterListCtrlTo_p_wxObject(void *x
) {
32824 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
32826 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
32827 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
32829 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
32830 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
32832 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
32833 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
32835 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
32836 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
32838 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
32839 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
32841 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
32842 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
32844 static void *_p_wxStaticLineTo_p_wxObject(void *x
) {
32845 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticLine
*) x
));
32847 static void *_p_wxControlTo_p_wxObject(void *x
) {
32848 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
32850 static void *_p_wxPyControlTo_p_wxObject(void *x
) {
32851 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyControl
*) x
));
32853 static void *_p_wxGaugeTo_p_wxObject(void *x
) {
32854 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxGauge
*) x
));
32856 static void *_p_wxRadioButtonTo_p_wxObject(void *x
) {
32857 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxRadioButton
*) x
));
32859 static void *_p_wxToggleButtonTo_p_wxObject(void *x
) {
32860 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxToggleButton
*) x
));
32862 static void *_p_wxToolBarBaseTo_p_wxObject(void *x
) {
32863 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxToolBarBase
*) x
));
32865 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
32866 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
32868 static void *_p_wxChoiceTo_p_wxObject(void *x
) {
32869 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
32871 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
32872 return (void *)((wxObject
*) ((wxFSFile
*) x
));
32874 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
32875 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
32877 static void *_p_wxListViewTo_p_wxObject(void *x
) {
32878 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
32880 static void *_p_wxTextCtrlTo_p_wxObject(void *x
) {
32881 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxTextCtrl
*) x
));
32883 static void *_p_wxNotebookTo_p_wxObject(void *x
) {
32884 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrl
*) ((wxNotebook
*) x
));
32886 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
32887 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
32889 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
32890 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
32892 static void *_p_wxListbookTo_p_wxObject(void *x
) {
32893 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrl
*) ((wxListbook
*) x
));
32895 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
32896 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
32898 static void *_p_wxStaticBitmapTo_p_wxObject(void *x
) {
32899 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticBitmap
*) x
));
32901 static void *_p_wxSliderTo_p_wxObject(void *x
) {
32902 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSlider
*) x
));
32904 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
32905 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
32907 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
32908 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
32910 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
32911 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
32913 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
32914 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
32916 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
32917 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
32919 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
32920 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
32922 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
32923 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
32925 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
32926 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
32928 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
32929 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
32931 static void *_p_wxStaticBoxTo_p_wxObject(void *x
) {
32932 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticBox
*) x
));
32934 static void *_p_wxContextHelpTo_p_wxObject(void *x
) {
32935 return (void *)((wxObject
*) ((wxContextHelp
*) x
));
32937 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
32938 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
32940 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
32941 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
32943 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
32944 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
32946 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
32947 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
32949 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
32950 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
32952 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
32953 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
32955 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
32956 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
32958 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
32959 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
32961 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
32962 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
32964 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
32965 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
32967 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
32968 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
32970 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
32971 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
32973 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
32974 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
32976 static void *_p_wxListEventTo_p_wxObject(void *x
) {
32977 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxListEvent
*) x
));
32979 static void *_p_wxListBoxTo_p_wxObject(void *x
) {
32980 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
32982 static void *_p_wxCheckListBoxTo_p_wxObject(void *x
) {
32983 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
32985 static void *_p_wxBookCtrlTo_p_wxObject(void *x
) {
32986 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxBookCtrl
*) x
));
32988 static void *_p_wxButtonTo_p_wxObject(void *x
) {
32989 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxButton
*) x
));
32991 static void *_p_wxBitmapButtonTo_p_wxObject(void *x
) {
32992 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
32994 static void *_p_wxSpinButtonTo_p_wxObject(void *x
) {
32995 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSpinButton
*) x
));
32997 static void *_p_wxContextHelpButtonTo_p_wxObject(void *x
) {
32998 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
33000 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
33001 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
33003 static void *_p_wxScrollBarTo_p_wxObject(void *x
) {
33004 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxScrollBar
*) x
));
33006 static void *_p_wxRadioBoxTo_p_wxObject(void *x
) {
33007 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxRadioBox
*) x
));
33009 static void *_p_wxComboBoxTo_p_wxObject(void *x
) {
33010 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxComboBox
*) x
));
33012 static void *_p_wxHelpEventTo_p_wxObject(void *x
) {
33013 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxHelpEvent
*) x
));
33015 static void *_p_wxListItemTo_p_wxObject(void *x
) {
33016 return (void *)((wxObject
*) ((wxListItem
*) x
));
33018 static void *_p_wxImageTo_p_wxObject(void *x
) {
33019 return (void *)((wxObject
*) ((wxImage
*) x
));
33021 static void *_p_wxNotebookSizerTo_p_wxObject(void *x
) {
33022 return (void *)((wxObject
*) (wxSizer
*) ((wxNotebookSizer
*) x
));
33024 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
33025 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
33027 static void *_p_wxSpinEventTo_p_wxObject(void *x
) {
33028 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxSpinEvent
*) x
));
33030 static void *_p_wxGenericDragImageTo_p_wxObject(void *x
) {
33031 return (void *)((wxObject
*) ((wxGenericDragImage
*) x
));
33033 static void *_p_wxSpinCtrlTo_p_wxObject(void *x
) {
33034 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSpinCtrl
*) x
));
33036 static void *_p_wxNotebookEventTo_p_wxObject(void *x
) {
33037 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlEvent
*) ((wxNotebookEvent
*) x
));
33039 static void *_p_wxListbookEventTo_p_wxObject(void *x
) {
33040 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlEvent
*) ((wxListbookEvent
*) x
));
33042 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
33043 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
33045 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
33046 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
33048 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
33049 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
33051 static void *_p_wxWindowTo_p_wxObject(void *x
) {
33052 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
33054 static void *_p_wxMenuTo_p_wxObject(void *x
) {
33055 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
33057 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
33058 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
33060 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
33061 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
33063 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
33064 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
33066 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
33067 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
33069 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
33070 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
33072 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
33073 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
33075 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
33076 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
33078 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
33079 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
33081 static void *_p_wxTreeEventTo_p_wxObject(void *x
) {
33082 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxTreeEvent
*) x
));
33084 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
33085 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
33087 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
33088 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
33090 static void *_p_wxStaticTextTo_p_wxObject(void *x
) {
33091 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticText
*) x
));
33093 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
33094 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
33096 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
33097 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
33099 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
33100 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
33102 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
33103 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
33105 static void *_p_wxToolBarToolBaseTo_p_wxObject(void *x
) {
33106 return (void *)((wxObject
*) ((wxToolBarToolBase
*) x
));
33108 static void *_p_wxToolBarTo_p_wxObject(void *x
) {
33109 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
33111 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
33112 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
33114 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
33115 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
33117 static void *_p_wxBookCtrlSizerTo_p_wxObject(void *x
) {
33118 return (void *)((wxObject
*) (wxSizer
*) ((wxBookCtrlSizer
*) x
));
33120 static void *_p_wxBookCtrlTo_p_wxWindow(void *x
) {
33121 return (void *)((wxWindow
*) (wxControl
*) ((wxBookCtrl
*) x
));
33123 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
33124 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
33126 static void *_p_wxToolBarTo_p_wxWindow(void *x
) {
33127 return (void *)((wxWindow
*) (wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
33129 static void *_p_wxToggleButtonTo_p_wxWindow(void *x
) {
33130 return (void *)((wxWindow
*) (wxControl
*) ((wxToggleButton
*) x
));
33132 static void *_p_wxRadioButtonTo_p_wxWindow(void *x
) {
33133 return (void *)((wxWindow
*) (wxControl
*) ((wxRadioButton
*) x
));
33135 static void *_p_wxPyControlTo_p_wxWindow(void *x
) {
33136 return (void *)((wxWindow
*) (wxControl
*) ((wxPyControl
*) x
));
33138 static void *_p_wxControlTo_p_wxWindow(void *x
) {
33139 return (void *)((wxWindow
*) ((wxControl
*) x
));
33141 static void *_p_wxToolBarBaseTo_p_wxWindow(void *x
) {
33142 return (void *)((wxWindow
*) (wxControl
*) ((wxToolBarBase
*) x
));
33144 static void *_p_wxDirFilterListCtrlTo_p_wxWindow(void *x
) {
33145 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
33147 static void *_p_wxPyListCtrlTo_p_wxWindow(void *x
) {
33148 return (void *)((wxWindow
*) (wxControl
*) ((wxPyListCtrl
*) x
));
33150 static void *_p_wxComboBoxTo_p_wxWindow(void *x
) {
33151 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxComboBox
*) x
));
33153 static void *_p_wxGenericDirCtrlTo_p_wxWindow(void *x
) {
33154 return (void *)((wxWindow
*) (wxControl
*) ((wxGenericDirCtrl
*) x
));
33156 static void *_p_wxScrollBarTo_p_wxWindow(void *x
) {
33157 return (void *)((wxWindow
*) (wxControl
*) ((wxScrollBar
*) x
));
33159 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
33160 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
33162 static void *_p_wxGaugeTo_p_wxWindow(void *x
) {
33163 return (void *)((wxWindow
*) (wxControl
*) ((wxGauge
*) x
));
33165 static void *_p_wxStaticLineTo_p_wxWindow(void *x
) {
33166 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticLine
*) x
));
33168 static void *_p_wxListbookTo_p_wxWindow(void *x
) {
33169 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrl
*) ((wxListbook
*) x
));
33171 static void *_p_wxPyTreeCtrlTo_p_wxWindow(void *x
) {
33172 return (void *)((wxWindow
*) (wxControl
*) ((wxPyTreeCtrl
*) x
));
33174 static void *_p_wxCheckBoxTo_p_wxWindow(void *x
) {
33175 return (void *)((wxWindow
*) (wxControl
*) ((wxCheckBox
*) x
));
33177 static void *_p_wxRadioBoxTo_p_wxWindow(void *x
) {
33178 return (void *)((wxWindow
*) (wxControl
*) ((wxRadioBox
*) x
));
33180 static void *_p_wxCheckListBoxTo_p_wxWindow(void *x
) {
33181 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
33183 static void *_p_wxChoiceTo_p_wxWindow(void *x
) {
33184 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
33186 static void *_p_wxListBoxTo_p_wxWindow(void *x
) {
33187 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
33189 static void *_p_wxListViewTo_p_wxWindow(void *x
) {
33190 return (void *)((wxWindow
*) (wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
33192 static void *_p_wxNotebookTo_p_wxWindow(void *x
) {
33193 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrl
*) ((wxNotebook
*) x
));
33195 static void *_p_wxStaticBitmapTo_p_wxWindow(void *x
) {
33196 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticBitmap
*) x
));
33198 static void *_p_wxSpinCtrlTo_p_wxWindow(void *x
) {
33199 return (void *)((wxWindow
*) (wxControl
*) ((wxSpinCtrl
*) x
));
33201 static void *_p_wxStaticTextTo_p_wxWindow(void *x
) {
33202 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticText
*) x
));
33204 static void *_p_wxStaticBoxTo_p_wxWindow(void *x
) {
33205 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticBox
*) x
));
33207 static void *_p_wxSliderTo_p_wxWindow(void *x
) {
33208 return (void *)((wxWindow
*) (wxControl
*) ((wxSlider
*) x
));
33210 static void *_p_wxSpinButtonTo_p_wxWindow(void *x
) {
33211 return (void *)((wxWindow
*) (wxControl
*) ((wxSpinButton
*) x
));
33213 static void *_p_wxButtonTo_p_wxWindow(void *x
) {
33214 return (void *)((wxWindow
*) (wxControl
*) ((wxButton
*) x
));
33216 static void *_p_wxBitmapButtonTo_p_wxWindow(void *x
) {
33217 return (void *)((wxWindow
*) (wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
33219 static void *_p_wxContextHelpButtonTo_p_wxWindow(void *x
) {
33220 return (void *)((wxWindow
*) (wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
33222 static void *_p_wxTextCtrlTo_p_wxWindow(void *x
) {
33223 return (void *)((wxWindow
*) (wxControl
*) ((wxTextCtrl
*) x
));
33225 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x
) {
33226 return (void *)((wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
33228 static void *_p_wxBookCtrlEventTo_p_wxCommandEvent(void *x
) {
33229 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxBookCtrlEvent
*) x
));
33231 static void *_p_wxTextUrlEventTo_p_wxCommandEvent(void *x
) {
33232 return (void *)((wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
33234 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x
) {
33235 return (void *)((wxCommandEvent
*) ((wxScrollEvent
*) x
));
33237 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x
) {
33238 return (void *)((wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
33240 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x
) {
33241 return (void *)((wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
33243 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x
) {
33244 return (void *)((wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
33246 static void *_p_wxListbookEventTo_p_wxCommandEvent(void *x
) {
33247 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlEvent
*) ((wxListbookEvent
*) x
));
33249 static void *_p_wxNotebookEventTo_p_wxCommandEvent(void *x
) {
33250 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlEvent
*) ((wxNotebookEvent
*) x
));
33252 static void *_p_wxListEventTo_p_wxCommandEvent(void *x
) {
33253 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxListEvent
*) x
));
33255 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x
) {
33256 return (void *)((wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
33258 static void *_p_wxTreeEventTo_p_wxCommandEvent(void *x
) {
33259 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxTreeEvent
*) x
));
33261 static void *_p_wxSpinEventTo_p_wxCommandEvent(void *x
) {
33262 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxSpinEvent
*) x
));
33264 static void *_p_wxHelpEventTo_p_wxCommandEvent(void *x
) {
33265 return (void *)((wxCommandEvent
*) ((wxHelpEvent
*) x
));
33267 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x
) {
33268 return (void *)((wxCommandEvent
*) ((wxNotifyEvent
*) x
));
33270 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x
) {
33271 return (void *)((wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
33273 static void *_p_wxComboBoxTo_p_wxControlWithItems(void *x
) {
33274 return (void *)((wxControlWithItems
*) (wxChoice
*) ((wxComboBox
*) x
));
33276 static void *_p_wxDirFilterListCtrlTo_p_wxControlWithItems(void *x
) {
33277 return (void *)((wxControlWithItems
*) (wxChoice
*) ((wxDirFilterListCtrl
*) x
));
33279 static void *_p_wxChoiceTo_p_wxControlWithItems(void *x
) {
33280 return (void *)((wxControlWithItems
*) ((wxChoice
*) x
));
33282 static void *_p_wxListBoxTo_p_wxControlWithItems(void *x
) {
33283 return (void *)((wxControlWithItems
*) ((wxListBox
*) x
));
33285 static void *_p_wxCheckListBoxTo_p_wxControlWithItems(void *x
) {
33286 return (void *)((wxControlWithItems
*) (wxListBox
*) ((wxCheckListBox
*) x
));
33288 static void *_p_wxPyValidatorTo_p_wxValidator(void *x
) {
33289 return (void *)((wxValidator
*) ((wxPyValidator
*) x
));
33291 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}};
33292 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}};
33293 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}};
33294 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}};
33295 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}};
33296 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}};
33297 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}};
33298 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}};
33299 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}};
33300 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}};
33301 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}};
33302 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}};
33303 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}};
33304 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}};
33305 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}};
33306 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}};
33307 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}};
33308 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}};
33309 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}};
33310 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}};
33311 static swig_type_info _swigt__p_wxChoice
[] = {{"_p_wxChoice", 0, "wxChoice *", 0, 0, 0, 0},{"_p_wxComboBox", _p_wxComboBoxTo_p_wxChoice
, 0, 0, 0, 0, 0},{"_p_wxDirFilterListCtrl", _p_wxDirFilterListCtrlTo_p_wxChoice
, 0, 0, 0, 0, 0},{"_p_wxChoice", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
33312 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}};
33313 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}};
33314 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}};
33315 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}};
33316 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}};
33317 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}};
33318 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}};
33319 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}};
33320 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}};
33321 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}};
33322 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}};
33323 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}};
33324 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}};
33325 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}};
33326 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}};
33327 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}};
33328 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}};
33329 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}};
33330 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}};
33331 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}};
33332 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}};
33333 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}};
33334 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}};
33335 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}};
33336 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}};
33337 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}};
33338 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}};
33339 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}};
33340 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}};
33341 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}};
33342 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}};
33343 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}};
33344 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}};
33345 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}};
33346 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}};
33347 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}};
33348 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}};
33349 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}};
33350 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}};
33351 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}};
33352 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}};
33353 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}};
33354 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}};
33355 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}};
33356 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}};
33357 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}};
33358 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}};
33359 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}};
33360 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}};
33361 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}};
33362 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}};
33363 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}};
33364 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}};
33365 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}};
33366 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}};
33367 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}};
33368 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}};
33369 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}};
33370 static swig_type_info _swigt__p_wxControlWithItems
[] = {{"_p_wxControlWithItems", 0, "wxControlWithItems *", 0, 0, 0, 0},{"_p_wxComboBox", _p_wxComboBoxTo_p_wxControlWithItems
, 0, 0, 0, 0, 0},{"_p_wxDirFilterListCtrl", _p_wxDirFilterListCtrlTo_p_wxControlWithItems
, 0, 0, 0, 0, 0},{"_p_wxChoice", _p_wxChoiceTo_p_wxControlWithItems
, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", 0, 0, 0, 0, 0, 0},{"_p_wxListBox", _p_wxListBoxTo_p_wxControlWithItems
, 0, 0, 0, 0, 0},{"_p_wxCheckListBox", _p_wxCheckListBoxTo_p_wxControlWithItems
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
33371 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}};
33372 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}};
33373 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}};
33374 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}};
33375 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}};
33377 static swig_type_info
*swig_types_initial
[] = {
33378 _swigt__p_wxTextUrlEvent
,
33379 _swigt__p_wxBookCtrlEvent
,
33381 _swigt__p_wxCheckBox
,
33382 _swigt__p_wxPyTreeCtrl
,
33384 _swigt__p_wxGenericDirCtrl
,
33386 _swigt__p_wxPyTreeItemData
,
33387 _swigt__p_wxItemContainer
,
33388 _swigt__p_wxPyListCtrl
,
33389 _swigt__p_wxDirFilterListCtrl
,
33390 _swigt__p_wxStaticLine
,
33391 _swigt__p_wxControl
,
33392 _swigt__p_wxPyControl
,
33394 _swigt__p_wxToolBarBase
,
33396 _swigt__p_wxToggleButton
,
33397 _swigt__p_wxRadioButton
,
33398 _swigt__p_wxChoice
,
33399 _swigt__p_wxMemoryDC
,
33400 _swigt__p_wxListItemAttr
,
33405 _swigt__p_wxListView
,
33407 _swigt__p_wxVisualAttributes
,
33408 _swigt__p_wxTextCtrl
,
33409 _swigt__p_wxNotebook
,
33410 _swigt__p_wxNotifyEvent
,
33411 _swigt__p_wxArrayString
,
33412 _swigt__p_wxListbook
,
33413 _swigt__p_wxStaticBitmap
,
33414 _swigt__p_wxSlider
,
33415 _swigt__p_wxStaticBox
,
33416 _swigt__p_wxArrayInt
,
33417 _swigt__p_wxContextHelp
,
33419 _swigt__p_wxEvtHandler
,
33420 _swigt__p_wxListEvent
,
33421 _swigt__p_wxCheckListBox
,
33422 _swigt__p_wxListBox
,
33423 _swigt__p_wxBookCtrl
,
33424 _swigt__p_wxSpinButton
,
33425 _swigt__p_wxButton
,
33426 _swigt__p_wxBitmapButton
,
33428 _swigt__p_wxContextHelpButton
,
33429 _swigt__p_wxRadioBox
,
33430 _swigt__p_wxScrollBar
,
33432 _swigt__p_wxTreeItemId
,
33433 _swigt__p_wxComboBox
,
33434 _swigt__p_wxHelpEvent
,
33435 _swigt__p_wxListItem
,
33436 _swigt__p_wxNotebookSizer
,
33437 _swigt__p_wxSpinEvent
,
33438 _swigt__p_wxGenericDragImage
,
33439 _swigt__p_wxSpinCtrl
,
33440 _swigt__p_wxImageList
,
33441 _swigt__p_wxHelpProvider
,
33442 _swigt__p_wxTextAttr
,
33443 _swigt__p_wxSimpleHelpProvider
,
33445 _swigt__p_wxListbookEvent
,
33446 _swigt__p_wxNotebookEvent
,
33447 _swigt__p_wxObject
,
33448 _swigt__p_wxCursor
,
33449 _swigt__p_wxKeyEvent
,
33450 _swigt__p_wxWindow
,
33451 _swigt__p_wxString
,
33452 _swigt__p_wxBitmap
,
33453 _swigt__p_wxTreeEvent
,
33454 _swigt__p_wxMouseEvent
,
33455 _swigt__p_wxCommandEvent
,
33456 _swigt__p_wxStaticText
,
33457 _swigt__p_wxControlWithItems
,
33458 _swigt__p_wxToolBarToolBase
,
33459 _swigt__p_wxColour
,
33460 _swigt__p_wxToolBar
,
33461 _swigt__p_wxBookCtrlSizer
,
33462 _swigt__p_wxValidator
,
33467 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
33469 static swig_const_info swig_const_table
[] = {
33479 SWIGEXPORT(void) SWIG_init(void) {
33480 static PyObject
*SWIG_globals
= 0;
33481 static int typeinit
= 0;
33484 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
33485 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
33486 d
= PyModule_GetDict(m
);
33489 for (i
= 0; swig_types_initial
[i
]; i
++) {
33490 swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]);
33494 SWIG_InstallConstants(d
,swig_const_table
);
33496 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
);
33497 SWIG_addvarlink(SWIG_globals
,(char*)"ButtonNameStr",_wrap_ButtonNameStr_get
, _wrap_ButtonNameStr_set
);
33498 PyDict_SetItemString(d
,"BU_LEFT", SWIG_FromInt((int)wxBU_LEFT
));
33499 PyDict_SetItemString(d
,"BU_TOP", SWIG_FromInt((int)wxBU_TOP
));
33500 PyDict_SetItemString(d
,"BU_RIGHT", SWIG_FromInt((int)wxBU_RIGHT
));
33501 PyDict_SetItemString(d
,"BU_BOTTOM", SWIG_FromInt((int)wxBU_BOTTOM
));
33502 PyDict_SetItemString(d
,"BU_EXACTFIT", SWIG_FromInt((int)wxBU_EXACTFIT
));
33503 PyDict_SetItemString(d
,"BU_AUTODRAW", SWIG_FromInt((int)wxBU_AUTODRAW
));
33504 SWIG_addvarlink(SWIG_globals
,(char*)"CheckBoxNameStr",_wrap_CheckBoxNameStr_get
, _wrap_CheckBoxNameStr_set
);
33505 PyDict_SetItemString(d
,"CHK_2STATE", SWIG_FromInt((int)wxCHK_2STATE
));
33506 PyDict_SetItemString(d
,"CHK_3STATE", SWIG_FromInt((int)wxCHK_3STATE
));
33507 PyDict_SetItemString(d
,"CHK_ALLOW_3RD_STATE_FOR_USER", SWIG_FromInt((int)wxCHK_ALLOW_3RD_STATE_FOR_USER
));
33508 PyDict_SetItemString(d
,"CHK_UNCHECKED", SWIG_FromInt((int)wxCHK_UNCHECKED
));
33509 PyDict_SetItemString(d
,"CHK_CHECKED", SWIG_FromInt((int)wxCHK_CHECKED
));
33510 PyDict_SetItemString(d
,"CHK_UNDETERMINED", SWIG_FromInt((int)wxCHK_UNDETERMINED
));
33511 SWIG_addvarlink(SWIG_globals
,(char*)"ChoiceNameStr",_wrap_ChoiceNameStr_get
, _wrap_ChoiceNameStr_set
);
33512 SWIG_addvarlink(SWIG_globals
,(char*)"ComboBoxNameStr",_wrap_ComboBoxNameStr_get
, _wrap_ComboBoxNameStr_set
);
33513 SWIG_addvarlink(SWIG_globals
,(char*)"GaugeNameStr",_wrap_GaugeNameStr_get
, _wrap_GaugeNameStr_set
);
33514 PyDict_SetItemString(d
,"GA_HORIZONTAL", SWIG_FromInt((int)wxGA_HORIZONTAL
));
33515 PyDict_SetItemString(d
,"GA_VERTICAL", SWIG_FromInt((int)wxGA_VERTICAL
));
33516 PyDict_SetItemString(d
,"GA_SMOOTH", SWIG_FromInt((int)wxGA_SMOOTH
));
33517 PyDict_SetItemString(d
,"GA_PROGRESSBAR", SWIG_FromInt((int)wxGA_PROGRESSBAR
));
33518 SWIG_addvarlink(SWIG_globals
,(char*)"StaticBitmapNameStr",_wrap_StaticBitmapNameStr_get
, _wrap_StaticBitmapNameStr_set
);
33519 SWIG_addvarlink(SWIG_globals
,(char*)"StaticBoxNameStr",_wrap_StaticBoxNameStr_get
, _wrap_StaticBoxNameStr_set
);
33520 SWIG_addvarlink(SWIG_globals
,(char*)"StaticTextNameStr",_wrap_StaticTextNameStr_get
, _wrap_StaticTextNameStr_set
);
33521 SWIG_addvarlink(SWIG_globals
,(char*)"ListBoxNameStr",_wrap_ListBoxNameStr_get
, _wrap_ListBoxNameStr_set
);
33522 SWIG_addvarlink(SWIG_globals
,(char*)"TextCtrlNameStr",_wrap_TextCtrlNameStr_get
, _wrap_TextCtrlNameStr_set
);
33523 PyDict_SetItemString(d
,"TE_NO_VSCROLL", SWIG_FromInt((int)wxTE_NO_VSCROLL
));
33524 PyDict_SetItemString(d
,"TE_AUTO_SCROLL", SWIG_FromInt((int)wxTE_AUTO_SCROLL
));
33525 PyDict_SetItemString(d
,"TE_READONLY", SWIG_FromInt((int)wxTE_READONLY
));
33526 PyDict_SetItemString(d
,"TE_MULTILINE", SWIG_FromInt((int)wxTE_MULTILINE
));
33527 PyDict_SetItemString(d
,"TE_PROCESS_TAB", SWIG_FromInt((int)wxTE_PROCESS_TAB
));
33528 PyDict_SetItemString(d
,"TE_LEFT", SWIG_FromInt((int)wxTE_LEFT
));
33529 PyDict_SetItemString(d
,"TE_CENTER", SWIG_FromInt((int)wxTE_CENTER
));
33530 PyDict_SetItemString(d
,"TE_RIGHT", SWIG_FromInt((int)wxTE_RIGHT
));
33531 PyDict_SetItemString(d
,"TE_CENTRE", SWIG_FromInt((int)wxTE_CENTRE
));
33532 PyDict_SetItemString(d
,"TE_RICH", SWIG_FromInt((int)wxTE_RICH
));
33533 PyDict_SetItemString(d
,"TE_PROCESS_ENTER", SWIG_FromInt((int)wxTE_PROCESS_ENTER
));
33534 PyDict_SetItemString(d
,"TE_PASSWORD", SWIG_FromInt((int)wxTE_PASSWORD
));
33535 PyDict_SetItemString(d
,"TE_AUTO_URL", SWIG_FromInt((int)wxTE_AUTO_URL
));
33536 PyDict_SetItemString(d
,"TE_NOHIDESEL", SWIG_FromInt((int)wxTE_NOHIDESEL
));
33537 PyDict_SetItemString(d
,"TE_DONTWRAP", SWIG_FromInt((int)wxTE_DONTWRAP
));
33538 PyDict_SetItemString(d
,"TE_LINEWRAP", SWIG_FromInt((int)wxTE_LINEWRAP
));
33539 PyDict_SetItemString(d
,"TE_WORDWRAP", SWIG_FromInt((int)wxTE_WORDWRAP
));
33540 PyDict_SetItemString(d
,"TE_RICH2", SWIG_FromInt((int)wxTE_RICH2
));
33541 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_DEFAULT", SWIG_FromInt((int)wxTEXT_ALIGNMENT_DEFAULT
));
33542 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_LEFT", SWIG_FromInt((int)wxTEXT_ALIGNMENT_LEFT
));
33543 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_CENTRE", SWIG_FromInt((int)wxTEXT_ALIGNMENT_CENTRE
));
33544 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_CENTER", SWIG_FromInt((int)wxTEXT_ALIGNMENT_CENTER
));
33545 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_RIGHT", SWIG_FromInt((int)wxTEXT_ALIGNMENT_RIGHT
));
33546 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_JUSTIFIED", SWIG_FromInt((int)wxTEXT_ALIGNMENT_JUSTIFIED
));
33547 PyDict_SetItemString(d
,"TEXT_ATTR_TEXT_COLOUR", SWIG_FromInt((int)wxTEXT_ATTR_TEXT_COLOUR
));
33548 PyDict_SetItemString(d
,"TEXT_ATTR_BACKGROUND_COLOUR", SWIG_FromInt((int)wxTEXT_ATTR_BACKGROUND_COLOUR
));
33549 PyDict_SetItemString(d
,"TEXT_ATTR_FONT_FACE", SWIG_FromInt((int)wxTEXT_ATTR_FONT_FACE
));
33550 PyDict_SetItemString(d
,"TEXT_ATTR_FONT_SIZE", SWIG_FromInt((int)wxTEXT_ATTR_FONT_SIZE
));
33551 PyDict_SetItemString(d
,"TEXT_ATTR_FONT_WEIGHT", SWIG_FromInt((int)wxTEXT_ATTR_FONT_WEIGHT
));
33552 PyDict_SetItemString(d
,"TEXT_ATTR_FONT_ITALIC", SWIG_FromInt((int)wxTEXT_ATTR_FONT_ITALIC
));
33553 PyDict_SetItemString(d
,"TEXT_ATTR_FONT_UNDERLINE", SWIG_FromInt((int)wxTEXT_ATTR_FONT_UNDERLINE
));
33554 PyDict_SetItemString(d
,"TEXT_ATTR_FONT", SWIG_FromInt((int)wxTEXT_ATTR_FONT
));
33555 PyDict_SetItemString(d
,"TEXT_ATTR_ALIGNMENT", SWIG_FromInt((int)wxTEXT_ATTR_ALIGNMENT
));
33556 PyDict_SetItemString(d
,"TEXT_ATTR_LEFT_INDENT", SWIG_FromInt((int)wxTEXT_ATTR_LEFT_INDENT
));
33557 PyDict_SetItemString(d
,"TEXT_ATTR_RIGHT_INDENT", SWIG_FromInt((int)wxTEXT_ATTR_RIGHT_INDENT
));
33558 PyDict_SetItemString(d
,"TEXT_ATTR_TABS", SWIG_FromInt((int)wxTEXT_ATTR_TABS
));
33559 PyDict_SetItemString(d
,"TE_HT_UNKNOWN", SWIG_FromInt((int)wxTE_HT_UNKNOWN
));
33560 PyDict_SetItemString(d
,"TE_HT_BEFORE", SWIG_FromInt((int)wxTE_HT_BEFORE
));
33561 PyDict_SetItemString(d
,"TE_HT_ON_TEXT", SWIG_FromInt((int)wxTE_HT_ON_TEXT
));
33562 PyDict_SetItemString(d
,"TE_HT_BELOW", SWIG_FromInt((int)wxTE_HT_BELOW
));
33563 PyDict_SetItemString(d
,"TE_HT_BEYOND", SWIG_FromInt((int)wxTE_HT_BEYOND
));
33564 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_UPDATED", PyInt_FromLong(wxEVT_COMMAND_TEXT_UPDATED
));
33565 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_ENTER", PyInt_FromLong(wxEVT_COMMAND_TEXT_ENTER
));
33566 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_URL", PyInt_FromLong(wxEVT_COMMAND_TEXT_URL
));
33567 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_MAXLEN", PyInt_FromLong(wxEVT_COMMAND_TEXT_MAXLEN
));
33568 SWIG_addvarlink(SWIG_globals
,(char*)"ScrollBarNameStr",_wrap_ScrollBarNameStr_get
, _wrap_ScrollBarNameStr_set
);
33569 SWIG_addvarlink(SWIG_globals
,(char*)"SPIN_BUTTON_NAME",_wrap_SPIN_BUTTON_NAME_get
, _wrap_SPIN_BUTTON_NAME_set
);
33570 SWIG_addvarlink(SWIG_globals
,(char*)"SpinCtrlNameStr",_wrap_SpinCtrlNameStr_get
, _wrap_SpinCtrlNameStr_set
);
33571 PyDict_SetItemString(d
,"SP_HORIZONTAL", SWIG_FromInt((int)wxSP_HORIZONTAL
));
33572 PyDict_SetItemString(d
,"SP_VERTICAL", SWIG_FromInt((int)wxSP_VERTICAL
));
33573 PyDict_SetItemString(d
,"SP_ARROW_KEYS", SWIG_FromInt((int)wxSP_ARROW_KEYS
));
33574 PyDict_SetItemString(d
,"SP_WRAP", SWIG_FromInt((int)wxSP_WRAP
));
33575 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPINCTRL_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SPINCTRL_UPDATED
));
33576 SWIG_addvarlink(SWIG_globals
,(char*)"RadioBoxNameStr",_wrap_RadioBoxNameStr_get
, _wrap_RadioBoxNameStr_set
);
33577 SWIG_addvarlink(SWIG_globals
,(char*)"RadioButtonNameStr",_wrap_RadioButtonNameStr_get
, _wrap_RadioButtonNameStr_set
);
33578 SWIG_addvarlink(SWIG_globals
,(char*)"SliderNameStr",_wrap_SliderNameStr_get
, _wrap_SliderNameStr_set
);
33579 SWIG_addvarlink(SWIG_globals
,(char*)"ToggleButtonNameStr",_wrap_ToggleButtonNameStr_get
, _wrap_ToggleButtonNameStr_set
);
33580 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOGGLEBUTTON_CLICKED", PyInt_FromLong(wxEVT_COMMAND_TOGGLEBUTTON_CLICKED
));
33581 SWIG_addvarlink(SWIG_globals
,(char*)"NOTEBOOK_NAME",_wrap_NOTEBOOK_NAME_get
, _wrap_NOTEBOOK_NAME_set
);
33582 PyDict_SetItemString(d
,"NB_FIXEDWIDTH", SWIG_FromInt((int)wxNB_FIXEDWIDTH
));
33583 PyDict_SetItemString(d
,"NB_TOP", SWIG_FromInt((int)wxNB_TOP
));
33584 PyDict_SetItemString(d
,"NB_LEFT", SWIG_FromInt((int)wxNB_LEFT
));
33585 PyDict_SetItemString(d
,"NB_RIGHT", SWIG_FromInt((int)wxNB_RIGHT
));
33586 PyDict_SetItemString(d
,"NB_BOTTOM", SWIG_FromInt((int)wxNB_BOTTOM
));
33587 PyDict_SetItemString(d
,"NB_MULTILINE", SWIG_FromInt((int)wxNB_MULTILINE
));
33588 PyDict_SetItemString(d
,"NB_HITTEST_NOWHERE", SWIG_FromInt((int)wxNB_HITTEST_NOWHERE
));
33589 PyDict_SetItemString(d
,"NB_HITTEST_ONICON", SWIG_FromInt((int)wxNB_HITTEST_ONICON
));
33590 PyDict_SetItemString(d
,"NB_HITTEST_ONLABEL", SWIG_FromInt((int)wxNB_HITTEST_ONLABEL
));
33591 PyDict_SetItemString(d
,"NB_HITTEST_ONITEM", SWIG_FromInt((int)wxNB_HITTEST_ONITEM
));
33592 PyDict_SetItemString(d
, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED
));
33593 PyDict_SetItemString(d
, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING
));
33594 PyDict_SetItemString(d
,"LB_DEFAULT", SWIG_FromInt((int)wxLB_DEFAULT
));
33595 PyDict_SetItemString(d
,"LB_TOP", SWIG_FromInt((int)wxLB_TOP
));
33596 PyDict_SetItemString(d
,"LB_BOTTOM", SWIG_FromInt((int)wxLB_BOTTOM
));
33597 PyDict_SetItemString(d
,"LB_LEFT", SWIG_FromInt((int)wxLB_LEFT
));
33598 PyDict_SetItemString(d
,"LB_RIGHT", SWIG_FromInt((int)wxLB_RIGHT
));
33599 PyDict_SetItemString(d
,"LB_ALIGN_MASK", SWIG_FromInt((int)wxLB_ALIGN_MASK
));
33600 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED
));
33601 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING
));
33602 PyDict_SetItemString(d
,"TOOL_STYLE_BUTTON", SWIG_FromInt((int)wxTOOL_STYLE_BUTTON
));
33603 PyDict_SetItemString(d
,"TOOL_STYLE_SEPARATOR", SWIG_FromInt((int)wxTOOL_STYLE_SEPARATOR
));
33604 PyDict_SetItemString(d
,"TOOL_STYLE_CONTROL", SWIG_FromInt((int)wxTOOL_STYLE_CONTROL
));
33605 PyDict_SetItemString(d
,"TB_HORIZONTAL", SWIG_FromInt((int)wxTB_HORIZONTAL
));
33606 PyDict_SetItemString(d
,"TB_VERTICAL", SWIG_FromInt((int)wxTB_VERTICAL
));
33607 PyDict_SetItemString(d
,"TB_3DBUTTONS", SWIG_FromInt((int)wxTB_3DBUTTONS
));
33608 PyDict_SetItemString(d
,"TB_FLAT", SWIG_FromInt((int)wxTB_FLAT
));
33609 PyDict_SetItemString(d
,"TB_DOCKABLE", SWIG_FromInt((int)wxTB_DOCKABLE
));
33610 PyDict_SetItemString(d
,"TB_NOICONS", SWIG_FromInt((int)wxTB_NOICONS
));
33611 PyDict_SetItemString(d
,"TB_TEXT", SWIG_FromInt((int)wxTB_TEXT
));
33612 PyDict_SetItemString(d
,"TB_NODIVIDER", SWIG_FromInt((int)wxTB_NODIVIDER
));
33613 PyDict_SetItemString(d
,"TB_NOALIGN", SWIG_FromInt((int)wxTB_NOALIGN
));
33614 PyDict_SetItemString(d
,"TB_HORZ_LAYOUT", SWIG_FromInt((int)wxTB_HORZ_LAYOUT
));
33615 PyDict_SetItemString(d
,"TB_HORZ_TEXT", SWIG_FromInt((int)wxTB_HORZ_TEXT
));
33616 SWIG_addvarlink(SWIG_globals
,(char*)"ListCtrlNameStr",_wrap_ListCtrlNameStr_get
, _wrap_ListCtrlNameStr_set
);
33617 PyDict_SetItemString(d
,"LC_VRULES", SWIG_FromInt((int)wxLC_VRULES
));
33618 PyDict_SetItemString(d
,"LC_HRULES", SWIG_FromInt((int)wxLC_HRULES
));
33619 PyDict_SetItemString(d
,"LC_ICON", SWIG_FromInt((int)wxLC_ICON
));
33620 PyDict_SetItemString(d
,"LC_SMALL_ICON", SWIG_FromInt((int)wxLC_SMALL_ICON
));
33621 PyDict_SetItemString(d
,"LC_LIST", SWIG_FromInt((int)wxLC_LIST
));
33622 PyDict_SetItemString(d
,"LC_REPORT", SWIG_FromInt((int)wxLC_REPORT
));
33623 PyDict_SetItemString(d
,"LC_ALIGN_TOP", SWIG_FromInt((int)wxLC_ALIGN_TOP
));
33624 PyDict_SetItemString(d
,"LC_ALIGN_LEFT", SWIG_FromInt((int)wxLC_ALIGN_LEFT
));
33625 PyDict_SetItemString(d
,"LC_AUTOARRANGE", SWIG_FromInt((int)wxLC_AUTOARRANGE
));
33626 PyDict_SetItemString(d
,"LC_VIRTUAL", SWIG_FromInt((int)wxLC_VIRTUAL
));
33627 PyDict_SetItemString(d
,"LC_EDIT_LABELS", SWIG_FromInt((int)wxLC_EDIT_LABELS
));
33628 PyDict_SetItemString(d
,"LC_NO_HEADER", SWIG_FromInt((int)wxLC_NO_HEADER
));
33629 PyDict_SetItemString(d
,"LC_NO_SORT_HEADER", SWIG_FromInt((int)wxLC_NO_SORT_HEADER
));
33630 PyDict_SetItemString(d
,"LC_SINGLE_SEL", SWIG_FromInt((int)wxLC_SINGLE_SEL
));
33631 PyDict_SetItemString(d
,"LC_SORT_ASCENDING", SWIG_FromInt((int)wxLC_SORT_ASCENDING
));
33632 PyDict_SetItemString(d
,"LC_SORT_DESCENDING", SWIG_FromInt((int)wxLC_SORT_DESCENDING
));
33633 PyDict_SetItemString(d
,"LC_MASK_TYPE", SWIG_FromInt((int)wxLC_MASK_TYPE
));
33634 PyDict_SetItemString(d
,"LC_MASK_ALIGN", SWIG_FromInt((int)wxLC_MASK_ALIGN
));
33635 PyDict_SetItemString(d
,"LC_MASK_SORT", SWIG_FromInt((int)wxLC_MASK_SORT
));
33636 PyDict_SetItemString(d
,"LIST_MASK_STATE", SWIG_FromInt((int)wxLIST_MASK_STATE
));
33637 PyDict_SetItemString(d
,"LIST_MASK_TEXT", SWIG_FromInt((int)wxLIST_MASK_TEXT
));
33638 PyDict_SetItemString(d
,"LIST_MASK_IMAGE", SWIG_FromInt((int)wxLIST_MASK_IMAGE
));
33639 PyDict_SetItemString(d
,"LIST_MASK_DATA", SWIG_FromInt((int)wxLIST_MASK_DATA
));
33640 PyDict_SetItemString(d
,"LIST_SET_ITEM", SWIG_FromInt((int)wxLIST_SET_ITEM
));
33641 PyDict_SetItemString(d
,"LIST_MASK_WIDTH", SWIG_FromInt((int)wxLIST_MASK_WIDTH
));
33642 PyDict_SetItemString(d
,"LIST_MASK_FORMAT", SWIG_FromInt((int)wxLIST_MASK_FORMAT
));
33643 PyDict_SetItemString(d
,"LIST_STATE_DONTCARE", SWIG_FromInt((int)wxLIST_STATE_DONTCARE
));
33644 PyDict_SetItemString(d
,"LIST_STATE_DROPHILITED", SWIG_FromInt((int)wxLIST_STATE_DROPHILITED
));
33645 PyDict_SetItemString(d
,"LIST_STATE_FOCUSED", SWIG_FromInt((int)wxLIST_STATE_FOCUSED
));
33646 PyDict_SetItemString(d
,"LIST_STATE_SELECTED", SWIG_FromInt((int)wxLIST_STATE_SELECTED
));
33647 PyDict_SetItemString(d
,"LIST_STATE_CUT", SWIG_FromInt((int)wxLIST_STATE_CUT
));
33648 PyDict_SetItemString(d
,"LIST_STATE_DISABLED", SWIG_FromInt((int)wxLIST_STATE_DISABLED
));
33649 PyDict_SetItemString(d
,"LIST_STATE_FILTERED", SWIG_FromInt((int)wxLIST_STATE_FILTERED
));
33650 PyDict_SetItemString(d
,"LIST_STATE_INUSE", SWIG_FromInt((int)wxLIST_STATE_INUSE
));
33651 PyDict_SetItemString(d
,"LIST_STATE_PICKED", SWIG_FromInt((int)wxLIST_STATE_PICKED
));
33652 PyDict_SetItemString(d
,"LIST_STATE_SOURCE", SWIG_FromInt((int)wxLIST_STATE_SOURCE
));
33653 PyDict_SetItemString(d
,"LIST_HITTEST_ABOVE", SWIG_FromInt((int)wxLIST_HITTEST_ABOVE
));
33654 PyDict_SetItemString(d
,"LIST_HITTEST_BELOW", SWIG_FromInt((int)wxLIST_HITTEST_BELOW
));
33655 PyDict_SetItemString(d
,"LIST_HITTEST_NOWHERE", SWIG_FromInt((int)wxLIST_HITTEST_NOWHERE
));
33656 PyDict_SetItemString(d
,"LIST_HITTEST_ONITEMICON", SWIG_FromInt((int)wxLIST_HITTEST_ONITEMICON
));
33657 PyDict_SetItemString(d
,"LIST_HITTEST_ONITEMLABEL", SWIG_FromInt((int)wxLIST_HITTEST_ONITEMLABEL
));
33658 PyDict_SetItemString(d
,"LIST_HITTEST_ONITEMRIGHT", SWIG_FromInt((int)wxLIST_HITTEST_ONITEMRIGHT
));
33659 PyDict_SetItemString(d
,"LIST_HITTEST_ONITEMSTATEICON", SWIG_FromInt((int)wxLIST_HITTEST_ONITEMSTATEICON
));
33660 PyDict_SetItemString(d
,"LIST_HITTEST_TOLEFT", SWIG_FromInt((int)wxLIST_HITTEST_TOLEFT
));
33661 PyDict_SetItemString(d
,"LIST_HITTEST_TORIGHT", SWIG_FromInt((int)wxLIST_HITTEST_TORIGHT
));
33662 PyDict_SetItemString(d
,"LIST_HITTEST_ONITEM", SWIG_FromInt((int)wxLIST_HITTEST_ONITEM
));
33663 PyDict_SetItemString(d
,"LIST_NEXT_ABOVE", SWIG_FromInt((int)wxLIST_NEXT_ABOVE
));
33664 PyDict_SetItemString(d
,"LIST_NEXT_ALL", SWIG_FromInt((int)wxLIST_NEXT_ALL
));
33665 PyDict_SetItemString(d
,"LIST_NEXT_BELOW", SWIG_FromInt((int)wxLIST_NEXT_BELOW
));
33666 PyDict_SetItemString(d
,"LIST_NEXT_LEFT", SWIG_FromInt((int)wxLIST_NEXT_LEFT
));
33667 PyDict_SetItemString(d
,"LIST_NEXT_RIGHT", SWIG_FromInt((int)wxLIST_NEXT_RIGHT
));
33668 PyDict_SetItemString(d
,"LIST_ALIGN_DEFAULT", SWIG_FromInt((int)wxLIST_ALIGN_DEFAULT
));
33669 PyDict_SetItemString(d
,"LIST_ALIGN_LEFT", SWIG_FromInt((int)wxLIST_ALIGN_LEFT
));
33670 PyDict_SetItemString(d
,"LIST_ALIGN_TOP", SWIG_FromInt((int)wxLIST_ALIGN_TOP
));
33671 PyDict_SetItemString(d
,"LIST_ALIGN_SNAP_TO_GRID", SWIG_FromInt((int)wxLIST_ALIGN_SNAP_TO_GRID
));
33672 PyDict_SetItemString(d
,"LIST_FORMAT_LEFT", SWIG_FromInt((int)wxLIST_FORMAT_LEFT
));
33673 PyDict_SetItemString(d
,"LIST_FORMAT_RIGHT", SWIG_FromInt((int)wxLIST_FORMAT_RIGHT
));
33674 PyDict_SetItemString(d
,"LIST_FORMAT_CENTRE", SWIG_FromInt((int)wxLIST_FORMAT_CENTRE
));
33675 PyDict_SetItemString(d
,"LIST_FORMAT_CENTER", SWIG_FromInt((int)wxLIST_FORMAT_CENTER
));
33676 PyDict_SetItemString(d
,"LIST_AUTOSIZE", SWIG_FromInt((int)wxLIST_AUTOSIZE
));
33677 PyDict_SetItemString(d
,"LIST_AUTOSIZE_USEHEADER", SWIG_FromInt((int)wxLIST_AUTOSIZE_USEHEADER
));
33678 PyDict_SetItemString(d
,"LIST_RECT_BOUNDS", SWIG_FromInt((int)wxLIST_RECT_BOUNDS
));
33679 PyDict_SetItemString(d
,"LIST_RECT_ICON", SWIG_FromInt((int)wxLIST_RECT_ICON
));
33680 PyDict_SetItemString(d
,"LIST_RECT_LABEL", SWIG_FromInt((int)wxLIST_RECT_LABEL
));
33681 PyDict_SetItemString(d
,"LIST_FIND_UP", SWIG_FromInt((int)wxLIST_FIND_UP
));
33682 PyDict_SetItemString(d
,"LIST_FIND_DOWN", SWIG_FromInt((int)wxLIST_FIND_DOWN
));
33683 PyDict_SetItemString(d
,"LIST_FIND_LEFT", SWIG_FromInt((int)wxLIST_FIND_LEFT
));
33684 PyDict_SetItemString(d
,"LIST_FIND_RIGHT", SWIG_FromInt((int)wxLIST_FIND_RIGHT
));
33685 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_DRAG
));
33686 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_RDRAG
));
33687 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT
));
33688 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_END_LABEL_EDIT
));
33689 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ITEM
));
33690 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS
));
33691 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_GET_INFO", PyInt_FromLong(wxEVT_COMMAND_LIST_GET_INFO
));
33692 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_SET_INFO", PyInt_FromLong(wxEVT_COMMAND_LIST_SET_INFO
));
33693 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_SELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_SELECTED
));
33694 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_DESELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_DESELECTED
));
33695 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_LIST_KEY_DOWN
));
33696 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_INSERT_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_INSERT_ITEM
));
33697 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_CLICK
));
33698 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK
));
33699 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK
));
33700 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_ACTIVATED
));
33701 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_CACHE_HINT", PyInt_FromLong(wxEVT_COMMAND_LIST_CACHE_HINT
));
33702 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_RIGHT_CLICK
));
33703 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_BEGIN_DRAG
));
33704 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_DRAGGING", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_DRAGGING
));
33705 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_END_DRAG
));
33706 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_FOCUSED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_FOCUSED
));
33708 // Map renamed classes back to their common name for OOR
33709 wxPyPtrTypeMap_Add("wxListCtrl", "wxPyListCtrl");
33711 SWIG_addvarlink(SWIG_globals
,(char*)"TreeCtrlNameStr",_wrap_TreeCtrlNameStr_get
, _wrap_TreeCtrlNameStr_set
);
33712 PyDict_SetItemString(d
,"TR_NO_BUTTONS", SWIG_FromInt((int)wxTR_NO_BUTTONS
));
33713 PyDict_SetItemString(d
,"TR_HAS_BUTTONS", SWIG_FromInt((int)wxTR_HAS_BUTTONS
));
33714 PyDict_SetItemString(d
,"TR_NO_LINES", SWIG_FromInt((int)wxTR_NO_LINES
));
33715 PyDict_SetItemString(d
,"TR_LINES_AT_ROOT", SWIG_FromInt((int)wxTR_LINES_AT_ROOT
));
33716 PyDict_SetItemString(d
,"TR_SINGLE", SWIG_FromInt((int)wxTR_SINGLE
));
33717 PyDict_SetItemString(d
,"TR_MULTIPLE", SWIG_FromInt((int)wxTR_MULTIPLE
));
33718 PyDict_SetItemString(d
,"TR_EXTENDED", SWIG_FromInt((int)wxTR_EXTENDED
));
33719 PyDict_SetItemString(d
,"TR_HAS_VARIABLE_ROW_HEIGHT", SWIG_FromInt((int)wxTR_HAS_VARIABLE_ROW_HEIGHT
));
33720 PyDict_SetItemString(d
,"TR_EDIT_LABELS", SWIG_FromInt((int)wxTR_EDIT_LABELS
));
33721 PyDict_SetItemString(d
,"TR_HIDE_ROOT", SWIG_FromInt((int)wxTR_HIDE_ROOT
));
33722 PyDict_SetItemString(d
,"TR_ROW_LINES", SWIG_FromInt((int)wxTR_ROW_LINES
));
33723 PyDict_SetItemString(d
,"TR_FULL_ROW_HIGHLIGHT", SWIG_FromInt((int)wxTR_FULL_ROW_HIGHLIGHT
));
33724 PyDict_SetItemString(d
,"TR_DEFAULT_STYLE", SWIG_FromInt((int)wxTR_DEFAULT_STYLE
));
33725 PyDict_SetItemString(d
,"TR_TWIST_BUTTONS", SWIG_FromInt((int)wxTR_TWIST_BUTTONS
));
33726 PyDict_SetItemString(d
,"TR_MAC_BUTTONS", SWIG_FromInt((int)wxTR_MAC_BUTTONS
));
33727 PyDict_SetItemString(d
,"TR_AQUA_BUTTONS", SWIG_FromInt((int)wxTR_AQUA_BUTTONS
));
33728 PyDict_SetItemString(d
,"TreeItemIcon_Normal", SWIG_FromInt((int)wxTreeItemIcon_Normal
));
33729 PyDict_SetItemString(d
,"TreeItemIcon_Selected", SWIG_FromInt((int)wxTreeItemIcon_Selected
));
33730 PyDict_SetItemString(d
,"TreeItemIcon_Expanded", SWIG_FromInt((int)wxTreeItemIcon_Expanded
));
33731 PyDict_SetItemString(d
,"TreeItemIcon_SelectedExpanded", SWIG_FromInt((int)wxTreeItemIcon_SelectedExpanded
));
33732 PyDict_SetItemString(d
,"TreeItemIcon_Max", SWIG_FromInt((int)wxTreeItemIcon_Max
));
33733 PyDict_SetItemString(d
,"TREE_HITTEST_ABOVE", SWIG_FromInt((int)wxTREE_HITTEST_ABOVE
));
33734 PyDict_SetItemString(d
,"TREE_HITTEST_BELOW", SWIG_FromInt((int)wxTREE_HITTEST_BELOW
));
33735 PyDict_SetItemString(d
,"TREE_HITTEST_NOWHERE", SWIG_FromInt((int)wxTREE_HITTEST_NOWHERE
));
33736 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMBUTTON", SWIG_FromInt((int)wxTREE_HITTEST_ONITEMBUTTON
));
33737 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMICON", SWIG_FromInt((int)wxTREE_HITTEST_ONITEMICON
));
33738 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMINDENT", SWIG_FromInt((int)wxTREE_HITTEST_ONITEMINDENT
));
33739 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMLABEL", SWIG_FromInt((int)wxTREE_HITTEST_ONITEMLABEL
));
33740 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMRIGHT", SWIG_FromInt((int)wxTREE_HITTEST_ONITEMRIGHT
));
33741 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMSTATEICON", SWIG_FromInt((int)wxTREE_HITTEST_ONITEMSTATEICON
));
33742 PyDict_SetItemString(d
,"TREE_HITTEST_TOLEFT", SWIG_FromInt((int)wxTREE_HITTEST_TOLEFT
));
33743 PyDict_SetItemString(d
,"TREE_HITTEST_TORIGHT", SWIG_FromInt((int)wxTREE_HITTEST_TORIGHT
));
33744 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMUPPERPART", SWIG_FromInt((int)wxTREE_HITTEST_ONITEMUPPERPART
));
33745 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMLOWERPART", SWIG_FromInt((int)wxTREE_HITTEST_ONITEMLOWERPART
));
33746 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEM", SWIG_FromInt((int)wxTREE_HITTEST_ONITEM
));
33747 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_DRAG
));
33748 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_RDRAG
));
33749 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT
));
33750 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_END_LABEL_EDIT
));
33751 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_TREE_DELETE_ITEM
));
33752 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_GET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_GET_INFO
));
33753 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_SET_INFO
));
33754 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_EXPANDED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDED
));
33755 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_EXPANDING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDING
));
33756 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_COLLAPSED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSED
));
33757 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_COLLAPSING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSING
));
33758 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SEL_CHANGED", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGED
));
33759 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SEL_CHANGING", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGING
));
33760 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_TREE_KEY_DOWN
));
33761 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_ACTIVATED
));
33762 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK
));
33763 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK
));
33764 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_END_DRAG
));
33765 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK
));
33766 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP
));
33768 // Map renamed classes back to their common name for OOR
33769 wxPyPtrTypeMap_Add("wxTreeItemData", "wxPyTreeItemData");
33770 wxPyPtrTypeMap_Add("wxTreeCtrl", "wxPyTreeCtrl");
33772 SWIG_addvarlink(SWIG_globals
,(char*)"DirDialogDefaultFolderStr",_wrap_DirDialogDefaultFolderStr_get
, _wrap_DirDialogDefaultFolderStr_set
);
33773 PyDict_SetItemString(d
,"DIRCTRL_DIR_ONLY", SWIG_FromInt((int)wxDIRCTRL_DIR_ONLY
));
33774 PyDict_SetItemString(d
,"DIRCTRL_SELECT_FIRST", SWIG_FromInt((int)wxDIRCTRL_SELECT_FIRST
));
33775 PyDict_SetItemString(d
,"DIRCTRL_SHOW_FILTERS", SWIG_FromInt((int)wxDIRCTRL_SHOW_FILTERS
));
33776 PyDict_SetItemString(d
,"DIRCTRL_3D_INTERNAL", SWIG_FromInt((int)wxDIRCTRL_3D_INTERNAL
));
33777 PyDict_SetItemString(d
,"DIRCTRL_EDIT_LABELS", SWIG_FromInt((int)wxDIRCTRL_EDIT_LABELS
));
33778 PyDict_SetItemString(d
,"FRAME_EX_CONTEXTHELP", SWIG_FromInt((int)wxFRAME_EX_CONTEXTHELP
));
33779 PyDict_SetItemString(d
,"DIALOG_EX_CONTEXTHELP", SWIG_FromInt((int)wxDIALOG_EX_CONTEXTHELP
));
33780 PyDict_SetItemString(d
, "wxEVT_HELP", PyInt_FromLong(wxEVT_HELP
));
33781 PyDict_SetItemString(d
, "wxEVT_DETAILED_HELP", PyInt_FromLong(wxEVT_DETAILED_HELP
));
33783 wxPyPtrTypeMap_Add("wxDragImage", "wxGenericDragImage");