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
){
749 return (wxWindow
*)self
->m_mainWin
;
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
;
1127 resultobj
= wxPyMake_wxObject(result
);
1151 static PyObject
*_wrap_new_PreButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1152 PyObject
*resultobj
;
1158 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreButton",kwnames
)) goto fail
;
1160 if (!wxPyCheckForApp()) SWIG_fail
;
1161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1162 result
= (wxButton
*)new wxButton();
1164 wxPyEndAllowThreads(__tstate
);
1165 if (PyErr_Occurred()) SWIG_fail
;
1168 resultobj
= wxPyMake_wxObject(result
);
1176 static PyObject
*_wrap_Button_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1177 PyObject
*resultobj
;
1178 wxButton
*arg1
= (wxButton
*) 0 ;
1179 wxWindow
*arg2
= (wxWindow
*) 0 ;
1180 int arg3
= (int) -1 ;
1181 wxString
const &arg4_defvalue
= wxPyEmptyString
;
1182 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
1183 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
1184 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
1185 wxSize
const &arg6_defvalue
= wxDefaultSize
;
1186 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
1187 long arg7
= (long) 0 ;
1188 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
1189 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
1190 wxString
const &arg9_defvalue
= wxPyButtonNameStr
;
1191 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
1193 bool temp4
= False
;
1196 bool temp9
= False
;
1197 PyObject
* obj0
= 0 ;
1198 PyObject
* obj1
= 0 ;
1199 PyObject
* obj2
= 0 ;
1200 PyObject
* obj3
= 0 ;
1201 PyObject
* obj4
= 0 ;
1202 PyObject
* obj5
= 0 ;
1203 PyObject
* obj6
= 0 ;
1204 PyObject
* obj7
= 0 ;
1205 PyObject
* obj8
= 0 ;
1207 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1210 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:Button_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
1211 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxButton
,
1212 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1213 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
1214 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1216 arg3
= (int) SWIG_AsInt(obj2
);
1217 if (PyErr_Occurred()) SWIG_fail
;
1221 arg4
= wxString_in_helper(obj3
);
1222 if (arg4
== NULL
) SWIG_fail
;
1229 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
1235 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
1239 arg7
= (long) SWIG_AsLong(obj6
);
1240 if (PyErr_Occurred()) SWIG_fail
;
1243 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
1244 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1247 PyErr_SetString(PyExc_TypeError
,"null reference");
1253 arg9
= wxString_in_helper(obj8
);
1254 if (arg9
== NULL
) SWIG_fail
;
1259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1260 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
1262 wxPyEndAllowThreads(__tstate
);
1263 if (PyErr_Occurred()) SWIG_fail
;
1266 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1290 static PyObject
*_wrap_Button_SetDefault(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1291 PyObject
*resultobj
;
1292 wxButton
*arg1
= (wxButton
*) 0 ;
1293 PyObject
* obj0
= 0 ;
1295 (char *) "self", NULL
1298 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Button_SetDefault",kwnames
,&obj0
)) goto fail
;
1299 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxButton
,
1300 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1303 (arg1
)->SetDefault();
1305 wxPyEndAllowThreads(__tstate
);
1306 if (PyErr_Occurred()) SWIG_fail
;
1308 Py_INCREF(Py_None
); resultobj
= Py_None
;
1315 static PyObject
*_wrap_Button_GetDefaultSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1316 PyObject
*resultobj
;
1322 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Button_GetDefaultSize",kwnames
)) goto fail
;
1324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1325 result
= wxButton::GetDefaultSize();
1327 wxPyEndAllowThreads(__tstate
);
1328 if (PyErr_Occurred()) SWIG_fail
;
1332 resultptr
= new wxSize((wxSize
&) result
);
1333 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
1341 static PyObject
*_wrap_Button_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1342 PyObject
*resultobj
;
1343 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
1344 wxVisualAttributes result
;
1345 PyObject
* obj0
= 0 ;
1347 (char *) "variant", NULL
1350 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Button_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
1352 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
1353 if (PyErr_Occurred()) SWIG_fail
;
1356 if (!wxPyCheckForApp()) SWIG_fail
;
1357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1358 result
= wxButton::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
1360 wxPyEndAllowThreads(__tstate
);
1361 if (PyErr_Occurred()) SWIG_fail
;
1364 wxVisualAttributes
* resultptr
;
1365 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
1366 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
1374 static PyObject
* Button_swigregister(PyObject
*self
, PyObject
*args
) {
1376 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1377 SWIG_TypeClientData(SWIGTYPE_p_wxButton
, obj
);
1379 return Py_BuildValue((char *)"");
1381 static PyObject
*_wrap_new_BitmapButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1382 PyObject
*resultobj
;
1383 wxWindow
*arg1
= (wxWindow
*) 0 ;
1384 int arg2
= (int) -1 ;
1385 wxBitmap
const &arg3_defvalue
= wxNullBitmap
;
1386 wxBitmap
*arg3
= (wxBitmap
*) &arg3_defvalue
;
1387 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
1388 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
1389 wxSize
const &arg5_defvalue
= wxDefaultSize
;
1390 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
1391 long arg6
= (long) wxBU_AUTODRAW
;
1392 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
1393 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
1394 wxString
const &arg8_defvalue
= wxPyButtonNameStr
;
1395 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
1396 wxBitmapButton
*result
;
1399 bool temp8
= False
;
1400 PyObject
* obj0
= 0 ;
1401 PyObject
* obj1
= 0 ;
1402 PyObject
* obj2
= 0 ;
1403 PyObject
* obj3
= 0 ;
1404 PyObject
* obj4
= 0 ;
1405 PyObject
* obj5
= 0 ;
1406 PyObject
* obj6
= 0 ;
1407 PyObject
* obj7
= 0 ;
1409 (char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1412 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_BitmapButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
1413 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
1414 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1416 arg2
= (int) SWIG_AsInt(obj1
);
1417 if (PyErr_Occurred()) SWIG_fail
;
1420 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxBitmap
,
1421 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1424 PyErr_SetString(PyExc_TypeError
,"null reference");
1431 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
1437 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
1441 arg6
= (long) SWIG_AsLong(obj5
);
1442 if (PyErr_Occurred()) SWIG_fail
;
1445 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
1446 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1449 PyErr_SetString(PyExc_TypeError
,"null reference");
1455 arg8
= wxString_in_helper(obj7
);
1456 if (arg8
== NULL
) SWIG_fail
;
1461 if (!wxPyCheckForApp()) SWIG_fail
;
1462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1463 result
= (wxBitmapButton
*)new wxBitmapButton(arg1
,arg2
,(wxBitmap
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
1465 wxPyEndAllowThreads(__tstate
);
1466 if (PyErr_Occurred()) SWIG_fail
;
1469 resultobj
= wxPyMake_wxObject(result
);
1485 static PyObject
*_wrap_new_PreBitmapButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1486 PyObject
*resultobj
;
1487 wxBitmapButton
*result
;
1492 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreBitmapButton",kwnames
)) goto fail
;
1494 if (!wxPyCheckForApp()) SWIG_fail
;
1495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1496 result
= (wxBitmapButton
*)new wxBitmapButton();
1498 wxPyEndAllowThreads(__tstate
);
1499 if (PyErr_Occurred()) SWIG_fail
;
1502 resultobj
= wxPyMake_wxObject(result
);
1510 static PyObject
*_wrap_BitmapButton_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1511 PyObject
*resultobj
;
1512 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1513 wxWindow
*arg2
= (wxWindow
*) 0 ;
1514 int arg3
= (int) -1 ;
1515 wxBitmap
const &arg4_defvalue
= wxNullBitmap
;
1516 wxBitmap
*arg4
= (wxBitmap
*) &arg4_defvalue
;
1517 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
1518 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
1519 wxSize
const &arg6_defvalue
= wxDefaultSize
;
1520 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
1521 long arg7
= (long) wxBU_AUTODRAW
;
1522 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
1523 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
1524 wxString
const &arg9_defvalue
= wxPyButtonNameStr
;
1525 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
1529 bool temp9
= False
;
1530 PyObject
* obj0
= 0 ;
1531 PyObject
* obj1
= 0 ;
1532 PyObject
* obj2
= 0 ;
1533 PyObject
* obj3
= 0 ;
1534 PyObject
* obj4
= 0 ;
1535 PyObject
* obj5
= 0 ;
1536 PyObject
* obj6
= 0 ;
1537 PyObject
* obj7
= 0 ;
1538 PyObject
* obj8
= 0 ;
1540 (char *) "self",(char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1543 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:BitmapButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
1544 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
1545 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1546 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
1547 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1549 arg3
= (int) SWIG_AsInt(obj2
);
1550 if (PyErr_Occurred()) SWIG_fail
;
1553 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxBitmap
,
1554 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1557 PyErr_SetString(PyExc_TypeError
,"null reference");
1564 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
1570 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
1574 arg7
= (long) SWIG_AsLong(obj6
);
1575 if (PyErr_Occurred()) SWIG_fail
;
1578 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
1579 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1582 PyErr_SetString(PyExc_TypeError
,"null reference");
1588 arg9
= wxString_in_helper(obj8
);
1589 if (arg9
== NULL
) SWIG_fail
;
1594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1595 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxBitmap
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
1597 wxPyEndAllowThreads(__tstate
);
1598 if (PyErr_Occurred()) SWIG_fail
;
1601 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1617 static PyObject
*_wrap_BitmapButton_GetBitmapLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1618 PyObject
*resultobj
;
1619 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1621 PyObject
* obj0
= 0 ;
1623 (char *) "self", NULL
1626 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetBitmapLabel",kwnames
,&obj0
)) goto fail
;
1627 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
1628 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1631 result
= (arg1
)->GetBitmapLabel();
1633 wxPyEndAllowThreads(__tstate
);
1634 if (PyErr_Occurred()) SWIG_fail
;
1637 wxBitmap
* resultptr
;
1638 resultptr
= new wxBitmap((wxBitmap
&) result
);
1639 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
1647 static PyObject
*_wrap_BitmapButton_GetBitmapDisabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1648 PyObject
*resultobj
;
1649 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1651 PyObject
* obj0
= 0 ;
1653 (char *) "self", NULL
1656 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetBitmapDisabled",kwnames
,&obj0
)) goto fail
;
1657 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
1658 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1661 result
= (arg1
)->GetBitmapDisabled();
1663 wxPyEndAllowThreads(__tstate
);
1664 if (PyErr_Occurred()) SWIG_fail
;
1667 wxBitmap
* resultptr
;
1668 resultptr
= new wxBitmap((wxBitmap
&) result
);
1669 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
1677 static PyObject
*_wrap_BitmapButton_GetBitmapFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1678 PyObject
*resultobj
;
1679 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1681 PyObject
* obj0
= 0 ;
1683 (char *) "self", NULL
1686 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetBitmapFocus",kwnames
,&obj0
)) goto fail
;
1687 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
1688 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1691 result
= (arg1
)->GetBitmapFocus();
1693 wxPyEndAllowThreads(__tstate
);
1694 if (PyErr_Occurred()) SWIG_fail
;
1697 wxBitmap
* resultptr
;
1698 resultptr
= new wxBitmap((wxBitmap
&) result
);
1699 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
1707 static PyObject
*_wrap_BitmapButton_GetBitmapSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1708 PyObject
*resultobj
;
1709 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1711 PyObject
* obj0
= 0 ;
1713 (char *) "self", NULL
1716 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetBitmapSelected",kwnames
,&obj0
)) goto fail
;
1717 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
1718 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1721 result
= (arg1
)->GetBitmapSelected();
1723 wxPyEndAllowThreads(__tstate
);
1724 if (PyErr_Occurred()) SWIG_fail
;
1727 wxBitmap
* resultptr
;
1728 resultptr
= new wxBitmap((wxBitmap
&) result
);
1729 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
1737 static PyObject
*_wrap_BitmapButton_SetBitmapDisabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1738 PyObject
*resultobj
;
1739 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1740 wxBitmap
*arg2
= 0 ;
1741 PyObject
* obj0
= 0 ;
1742 PyObject
* obj1
= 0 ;
1744 (char *) "self",(char *) "bitmap", NULL
1747 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapDisabled",kwnames
,&obj0
,&obj1
)) goto fail
;
1748 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
1749 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1750 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
1751 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1754 PyErr_SetString(PyExc_TypeError
,"null reference");
1758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1759 (arg1
)->SetBitmapDisabled((wxBitmap
const &)*arg2
);
1761 wxPyEndAllowThreads(__tstate
);
1762 if (PyErr_Occurred()) SWIG_fail
;
1764 Py_INCREF(Py_None
); resultobj
= Py_None
;
1771 static PyObject
*_wrap_BitmapButton_SetBitmapFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1772 PyObject
*resultobj
;
1773 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1774 wxBitmap
*arg2
= 0 ;
1775 PyObject
* obj0
= 0 ;
1776 PyObject
* obj1
= 0 ;
1778 (char *) "self",(char *) "bitmap", NULL
1781 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapFocus",kwnames
,&obj0
,&obj1
)) goto fail
;
1782 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
1783 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1784 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
1785 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1788 PyErr_SetString(PyExc_TypeError
,"null reference");
1792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1793 (arg1
)->SetBitmapFocus((wxBitmap
const &)*arg2
);
1795 wxPyEndAllowThreads(__tstate
);
1796 if (PyErr_Occurred()) SWIG_fail
;
1798 Py_INCREF(Py_None
); resultobj
= Py_None
;
1805 static PyObject
*_wrap_BitmapButton_SetBitmapSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1806 PyObject
*resultobj
;
1807 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1808 wxBitmap
*arg2
= 0 ;
1809 PyObject
* obj0
= 0 ;
1810 PyObject
* obj1
= 0 ;
1812 (char *) "self",(char *) "bitmap", NULL
1815 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
1816 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
1817 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1818 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
1819 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1822 PyErr_SetString(PyExc_TypeError
,"null reference");
1826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1827 (arg1
)->SetBitmapSelected((wxBitmap
const &)*arg2
);
1829 wxPyEndAllowThreads(__tstate
);
1830 if (PyErr_Occurred()) SWIG_fail
;
1832 Py_INCREF(Py_None
); resultobj
= Py_None
;
1839 static PyObject
*_wrap_BitmapButton_SetBitmapLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1840 PyObject
*resultobj
;
1841 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1842 wxBitmap
*arg2
= 0 ;
1843 PyObject
* obj0
= 0 ;
1844 PyObject
* obj1
= 0 ;
1846 (char *) "self",(char *) "bitmap", NULL
1849 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
1850 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
1851 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1852 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
1853 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1856 PyErr_SetString(PyExc_TypeError
,"null reference");
1860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1861 (arg1
)->SetBitmapLabel((wxBitmap
const &)*arg2
);
1863 wxPyEndAllowThreads(__tstate
);
1864 if (PyErr_Occurred()) SWIG_fail
;
1866 Py_INCREF(Py_None
); resultobj
= Py_None
;
1873 static PyObject
*_wrap_BitmapButton_SetMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1874 PyObject
*resultobj
;
1875 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1878 PyObject
* obj0
= 0 ;
1879 PyObject
* obj1
= 0 ;
1880 PyObject
* obj2
= 0 ;
1882 (char *) "self",(char *) "x",(char *) "y", NULL
1885 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BitmapButton_SetMargins",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
1886 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
1887 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1888 arg2
= (int) SWIG_AsInt(obj1
);
1889 if (PyErr_Occurred()) SWIG_fail
;
1890 arg3
= (int) SWIG_AsInt(obj2
);
1891 if (PyErr_Occurred()) SWIG_fail
;
1893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1894 (arg1
)->SetMargins(arg2
,arg3
);
1896 wxPyEndAllowThreads(__tstate
);
1897 if (PyErr_Occurred()) SWIG_fail
;
1899 Py_INCREF(Py_None
); resultobj
= Py_None
;
1906 static PyObject
*_wrap_BitmapButton_GetMarginX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1907 PyObject
*resultobj
;
1908 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1910 PyObject
* obj0
= 0 ;
1912 (char *) "self", NULL
1915 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetMarginX",kwnames
,&obj0
)) goto fail
;
1916 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
1917 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1920 result
= (int)((wxBitmapButton
const *)arg1
)->GetMarginX();
1922 wxPyEndAllowThreads(__tstate
);
1923 if (PyErr_Occurred()) SWIG_fail
;
1925 resultobj
= SWIG_FromInt((int)result
);
1932 static PyObject
*_wrap_BitmapButton_GetMarginY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1933 PyObject
*resultobj
;
1934 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1936 PyObject
* obj0
= 0 ;
1938 (char *) "self", NULL
1941 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetMarginY",kwnames
,&obj0
)) goto fail
;
1942 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
1943 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1946 result
= (int)((wxBitmapButton
const *)arg1
)->GetMarginY();
1948 wxPyEndAllowThreads(__tstate
);
1949 if (PyErr_Occurred()) SWIG_fail
;
1951 resultobj
= SWIG_FromInt((int)result
);
1958 static PyObject
* BitmapButton_swigregister(PyObject
*self
, PyObject
*args
) {
1960 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1961 SWIG_TypeClientData(SWIGTYPE_p_wxBitmapButton
, obj
);
1963 return Py_BuildValue((char *)"");
1965 static int _wrap_CheckBoxNameStr_set(PyObject
*_val
) {
1966 PyErr_SetString(PyExc_TypeError
,"Variable CheckBoxNameStr is read-only.");
1971 static PyObject
*_wrap_CheckBoxNameStr_get() {
1976 pyobj
= PyUnicode_FromWideChar((&wxPyCheckBoxNameStr
)->c_str(), (&wxPyCheckBoxNameStr
)->Len());
1978 pyobj
= PyString_FromStringAndSize((&wxPyCheckBoxNameStr
)->c_str(), (&wxPyCheckBoxNameStr
)->Len());
1985 static PyObject
*_wrap_new_CheckBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1986 PyObject
*resultobj
;
1987 wxWindow
*arg1
= (wxWindow
*) 0 ;
1988 int arg2
= (int) -1 ;
1989 wxString
const &arg3_defvalue
= wxPyEmptyString
;
1990 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
1991 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
1992 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
1993 wxSize
const &arg5_defvalue
= wxDefaultSize
;
1994 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
1995 long arg6
= (long) 0 ;
1996 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
1997 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
1998 wxString
const &arg8_defvalue
= wxPyCheckBoxNameStr
;
1999 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
2001 bool temp3
= False
;
2004 bool temp8
= False
;
2005 PyObject
* obj0
= 0 ;
2006 PyObject
* obj1
= 0 ;
2007 PyObject
* obj2
= 0 ;
2008 PyObject
* obj3
= 0 ;
2009 PyObject
* obj4
= 0 ;
2010 PyObject
* obj5
= 0 ;
2011 PyObject
* obj6
= 0 ;
2012 PyObject
* obj7
= 0 ;
2014 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
2017 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_CheckBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
2018 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
2019 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2021 arg2
= (int) SWIG_AsInt(obj1
);
2022 if (PyErr_Occurred()) SWIG_fail
;
2026 arg3
= wxString_in_helper(obj2
);
2027 if (arg3
== NULL
) SWIG_fail
;
2034 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
2040 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
2044 arg6
= (long) SWIG_AsLong(obj5
);
2045 if (PyErr_Occurred()) SWIG_fail
;
2048 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
2049 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2052 PyErr_SetString(PyExc_TypeError
,"null reference");
2058 arg8
= wxString_in_helper(obj7
);
2059 if (arg8
== NULL
) SWIG_fail
;
2064 if (!wxPyCheckForApp()) SWIG_fail
;
2065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2066 result
= (wxCheckBox
*)new wxCheckBox(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
2068 wxPyEndAllowThreads(__tstate
);
2069 if (PyErr_Occurred()) SWIG_fail
;
2071 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCheckBox
, 1);
2094 static PyObject
*_wrap_new_PreCheckBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2095 PyObject
*resultobj
;
2101 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreCheckBox",kwnames
)) goto fail
;
2103 if (!wxPyCheckForApp()) SWIG_fail
;
2104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2105 result
= (wxCheckBox
*)new wxCheckBox();
2107 wxPyEndAllowThreads(__tstate
);
2108 if (PyErr_Occurred()) SWIG_fail
;
2110 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCheckBox
, 1);
2117 static PyObject
*_wrap_CheckBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2118 PyObject
*resultobj
;
2119 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
2120 wxWindow
*arg2
= (wxWindow
*) 0 ;
2121 int arg3
= (int) -1 ;
2122 wxString
const &arg4_defvalue
= wxPyEmptyString
;
2123 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
2124 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
2125 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
2126 wxSize
const &arg6_defvalue
= wxDefaultSize
;
2127 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
2128 long arg7
= (long) 0 ;
2129 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
2130 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
2131 wxString
const &arg9_defvalue
= wxPyCheckBoxNameStr
;
2132 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
2134 bool temp4
= False
;
2137 bool temp9
= False
;
2138 PyObject
* obj0
= 0 ;
2139 PyObject
* obj1
= 0 ;
2140 PyObject
* obj2
= 0 ;
2141 PyObject
* obj3
= 0 ;
2142 PyObject
* obj4
= 0 ;
2143 PyObject
* obj5
= 0 ;
2144 PyObject
* obj6
= 0 ;
2145 PyObject
* obj7
= 0 ;
2146 PyObject
* obj8
= 0 ;
2148 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
2151 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:CheckBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
2152 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckBox
,
2153 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2154 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
2155 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2157 arg3
= (int) SWIG_AsInt(obj2
);
2158 if (PyErr_Occurred()) SWIG_fail
;
2162 arg4
= wxString_in_helper(obj3
);
2163 if (arg4
== NULL
) SWIG_fail
;
2170 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
2176 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
2180 arg7
= (long) SWIG_AsLong(obj6
);
2181 if (PyErr_Occurred()) SWIG_fail
;
2184 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
2185 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2188 PyErr_SetString(PyExc_TypeError
,"null reference");
2194 arg9
= wxString_in_helper(obj8
);
2195 if (arg9
== NULL
) SWIG_fail
;
2200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2201 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
2203 wxPyEndAllowThreads(__tstate
);
2204 if (PyErr_Occurred()) SWIG_fail
;
2207 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2231 static PyObject
*_wrap_CheckBox_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2232 PyObject
*resultobj
;
2233 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
2235 PyObject
* obj0
= 0 ;
2237 (char *) "self", NULL
2240 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckBox_GetValue",kwnames
,&obj0
)) goto fail
;
2241 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckBox
,
2242 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2245 result
= (bool)(arg1
)->GetValue();
2247 wxPyEndAllowThreads(__tstate
);
2248 if (PyErr_Occurred()) SWIG_fail
;
2251 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2259 static PyObject
*_wrap_CheckBox_IsChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2260 PyObject
*resultobj
;
2261 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
2263 PyObject
* obj0
= 0 ;
2265 (char *) "self", NULL
2268 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckBox_IsChecked",kwnames
,&obj0
)) goto fail
;
2269 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckBox
,
2270 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2273 result
= (bool)(arg1
)->IsChecked();
2275 wxPyEndAllowThreads(__tstate
);
2276 if (PyErr_Occurred()) SWIG_fail
;
2279 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2287 static PyObject
*_wrap_CheckBox_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2288 PyObject
*resultobj
;
2289 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
2291 PyObject
* obj0
= 0 ;
2292 PyObject
* obj1
= 0 ;
2294 (char *) "self",(char *) "state", NULL
2297 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckBox_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
2298 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckBox
,
2299 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2300 arg2
= (bool const) SWIG_AsBool(obj1
);
2301 if (PyErr_Occurred()) SWIG_fail
;
2303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2304 (arg1
)->SetValue(arg2
);
2306 wxPyEndAllowThreads(__tstate
);
2307 if (PyErr_Occurred()) SWIG_fail
;
2309 Py_INCREF(Py_None
); resultobj
= Py_None
;
2316 static PyObject
*_wrap_CheckBox_Get3StateValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2317 PyObject
*resultobj
;
2318 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
2320 PyObject
* obj0
= 0 ;
2322 (char *) "self", NULL
2325 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckBox_Get3StateValue",kwnames
,&obj0
)) goto fail
;
2326 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckBox
,
2327 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2330 result
= (int)((wxCheckBox
const *)arg1
)->Get3StateValue();
2332 wxPyEndAllowThreads(__tstate
);
2333 if (PyErr_Occurred()) SWIG_fail
;
2335 resultobj
= SWIG_FromInt((int)result
);
2342 static PyObject
*_wrap_CheckBox_Set3StateValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2343 PyObject
*resultobj
;
2344 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
2346 PyObject
* obj0
= 0 ;
2347 PyObject
* obj1
= 0 ;
2349 (char *) "self",(char *) "state", NULL
2352 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckBox_Set3StateValue",kwnames
,&obj0
,&obj1
)) goto fail
;
2353 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckBox
,
2354 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2355 arg2
= (wxCheckBoxState
) SWIG_AsInt(obj1
);
2356 if (PyErr_Occurred()) SWIG_fail
;
2358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2359 (arg1
)->Set3StateValue((wxCheckBoxState
)arg2
);
2361 wxPyEndAllowThreads(__tstate
);
2362 if (PyErr_Occurred()) SWIG_fail
;
2364 Py_INCREF(Py_None
); resultobj
= Py_None
;
2371 static PyObject
*_wrap_CheckBox_Is3State(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2372 PyObject
*resultobj
;
2373 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
2375 PyObject
* obj0
= 0 ;
2377 (char *) "self", NULL
2380 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckBox_Is3State",kwnames
,&obj0
)) goto fail
;
2381 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckBox
,
2382 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2385 result
= (bool)((wxCheckBox
const *)arg1
)->Is3State();
2387 wxPyEndAllowThreads(__tstate
);
2388 if (PyErr_Occurred()) SWIG_fail
;
2391 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2399 static PyObject
*_wrap_CheckBox_Is3rdStateAllowedForUser(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2400 PyObject
*resultobj
;
2401 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
2403 PyObject
* obj0
= 0 ;
2405 (char *) "self", NULL
2408 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckBox_Is3rdStateAllowedForUser",kwnames
,&obj0
)) goto fail
;
2409 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckBox
,
2410 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2413 result
= (bool)((wxCheckBox
const *)arg1
)->Is3rdStateAllowedForUser();
2415 wxPyEndAllowThreads(__tstate
);
2416 if (PyErr_Occurred()) SWIG_fail
;
2419 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2427 static PyObject
*_wrap_CheckBox_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2428 PyObject
*resultobj
;
2429 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
2430 wxVisualAttributes result
;
2431 PyObject
* obj0
= 0 ;
2433 (char *) "variant", NULL
2436 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:CheckBox_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
2438 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
2439 if (PyErr_Occurred()) SWIG_fail
;
2442 if (!wxPyCheckForApp()) SWIG_fail
;
2443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2444 result
= wxCheckBox::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
2446 wxPyEndAllowThreads(__tstate
);
2447 if (PyErr_Occurred()) SWIG_fail
;
2450 wxVisualAttributes
* resultptr
;
2451 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
2452 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
2460 static PyObject
* CheckBox_swigregister(PyObject
*self
, PyObject
*args
) {
2462 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2463 SWIG_TypeClientData(SWIGTYPE_p_wxCheckBox
, obj
);
2465 return Py_BuildValue((char *)"");
2467 static int _wrap_ChoiceNameStr_set(PyObject
*_val
) {
2468 PyErr_SetString(PyExc_TypeError
,"Variable ChoiceNameStr is read-only.");
2473 static PyObject
*_wrap_ChoiceNameStr_get() {
2478 pyobj
= PyUnicode_FromWideChar((&wxPyChoiceNameStr
)->c_str(), (&wxPyChoiceNameStr
)->Len());
2480 pyobj
= PyString_FromStringAndSize((&wxPyChoiceNameStr
)->c_str(), (&wxPyChoiceNameStr
)->Len());
2487 static PyObject
*_wrap_new_Choice(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2488 PyObject
*resultobj
;
2489 wxWindow
*arg1
= (wxWindow
*) 0 ;
2490 int arg2
= (int) -1 ;
2491 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
2492 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
2493 wxSize
const &arg4_defvalue
= wxDefaultSize
;
2494 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
2495 wxArrayString
const &arg5_defvalue
= wxPyEmptyStringArray
;
2496 wxArrayString
*arg5
= (wxArrayString
*) &arg5_defvalue
;
2497 long arg6
= (long) 0 ;
2498 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
2499 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
2500 wxString
const &arg8_defvalue
= wxPyChoiceNameStr
;
2501 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
2505 bool temp5
= False
;
2506 bool temp8
= False
;
2507 PyObject
* obj0
= 0 ;
2508 PyObject
* obj1
= 0 ;
2509 PyObject
* obj2
= 0 ;
2510 PyObject
* obj3
= 0 ;
2511 PyObject
* obj4
= 0 ;
2512 PyObject
* obj5
= 0 ;
2513 PyObject
* obj6
= 0 ;
2514 PyObject
* obj7
= 0 ;
2516 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
2519 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_Choice",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
2520 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
2521 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2523 arg2
= (int) SWIG_AsInt(obj1
);
2524 if (PyErr_Occurred()) SWIG_fail
;
2529 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
2535 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
2540 if (! PySequence_Check(obj4
)) {
2541 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
2544 arg5
= new wxArrayString
;
2546 int i
, len
=PySequence_Length(obj4
);
2547 for (i
=0; i
<len
; i
++) {
2548 PyObject
* item
= PySequence_GetItem(obj4
, i
);
2550 PyObject
* str
= PyObject_Unicode(item
);
2552 PyObject
* str
= PyObject_Str(item
);
2554 if (PyErr_Occurred()) SWIG_fail
;
2555 arg5
->Add(Py2wxString(str
));
2562 arg6
= (long) SWIG_AsLong(obj5
);
2563 if (PyErr_Occurred()) SWIG_fail
;
2566 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
2567 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2570 PyErr_SetString(PyExc_TypeError
,"null reference");
2576 arg8
= wxString_in_helper(obj7
);
2577 if (arg8
== NULL
) SWIG_fail
;
2582 if (!wxPyCheckForApp()) SWIG_fail
;
2583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2584 result
= (wxChoice
*)new wxChoice(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,(wxArrayString
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
2586 wxPyEndAllowThreads(__tstate
);
2587 if (PyErr_Occurred()) SWIG_fail
;
2589 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxChoice
, 1);
2591 if (temp5
) delete arg5
;
2600 if (temp5
) delete arg5
;
2610 static PyObject
*_wrap_new_PreChoice(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2611 PyObject
*resultobj
;
2617 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreChoice",kwnames
)) goto fail
;
2619 if (!wxPyCheckForApp()) SWIG_fail
;
2620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2621 result
= (wxChoice
*)new wxChoice();
2623 wxPyEndAllowThreads(__tstate
);
2624 if (PyErr_Occurred()) SWIG_fail
;
2626 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxChoice
, 1);
2633 static PyObject
*_wrap_Choice_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2634 PyObject
*resultobj
;
2635 wxChoice
*arg1
= (wxChoice
*) 0 ;
2636 wxWindow
*arg2
= (wxWindow
*) 0 ;
2637 int arg3
= (int) -1 ;
2638 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
2639 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
2640 wxSize
const &arg5_defvalue
= wxDefaultSize
;
2641 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
2642 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
2643 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
2644 long arg7
= (long) 0 ;
2645 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
2646 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
2647 wxString
const &arg9_defvalue
= wxPyChoiceNameStr
;
2648 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
2652 bool temp6
= False
;
2653 bool temp9
= False
;
2654 PyObject
* obj0
= 0 ;
2655 PyObject
* obj1
= 0 ;
2656 PyObject
* obj2
= 0 ;
2657 PyObject
* obj3
= 0 ;
2658 PyObject
* obj4
= 0 ;
2659 PyObject
* obj5
= 0 ;
2660 PyObject
* obj6
= 0 ;
2661 PyObject
* obj7
= 0 ;
2662 PyObject
* obj8
= 0 ;
2664 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
2667 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:Choice_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
2668 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxChoice
,
2669 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2670 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
2671 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2673 arg3
= (int) SWIG_AsInt(obj2
);
2674 if (PyErr_Occurred()) SWIG_fail
;
2679 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
2685 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
2690 if (! PySequence_Check(obj5
)) {
2691 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
2694 arg6
= new wxArrayString
;
2696 int i
, len
=PySequence_Length(obj5
);
2697 for (i
=0; i
<len
; i
++) {
2698 PyObject
* item
= PySequence_GetItem(obj5
, i
);
2700 PyObject
* str
= PyObject_Unicode(item
);
2702 PyObject
* str
= PyObject_Str(item
);
2704 if (PyErr_Occurred()) SWIG_fail
;
2705 arg6
->Add(Py2wxString(str
));
2712 arg7
= (long) SWIG_AsLong(obj6
);
2713 if (PyErr_Occurred()) SWIG_fail
;
2716 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
2717 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2720 PyErr_SetString(PyExc_TypeError
,"null reference");
2726 arg9
= wxString_in_helper(obj8
);
2727 if (arg9
== NULL
) SWIG_fail
;
2732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2733 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,(wxArrayString
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
2735 wxPyEndAllowThreads(__tstate
);
2736 if (PyErr_Occurred()) SWIG_fail
;
2739 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2742 if (temp6
) delete arg6
;
2751 if (temp6
) delete arg6
;
2761 static PyObject
*_wrap_Choice_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2762 PyObject
*resultobj
;
2763 wxChoice
*arg1
= (wxChoice
*) 0 ;
2765 PyObject
* obj0
= 0 ;
2766 PyObject
* obj1
= 0 ;
2768 (char *) "self",(char *) "n", NULL
2771 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Choice_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
2772 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxChoice
,
2773 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2774 arg2
= (int const) SWIG_AsInt(obj1
);
2775 if (PyErr_Occurred()) SWIG_fail
;
2777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2778 (arg1
)->SetSelection(arg2
);
2780 wxPyEndAllowThreads(__tstate
);
2781 if (PyErr_Occurred()) SWIG_fail
;
2783 Py_INCREF(Py_None
); resultobj
= Py_None
;
2790 static PyObject
*_wrap_Choice_SetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2791 PyObject
*resultobj
;
2792 wxChoice
*arg1
= (wxChoice
*) 0 ;
2793 wxString
*arg2
= 0 ;
2795 bool temp2
= False
;
2796 PyObject
* obj0
= 0 ;
2797 PyObject
* obj1
= 0 ;
2799 (char *) "self",(char *) "string", NULL
2802 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Choice_SetStringSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
2803 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxChoice
,
2804 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2806 arg2
= wxString_in_helper(obj1
);
2807 if (arg2
== NULL
) SWIG_fail
;
2811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2812 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
);
2814 wxPyEndAllowThreads(__tstate
);
2815 if (PyErr_Occurred()) SWIG_fail
;
2818 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2834 static PyObject
*_wrap_Choice_SetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2835 PyObject
*resultobj
;
2836 wxChoice
*arg1
= (wxChoice
*) 0 ;
2838 wxString
*arg3
= 0 ;
2839 bool temp3
= False
;
2840 PyObject
* obj0
= 0 ;
2841 PyObject
* obj1
= 0 ;
2842 PyObject
* obj2
= 0 ;
2844 (char *) "self",(char *) "n",(char *) "string", NULL
2847 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Choice_SetString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2848 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxChoice
,
2849 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2850 arg2
= (int) SWIG_AsInt(obj1
);
2851 if (PyErr_Occurred()) SWIG_fail
;
2853 arg3
= wxString_in_helper(obj2
);
2854 if (arg3
== NULL
) SWIG_fail
;
2858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2859 (arg1
)->SetString(arg2
,(wxString
const &)*arg3
);
2861 wxPyEndAllowThreads(__tstate
);
2862 if (PyErr_Occurred()) SWIG_fail
;
2864 Py_INCREF(Py_None
); resultobj
= Py_None
;
2879 static PyObject
*_wrap_Choice_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2880 PyObject
*resultobj
;
2881 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
2882 wxVisualAttributes result
;
2883 PyObject
* obj0
= 0 ;
2885 (char *) "variant", NULL
2888 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Choice_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
2890 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
2891 if (PyErr_Occurred()) SWIG_fail
;
2894 if (!wxPyCheckForApp()) SWIG_fail
;
2895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2896 result
= wxChoice::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
2898 wxPyEndAllowThreads(__tstate
);
2899 if (PyErr_Occurred()) SWIG_fail
;
2902 wxVisualAttributes
* resultptr
;
2903 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
2904 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
2912 static PyObject
* Choice_swigregister(PyObject
*self
, PyObject
*args
) {
2914 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2915 SWIG_TypeClientData(SWIGTYPE_p_wxChoice
, obj
);
2917 return Py_BuildValue((char *)"");
2919 static int _wrap_ComboBoxNameStr_set(PyObject
*_val
) {
2920 PyErr_SetString(PyExc_TypeError
,"Variable ComboBoxNameStr is read-only.");
2925 static PyObject
*_wrap_ComboBoxNameStr_get() {
2930 pyobj
= PyUnicode_FromWideChar((&wxPyComboBoxNameStr
)->c_str(), (&wxPyComboBoxNameStr
)->Len());
2932 pyobj
= PyString_FromStringAndSize((&wxPyComboBoxNameStr
)->c_str(), (&wxPyComboBoxNameStr
)->Len());
2939 static PyObject
*_wrap_new_ComboBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2940 PyObject
*resultobj
;
2941 wxWindow
*arg1
= (wxWindow
*) 0 ;
2942 int arg2
= (int) -1 ;
2943 wxString
const &arg3_defvalue
= wxPyEmptyString
;
2944 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
2945 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
2946 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
2947 wxSize
const &arg5_defvalue
= wxDefaultSize
;
2948 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
2949 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
2950 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
2951 long arg7
= (long) 0 ;
2952 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
2953 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
2954 wxString
const &arg9_defvalue
= wxPyComboBoxNameStr
;
2955 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
2957 bool temp3
= False
;
2960 bool temp6
= False
;
2961 bool temp9
= False
;
2962 PyObject
* obj0
= 0 ;
2963 PyObject
* obj1
= 0 ;
2964 PyObject
* obj2
= 0 ;
2965 PyObject
* obj3
= 0 ;
2966 PyObject
* obj4
= 0 ;
2967 PyObject
* obj5
= 0 ;
2968 PyObject
* obj6
= 0 ;
2969 PyObject
* obj7
= 0 ;
2970 PyObject
* obj8
= 0 ;
2972 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
2975 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOO:new_ComboBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
2976 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
2977 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2979 arg2
= (int) SWIG_AsInt(obj1
);
2980 if (PyErr_Occurred()) SWIG_fail
;
2984 arg3
= wxString_in_helper(obj2
);
2985 if (arg3
== NULL
) SWIG_fail
;
2992 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
2998 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
3003 if (! PySequence_Check(obj5
)) {
3004 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
3007 arg6
= new wxArrayString
;
3009 int i
, len
=PySequence_Length(obj5
);
3010 for (i
=0; i
<len
; i
++) {
3011 PyObject
* item
= PySequence_GetItem(obj5
, i
);
3013 PyObject
* str
= PyObject_Unicode(item
);
3015 PyObject
* str
= PyObject_Str(item
);
3017 if (PyErr_Occurred()) SWIG_fail
;
3018 arg6
->Add(Py2wxString(str
));
3025 arg7
= (long) SWIG_AsLong(obj6
);
3026 if (PyErr_Occurred()) SWIG_fail
;
3029 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
3030 SWIG_POINTER_EXCEPTION
| 0)) == -1)
3033 PyErr_SetString(PyExc_TypeError
,"null reference");
3039 arg9
= wxString_in_helper(obj8
);
3040 if (arg9
== NULL
) SWIG_fail
;
3045 if (!wxPyCheckForApp()) SWIG_fail
;
3046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3047 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
);
3049 wxPyEndAllowThreads(__tstate
);
3050 if (PyErr_Occurred()) SWIG_fail
;
3052 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxComboBox
, 1);
3058 if (temp6
) delete arg6
;
3071 if (temp6
) delete arg6
;
3081 static PyObject
*_wrap_new_PreComboBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3082 PyObject
*resultobj
;
3088 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreComboBox",kwnames
)) goto fail
;
3090 if (!wxPyCheckForApp()) SWIG_fail
;
3091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3092 result
= (wxComboBox
*)new wxComboBox();
3094 wxPyEndAllowThreads(__tstate
);
3095 if (PyErr_Occurred()) SWIG_fail
;
3097 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxComboBox
, 1);
3104 static PyObject
*_wrap_ComboBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3105 PyObject
*resultobj
;
3106 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3107 wxWindow
*arg2
= (wxWindow
*) 0 ;
3108 int arg3
= (int) -1 ;
3109 wxString
const &arg4_defvalue
= wxPyEmptyString
;
3110 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
3111 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
3112 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
3113 wxSize
const &arg6_defvalue
= wxDefaultSize
;
3114 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
3115 wxArrayString
const &arg7_defvalue
= wxPyEmptyStringArray
;
3116 wxArrayString
*arg7
= (wxArrayString
*) &arg7_defvalue
;
3117 long arg8
= (long) 0 ;
3118 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
3119 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
3120 wxString
const &arg10_defvalue
= wxPyChoiceNameStr
;
3121 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
3123 bool temp4
= False
;
3126 bool temp7
= False
;
3127 bool temp10
= False
;
3128 PyObject
* obj0
= 0 ;
3129 PyObject
* obj1
= 0 ;
3130 PyObject
* obj2
= 0 ;
3131 PyObject
* obj3
= 0 ;
3132 PyObject
* obj4
= 0 ;
3133 PyObject
* obj5
= 0 ;
3134 PyObject
* obj6
= 0 ;
3135 PyObject
* obj7
= 0 ;
3136 PyObject
* obj8
= 0 ;
3137 PyObject
* obj9
= 0 ;
3139 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
3142 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOO:ComboBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
3143 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3144 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3145 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
3146 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3148 arg3
= (int) SWIG_AsInt(obj2
);
3149 if (PyErr_Occurred()) SWIG_fail
;
3153 arg4
= wxString_in_helper(obj3
);
3154 if (arg4
== NULL
) SWIG_fail
;
3161 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
3167 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
3172 if (! PySequence_Check(obj6
)) {
3173 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
3176 arg7
= new wxArrayString
;
3178 int i
, len
=PySequence_Length(obj6
);
3179 for (i
=0; i
<len
; i
++) {
3180 PyObject
* item
= PySequence_GetItem(obj6
, i
);
3182 PyObject
* str
= PyObject_Unicode(item
);
3184 PyObject
* str
= PyObject_Str(item
);
3186 if (PyErr_Occurred()) SWIG_fail
;
3187 arg7
->Add(Py2wxString(str
));
3194 arg8
= (long) SWIG_AsLong(obj7
);
3195 if (PyErr_Occurred()) SWIG_fail
;
3198 if ((SWIG_ConvertPtr(obj8
,(void **)(&arg9
),SWIGTYPE_p_wxValidator
,
3199 SWIG_POINTER_EXCEPTION
| 0)) == -1)
3202 PyErr_SetString(PyExc_TypeError
,"null reference");
3208 arg10
= wxString_in_helper(obj9
);
3209 if (arg10
== NULL
) SWIG_fail
;
3214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3215 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
);
3217 wxPyEndAllowThreads(__tstate
);
3218 if (PyErr_Occurred()) SWIG_fail
;
3221 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3228 if (temp7
) delete arg7
;
3241 if (temp7
) delete arg7
;
3251 static PyObject
*_wrap_ComboBox_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3252 PyObject
*resultobj
;
3253 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3255 PyObject
* obj0
= 0 ;
3257 (char *) "self", NULL
3260 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_GetValue",kwnames
,&obj0
)) goto fail
;
3261 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3262 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3265 result
= ((wxComboBox
const *)arg1
)->GetValue();
3267 wxPyEndAllowThreads(__tstate
);
3268 if (PyErr_Occurred()) SWIG_fail
;
3272 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3274 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3283 static PyObject
*_wrap_ComboBox_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3284 PyObject
*resultobj
;
3285 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3286 wxString
*arg2
= 0 ;
3287 bool temp2
= False
;
3288 PyObject
* obj0
= 0 ;
3289 PyObject
* obj1
= 0 ;
3291 (char *) "self",(char *) "value", NULL
3294 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
3295 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3296 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3298 arg2
= wxString_in_helper(obj1
);
3299 if (arg2
== NULL
) SWIG_fail
;
3303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3304 (arg1
)->SetValue((wxString
const &)*arg2
);
3306 wxPyEndAllowThreads(__tstate
);
3307 if (PyErr_Occurred()) SWIG_fail
;
3309 Py_INCREF(Py_None
); resultobj
= Py_None
;
3324 static PyObject
*_wrap_ComboBox_Copy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3325 PyObject
*resultobj
;
3326 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3327 PyObject
* obj0
= 0 ;
3329 (char *) "self", NULL
3332 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_Copy",kwnames
,&obj0
)) goto fail
;
3333 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3334 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3339 wxPyEndAllowThreads(__tstate
);
3340 if (PyErr_Occurred()) SWIG_fail
;
3342 Py_INCREF(Py_None
); resultobj
= Py_None
;
3349 static PyObject
*_wrap_ComboBox_Cut(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3350 PyObject
*resultobj
;
3351 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3352 PyObject
* obj0
= 0 ;
3354 (char *) "self", NULL
3357 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_Cut",kwnames
,&obj0
)) goto fail
;
3358 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3359 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3364 wxPyEndAllowThreads(__tstate
);
3365 if (PyErr_Occurred()) SWIG_fail
;
3367 Py_INCREF(Py_None
); resultobj
= Py_None
;
3374 static PyObject
*_wrap_ComboBox_Paste(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3375 PyObject
*resultobj
;
3376 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3377 PyObject
* obj0
= 0 ;
3379 (char *) "self", NULL
3382 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_Paste",kwnames
,&obj0
)) goto fail
;
3383 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3384 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3389 wxPyEndAllowThreads(__tstate
);
3390 if (PyErr_Occurred()) SWIG_fail
;
3392 Py_INCREF(Py_None
); resultobj
= Py_None
;
3399 static PyObject
*_wrap_ComboBox_SetInsertionPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3400 PyObject
*resultobj
;
3401 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3403 PyObject
* obj0
= 0 ;
3404 PyObject
* obj1
= 0 ;
3406 (char *) "self",(char *) "pos", NULL
3409 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetInsertionPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
3410 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3411 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3412 arg2
= (long) SWIG_AsLong(obj1
);
3413 if (PyErr_Occurred()) SWIG_fail
;
3415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3416 (arg1
)->SetInsertionPoint(arg2
);
3418 wxPyEndAllowThreads(__tstate
);
3419 if (PyErr_Occurred()) SWIG_fail
;
3421 Py_INCREF(Py_None
); resultobj
= Py_None
;
3428 static PyObject
*_wrap_ComboBox_GetInsertionPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3429 PyObject
*resultobj
;
3430 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3432 PyObject
* obj0
= 0 ;
3434 (char *) "self", NULL
3437 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_GetInsertionPoint",kwnames
,&obj0
)) goto fail
;
3438 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3439 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3442 result
= (long)((wxComboBox
const *)arg1
)->GetInsertionPoint();
3444 wxPyEndAllowThreads(__tstate
);
3445 if (PyErr_Occurred()) SWIG_fail
;
3447 resultobj
= SWIG_FromLong((long)result
);
3454 static PyObject
*_wrap_ComboBox_GetLastPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3455 PyObject
*resultobj
;
3456 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3458 PyObject
* obj0
= 0 ;
3460 (char *) "self", NULL
3463 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_GetLastPosition",kwnames
,&obj0
)) goto fail
;
3464 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3465 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3468 result
= (long)((wxComboBox
const *)arg1
)->GetLastPosition();
3470 wxPyEndAllowThreads(__tstate
);
3471 if (PyErr_Occurred()) SWIG_fail
;
3473 resultobj
= SWIG_FromLong((long)result
);
3480 static PyObject
*_wrap_ComboBox_Replace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3481 PyObject
*resultobj
;
3482 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3485 wxString
*arg4
= 0 ;
3486 bool temp4
= False
;
3487 PyObject
* obj0
= 0 ;
3488 PyObject
* obj1
= 0 ;
3489 PyObject
* obj2
= 0 ;
3490 PyObject
* obj3
= 0 ;
3492 (char *) "self",(char *) "from",(char *) "to",(char *) "value", NULL
3495 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ComboBox_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
3496 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3497 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3498 arg2
= (long) SWIG_AsLong(obj1
);
3499 if (PyErr_Occurred()) SWIG_fail
;
3500 arg3
= (long) SWIG_AsLong(obj2
);
3501 if (PyErr_Occurred()) SWIG_fail
;
3503 arg4
= wxString_in_helper(obj3
);
3504 if (arg4
== NULL
) SWIG_fail
;
3508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3509 (arg1
)->Replace(arg2
,arg3
,(wxString
const &)*arg4
);
3511 wxPyEndAllowThreads(__tstate
);
3512 if (PyErr_Occurred()) SWIG_fail
;
3514 Py_INCREF(Py_None
); resultobj
= Py_None
;
3529 static PyObject
*_wrap_ComboBox_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3530 PyObject
*resultobj
;
3531 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3533 PyObject
* obj0
= 0 ;
3534 PyObject
* obj1
= 0 ;
3536 (char *) "self",(char *) "n", NULL
3539 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
3540 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3541 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3542 arg2
= (int) SWIG_AsInt(obj1
);
3543 if (PyErr_Occurred()) SWIG_fail
;
3545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3546 (arg1
)->SetSelection(arg2
);
3548 wxPyEndAllowThreads(__tstate
);
3549 if (PyErr_Occurred()) SWIG_fail
;
3551 Py_INCREF(Py_None
); resultobj
= Py_None
;
3558 static PyObject
*_wrap_ComboBox_SetMark(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3559 PyObject
*resultobj
;
3560 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3563 PyObject
* obj0
= 0 ;
3564 PyObject
* obj1
= 0 ;
3565 PyObject
* obj2
= 0 ;
3567 (char *) "self",(char *) "from",(char *) "to", NULL
3570 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ComboBox_SetMark",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3571 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3572 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3573 arg2
= (long) SWIG_AsLong(obj1
);
3574 if (PyErr_Occurred()) SWIG_fail
;
3575 arg3
= (long) SWIG_AsLong(obj2
);
3576 if (PyErr_Occurred()) SWIG_fail
;
3578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3579 (arg1
)->SetSelection(arg2
,arg3
);
3581 wxPyEndAllowThreads(__tstate
);
3582 if (PyErr_Occurred()) SWIG_fail
;
3584 Py_INCREF(Py_None
); resultobj
= Py_None
;
3591 static PyObject
*_wrap_ComboBox_SetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3592 PyObject
*resultobj
;
3593 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3594 wxString
*arg2
= 0 ;
3596 bool temp2
= False
;
3597 PyObject
* obj0
= 0 ;
3598 PyObject
* obj1
= 0 ;
3600 (char *) "self",(char *) "string", NULL
3603 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetStringSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
3604 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3605 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3607 arg2
= wxString_in_helper(obj1
);
3608 if (arg2
== NULL
) SWIG_fail
;
3612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3613 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
);
3615 wxPyEndAllowThreads(__tstate
);
3616 if (PyErr_Occurred()) SWIG_fail
;
3619 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3635 static PyObject
*_wrap_ComboBox_SetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3636 PyObject
*resultobj
;
3637 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3639 wxString
*arg3
= 0 ;
3640 bool temp3
= False
;
3641 PyObject
* obj0
= 0 ;
3642 PyObject
* obj1
= 0 ;
3643 PyObject
* obj2
= 0 ;
3645 (char *) "self",(char *) "n",(char *) "string", NULL
3648 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ComboBox_SetString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3649 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3650 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3651 arg2
= (int) SWIG_AsInt(obj1
);
3652 if (PyErr_Occurred()) SWIG_fail
;
3654 arg3
= wxString_in_helper(obj2
);
3655 if (arg3
== NULL
) SWIG_fail
;
3659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3660 (arg1
)->SetString(arg2
,(wxString
const &)*arg3
);
3662 wxPyEndAllowThreads(__tstate
);
3663 if (PyErr_Occurred()) SWIG_fail
;
3665 Py_INCREF(Py_None
); resultobj
= Py_None
;
3680 static PyObject
*_wrap_ComboBox_SetEditable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3681 PyObject
*resultobj
;
3682 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3684 PyObject
* obj0
= 0 ;
3685 PyObject
* obj1
= 0 ;
3687 (char *) "self",(char *) "editable", NULL
3690 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetEditable",kwnames
,&obj0
,&obj1
)) goto fail
;
3691 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3692 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3693 arg2
= (bool) SWIG_AsBool(obj1
);
3694 if (PyErr_Occurred()) SWIG_fail
;
3696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3697 (arg1
)->SetEditable(arg2
);
3699 wxPyEndAllowThreads(__tstate
);
3700 if (PyErr_Occurred()) SWIG_fail
;
3702 Py_INCREF(Py_None
); resultobj
= Py_None
;
3709 static PyObject
*_wrap_ComboBox_SetInsertionPointEnd(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3710 PyObject
*resultobj
;
3711 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3712 PyObject
* obj0
= 0 ;
3714 (char *) "self", NULL
3717 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_SetInsertionPointEnd",kwnames
,&obj0
)) goto fail
;
3718 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3719 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3722 (arg1
)->SetInsertionPointEnd();
3724 wxPyEndAllowThreads(__tstate
);
3725 if (PyErr_Occurred()) SWIG_fail
;
3727 Py_INCREF(Py_None
); resultobj
= Py_None
;
3734 static PyObject
*_wrap_ComboBox_Remove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3735 PyObject
*resultobj
;
3736 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3739 PyObject
* obj0
= 0 ;
3740 PyObject
* obj1
= 0 ;
3741 PyObject
* obj2
= 0 ;
3743 (char *) "self",(char *) "from",(char *) "to", NULL
3746 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ComboBox_Remove",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3747 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3748 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3749 arg2
= (long) SWIG_AsLong(obj1
);
3750 if (PyErr_Occurred()) SWIG_fail
;
3751 arg3
= (long) SWIG_AsLong(obj2
);
3752 if (PyErr_Occurred()) SWIG_fail
;
3754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3755 (arg1
)->Remove(arg2
,arg3
);
3757 wxPyEndAllowThreads(__tstate
);
3758 if (PyErr_Occurred()) SWIG_fail
;
3760 Py_INCREF(Py_None
); resultobj
= Py_None
;
3767 static PyObject
*_wrap_ComboBox_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3768 PyObject
*resultobj
;
3769 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
3770 wxVisualAttributes result
;
3771 PyObject
* obj0
= 0 ;
3773 (char *) "variant", NULL
3776 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ComboBox_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
3778 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
3779 if (PyErr_Occurred()) SWIG_fail
;
3782 if (!wxPyCheckForApp()) SWIG_fail
;
3783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3784 result
= wxComboBox::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
3786 wxPyEndAllowThreads(__tstate
);
3787 if (PyErr_Occurred()) SWIG_fail
;
3790 wxVisualAttributes
* resultptr
;
3791 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
3792 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
3800 static PyObject
* ComboBox_swigregister(PyObject
*self
, PyObject
*args
) {
3802 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3803 SWIG_TypeClientData(SWIGTYPE_p_wxComboBox
, obj
);
3805 return Py_BuildValue((char *)"");
3807 static int _wrap_GaugeNameStr_set(PyObject
*_val
) {
3808 PyErr_SetString(PyExc_TypeError
,"Variable GaugeNameStr is read-only.");
3813 static PyObject
*_wrap_GaugeNameStr_get() {
3818 pyobj
= PyUnicode_FromWideChar((&wxPyGaugeNameStr
)->c_str(), (&wxPyGaugeNameStr
)->Len());
3820 pyobj
= PyString_FromStringAndSize((&wxPyGaugeNameStr
)->c_str(), (&wxPyGaugeNameStr
)->Len());
3827 static PyObject
*_wrap_new_Gauge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3828 PyObject
*resultobj
;
3829 wxWindow
*arg1
= (wxWindow
*) 0 ;
3830 int arg2
= (int) -1 ;
3831 int arg3
= (int) 100 ;
3832 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
3833 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
3834 wxSize
const &arg5_defvalue
= wxDefaultSize
;
3835 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
3836 long arg6
= (long) wxGA_HORIZONTAL
;
3837 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
3838 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
3839 wxString
const &arg8_defvalue
= wxPyGaugeNameStr
;
3840 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
3844 bool temp8
= False
;
3845 PyObject
* obj0
= 0 ;
3846 PyObject
* obj1
= 0 ;
3847 PyObject
* obj2
= 0 ;
3848 PyObject
* obj3
= 0 ;
3849 PyObject
* obj4
= 0 ;
3850 PyObject
* obj5
= 0 ;
3851 PyObject
* obj6
= 0 ;
3852 PyObject
* obj7
= 0 ;
3854 (char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3857 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_Gauge",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
3858 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
3859 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3861 arg2
= (int) SWIG_AsInt(obj1
);
3862 if (PyErr_Occurred()) SWIG_fail
;
3865 arg3
= (int) SWIG_AsInt(obj2
);
3866 if (PyErr_Occurred()) SWIG_fail
;
3871 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
3877 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
3881 arg6
= (long) SWIG_AsLong(obj5
);
3882 if (PyErr_Occurred()) SWIG_fail
;
3885 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
3886 SWIG_POINTER_EXCEPTION
| 0)) == -1)
3889 PyErr_SetString(PyExc_TypeError
,"null reference");
3895 arg8
= wxString_in_helper(obj7
);
3896 if (arg8
== NULL
) SWIG_fail
;
3901 if (!wxPyCheckForApp()) SWIG_fail
;
3902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3903 result
= (wxGauge
*)new wxGauge(arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
3905 wxPyEndAllowThreads(__tstate
);
3906 if (PyErr_Occurred()) SWIG_fail
;
3908 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGauge
, 1);
3923 static PyObject
*_wrap_new_PreGauge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3924 PyObject
*resultobj
;
3930 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreGauge",kwnames
)) goto fail
;
3932 if (!wxPyCheckForApp()) SWIG_fail
;
3933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3934 result
= (wxGauge
*)new wxGauge();
3936 wxPyEndAllowThreads(__tstate
);
3937 if (PyErr_Occurred()) SWIG_fail
;
3939 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGauge
, 1);
3946 static PyObject
*_wrap_Gauge_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3947 PyObject
*resultobj
;
3948 wxGauge
*arg1
= (wxGauge
*) 0 ;
3949 wxWindow
*arg2
= (wxWindow
*) 0 ;
3950 int arg3
= (int) -1 ;
3951 int arg4
= (int) 100 ;
3952 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
3953 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
3954 wxSize
const &arg6_defvalue
= wxDefaultSize
;
3955 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
3956 long arg7
= (long) wxGA_HORIZONTAL
;
3957 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
3958 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
3959 wxString
const &arg9_defvalue
= wxPyGaugeNameStr
;
3960 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
3964 bool temp9
= False
;
3965 PyObject
* obj0
= 0 ;
3966 PyObject
* obj1
= 0 ;
3967 PyObject
* obj2
= 0 ;
3968 PyObject
* obj3
= 0 ;
3969 PyObject
* obj4
= 0 ;
3970 PyObject
* obj5
= 0 ;
3971 PyObject
* obj6
= 0 ;
3972 PyObject
* obj7
= 0 ;
3973 PyObject
* obj8
= 0 ;
3975 (char *) "self",(char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3978 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:Gauge_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
3979 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGauge
,
3980 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3981 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
3982 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3984 arg3
= (int) SWIG_AsInt(obj2
);
3985 if (PyErr_Occurred()) SWIG_fail
;
3988 arg4
= (int) SWIG_AsInt(obj3
);
3989 if (PyErr_Occurred()) SWIG_fail
;
3994 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
4000 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
4004 arg7
= (long) SWIG_AsLong(obj6
);
4005 if (PyErr_Occurred()) SWIG_fail
;
4008 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
4009 SWIG_POINTER_EXCEPTION
| 0)) == -1)
4012 PyErr_SetString(PyExc_TypeError
,"null reference");
4018 arg9
= wxString_in_helper(obj8
);
4019 if (arg9
== NULL
) SWIG_fail
;
4024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4025 result
= (bool)(arg1
)->Create(arg2
,arg3
,arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
4027 wxPyEndAllowThreads(__tstate
);
4028 if (PyErr_Occurred()) SWIG_fail
;
4031 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4047 static PyObject
*_wrap_Gauge_SetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4048 PyObject
*resultobj
;
4049 wxGauge
*arg1
= (wxGauge
*) 0 ;
4051 PyObject
* obj0
= 0 ;
4052 PyObject
* obj1
= 0 ;
4054 (char *) "self",(char *) "range", NULL
4057 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetRange",kwnames
,&obj0
,&obj1
)) goto fail
;
4058 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGauge
,
4059 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4060 arg2
= (int) SWIG_AsInt(obj1
);
4061 if (PyErr_Occurred()) SWIG_fail
;
4063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4064 (arg1
)->SetRange(arg2
);
4066 wxPyEndAllowThreads(__tstate
);
4067 if (PyErr_Occurred()) SWIG_fail
;
4069 Py_INCREF(Py_None
); resultobj
= Py_None
;
4076 static PyObject
*_wrap_Gauge_GetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4077 PyObject
*resultobj
;
4078 wxGauge
*arg1
= (wxGauge
*) 0 ;
4080 PyObject
* obj0
= 0 ;
4082 (char *) "self", NULL
4085 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_GetRange",kwnames
,&obj0
)) goto fail
;
4086 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGauge
,
4087 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4090 result
= (int)((wxGauge
const *)arg1
)->GetRange();
4092 wxPyEndAllowThreads(__tstate
);
4093 if (PyErr_Occurred()) SWIG_fail
;
4095 resultobj
= SWIG_FromInt((int)result
);
4102 static PyObject
*_wrap_Gauge_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4103 PyObject
*resultobj
;
4104 wxGauge
*arg1
= (wxGauge
*) 0 ;
4106 PyObject
* obj0
= 0 ;
4107 PyObject
* obj1
= 0 ;
4109 (char *) "self",(char *) "pos", NULL
4112 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
4113 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGauge
,
4114 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4115 arg2
= (int) SWIG_AsInt(obj1
);
4116 if (PyErr_Occurred()) SWIG_fail
;
4118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4119 (arg1
)->SetValue(arg2
);
4121 wxPyEndAllowThreads(__tstate
);
4122 if (PyErr_Occurred()) SWIG_fail
;
4124 Py_INCREF(Py_None
); resultobj
= Py_None
;
4131 static PyObject
*_wrap_Gauge_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4132 PyObject
*resultobj
;
4133 wxGauge
*arg1
= (wxGauge
*) 0 ;
4135 PyObject
* obj0
= 0 ;
4137 (char *) "self", NULL
4140 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_GetValue",kwnames
,&obj0
)) goto fail
;
4141 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGauge
,
4142 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4145 result
= (int)((wxGauge
const *)arg1
)->GetValue();
4147 wxPyEndAllowThreads(__tstate
);
4148 if (PyErr_Occurred()) SWIG_fail
;
4150 resultobj
= SWIG_FromInt((int)result
);
4157 static PyObject
*_wrap_Gauge_IsVertical(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4158 PyObject
*resultobj
;
4159 wxGauge
*arg1
= (wxGauge
*) 0 ;
4161 PyObject
* obj0
= 0 ;
4163 (char *) "self", NULL
4166 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_IsVertical",kwnames
,&obj0
)) goto fail
;
4167 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGauge
,
4168 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4171 result
= (bool)((wxGauge
const *)arg1
)->IsVertical();
4173 wxPyEndAllowThreads(__tstate
);
4174 if (PyErr_Occurred()) SWIG_fail
;
4177 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4185 static PyObject
*_wrap_Gauge_SetShadowWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4186 PyObject
*resultobj
;
4187 wxGauge
*arg1
= (wxGauge
*) 0 ;
4189 PyObject
* obj0
= 0 ;
4190 PyObject
* obj1
= 0 ;
4192 (char *) "self",(char *) "w", NULL
4195 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetShadowWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
4196 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGauge
,
4197 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4198 arg2
= (int) SWIG_AsInt(obj1
);
4199 if (PyErr_Occurred()) SWIG_fail
;
4201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4202 (arg1
)->SetShadowWidth(arg2
);
4204 wxPyEndAllowThreads(__tstate
);
4205 if (PyErr_Occurred()) SWIG_fail
;
4207 Py_INCREF(Py_None
); resultobj
= Py_None
;
4214 static PyObject
*_wrap_Gauge_GetShadowWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4215 PyObject
*resultobj
;
4216 wxGauge
*arg1
= (wxGauge
*) 0 ;
4218 PyObject
* obj0
= 0 ;
4220 (char *) "self", NULL
4223 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_GetShadowWidth",kwnames
,&obj0
)) goto fail
;
4224 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGauge
,
4225 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4228 result
= (int)((wxGauge
const *)arg1
)->GetShadowWidth();
4230 wxPyEndAllowThreads(__tstate
);
4231 if (PyErr_Occurred()) SWIG_fail
;
4233 resultobj
= SWIG_FromInt((int)result
);
4240 static PyObject
*_wrap_Gauge_SetBezelFace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4241 PyObject
*resultobj
;
4242 wxGauge
*arg1
= (wxGauge
*) 0 ;
4244 PyObject
* obj0
= 0 ;
4245 PyObject
* obj1
= 0 ;
4247 (char *) "self",(char *) "w", NULL
4250 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetBezelFace",kwnames
,&obj0
,&obj1
)) goto fail
;
4251 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGauge
,
4252 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4253 arg2
= (int) SWIG_AsInt(obj1
);
4254 if (PyErr_Occurred()) SWIG_fail
;
4256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4257 (arg1
)->SetBezelFace(arg2
);
4259 wxPyEndAllowThreads(__tstate
);
4260 if (PyErr_Occurred()) SWIG_fail
;
4262 Py_INCREF(Py_None
); resultobj
= Py_None
;
4269 static PyObject
*_wrap_Gauge_GetBezelFace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4270 PyObject
*resultobj
;
4271 wxGauge
*arg1
= (wxGauge
*) 0 ;
4273 PyObject
* obj0
= 0 ;
4275 (char *) "self", NULL
4278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_GetBezelFace",kwnames
,&obj0
)) goto fail
;
4279 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGauge
,
4280 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4283 result
= (int)((wxGauge
const *)arg1
)->GetBezelFace();
4285 wxPyEndAllowThreads(__tstate
);
4286 if (PyErr_Occurred()) SWIG_fail
;
4288 resultobj
= SWIG_FromInt((int)result
);
4295 static PyObject
*_wrap_Gauge_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4296 PyObject
*resultobj
;
4297 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
4298 wxVisualAttributes result
;
4299 PyObject
* obj0
= 0 ;
4301 (char *) "variant", NULL
4304 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Gauge_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
4306 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
4307 if (PyErr_Occurred()) SWIG_fail
;
4310 if (!wxPyCheckForApp()) SWIG_fail
;
4311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4312 result
= wxGauge::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
4314 wxPyEndAllowThreads(__tstate
);
4315 if (PyErr_Occurred()) SWIG_fail
;
4318 wxVisualAttributes
* resultptr
;
4319 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
4320 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
4328 static PyObject
* Gauge_swigregister(PyObject
*self
, PyObject
*args
) {
4330 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4331 SWIG_TypeClientData(SWIGTYPE_p_wxGauge
, obj
);
4333 return Py_BuildValue((char *)"");
4335 static int _wrap_StaticBitmapNameStr_set(PyObject
*_val
) {
4336 PyErr_SetString(PyExc_TypeError
,"Variable StaticBitmapNameStr is read-only.");
4341 static PyObject
*_wrap_StaticBitmapNameStr_get() {
4346 pyobj
= PyUnicode_FromWideChar((&wxPyStaticBitmapNameStr
)->c_str(), (&wxPyStaticBitmapNameStr
)->Len());
4348 pyobj
= PyString_FromStringAndSize((&wxPyStaticBitmapNameStr
)->c_str(), (&wxPyStaticBitmapNameStr
)->Len());
4355 static int _wrap_StaticBoxNameStr_set(PyObject
*_val
) {
4356 PyErr_SetString(PyExc_TypeError
,"Variable StaticBoxNameStr is read-only.");
4361 static PyObject
*_wrap_StaticBoxNameStr_get() {
4366 pyobj
= PyUnicode_FromWideChar((&wxPyStaticBoxNameStr
)->c_str(), (&wxPyStaticBoxNameStr
)->Len());
4368 pyobj
= PyString_FromStringAndSize((&wxPyStaticBoxNameStr
)->c_str(), (&wxPyStaticBoxNameStr
)->Len());
4375 static int _wrap_StaticTextNameStr_set(PyObject
*_val
) {
4376 PyErr_SetString(PyExc_TypeError
,"Variable StaticTextNameStr is read-only.");
4381 static PyObject
*_wrap_StaticTextNameStr_get() {
4386 pyobj
= PyUnicode_FromWideChar((&wxPyStaticTextNameStr
)->c_str(), (&wxPyStaticTextNameStr
)->Len());
4388 pyobj
= PyString_FromStringAndSize((&wxPyStaticTextNameStr
)->c_str(), (&wxPyStaticTextNameStr
)->Len());
4395 static PyObject
*_wrap_new_StaticBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4396 PyObject
*resultobj
;
4397 wxWindow
*arg1
= (wxWindow
*) 0 ;
4398 int arg2
= (int) -1 ;
4399 wxString
const &arg3_defvalue
= wxPyEmptyString
;
4400 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
4401 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4402 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4403 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4404 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4405 long arg6
= (long) 0 ;
4406 wxString
const &arg7_defvalue
= wxPyStaticBoxNameStr
;
4407 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
4408 wxStaticBox
*result
;
4409 bool temp3
= False
;
4412 bool temp7
= False
;
4413 PyObject
* obj0
= 0 ;
4414 PyObject
* obj1
= 0 ;
4415 PyObject
* obj2
= 0 ;
4416 PyObject
* obj3
= 0 ;
4417 PyObject
* obj4
= 0 ;
4418 PyObject
* obj5
= 0 ;
4419 PyObject
* obj6
= 0 ;
4421 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4424 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_StaticBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
4425 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
4426 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4428 arg2
= (int) SWIG_AsInt(obj1
);
4429 if (PyErr_Occurred()) SWIG_fail
;
4433 arg3
= wxString_in_helper(obj2
);
4434 if (arg3
== NULL
) SWIG_fail
;
4441 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4447 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4451 arg6
= (long) SWIG_AsLong(obj5
);
4452 if (PyErr_Occurred()) SWIG_fail
;
4456 arg7
= wxString_in_helper(obj6
);
4457 if (arg7
== NULL
) SWIG_fail
;
4462 if (!wxPyCheckForApp()) SWIG_fail
;
4463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4464 result
= (wxStaticBox
*)new wxStaticBox(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
4466 wxPyEndAllowThreads(__tstate
);
4467 if (PyErr_Occurred()) SWIG_fail
;
4470 resultobj
= wxPyMake_wxObject(result
);
4494 static PyObject
*_wrap_new_PreStaticBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4495 PyObject
*resultobj
;
4496 wxStaticBox
*result
;
4501 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreStaticBox",kwnames
)) goto fail
;
4503 if (!wxPyCheckForApp()) SWIG_fail
;
4504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4505 result
= (wxStaticBox
*)new wxStaticBox();
4507 wxPyEndAllowThreads(__tstate
);
4508 if (PyErr_Occurred()) SWIG_fail
;
4511 resultobj
= wxPyMake_wxObject(result
);
4519 static PyObject
*_wrap_StaticBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4520 PyObject
*resultobj
;
4521 wxStaticBox
*arg1
= (wxStaticBox
*) 0 ;
4522 wxWindow
*arg2
= (wxWindow
*) 0 ;
4523 int arg3
= (int) -1 ;
4524 wxString
const &arg4_defvalue
= wxPyEmptyString
;
4525 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
4526 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
4527 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
4528 wxSize
const &arg6_defvalue
= wxDefaultSize
;
4529 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
4530 long arg7
= (long) 0 ;
4531 wxString
const &arg8_defvalue
= wxPyStaticBoxNameStr
;
4532 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
4534 bool temp4
= False
;
4537 bool temp8
= False
;
4538 PyObject
* obj0
= 0 ;
4539 PyObject
* obj1
= 0 ;
4540 PyObject
* obj2
= 0 ;
4541 PyObject
* obj3
= 0 ;
4542 PyObject
* obj4
= 0 ;
4543 PyObject
* obj5
= 0 ;
4544 PyObject
* obj6
= 0 ;
4545 PyObject
* obj7
= 0 ;
4547 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4550 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:StaticBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
4551 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticBox
,
4552 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4553 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
4554 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4556 arg3
= (int) SWIG_AsInt(obj2
);
4557 if (PyErr_Occurred()) SWIG_fail
;
4561 arg4
= wxString_in_helper(obj3
);
4562 if (arg4
== NULL
) SWIG_fail
;
4569 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
4575 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
4579 arg7
= (long) SWIG_AsLong(obj6
);
4580 if (PyErr_Occurred()) SWIG_fail
;
4584 arg8
= wxString_in_helper(obj7
);
4585 if (arg8
== NULL
) SWIG_fail
;
4590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4591 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
4593 wxPyEndAllowThreads(__tstate
);
4594 if (PyErr_Occurred()) SWIG_fail
;
4597 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4621 static PyObject
*_wrap_StaticBox_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4622 PyObject
*resultobj
;
4623 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
4624 wxVisualAttributes result
;
4625 PyObject
* obj0
= 0 ;
4627 (char *) "variant", NULL
4630 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StaticBox_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
4632 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
4633 if (PyErr_Occurred()) SWIG_fail
;
4636 if (!wxPyCheckForApp()) SWIG_fail
;
4637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4638 result
= wxStaticBox::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
4640 wxPyEndAllowThreads(__tstate
);
4641 if (PyErr_Occurred()) SWIG_fail
;
4644 wxVisualAttributes
* resultptr
;
4645 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
4646 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
4654 static PyObject
* StaticBox_swigregister(PyObject
*self
, PyObject
*args
) {
4656 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4657 SWIG_TypeClientData(SWIGTYPE_p_wxStaticBox
, obj
);
4659 return Py_BuildValue((char *)"");
4661 static PyObject
*_wrap_new_StaticLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4662 PyObject
*resultobj
;
4663 wxWindow
*arg1
= (wxWindow
*) 0 ;
4664 int arg2
= (int) -1 ;
4665 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
4666 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
4667 wxSize
const &arg4_defvalue
= wxDefaultSize
;
4668 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
4669 long arg5
= (long) wxLI_HORIZONTAL
;
4670 wxString
const &arg6_defvalue
= wxPyStaticTextNameStr
;
4671 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
4672 wxStaticLine
*result
;
4675 bool temp6
= False
;
4676 PyObject
* obj0
= 0 ;
4677 PyObject
* obj1
= 0 ;
4678 PyObject
* obj2
= 0 ;
4679 PyObject
* obj3
= 0 ;
4680 PyObject
* obj4
= 0 ;
4681 PyObject
* obj5
= 0 ;
4683 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4686 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_StaticLine",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
4687 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
4688 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4690 arg2
= (int) SWIG_AsInt(obj1
);
4691 if (PyErr_Occurred()) SWIG_fail
;
4696 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
4702 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
4706 arg5
= (long) SWIG_AsLong(obj4
);
4707 if (PyErr_Occurred()) SWIG_fail
;
4711 arg6
= wxString_in_helper(obj5
);
4712 if (arg6
== NULL
) SWIG_fail
;
4717 if (!wxPyCheckForApp()) SWIG_fail
;
4718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4719 result
= (wxStaticLine
*)new wxStaticLine(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
4721 wxPyEndAllowThreads(__tstate
);
4722 if (PyErr_Occurred()) SWIG_fail
;
4724 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticLine
, 1);
4739 static PyObject
*_wrap_new_PreStaticLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4740 PyObject
*resultobj
;
4741 wxStaticLine
*result
;
4746 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreStaticLine",kwnames
)) goto fail
;
4748 if (!wxPyCheckForApp()) SWIG_fail
;
4749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4750 result
= (wxStaticLine
*)new wxStaticLine();
4752 wxPyEndAllowThreads(__tstate
);
4753 if (PyErr_Occurred()) SWIG_fail
;
4755 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticLine
, 1);
4762 static PyObject
*_wrap_StaticLine_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4763 PyObject
*resultobj
;
4764 wxStaticLine
*arg1
= (wxStaticLine
*) 0 ;
4765 wxWindow
*arg2
= (wxWindow
*) 0 ;
4766 int arg3
= (int) -1 ;
4767 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4768 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4769 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4770 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4771 long arg6
= (long) wxLI_HORIZONTAL
;
4772 wxString
const &arg7_defvalue
= wxPyStaticTextNameStr
;
4773 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
4777 bool temp7
= False
;
4778 PyObject
* obj0
= 0 ;
4779 PyObject
* obj1
= 0 ;
4780 PyObject
* obj2
= 0 ;
4781 PyObject
* obj3
= 0 ;
4782 PyObject
* obj4
= 0 ;
4783 PyObject
* obj5
= 0 ;
4784 PyObject
* obj6
= 0 ;
4786 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4789 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:StaticLine_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
4790 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticLine
,
4791 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4792 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
4793 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4795 arg3
= (int) SWIG_AsInt(obj2
);
4796 if (PyErr_Occurred()) SWIG_fail
;
4801 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4807 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4811 arg6
= (long) SWIG_AsLong(obj5
);
4812 if (PyErr_Occurred()) SWIG_fail
;
4816 arg7
= wxString_in_helper(obj6
);
4817 if (arg7
== NULL
) SWIG_fail
;
4822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4823 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
4825 wxPyEndAllowThreads(__tstate
);
4826 if (PyErr_Occurred()) SWIG_fail
;
4829 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4845 static PyObject
*_wrap_StaticLine_IsVertical(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4846 PyObject
*resultobj
;
4847 wxStaticLine
*arg1
= (wxStaticLine
*) 0 ;
4849 PyObject
* obj0
= 0 ;
4851 (char *) "self", NULL
4854 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StaticLine_IsVertical",kwnames
,&obj0
)) goto fail
;
4855 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticLine
,
4856 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4859 result
= (bool)((wxStaticLine
const *)arg1
)->IsVertical();
4861 wxPyEndAllowThreads(__tstate
);
4862 if (PyErr_Occurred()) SWIG_fail
;
4865 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4873 static PyObject
*_wrap_StaticLine_GetDefaultSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4874 PyObject
*resultobj
;
4880 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":StaticLine_GetDefaultSize",kwnames
)) goto fail
;
4882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4883 result
= (int)wxStaticLine::GetDefaultSize();
4885 wxPyEndAllowThreads(__tstate
);
4886 if (PyErr_Occurred()) SWIG_fail
;
4888 resultobj
= SWIG_FromInt((int)result
);
4895 static PyObject
*_wrap_StaticLine_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4896 PyObject
*resultobj
;
4897 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
4898 wxVisualAttributes result
;
4899 PyObject
* obj0
= 0 ;
4901 (char *) "variant", NULL
4904 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StaticLine_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
4906 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
4907 if (PyErr_Occurred()) SWIG_fail
;
4910 if (!wxPyCheckForApp()) SWIG_fail
;
4911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4912 result
= wxStaticLine::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
4914 wxPyEndAllowThreads(__tstate
);
4915 if (PyErr_Occurred()) SWIG_fail
;
4918 wxVisualAttributes
* resultptr
;
4919 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
4920 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
4928 static PyObject
* StaticLine_swigregister(PyObject
*self
, PyObject
*args
) {
4930 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4931 SWIG_TypeClientData(SWIGTYPE_p_wxStaticLine
, obj
);
4933 return Py_BuildValue((char *)"");
4935 static PyObject
*_wrap_new_StaticText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4936 PyObject
*resultobj
;
4937 wxWindow
*arg1
= (wxWindow
*) 0 ;
4938 int arg2
= (int) -1 ;
4939 wxString
const &arg3_defvalue
= wxPyEmptyString
;
4940 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
4941 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4942 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4943 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4944 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4945 long arg6
= (long) 0 ;
4946 wxString
const &arg7_defvalue
= wxPyStaticTextNameStr
;
4947 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
4948 wxStaticText
*result
;
4949 bool temp3
= False
;
4952 bool temp7
= False
;
4953 PyObject
* obj0
= 0 ;
4954 PyObject
* obj1
= 0 ;
4955 PyObject
* obj2
= 0 ;
4956 PyObject
* obj3
= 0 ;
4957 PyObject
* obj4
= 0 ;
4958 PyObject
* obj5
= 0 ;
4959 PyObject
* obj6
= 0 ;
4961 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4964 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_StaticText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
4965 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
4966 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4968 arg2
= (int) SWIG_AsInt(obj1
);
4969 if (PyErr_Occurred()) SWIG_fail
;
4973 arg3
= wxString_in_helper(obj2
);
4974 if (arg3
== NULL
) SWIG_fail
;
4981 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4987 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4991 arg6
= (long) SWIG_AsLong(obj5
);
4992 if (PyErr_Occurred()) SWIG_fail
;
4996 arg7
= wxString_in_helper(obj6
);
4997 if (arg7
== NULL
) SWIG_fail
;
5002 if (!wxPyCheckForApp()) SWIG_fail
;
5003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5004 result
= (wxStaticText
*)new wxStaticText(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
5006 wxPyEndAllowThreads(__tstate
);
5007 if (PyErr_Occurred()) SWIG_fail
;
5009 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticText
, 1);
5032 static PyObject
*_wrap_new_PreStaticText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5033 PyObject
*resultobj
;
5034 wxStaticText
*result
;
5039 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreStaticText",kwnames
)) goto fail
;
5041 if (!wxPyCheckForApp()) SWIG_fail
;
5042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5043 result
= (wxStaticText
*)new wxStaticText();
5045 wxPyEndAllowThreads(__tstate
);
5046 if (PyErr_Occurred()) SWIG_fail
;
5048 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticText
, 1);
5055 static PyObject
*_wrap_StaticText_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5056 PyObject
*resultobj
;
5057 wxStaticText
*arg1
= (wxStaticText
*) 0 ;
5058 wxWindow
*arg2
= (wxWindow
*) 0 ;
5059 int arg3
= (int) -1 ;
5060 wxString
const &arg4_defvalue
= wxPyEmptyString
;
5061 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
5062 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
5063 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
5064 wxSize
const &arg6_defvalue
= wxDefaultSize
;
5065 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
5066 long arg7
= (long) 0 ;
5067 wxString
const &arg8_defvalue
= wxPyStaticTextNameStr
;
5068 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
5070 bool temp4
= False
;
5073 bool temp8
= False
;
5074 PyObject
* obj0
= 0 ;
5075 PyObject
* obj1
= 0 ;
5076 PyObject
* obj2
= 0 ;
5077 PyObject
* obj3
= 0 ;
5078 PyObject
* obj4
= 0 ;
5079 PyObject
* obj5
= 0 ;
5080 PyObject
* obj6
= 0 ;
5081 PyObject
* obj7
= 0 ;
5083 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5086 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:StaticText_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
5087 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticText
,
5088 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5089 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
5090 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5092 arg3
= (int) SWIG_AsInt(obj2
);
5093 if (PyErr_Occurred()) SWIG_fail
;
5097 arg4
= wxString_in_helper(obj3
);
5098 if (arg4
== NULL
) SWIG_fail
;
5105 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
5111 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
5115 arg7
= (long) SWIG_AsLong(obj6
);
5116 if (PyErr_Occurred()) SWIG_fail
;
5120 arg8
= wxString_in_helper(obj7
);
5121 if (arg8
== NULL
) SWIG_fail
;
5126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5127 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
5129 wxPyEndAllowThreads(__tstate
);
5130 if (PyErr_Occurred()) SWIG_fail
;
5133 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5157 static PyObject
*_wrap_StaticText_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5158 PyObject
*resultobj
;
5159 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
5160 wxVisualAttributes result
;
5161 PyObject
* obj0
= 0 ;
5163 (char *) "variant", NULL
5166 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StaticText_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
5168 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
5169 if (PyErr_Occurred()) SWIG_fail
;
5172 if (!wxPyCheckForApp()) SWIG_fail
;
5173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5174 result
= wxStaticText::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
5176 wxPyEndAllowThreads(__tstate
);
5177 if (PyErr_Occurred()) SWIG_fail
;
5180 wxVisualAttributes
* resultptr
;
5181 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
5182 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
5190 static PyObject
* StaticText_swigregister(PyObject
*self
, PyObject
*args
) {
5192 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5193 SWIG_TypeClientData(SWIGTYPE_p_wxStaticText
, obj
);
5195 return Py_BuildValue((char *)"");
5197 static PyObject
*_wrap_new_StaticBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5198 PyObject
*resultobj
;
5199 wxWindow
*arg1
= (wxWindow
*) 0 ;
5200 int arg2
= (int) -1 ;
5201 wxBitmap
const &arg3_defvalue
= wxNullBitmap
;
5202 wxBitmap
*arg3
= (wxBitmap
*) &arg3_defvalue
;
5203 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
5204 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
5205 wxSize
const &arg5_defvalue
= wxDefaultSize
;
5206 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
5207 long arg6
= (long) 0 ;
5208 wxString
const &arg7_defvalue
= wxPyStaticBitmapNameStr
;
5209 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
5210 wxStaticBitmap
*result
;
5213 bool temp7
= False
;
5214 PyObject
* obj0
= 0 ;
5215 PyObject
* obj1
= 0 ;
5216 PyObject
* obj2
= 0 ;
5217 PyObject
* obj3
= 0 ;
5218 PyObject
* obj4
= 0 ;
5219 PyObject
* obj5
= 0 ;
5220 PyObject
* obj6
= 0 ;
5222 (char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5225 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_StaticBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
5226 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
5227 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5229 arg2
= (int) SWIG_AsInt(obj1
);
5230 if (PyErr_Occurred()) SWIG_fail
;
5233 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxBitmap
,
5234 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5237 PyErr_SetString(PyExc_TypeError
,"null reference");
5244 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
5250 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
5254 arg6
= (long) SWIG_AsLong(obj5
);
5255 if (PyErr_Occurred()) SWIG_fail
;
5259 arg7
= wxString_in_helper(obj6
);
5260 if (arg7
== NULL
) SWIG_fail
;
5265 if (!wxPyCheckForApp()) SWIG_fail
;
5266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5267 result
= (wxStaticBitmap
*)new wxStaticBitmap(arg1
,arg2
,(wxBitmap
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
5269 wxPyEndAllowThreads(__tstate
);
5270 if (PyErr_Occurred()) SWIG_fail
;
5272 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticBitmap
, 1);
5287 static PyObject
*_wrap_new_PreStaticBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5288 PyObject
*resultobj
;
5289 wxStaticBitmap
*result
;
5294 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreStaticBitmap",kwnames
)) goto fail
;
5296 if (!wxPyCheckForApp()) SWIG_fail
;
5297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5298 result
= (wxStaticBitmap
*)new wxStaticBitmap();
5300 wxPyEndAllowThreads(__tstate
);
5301 if (PyErr_Occurred()) SWIG_fail
;
5303 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticBitmap
, 1);
5310 static PyObject
*_wrap_StaticBitmap_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5311 PyObject
*resultobj
;
5312 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
5313 wxWindow
*arg2
= (wxWindow
*) 0 ;
5314 int arg3
= (int) -1 ;
5315 wxBitmap
const &arg4_defvalue
= wxNullBitmap
;
5316 wxBitmap
*arg4
= (wxBitmap
*) &arg4_defvalue
;
5317 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
5318 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
5319 wxSize
const &arg6_defvalue
= wxDefaultSize
;
5320 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
5321 long arg7
= (long) 0 ;
5322 wxString
const &arg8_defvalue
= wxPyStaticBitmapNameStr
;
5323 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
5327 bool temp8
= False
;
5328 PyObject
* obj0
= 0 ;
5329 PyObject
* obj1
= 0 ;
5330 PyObject
* obj2
= 0 ;
5331 PyObject
* obj3
= 0 ;
5332 PyObject
* obj4
= 0 ;
5333 PyObject
* obj5
= 0 ;
5334 PyObject
* obj6
= 0 ;
5335 PyObject
* obj7
= 0 ;
5337 (char *) "self",(char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5340 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:StaticBitmap_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
5341 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticBitmap
,
5342 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5343 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
5344 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5346 arg3
= (int) SWIG_AsInt(obj2
);
5347 if (PyErr_Occurred()) SWIG_fail
;
5350 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxBitmap
,
5351 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5354 PyErr_SetString(PyExc_TypeError
,"null reference");
5361 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
5367 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
5371 arg7
= (long) SWIG_AsLong(obj6
);
5372 if (PyErr_Occurred()) SWIG_fail
;
5376 arg8
= wxString_in_helper(obj7
);
5377 if (arg8
== NULL
) SWIG_fail
;
5382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5383 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxBitmap
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
5385 wxPyEndAllowThreads(__tstate
);
5386 if (PyErr_Occurred()) SWIG_fail
;
5389 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5405 static PyObject
*_wrap_StaticBitmap_GetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5406 PyObject
*resultobj
;
5407 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
5409 PyObject
* obj0
= 0 ;
5411 (char *) "self", NULL
5414 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StaticBitmap_GetBitmap",kwnames
,&obj0
)) goto fail
;
5415 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticBitmap
,
5416 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5419 result
= (arg1
)->GetBitmap();
5421 wxPyEndAllowThreads(__tstate
);
5422 if (PyErr_Occurred()) SWIG_fail
;
5425 wxBitmap
* resultptr
;
5426 resultptr
= new wxBitmap((wxBitmap
&) result
);
5427 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
5435 static PyObject
*_wrap_StaticBitmap_SetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5436 PyObject
*resultobj
;
5437 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
5438 wxBitmap
*arg2
= 0 ;
5439 PyObject
* obj0
= 0 ;
5440 PyObject
* obj1
= 0 ;
5442 (char *) "self",(char *) "bitmap", NULL
5445 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StaticBitmap_SetBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
5446 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticBitmap
,
5447 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5448 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
5449 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5452 PyErr_SetString(PyExc_TypeError
,"null reference");
5456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5457 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
5459 wxPyEndAllowThreads(__tstate
);
5460 if (PyErr_Occurred()) SWIG_fail
;
5462 Py_INCREF(Py_None
); resultobj
= Py_None
;
5469 static PyObject
*_wrap_StaticBitmap_SetIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5470 PyObject
*resultobj
;
5471 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
5473 PyObject
* obj0
= 0 ;
5474 PyObject
* obj1
= 0 ;
5476 (char *) "self",(char *) "icon", NULL
5479 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StaticBitmap_SetIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
5480 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticBitmap
,
5481 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5482 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxIcon
,
5483 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5486 PyErr_SetString(PyExc_TypeError
,"null reference");
5490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5491 (arg1
)->SetIcon((wxIcon
const &)*arg2
);
5493 wxPyEndAllowThreads(__tstate
);
5494 if (PyErr_Occurred()) SWIG_fail
;
5496 Py_INCREF(Py_None
); resultobj
= Py_None
;
5503 static PyObject
*_wrap_StaticBitmap_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5504 PyObject
*resultobj
;
5505 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
5506 wxVisualAttributes result
;
5507 PyObject
* obj0
= 0 ;
5509 (char *) "variant", NULL
5512 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StaticBitmap_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
5514 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
5515 if (PyErr_Occurred()) SWIG_fail
;
5518 if (!wxPyCheckForApp()) SWIG_fail
;
5519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5520 result
= wxStaticBitmap::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
5522 wxPyEndAllowThreads(__tstate
);
5523 if (PyErr_Occurred()) SWIG_fail
;
5526 wxVisualAttributes
* resultptr
;
5527 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
5528 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
5536 static PyObject
* StaticBitmap_swigregister(PyObject
*self
, PyObject
*args
) {
5538 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5539 SWIG_TypeClientData(SWIGTYPE_p_wxStaticBitmap
, obj
);
5541 return Py_BuildValue((char *)"");
5543 static int _wrap_ListBoxNameStr_set(PyObject
*_val
) {
5544 PyErr_SetString(PyExc_TypeError
,"Variable ListBoxNameStr is read-only.");
5549 static PyObject
*_wrap_ListBoxNameStr_get() {
5554 pyobj
= PyUnicode_FromWideChar((&wxPyListBoxNameStr
)->c_str(), (&wxPyListBoxNameStr
)->Len());
5556 pyobj
= PyString_FromStringAndSize((&wxPyListBoxNameStr
)->c_str(), (&wxPyListBoxNameStr
)->Len());
5563 static PyObject
*_wrap_new_ListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5564 PyObject
*resultobj
;
5565 wxWindow
*arg1
= (wxWindow
*) 0 ;
5566 int arg2
= (int) -1 ;
5567 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
5568 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
5569 wxSize
const &arg4_defvalue
= wxDefaultSize
;
5570 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
5571 wxArrayString
const &arg5_defvalue
= wxPyEmptyStringArray
;
5572 wxArrayString
*arg5
= (wxArrayString
*) &arg5_defvalue
;
5573 long arg6
= (long) 0 ;
5574 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
5575 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
5576 wxString
const &arg8_defvalue
= wxPyListBoxNameStr
;
5577 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
5581 bool temp5
= False
;
5582 bool temp8
= False
;
5583 PyObject
* obj0
= 0 ;
5584 PyObject
* obj1
= 0 ;
5585 PyObject
* obj2
= 0 ;
5586 PyObject
* obj3
= 0 ;
5587 PyObject
* obj4
= 0 ;
5588 PyObject
* obj5
= 0 ;
5589 PyObject
* obj6
= 0 ;
5590 PyObject
* obj7
= 0 ;
5592 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5595 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_ListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
5596 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
5597 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5599 arg2
= (int) SWIG_AsInt(obj1
);
5600 if (PyErr_Occurred()) SWIG_fail
;
5605 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
5611 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
5616 if (! PySequence_Check(obj4
)) {
5617 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
5620 arg5
= new wxArrayString
;
5622 int i
, len
=PySequence_Length(obj4
);
5623 for (i
=0; i
<len
; i
++) {
5624 PyObject
* item
= PySequence_GetItem(obj4
, i
);
5626 PyObject
* str
= PyObject_Unicode(item
);
5628 PyObject
* str
= PyObject_Str(item
);
5630 if (PyErr_Occurred()) SWIG_fail
;
5631 arg5
->Add(Py2wxString(str
));
5638 arg6
= (long) SWIG_AsLong(obj5
);
5639 if (PyErr_Occurred()) SWIG_fail
;
5642 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
5643 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5646 PyErr_SetString(PyExc_TypeError
,"null reference");
5652 arg8
= wxString_in_helper(obj7
);
5653 if (arg8
== NULL
) SWIG_fail
;
5658 if (!wxPyCheckForApp()) SWIG_fail
;
5659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5660 result
= (wxListBox
*)new wxListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,(wxArrayString
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
5662 wxPyEndAllowThreads(__tstate
);
5663 if (PyErr_Occurred()) SWIG_fail
;
5665 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListBox
, 1);
5667 if (temp5
) delete arg5
;
5676 if (temp5
) delete arg5
;
5686 static PyObject
*_wrap_new_PreListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5687 PyObject
*resultobj
;
5693 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreListBox",kwnames
)) goto fail
;
5695 if (!wxPyCheckForApp()) SWIG_fail
;
5696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5697 result
= (wxListBox
*)new wxListBox();
5699 wxPyEndAllowThreads(__tstate
);
5700 if (PyErr_Occurred()) SWIG_fail
;
5702 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListBox
, 1);
5709 static PyObject
*_wrap_ListBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5710 PyObject
*resultobj
;
5711 wxListBox
*arg1
= (wxListBox
*) 0 ;
5712 wxWindow
*arg2
= (wxWindow
*) 0 ;
5713 int arg3
= (int) -1 ;
5714 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
5715 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
5716 wxSize
const &arg5_defvalue
= wxDefaultSize
;
5717 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
5718 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
5719 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
5720 long arg7
= (long) 0 ;
5721 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
5722 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
5723 wxString
const &arg9_defvalue
= wxPyListBoxNameStr
;
5724 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
5728 bool temp6
= False
;
5729 bool temp9
= False
;
5730 PyObject
* obj0
= 0 ;
5731 PyObject
* obj1
= 0 ;
5732 PyObject
* obj2
= 0 ;
5733 PyObject
* obj3
= 0 ;
5734 PyObject
* obj4
= 0 ;
5735 PyObject
* obj5
= 0 ;
5736 PyObject
* obj6
= 0 ;
5737 PyObject
* obj7
= 0 ;
5738 PyObject
* obj8
= 0 ;
5740 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5743 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:ListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
5744 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
5745 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5746 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
5747 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5749 arg3
= (int) SWIG_AsInt(obj2
);
5750 if (PyErr_Occurred()) SWIG_fail
;
5755 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
5761 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
5766 if (! PySequence_Check(obj5
)) {
5767 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
5770 arg6
= new wxArrayString
;
5772 int i
, len
=PySequence_Length(obj5
);
5773 for (i
=0; i
<len
; i
++) {
5774 PyObject
* item
= PySequence_GetItem(obj5
, i
);
5776 PyObject
* str
= PyObject_Unicode(item
);
5778 PyObject
* str
= PyObject_Str(item
);
5780 if (PyErr_Occurred()) SWIG_fail
;
5781 arg6
->Add(Py2wxString(str
));
5788 arg7
= (long) SWIG_AsLong(obj6
);
5789 if (PyErr_Occurred()) SWIG_fail
;
5792 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
5793 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5796 PyErr_SetString(PyExc_TypeError
,"null reference");
5802 arg9
= wxString_in_helper(obj8
);
5803 if (arg9
== NULL
) SWIG_fail
;
5808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5809 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,(wxArrayString
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
5811 wxPyEndAllowThreads(__tstate
);
5812 if (PyErr_Occurred()) SWIG_fail
;
5815 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5818 if (temp6
) delete arg6
;
5827 if (temp6
) delete arg6
;
5837 static PyObject
*_wrap_ListBox_Insert(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5838 PyObject
*resultobj
;
5839 wxListBox
*arg1
= (wxListBox
*) 0 ;
5840 wxString
*arg2
= 0 ;
5842 PyObject
*arg4
= (PyObject
*) NULL
;
5843 bool temp2
= False
;
5844 PyObject
* obj0
= 0 ;
5845 PyObject
* obj1
= 0 ;
5846 PyObject
* obj2
= 0 ;
5847 PyObject
* obj3
= 0 ;
5849 (char *) "self",(char *) "item",(char *) "pos",(char *) "clientData", NULL
5852 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ListBox_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
5853 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
5854 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5856 arg2
= wxString_in_helper(obj1
);
5857 if (arg2
== NULL
) SWIG_fail
;
5860 arg3
= (int) SWIG_AsInt(obj2
);
5861 if (PyErr_Occurred()) SWIG_fail
;
5866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5867 wxListBox_Insert(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
5869 wxPyEndAllowThreads(__tstate
);
5870 if (PyErr_Occurred()) SWIG_fail
;
5872 Py_INCREF(Py_None
); resultobj
= Py_None
;
5887 static PyObject
*_wrap_ListBox_InsertItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5888 PyObject
*resultobj
;
5889 wxListBox
*arg1
= (wxListBox
*) 0 ;
5890 wxArrayString
*arg2
= 0 ;
5892 bool temp2
= False
;
5893 PyObject
* obj0
= 0 ;
5894 PyObject
* obj1
= 0 ;
5895 PyObject
* obj2
= 0 ;
5897 (char *) "self",(char *) "items",(char *) "pos", NULL
5900 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_InsertItems",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5901 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
5902 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5904 if (! PySequence_Check(obj1
)) {
5905 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
5908 arg2
= new wxArrayString
;
5910 int i
, len
=PySequence_Length(obj1
);
5911 for (i
=0; i
<len
; i
++) {
5912 PyObject
* item
= PySequence_GetItem(obj1
, i
);
5914 PyObject
* str
= PyObject_Unicode(item
);
5916 PyObject
* str
= PyObject_Str(item
);
5918 if (PyErr_Occurred()) SWIG_fail
;
5919 arg2
->Add(Py2wxString(str
));
5924 arg3
= (int) SWIG_AsInt(obj2
);
5925 if (PyErr_Occurred()) SWIG_fail
;
5927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5928 (arg1
)->InsertItems((wxArrayString
const &)*arg2
,arg3
);
5930 wxPyEndAllowThreads(__tstate
);
5931 if (PyErr_Occurred()) SWIG_fail
;
5933 Py_INCREF(Py_None
); resultobj
= Py_None
;
5935 if (temp2
) delete arg2
;
5940 if (temp2
) delete arg2
;
5946 static PyObject
*_wrap_ListBox_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5947 PyObject
*resultobj
;
5948 wxListBox
*arg1
= (wxListBox
*) 0 ;
5949 wxArrayString
*arg2
= 0 ;
5950 bool temp2
= False
;
5951 PyObject
* obj0
= 0 ;
5952 PyObject
* obj1
= 0 ;
5954 (char *) "self",(char *) "items", NULL
5957 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_Set",kwnames
,&obj0
,&obj1
)) goto fail
;
5958 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
5959 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5961 if (! PySequence_Check(obj1
)) {
5962 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
5965 arg2
= new wxArrayString
;
5967 int i
, len
=PySequence_Length(obj1
);
5968 for (i
=0; i
<len
; i
++) {
5969 PyObject
* item
= PySequence_GetItem(obj1
, i
);
5971 PyObject
* str
= PyObject_Unicode(item
);
5973 PyObject
* str
= PyObject_Str(item
);
5975 if (PyErr_Occurred()) SWIG_fail
;
5976 arg2
->Add(Py2wxString(str
));
5982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5983 (arg1
)->Set((wxArrayString
const &)*arg2
);
5985 wxPyEndAllowThreads(__tstate
);
5986 if (PyErr_Occurred()) SWIG_fail
;
5988 Py_INCREF(Py_None
); resultobj
= Py_None
;
5990 if (temp2
) delete arg2
;
5995 if (temp2
) delete arg2
;
6001 static PyObject
*_wrap_ListBox_IsSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6002 PyObject
*resultobj
;
6003 wxListBox
*arg1
= (wxListBox
*) 0 ;
6006 PyObject
* obj0
= 0 ;
6007 PyObject
* obj1
= 0 ;
6009 (char *) "self",(char *) "n", NULL
6012 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_IsSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
6013 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
6014 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6015 arg2
= (int) SWIG_AsInt(obj1
);
6016 if (PyErr_Occurred()) SWIG_fail
;
6018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6019 result
= (bool)((wxListBox
const *)arg1
)->IsSelected(arg2
);
6021 wxPyEndAllowThreads(__tstate
);
6022 if (PyErr_Occurred()) SWIG_fail
;
6025 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6033 static PyObject
*_wrap_ListBox_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6034 PyObject
*resultobj
;
6035 wxListBox
*arg1
= (wxListBox
*) 0 ;
6037 bool arg3
= (bool) True
;
6038 PyObject
* obj0
= 0 ;
6039 PyObject
* obj1
= 0 ;
6040 PyObject
* obj2
= 0 ;
6042 (char *) "self",(char *) "n",(char *) "select", NULL
6045 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListBox_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6046 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
6047 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6048 arg2
= (int) SWIG_AsInt(obj1
);
6049 if (PyErr_Occurred()) SWIG_fail
;
6051 arg3
= (bool) SWIG_AsBool(obj2
);
6052 if (PyErr_Occurred()) SWIG_fail
;
6055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6056 (arg1
)->SetSelection(arg2
,arg3
);
6058 wxPyEndAllowThreads(__tstate
);
6059 if (PyErr_Occurred()) SWIG_fail
;
6061 Py_INCREF(Py_None
); resultobj
= Py_None
;
6068 static PyObject
*_wrap_ListBox_Select(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6069 PyObject
*resultobj
;
6070 wxListBox
*arg1
= (wxListBox
*) 0 ;
6072 PyObject
* obj0
= 0 ;
6073 PyObject
* obj1
= 0 ;
6075 (char *) "self",(char *) "n", NULL
6078 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_Select",kwnames
,&obj0
,&obj1
)) goto fail
;
6079 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
6080 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6081 arg2
= (int) SWIG_AsInt(obj1
);
6082 if (PyErr_Occurred()) SWIG_fail
;
6084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6085 (arg1
)->Select(arg2
);
6087 wxPyEndAllowThreads(__tstate
);
6088 if (PyErr_Occurred()) SWIG_fail
;
6090 Py_INCREF(Py_None
); resultobj
= Py_None
;
6097 static PyObject
*_wrap_ListBox_Deselect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6098 PyObject
*resultobj
;
6099 wxListBox
*arg1
= (wxListBox
*) 0 ;
6101 PyObject
* obj0
= 0 ;
6102 PyObject
* obj1
= 0 ;
6104 (char *) "self",(char *) "n", NULL
6107 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_Deselect",kwnames
,&obj0
,&obj1
)) goto fail
;
6108 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
6109 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6110 arg2
= (int) SWIG_AsInt(obj1
);
6111 if (PyErr_Occurred()) SWIG_fail
;
6113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6114 (arg1
)->Deselect(arg2
);
6116 wxPyEndAllowThreads(__tstate
);
6117 if (PyErr_Occurred()) SWIG_fail
;
6119 Py_INCREF(Py_None
); resultobj
= Py_None
;
6126 static PyObject
*_wrap_ListBox_DeselectAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6127 PyObject
*resultobj
;
6128 wxListBox
*arg1
= (wxListBox
*) 0 ;
6129 int arg2
= (int) -1 ;
6130 PyObject
* obj0
= 0 ;
6131 PyObject
* obj1
= 0 ;
6133 (char *) "self",(char *) "itemToLeaveSelected", NULL
6136 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ListBox_DeselectAll",kwnames
,&obj0
,&obj1
)) goto fail
;
6137 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
6138 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6140 arg2
= (int) SWIG_AsInt(obj1
);
6141 if (PyErr_Occurred()) SWIG_fail
;
6144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6145 (arg1
)->DeselectAll(arg2
);
6147 wxPyEndAllowThreads(__tstate
);
6148 if (PyErr_Occurred()) SWIG_fail
;
6150 Py_INCREF(Py_None
); resultobj
= Py_None
;
6157 static PyObject
*_wrap_ListBox_SetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6158 PyObject
*resultobj
;
6159 wxListBox
*arg1
= (wxListBox
*) 0 ;
6160 wxString
*arg2
= 0 ;
6161 bool arg3
= (bool) True
;
6163 bool temp2
= False
;
6164 PyObject
* obj0
= 0 ;
6165 PyObject
* obj1
= 0 ;
6166 PyObject
* obj2
= 0 ;
6168 (char *) "self",(char *) "s",(char *) "select", NULL
6171 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListBox_SetStringSelection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6172 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
6173 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6175 arg2
= wxString_in_helper(obj1
);
6176 if (arg2
== NULL
) SWIG_fail
;
6180 arg3
= (bool) SWIG_AsBool(obj2
);
6181 if (PyErr_Occurred()) SWIG_fail
;
6184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6185 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
,arg3
);
6187 wxPyEndAllowThreads(__tstate
);
6188 if (PyErr_Occurred()) SWIG_fail
;
6191 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6207 static PyObject
*_wrap_ListBox_GetSelections(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6208 PyObject
*resultobj
;
6209 wxListBox
*arg1
= (wxListBox
*) 0 ;
6211 PyObject
* obj0
= 0 ;
6213 (char *) "self", NULL
6216 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListBox_GetSelections",kwnames
,&obj0
)) goto fail
;
6217 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
6218 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6221 result
= (PyObject
*)wxListBox_GetSelections(arg1
);
6223 wxPyEndAllowThreads(__tstate
);
6224 if (PyErr_Occurred()) SWIG_fail
;
6233 static PyObject
*_wrap_ListBox_SetFirstItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6234 PyObject
*resultobj
;
6235 wxListBox
*arg1
= (wxListBox
*) 0 ;
6237 PyObject
* obj0
= 0 ;
6238 PyObject
* obj1
= 0 ;
6240 (char *) "self",(char *) "n", NULL
6243 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_SetFirstItem",kwnames
,&obj0
,&obj1
)) goto fail
;
6244 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
6245 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6246 arg2
= (int) SWIG_AsInt(obj1
);
6247 if (PyErr_Occurred()) SWIG_fail
;
6249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6250 (arg1
)->SetFirstItem(arg2
);
6252 wxPyEndAllowThreads(__tstate
);
6253 if (PyErr_Occurred()) SWIG_fail
;
6255 Py_INCREF(Py_None
); resultobj
= Py_None
;
6262 static PyObject
*_wrap_ListBox_SetFirstItemStr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6263 PyObject
*resultobj
;
6264 wxListBox
*arg1
= (wxListBox
*) 0 ;
6265 wxString
*arg2
= 0 ;
6266 bool temp2
= False
;
6267 PyObject
* obj0
= 0 ;
6268 PyObject
* obj1
= 0 ;
6270 (char *) "self",(char *) "s", NULL
6273 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_SetFirstItemStr",kwnames
,&obj0
,&obj1
)) goto fail
;
6274 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
6275 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6277 arg2
= wxString_in_helper(obj1
);
6278 if (arg2
== NULL
) SWIG_fail
;
6282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6283 (arg1
)->SetFirstItem((wxString
const &)*arg2
);
6285 wxPyEndAllowThreads(__tstate
);
6286 if (PyErr_Occurred()) SWIG_fail
;
6288 Py_INCREF(Py_None
); resultobj
= Py_None
;
6303 static PyObject
*_wrap_ListBox_EnsureVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6304 PyObject
*resultobj
;
6305 wxListBox
*arg1
= (wxListBox
*) 0 ;
6307 PyObject
* obj0
= 0 ;
6308 PyObject
* obj1
= 0 ;
6310 (char *) "self",(char *) "n", NULL
6313 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_EnsureVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
6314 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
6315 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6316 arg2
= (int) SWIG_AsInt(obj1
);
6317 if (PyErr_Occurred()) SWIG_fail
;
6319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6320 (arg1
)->EnsureVisible(arg2
);
6322 wxPyEndAllowThreads(__tstate
);
6323 if (PyErr_Occurred()) SWIG_fail
;
6325 Py_INCREF(Py_None
); resultobj
= Py_None
;
6332 static PyObject
*_wrap_ListBox_AppendAndEnsureVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6333 PyObject
*resultobj
;
6334 wxListBox
*arg1
= (wxListBox
*) 0 ;
6335 wxString
*arg2
= 0 ;
6336 bool temp2
= False
;
6337 PyObject
* obj0
= 0 ;
6338 PyObject
* obj1
= 0 ;
6340 (char *) "self",(char *) "s", NULL
6343 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_AppendAndEnsureVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
6344 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
6345 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6347 arg2
= wxString_in_helper(obj1
);
6348 if (arg2
== NULL
) SWIG_fail
;
6352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6353 (arg1
)->AppendAndEnsureVisible((wxString
const &)*arg2
);
6355 wxPyEndAllowThreads(__tstate
);
6356 if (PyErr_Occurred()) SWIG_fail
;
6358 Py_INCREF(Py_None
); resultobj
= Py_None
;
6373 static PyObject
*_wrap_ListBox_IsSorted(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6374 PyObject
*resultobj
;
6375 wxListBox
*arg1
= (wxListBox
*) 0 ;
6377 PyObject
* obj0
= 0 ;
6379 (char *) "self", NULL
6382 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListBox_IsSorted",kwnames
,&obj0
)) goto fail
;
6383 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
6384 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6387 result
= (bool)((wxListBox
const *)arg1
)->IsSorted();
6389 wxPyEndAllowThreads(__tstate
);
6390 if (PyErr_Occurred()) SWIG_fail
;
6393 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6401 static PyObject
*_wrap_ListBox_SetItemForegroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6402 PyObject
*resultobj
;
6403 wxListBox
*arg1
= (wxListBox
*) 0 ;
6405 wxColour
*arg3
= 0 ;
6407 PyObject
* obj0
= 0 ;
6408 PyObject
* obj1
= 0 ;
6409 PyObject
* obj2
= 0 ;
6411 (char *) "self",(char *) "item",(char *) "c", NULL
6414 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_SetItemForegroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6415 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
6416 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6417 arg2
= (int) SWIG_AsInt(obj1
);
6418 if (PyErr_Occurred()) SWIG_fail
;
6421 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
6424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6425 wxListBox_SetItemForegroundColour(arg1
,arg2
,(wxColour
const &)*arg3
);
6427 wxPyEndAllowThreads(__tstate
);
6428 if (PyErr_Occurred()) SWIG_fail
;
6430 Py_INCREF(Py_None
); resultobj
= Py_None
;
6437 static PyObject
*_wrap_ListBox_SetItemBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6438 PyObject
*resultobj
;
6439 wxListBox
*arg1
= (wxListBox
*) 0 ;
6441 wxColour
*arg3
= 0 ;
6443 PyObject
* obj0
= 0 ;
6444 PyObject
* obj1
= 0 ;
6445 PyObject
* obj2
= 0 ;
6447 (char *) "self",(char *) "item",(char *) "c", NULL
6450 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_SetItemBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6451 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
6452 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6453 arg2
= (int) SWIG_AsInt(obj1
);
6454 if (PyErr_Occurred()) SWIG_fail
;
6457 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
6460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6461 wxListBox_SetItemBackgroundColour(arg1
,arg2
,(wxColour
const &)*arg3
);
6463 wxPyEndAllowThreads(__tstate
);
6464 if (PyErr_Occurred()) SWIG_fail
;
6466 Py_INCREF(Py_None
); resultobj
= Py_None
;
6473 static PyObject
*_wrap_ListBox_SetItemFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6474 PyObject
*resultobj
;
6475 wxListBox
*arg1
= (wxListBox
*) 0 ;
6478 PyObject
* obj0
= 0 ;
6479 PyObject
* obj1
= 0 ;
6480 PyObject
* obj2
= 0 ;
6482 (char *) "self",(char *) "item",(char *) "f", NULL
6485 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_SetItemFont",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6486 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
6487 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6488 arg2
= (int) SWIG_AsInt(obj1
);
6489 if (PyErr_Occurred()) SWIG_fail
;
6490 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxFont
,
6491 SWIG_POINTER_EXCEPTION
| 0)) == -1)
6494 PyErr_SetString(PyExc_TypeError
,"null reference");
6498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6499 wxListBox_SetItemFont(arg1
,arg2
,(wxFont
const &)*arg3
);
6501 wxPyEndAllowThreads(__tstate
);
6502 if (PyErr_Occurred()) SWIG_fail
;
6504 Py_INCREF(Py_None
); resultobj
= Py_None
;
6511 static PyObject
*_wrap_ListBox_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6512 PyObject
*resultobj
;
6513 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
6514 wxVisualAttributes result
;
6515 PyObject
* obj0
= 0 ;
6517 (char *) "variant", NULL
6520 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ListBox_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
6522 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
6523 if (PyErr_Occurred()) SWIG_fail
;
6526 if (!wxPyCheckForApp()) SWIG_fail
;
6527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6528 result
= wxListBox::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
6530 wxPyEndAllowThreads(__tstate
);
6531 if (PyErr_Occurred()) SWIG_fail
;
6534 wxVisualAttributes
* resultptr
;
6535 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
6536 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
6544 static PyObject
* ListBox_swigregister(PyObject
*self
, PyObject
*args
) {
6546 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6547 SWIG_TypeClientData(SWIGTYPE_p_wxListBox
, obj
);
6549 return Py_BuildValue((char *)"");
6551 static PyObject
*_wrap_new_CheckListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6552 PyObject
*resultobj
;
6553 wxWindow
*arg1
= (wxWindow
*) 0 ;
6554 int arg2
= (int) -1 ;
6555 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
6556 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
6557 wxSize
const &arg4_defvalue
= wxDefaultSize
;
6558 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
6559 wxArrayString
const &arg5_defvalue
= wxPyEmptyStringArray
;
6560 wxArrayString
*arg5
= (wxArrayString
*) &arg5_defvalue
;
6561 long arg6
= (long) 0 ;
6562 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
6563 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
6564 wxString
const &arg8_defvalue
= wxPyListBoxNameStr
;
6565 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
6566 wxCheckListBox
*result
;
6569 bool temp5
= False
;
6570 bool temp8
= False
;
6571 PyObject
* obj0
= 0 ;
6572 PyObject
* obj1
= 0 ;
6573 PyObject
* obj2
= 0 ;
6574 PyObject
* obj3
= 0 ;
6575 PyObject
* obj4
= 0 ;
6576 PyObject
* obj5
= 0 ;
6577 PyObject
* obj6
= 0 ;
6578 PyObject
* obj7
= 0 ;
6580 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
6583 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_CheckListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
6584 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
6585 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6587 arg2
= (int) SWIG_AsInt(obj1
);
6588 if (PyErr_Occurred()) SWIG_fail
;
6593 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
6599 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
6604 if (! PySequence_Check(obj4
)) {
6605 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
6608 arg5
= new wxArrayString
;
6610 int i
, len
=PySequence_Length(obj4
);
6611 for (i
=0; i
<len
; i
++) {
6612 PyObject
* item
= PySequence_GetItem(obj4
, i
);
6614 PyObject
* str
= PyObject_Unicode(item
);
6616 PyObject
* str
= PyObject_Str(item
);
6618 if (PyErr_Occurred()) SWIG_fail
;
6619 arg5
->Add(Py2wxString(str
));
6626 arg6
= (long) SWIG_AsLong(obj5
);
6627 if (PyErr_Occurred()) SWIG_fail
;
6630 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
6631 SWIG_POINTER_EXCEPTION
| 0)) == -1)
6634 PyErr_SetString(PyExc_TypeError
,"null reference");
6640 arg8
= wxString_in_helper(obj7
);
6641 if (arg8
== NULL
) SWIG_fail
;
6646 if (!wxPyCheckForApp()) SWIG_fail
;
6647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6648 result
= (wxCheckListBox
*)new wxCheckListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,(wxArrayString
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
6650 wxPyEndAllowThreads(__tstate
);
6651 if (PyErr_Occurred()) SWIG_fail
;
6653 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCheckListBox
, 1);
6655 if (temp5
) delete arg5
;
6664 if (temp5
) delete arg5
;
6674 static PyObject
*_wrap_new_PreCheckListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6675 PyObject
*resultobj
;
6676 wxCheckListBox
*result
;
6681 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreCheckListBox",kwnames
)) goto fail
;
6683 if (!wxPyCheckForApp()) SWIG_fail
;
6684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6685 result
= (wxCheckListBox
*)new wxCheckListBox();
6687 wxPyEndAllowThreads(__tstate
);
6688 if (PyErr_Occurred()) SWIG_fail
;
6690 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCheckListBox
, 1);
6697 static PyObject
*_wrap_CheckListBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6698 PyObject
*resultobj
;
6699 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
6700 wxWindow
*arg2
= (wxWindow
*) 0 ;
6701 int arg3
= (int) -1 ;
6702 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
6703 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
6704 wxSize
const &arg5_defvalue
= wxDefaultSize
;
6705 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
6706 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
6707 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
6708 long arg7
= (long) 0 ;
6709 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
6710 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
6711 wxString
const &arg9_defvalue
= wxPyListBoxNameStr
;
6712 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
6716 bool temp6
= False
;
6717 bool temp9
= False
;
6718 PyObject
* obj0
= 0 ;
6719 PyObject
* obj1
= 0 ;
6720 PyObject
* obj2
= 0 ;
6721 PyObject
* obj3
= 0 ;
6722 PyObject
* obj4
= 0 ;
6723 PyObject
* obj5
= 0 ;
6724 PyObject
* obj6
= 0 ;
6725 PyObject
* obj7
= 0 ;
6726 PyObject
* obj8
= 0 ;
6728 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
6731 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:CheckListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
6732 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckListBox
,
6733 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6734 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
6735 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6737 arg3
= (int) SWIG_AsInt(obj2
);
6738 if (PyErr_Occurred()) SWIG_fail
;
6743 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
6749 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
6754 if (! PySequence_Check(obj5
)) {
6755 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
6758 arg6
= new wxArrayString
;
6760 int i
, len
=PySequence_Length(obj5
);
6761 for (i
=0; i
<len
; i
++) {
6762 PyObject
* item
= PySequence_GetItem(obj5
, i
);
6764 PyObject
* str
= PyObject_Unicode(item
);
6766 PyObject
* str
= PyObject_Str(item
);
6768 if (PyErr_Occurred()) SWIG_fail
;
6769 arg6
->Add(Py2wxString(str
));
6776 arg7
= (long) SWIG_AsLong(obj6
);
6777 if (PyErr_Occurred()) SWIG_fail
;
6780 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
6781 SWIG_POINTER_EXCEPTION
| 0)) == -1)
6784 PyErr_SetString(PyExc_TypeError
,"null reference");
6790 arg9
= wxString_in_helper(obj8
);
6791 if (arg9
== NULL
) SWIG_fail
;
6796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6797 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,(wxArrayString
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
6799 wxPyEndAllowThreads(__tstate
);
6800 if (PyErr_Occurred()) SWIG_fail
;
6803 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6806 if (temp6
) delete arg6
;
6815 if (temp6
) delete arg6
;
6825 static PyObject
*_wrap_CheckListBox_IsChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6826 PyObject
*resultobj
;
6827 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
6830 PyObject
* obj0
= 0 ;
6831 PyObject
* obj1
= 0 ;
6833 (char *) "self",(char *) "index", NULL
6836 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckListBox_IsChecked",kwnames
,&obj0
,&obj1
)) goto fail
;
6837 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckListBox
,
6838 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6839 arg2
= (int) SWIG_AsInt(obj1
);
6840 if (PyErr_Occurred()) SWIG_fail
;
6842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6843 result
= (bool)(arg1
)->IsChecked(arg2
);
6845 wxPyEndAllowThreads(__tstate
);
6846 if (PyErr_Occurred()) SWIG_fail
;
6849 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6857 static PyObject
*_wrap_CheckListBox_Check(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6858 PyObject
*resultobj
;
6859 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
6861 int arg3
= (int) True
;
6862 PyObject
* obj0
= 0 ;
6863 PyObject
* obj1
= 0 ;
6864 PyObject
* obj2
= 0 ;
6866 (char *) "self",(char *) "index",(char *) "check", NULL
6869 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:CheckListBox_Check",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6870 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckListBox
,
6871 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6872 arg2
= (int) SWIG_AsInt(obj1
);
6873 if (PyErr_Occurred()) SWIG_fail
;
6875 arg3
= (int) SWIG_AsInt(obj2
);
6876 if (PyErr_Occurred()) SWIG_fail
;
6879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6880 (arg1
)->Check(arg2
,arg3
);
6882 wxPyEndAllowThreads(__tstate
);
6883 if (PyErr_Occurred()) SWIG_fail
;
6885 Py_INCREF(Py_None
); resultobj
= Py_None
;
6892 static PyObject
*_wrap_CheckListBox_HitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6893 PyObject
*resultobj
;
6894 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
6898 PyObject
* obj0
= 0 ;
6899 PyObject
* obj1
= 0 ;
6901 (char *) "self",(char *) "pt", NULL
6904 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckListBox_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
6905 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckListBox
,
6906 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6909 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
6912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6913 result
= (int)((wxCheckListBox
const *)arg1
)->HitTest((wxPoint
const &)*arg2
);
6915 wxPyEndAllowThreads(__tstate
);
6916 if (PyErr_Occurred()) SWIG_fail
;
6918 resultobj
= SWIG_FromInt((int)result
);
6925 static PyObject
*_wrap_CheckListBox_HitTestXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6926 PyObject
*resultobj
;
6927 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
6931 PyObject
* obj0
= 0 ;
6932 PyObject
* obj1
= 0 ;
6933 PyObject
* obj2
= 0 ;
6935 (char *) "self",(char *) "x",(char *) "y", NULL
6938 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:CheckListBox_HitTestXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6939 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckListBox
,
6940 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6941 arg2
= (int) SWIG_AsInt(obj1
);
6942 if (PyErr_Occurred()) SWIG_fail
;
6943 arg3
= (int) SWIG_AsInt(obj2
);
6944 if (PyErr_Occurred()) SWIG_fail
;
6946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6947 result
= (int)((wxCheckListBox
const *)arg1
)->HitTest(arg2
,arg3
);
6949 wxPyEndAllowThreads(__tstate
);
6950 if (PyErr_Occurred()) SWIG_fail
;
6952 resultobj
= SWIG_FromInt((int)result
);
6959 static PyObject
* CheckListBox_swigregister(PyObject
*self
, PyObject
*args
) {
6961 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6962 SWIG_TypeClientData(SWIGTYPE_p_wxCheckListBox
, obj
);
6964 return Py_BuildValue((char *)"");
6966 static int _wrap_TextCtrlNameStr_set(PyObject
*_val
) {
6967 PyErr_SetString(PyExc_TypeError
,"Variable TextCtrlNameStr is read-only.");
6972 static PyObject
*_wrap_TextCtrlNameStr_get() {
6977 pyobj
= PyUnicode_FromWideChar((&wxPyTextCtrlNameStr
)->c_str(), (&wxPyTextCtrlNameStr
)->Len());
6979 pyobj
= PyString_FromStringAndSize((&wxPyTextCtrlNameStr
)->c_str(), (&wxPyTextCtrlNameStr
)->Len());
6986 static PyObject
*_wrap_new_TextAttr__SWIG_0(PyObject
*self
, PyObject
*args
) {
6987 PyObject
*resultobj
;
6990 if(!PyArg_ParseTuple(args
,(char *)":new_TextAttr")) goto fail
;
6992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6993 result
= (wxTextAttr
*)new wxTextAttr();
6995 wxPyEndAllowThreads(__tstate
);
6996 if (PyErr_Occurred()) SWIG_fail
;
6998 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextAttr
, 1);
7005 static PyObject
*_wrap_new_TextAttr__SWIG_1(PyObject
*self
, PyObject
*args
) {
7006 PyObject
*resultobj
;
7007 wxColour
*arg1
= 0 ;
7008 wxColour
const &arg2_defvalue
= wxNullColour
;
7009 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
7010 wxFont
const &arg3_defvalue
= wxNullFont
;
7011 wxFont
*arg3
= (wxFont
*) &arg3_defvalue
;
7012 int arg4
= (int) wxTEXT_ALIGNMENT_DEFAULT
;
7016 PyObject
* obj0
= 0 ;
7017 PyObject
* obj1
= 0 ;
7018 PyObject
* obj2
= 0 ;
7019 PyObject
* obj3
= 0 ;
7021 if(!PyArg_ParseTuple(args
,(char *)"O|OOO:new_TextAttr",&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
7024 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
7029 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
7033 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxFont
,
7034 SWIG_POINTER_EXCEPTION
| 0)) == -1)
7037 PyErr_SetString(PyExc_TypeError
,"null reference");
7042 arg4
= (wxTextAttrAlignment
) SWIG_AsInt(obj3
);
7043 if (PyErr_Occurred()) SWIG_fail
;
7046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7047 result
= (wxTextAttr
*)new wxTextAttr((wxColour
const &)*arg1
,(wxColour
const &)*arg2
,(wxFont
const &)*arg3
,(wxTextAttrAlignment
)arg4
);
7049 wxPyEndAllowThreads(__tstate
);
7050 if (PyErr_Occurred()) SWIG_fail
;
7052 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextAttr
, 1);
7059 static PyObject
*_wrap_new_TextAttr(PyObject
*self
, PyObject
*args
) {
7064 argc
= PyObject_Length(args
);
7065 for (ii
= 0; (ii
< argc
) && (ii
< 4); ii
++) {
7066 argv
[ii
] = PyTuple_GetItem(args
,ii
);
7069 return _wrap_new_TextAttr__SWIG_0(self
,args
);
7071 if ((argc
>= 1) && (argc
<= 4)) {
7074 _v
= wxColour_typecheck(argv
[0]);
7078 return _wrap_new_TextAttr__SWIG_1(self
,args
);
7081 _v
= wxColour_typecheck(argv
[1]);
7085 return _wrap_new_TextAttr__SWIG_1(self
,args
);
7089 if (SWIG_ConvertPtr(argv
[2], &ptr
, SWIGTYPE_p_wxFont
, 0) == -1) {
7098 return _wrap_new_TextAttr__SWIG_1(self
,args
);
7100 _v
= SWIG_CheckInt(argv
[3]);
7102 return _wrap_new_TextAttr__SWIG_1(self
,args
);
7109 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'new_TextAttr'");
7114 static PyObject
*_wrap_delete_TextAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7115 PyObject
*resultobj
;
7116 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7117 PyObject
* obj0
= 0 ;
7119 (char *) "self", NULL
7122 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TextAttr",kwnames
,&obj0
)) goto fail
;
7123 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7124 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7129 wxPyEndAllowThreads(__tstate
);
7130 if (PyErr_Occurred()) SWIG_fail
;
7132 Py_INCREF(Py_None
); resultobj
= Py_None
;
7139 static PyObject
*_wrap_TextAttr_Init(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7140 PyObject
*resultobj
;
7141 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7142 PyObject
* obj0
= 0 ;
7144 (char *) "self", NULL
7147 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_Init",kwnames
,&obj0
)) goto fail
;
7148 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7149 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7154 wxPyEndAllowThreads(__tstate
);
7155 if (PyErr_Occurred()) SWIG_fail
;
7157 Py_INCREF(Py_None
); resultobj
= Py_None
;
7164 static PyObject
*_wrap_TextAttr_SetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7165 PyObject
*resultobj
;
7166 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7167 wxColour
*arg2
= 0 ;
7169 PyObject
* obj0
= 0 ;
7170 PyObject
* obj1
= 0 ;
7172 (char *) "self",(char *) "colText", NULL
7175 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
7176 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7177 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7180 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
7183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7184 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
7186 wxPyEndAllowThreads(__tstate
);
7187 if (PyErr_Occurred()) SWIG_fail
;
7189 Py_INCREF(Py_None
); resultobj
= Py_None
;
7196 static PyObject
*_wrap_TextAttr_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7197 PyObject
*resultobj
;
7198 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7199 wxColour
*arg2
= 0 ;
7201 PyObject
* obj0
= 0 ;
7202 PyObject
* obj1
= 0 ;
7204 (char *) "self",(char *) "colBack", NULL
7207 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
7208 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7209 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7212 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
7215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7216 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
7218 wxPyEndAllowThreads(__tstate
);
7219 if (PyErr_Occurred()) SWIG_fail
;
7221 Py_INCREF(Py_None
); resultobj
= Py_None
;
7228 static PyObject
*_wrap_TextAttr_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7229 PyObject
*resultobj
;
7230 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7232 long arg3
= (long) wxTEXT_ATTR_FONT
;
7233 PyObject
* obj0
= 0 ;
7234 PyObject
* obj1
= 0 ;
7235 PyObject
* obj2
= 0 ;
7237 (char *) "self",(char *) "font",(char *) "flags", NULL
7240 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TextAttr_SetFont",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7241 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7242 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7243 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
7244 SWIG_POINTER_EXCEPTION
| 0)) == -1)
7247 PyErr_SetString(PyExc_TypeError
,"null reference");
7251 arg3
= (long) SWIG_AsLong(obj2
);
7252 if (PyErr_Occurred()) SWIG_fail
;
7255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7256 (arg1
)->SetFont((wxFont
const &)*arg2
,arg3
);
7258 wxPyEndAllowThreads(__tstate
);
7259 if (PyErr_Occurred()) SWIG_fail
;
7261 Py_INCREF(Py_None
); resultobj
= Py_None
;
7268 static PyObject
*_wrap_TextAttr_SetAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7269 PyObject
*resultobj
;
7270 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7272 PyObject
* obj0
= 0 ;
7273 PyObject
* obj1
= 0 ;
7275 (char *) "self",(char *) "alignment", NULL
7278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetAlignment",kwnames
,&obj0
,&obj1
)) goto fail
;
7279 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7280 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7281 arg2
= (wxTextAttrAlignment
) SWIG_AsInt(obj1
);
7282 if (PyErr_Occurred()) SWIG_fail
;
7284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7285 (arg1
)->SetAlignment((wxTextAttrAlignment
)arg2
);
7287 wxPyEndAllowThreads(__tstate
);
7288 if (PyErr_Occurred()) SWIG_fail
;
7290 Py_INCREF(Py_None
); resultobj
= Py_None
;
7297 static PyObject
*_wrap_TextAttr_SetTabs(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7298 PyObject
*resultobj
;
7299 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7300 wxArrayInt
*arg2
= 0 ;
7301 bool temp2
= False
;
7302 PyObject
* obj0
= 0 ;
7303 PyObject
* obj1
= 0 ;
7305 (char *) "self",(char *) "tabs", NULL
7308 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetTabs",kwnames
,&obj0
,&obj1
)) goto fail
;
7309 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7310 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7312 if (! PySequence_Check(obj1
)) {
7313 PyErr_SetString(PyExc_TypeError
, "Sequence of integers expected.");
7316 arg2
= new wxArrayInt
;
7318 int i
, len
=PySequence_Length(obj1
);
7319 for (i
=0; i
<len
; i
++) {
7320 PyObject
* item
= PySequence_GetItem(obj1
, i
);
7321 PyObject
* number
= PyNumber_Int(item
);
7322 arg2
->Add(PyInt_AS_LONG(number
));
7328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7329 (arg1
)->SetTabs((wxArrayInt
const &)*arg2
);
7331 wxPyEndAllowThreads(__tstate
);
7332 if (PyErr_Occurred()) SWIG_fail
;
7334 Py_INCREF(Py_None
); resultobj
= Py_None
;
7336 if (temp2
) delete arg2
;
7341 if (temp2
) delete arg2
;
7347 static PyObject
*_wrap_TextAttr_SetLeftIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7348 PyObject
*resultobj
;
7349 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7351 int arg3
= (int) 0 ;
7352 PyObject
* obj0
= 0 ;
7353 PyObject
* obj1
= 0 ;
7354 PyObject
* obj2
= 0 ;
7356 (char *) "self",(char *) "indent",(char *) "subIndent", NULL
7359 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TextAttr_SetLeftIndent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7360 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7361 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7362 arg2
= (int) SWIG_AsInt(obj1
);
7363 if (PyErr_Occurred()) SWIG_fail
;
7365 arg3
= (int) SWIG_AsInt(obj2
);
7366 if (PyErr_Occurred()) SWIG_fail
;
7369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7370 (arg1
)->SetLeftIndent(arg2
,arg3
);
7372 wxPyEndAllowThreads(__tstate
);
7373 if (PyErr_Occurred()) SWIG_fail
;
7375 Py_INCREF(Py_None
); resultobj
= Py_None
;
7382 static PyObject
*_wrap_TextAttr_SetRightIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7383 PyObject
*resultobj
;
7384 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7386 PyObject
* obj0
= 0 ;
7387 PyObject
* obj1
= 0 ;
7389 (char *) "self",(char *) "indent", NULL
7392 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetRightIndent",kwnames
,&obj0
,&obj1
)) goto fail
;
7393 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7394 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7395 arg2
= (int) SWIG_AsInt(obj1
);
7396 if (PyErr_Occurred()) SWIG_fail
;
7398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7399 (arg1
)->SetRightIndent(arg2
);
7401 wxPyEndAllowThreads(__tstate
);
7402 if (PyErr_Occurred()) SWIG_fail
;
7404 Py_INCREF(Py_None
); resultobj
= Py_None
;
7411 static PyObject
*_wrap_TextAttr_SetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7412 PyObject
*resultobj
;
7413 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7415 PyObject
* obj0
= 0 ;
7416 PyObject
* obj1
= 0 ;
7418 (char *) "self",(char *) "flags", NULL
7421 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetFlags",kwnames
,&obj0
,&obj1
)) goto fail
;
7422 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7423 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7424 arg2
= (long) SWIG_AsLong(obj1
);
7425 if (PyErr_Occurred()) SWIG_fail
;
7427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7428 (arg1
)->SetFlags(arg2
);
7430 wxPyEndAllowThreads(__tstate
);
7431 if (PyErr_Occurred()) SWIG_fail
;
7433 Py_INCREF(Py_None
); resultobj
= Py_None
;
7440 static PyObject
*_wrap_TextAttr_HasTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7441 PyObject
*resultobj
;
7442 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7444 PyObject
* obj0
= 0 ;
7446 (char *) "self", NULL
7449 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasTextColour",kwnames
,&obj0
)) goto fail
;
7450 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7451 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7454 result
= (bool)((wxTextAttr
const *)arg1
)->HasTextColour();
7456 wxPyEndAllowThreads(__tstate
);
7457 if (PyErr_Occurred()) SWIG_fail
;
7460 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7468 static PyObject
*_wrap_TextAttr_HasBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7469 PyObject
*resultobj
;
7470 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7472 PyObject
* obj0
= 0 ;
7474 (char *) "self", NULL
7477 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasBackgroundColour",kwnames
,&obj0
)) goto fail
;
7478 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7479 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7482 result
= (bool)((wxTextAttr
const *)arg1
)->HasBackgroundColour();
7484 wxPyEndAllowThreads(__tstate
);
7485 if (PyErr_Occurred()) SWIG_fail
;
7488 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7496 static PyObject
*_wrap_TextAttr_HasFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7497 PyObject
*resultobj
;
7498 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7500 PyObject
* obj0
= 0 ;
7502 (char *) "self", NULL
7505 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasFont",kwnames
,&obj0
)) goto fail
;
7506 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7507 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7510 result
= (bool)((wxTextAttr
const *)arg1
)->HasFont();
7512 wxPyEndAllowThreads(__tstate
);
7513 if (PyErr_Occurred()) SWIG_fail
;
7516 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7524 static PyObject
*_wrap_TextAttr_HasAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7525 PyObject
*resultobj
;
7526 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7528 PyObject
* obj0
= 0 ;
7530 (char *) "self", NULL
7533 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasAlignment",kwnames
,&obj0
)) goto fail
;
7534 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7535 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7538 result
= (bool)((wxTextAttr
const *)arg1
)->HasAlignment();
7540 wxPyEndAllowThreads(__tstate
);
7541 if (PyErr_Occurred()) SWIG_fail
;
7544 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7552 static PyObject
*_wrap_TextAttr_HasTabs(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7553 PyObject
*resultobj
;
7554 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7556 PyObject
* obj0
= 0 ;
7558 (char *) "self", NULL
7561 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasTabs",kwnames
,&obj0
)) goto fail
;
7562 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7563 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7566 result
= (bool)((wxTextAttr
const *)arg1
)->HasTabs();
7568 wxPyEndAllowThreads(__tstate
);
7569 if (PyErr_Occurred()) SWIG_fail
;
7572 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7580 static PyObject
*_wrap_TextAttr_HasLeftIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7581 PyObject
*resultobj
;
7582 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7584 PyObject
* obj0
= 0 ;
7586 (char *) "self", NULL
7589 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasLeftIndent",kwnames
,&obj0
)) goto fail
;
7590 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7591 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7594 result
= (bool)((wxTextAttr
const *)arg1
)->HasLeftIndent();
7596 wxPyEndAllowThreads(__tstate
);
7597 if (PyErr_Occurred()) SWIG_fail
;
7600 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7608 static PyObject
*_wrap_TextAttr_HasRightIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7609 PyObject
*resultobj
;
7610 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7612 PyObject
* obj0
= 0 ;
7614 (char *) "self", NULL
7617 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasRightIndent",kwnames
,&obj0
)) goto fail
;
7618 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7619 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7622 result
= (bool)((wxTextAttr
const *)arg1
)->HasRightIndent();
7624 wxPyEndAllowThreads(__tstate
);
7625 if (PyErr_Occurred()) SWIG_fail
;
7628 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7636 static PyObject
*_wrap_TextAttr_HasFlag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7637 PyObject
*resultobj
;
7638 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7641 PyObject
* obj0
= 0 ;
7642 PyObject
* obj1
= 0 ;
7644 (char *) "self",(char *) "flag", NULL
7647 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_HasFlag",kwnames
,&obj0
,&obj1
)) goto fail
;
7648 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7649 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7650 arg2
= (long) SWIG_AsLong(obj1
);
7651 if (PyErr_Occurred()) SWIG_fail
;
7653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7654 result
= (bool)((wxTextAttr
const *)arg1
)->HasFlag(arg2
);
7656 wxPyEndAllowThreads(__tstate
);
7657 if (PyErr_Occurred()) SWIG_fail
;
7660 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7668 static PyObject
*_wrap_TextAttr_GetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7669 PyObject
*resultobj
;
7670 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7672 PyObject
* obj0
= 0 ;
7674 (char *) "self", NULL
7677 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetTextColour",kwnames
,&obj0
)) goto fail
;
7678 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7679 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7683 wxColour
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetTextColour();
7684 result
= (wxColour
*) &_result_ref
;
7687 wxPyEndAllowThreads(__tstate
);
7688 if (PyErr_Occurred()) SWIG_fail
;
7690 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0);
7697 static PyObject
*_wrap_TextAttr_GetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7698 PyObject
*resultobj
;
7699 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7701 PyObject
* obj0
= 0 ;
7703 (char *) "self", NULL
7706 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
7707 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7708 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7712 wxColour
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetBackgroundColour();
7713 result
= (wxColour
*) &_result_ref
;
7716 wxPyEndAllowThreads(__tstate
);
7717 if (PyErr_Occurred()) SWIG_fail
;
7719 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0);
7726 static PyObject
*_wrap_TextAttr_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7727 PyObject
*resultobj
;
7728 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7730 PyObject
* obj0
= 0 ;
7732 (char *) "self", NULL
7735 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetFont",kwnames
,&obj0
)) goto fail
;
7736 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7737 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7741 wxFont
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetFont();
7742 result
= (wxFont
*) &_result_ref
;
7745 wxPyEndAllowThreads(__tstate
);
7746 if (PyErr_Occurred()) SWIG_fail
;
7749 wxFont
* resultptr
= new wxFont(*result
);
7750 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxFont
, 1);
7758 static PyObject
*_wrap_TextAttr_GetAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7759 PyObject
*resultobj
;
7760 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7762 PyObject
* obj0
= 0 ;
7764 (char *) "self", NULL
7767 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetAlignment",kwnames
,&obj0
)) goto fail
;
7768 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7769 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7772 result
= (int)((wxTextAttr
const *)arg1
)->GetAlignment();
7774 wxPyEndAllowThreads(__tstate
);
7775 if (PyErr_Occurred()) SWIG_fail
;
7777 resultobj
= SWIG_FromInt((int)result
);
7784 static PyObject
*_wrap_TextAttr_GetTabs(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7785 PyObject
*resultobj
;
7786 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7788 PyObject
* obj0
= 0 ;
7790 (char *) "self", NULL
7793 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetTabs",kwnames
,&obj0
)) goto fail
;
7794 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7795 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7797 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7799 wxArrayInt
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetTabs();
7800 result
= (wxArrayInt
*) &_result_ref
;
7803 wxPyEndAllowThreads(__tstate
);
7804 if (PyErr_Occurred()) SWIG_fail
;
7807 resultobj
= PyList_New(0);
7809 for (idx
= 0; idx
< result
->GetCount(); idx
+= 1) {
7810 PyObject
* val
= PyInt_FromLong( result
->Item(idx
) );
7811 PyList_Append(resultobj
, val
);
7821 static PyObject
*_wrap_TextAttr_GetLeftIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7822 PyObject
*resultobj
;
7823 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7825 PyObject
* obj0
= 0 ;
7827 (char *) "self", NULL
7830 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetLeftIndent",kwnames
,&obj0
)) goto fail
;
7831 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7832 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7835 result
= (long)((wxTextAttr
const *)arg1
)->GetLeftIndent();
7837 wxPyEndAllowThreads(__tstate
);
7838 if (PyErr_Occurred()) SWIG_fail
;
7840 resultobj
= SWIG_FromLong((long)result
);
7847 static PyObject
*_wrap_TextAttr_GetLeftSubIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7848 PyObject
*resultobj
;
7849 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7851 PyObject
* obj0
= 0 ;
7853 (char *) "self", NULL
7856 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetLeftSubIndent",kwnames
,&obj0
)) goto fail
;
7857 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7858 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7861 result
= (long)((wxTextAttr
const *)arg1
)->GetLeftSubIndent();
7863 wxPyEndAllowThreads(__tstate
);
7864 if (PyErr_Occurred()) SWIG_fail
;
7866 resultobj
= SWIG_FromLong((long)result
);
7873 static PyObject
*_wrap_TextAttr_GetRightIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7874 PyObject
*resultobj
;
7875 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7877 PyObject
* obj0
= 0 ;
7879 (char *) "self", NULL
7882 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetRightIndent",kwnames
,&obj0
)) goto fail
;
7883 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7884 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7887 result
= (long)((wxTextAttr
const *)arg1
)->GetRightIndent();
7889 wxPyEndAllowThreads(__tstate
);
7890 if (PyErr_Occurred()) SWIG_fail
;
7892 resultobj
= SWIG_FromLong((long)result
);
7899 static PyObject
*_wrap_TextAttr_GetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7900 PyObject
*resultobj
;
7901 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7903 PyObject
* obj0
= 0 ;
7905 (char *) "self", NULL
7908 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetFlags",kwnames
,&obj0
)) goto fail
;
7909 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7910 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7913 result
= (long)((wxTextAttr
const *)arg1
)->GetFlags();
7915 wxPyEndAllowThreads(__tstate
);
7916 if (PyErr_Occurred()) SWIG_fail
;
7918 resultobj
= SWIG_FromLong((long)result
);
7925 static PyObject
*_wrap_TextAttr_IsDefault(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7926 PyObject
*resultobj
;
7927 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7929 PyObject
* obj0
= 0 ;
7931 (char *) "self", NULL
7934 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_IsDefault",kwnames
,&obj0
)) goto fail
;
7935 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7936 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7939 result
= (bool)((wxTextAttr
const *)arg1
)->IsDefault();
7941 wxPyEndAllowThreads(__tstate
);
7942 if (PyErr_Occurred()) SWIG_fail
;
7945 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7953 static PyObject
*_wrap_TextAttr_Combine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7954 PyObject
*resultobj
;
7955 wxTextAttr
*arg1
= 0 ;
7956 wxTextAttr
*arg2
= 0 ;
7957 wxTextCtrl
*arg3
= (wxTextCtrl
*) 0 ;
7959 PyObject
* obj0
= 0 ;
7960 PyObject
* obj1
= 0 ;
7961 PyObject
* obj2
= 0 ;
7963 (char *) "attr",(char *) "attrDef",(char *) "text", NULL
7966 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextAttr_Combine",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7967 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7968 SWIG_POINTER_EXCEPTION
| 0)) == -1)
7971 PyErr_SetString(PyExc_TypeError
,"null reference");
7974 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTextAttr
,
7975 SWIG_POINTER_EXCEPTION
| 0)) == -1)
7978 PyErr_SetString(PyExc_TypeError
,"null reference");
7981 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxTextCtrl
,
7982 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7985 result
= wxTextAttr::Combine((wxTextAttr
const &)*arg1
,(wxTextAttr
const &)*arg2
,(wxTextCtrl
const *)arg3
);
7987 wxPyEndAllowThreads(__tstate
);
7988 if (PyErr_Occurred()) SWIG_fail
;
7991 wxTextAttr
* resultptr
;
7992 resultptr
= new wxTextAttr((wxTextAttr
&) result
);
7993 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTextAttr
, 1);
8001 static PyObject
* TextAttr_swigregister(PyObject
*self
, PyObject
*args
) {
8003 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8004 SWIG_TypeClientData(SWIGTYPE_p_wxTextAttr
, obj
);
8006 return Py_BuildValue((char *)"");
8008 static PyObject
*_wrap_new_TextCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8009 PyObject
*resultobj
;
8010 wxWindow
*arg1
= (wxWindow
*) 0 ;
8011 int arg2
= (int) -1 ;
8012 wxString
const &arg3_defvalue
= wxPyEmptyString
;
8013 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
8014 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
8015 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
8016 wxSize
const &arg5_defvalue
= wxDefaultSize
;
8017 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
8018 long arg6
= (long) 0 ;
8019 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
8020 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
8021 wxString
const &arg8_defvalue
= wxPyTextCtrlNameStr
;
8022 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
8024 bool temp3
= False
;
8027 bool temp8
= False
;
8028 PyObject
* obj0
= 0 ;
8029 PyObject
* obj1
= 0 ;
8030 PyObject
* obj2
= 0 ;
8031 PyObject
* obj3
= 0 ;
8032 PyObject
* obj4
= 0 ;
8033 PyObject
* obj5
= 0 ;
8034 PyObject
* obj6
= 0 ;
8035 PyObject
* obj7
= 0 ;
8037 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
8040 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_TextCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
8041 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
8042 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8044 arg2
= (int) SWIG_AsInt(obj1
);
8045 if (PyErr_Occurred()) SWIG_fail
;
8049 arg3
= wxString_in_helper(obj2
);
8050 if (arg3
== NULL
) SWIG_fail
;
8057 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
8063 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
8067 arg6
= (long) SWIG_AsLong(obj5
);
8068 if (PyErr_Occurred()) SWIG_fail
;
8071 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
8072 SWIG_POINTER_EXCEPTION
| 0)) == -1)
8075 PyErr_SetString(PyExc_TypeError
,"null reference");
8081 arg8
= wxString_in_helper(obj7
);
8082 if (arg8
== NULL
) SWIG_fail
;
8087 if (!wxPyCheckForApp()) SWIG_fail
;
8088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8089 result
= (wxTextCtrl
*)new wxTextCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
8091 wxPyEndAllowThreads(__tstate
);
8092 if (PyErr_Occurred()) SWIG_fail
;
8095 resultobj
= wxPyMake_wxObject(result
);
8119 static PyObject
*_wrap_new_PreTextCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8120 PyObject
*resultobj
;
8126 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreTextCtrl",kwnames
)) goto fail
;
8128 if (!wxPyCheckForApp()) SWIG_fail
;
8129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8130 result
= (wxTextCtrl
*)new wxTextCtrl();
8132 wxPyEndAllowThreads(__tstate
);
8133 if (PyErr_Occurred()) SWIG_fail
;
8136 resultobj
= wxPyMake_wxObject(result
);
8144 static PyObject
*_wrap_TextCtrl_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8145 PyObject
*resultobj
;
8146 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8147 wxWindow
*arg2
= (wxWindow
*) 0 ;
8148 int arg3
= (int) -1 ;
8149 wxString
const &arg4_defvalue
= wxPyEmptyString
;
8150 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
8151 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
8152 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
8153 wxSize
const &arg6_defvalue
= wxDefaultSize
;
8154 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
8155 long arg7
= (long) 0 ;
8156 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
8157 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
8158 wxString
const &arg9_defvalue
= wxPyTextCtrlNameStr
;
8159 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
8161 bool temp4
= False
;
8164 bool temp9
= False
;
8165 PyObject
* obj0
= 0 ;
8166 PyObject
* obj1
= 0 ;
8167 PyObject
* obj2
= 0 ;
8168 PyObject
* obj3
= 0 ;
8169 PyObject
* obj4
= 0 ;
8170 PyObject
* obj5
= 0 ;
8171 PyObject
* obj6
= 0 ;
8172 PyObject
* obj7
= 0 ;
8173 PyObject
* obj8
= 0 ;
8175 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
8178 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:TextCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
8179 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8180 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8181 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
8182 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8184 arg3
= (int) SWIG_AsInt(obj2
);
8185 if (PyErr_Occurred()) SWIG_fail
;
8189 arg4
= wxString_in_helper(obj3
);
8190 if (arg4
== NULL
) SWIG_fail
;
8197 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
8203 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
8207 arg7
= (long) SWIG_AsLong(obj6
);
8208 if (PyErr_Occurred()) SWIG_fail
;
8211 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
8212 SWIG_POINTER_EXCEPTION
| 0)) == -1)
8215 PyErr_SetString(PyExc_TypeError
,"null reference");
8221 arg9
= wxString_in_helper(obj8
);
8222 if (arg9
== NULL
) SWIG_fail
;
8227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8228 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
8230 wxPyEndAllowThreads(__tstate
);
8231 if (PyErr_Occurred()) SWIG_fail
;
8234 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8258 static PyObject
*_wrap_TextCtrl_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8259 PyObject
*resultobj
;
8260 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8262 PyObject
* obj0
= 0 ;
8264 (char *) "self", NULL
8267 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetValue",kwnames
,&obj0
)) goto fail
;
8268 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8269 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8272 result
= ((wxTextCtrl
const *)arg1
)->GetValue();
8274 wxPyEndAllowThreads(__tstate
);
8275 if (PyErr_Occurred()) SWIG_fail
;
8279 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8281 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8290 static PyObject
*_wrap_TextCtrl_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8291 PyObject
*resultobj
;
8292 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8293 wxString
*arg2
= 0 ;
8294 bool temp2
= False
;
8295 PyObject
* obj0
= 0 ;
8296 PyObject
* obj1
= 0 ;
8298 (char *) "self",(char *) "value", NULL
8301 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
8302 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8303 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8305 arg2
= wxString_in_helper(obj1
);
8306 if (arg2
== NULL
) SWIG_fail
;
8310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8311 (arg1
)->SetValue((wxString
const &)*arg2
);
8313 wxPyEndAllowThreads(__tstate
);
8314 if (PyErr_Occurred()) SWIG_fail
;
8316 Py_INCREF(Py_None
); resultobj
= Py_None
;
8331 static PyObject
*_wrap_TextCtrl_GetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8332 PyObject
*resultobj
;
8333 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8337 PyObject
* obj0
= 0 ;
8338 PyObject
* obj1
= 0 ;
8339 PyObject
* obj2
= 0 ;
8341 (char *) "self",(char *) "from",(char *) "to", NULL
8344 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_GetRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8345 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8346 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8347 arg2
= (long) SWIG_AsLong(obj1
);
8348 if (PyErr_Occurred()) SWIG_fail
;
8349 arg3
= (long) SWIG_AsLong(obj2
);
8350 if (PyErr_Occurred()) SWIG_fail
;
8352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8353 result
= ((wxTextCtrl
const *)arg1
)->GetRange(arg2
,arg3
);
8355 wxPyEndAllowThreads(__tstate
);
8356 if (PyErr_Occurred()) SWIG_fail
;
8360 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8362 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8371 static PyObject
*_wrap_TextCtrl_GetLineLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8372 PyObject
*resultobj
;
8373 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8376 PyObject
* obj0
= 0 ;
8377 PyObject
* obj1
= 0 ;
8379 (char *) "self",(char *) "lineNo", NULL
8382 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_GetLineLength",kwnames
,&obj0
,&obj1
)) goto fail
;
8383 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8384 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8385 arg2
= (long) SWIG_AsLong(obj1
);
8386 if (PyErr_Occurred()) SWIG_fail
;
8388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8389 result
= (int)((wxTextCtrl
const *)arg1
)->GetLineLength(arg2
);
8391 wxPyEndAllowThreads(__tstate
);
8392 if (PyErr_Occurred()) SWIG_fail
;
8394 resultobj
= SWIG_FromInt((int)result
);
8401 static PyObject
*_wrap_TextCtrl_GetLineText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8402 PyObject
*resultobj
;
8403 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8406 PyObject
* obj0
= 0 ;
8407 PyObject
* obj1
= 0 ;
8409 (char *) "self",(char *) "lineNo", NULL
8412 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_GetLineText",kwnames
,&obj0
,&obj1
)) goto fail
;
8413 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8414 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8415 arg2
= (long) SWIG_AsLong(obj1
);
8416 if (PyErr_Occurred()) SWIG_fail
;
8418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8419 result
= ((wxTextCtrl
const *)arg1
)->GetLineText(arg2
);
8421 wxPyEndAllowThreads(__tstate
);
8422 if (PyErr_Occurred()) SWIG_fail
;
8426 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8428 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8437 static PyObject
*_wrap_TextCtrl_GetNumberOfLines(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8438 PyObject
*resultobj
;
8439 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8441 PyObject
* obj0
= 0 ;
8443 (char *) "self", NULL
8446 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetNumberOfLines",kwnames
,&obj0
)) goto fail
;
8447 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8448 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8451 result
= (int)((wxTextCtrl
const *)arg1
)->GetNumberOfLines();
8453 wxPyEndAllowThreads(__tstate
);
8454 if (PyErr_Occurred()) SWIG_fail
;
8456 resultobj
= SWIG_FromInt((int)result
);
8463 static PyObject
*_wrap_TextCtrl_IsModified(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8464 PyObject
*resultobj
;
8465 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8467 PyObject
* obj0
= 0 ;
8469 (char *) "self", NULL
8472 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_IsModified",kwnames
,&obj0
)) goto fail
;
8473 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8474 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8477 result
= (bool)((wxTextCtrl
const *)arg1
)->IsModified();
8479 wxPyEndAllowThreads(__tstate
);
8480 if (PyErr_Occurred()) SWIG_fail
;
8483 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8491 static PyObject
*_wrap_TextCtrl_IsEditable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8492 PyObject
*resultobj
;
8493 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8495 PyObject
* obj0
= 0 ;
8497 (char *) "self", NULL
8500 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_IsEditable",kwnames
,&obj0
)) goto fail
;
8501 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8502 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8505 result
= (bool)((wxTextCtrl
const *)arg1
)->IsEditable();
8507 wxPyEndAllowThreads(__tstate
);
8508 if (PyErr_Occurred()) SWIG_fail
;
8511 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8519 static PyObject
*_wrap_TextCtrl_IsSingleLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8520 PyObject
*resultobj
;
8521 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8523 PyObject
* obj0
= 0 ;
8525 (char *) "self", NULL
8528 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_IsSingleLine",kwnames
,&obj0
)) goto fail
;
8529 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8530 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8533 result
= (bool)((wxTextCtrl
const *)arg1
)->IsSingleLine();
8535 wxPyEndAllowThreads(__tstate
);
8536 if (PyErr_Occurred()) SWIG_fail
;
8539 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8547 static PyObject
*_wrap_TextCtrl_IsMultiLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8548 PyObject
*resultobj
;
8549 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8551 PyObject
* obj0
= 0 ;
8553 (char *) "self", NULL
8556 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_IsMultiLine",kwnames
,&obj0
)) goto fail
;
8557 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8558 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8561 result
= (bool)((wxTextCtrl
const *)arg1
)->IsMultiLine();
8563 wxPyEndAllowThreads(__tstate
);
8564 if (PyErr_Occurred()) SWIG_fail
;
8567 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8575 static PyObject
*_wrap_TextCtrl_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8576 PyObject
*resultobj
;
8577 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8578 long *arg2
= (long *) 0 ;
8579 long *arg3
= (long *) 0 ;
8582 PyObject
* obj0
= 0 ;
8584 (char *) "self", NULL
8589 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetSelection",kwnames
,&obj0
)) goto fail
;
8590 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8591 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8594 ((wxTextCtrl
const *)arg1
)->GetSelection(arg2
,arg3
);
8596 wxPyEndAllowThreads(__tstate
);
8597 if (PyErr_Occurred()) SWIG_fail
;
8599 Py_INCREF(Py_None
); resultobj
= Py_None
;
8601 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
8602 resultobj
= t_output_helper(resultobj
,o
);
8605 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
8606 resultobj
= t_output_helper(resultobj
,o
);
8614 static PyObject
*_wrap_TextCtrl_GetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8615 PyObject
*resultobj
;
8616 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8618 PyObject
* obj0
= 0 ;
8620 (char *) "self", NULL
8623 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetStringSelection",kwnames
,&obj0
)) goto fail
;
8624 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8625 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8628 result
= ((wxTextCtrl
const *)arg1
)->GetStringSelection();
8630 wxPyEndAllowThreads(__tstate
);
8631 if (PyErr_Occurred()) SWIG_fail
;
8635 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8637 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8646 static PyObject
*_wrap_TextCtrl_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8647 PyObject
*resultobj
;
8648 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8649 PyObject
* obj0
= 0 ;
8651 (char *) "self", NULL
8654 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Clear",kwnames
,&obj0
)) goto fail
;
8655 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8656 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8661 wxPyEndAllowThreads(__tstate
);
8662 if (PyErr_Occurred()) SWIG_fail
;
8664 Py_INCREF(Py_None
); resultobj
= Py_None
;
8671 static PyObject
*_wrap_TextCtrl_Replace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8672 PyObject
*resultobj
;
8673 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8676 wxString
*arg4
= 0 ;
8677 bool temp4
= False
;
8678 PyObject
* obj0
= 0 ;
8679 PyObject
* obj1
= 0 ;
8680 PyObject
* obj2
= 0 ;
8681 PyObject
* obj3
= 0 ;
8683 (char *) "self",(char *) "from",(char *) "to",(char *) "value", NULL
8686 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextCtrl_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
8687 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8688 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8689 arg2
= (long) SWIG_AsLong(obj1
);
8690 if (PyErr_Occurred()) SWIG_fail
;
8691 arg3
= (long) SWIG_AsLong(obj2
);
8692 if (PyErr_Occurred()) SWIG_fail
;
8694 arg4
= wxString_in_helper(obj3
);
8695 if (arg4
== NULL
) SWIG_fail
;
8699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8700 (arg1
)->Replace(arg2
,arg3
,(wxString
const &)*arg4
);
8702 wxPyEndAllowThreads(__tstate
);
8703 if (PyErr_Occurred()) SWIG_fail
;
8705 Py_INCREF(Py_None
); resultobj
= Py_None
;
8720 static PyObject
*_wrap_TextCtrl_Remove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8721 PyObject
*resultobj
;
8722 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8725 PyObject
* obj0
= 0 ;
8726 PyObject
* obj1
= 0 ;
8727 PyObject
* obj2
= 0 ;
8729 (char *) "self",(char *) "from",(char *) "to", NULL
8732 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_Remove",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8733 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8734 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8735 arg2
= (long) SWIG_AsLong(obj1
);
8736 if (PyErr_Occurred()) SWIG_fail
;
8737 arg3
= (long) SWIG_AsLong(obj2
);
8738 if (PyErr_Occurred()) SWIG_fail
;
8740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8741 (arg1
)->Remove(arg2
,arg3
);
8743 wxPyEndAllowThreads(__tstate
);
8744 if (PyErr_Occurred()) SWIG_fail
;
8746 Py_INCREF(Py_None
); resultobj
= Py_None
;
8753 static PyObject
*_wrap_TextCtrl_LoadFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8754 PyObject
*resultobj
;
8755 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8756 wxString
*arg2
= 0 ;
8758 bool temp2
= False
;
8759 PyObject
* obj0
= 0 ;
8760 PyObject
* obj1
= 0 ;
8762 (char *) "self",(char *) "file", NULL
8765 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_LoadFile",kwnames
,&obj0
,&obj1
)) goto fail
;
8766 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8767 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8769 arg2
= wxString_in_helper(obj1
);
8770 if (arg2
== NULL
) SWIG_fail
;
8774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8775 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
);
8777 wxPyEndAllowThreads(__tstate
);
8778 if (PyErr_Occurred()) SWIG_fail
;
8781 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8797 static PyObject
*_wrap_TextCtrl_SaveFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8798 PyObject
*resultobj
;
8799 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8800 wxString
const &arg2_defvalue
= wxPyEmptyString
;
8801 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
8803 bool temp2
= False
;
8804 PyObject
* obj0
= 0 ;
8805 PyObject
* obj1
= 0 ;
8807 (char *) "self",(char *) "file", NULL
8810 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TextCtrl_SaveFile",kwnames
,&obj0
,&obj1
)) goto fail
;
8811 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8812 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8815 arg2
= wxString_in_helper(obj1
);
8816 if (arg2
== NULL
) SWIG_fail
;
8821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8822 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
);
8824 wxPyEndAllowThreads(__tstate
);
8825 if (PyErr_Occurred()) SWIG_fail
;
8828 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8844 static PyObject
*_wrap_TextCtrl_MarkDirty(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8845 PyObject
*resultobj
;
8846 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8847 PyObject
* obj0
= 0 ;
8849 (char *) "self", NULL
8852 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_MarkDirty",kwnames
,&obj0
)) goto fail
;
8853 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8854 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8857 (arg1
)->MarkDirty();
8859 wxPyEndAllowThreads(__tstate
);
8860 if (PyErr_Occurred()) SWIG_fail
;
8862 Py_INCREF(Py_None
); resultobj
= Py_None
;
8869 static PyObject
*_wrap_TextCtrl_DiscardEdits(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8870 PyObject
*resultobj
;
8871 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8872 PyObject
* obj0
= 0 ;
8874 (char *) "self", NULL
8877 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_DiscardEdits",kwnames
,&obj0
)) goto fail
;
8878 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8879 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8882 (arg1
)->DiscardEdits();
8884 wxPyEndAllowThreads(__tstate
);
8885 if (PyErr_Occurred()) SWIG_fail
;
8887 Py_INCREF(Py_None
); resultobj
= Py_None
;
8894 static PyObject
*_wrap_TextCtrl_SetMaxLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8895 PyObject
*resultobj
;
8896 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8897 unsigned long arg2
;
8898 PyObject
* obj0
= 0 ;
8899 PyObject
* obj1
= 0 ;
8901 (char *) "self",(char *) "len", NULL
8904 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetMaxLength",kwnames
,&obj0
,&obj1
)) goto fail
;
8905 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8906 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8907 arg2
= (unsigned long) SWIG_AsUnsignedLong(obj1
);
8908 if (PyErr_Occurred()) SWIG_fail
;
8910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8911 (arg1
)->SetMaxLength(arg2
);
8913 wxPyEndAllowThreads(__tstate
);
8914 if (PyErr_Occurred()) SWIG_fail
;
8916 Py_INCREF(Py_None
); resultobj
= Py_None
;
8923 static PyObject
*_wrap_TextCtrl_WriteText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8924 PyObject
*resultobj
;
8925 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8926 wxString
*arg2
= 0 ;
8927 bool temp2
= False
;
8928 PyObject
* obj0
= 0 ;
8929 PyObject
* obj1
= 0 ;
8931 (char *) "self",(char *) "text", NULL
8934 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_WriteText",kwnames
,&obj0
,&obj1
)) goto fail
;
8935 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8936 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8938 arg2
= wxString_in_helper(obj1
);
8939 if (arg2
== NULL
) SWIG_fail
;
8943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8944 (arg1
)->WriteText((wxString
const &)*arg2
);
8946 wxPyEndAllowThreads(__tstate
);
8947 if (PyErr_Occurred()) SWIG_fail
;
8949 Py_INCREF(Py_None
); resultobj
= Py_None
;
8964 static PyObject
*_wrap_TextCtrl_AppendText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8965 PyObject
*resultobj
;
8966 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8967 wxString
*arg2
= 0 ;
8968 bool temp2
= False
;
8969 PyObject
* obj0
= 0 ;
8970 PyObject
* obj1
= 0 ;
8972 (char *) "self",(char *) "text", NULL
8975 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_AppendText",kwnames
,&obj0
,&obj1
)) goto fail
;
8976 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8977 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8979 arg2
= wxString_in_helper(obj1
);
8980 if (arg2
== NULL
) SWIG_fail
;
8984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8985 (arg1
)->AppendText((wxString
const &)*arg2
);
8987 wxPyEndAllowThreads(__tstate
);
8988 if (PyErr_Occurred()) SWIG_fail
;
8990 Py_INCREF(Py_None
); resultobj
= Py_None
;
9005 static PyObject
*_wrap_TextCtrl_EmulateKeyPress(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9006 PyObject
*resultobj
;
9007 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9008 wxKeyEvent
*arg2
= 0 ;
9010 PyObject
* obj0
= 0 ;
9011 PyObject
* obj1
= 0 ;
9013 (char *) "self",(char *) "event", NULL
9016 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_EmulateKeyPress",kwnames
,&obj0
,&obj1
)) goto fail
;
9017 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9018 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9019 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxKeyEvent
,
9020 SWIG_POINTER_EXCEPTION
| 0)) == -1)
9023 PyErr_SetString(PyExc_TypeError
,"null reference");
9027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9028 result
= (bool)(arg1
)->EmulateKeyPress((wxKeyEvent
const &)*arg2
);
9030 wxPyEndAllowThreads(__tstate
);
9031 if (PyErr_Occurred()) SWIG_fail
;
9034 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9042 static PyObject
*_wrap_TextCtrl_SetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9043 PyObject
*resultobj
;
9044 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9047 wxTextAttr
*arg4
= 0 ;
9049 PyObject
* obj0
= 0 ;
9050 PyObject
* obj1
= 0 ;
9051 PyObject
* obj2
= 0 ;
9052 PyObject
* obj3
= 0 ;
9054 (char *) "self",(char *) "start",(char *) "end",(char *) "style", NULL
9057 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextCtrl_SetStyle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9058 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9059 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9060 arg2
= (long) SWIG_AsLong(obj1
);
9061 if (PyErr_Occurred()) SWIG_fail
;
9062 arg3
= (long) SWIG_AsLong(obj2
);
9063 if (PyErr_Occurred()) SWIG_fail
;
9064 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxTextAttr
,
9065 SWIG_POINTER_EXCEPTION
| 0)) == -1)
9068 PyErr_SetString(PyExc_TypeError
,"null reference");
9072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9073 result
= (bool)(arg1
)->SetStyle(arg2
,arg3
,(wxTextAttr
const &)*arg4
);
9075 wxPyEndAllowThreads(__tstate
);
9076 if (PyErr_Occurred()) SWIG_fail
;
9079 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9087 static PyObject
*_wrap_TextCtrl_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9088 PyObject
*resultobj
;
9089 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9091 wxTextAttr
*arg3
= 0 ;
9093 PyObject
* obj0
= 0 ;
9094 PyObject
* obj1
= 0 ;
9095 PyObject
* obj2
= 0 ;
9097 (char *) "self",(char *) "position",(char *) "style", NULL
9100 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_GetStyle",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9101 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9102 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9103 arg2
= (long) SWIG_AsLong(obj1
);
9104 if (PyErr_Occurred()) SWIG_fail
;
9105 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxTextAttr
,
9106 SWIG_POINTER_EXCEPTION
| 0)) == -1)
9109 PyErr_SetString(PyExc_TypeError
,"null reference");
9113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9114 result
= (bool)(arg1
)->GetStyle(arg2
,*arg3
);
9116 wxPyEndAllowThreads(__tstate
);
9117 if (PyErr_Occurred()) SWIG_fail
;
9120 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9128 static PyObject
*_wrap_TextCtrl_SetDefaultStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9129 PyObject
*resultobj
;
9130 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9131 wxTextAttr
*arg2
= 0 ;
9133 PyObject
* obj0
= 0 ;
9134 PyObject
* obj1
= 0 ;
9136 (char *) "self",(char *) "style", NULL
9139 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetDefaultStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
9140 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9141 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9142 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTextAttr
,
9143 SWIG_POINTER_EXCEPTION
| 0)) == -1)
9146 PyErr_SetString(PyExc_TypeError
,"null reference");
9150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9151 result
= (bool)(arg1
)->SetDefaultStyle((wxTextAttr
const &)*arg2
);
9153 wxPyEndAllowThreads(__tstate
);
9154 if (PyErr_Occurred()) SWIG_fail
;
9157 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9165 static PyObject
*_wrap_TextCtrl_GetDefaultStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9166 PyObject
*resultobj
;
9167 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9169 PyObject
* obj0
= 0 ;
9171 (char *) "self", NULL
9174 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetDefaultStyle",kwnames
,&obj0
)) goto fail
;
9175 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9176 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9180 wxTextAttr
const &_result_ref
= ((wxTextCtrl
const *)arg1
)->GetDefaultStyle();
9181 result
= (wxTextAttr
*) &_result_ref
;
9184 wxPyEndAllowThreads(__tstate
);
9185 if (PyErr_Occurred()) SWIG_fail
;
9187 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextAttr
, 0);
9194 static PyObject
*_wrap_TextCtrl_XYToPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9195 PyObject
*resultobj
;
9196 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9200 PyObject
* obj0
= 0 ;
9201 PyObject
* obj1
= 0 ;
9202 PyObject
* obj2
= 0 ;
9204 (char *) "self",(char *) "x",(char *) "y", NULL
9207 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_XYToPosition",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9208 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9209 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9210 arg2
= (long) SWIG_AsLong(obj1
);
9211 if (PyErr_Occurred()) SWIG_fail
;
9212 arg3
= (long) SWIG_AsLong(obj2
);
9213 if (PyErr_Occurred()) SWIG_fail
;
9215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9216 result
= (long)((wxTextCtrl
const *)arg1
)->XYToPosition(arg2
,arg3
);
9218 wxPyEndAllowThreads(__tstate
);
9219 if (PyErr_Occurred()) SWIG_fail
;
9221 resultobj
= SWIG_FromLong((long)result
);
9228 static PyObject
*_wrap_TextCtrl_PositionToXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9229 PyObject
*resultobj
;
9230 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9232 long *arg3
= (long *) 0 ;
9233 long *arg4
= (long *) 0 ;
9236 PyObject
* obj0
= 0 ;
9237 PyObject
* obj1
= 0 ;
9239 (char *) "self",(char *) "pos", NULL
9244 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_PositionToXY",kwnames
,&obj0
,&obj1
)) goto fail
;
9245 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9246 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9247 arg2
= (long) SWIG_AsLong(obj1
);
9248 if (PyErr_Occurred()) SWIG_fail
;
9250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9251 ((wxTextCtrl
const *)arg1
)->PositionToXY(arg2
,arg3
,arg4
);
9253 wxPyEndAllowThreads(__tstate
);
9254 if (PyErr_Occurred()) SWIG_fail
;
9256 Py_INCREF(Py_None
); resultobj
= Py_None
;
9258 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
9259 resultobj
= t_output_helper(resultobj
,o
);
9262 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
9263 resultobj
= t_output_helper(resultobj
,o
);
9271 static PyObject
*_wrap_TextCtrl_ShowPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9272 PyObject
*resultobj
;
9273 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9275 PyObject
* obj0
= 0 ;
9276 PyObject
* obj1
= 0 ;
9278 (char *) "self",(char *) "pos", NULL
9281 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_ShowPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
9282 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9283 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9284 arg2
= (long) SWIG_AsLong(obj1
);
9285 if (PyErr_Occurred()) SWIG_fail
;
9287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9288 (arg1
)->ShowPosition(arg2
);
9290 wxPyEndAllowThreads(__tstate
);
9291 if (PyErr_Occurred()) SWIG_fail
;
9293 Py_INCREF(Py_None
); resultobj
= Py_None
;
9300 static PyObject
*_wrap_TextCtrl_HitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9301 PyObject
*resultobj
;
9302 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9304 long *arg3
= (long *) 0 ;
9305 long *arg4
= (long *) 0 ;
9310 PyObject
* obj0
= 0 ;
9311 PyObject
* obj1
= 0 ;
9313 (char *) "self",(char *) "pt", NULL
9318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
9319 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9320 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9323 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
9326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9327 result
= (int)((wxTextCtrl
const *)arg1
)->HitTest((wxPoint
const &)*arg2
,arg3
,arg4
);
9329 wxPyEndAllowThreads(__tstate
);
9330 if (PyErr_Occurred()) SWIG_fail
;
9332 resultobj
= SWIG_FromInt((int)result
);
9334 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
9335 resultobj
= t_output_helper(resultobj
,o
);
9338 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
9339 resultobj
= t_output_helper(resultobj
,o
);
9347 static PyObject
*_wrap_TextCtrl_Copy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9348 PyObject
*resultobj
;
9349 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9350 PyObject
* obj0
= 0 ;
9352 (char *) "self", NULL
9355 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Copy",kwnames
,&obj0
)) goto fail
;
9356 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9357 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9362 wxPyEndAllowThreads(__tstate
);
9363 if (PyErr_Occurred()) SWIG_fail
;
9365 Py_INCREF(Py_None
); resultobj
= Py_None
;
9372 static PyObject
*_wrap_TextCtrl_Cut(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9373 PyObject
*resultobj
;
9374 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9375 PyObject
* obj0
= 0 ;
9377 (char *) "self", NULL
9380 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Cut",kwnames
,&obj0
)) goto fail
;
9381 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9382 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9387 wxPyEndAllowThreads(__tstate
);
9388 if (PyErr_Occurred()) SWIG_fail
;
9390 Py_INCREF(Py_None
); resultobj
= Py_None
;
9397 static PyObject
*_wrap_TextCtrl_Paste(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9398 PyObject
*resultobj
;
9399 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9400 PyObject
* obj0
= 0 ;
9402 (char *) "self", NULL
9405 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Paste",kwnames
,&obj0
)) goto fail
;
9406 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9407 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9412 wxPyEndAllowThreads(__tstate
);
9413 if (PyErr_Occurred()) SWIG_fail
;
9415 Py_INCREF(Py_None
); resultobj
= Py_None
;
9422 static PyObject
*_wrap_TextCtrl_CanCopy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9423 PyObject
*resultobj
;
9424 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9426 PyObject
* obj0
= 0 ;
9428 (char *) "self", NULL
9431 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanCopy",kwnames
,&obj0
)) goto fail
;
9432 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9433 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9436 result
= (bool)((wxTextCtrl
const *)arg1
)->CanCopy();
9438 wxPyEndAllowThreads(__tstate
);
9439 if (PyErr_Occurred()) SWIG_fail
;
9442 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9450 static PyObject
*_wrap_TextCtrl_CanCut(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9451 PyObject
*resultobj
;
9452 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9454 PyObject
* obj0
= 0 ;
9456 (char *) "self", NULL
9459 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanCut",kwnames
,&obj0
)) goto fail
;
9460 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9461 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9464 result
= (bool)((wxTextCtrl
const *)arg1
)->CanCut();
9466 wxPyEndAllowThreads(__tstate
);
9467 if (PyErr_Occurred()) SWIG_fail
;
9470 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9478 static PyObject
*_wrap_TextCtrl_CanPaste(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9479 PyObject
*resultobj
;
9480 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9482 PyObject
* obj0
= 0 ;
9484 (char *) "self", NULL
9487 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanPaste",kwnames
,&obj0
)) goto fail
;
9488 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9489 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9492 result
= (bool)((wxTextCtrl
const *)arg1
)->CanPaste();
9494 wxPyEndAllowThreads(__tstate
);
9495 if (PyErr_Occurred()) SWIG_fail
;
9498 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9506 static PyObject
*_wrap_TextCtrl_Undo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9507 PyObject
*resultobj
;
9508 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9509 PyObject
* obj0
= 0 ;
9511 (char *) "self", NULL
9514 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Undo",kwnames
,&obj0
)) goto fail
;
9515 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9516 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9521 wxPyEndAllowThreads(__tstate
);
9522 if (PyErr_Occurred()) SWIG_fail
;
9524 Py_INCREF(Py_None
); resultobj
= Py_None
;
9531 static PyObject
*_wrap_TextCtrl_Redo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9532 PyObject
*resultobj
;
9533 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9534 PyObject
* obj0
= 0 ;
9536 (char *) "self", NULL
9539 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Redo",kwnames
,&obj0
)) goto fail
;
9540 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9541 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9546 wxPyEndAllowThreads(__tstate
);
9547 if (PyErr_Occurred()) SWIG_fail
;
9549 Py_INCREF(Py_None
); resultobj
= Py_None
;
9556 static PyObject
*_wrap_TextCtrl_CanUndo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9557 PyObject
*resultobj
;
9558 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9560 PyObject
* obj0
= 0 ;
9562 (char *) "self", NULL
9565 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanUndo",kwnames
,&obj0
)) goto fail
;
9566 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9567 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9570 result
= (bool)((wxTextCtrl
const *)arg1
)->CanUndo();
9572 wxPyEndAllowThreads(__tstate
);
9573 if (PyErr_Occurred()) SWIG_fail
;
9576 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9584 static PyObject
*_wrap_TextCtrl_CanRedo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9585 PyObject
*resultobj
;
9586 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9588 PyObject
* obj0
= 0 ;
9590 (char *) "self", NULL
9593 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanRedo",kwnames
,&obj0
)) goto fail
;
9594 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9595 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9598 result
= (bool)((wxTextCtrl
const *)arg1
)->CanRedo();
9600 wxPyEndAllowThreads(__tstate
);
9601 if (PyErr_Occurred()) SWIG_fail
;
9604 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9612 static PyObject
*_wrap_TextCtrl_SetInsertionPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9613 PyObject
*resultobj
;
9614 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9616 PyObject
* obj0
= 0 ;
9617 PyObject
* obj1
= 0 ;
9619 (char *) "self",(char *) "pos", NULL
9622 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetInsertionPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
9623 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9624 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9625 arg2
= (long) SWIG_AsLong(obj1
);
9626 if (PyErr_Occurred()) SWIG_fail
;
9628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9629 (arg1
)->SetInsertionPoint(arg2
);
9631 wxPyEndAllowThreads(__tstate
);
9632 if (PyErr_Occurred()) SWIG_fail
;
9634 Py_INCREF(Py_None
); resultobj
= Py_None
;
9641 static PyObject
*_wrap_TextCtrl_SetInsertionPointEnd(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9642 PyObject
*resultobj
;
9643 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9644 PyObject
* obj0
= 0 ;
9646 (char *) "self", NULL
9649 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_SetInsertionPointEnd",kwnames
,&obj0
)) goto fail
;
9650 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9651 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9654 (arg1
)->SetInsertionPointEnd();
9656 wxPyEndAllowThreads(__tstate
);
9657 if (PyErr_Occurred()) SWIG_fail
;
9659 Py_INCREF(Py_None
); resultobj
= Py_None
;
9666 static PyObject
*_wrap_TextCtrl_GetInsertionPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9667 PyObject
*resultobj
;
9668 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9670 PyObject
* obj0
= 0 ;
9672 (char *) "self", NULL
9675 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetInsertionPoint",kwnames
,&obj0
)) goto fail
;
9676 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9677 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9680 result
= (long)((wxTextCtrl
const *)arg1
)->GetInsertionPoint();
9682 wxPyEndAllowThreads(__tstate
);
9683 if (PyErr_Occurred()) SWIG_fail
;
9685 resultobj
= SWIG_FromLong((long)result
);
9692 static PyObject
*_wrap_TextCtrl_GetLastPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9693 PyObject
*resultobj
;
9694 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9696 PyObject
* obj0
= 0 ;
9698 (char *) "self", NULL
9701 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetLastPosition",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 result
= (long)((wxTextCtrl
const *)arg1
)->GetLastPosition();
9708 wxPyEndAllowThreads(__tstate
);
9709 if (PyErr_Occurred()) SWIG_fail
;
9711 resultobj
= SWIG_FromLong((long)result
);
9718 static PyObject
*_wrap_TextCtrl_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9719 PyObject
*resultobj
;
9720 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9723 PyObject
* obj0
= 0 ;
9724 PyObject
* obj1
= 0 ;
9725 PyObject
* obj2
= 0 ;
9727 (char *) "self",(char *) "from",(char *) "to", NULL
9730 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9731 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9732 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9733 arg2
= (long) SWIG_AsLong(obj1
);
9734 if (PyErr_Occurred()) SWIG_fail
;
9735 arg3
= (long) SWIG_AsLong(obj2
);
9736 if (PyErr_Occurred()) SWIG_fail
;
9738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9739 (arg1
)->SetSelection(arg2
,arg3
);
9741 wxPyEndAllowThreads(__tstate
);
9742 if (PyErr_Occurred()) SWIG_fail
;
9744 Py_INCREF(Py_None
); resultobj
= Py_None
;
9751 static PyObject
*_wrap_TextCtrl_SelectAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9752 PyObject
*resultobj
;
9753 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9754 PyObject
* obj0
= 0 ;
9756 (char *) "self", NULL
9759 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_SelectAll",kwnames
,&obj0
)) goto fail
;
9760 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9761 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9764 (arg1
)->SelectAll();
9766 wxPyEndAllowThreads(__tstate
);
9767 if (PyErr_Occurred()) SWIG_fail
;
9769 Py_INCREF(Py_None
); resultobj
= Py_None
;
9776 static PyObject
*_wrap_TextCtrl_SetEditable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9777 PyObject
*resultobj
;
9778 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9780 PyObject
* obj0
= 0 ;
9781 PyObject
* obj1
= 0 ;
9783 (char *) "self",(char *) "editable", NULL
9786 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetEditable",kwnames
,&obj0
,&obj1
)) goto fail
;
9787 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9788 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9789 arg2
= (bool) SWIG_AsBool(obj1
);
9790 if (PyErr_Occurred()) SWIG_fail
;
9792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9793 (arg1
)->SetEditable(arg2
);
9795 wxPyEndAllowThreads(__tstate
);
9796 if (PyErr_Occurred()) SWIG_fail
;
9798 Py_INCREF(Py_None
); resultobj
= Py_None
;
9805 static PyObject
*_wrap_TextCtrl_write(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9806 PyObject
*resultobj
;
9807 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9808 wxString
*arg2
= 0 ;
9809 bool temp2
= False
;
9810 PyObject
* obj0
= 0 ;
9811 PyObject
* obj1
= 0 ;
9813 (char *) "self",(char *) "text", NULL
9816 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_write",kwnames
,&obj0
,&obj1
)) goto fail
;
9817 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9818 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9820 arg2
= wxString_in_helper(obj1
);
9821 if (arg2
== NULL
) SWIG_fail
;
9825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9826 wxTextCtrl_write(arg1
,(wxString
const &)*arg2
);
9828 wxPyEndAllowThreads(__tstate
);
9829 if (PyErr_Occurred()) SWIG_fail
;
9831 Py_INCREF(Py_None
); resultobj
= Py_None
;
9846 static PyObject
*_wrap_TextCtrl_GetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9847 PyObject
*resultobj
;
9848 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9852 PyObject
* obj0
= 0 ;
9853 PyObject
* obj1
= 0 ;
9854 PyObject
* obj2
= 0 ;
9856 (char *) "self",(char *) "from",(char *) "to", NULL
9859 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_GetString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9860 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9861 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9862 arg2
= (long) SWIG_AsLong(obj1
);
9863 if (PyErr_Occurred()) SWIG_fail
;
9864 arg3
= (long) SWIG_AsLong(obj2
);
9865 if (PyErr_Occurred()) SWIG_fail
;
9867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9868 result
= wxTextCtrl_GetString(arg1
,arg2
,arg3
);
9870 wxPyEndAllowThreads(__tstate
);
9871 if (PyErr_Occurred()) SWIG_fail
;
9875 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9877 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9886 static PyObject
*_wrap_TextCtrl_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9887 PyObject
*resultobj
;
9888 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
9889 wxVisualAttributes result
;
9890 PyObject
* obj0
= 0 ;
9892 (char *) "variant", NULL
9895 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:TextCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
9897 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
9898 if (PyErr_Occurred()) SWIG_fail
;
9901 if (!wxPyCheckForApp()) SWIG_fail
;
9902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9903 result
= wxTextCtrl::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
9905 wxPyEndAllowThreads(__tstate
);
9906 if (PyErr_Occurred()) SWIG_fail
;
9909 wxVisualAttributes
* resultptr
;
9910 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
9911 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
9919 static PyObject
* TextCtrl_swigregister(PyObject
*self
, PyObject
*args
) {
9921 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9922 SWIG_TypeClientData(SWIGTYPE_p_wxTextCtrl
, obj
);
9924 return Py_BuildValue((char *)"");
9926 static PyObject
*_wrap_new_TextUrlEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9927 PyObject
*resultobj
;
9929 wxMouseEvent
*arg2
= 0 ;
9932 wxTextUrlEvent
*result
;
9933 PyObject
* obj0
= 0 ;
9934 PyObject
* obj1
= 0 ;
9935 PyObject
* obj2
= 0 ;
9936 PyObject
* obj3
= 0 ;
9938 (char *) "winid",(char *) "evtMouse",(char *) "start",(char *) "end", NULL
9941 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_TextUrlEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9942 arg1
= (int) SWIG_AsInt(obj0
);
9943 if (PyErr_Occurred()) SWIG_fail
;
9944 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMouseEvent
,
9945 SWIG_POINTER_EXCEPTION
| 0)) == -1)
9948 PyErr_SetString(PyExc_TypeError
,"null reference");
9951 arg3
= (long) SWIG_AsLong(obj2
);
9952 if (PyErr_Occurred()) SWIG_fail
;
9953 arg4
= (long) SWIG_AsLong(obj3
);
9954 if (PyErr_Occurred()) SWIG_fail
;
9956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9957 result
= (wxTextUrlEvent
*)new wxTextUrlEvent(arg1
,(wxMouseEvent
const &)*arg2
,arg3
,arg4
);
9959 wxPyEndAllowThreads(__tstate
);
9960 if (PyErr_Occurred()) SWIG_fail
;
9962 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextUrlEvent
, 1);
9969 static PyObject
*_wrap_TextUrlEvent_GetMouseEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9970 PyObject
*resultobj
;
9971 wxTextUrlEvent
*arg1
= (wxTextUrlEvent
*) 0 ;
9972 wxMouseEvent
*result
;
9973 PyObject
* obj0
= 0 ;
9975 (char *) "self", NULL
9978 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextUrlEvent_GetMouseEvent",kwnames
,&obj0
)) goto fail
;
9979 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextUrlEvent
,
9980 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9984 wxMouseEvent
const &_result_ref
= (arg1
)->GetMouseEvent();
9985 result
= (wxMouseEvent
*) &_result_ref
;
9988 wxPyEndAllowThreads(__tstate
);
9989 if (PyErr_Occurred()) SWIG_fail
;
9991 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMouseEvent
, 0);
9998 static PyObject
*_wrap_TextUrlEvent_GetURLStart(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9999 PyObject
*resultobj
;
10000 wxTextUrlEvent
*arg1
= (wxTextUrlEvent
*) 0 ;
10002 PyObject
* obj0
= 0 ;
10003 char *kwnames
[] = {
10004 (char *) "self", NULL
10007 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextUrlEvent_GetURLStart",kwnames
,&obj0
)) goto fail
;
10008 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextUrlEvent
,
10009 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10012 result
= (long)((wxTextUrlEvent
const *)arg1
)->GetURLStart();
10014 wxPyEndAllowThreads(__tstate
);
10015 if (PyErr_Occurred()) SWIG_fail
;
10017 resultobj
= SWIG_FromLong((long)result
);
10024 static PyObject
*_wrap_TextUrlEvent_GetURLEnd(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10025 PyObject
*resultobj
;
10026 wxTextUrlEvent
*arg1
= (wxTextUrlEvent
*) 0 ;
10028 PyObject
* obj0
= 0 ;
10029 char *kwnames
[] = {
10030 (char *) "self", NULL
10033 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextUrlEvent_GetURLEnd",kwnames
,&obj0
)) goto fail
;
10034 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextUrlEvent
,
10035 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10038 result
= (long)((wxTextUrlEvent
const *)arg1
)->GetURLEnd();
10040 wxPyEndAllowThreads(__tstate
);
10041 if (PyErr_Occurred()) SWIG_fail
;
10043 resultobj
= SWIG_FromLong((long)result
);
10050 static PyObject
* TextUrlEvent_swigregister(PyObject
*self
, PyObject
*args
) {
10052 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10053 SWIG_TypeClientData(SWIGTYPE_p_wxTextUrlEvent
, obj
);
10055 return Py_BuildValue((char *)"");
10057 static int _wrap_ScrollBarNameStr_set(PyObject
*_val
) {
10058 PyErr_SetString(PyExc_TypeError
,"Variable ScrollBarNameStr is read-only.");
10063 static PyObject
*_wrap_ScrollBarNameStr_get() {
10068 pyobj
= PyUnicode_FromWideChar((&wxPyScrollBarNameStr
)->c_str(), (&wxPyScrollBarNameStr
)->Len());
10070 pyobj
= PyString_FromStringAndSize((&wxPyScrollBarNameStr
)->c_str(), (&wxPyScrollBarNameStr
)->Len());
10077 static PyObject
*_wrap_new_ScrollBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10078 PyObject
*resultobj
;
10079 wxWindow
*arg1
= (wxWindow
*) 0 ;
10080 int arg2
= (int) -1 ;
10081 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
10082 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
10083 wxSize
const &arg4_defvalue
= wxDefaultSize
;
10084 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
10085 long arg5
= (long) wxSB_HORIZONTAL
;
10086 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
10087 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
10088 wxString
const &arg7_defvalue
= wxPyScrollBarNameStr
;
10089 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
10090 wxScrollBar
*result
;
10093 bool temp7
= False
;
10094 PyObject
* obj0
= 0 ;
10095 PyObject
* obj1
= 0 ;
10096 PyObject
* obj2
= 0 ;
10097 PyObject
* obj3
= 0 ;
10098 PyObject
* obj4
= 0 ;
10099 PyObject
* obj5
= 0 ;
10100 PyObject
* obj6
= 0 ;
10101 char *kwnames
[] = {
10102 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
10105 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_ScrollBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
10106 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
10107 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10109 arg2
= (int) SWIG_AsInt(obj1
);
10110 if (PyErr_Occurred()) SWIG_fail
;
10115 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
10121 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
10125 arg5
= (long) SWIG_AsLong(obj4
);
10126 if (PyErr_Occurred()) SWIG_fail
;
10129 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxValidator
,
10130 SWIG_POINTER_EXCEPTION
| 0)) == -1)
10132 if (arg6
== NULL
) {
10133 PyErr_SetString(PyExc_TypeError
,"null reference");
10139 arg7
= wxString_in_helper(obj6
);
10140 if (arg7
== NULL
) SWIG_fail
;
10145 if (!wxPyCheckForApp()) SWIG_fail
;
10146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10147 result
= (wxScrollBar
*)new wxScrollBar(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
10149 wxPyEndAllowThreads(__tstate
);
10150 if (PyErr_Occurred()) SWIG_fail
;
10152 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScrollBar
, 1);
10167 static PyObject
*_wrap_new_PreScrollBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10168 PyObject
*resultobj
;
10169 wxScrollBar
*result
;
10170 char *kwnames
[] = {
10174 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreScrollBar",kwnames
)) goto fail
;
10176 if (!wxPyCheckForApp()) SWIG_fail
;
10177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10178 result
= (wxScrollBar
*)new wxScrollBar();
10180 wxPyEndAllowThreads(__tstate
);
10181 if (PyErr_Occurred()) SWIG_fail
;
10183 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScrollBar
, 1);
10190 static PyObject
*_wrap_ScrollBar_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10191 PyObject
*resultobj
;
10192 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
10193 wxWindow
*arg2
= (wxWindow
*) 0 ;
10194 int arg3
= (int) -1 ;
10195 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
10196 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
10197 wxSize
const &arg5_defvalue
= wxDefaultSize
;
10198 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
10199 long arg6
= (long) wxSB_HORIZONTAL
;
10200 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
10201 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
10202 wxString
const &arg8_defvalue
= wxPyScrollBarNameStr
;
10203 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
10207 bool temp8
= False
;
10208 PyObject
* obj0
= 0 ;
10209 PyObject
* obj1
= 0 ;
10210 PyObject
* obj2
= 0 ;
10211 PyObject
* obj3
= 0 ;
10212 PyObject
* obj4
= 0 ;
10213 PyObject
* obj5
= 0 ;
10214 PyObject
* obj6
= 0 ;
10215 PyObject
* obj7
= 0 ;
10216 char *kwnames
[] = {
10217 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
10220 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:ScrollBar_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
10221 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollBar
,
10222 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10223 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
10224 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10226 arg3
= (int) SWIG_AsInt(obj2
);
10227 if (PyErr_Occurred()) SWIG_fail
;
10232 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
10238 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
10242 arg6
= (long) SWIG_AsLong(obj5
);
10243 if (PyErr_Occurred()) SWIG_fail
;
10246 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
10247 SWIG_POINTER_EXCEPTION
| 0)) == -1)
10249 if (arg7
== NULL
) {
10250 PyErr_SetString(PyExc_TypeError
,"null reference");
10256 arg8
= wxString_in_helper(obj7
);
10257 if (arg8
== NULL
) SWIG_fail
;
10262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10263 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
10265 wxPyEndAllowThreads(__tstate
);
10266 if (PyErr_Occurred()) SWIG_fail
;
10269 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10285 static PyObject
*_wrap_ScrollBar_GetThumbPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10286 PyObject
*resultobj
;
10287 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
10289 PyObject
* obj0
= 0 ;
10290 char *kwnames
[] = {
10291 (char *) "self", NULL
10294 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_GetThumbPosition",kwnames
,&obj0
)) goto fail
;
10295 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollBar
,
10296 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10299 result
= (int)((wxScrollBar
const *)arg1
)->GetThumbPosition();
10301 wxPyEndAllowThreads(__tstate
);
10302 if (PyErr_Occurred()) SWIG_fail
;
10304 resultobj
= SWIG_FromInt((int)result
);
10311 static PyObject
*_wrap_ScrollBar_GetThumbSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10312 PyObject
*resultobj
;
10313 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
10315 PyObject
* obj0
= 0 ;
10316 char *kwnames
[] = {
10317 (char *) "self", NULL
10320 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_GetThumbSize",kwnames
,&obj0
)) goto fail
;
10321 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollBar
,
10322 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10325 result
= (int)((wxScrollBar
const *)arg1
)->GetThumbSize();
10327 wxPyEndAllowThreads(__tstate
);
10328 if (PyErr_Occurred()) SWIG_fail
;
10330 resultobj
= SWIG_FromInt((int)result
);
10337 static PyObject
*_wrap_ScrollBar_GetPageSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10338 PyObject
*resultobj
;
10339 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
10341 PyObject
* obj0
= 0 ;
10342 char *kwnames
[] = {
10343 (char *) "self", NULL
10346 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_GetPageSize",kwnames
,&obj0
)) goto fail
;
10347 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollBar
,
10348 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10351 result
= (int)((wxScrollBar
const *)arg1
)->GetPageSize();
10353 wxPyEndAllowThreads(__tstate
);
10354 if (PyErr_Occurred()) SWIG_fail
;
10356 resultobj
= SWIG_FromInt((int)result
);
10363 static PyObject
*_wrap_ScrollBar_GetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10364 PyObject
*resultobj
;
10365 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
10367 PyObject
* obj0
= 0 ;
10368 char *kwnames
[] = {
10369 (char *) "self", NULL
10372 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_GetRange",kwnames
,&obj0
)) goto fail
;
10373 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollBar
,
10374 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10377 result
= (int)((wxScrollBar
const *)arg1
)->GetRange();
10379 wxPyEndAllowThreads(__tstate
);
10380 if (PyErr_Occurred()) SWIG_fail
;
10382 resultobj
= SWIG_FromInt((int)result
);
10389 static PyObject
*_wrap_ScrollBar_IsVertical(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10390 PyObject
*resultobj
;
10391 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
10393 PyObject
* obj0
= 0 ;
10394 char *kwnames
[] = {
10395 (char *) "self", NULL
10398 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_IsVertical",kwnames
,&obj0
)) goto fail
;
10399 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollBar
,
10400 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10403 result
= (bool)((wxScrollBar
const *)arg1
)->IsVertical();
10405 wxPyEndAllowThreads(__tstate
);
10406 if (PyErr_Occurred()) SWIG_fail
;
10409 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10417 static PyObject
*_wrap_ScrollBar_SetThumbPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10418 PyObject
*resultobj
;
10419 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
10421 PyObject
* obj0
= 0 ;
10422 PyObject
* obj1
= 0 ;
10423 char *kwnames
[] = {
10424 (char *) "self",(char *) "viewStart", NULL
10427 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollBar_SetThumbPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
10428 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollBar
,
10429 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10430 arg2
= (int) SWIG_AsInt(obj1
);
10431 if (PyErr_Occurred()) SWIG_fail
;
10433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10434 (arg1
)->SetThumbPosition(arg2
);
10436 wxPyEndAllowThreads(__tstate
);
10437 if (PyErr_Occurred()) SWIG_fail
;
10439 Py_INCREF(Py_None
); resultobj
= Py_None
;
10446 static PyObject
*_wrap_ScrollBar_SetScrollbar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10447 PyObject
*resultobj
;
10448 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
10453 bool arg6
= (bool) True
;
10454 PyObject
* obj0
= 0 ;
10455 PyObject
* obj1
= 0 ;
10456 PyObject
* obj2
= 0 ;
10457 PyObject
* obj3
= 0 ;
10458 PyObject
* obj4
= 0 ;
10459 PyObject
* obj5
= 0 ;
10460 char *kwnames
[] = {
10461 (char *) "self",(char *) "position",(char *) "thumbSize",(char *) "range",(char *) "pageSize",(char *) "refresh", NULL
10464 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:ScrollBar_SetScrollbar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
10465 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollBar
,
10466 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10467 arg2
= (int) SWIG_AsInt(obj1
);
10468 if (PyErr_Occurred()) SWIG_fail
;
10469 arg3
= (int) SWIG_AsInt(obj2
);
10470 if (PyErr_Occurred()) SWIG_fail
;
10471 arg4
= (int) SWIG_AsInt(obj3
);
10472 if (PyErr_Occurred()) SWIG_fail
;
10473 arg5
= (int) SWIG_AsInt(obj4
);
10474 if (PyErr_Occurred()) SWIG_fail
;
10476 arg6
= (bool) SWIG_AsBool(obj5
);
10477 if (PyErr_Occurred()) SWIG_fail
;
10480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10481 (arg1
)->SetScrollbar(arg2
,arg3
,arg4
,arg5
,arg6
);
10483 wxPyEndAllowThreads(__tstate
);
10484 if (PyErr_Occurred()) SWIG_fail
;
10486 Py_INCREF(Py_None
); resultobj
= Py_None
;
10493 static PyObject
*_wrap_ScrollBar_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10494 PyObject
*resultobj
;
10495 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
10496 wxVisualAttributes result
;
10497 PyObject
* obj0
= 0 ;
10498 char *kwnames
[] = {
10499 (char *) "variant", NULL
10502 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ScrollBar_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
10504 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
10505 if (PyErr_Occurred()) SWIG_fail
;
10508 if (!wxPyCheckForApp()) SWIG_fail
;
10509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10510 result
= wxScrollBar::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
10512 wxPyEndAllowThreads(__tstate
);
10513 if (PyErr_Occurred()) SWIG_fail
;
10516 wxVisualAttributes
* resultptr
;
10517 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
10518 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
10526 static PyObject
* ScrollBar_swigregister(PyObject
*self
, PyObject
*args
) {
10528 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10529 SWIG_TypeClientData(SWIGTYPE_p_wxScrollBar
, obj
);
10531 return Py_BuildValue((char *)"");
10533 static int _wrap_SPIN_BUTTON_NAME_set(PyObject
*_val
) {
10534 PyErr_SetString(PyExc_TypeError
,"Variable SPIN_BUTTON_NAME is read-only.");
10539 static PyObject
*_wrap_SPIN_BUTTON_NAME_get() {
10544 pyobj
= PyUnicode_FromWideChar((&wxPySPIN_BUTTON_NAME
)->c_str(), (&wxPySPIN_BUTTON_NAME
)->Len());
10546 pyobj
= PyString_FromStringAndSize((&wxPySPIN_BUTTON_NAME
)->c_str(), (&wxPySPIN_BUTTON_NAME
)->Len());
10553 static int _wrap_SpinCtrlNameStr_set(PyObject
*_val
) {
10554 PyErr_SetString(PyExc_TypeError
,"Variable SpinCtrlNameStr is read-only.");
10559 static PyObject
*_wrap_SpinCtrlNameStr_get() {
10564 pyobj
= PyUnicode_FromWideChar((&wxPySpinCtrlNameStr
)->c_str(), (&wxPySpinCtrlNameStr
)->Len());
10566 pyobj
= PyString_FromStringAndSize((&wxPySpinCtrlNameStr
)->c_str(), (&wxPySpinCtrlNameStr
)->Len());
10573 static PyObject
*_wrap_new_SpinButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10574 PyObject
*resultobj
;
10575 wxWindow
*arg1
= (wxWindow
*) 0 ;
10576 int arg2
= (int) -1 ;
10577 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
10578 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
10579 wxSize
const &arg4_defvalue
= wxDefaultSize
;
10580 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
10581 long arg5
= (long) wxSP_HORIZONTAL
;
10582 wxString
const &arg6_defvalue
= wxPySPIN_BUTTON_NAME
;
10583 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
10584 wxSpinButton
*result
;
10587 bool temp6
= False
;
10588 PyObject
* obj0
= 0 ;
10589 PyObject
* obj1
= 0 ;
10590 PyObject
* obj2
= 0 ;
10591 PyObject
* obj3
= 0 ;
10592 PyObject
* obj4
= 0 ;
10593 PyObject
* obj5
= 0 ;
10594 char *kwnames
[] = {
10595 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10598 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_SpinButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
10599 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
10600 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10602 arg2
= (int) SWIG_AsInt(obj1
);
10603 if (PyErr_Occurred()) SWIG_fail
;
10608 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
10614 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
10618 arg5
= (long) SWIG_AsLong(obj4
);
10619 if (PyErr_Occurred()) SWIG_fail
;
10623 arg6
= wxString_in_helper(obj5
);
10624 if (arg6
== NULL
) SWIG_fail
;
10629 if (!wxPyCheckForApp()) SWIG_fail
;
10630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10631 result
= (wxSpinButton
*)new wxSpinButton(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
10633 wxPyEndAllowThreads(__tstate
);
10634 if (PyErr_Occurred()) SWIG_fail
;
10636 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSpinButton
, 1);
10651 static PyObject
*_wrap_new_PreSpinButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10652 PyObject
*resultobj
;
10653 wxSpinButton
*result
;
10654 char *kwnames
[] = {
10658 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSpinButton",kwnames
)) goto fail
;
10660 if (!wxPyCheckForApp()) SWIG_fail
;
10661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10662 result
= (wxSpinButton
*)new wxSpinButton();
10664 wxPyEndAllowThreads(__tstate
);
10665 if (PyErr_Occurred()) SWIG_fail
;
10667 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSpinButton
, 1);
10674 static PyObject
*_wrap_SpinButton_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10675 PyObject
*resultobj
;
10676 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
10677 wxWindow
*arg2
= (wxWindow
*) 0 ;
10678 int arg3
= (int) -1 ;
10679 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
10680 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
10681 wxSize
const &arg5_defvalue
= wxDefaultSize
;
10682 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
10683 long arg6
= (long) wxSP_HORIZONTAL
;
10684 wxString
const &arg7_defvalue
= wxPySPIN_BUTTON_NAME
;
10685 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
10689 bool temp7
= False
;
10690 PyObject
* obj0
= 0 ;
10691 PyObject
* obj1
= 0 ;
10692 PyObject
* obj2
= 0 ;
10693 PyObject
* obj3
= 0 ;
10694 PyObject
* obj4
= 0 ;
10695 PyObject
* obj5
= 0 ;
10696 PyObject
* obj6
= 0 ;
10697 char *kwnames
[] = {
10698 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10701 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:SpinButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
10702 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinButton
,
10703 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10704 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
10705 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10707 arg3
= (int) SWIG_AsInt(obj2
);
10708 if (PyErr_Occurred()) SWIG_fail
;
10713 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
10719 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
10723 arg6
= (long) SWIG_AsLong(obj5
);
10724 if (PyErr_Occurred()) SWIG_fail
;
10728 arg7
= wxString_in_helper(obj6
);
10729 if (arg7
== NULL
) SWIG_fail
;
10734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10735 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
10737 wxPyEndAllowThreads(__tstate
);
10738 if (PyErr_Occurred()) SWIG_fail
;
10741 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10757 static PyObject
*_wrap_SpinButton_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10758 PyObject
*resultobj
;
10759 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
10761 PyObject
* obj0
= 0 ;
10762 char *kwnames
[] = {
10763 (char *) "self", NULL
10766 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinButton_GetValue",kwnames
,&obj0
)) goto fail
;
10767 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinButton
,
10768 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10771 result
= (int)((wxSpinButton
const *)arg1
)->GetValue();
10773 wxPyEndAllowThreads(__tstate
);
10774 if (PyErr_Occurred()) SWIG_fail
;
10776 resultobj
= SWIG_FromInt((int)result
);
10783 static PyObject
*_wrap_SpinButton_GetMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10784 PyObject
*resultobj
;
10785 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
10787 PyObject
* obj0
= 0 ;
10788 char *kwnames
[] = {
10789 (char *) "self", NULL
10792 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinButton_GetMin",kwnames
,&obj0
)) goto fail
;
10793 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinButton
,
10794 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10797 result
= (int)((wxSpinButton
const *)arg1
)->GetMin();
10799 wxPyEndAllowThreads(__tstate
);
10800 if (PyErr_Occurred()) SWIG_fail
;
10802 resultobj
= SWIG_FromInt((int)result
);
10809 static PyObject
*_wrap_SpinButton_GetMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10810 PyObject
*resultobj
;
10811 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
10813 PyObject
* obj0
= 0 ;
10814 char *kwnames
[] = {
10815 (char *) "self", NULL
10818 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinButton_GetMax",kwnames
,&obj0
)) goto fail
;
10819 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinButton
,
10820 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10823 result
= (int)((wxSpinButton
const *)arg1
)->GetMax();
10825 wxPyEndAllowThreads(__tstate
);
10826 if (PyErr_Occurred()) SWIG_fail
;
10828 resultobj
= SWIG_FromInt((int)result
);
10835 static PyObject
*_wrap_SpinButton_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10836 PyObject
*resultobj
;
10837 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
10839 PyObject
* obj0
= 0 ;
10840 PyObject
* obj1
= 0 ;
10841 char *kwnames
[] = {
10842 (char *) "self",(char *) "val", NULL
10845 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinButton_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
10846 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinButton
,
10847 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10848 arg2
= (int) SWIG_AsInt(obj1
);
10849 if (PyErr_Occurred()) SWIG_fail
;
10851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10852 (arg1
)->SetValue(arg2
);
10854 wxPyEndAllowThreads(__tstate
);
10855 if (PyErr_Occurred()) SWIG_fail
;
10857 Py_INCREF(Py_None
); resultobj
= Py_None
;
10864 static PyObject
*_wrap_SpinButton_SetMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10865 PyObject
*resultobj
;
10866 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
10868 PyObject
* obj0
= 0 ;
10869 PyObject
* obj1
= 0 ;
10870 char *kwnames
[] = {
10871 (char *) "self",(char *) "minVal", NULL
10874 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinButton_SetMin",kwnames
,&obj0
,&obj1
)) goto fail
;
10875 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinButton
,
10876 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10877 arg2
= (int) SWIG_AsInt(obj1
);
10878 if (PyErr_Occurred()) SWIG_fail
;
10880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10881 (arg1
)->SetMin(arg2
);
10883 wxPyEndAllowThreads(__tstate
);
10884 if (PyErr_Occurred()) SWIG_fail
;
10886 Py_INCREF(Py_None
); resultobj
= Py_None
;
10893 static PyObject
*_wrap_SpinButton_SetMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10894 PyObject
*resultobj
;
10895 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
10897 PyObject
* obj0
= 0 ;
10898 PyObject
* obj1
= 0 ;
10899 char *kwnames
[] = {
10900 (char *) "self",(char *) "maxVal", NULL
10903 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinButton_SetMax",kwnames
,&obj0
,&obj1
)) goto fail
;
10904 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinButton
,
10905 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10906 arg2
= (int) SWIG_AsInt(obj1
);
10907 if (PyErr_Occurred()) SWIG_fail
;
10909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10910 (arg1
)->SetMax(arg2
);
10912 wxPyEndAllowThreads(__tstate
);
10913 if (PyErr_Occurred()) SWIG_fail
;
10915 Py_INCREF(Py_None
); resultobj
= Py_None
;
10922 static PyObject
*_wrap_SpinButton_SetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10923 PyObject
*resultobj
;
10924 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
10927 PyObject
* obj0
= 0 ;
10928 PyObject
* obj1
= 0 ;
10929 PyObject
* obj2
= 0 ;
10930 char *kwnames
[] = {
10931 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
10934 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SpinButton_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10935 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinButton
,
10936 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10937 arg2
= (int) SWIG_AsInt(obj1
);
10938 if (PyErr_Occurred()) SWIG_fail
;
10939 arg3
= (int) SWIG_AsInt(obj2
);
10940 if (PyErr_Occurred()) SWIG_fail
;
10942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10943 (arg1
)->SetRange(arg2
,arg3
);
10945 wxPyEndAllowThreads(__tstate
);
10946 if (PyErr_Occurred()) SWIG_fail
;
10948 Py_INCREF(Py_None
); resultobj
= Py_None
;
10955 static PyObject
*_wrap_SpinButton_IsVertical(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10956 PyObject
*resultobj
;
10957 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
10959 PyObject
* obj0
= 0 ;
10960 char *kwnames
[] = {
10961 (char *) "self", NULL
10964 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinButton_IsVertical",kwnames
,&obj0
)) goto fail
;
10965 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinButton
,
10966 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10969 result
= (bool)((wxSpinButton
const *)arg1
)->IsVertical();
10971 wxPyEndAllowThreads(__tstate
);
10972 if (PyErr_Occurred()) SWIG_fail
;
10975 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10983 static PyObject
*_wrap_SpinButton_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10984 PyObject
*resultobj
;
10985 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
10986 wxVisualAttributes result
;
10987 PyObject
* obj0
= 0 ;
10988 char *kwnames
[] = {
10989 (char *) "variant", NULL
10992 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:SpinButton_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
10994 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
10995 if (PyErr_Occurred()) SWIG_fail
;
10998 if (!wxPyCheckForApp()) SWIG_fail
;
10999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11000 result
= wxSpinButton::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
11002 wxPyEndAllowThreads(__tstate
);
11003 if (PyErr_Occurred()) SWIG_fail
;
11006 wxVisualAttributes
* resultptr
;
11007 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
11008 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
11016 static PyObject
* SpinButton_swigregister(PyObject
*self
, PyObject
*args
) {
11018 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11019 SWIG_TypeClientData(SWIGTYPE_p_wxSpinButton
, obj
);
11021 return Py_BuildValue((char *)"");
11023 static PyObject
*_wrap_new_SpinCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11024 PyObject
*resultobj
;
11025 wxWindow
*arg1
= (wxWindow
*) 0 ;
11026 int arg2
= (int) -1 ;
11027 wxString
const &arg3_defvalue
= wxPyEmptyString
;
11028 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
11029 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
11030 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
11031 wxSize
const &arg5_defvalue
= wxDefaultSize
;
11032 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
11033 long arg6
= (long) wxSP_ARROW_KEYS
;
11034 int arg7
= (int) 0 ;
11035 int arg8
= (int) 100 ;
11036 int arg9
= (int) 0 ;
11037 wxString
const &arg10_defvalue
= wxPySpinCtrlNameStr
;
11038 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
11039 wxSpinCtrl
*result
;
11040 bool temp3
= False
;
11043 bool temp10
= False
;
11044 PyObject
* obj0
= 0 ;
11045 PyObject
* obj1
= 0 ;
11046 PyObject
* obj2
= 0 ;
11047 PyObject
* obj3
= 0 ;
11048 PyObject
* obj4
= 0 ;
11049 PyObject
* obj5
= 0 ;
11050 PyObject
* obj6
= 0 ;
11051 PyObject
* obj7
= 0 ;
11052 PyObject
* obj8
= 0 ;
11053 PyObject
* obj9
= 0 ;
11054 char *kwnames
[] = {
11055 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
11058 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOOO:new_SpinCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
11059 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
11060 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11062 arg2
= (int) SWIG_AsInt(obj1
);
11063 if (PyErr_Occurred()) SWIG_fail
;
11067 arg3
= wxString_in_helper(obj2
);
11068 if (arg3
== NULL
) SWIG_fail
;
11075 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
11081 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
11085 arg6
= (long) SWIG_AsLong(obj5
);
11086 if (PyErr_Occurred()) SWIG_fail
;
11089 arg7
= (int) SWIG_AsInt(obj6
);
11090 if (PyErr_Occurred()) SWIG_fail
;
11093 arg8
= (int) SWIG_AsInt(obj7
);
11094 if (PyErr_Occurred()) SWIG_fail
;
11097 arg9
= (int) SWIG_AsInt(obj8
);
11098 if (PyErr_Occurred()) SWIG_fail
;
11102 arg10
= wxString_in_helper(obj9
);
11103 if (arg10
== NULL
) SWIG_fail
;
11108 if (!wxPyCheckForApp()) SWIG_fail
;
11109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11110 result
= (wxSpinCtrl
*)new wxSpinCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,arg7
,arg8
,arg9
,(wxString
const &)*arg10
);
11112 wxPyEndAllowThreads(__tstate
);
11113 if (PyErr_Occurred()) SWIG_fail
;
11115 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSpinCtrl
, 1);
11138 static PyObject
*_wrap_new_PreSpinCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11139 PyObject
*resultobj
;
11140 wxSpinCtrl
*result
;
11141 char *kwnames
[] = {
11145 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSpinCtrl",kwnames
)) goto fail
;
11147 if (!wxPyCheckForApp()) SWIG_fail
;
11148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11149 result
= (wxSpinCtrl
*)new wxSpinCtrl();
11151 wxPyEndAllowThreads(__tstate
);
11152 if (PyErr_Occurred()) SWIG_fail
;
11154 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSpinCtrl
, 1);
11161 static PyObject
*_wrap_SpinCtrl_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11162 PyObject
*resultobj
;
11163 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
11164 wxWindow
*arg2
= (wxWindow
*) 0 ;
11165 int arg3
= (int) -1 ;
11166 wxString
const &arg4_defvalue
= wxPyEmptyString
;
11167 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
11168 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
11169 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
11170 wxSize
const &arg6_defvalue
= wxDefaultSize
;
11171 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
11172 long arg7
= (long) wxSP_ARROW_KEYS
;
11173 int arg8
= (int) 0 ;
11174 int arg9
= (int) 100 ;
11175 int arg10
= (int) 0 ;
11176 wxString
const &arg11_defvalue
= wxPySpinCtrlNameStr
;
11177 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
11179 bool temp4
= False
;
11182 bool temp11
= False
;
11183 PyObject
* obj0
= 0 ;
11184 PyObject
* obj1
= 0 ;
11185 PyObject
* obj2
= 0 ;
11186 PyObject
* obj3
= 0 ;
11187 PyObject
* obj4
= 0 ;
11188 PyObject
* obj5
= 0 ;
11189 PyObject
* obj6
= 0 ;
11190 PyObject
* obj7
= 0 ;
11191 PyObject
* obj8
= 0 ;
11192 PyObject
* obj9
= 0 ;
11193 PyObject
* obj10
= 0 ;
11194 char *kwnames
[] = {
11195 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
11198 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOOO:SpinCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) goto fail
;
11199 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinCtrl
,
11200 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11201 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
11202 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11204 arg3
= (int) SWIG_AsInt(obj2
);
11205 if (PyErr_Occurred()) SWIG_fail
;
11209 arg4
= wxString_in_helper(obj3
);
11210 if (arg4
== NULL
) SWIG_fail
;
11217 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
11223 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
11227 arg7
= (long) SWIG_AsLong(obj6
);
11228 if (PyErr_Occurred()) SWIG_fail
;
11231 arg8
= (int) SWIG_AsInt(obj7
);
11232 if (PyErr_Occurred()) SWIG_fail
;
11235 arg9
= (int) SWIG_AsInt(obj8
);
11236 if (PyErr_Occurred()) SWIG_fail
;
11239 arg10
= (int) SWIG_AsInt(obj9
);
11240 if (PyErr_Occurred()) SWIG_fail
;
11244 arg11
= wxString_in_helper(obj10
);
11245 if (arg11
== NULL
) SWIG_fail
;
11250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11251 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,arg8
,arg9
,arg10
,(wxString
const &)*arg11
);
11253 wxPyEndAllowThreads(__tstate
);
11254 if (PyErr_Occurred()) SWIG_fail
;
11257 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11281 static PyObject
*_wrap_SpinCtrl_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11282 PyObject
*resultobj
;
11283 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
11285 PyObject
* obj0
= 0 ;
11286 char *kwnames
[] = {
11287 (char *) "self", NULL
11290 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinCtrl_GetValue",kwnames
,&obj0
)) goto fail
;
11291 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinCtrl
,
11292 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11295 result
= (int)((wxSpinCtrl
const *)arg1
)->GetValue();
11297 wxPyEndAllowThreads(__tstate
);
11298 if (PyErr_Occurred()) SWIG_fail
;
11300 resultobj
= SWIG_FromInt((int)result
);
11307 static PyObject
*_wrap_SpinCtrl_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11308 PyObject
*resultobj
;
11309 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
11311 PyObject
* obj0
= 0 ;
11312 PyObject
* obj1
= 0 ;
11313 char *kwnames
[] = {
11314 (char *) "self",(char *) "value", NULL
11317 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinCtrl_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
11318 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinCtrl
,
11319 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11320 arg2
= (int) SWIG_AsInt(obj1
);
11321 if (PyErr_Occurred()) SWIG_fail
;
11323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11324 (arg1
)->SetValue(arg2
);
11326 wxPyEndAllowThreads(__tstate
);
11327 if (PyErr_Occurred()) SWIG_fail
;
11329 Py_INCREF(Py_None
); resultobj
= Py_None
;
11336 static PyObject
*_wrap_SpinCtrl_SetValueString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11337 PyObject
*resultobj
;
11338 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
11339 wxString
*arg2
= 0 ;
11340 bool temp2
= False
;
11341 PyObject
* obj0
= 0 ;
11342 PyObject
* obj1
= 0 ;
11343 char *kwnames
[] = {
11344 (char *) "self",(char *) "text", NULL
11347 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinCtrl_SetValueString",kwnames
,&obj0
,&obj1
)) goto fail
;
11348 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinCtrl
,
11349 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11351 arg2
= wxString_in_helper(obj1
);
11352 if (arg2
== NULL
) SWIG_fail
;
11356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11357 (arg1
)->SetValue((wxString
const &)*arg2
);
11359 wxPyEndAllowThreads(__tstate
);
11360 if (PyErr_Occurred()) SWIG_fail
;
11362 Py_INCREF(Py_None
); resultobj
= Py_None
;
11377 static PyObject
*_wrap_SpinCtrl_SetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11378 PyObject
*resultobj
;
11379 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
11382 PyObject
* obj0
= 0 ;
11383 PyObject
* obj1
= 0 ;
11384 PyObject
* obj2
= 0 ;
11385 char *kwnames
[] = {
11386 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
11389 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SpinCtrl_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11390 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinCtrl
,
11391 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11392 arg2
= (int) SWIG_AsInt(obj1
);
11393 if (PyErr_Occurred()) SWIG_fail
;
11394 arg3
= (int) SWIG_AsInt(obj2
);
11395 if (PyErr_Occurred()) SWIG_fail
;
11397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11398 (arg1
)->SetRange(arg2
,arg3
);
11400 wxPyEndAllowThreads(__tstate
);
11401 if (PyErr_Occurred()) SWIG_fail
;
11403 Py_INCREF(Py_None
); resultobj
= Py_None
;
11410 static PyObject
*_wrap_SpinCtrl_GetMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11411 PyObject
*resultobj
;
11412 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
11414 PyObject
* obj0
= 0 ;
11415 char *kwnames
[] = {
11416 (char *) "self", NULL
11419 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinCtrl_GetMin",kwnames
,&obj0
)) goto fail
;
11420 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinCtrl
,
11421 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11424 result
= (int)((wxSpinCtrl
const *)arg1
)->GetMin();
11426 wxPyEndAllowThreads(__tstate
);
11427 if (PyErr_Occurred()) SWIG_fail
;
11429 resultobj
= SWIG_FromInt((int)result
);
11436 static PyObject
*_wrap_SpinCtrl_GetMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11437 PyObject
*resultobj
;
11438 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
11440 PyObject
* obj0
= 0 ;
11441 char *kwnames
[] = {
11442 (char *) "self", NULL
11445 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinCtrl_GetMax",kwnames
,&obj0
)) goto fail
;
11446 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinCtrl
,
11447 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11450 result
= (int)((wxSpinCtrl
const *)arg1
)->GetMax();
11452 wxPyEndAllowThreads(__tstate
);
11453 if (PyErr_Occurred()) SWIG_fail
;
11455 resultobj
= SWIG_FromInt((int)result
);
11462 static PyObject
*_wrap_SpinCtrl_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11463 PyObject
*resultobj
;
11464 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
11467 PyObject
* obj0
= 0 ;
11468 PyObject
* obj1
= 0 ;
11469 PyObject
* obj2
= 0 ;
11470 char *kwnames
[] = {
11471 (char *) "self",(char *) "from",(char *) "to", NULL
11474 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SpinCtrl_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11475 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinCtrl
,
11476 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11477 arg2
= (long) SWIG_AsLong(obj1
);
11478 if (PyErr_Occurred()) SWIG_fail
;
11479 arg3
= (long) SWIG_AsLong(obj2
);
11480 if (PyErr_Occurred()) SWIG_fail
;
11482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11483 (arg1
)->SetSelection(arg2
,arg3
);
11485 wxPyEndAllowThreads(__tstate
);
11486 if (PyErr_Occurred()) SWIG_fail
;
11488 Py_INCREF(Py_None
); resultobj
= Py_None
;
11495 static PyObject
*_wrap_SpinCtrl_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11496 PyObject
*resultobj
;
11497 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
11498 wxVisualAttributes result
;
11499 PyObject
* obj0
= 0 ;
11500 char *kwnames
[] = {
11501 (char *) "variant", NULL
11504 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:SpinCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
11506 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
11507 if (PyErr_Occurred()) SWIG_fail
;
11510 if (!wxPyCheckForApp()) SWIG_fail
;
11511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11512 result
= wxSpinCtrl::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
11514 wxPyEndAllowThreads(__tstate
);
11515 if (PyErr_Occurred()) SWIG_fail
;
11518 wxVisualAttributes
* resultptr
;
11519 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
11520 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
11528 static PyObject
* SpinCtrl_swigregister(PyObject
*self
, PyObject
*args
) {
11530 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11531 SWIG_TypeClientData(SWIGTYPE_p_wxSpinCtrl
, obj
);
11533 return Py_BuildValue((char *)"");
11535 static PyObject
*_wrap_new_SpinEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11536 PyObject
*resultobj
;
11537 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
11538 int arg2
= (int) 0 ;
11539 wxSpinEvent
*result
;
11540 PyObject
* obj0
= 0 ;
11541 PyObject
* obj1
= 0 ;
11542 char *kwnames
[] = {
11543 (char *) "commandType",(char *) "winid", NULL
11546 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SpinEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
11548 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
11549 if (PyErr_Occurred()) SWIG_fail
;
11552 arg2
= (int) SWIG_AsInt(obj1
);
11553 if (PyErr_Occurred()) SWIG_fail
;
11556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11557 result
= (wxSpinEvent
*)new wxSpinEvent(arg1
,arg2
);
11559 wxPyEndAllowThreads(__tstate
);
11560 if (PyErr_Occurred()) SWIG_fail
;
11562 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSpinEvent
, 1);
11569 static PyObject
*_wrap_SpinEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11570 PyObject
*resultobj
;
11571 wxSpinEvent
*arg1
= (wxSpinEvent
*) 0 ;
11573 PyObject
* obj0
= 0 ;
11574 char *kwnames
[] = {
11575 (char *) "self", NULL
11578 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
11579 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinEvent
,
11580 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11583 result
= (int)((wxSpinEvent
const *)arg1
)->GetPosition();
11585 wxPyEndAllowThreads(__tstate
);
11586 if (PyErr_Occurred()) SWIG_fail
;
11588 resultobj
= SWIG_FromInt((int)result
);
11595 static PyObject
*_wrap_SpinEvent_SetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11596 PyObject
*resultobj
;
11597 wxSpinEvent
*arg1
= (wxSpinEvent
*) 0 ;
11599 PyObject
* obj0
= 0 ;
11600 PyObject
* obj1
= 0 ;
11601 char *kwnames
[] = {
11602 (char *) "self",(char *) "pos", NULL
11605 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
11606 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinEvent
,
11607 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11608 arg2
= (int) SWIG_AsInt(obj1
);
11609 if (PyErr_Occurred()) SWIG_fail
;
11611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11612 (arg1
)->SetPosition(arg2
);
11614 wxPyEndAllowThreads(__tstate
);
11615 if (PyErr_Occurred()) SWIG_fail
;
11617 Py_INCREF(Py_None
); resultobj
= Py_None
;
11624 static PyObject
* SpinEvent_swigregister(PyObject
*self
, PyObject
*args
) {
11626 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11627 SWIG_TypeClientData(SWIGTYPE_p_wxSpinEvent
, obj
);
11629 return Py_BuildValue((char *)"");
11631 static int _wrap_RadioBoxNameStr_set(PyObject
*_val
) {
11632 PyErr_SetString(PyExc_TypeError
,"Variable RadioBoxNameStr is read-only.");
11637 static PyObject
*_wrap_RadioBoxNameStr_get() {
11642 pyobj
= PyUnicode_FromWideChar((&wxPyRadioBoxNameStr
)->c_str(), (&wxPyRadioBoxNameStr
)->Len());
11644 pyobj
= PyString_FromStringAndSize((&wxPyRadioBoxNameStr
)->c_str(), (&wxPyRadioBoxNameStr
)->Len());
11651 static int _wrap_RadioButtonNameStr_set(PyObject
*_val
) {
11652 PyErr_SetString(PyExc_TypeError
,"Variable RadioButtonNameStr is read-only.");
11657 static PyObject
*_wrap_RadioButtonNameStr_get() {
11662 pyobj
= PyUnicode_FromWideChar((&wxPyRadioButtonNameStr
)->c_str(), (&wxPyRadioButtonNameStr
)->Len());
11664 pyobj
= PyString_FromStringAndSize((&wxPyRadioButtonNameStr
)->c_str(), (&wxPyRadioButtonNameStr
)->Len());
11671 static PyObject
*_wrap_new_RadioBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11672 PyObject
*resultobj
;
11673 wxWindow
*arg1
= (wxWindow
*) 0 ;
11674 int arg2
= (int) -1 ;
11675 wxString
const &arg3_defvalue
= wxPyEmptyString
;
11676 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
11677 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
11678 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
11679 wxSize
const &arg5_defvalue
= wxDefaultSize
;
11680 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
11681 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
11682 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
11683 int arg7
= (int) 0 ;
11684 long arg8
= (long) wxRA_HORIZONTAL
;
11685 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
11686 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
11687 wxString
const &arg10_defvalue
= wxPyRadioBoxNameStr
;
11688 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
11689 wxRadioBox
*result
;
11690 bool temp3
= False
;
11693 bool temp6
= False
;
11694 bool temp10
= False
;
11695 PyObject
* obj0
= 0 ;
11696 PyObject
* obj1
= 0 ;
11697 PyObject
* obj2
= 0 ;
11698 PyObject
* obj3
= 0 ;
11699 PyObject
* obj4
= 0 ;
11700 PyObject
* obj5
= 0 ;
11701 PyObject
* obj6
= 0 ;
11702 PyObject
* obj7
= 0 ;
11703 PyObject
* obj8
= 0 ;
11704 PyObject
* obj9
= 0 ;
11705 char *kwnames
[] = {
11706 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
11709 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOOO:new_RadioBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
11710 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
11711 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11713 arg2
= (int) SWIG_AsInt(obj1
);
11714 if (PyErr_Occurred()) SWIG_fail
;
11718 arg3
= wxString_in_helper(obj2
);
11719 if (arg3
== NULL
) SWIG_fail
;
11726 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
11732 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
11737 if (! PySequence_Check(obj5
)) {
11738 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
11741 arg6
= new wxArrayString
;
11743 int i
, len
=PySequence_Length(obj5
);
11744 for (i
=0; i
<len
; i
++) {
11745 PyObject
* item
= PySequence_GetItem(obj5
, i
);
11747 PyObject
* str
= PyObject_Unicode(item
);
11749 PyObject
* str
= PyObject_Str(item
);
11751 if (PyErr_Occurred()) SWIG_fail
;
11752 arg6
->Add(Py2wxString(str
));
11759 arg7
= (int) SWIG_AsInt(obj6
);
11760 if (PyErr_Occurred()) SWIG_fail
;
11763 arg8
= (long) SWIG_AsLong(obj7
);
11764 if (PyErr_Occurred()) SWIG_fail
;
11767 if ((SWIG_ConvertPtr(obj8
,(void **)(&arg9
),SWIGTYPE_p_wxValidator
,
11768 SWIG_POINTER_EXCEPTION
| 0)) == -1)
11770 if (arg9
== NULL
) {
11771 PyErr_SetString(PyExc_TypeError
,"null reference");
11777 arg10
= wxString_in_helper(obj9
);
11778 if (arg10
== NULL
) SWIG_fail
;
11783 if (!wxPyCheckForApp()) SWIG_fail
;
11784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11785 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
);
11787 wxPyEndAllowThreads(__tstate
);
11788 if (PyErr_Occurred()) SWIG_fail
;
11790 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRadioBox
, 1);
11796 if (temp6
) delete arg6
;
11809 if (temp6
) delete arg6
;
11819 static PyObject
*_wrap_new_PreRadioBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11820 PyObject
*resultobj
;
11821 wxRadioBox
*result
;
11822 char *kwnames
[] = {
11826 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreRadioBox",kwnames
)) goto fail
;
11828 if (!wxPyCheckForApp()) SWIG_fail
;
11829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11830 result
= (wxRadioBox
*)new wxRadioBox();
11832 wxPyEndAllowThreads(__tstate
);
11833 if (PyErr_Occurred()) SWIG_fail
;
11835 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRadioBox
, 1);
11842 static PyObject
*_wrap_RadioBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11843 PyObject
*resultobj
;
11844 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
11845 wxWindow
*arg2
= (wxWindow
*) 0 ;
11846 int arg3
= (int) -1 ;
11847 wxString
const &arg4_defvalue
= wxPyEmptyString
;
11848 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
11849 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
11850 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
11851 wxSize
const &arg6_defvalue
= wxDefaultSize
;
11852 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
11853 wxArrayString
const &arg7_defvalue
= wxPyEmptyStringArray
;
11854 wxArrayString
*arg7
= (wxArrayString
*) &arg7_defvalue
;
11855 int arg8
= (int) 0 ;
11856 long arg9
= (long) wxRA_HORIZONTAL
;
11857 wxValidator
const &arg10_defvalue
= wxDefaultValidator
;
11858 wxValidator
*arg10
= (wxValidator
*) &arg10_defvalue
;
11859 wxString
const &arg11_defvalue
= wxPyRadioBoxNameStr
;
11860 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
11862 bool temp4
= False
;
11865 bool temp7
= False
;
11866 bool temp11
= False
;
11867 PyObject
* obj0
= 0 ;
11868 PyObject
* obj1
= 0 ;
11869 PyObject
* obj2
= 0 ;
11870 PyObject
* obj3
= 0 ;
11871 PyObject
* obj4
= 0 ;
11872 PyObject
* obj5
= 0 ;
11873 PyObject
* obj6
= 0 ;
11874 PyObject
* obj7
= 0 ;
11875 PyObject
* obj8
= 0 ;
11876 PyObject
* obj9
= 0 ;
11877 PyObject
* obj10
= 0 ;
11878 char *kwnames
[] = {
11879 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
11882 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOOO:RadioBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) goto fail
;
11883 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
11884 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11885 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
11886 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11888 arg3
= (int) SWIG_AsInt(obj2
);
11889 if (PyErr_Occurred()) SWIG_fail
;
11893 arg4
= wxString_in_helper(obj3
);
11894 if (arg4
== NULL
) SWIG_fail
;
11901 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
11907 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
11912 if (! PySequence_Check(obj6
)) {
11913 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
11916 arg7
= new wxArrayString
;
11918 int i
, len
=PySequence_Length(obj6
);
11919 for (i
=0; i
<len
; i
++) {
11920 PyObject
* item
= PySequence_GetItem(obj6
, i
);
11922 PyObject
* str
= PyObject_Unicode(item
);
11924 PyObject
* str
= PyObject_Str(item
);
11926 if (PyErr_Occurred()) SWIG_fail
;
11927 arg7
->Add(Py2wxString(str
));
11934 arg8
= (int) SWIG_AsInt(obj7
);
11935 if (PyErr_Occurred()) SWIG_fail
;
11938 arg9
= (long) SWIG_AsLong(obj8
);
11939 if (PyErr_Occurred()) SWIG_fail
;
11942 if ((SWIG_ConvertPtr(obj9
,(void **)(&arg10
),SWIGTYPE_p_wxValidator
,
11943 SWIG_POINTER_EXCEPTION
| 0)) == -1)
11945 if (arg10
== NULL
) {
11946 PyErr_SetString(PyExc_TypeError
,"null reference");
11952 arg11
= wxString_in_helper(obj10
);
11953 if (arg11
== NULL
) SWIG_fail
;
11958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11959 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
);
11961 wxPyEndAllowThreads(__tstate
);
11962 if (PyErr_Occurred()) SWIG_fail
;
11965 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11972 if (temp7
) delete arg7
;
11985 if (temp7
) delete arg7
;
11995 static PyObject
*_wrap_RadioBox_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11996 PyObject
*resultobj
;
11997 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
11999 PyObject
* obj0
= 0 ;
12000 PyObject
* obj1
= 0 ;
12001 char *kwnames
[] = {
12002 (char *) "self",(char *) "n", NULL
12005 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
12006 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
12007 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12008 arg2
= (int) SWIG_AsInt(obj1
);
12009 if (PyErr_Occurred()) SWIG_fail
;
12011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12012 (arg1
)->SetSelection(arg2
);
12014 wxPyEndAllowThreads(__tstate
);
12015 if (PyErr_Occurred()) SWIG_fail
;
12017 Py_INCREF(Py_None
); resultobj
= Py_None
;
12024 static PyObject
*_wrap_RadioBox_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12025 PyObject
*resultobj
;
12026 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
12028 PyObject
* obj0
= 0 ;
12029 char *kwnames
[] = {
12030 (char *) "self", NULL
12033 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetSelection",kwnames
,&obj0
)) goto fail
;
12034 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
12035 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12038 result
= (int)((wxRadioBox
const *)arg1
)->GetSelection();
12040 wxPyEndAllowThreads(__tstate
);
12041 if (PyErr_Occurred()) SWIG_fail
;
12043 resultobj
= SWIG_FromInt((int)result
);
12050 static PyObject
*_wrap_RadioBox_GetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12051 PyObject
*resultobj
;
12052 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
12054 PyObject
* obj0
= 0 ;
12055 char *kwnames
[] = {
12056 (char *) "self", NULL
12059 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetStringSelection",kwnames
,&obj0
)) goto fail
;
12060 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
12061 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12064 result
= ((wxRadioBox
const *)arg1
)->GetStringSelection();
12066 wxPyEndAllowThreads(__tstate
);
12067 if (PyErr_Occurred()) SWIG_fail
;
12071 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12073 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12082 static PyObject
*_wrap_RadioBox_SetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12083 PyObject
*resultobj
;
12084 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
12085 wxString
*arg2
= 0 ;
12087 bool temp2
= False
;
12088 PyObject
* obj0
= 0 ;
12089 PyObject
* obj1
= 0 ;
12090 char *kwnames
[] = {
12091 (char *) "self",(char *) "s", NULL
12094 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_SetStringSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
12095 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
12096 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12098 arg2
= wxString_in_helper(obj1
);
12099 if (arg2
== NULL
) SWIG_fail
;
12103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12104 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
);
12106 wxPyEndAllowThreads(__tstate
);
12107 if (PyErr_Occurred()) SWIG_fail
;
12110 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12126 static PyObject
*_wrap_RadioBox_GetCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12127 PyObject
*resultobj
;
12128 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
12130 PyObject
* obj0
= 0 ;
12131 char *kwnames
[] = {
12132 (char *) "self", NULL
12135 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetCount",kwnames
,&obj0
)) goto fail
;
12136 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
12137 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12140 result
= (int)((wxRadioBox
const *)arg1
)->GetCount();
12142 wxPyEndAllowThreads(__tstate
);
12143 if (PyErr_Occurred()) SWIG_fail
;
12145 resultobj
= SWIG_FromInt((int)result
);
12152 static PyObject
*_wrap_RadioBox_FindString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12153 PyObject
*resultobj
;
12154 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
12155 wxString
*arg2
= 0 ;
12157 bool temp2
= False
;
12158 PyObject
* obj0
= 0 ;
12159 PyObject
* obj1
= 0 ;
12160 char *kwnames
[] = {
12161 (char *) "self",(char *) "s", NULL
12164 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_FindString",kwnames
,&obj0
,&obj1
)) goto fail
;
12165 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
12166 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12168 arg2
= wxString_in_helper(obj1
);
12169 if (arg2
== NULL
) SWIG_fail
;
12173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12174 result
= (int)((wxRadioBox
const *)arg1
)->FindString((wxString
const &)*arg2
);
12176 wxPyEndAllowThreads(__tstate
);
12177 if (PyErr_Occurred()) SWIG_fail
;
12179 resultobj
= SWIG_FromInt((int)result
);
12194 static PyObject
*_wrap_RadioBox_GetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12195 PyObject
*resultobj
;
12196 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
12199 PyObject
* obj0
= 0 ;
12200 PyObject
* obj1
= 0 ;
12201 char *kwnames
[] = {
12202 (char *) "self",(char *) "n", NULL
12205 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_GetString",kwnames
,&obj0
,&obj1
)) goto fail
;
12206 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
12207 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12208 arg2
= (int) SWIG_AsInt(obj1
);
12209 if (PyErr_Occurred()) SWIG_fail
;
12211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12212 result
= ((wxRadioBox
const *)arg1
)->GetString(arg2
);
12214 wxPyEndAllowThreads(__tstate
);
12215 if (PyErr_Occurred()) SWIG_fail
;
12219 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12221 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12230 static PyObject
*_wrap_RadioBox_SetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12231 PyObject
*resultobj
;
12232 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
12234 wxString
*arg3
= 0 ;
12235 bool temp3
= False
;
12236 PyObject
* obj0
= 0 ;
12237 PyObject
* obj1
= 0 ;
12238 PyObject
* obj2
= 0 ;
12239 char *kwnames
[] = {
12240 (char *) "self",(char *) "n",(char *) "label", NULL
12243 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:RadioBox_SetString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12244 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
12245 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12246 arg2
= (int) SWIG_AsInt(obj1
);
12247 if (PyErr_Occurred()) SWIG_fail
;
12249 arg3
= wxString_in_helper(obj2
);
12250 if (arg3
== NULL
) SWIG_fail
;
12254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12255 (arg1
)->SetString(arg2
,(wxString
const &)*arg3
);
12257 wxPyEndAllowThreads(__tstate
);
12258 if (PyErr_Occurred()) SWIG_fail
;
12260 Py_INCREF(Py_None
); resultobj
= Py_None
;
12275 static PyObject
*_wrap_RadioBox_EnableItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12276 PyObject
*resultobj
;
12277 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
12279 bool arg3
= (bool) True
;
12280 PyObject
* obj0
= 0 ;
12281 PyObject
* obj1
= 0 ;
12282 PyObject
* obj2
= 0 ;
12283 char *kwnames
[] = {
12284 (char *) "self",(char *) "n",(char *) "enable", NULL
12287 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:RadioBox_EnableItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12288 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
12289 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12290 arg2
= (int) SWIG_AsInt(obj1
);
12291 if (PyErr_Occurred()) SWIG_fail
;
12293 arg3
= (bool) SWIG_AsBool(obj2
);
12294 if (PyErr_Occurred()) SWIG_fail
;
12297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12298 (arg1
)->Enable(arg2
,arg3
);
12300 wxPyEndAllowThreads(__tstate
);
12301 if (PyErr_Occurred()) SWIG_fail
;
12303 Py_INCREF(Py_None
); resultobj
= Py_None
;
12310 static PyObject
*_wrap_RadioBox_ShowItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12311 PyObject
*resultobj
;
12312 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
12314 bool arg3
= (bool) True
;
12315 PyObject
* obj0
= 0 ;
12316 PyObject
* obj1
= 0 ;
12317 PyObject
* obj2
= 0 ;
12318 char *kwnames
[] = {
12319 (char *) "self",(char *) "n",(char *) "show", NULL
12322 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:RadioBox_ShowItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12323 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
12324 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12325 arg2
= (int) SWIG_AsInt(obj1
);
12326 if (PyErr_Occurred()) SWIG_fail
;
12328 arg3
= (bool) SWIG_AsBool(obj2
);
12329 if (PyErr_Occurred()) SWIG_fail
;
12332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12333 (arg1
)->Show(arg2
,arg3
);
12335 wxPyEndAllowThreads(__tstate
);
12336 if (PyErr_Occurred()) SWIG_fail
;
12338 Py_INCREF(Py_None
); resultobj
= Py_None
;
12345 static PyObject
*_wrap_RadioBox_GetColumnCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12346 PyObject
*resultobj
;
12347 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
12349 PyObject
* obj0
= 0 ;
12350 char *kwnames
[] = {
12351 (char *) "self", NULL
12354 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetColumnCount",kwnames
,&obj0
)) goto fail
;
12355 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
12356 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12359 result
= (int)((wxRadioBox
const *)arg1
)->GetColumnCount();
12361 wxPyEndAllowThreads(__tstate
);
12362 if (PyErr_Occurred()) SWIG_fail
;
12364 resultobj
= SWIG_FromInt((int)result
);
12371 static PyObject
*_wrap_RadioBox_GetRowCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12372 PyObject
*resultobj
;
12373 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
12375 PyObject
* obj0
= 0 ;
12376 char *kwnames
[] = {
12377 (char *) "self", NULL
12380 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetRowCount",kwnames
,&obj0
)) goto fail
;
12381 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
12382 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12385 result
= (int)((wxRadioBox
const *)arg1
)->GetRowCount();
12387 wxPyEndAllowThreads(__tstate
);
12388 if (PyErr_Occurred()) SWIG_fail
;
12390 resultobj
= SWIG_FromInt((int)result
);
12397 static PyObject
*_wrap_RadioBox_GetNextItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12398 PyObject
*resultobj
;
12399 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
12404 PyObject
* obj0
= 0 ;
12405 PyObject
* obj1
= 0 ;
12406 PyObject
* obj2
= 0 ;
12407 PyObject
* obj3
= 0 ;
12408 char *kwnames
[] = {
12409 (char *) "self",(char *) "item",(char *) "dir",(char *) "style", NULL
12412 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:RadioBox_GetNextItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
12413 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
12414 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12415 arg2
= (int) SWIG_AsInt(obj1
);
12416 if (PyErr_Occurred()) SWIG_fail
;
12417 arg3
= (wxDirection
) SWIG_AsInt(obj2
);
12418 if (PyErr_Occurred()) SWIG_fail
;
12419 arg4
= (long) SWIG_AsLong(obj3
);
12420 if (PyErr_Occurred()) SWIG_fail
;
12422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12423 result
= (int)((wxRadioBox
const *)arg1
)->GetNextItem(arg2
,(wxDirection
)arg3
,arg4
);
12425 wxPyEndAllowThreads(__tstate
);
12426 if (PyErr_Occurred()) SWIG_fail
;
12428 resultobj
= SWIG_FromInt((int)result
);
12435 static PyObject
*_wrap_RadioBox_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12436 PyObject
*resultobj
;
12437 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
12438 wxVisualAttributes result
;
12439 PyObject
* obj0
= 0 ;
12440 char *kwnames
[] = {
12441 (char *) "variant", NULL
12444 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:RadioBox_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
12446 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
12447 if (PyErr_Occurred()) SWIG_fail
;
12450 if (!wxPyCheckForApp()) SWIG_fail
;
12451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12452 result
= wxRadioBox::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
12454 wxPyEndAllowThreads(__tstate
);
12455 if (PyErr_Occurred()) SWIG_fail
;
12458 wxVisualAttributes
* resultptr
;
12459 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
12460 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
12468 static PyObject
* RadioBox_swigregister(PyObject
*self
, PyObject
*args
) {
12470 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12471 SWIG_TypeClientData(SWIGTYPE_p_wxRadioBox
, obj
);
12473 return Py_BuildValue((char *)"");
12475 static PyObject
*_wrap_new_RadioButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12476 PyObject
*resultobj
;
12477 wxWindow
*arg1
= (wxWindow
*) 0 ;
12478 int arg2
= (int) -1 ;
12479 wxString
const &arg3_defvalue
= wxPyEmptyString
;
12480 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
12481 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
12482 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
12483 wxSize
const &arg5_defvalue
= wxDefaultSize
;
12484 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
12485 long arg6
= (long) 0 ;
12486 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
12487 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
12488 wxString
const &arg8_defvalue
= wxPyRadioButtonNameStr
;
12489 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
12490 wxRadioButton
*result
;
12491 bool temp3
= False
;
12494 bool temp8
= False
;
12495 PyObject
* obj0
= 0 ;
12496 PyObject
* obj1
= 0 ;
12497 PyObject
* obj2
= 0 ;
12498 PyObject
* obj3
= 0 ;
12499 PyObject
* obj4
= 0 ;
12500 PyObject
* obj5
= 0 ;
12501 PyObject
* obj6
= 0 ;
12502 PyObject
* obj7
= 0 ;
12503 char *kwnames
[] = {
12504 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
12507 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_RadioButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
12508 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
12509 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12511 arg2
= (int) SWIG_AsInt(obj1
);
12512 if (PyErr_Occurred()) SWIG_fail
;
12516 arg3
= wxString_in_helper(obj2
);
12517 if (arg3
== NULL
) SWIG_fail
;
12524 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
12530 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
12534 arg6
= (long) SWIG_AsLong(obj5
);
12535 if (PyErr_Occurred()) SWIG_fail
;
12538 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
12539 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12541 if (arg7
== NULL
) {
12542 PyErr_SetString(PyExc_TypeError
,"null reference");
12548 arg8
= wxString_in_helper(obj7
);
12549 if (arg8
== NULL
) SWIG_fail
;
12554 if (!wxPyCheckForApp()) SWIG_fail
;
12555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12556 result
= (wxRadioButton
*)new wxRadioButton(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
12558 wxPyEndAllowThreads(__tstate
);
12559 if (PyErr_Occurred()) SWIG_fail
;
12561 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRadioButton
, 1);
12584 static PyObject
*_wrap_new_PreRadioButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12585 PyObject
*resultobj
;
12586 wxRadioButton
*result
;
12587 char *kwnames
[] = {
12591 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreRadioButton",kwnames
)) goto fail
;
12593 if (!wxPyCheckForApp()) SWIG_fail
;
12594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12595 result
= (wxRadioButton
*)new wxRadioButton();
12597 wxPyEndAllowThreads(__tstate
);
12598 if (PyErr_Occurred()) SWIG_fail
;
12600 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRadioButton
, 1);
12607 static PyObject
*_wrap_RadioButton_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12608 PyObject
*resultobj
;
12609 wxRadioButton
*arg1
= (wxRadioButton
*) 0 ;
12610 wxWindow
*arg2
= (wxWindow
*) 0 ;
12611 int arg3
= (int) -1 ;
12612 wxString
const &arg4_defvalue
= wxPyEmptyString
;
12613 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
12614 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
12615 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
12616 wxSize
const &arg6_defvalue
= wxDefaultSize
;
12617 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
12618 long arg7
= (long) 0 ;
12619 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
12620 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
12621 wxString
const &arg9_defvalue
= wxPyRadioButtonNameStr
;
12622 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
12624 bool temp4
= False
;
12627 bool temp9
= False
;
12628 PyObject
* obj0
= 0 ;
12629 PyObject
* obj1
= 0 ;
12630 PyObject
* obj2
= 0 ;
12631 PyObject
* obj3
= 0 ;
12632 PyObject
* obj4
= 0 ;
12633 PyObject
* obj5
= 0 ;
12634 PyObject
* obj6
= 0 ;
12635 PyObject
* obj7
= 0 ;
12636 PyObject
* obj8
= 0 ;
12637 char *kwnames
[] = {
12638 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
12641 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:RadioButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
12642 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioButton
,
12643 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12644 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
12645 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12647 arg3
= (int) SWIG_AsInt(obj2
);
12648 if (PyErr_Occurred()) SWIG_fail
;
12652 arg4
= wxString_in_helper(obj3
);
12653 if (arg4
== NULL
) SWIG_fail
;
12660 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
12666 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
12670 arg7
= (long) SWIG_AsLong(obj6
);
12671 if (PyErr_Occurred()) SWIG_fail
;
12674 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
12675 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12677 if (arg8
== NULL
) {
12678 PyErr_SetString(PyExc_TypeError
,"null reference");
12684 arg9
= wxString_in_helper(obj8
);
12685 if (arg9
== NULL
) SWIG_fail
;
12690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12691 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
12693 wxPyEndAllowThreads(__tstate
);
12694 if (PyErr_Occurred()) SWIG_fail
;
12697 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12721 static PyObject
*_wrap_RadioButton_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12722 PyObject
*resultobj
;
12723 wxRadioButton
*arg1
= (wxRadioButton
*) 0 ;
12725 PyObject
* obj0
= 0 ;
12726 char *kwnames
[] = {
12727 (char *) "self", NULL
12730 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioButton_GetValue",kwnames
,&obj0
)) goto fail
;
12731 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioButton
,
12732 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12735 result
= (bool)(arg1
)->GetValue();
12737 wxPyEndAllowThreads(__tstate
);
12738 if (PyErr_Occurred()) SWIG_fail
;
12741 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12749 static PyObject
*_wrap_RadioButton_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12750 PyObject
*resultobj
;
12751 wxRadioButton
*arg1
= (wxRadioButton
*) 0 ;
12753 PyObject
* obj0
= 0 ;
12754 PyObject
* obj1
= 0 ;
12755 char *kwnames
[] = {
12756 (char *) "self",(char *) "value", NULL
12759 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioButton_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
12760 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioButton
,
12761 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12762 arg2
= (bool) SWIG_AsBool(obj1
);
12763 if (PyErr_Occurred()) SWIG_fail
;
12765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12766 (arg1
)->SetValue(arg2
);
12768 wxPyEndAllowThreads(__tstate
);
12769 if (PyErr_Occurred()) SWIG_fail
;
12771 Py_INCREF(Py_None
); resultobj
= Py_None
;
12778 static PyObject
*_wrap_RadioButton_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12779 PyObject
*resultobj
;
12780 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
12781 wxVisualAttributes result
;
12782 PyObject
* obj0
= 0 ;
12783 char *kwnames
[] = {
12784 (char *) "variant", NULL
12787 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:RadioButton_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
12789 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
12790 if (PyErr_Occurred()) SWIG_fail
;
12793 if (!wxPyCheckForApp()) SWIG_fail
;
12794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12795 result
= wxRadioButton::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
12797 wxPyEndAllowThreads(__tstate
);
12798 if (PyErr_Occurred()) SWIG_fail
;
12801 wxVisualAttributes
* resultptr
;
12802 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
12803 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
12811 static PyObject
* RadioButton_swigregister(PyObject
*self
, PyObject
*args
) {
12813 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12814 SWIG_TypeClientData(SWIGTYPE_p_wxRadioButton
, obj
);
12816 return Py_BuildValue((char *)"");
12818 static int _wrap_SliderNameStr_set(PyObject
*_val
) {
12819 PyErr_SetString(PyExc_TypeError
,"Variable SliderNameStr is read-only.");
12824 static PyObject
*_wrap_SliderNameStr_get() {
12829 pyobj
= PyUnicode_FromWideChar((&wxPySliderNameStr
)->c_str(), (&wxPySliderNameStr
)->Len());
12831 pyobj
= PyString_FromStringAndSize((&wxPySliderNameStr
)->c_str(), (&wxPySliderNameStr
)->Len());
12838 static PyObject
*_wrap_new_Slider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12839 PyObject
*resultobj
;
12840 wxWindow
*arg1
= (wxWindow
*) 0 ;
12841 int arg2
= (int) -1 ;
12842 int arg3
= (int) 0 ;
12843 int arg4
= (int) 0 ;
12844 int arg5
= (int) 100 ;
12845 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
12846 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
12847 wxSize
const &arg7_defvalue
= wxDefaultSize
;
12848 wxSize
*arg7
= (wxSize
*) &arg7_defvalue
;
12849 long arg8
= (long) wxSL_HORIZONTAL
;
12850 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
12851 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
12852 wxString
const &arg10_defvalue
= wxPySliderNameStr
;
12853 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
12857 bool temp10
= False
;
12858 PyObject
* obj0
= 0 ;
12859 PyObject
* obj1
= 0 ;
12860 PyObject
* obj2
= 0 ;
12861 PyObject
* obj3
= 0 ;
12862 PyObject
* obj4
= 0 ;
12863 PyObject
* obj5
= 0 ;
12864 PyObject
* obj6
= 0 ;
12865 PyObject
* obj7
= 0 ;
12866 PyObject
* obj8
= 0 ;
12867 PyObject
* obj9
= 0 ;
12868 char *kwnames
[] = {
12869 (char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
12872 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOOO:new_Slider",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
12873 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
12874 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12876 arg2
= (int) SWIG_AsInt(obj1
);
12877 if (PyErr_Occurred()) SWIG_fail
;
12880 arg3
= (int) SWIG_AsInt(obj2
);
12881 if (PyErr_Occurred()) SWIG_fail
;
12884 arg4
= (int) SWIG_AsInt(obj3
);
12885 if (PyErr_Occurred()) SWIG_fail
;
12888 arg5
= (int) SWIG_AsInt(obj4
);
12889 if (PyErr_Occurred()) SWIG_fail
;
12894 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
12900 if ( ! wxSize_helper(obj6
, &arg7
)) SWIG_fail
;
12904 arg8
= (long) SWIG_AsLong(obj7
);
12905 if (PyErr_Occurred()) SWIG_fail
;
12908 if ((SWIG_ConvertPtr(obj8
,(void **)(&arg9
),SWIGTYPE_p_wxValidator
,
12909 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12911 if (arg9
== NULL
) {
12912 PyErr_SetString(PyExc_TypeError
,"null reference");
12918 arg10
= wxString_in_helper(obj9
);
12919 if (arg10
== NULL
) SWIG_fail
;
12924 if (!wxPyCheckForApp()) SWIG_fail
;
12925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12926 result
= (wxSlider
*)new wxSlider(arg1
,arg2
,arg3
,arg4
,arg5
,(wxPoint
const &)*arg6
,(wxSize
const &)*arg7
,arg8
,(wxValidator
const &)*arg9
,(wxString
const &)*arg10
);
12928 wxPyEndAllowThreads(__tstate
);
12929 if (PyErr_Occurred()) SWIG_fail
;
12931 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSlider
, 1);
12946 static PyObject
*_wrap_new_PreSlider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12947 PyObject
*resultobj
;
12949 char *kwnames
[] = {
12953 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSlider",kwnames
)) goto fail
;
12955 if (!wxPyCheckForApp()) SWIG_fail
;
12956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12957 result
= (wxSlider
*)new wxSlider();
12959 wxPyEndAllowThreads(__tstate
);
12960 if (PyErr_Occurred()) SWIG_fail
;
12962 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSlider
, 1);
12969 static PyObject
*_wrap_Slider_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12970 PyObject
*resultobj
;
12971 wxSlider
*arg1
= (wxSlider
*) 0 ;
12972 wxWindow
*arg2
= (wxWindow
*) 0 ;
12973 int arg3
= (int) -1 ;
12974 int arg4
= (int) 0 ;
12975 int arg5
= (int) 0 ;
12976 int arg6
= (int) 100 ;
12977 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
12978 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
12979 wxSize
const &arg8_defvalue
= wxDefaultSize
;
12980 wxSize
*arg8
= (wxSize
*) &arg8_defvalue
;
12981 long arg9
= (long) wxSL_HORIZONTAL
;
12982 wxValidator
const &arg10_defvalue
= wxDefaultValidator
;
12983 wxValidator
*arg10
= (wxValidator
*) &arg10_defvalue
;
12984 wxString
const &arg11_defvalue
= wxPySliderNameStr
;
12985 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
12989 bool temp11
= False
;
12990 PyObject
* obj0
= 0 ;
12991 PyObject
* obj1
= 0 ;
12992 PyObject
* obj2
= 0 ;
12993 PyObject
* obj3
= 0 ;
12994 PyObject
* obj4
= 0 ;
12995 PyObject
* obj5
= 0 ;
12996 PyObject
* obj6
= 0 ;
12997 PyObject
* obj7
= 0 ;
12998 PyObject
* obj8
= 0 ;
12999 PyObject
* obj9
= 0 ;
13000 PyObject
* obj10
= 0 ;
13001 char *kwnames
[] = {
13002 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
13005 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOOO:Slider_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) goto fail
;
13006 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13007 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13008 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
13009 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13011 arg3
= (int) SWIG_AsInt(obj2
);
13012 if (PyErr_Occurred()) SWIG_fail
;
13015 arg4
= (int) SWIG_AsInt(obj3
);
13016 if (PyErr_Occurred()) SWIG_fail
;
13019 arg5
= (int) SWIG_AsInt(obj4
);
13020 if (PyErr_Occurred()) SWIG_fail
;
13023 arg6
= (int) SWIG_AsInt(obj5
);
13024 if (PyErr_Occurred()) SWIG_fail
;
13029 if ( ! wxPoint_helper(obj6
, &arg7
)) SWIG_fail
;
13035 if ( ! wxSize_helper(obj7
, &arg8
)) SWIG_fail
;
13039 arg9
= (long) SWIG_AsLong(obj8
);
13040 if (PyErr_Occurred()) SWIG_fail
;
13043 if ((SWIG_ConvertPtr(obj9
,(void **)(&arg10
),SWIGTYPE_p_wxValidator
,
13044 SWIG_POINTER_EXCEPTION
| 0)) == -1)
13046 if (arg10
== NULL
) {
13047 PyErr_SetString(PyExc_TypeError
,"null reference");
13053 arg11
= wxString_in_helper(obj10
);
13054 if (arg11
== NULL
) SWIG_fail
;
13059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13060 result
= (bool)(arg1
)->Create(arg2
,arg3
,arg4
,arg5
,arg6
,(wxPoint
const &)*arg7
,(wxSize
const &)*arg8
,arg9
,(wxValidator
const &)*arg10
,(wxString
const &)*arg11
);
13062 wxPyEndAllowThreads(__tstate
);
13063 if (PyErr_Occurred()) SWIG_fail
;
13066 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13082 static PyObject
*_wrap_Slider_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13083 PyObject
*resultobj
;
13084 wxSlider
*arg1
= (wxSlider
*) 0 ;
13086 PyObject
* obj0
= 0 ;
13087 char *kwnames
[] = {
13088 (char *) "self", NULL
13091 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetValue",kwnames
,&obj0
)) goto fail
;
13092 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13093 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13096 result
= (int)((wxSlider
const *)arg1
)->GetValue();
13098 wxPyEndAllowThreads(__tstate
);
13099 if (PyErr_Occurred()) SWIG_fail
;
13101 resultobj
= SWIG_FromInt((int)result
);
13108 static PyObject
*_wrap_Slider_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13109 PyObject
*resultobj
;
13110 wxSlider
*arg1
= (wxSlider
*) 0 ;
13112 PyObject
* obj0
= 0 ;
13113 PyObject
* obj1
= 0 ;
13114 char *kwnames
[] = {
13115 (char *) "self",(char *) "value", NULL
13118 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
13119 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13120 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13121 arg2
= (int) SWIG_AsInt(obj1
);
13122 if (PyErr_Occurred()) SWIG_fail
;
13124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13125 (arg1
)->SetValue(arg2
);
13127 wxPyEndAllowThreads(__tstate
);
13128 if (PyErr_Occurred()) SWIG_fail
;
13130 Py_INCREF(Py_None
); resultobj
= Py_None
;
13137 static PyObject
*_wrap_Slider_SetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13138 PyObject
*resultobj
;
13139 wxSlider
*arg1
= (wxSlider
*) 0 ;
13142 PyObject
* obj0
= 0 ;
13143 PyObject
* obj1
= 0 ;
13144 PyObject
* obj2
= 0 ;
13145 char *kwnames
[] = {
13146 (char *) "self",(char *) "minValue",(char *) "maxValue", NULL
13149 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Slider_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13150 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13151 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13152 arg2
= (int) SWIG_AsInt(obj1
);
13153 if (PyErr_Occurred()) SWIG_fail
;
13154 arg3
= (int) SWIG_AsInt(obj2
);
13155 if (PyErr_Occurred()) SWIG_fail
;
13157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13158 (arg1
)->SetRange(arg2
,arg3
);
13160 wxPyEndAllowThreads(__tstate
);
13161 if (PyErr_Occurred()) SWIG_fail
;
13163 Py_INCREF(Py_None
); resultobj
= Py_None
;
13170 static PyObject
*_wrap_Slider_GetMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13171 PyObject
*resultobj
;
13172 wxSlider
*arg1
= (wxSlider
*) 0 ;
13174 PyObject
* obj0
= 0 ;
13175 char *kwnames
[] = {
13176 (char *) "self", NULL
13179 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetMin",kwnames
,&obj0
)) goto fail
;
13180 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13181 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13184 result
= (int)((wxSlider
const *)arg1
)->GetMin();
13186 wxPyEndAllowThreads(__tstate
);
13187 if (PyErr_Occurred()) SWIG_fail
;
13189 resultobj
= SWIG_FromInt((int)result
);
13196 static PyObject
*_wrap_Slider_GetMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13197 PyObject
*resultobj
;
13198 wxSlider
*arg1
= (wxSlider
*) 0 ;
13200 PyObject
* obj0
= 0 ;
13201 char *kwnames
[] = {
13202 (char *) "self", NULL
13205 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetMax",kwnames
,&obj0
)) goto fail
;
13206 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13207 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13210 result
= (int)((wxSlider
const *)arg1
)->GetMax();
13212 wxPyEndAllowThreads(__tstate
);
13213 if (PyErr_Occurred()) SWIG_fail
;
13215 resultobj
= SWIG_FromInt((int)result
);
13222 static PyObject
*_wrap_Slider_SetMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13223 PyObject
*resultobj
;
13224 wxSlider
*arg1
= (wxSlider
*) 0 ;
13226 PyObject
* obj0
= 0 ;
13227 PyObject
* obj1
= 0 ;
13228 char *kwnames
[] = {
13229 (char *) "self",(char *) "minValue", NULL
13232 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetMin",kwnames
,&obj0
,&obj1
)) goto fail
;
13233 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13234 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13235 arg2
= (int) SWIG_AsInt(obj1
);
13236 if (PyErr_Occurred()) SWIG_fail
;
13238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13239 (arg1
)->SetMin(arg2
);
13241 wxPyEndAllowThreads(__tstate
);
13242 if (PyErr_Occurred()) SWIG_fail
;
13244 Py_INCREF(Py_None
); resultobj
= Py_None
;
13251 static PyObject
*_wrap_Slider_SetMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13252 PyObject
*resultobj
;
13253 wxSlider
*arg1
= (wxSlider
*) 0 ;
13255 PyObject
* obj0
= 0 ;
13256 PyObject
* obj1
= 0 ;
13257 char *kwnames
[] = {
13258 (char *) "self",(char *) "maxValue", NULL
13261 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetMax",kwnames
,&obj0
,&obj1
)) goto fail
;
13262 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13263 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13264 arg2
= (int) SWIG_AsInt(obj1
);
13265 if (PyErr_Occurred()) SWIG_fail
;
13267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13268 (arg1
)->SetMax(arg2
);
13270 wxPyEndAllowThreads(__tstate
);
13271 if (PyErr_Occurred()) SWIG_fail
;
13273 Py_INCREF(Py_None
); resultobj
= Py_None
;
13280 static PyObject
*_wrap_Slider_SetLineSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13281 PyObject
*resultobj
;
13282 wxSlider
*arg1
= (wxSlider
*) 0 ;
13284 PyObject
* obj0
= 0 ;
13285 PyObject
* obj1
= 0 ;
13286 char *kwnames
[] = {
13287 (char *) "self",(char *) "lineSize", NULL
13290 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetLineSize",kwnames
,&obj0
,&obj1
)) goto fail
;
13291 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13292 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13293 arg2
= (int) SWIG_AsInt(obj1
);
13294 if (PyErr_Occurred()) SWIG_fail
;
13296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13297 (arg1
)->SetLineSize(arg2
);
13299 wxPyEndAllowThreads(__tstate
);
13300 if (PyErr_Occurred()) SWIG_fail
;
13302 Py_INCREF(Py_None
); resultobj
= Py_None
;
13309 static PyObject
*_wrap_Slider_SetPageSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13310 PyObject
*resultobj
;
13311 wxSlider
*arg1
= (wxSlider
*) 0 ;
13313 PyObject
* obj0
= 0 ;
13314 PyObject
* obj1
= 0 ;
13315 char *kwnames
[] = {
13316 (char *) "self",(char *) "pageSize", NULL
13319 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetPageSize",kwnames
,&obj0
,&obj1
)) goto fail
;
13320 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13321 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13322 arg2
= (int) SWIG_AsInt(obj1
);
13323 if (PyErr_Occurred()) SWIG_fail
;
13325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13326 (arg1
)->SetPageSize(arg2
);
13328 wxPyEndAllowThreads(__tstate
);
13329 if (PyErr_Occurred()) SWIG_fail
;
13331 Py_INCREF(Py_None
); resultobj
= Py_None
;
13338 static PyObject
*_wrap_Slider_GetLineSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13339 PyObject
*resultobj
;
13340 wxSlider
*arg1
= (wxSlider
*) 0 ;
13342 PyObject
* obj0
= 0 ;
13343 char *kwnames
[] = {
13344 (char *) "self", NULL
13347 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetLineSize",kwnames
,&obj0
)) goto fail
;
13348 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13349 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13352 result
= (int)((wxSlider
const *)arg1
)->GetLineSize();
13354 wxPyEndAllowThreads(__tstate
);
13355 if (PyErr_Occurred()) SWIG_fail
;
13357 resultobj
= SWIG_FromInt((int)result
);
13364 static PyObject
*_wrap_Slider_GetPageSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13365 PyObject
*resultobj
;
13366 wxSlider
*arg1
= (wxSlider
*) 0 ;
13368 PyObject
* obj0
= 0 ;
13369 char *kwnames
[] = {
13370 (char *) "self", NULL
13373 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetPageSize",kwnames
,&obj0
)) goto fail
;
13374 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13375 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13378 result
= (int)((wxSlider
const *)arg1
)->GetPageSize();
13380 wxPyEndAllowThreads(__tstate
);
13381 if (PyErr_Occurred()) SWIG_fail
;
13383 resultobj
= SWIG_FromInt((int)result
);
13390 static PyObject
*_wrap_Slider_SetThumbLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13391 PyObject
*resultobj
;
13392 wxSlider
*arg1
= (wxSlider
*) 0 ;
13394 PyObject
* obj0
= 0 ;
13395 PyObject
* obj1
= 0 ;
13396 char *kwnames
[] = {
13397 (char *) "self",(char *) "lenPixels", NULL
13400 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetThumbLength",kwnames
,&obj0
,&obj1
)) goto fail
;
13401 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13402 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13403 arg2
= (int) SWIG_AsInt(obj1
);
13404 if (PyErr_Occurred()) SWIG_fail
;
13406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13407 (arg1
)->SetThumbLength(arg2
);
13409 wxPyEndAllowThreads(__tstate
);
13410 if (PyErr_Occurred()) SWIG_fail
;
13412 Py_INCREF(Py_None
); resultobj
= Py_None
;
13419 static PyObject
*_wrap_Slider_GetThumbLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13420 PyObject
*resultobj
;
13421 wxSlider
*arg1
= (wxSlider
*) 0 ;
13423 PyObject
* obj0
= 0 ;
13424 char *kwnames
[] = {
13425 (char *) "self", NULL
13428 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetThumbLength",kwnames
,&obj0
)) goto fail
;
13429 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13430 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13433 result
= (int)((wxSlider
const *)arg1
)->GetThumbLength();
13435 wxPyEndAllowThreads(__tstate
);
13436 if (PyErr_Occurred()) SWIG_fail
;
13438 resultobj
= SWIG_FromInt((int)result
);
13445 static PyObject
*_wrap_Slider_SetTickFreq(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13446 PyObject
*resultobj
;
13447 wxSlider
*arg1
= (wxSlider
*) 0 ;
13449 int arg3
= (int) 1 ;
13450 PyObject
* obj0
= 0 ;
13451 PyObject
* obj1
= 0 ;
13452 PyObject
* obj2
= 0 ;
13453 char *kwnames
[] = {
13454 (char *) "self",(char *) "n",(char *) "pos", NULL
13457 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Slider_SetTickFreq",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13458 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13459 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13460 arg2
= (int) SWIG_AsInt(obj1
);
13461 if (PyErr_Occurred()) SWIG_fail
;
13463 arg3
= (int) SWIG_AsInt(obj2
);
13464 if (PyErr_Occurred()) SWIG_fail
;
13467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13468 (arg1
)->SetTickFreq(arg2
,arg3
);
13470 wxPyEndAllowThreads(__tstate
);
13471 if (PyErr_Occurred()) SWIG_fail
;
13473 Py_INCREF(Py_None
); resultobj
= Py_None
;
13480 static PyObject
*_wrap_Slider_GetTickFreq(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13481 PyObject
*resultobj
;
13482 wxSlider
*arg1
= (wxSlider
*) 0 ;
13484 PyObject
* obj0
= 0 ;
13485 char *kwnames
[] = {
13486 (char *) "self", NULL
13489 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetTickFreq",kwnames
,&obj0
)) goto fail
;
13490 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13491 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13494 result
= (int)((wxSlider
const *)arg1
)->GetTickFreq();
13496 wxPyEndAllowThreads(__tstate
);
13497 if (PyErr_Occurred()) SWIG_fail
;
13499 resultobj
= SWIG_FromInt((int)result
);
13506 static PyObject
*_wrap_Slider_ClearTicks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13507 PyObject
*resultobj
;
13508 wxSlider
*arg1
= (wxSlider
*) 0 ;
13509 PyObject
* obj0
= 0 ;
13510 char *kwnames
[] = {
13511 (char *) "self", NULL
13514 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_ClearTicks",kwnames
,&obj0
)) goto fail
;
13515 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13516 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13519 (arg1
)->ClearTicks();
13521 wxPyEndAllowThreads(__tstate
);
13522 if (PyErr_Occurred()) SWIG_fail
;
13524 Py_INCREF(Py_None
); resultobj
= Py_None
;
13531 static PyObject
*_wrap_Slider_SetTick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13532 PyObject
*resultobj
;
13533 wxSlider
*arg1
= (wxSlider
*) 0 ;
13535 PyObject
* obj0
= 0 ;
13536 PyObject
* obj1
= 0 ;
13537 char *kwnames
[] = {
13538 (char *) "self",(char *) "tickPos", NULL
13541 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetTick",kwnames
,&obj0
,&obj1
)) goto fail
;
13542 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13543 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13544 arg2
= (int) SWIG_AsInt(obj1
);
13545 if (PyErr_Occurred()) SWIG_fail
;
13547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13548 (arg1
)->SetTick(arg2
);
13550 wxPyEndAllowThreads(__tstate
);
13551 if (PyErr_Occurred()) SWIG_fail
;
13553 Py_INCREF(Py_None
); resultobj
= Py_None
;
13560 static PyObject
*_wrap_Slider_ClearSel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13561 PyObject
*resultobj
;
13562 wxSlider
*arg1
= (wxSlider
*) 0 ;
13563 PyObject
* obj0
= 0 ;
13564 char *kwnames
[] = {
13565 (char *) "self", NULL
13568 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_ClearSel",kwnames
,&obj0
)) goto fail
;
13569 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13570 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13573 (arg1
)->ClearSel();
13575 wxPyEndAllowThreads(__tstate
);
13576 if (PyErr_Occurred()) SWIG_fail
;
13578 Py_INCREF(Py_None
); resultobj
= Py_None
;
13585 static PyObject
*_wrap_Slider_GetSelEnd(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13586 PyObject
*resultobj
;
13587 wxSlider
*arg1
= (wxSlider
*) 0 ;
13589 PyObject
* obj0
= 0 ;
13590 char *kwnames
[] = {
13591 (char *) "self", NULL
13594 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetSelEnd",kwnames
,&obj0
)) goto fail
;
13595 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13596 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13599 result
= (int)((wxSlider
const *)arg1
)->GetSelEnd();
13601 wxPyEndAllowThreads(__tstate
);
13602 if (PyErr_Occurred()) SWIG_fail
;
13604 resultobj
= SWIG_FromInt((int)result
);
13611 static PyObject
*_wrap_Slider_GetSelStart(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13612 PyObject
*resultobj
;
13613 wxSlider
*arg1
= (wxSlider
*) 0 ;
13615 PyObject
* obj0
= 0 ;
13616 char *kwnames
[] = {
13617 (char *) "self", NULL
13620 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetSelStart",kwnames
,&obj0
)) goto fail
;
13621 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13622 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13625 result
= (int)((wxSlider
const *)arg1
)->GetSelStart();
13627 wxPyEndAllowThreads(__tstate
);
13628 if (PyErr_Occurred()) SWIG_fail
;
13630 resultobj
= SWIG_FromInt((int)result
);
13637 static PyObject
*_wrap_Slider_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13638 PyObject
*resultobj
;
13639 wxSlider
*arg1
= (wxSlider
*) 0 ;
13642 PyObject
* obj0
= 0 ;
13643 PyObject
* obj1
= 0 ;
13644 PyObject
* obj2
= 0 ;
13645 char *kwnames
[] = {
13646 (char *) "self",(char *) "min",(char *) "max", NULL
13649 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Slider_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13650 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13651 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13652 arg2
= (int) SWIG_AsInt(obj1
);
13653 if (PyErr_Occurred()) SWIG_fail
;
13654 arg3
= (int) SWIG_AsInt(obj2
);
13655 if (PyErr_Occurred()) SWIG_fail
;
13657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13658 (arg1
)->SetSelection(arg2
,arg3
);
13660 wxPyEndAllowThreads(__tstate
);
13661 if (PyErr_Occurred()) SWIG_fail
;
13663 Py_INCREF(Py_None
); resultobj
= Py_None
;
13670 static PyObject
*_wrap_Slider_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13671 PyObject
*resultobj
;
13672 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
13673 wxVisualAttributes result
;
13674 PyObject
* obj0
= 0 ;
13675 char *kwnames
[] = {
13676 (char *) "variant", NULL
13679 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Slider_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
13681 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
13682 if (PyErr_Occurred()) SWIG_fail
;
13685 if (!wxPyCheckForApp()) SWIG_fail
;
13686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13687 result
= wxSlider::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
13689 wxPyEndAllowThreads(__tstate
);
13690 if (PyErr_Occurred()) SWIG_fail
;
13693 wxVisualAttributes
* resultptr
;
13694 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
13695 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
13703 static PyObject
* Slider_swigregister(PyObject
*self
, PyObject
*args
) {
13705 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13706 SWIG_TypeClientData(SWIGTYPE_p_wxSlider
, obj
);
13708 return Py_BuildValue((char *)"");
13710 static int _wrap_ToggleButtonNameStr_set(PyObject
*_val
) {
13711 PyErr_SetString(PyExc_TypeError
,"Variable ToggleButtonNameStr is read-only.");
13716 static PyObject
*_wrap_ToggleButtonNameStr_get() {
13721 pyobj
= PyUnicode_FromWideChar((&wxPyToggleButtonNameStr
)->c_str(), (&wxPyToggleButtonNameStr
)->Len());
13723 pyobj
= PyString_FromStringAndSize((&wxPyToggleButtonNameStr
)->c_str(), (&wxPyToggleButtonNameStr
)->Len());
13730 static PyObject
*_wrap_new_ToggleButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13731 PyObject
*resultobj
;
13732 wxWindow
*arg1
= (wxWindow
*) 0 ;
13733 int arg2
= (int) -1 ;
13734 wxString
const &arg3_defvalue
= wxPyEmptyString
;
13735 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
13736 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
13737 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
13738 wxSize
const &arg5_defvalue
= wxDefaultSize
;
13739 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
13740 long arg6
= (long) 0 ;
13741 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
13742 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
13743 wxString
const &arg8_defvalue
= wxPyToggleButtonNameStr
;
13744 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
13745 wxToggleButton
*result
;
13746 bool temp3
= False
;
13749 bool temp8
= False
;
13750 PyObject
* obj0
= 0 ;
13751 PyObject
* obj1
= 0 ;
13752 PyObject
* obj2
= 0 ;
13753 PyObject
* obj3
= 0 ;
13754 PyObject
* obj4
= 0 ;
13755 PyObject
* obj5
= 0 ;
13756 PyObject
* obj6
= 0 ;
13757 PyObject
* obj7
= 0 ;
13758 char *kwnames
[] = {
13759 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
13762 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_ToggleButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
13763 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
13764 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13766 arg2
= (int) SWIG_AsInt(obj1
);
13767 if (PyErr_Occurred()) SWIG_fail
;
13771 arg3
= wxString_in_helper(obj2
);
13772 if (arg3
== NULL
) SWIG_fail
;
13779 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
13785 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
13789 arg6
= (long) SWIG_AsLong(obj5
);
13790 if (PyErr_Occurred()) SWIG_fail
;
13793 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
13794 SWIG_POINTER_EXCEPTION
| 0)) == -1)
13796 if (arg7
== NULL
) {
13797 PyErr_SetString(PyExc_TypeError
,"null reference");
13803 arg8
= wxString_in_helper(obj7
);
13804 if (arg8
== NULL
) SWIG_fail
;
13809 if (!wxPyCheckForApp()) SWIG_fail
;
13810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13811 result
= (wxToggleButton
*)new wxToggleButton(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
13813 wxPyEndAllowThreads(__tstate
);
13814 if (PyErr_Occurred()) SWIG_fail
;
13816 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxToggleButton
, 1);
13839 static PyObject
*_wrap_new_PreToggleButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13840 PyObject
*resultobj
;
13841 wxToggleButton
*result
;
13842 char *kwnames
[] = {
13846 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreToggleButton",kwnames
)) goto fail
;
13848 if (!wxPyCheckForApp()) SWIG_fail
;
13849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13850 result
= (wxToggleButton
*)new wxToggleButton();
13852 wxPyEndAllowThreads(__tstate
);
13853 if (PyErr_Occurred()) SWIG_fail
;
13855 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxToggleButton
, 1);
13862 static PyObject
*_wrap_ToggleButton_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13863 PyObject
*resultobj
;
13864 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
13865 wxWindow
*arg2
= (wxWindow
*) 0 ;
13866 int arg3
= (int) -1 ;
13867 wxString
const &arg4_defvalue
= wxPyEmptyString
;
13868 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
13869 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
13870 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
13871 wxSize
const &arg6_defvalue
= wxDefaultSize
;
13872 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
13873 long arg7
= (long) 0 ;
13874 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
13875 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
13876 wxString
const &arg9_defvalue
= wxPyToggleButtonNameStr
;
13877 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
13879 bool temp4
= False
;
13882 bool temp9
= False
;
13883 PyObject
* obj0
= 0 ;
13884 PyObject
* obj1
= 0 ;
13885 PyObject
* obj2
= 0 ;
13886 PyObject
* obj3
= 0 ;
13887 PyObject
* obj4
= 0 ;
13888 PyObject
* obj5
= 0 ;
13889 PyObject
* obj6
= 0 ;
13890 PyObject
* obj7
= 0 ;
13891 PyObject
* obj8
= 0 ;
13892 char *kwnames
[] = {
13893 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
13896 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:ToggleButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
13897 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToggleButton
,
13898 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13899 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
13900 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13902 arg3
= (int) SWIG_AsInt(obj2
);
13903 if (PyErr_Occurred()) SWIG_fail
;
13907 arg4
= wxString_in_helper(obj3
);
13908 if (arg4
== NULL
) SWIG_fail
;
13915 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
13921 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
13925 arg7
= (long) SWIG_AsLong(obj6
);
13926 if (PyErr_Occurred()) SWIG_fail
;
13929 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
13930 SWIG_POINTER_EXCEPTION
| 0)) == -1)
13932 if (arg8
== NULL
) {
13933 PyErr_SetString(PyExc_TypeError
,"null reference");
13939 arg9
= wxString_in_helper(obj8
);
13940 if (arg9
== NULL
) SWIG_fail
;
13945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13946 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
13948 wxPyEndAllowThreads(__tstate
);
13949 if (PyErr_Occurred()) SWIG_fail
;
13952 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13976 static PyObject
*_wrap_ToggleButton_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13977 PyObject
*resultobj
;
13978 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
13980 PyObject
* obj0
= 0 ;
13981 PyObject
* obj1
= 0 ;
13982 char *kwnames
[] = {
13983 (char *) "self",(char *) "value", NULL
13986 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToggleButton_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
13987 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToggleButton
,
13988 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13989 arg2
= (bool) SWIG_AsBool(obj1
);
13990 if (PyErr_Occurred()) SWIG_fail
;
13992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13993 (arg1
)->SetValue(arg2
);
13995 wxPyEndAllowThreads(__tstate
);
13996 if (PyErr_Occurred()) SWIG_fail
;
13998 Py_INCREF(Py_None
); resultobj
= Py_None
;
14005 static PyObject
*_wrap_ToggleButton_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14006 PyObject
*resultobj
;
14007 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
14009 PyObject
* obj0
= 0 ;
14010 char *kwnames
[] = {
14011 (char *) "self", NULL
14014 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToggleButton_GetValue",kwnames
,&obj0
)) goto fail
;
14015 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToggleButton
,
14016 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14019 result
= (bool)((wxToggleButton
const *)arg1
)->GetValue();
14021 wxPyEndAllowThreads(__tstate
);
14022 if (PyErr_Occurred()) SWIG_fail
;
14025 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14033 static PyObject
*_wrap_ToggleButton_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14034 PyObject
*resultobj
;
14035 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
14036 wxString
*arg2
= 0 ;
14037 bool temp2
= False
;
14038 PyObject
* obj0
= 0 ;
14039 PyObject
* obj1
= 0 ;
14040 char *kwnames
[] = {
14041 (char *) "self",(char *) "label", NULL
14044 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToggleButton_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
14045 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToggleButton
,
14046 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14048 arg2
= wxString_in_helper(obj1
);
14049 if (arg2
== NULL
) SWIG_fail
;
14053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14054 (arg1
)->SetLabel((wxString
const &)*arg2
);
14056 wxPyEndAllowThreads(__tstate
);
14057 if (PyErr_Occurred()) SWIG_fail
;
14059 Py_INCREF(Py_None
); resultobj
= Py_None
;
14074 static PyObject
*_wrap_ToggleButton_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14075 PyObject
*resultobj
;
14076 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
14077 wxVisualAttributes result
;
14078 PyObject
* obj0
= 0 ;
14079 char *kwnames
[] = {
14080 (char *) "variant", NULL
14083 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ToggleButton_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
14085 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
14086 if (PyErr_Occurred()) SWIG_fail
;
14089 if (!wxPyCheckForApp()) SWIG_fail
;
14090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14091 result
= wxToggleButton::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
14093 wxPyEndAllowThreads(__tstate
);
14094 if (PyErr_Occurred()) SWIG_fail
;
14097 wxVisualAttributes
* resultptr
;
14098 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
14099 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
14107 static PyObject
* ToggleButton_swigregister(PyObject
*self
, PyObject
*args
) {
14109 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14110 SWIG_TypeClientData(SWIGTYPE_p_wxToggleButton
, obj
);
14112 return Py_BuildValue((char *)"");
14114 static int _wrap_NOTEBOOK_NAME_set(PyObject
*_val
) {
14115 PyErr_SetString(PyExc_TypeError
,"Variable NOTEBOOK_NAME is read-only.");
14120 static PyObject
*_wrap_NOTEBOOK_NAME_get() {
14125 pyobj
= PyUnicode_FromWideChar((&wxPyNOTEBOOK_NAME
)->c_str(), (&wxPyNOTEBOOK_NAME
)->Len());
14127 pyobj
= PyString_FromStringAndSize((&wxPyNOTEBOOK_NAME
)->c_str(), (&wxPyNOTEBOOK_NAME
)->Len());
14134 static PyObject
*_wrap_BookCtrl_GetPageCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14135 PyObject
*resultobj
;
14136 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14138 PyObject
* obj0
= 0 ;
14139 char *kwnames
[] = {
14140 (char *) "self", NULL
14143 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrl_GetPageCount",kwnames
,&obj0
)) goto fail
;
14144 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14145 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14148 result
= (size_t)((wxBookCtrl
const *)arg1
)->GetPageCount();
14150 wxPyEndAllowThreads(__tstate
);
14151 if (PyErr_Occurred()) SWIG_fail
;
14153 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
14160 static PyObject
*_wrap_BookCtrl_GetPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14161 PyObject
*resultobj
;
14162 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14165 PyObject
* obj0
= 0 ;
14166 PyObject
* obj1
= 0 ;
14167 char *kwnames
[] = {
14168 (char *) "self",(char *) "n", NULL
14171 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_GetPage",kwnames
,&obj0
,&obj1
)) goto fail
;
14172 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14173 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14174 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
14175 if (PyErr_Occurred()) SWIG_fail
;
14177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14178 result
= (wxWindow
*)(arg1
)->GetPage(arg2
);
14180 wxPyEndAllowThreads(__tstate
);
14181 if (PyErr_Occurred()) SWIG_fail
;
14184 resultobj
= wxPyMake_wxObject(result
);
14192 static PyObject
*_wrap_BookCtrl_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14193 PyObject
*resultobj
;
14194 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14196 PyObject
* obj0
= 0 ;
14197 char *kwnames
[] = {
14198 (char *) "self", NULL
14201 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrl_GetSelection",kwnames
,&obj0
)) goto fail
;
14202 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14203 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14206 result
= (int)((wxBookCtrl
const *)arg1
)->GetSelection();
14208 wxPyEndAllowThreads(__tstate
);
14209 if (PyErr_Occurred()) SWIG_fail
;
14211 resultobj
= SWIG_FromInt((int)result
);
14218 static PyObject
*_wrap_BookCtrl_SetPageText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14219 PyObject
*resultobj
;
14220 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14222 wxString
*arg3
= 0 ;
14224 bool temp3
= False
;
14225 PyObject
* obj0
= 0 ;
14226 PyObject
* obj1
= 0 ;
14227 PyObject
* obj2
= 0 ;
14228 char *kwnames
[] = {
14229 (char *) "self",(char *) "n",(char *) "strText", NULL
14232 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BookCtrl_SetPageText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14233 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14234 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14235 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
14236 if (PyErr_Occurred()) SWIG_fail
;
14238 arg3
= wxString_in_helper(obj2
);
14239 if (arg3
== NULL
) SWIG_fail
;
14243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14244 result
= (bool)(arg1
)->SetPageText(arg2
,(wxString
const &)*arg3
);
14246 wxPyEndAllowThreads(__tstate
);
14247 if (PyErr_Occurred()) SWIG_fail
;
14250 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14266 static PyObject
*_wrap_BookCtrl_GetPageText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14267 PyObject
*resultobj
;
14268 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14271 PyObject
* obj0
= 0 ;
14272 PyObject
* obj1
= 0 ;
14273 char *kwnames
[] = {
14274 (char *) "self",(char *) "n", NULL
14277 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_GetPageText",kwnames
,&obj0
,&obj1
)) goto fail
;
14278 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14279 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14280 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
14281 if (PyErr_Occurred()) SWIG_fail
;
14283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14284 result
= ((wxBookCtrl
const *)arg1
)->GetPageText(arg2
);
14286 wxPyEndAllowThreads(__tstate
);
14287 if (PyErr_Occurred()) SWIG_fail
;
14291 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14293 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14302 static PyObject
*_wrap_BookCtrl_SetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14303 PyObject
*resultobj
;
14304 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14305 wxImageList
*arg2
= (wxImageList
*) 0 ;
14306 PyObject
* obj0
= 0 ;
14307 PyObject
* obj1
= 0 ;
14308 char *kwnames
[] = {
14309 (char *) "self",(char *) "imageList", NULL
14312 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_SetImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
14313 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14314 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14315 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImageList
,
14316 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14319 (arg1
)->SetImageList(arg2
);
14321 wxPyEndAllowThreads(__tstate
);
14322 if (PyErr_Occurred()) SWIG_fail
;
14324 Py_INCREF(Py_None
); resultobj
= Py_None
;
14331 static PyObject
*_wrap_BookCtrl_AssignImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14332 PyObject
*resultobj
;
14333 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14334 wxImageList
*arg2
= (wxImageList
*) 0 ;
14335 PyObject
* obj0
= 0 ;
14336 PyObject
* obj1
= 0 ;
14337 char *kwnames
[] = {
14338 (char *) "self",(char *) "imageList", NULL
14341 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_AssignImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
14342 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14343 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14344 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImageList
,
14345 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
14347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14348 (arg1
)->AssignImageList(arg2
);
14350 wxPyEndAllowThreads(__tstate
);
14351 if (PyErr_Occurred()) SWIG_fail
;
14353 Py_INCREF(Py_None
); resultobj
= Py_None
;
14360 static PyObject
*_wrap_BookCtrl_GetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14361 PyObject
*resultobj
;
14362 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14363 wxImageList
*result
;
14364 PyObject
* obj0
= 0 ;
14365 char *kwnames
[] = {
14366 (char *) "self", NULL
14369 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrl_GetImageList",kwnames
,&obj0
)) goto fail
;
14370 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14371 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14374 result
= (wxImageList
*)((wxBookCtrl
const *)arg1
)->GetImageList();
14376 wxPyEndAllowThreads(__tstate
);
14377 if (PyErr_Occurred()) SWIG_fail
;
14380 resultobj
= wxPyMake_wxObject(result
);
14388 static PyObject
*_wrap_BookCtrl_GetPageImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14389 PyObject
*resultobj
;
14390 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14393 PyObject
* obj0
= 0 ;
14394 PyObject
* obj1
= 0 ;
14395 char *kwnames
[] = {
14396 (char *) "self",(char *) "n", NULL
14399 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_GetPageImage",kwnames
,&obj0
,&obj1
)) goto fail
;
14400 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14401 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14402 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
14403 if (PyErr_Occurred()) SWIG_fail
;
14405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14406 result
= (int)((wxBookCtrl
const *)arg1
)->GetPageImage(arg2
);
14408 wxPyEndAllowThreads(__tstate
);
14409 if (PyErr_Occurred()) SWIG_fail
;
14411 resultobj
= SWIG_FromInt((int)result
);
14418 static PyObject
*_wrap_BookCtrl_SetPageImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14419 PyObject
*resultobj
;
14420 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14424 PyObject
* obj0
= 0 ;
14425 PyObject
* obj1
= 0 ;
14426 PyObject
* obj2
= 0 ;
14427 char *kwnames
[] = {
14428 (char *) "self",(char *) "n",(char *) "imageId", NULL
14431 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BookCtrl_SetPageImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14432 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14433 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14434 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
14435 if (PyErr_Occurred()) SWIG_fail
;
14436 arg3
= (int) SWIG_AsInt(obj2
);
14437 if (PyErr_Occurred()) SWIG_fail
;
14439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14440 result
= (bool)(arg1
)->SetPageImage(arg2
,arg3
);
14442 wxPyEndAllowThreads(__tstate
);
14443 if (PyErr_Occurred()) SWIG_fail
;
14446 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14454 static PyObject
*_wrap_BookCtrl_SetPageSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14455 PyObject
*resultobj
;
14456 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14459 PyObject
* obj0
= 0 ;
14460 PyObject
* obj1
= 0 ;
14461 char *kwnames
[] = {
14462 (char *) "self",(char *) "size", NULL
14465 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_SetPageSize",kwnames
,&obj0
,&obj1
)) goto fail
;
14466 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14467 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14470 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
14473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14474 (arg1
)->SetPageSize((wxSize
const &)*arg2
);
14476 wxPyEndAllowThreads(__tstate
);
14477 if (PyErr_Occurred()) SWIG_fail
;
14479 Py_INCREF(Py_None
); resultobj
= Py_None
;
14486 static PyObject
*_wrap_BookCtrl_CalcSizeFromPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14487 PyObject
*resultobj
;
14488 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14492 PyObject
* obj0
= 0 ;
14493 PyObject
* obj1
= 0 ;
14494 char *kwnames
[] = {
14495 (char *) "self",(char *) "sizePage", NULL
14498 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_CalcSizeFromPage",kwnames
,&obj0
,&obj1
)) goto fail
;
14499 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14500 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14503 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
14506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14507 result
= ((wxBookCtrl
const *)arg1
)->CalcSizeFromPage((wxSize
const &)*arg2
);
14509 wxPyEndAllowThreads(__tstate
);
14510 if (PyErr_Occurred()) SWIG_fail
;
14513 wxSize
* resultptr
;
14514 resultptr
= new wxSize((wxSize
&) result
);
14515 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
14523 static PyObject
*_wrap_BookCtrl_DeletePage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14524 PyObject
*resultobj
;
14525 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14528 PyObject
* obj0
= 0 ;
14529 PyObject
* obj1
= 0 ;
14530 char *kwnames
[] = {
14531 (char *) "self",(char *) "n", NULL
14534 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_DeletePage",kwnames
,&obj0
,&obj1
)) goto fail
;
14535 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14536 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14537 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
14538 if (PyErr_Occurred()) SWIG_fail
;
14540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14541 result
= (bool)(arg1
)->DeletePage(arg2
);
14543 wxPyEndAllowThreads(__tstate
);
14544 if (PyErr_Occurred()) SWIG_fail
;
14547 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14555 static PyObject
*_wrap_BookCtrl_RemovePage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14556 PyObject
*resultobj
;
14557 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14560 PyObject
* obj0
= 0 ;
14561 PyObject
* obj1
= 0 ;
14562 char *kwnames
[] = {
14563 (char *) "self",(char *) "n", NULL
14566 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_RemovePage",kwnames
,&obj0
,&obj1
)) goto fail
;
14567 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14568 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14569 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
14570 if (PyErr_Occurred()) SWIG_fail
;
14572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14573 result
= (bool)(arg1
)->RemovePage(arg2
);
14575 wxPyEndAllowThreads(__tstate
);
14576 if (PyErr_Occurred()) SWIG_fail
;
14579 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14587 static PyObject
*_wrap_BookCtrl_DeleteAllPages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14588 PyObject
*resultobj
;
14589 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14591 PyObject
* obj0
= 0 ;
14592 char *kwnames
[] = {
14593 (char *) "self", NULL
14596 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrl_DeleteAllPages",kwnames
,&obj0
)) goto fail
;
14597 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14598 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14601 result
= (bool)(arg1
)->DeleteAllPages();
14603 wxPyEndAllowThreads(__tstate
);
14604 if (PyErr_Occurred()) SWIG_fail
;
14607 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14615 static PyObject
*_wrap_BookCtrl_AddPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14616 PyObject
*resultobj
;
14617 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14618 wxWindow
*arg2
= (wxWindow
*) 0 ;
14619 wxString
*arg3
= 0 ;
14620 bool arg4
= (bool) False
;
14621 int arg5
= (int) -1 ;
14623 bool temp3
= False
;
14624 PyObject
* obj0
= 0 ;
14625 PyObject
* obj1
= 0 ;
14626 PyObject
* obj2
= 0 ;
14627 PyObject
* obj3
= 0 ;
14628 PyObject
* obj4
= 0 ;
14629 char *kwnames
[] = {
14630 (char *) "self",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
14633 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:BookCtrl_AddPage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
14634 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14635 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14636 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
14637 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14639 arg3
= wxString_in_helper(obj2
);
14640 if (arg3
== NULL
) SWIG_fail
;
14644 arg4
= (bool) SWIG_AsBool(obj3
);
14645 if (PyErr_Occurred()) SWIG_fail
;
14648 arg5
= (int) SWIG_AsInt(obj4
);
14649 if (PyErr_Occurred()) SWIG_fail
;
14652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14653 result
= (bool)(arg1
)->AddPage(arg2
,(wxString
const &)*arg3
,arg4
,arg5
);
14655 wxPyEndAllowThreads(__tstate
);
14656 if (PyErr_Occurred()) SWIG_fail
;
14659 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14675 static PyObject
*_wrap_BookCtrl_InsertPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14676 PyObject
*resultobj
;
14677 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14679 wxWindow
*arg3
= (wxWindow
*) 0 ;
14680 wxString
*arg4
= 0 ;
14681 bool arg5
= (bool) False
;
14682 int arg6
= (int) -1 ;
14684 bool temp4
= False
;
14685 PyObject
* obj0
= 0 ;
14686 PyObject
* obj1
= 0 ;
14687 PyObject
* obj2
= 0 ;
14688 PyObject
* obj3
= 0 ;
14689 PyObject
* obj4
= 0 ;
14690 PyObject
* obj5
= 0 ;
14691 char *kwnames
[] = {
14692 (char *) "self",(char *) "n",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
14695 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:BookCtrl_InsertPage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
14696 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14697 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14698 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
14699 if (PyErr_Occurred()) SWIG_fail
;
14700 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
14701 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14703 arg4
= wxString_in_helper(obj3
);
14704 if (arg4
== NULL
) SWIG_fail
;
14708 arg5
= (bool) SWIG_AsBool(obj4
);
14709 if (PyErr_Occurred()) SWIG_fail
;
14712 arg6
= (int) SWIG_AsInt(obj5
);
14713 if (PyErr_Occurred()) SWIG_fail
;
14716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14717 result
= (bool)(arg1
)->InsertPage(arg2
,arg3
,(wxString
const &)*arg4
,arg5
,arg6
);
14719 wxPyEndAllowThreads(__tstate
);
14720 if (PyErr_Occurred()) SWIG_fail
;
14723 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14739 static PyObject
*_wrap_BookCtrl_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14740 PyObject
*resultobj
;
14741 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14744 PyObject
* obj0
= 0 ;
14745 PyObject
* obj1
= 0 ;
14746 char *kwnames
[] = {
14747 (char *) "self",(char *) "n", NULL
14750 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
14751 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14752 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14753 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
14754 if (PyErr_Occurred()) SWIG_fail
;
14756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14757 result
= (int)(arg1
)->SetSelection(arg2
);
14759 wxPyEndAllowThreads(__tstate
);
14760 if (PyErr_Occurred()) SWIG_fail
;
14762 resultobj
= SWIG_FromInt((int)result
);
14769 static PyObject
*_wrap_BookCtrl_AdvanceSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14770 PyObject
*resultobj
;
14771 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14772 bool arg2
= (bool) True
;
14773 PyObject
* obj0
= 0 ;
14774 PyObject
* obj1
= 0 ;
14775 char *kwnames
[] = {
14776 (char *) "self",(char *) "forward", NULL
14779 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:BookCtrl_AdvanceSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
14780 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14781 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14783 arg2
= (bool) SWIG_AsBool(obj1
);
14784 if (PyErr_Occurred()) SWIG_fail
;
14787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14788 (arg1
)->AdvanceSelection(arg2
);
14790 wxPyEndAllowThreads(__tstate
);
14791 if (PyErr_Occurred()) SWIG_fail
;
14793 Py_INCREF(Py_None
); resultobj
= Py_None
;
14800 static PyObject
*_wrap_BookCtrl_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14801 PyObject
*resultobj
;
14802 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
14803 wxVisualAttributes result
;
14804 PyObject
* obj0
= 0 ;
14805 char *kwnames
[] = {
14806 (char *) "variant", NULL
14809 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:BookCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
14811 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
14812 if (PyErr_Occurred()) SWIG_fail
;
14815 if (!wxPyCheckForApp()) SWIG_fail
;
14816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14817 result
= wxBookCtrl::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
14819 wxPyEndAllowThreads(__tstate
);
14820 if (PyErr_Occurred()) SWIG_fail
;
14823 wxVisualAttributes
* resultptr
;
14824 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
14825 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
14833 static PyObject
* BookCtrl_swigregister(PyObject
*self
, PyObject
*args
) {
14835 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14836 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrl
, obj
);
14838 return Py_BuildValue((char *)"");
14840 static PyObject
*_wrap_new_BookCtrlEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14841 PyObject
*resultobj
;
14842 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
14843 int arg2
= (int) 0 ;
14844 int arg3
= (int) -1 ;
14845 int arg4
= (int) -1 ;
14846 wxBookCtrlEvent
*result
;
14847 PyObject
* obj0
= 0 ;
14848 PyObject
* obj1
= 0 ;
14849 PyObject
* obj2
= 0 ;
14850 PyObject
* obj3
= 0 ;
14851 char *kwnames
[] = {
14852 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
14855 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_BookCtrlEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
14857 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
14858 if (PyErr_Occurred()) SWIG_fail
;
14861 arg2
= (int) SWIG_AsInt(obj1
);
14862 if (PyErr_Occurred()) SWIG_fail
;
14865 arg3
= (int) SWIG_AsInt(obj2
);
14866 if (PyErr_Occurred()) SWIG_fail
;
14869 arg4
= (int) SWIG_AsInt(obj3
);
14870 if (PyErr_Occurred()) SWIG_fail
;
14873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14874 result
= (wxBookCtrlEvent
*)new wxBookCtrlEvent(arg1
,arg2
,arg3
,arg4
);
14876 wxPyEndAllowThreads(__tstate
);
14877 if (PyErr_Occurred()) SWIG_fail
;
14879 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBookCtrlEvent
, 1);
14886 static PyObject
*_wrap_BookCtrlEvent_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14887 PyObject
*resultobj
;
14888 wxBookCtrlEvent
*arg1
= (wxBookCtrlEvent
*) 0 ;
14890 PyObject
* obj0
= 0 ;
14891 char *kwnames
[] = {
14892 (char *) "self", NULL
14895 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlEvent_GetSelection",kwnames
,&obj0
)) goto fail
;
14896 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrlEvent
,
14897 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14900 result
= (int)((wxBookCtrlEvent
const *)arg1
)->GetSelection();
14902 wxPyEndAllowThreads(__tstate
);
14903 if (PyErr_Occurred()) SWIG_fail
;
14905 resultobj
= SWIG_FromInt((int)result
);
14912 static PyObject
*_wrap_BookCtrlEvent_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14913 PyObject
*resultobj
;
14914 wxBookCtrlEvent
*arg1
= (wxBookCtrlEvent
*) 0 ;
14916 PyObject
* obj0
= 0 ;
14917 PyObject
* obj1
= 0 ;
14918 char *kwnames
[] = {
14919 (char *) "self",(char *) "nSel", NULL
14922 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlEvent_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
14923 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrlEvent
,
14924 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14925 arg2
= (int) SWIG_AsInt(obj1
);
14926 if (PyErr_Occurred()) SWIG_fail
;
14928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14929 (arg1
)->SetSelection(arg2
);
14931 wxPyEndAllowThreads(__tstate
);
14932 if (PyErr_Occurred()) SWIG_fail
;
14934 Py_INCREF(Py_None
); resultobj
= Py_None
;
14941 static PyObject
*_wrap_BookCtrlEvent_GetOldSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14942 PyObject
*resultobj
;
14943 wxBookCtrlEvent
*arg1
= (wxBookCtrlEvent
*) 0 ;
14945 PyObject
* obj0
= 0 ;
14946 char *kwnames
[] = {
14947 (char *) "self", NULL
14950 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlEvent_GetOldSelection",kwnames
,&obj0
)) goto fail
;
14951 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrlEvent
,
14952 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14955 result
= (int)((wxBookCtrlEvent
const *)arg1
)->GetOldSelection();
14957 wxPyEndAllowThreads(__tstate
);
14958 if (PyErr_Occurred()) SWIG_fail
;
14960 resultobj
= SWIG_FromInt((int)result
);
14967 static PyObject
*_wrap_BookCtrlEvent_SetOldSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14968 PyObject
*resultobj
;
14969 wxBookCtrlEvent
*arg1
= (wxBookCtrlEvent
*) 0 ;
14971 PyObject
* obj0
= 0 ;
14972 PyObject
* obj1
= 0 ;
14973 char *kwnames
[] = {
14974 (char *) "self",(char *) "nOldSel", NULL
14977 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlEvent_SetOldSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
14978 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrlEvent
,
14979 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14980 arg2
= (int) SWIG_AsInt(obj1
);
14981 if (PyErr_Occurred()) SWIG_fail
;
14983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14984 (arg1
)->SetOldSelection(arg2
);
14986 wxPyEndAllowThreads(__tstate
);
14987 if (PyErr_Occurred()) SWIG_fail
;
14989 Py_INCREF(Py_None
); resultobj
= Py_None
;
14996 static PyObject
* BookCtrlEvent_swigregister(PyObject
*self
, PyObject
*args
) {
14998 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14999 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrlEvent
, obj
);
15001 return Py_BuildValue((char *)"");
15003 static PyObject
*_wrap_new_Notebook(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15004 PyObject
*resultobj
;
15005 wxWindow
*arg1
= (wxWindow
*) 0 ;
15006 int arg2
= (int) -1 ;
15007 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
15008 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
15009 wxSize
const &arg4_defvalue
= wxDefaultSize
;
15010 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
15011 long arg5
= (long) 0 ;
15012 wxString
const &arg6_defvalue
= wxPyNOTEBOOK_NAME
;
15013 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
15014 wxNotebook
*result
;
15017 bool temp6
= False
;
15018 PyObject
* obj0
= 0 ;
15019 PyObject
* obj1
= 0 ;
15020 PyObject
* obj2
= 0 ;
15021 PyObject
* obj3
= 0 ;
15022 PyObject
* obj4
= 0 ;
15023 PyObject
* obj5
= 0 ;
15024 char *kwnames
[] = {
15025 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15028 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_Notebook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
15029 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
15030 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15032 arg2
= (int) SWIG_AsInt(obj1
);
15033 if (PyErr_Occurred()) SWIG_fail
;
15038 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
15044 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
15048 arg5
= (long) SWIG_AsLong(obj4
);
15049 if (PyErr_Occurred()) SWIG_fail
;
15053 arg6
= wxString_in_helper(obj5
);
15054 if (arg6
== NULL
) SWIG_fail
;
15059 if (!wxPyCheckForApp()) SWIG_fail
;
15060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15061 result
= (wxNotebook
*)new wxNotebook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
15063 wxPyEndAllowThreads(__tstate
);
15064 if (PyErr_Occurred()) SWIG_fail
;
15067 resultobj
= wxPyMake_wxObject(result
);
15083 static PyObject
*_wrap_new_PreNotebook(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15084 PyObject
*resultobj
;
15085 wxNotebook
*result
;
15086 char *kwnames
[] = {
15090 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreNotebook",kwnames
)) goto fail
;
15092 if (!wxPyCheckForApp()) SWIG_fail
;
15093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15094 result
= (wxNotebook
*)new wxNotebook();
15096 wxPyEndAllowThreads(__tstate
);
15097 if (PyErr_Occurred()) SWIG_fail
;
15100 resultobj
= wxPyMake_wxObject(result
);
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_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15359 PyObject
*resultobj
;
15360 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
15361 wxVisualAttributes result
;
15362 PyObject
* obj0
= 0 ;
15363 char *kwnames
[] = {
15364 (char *) "variant", NULL
15367 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Notebook_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
15369 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
15370 if (PyErr_Occurred()) SWIG_fail
;
15373 if (!wxPyCheckForApp()) SWIG_fail
;
15374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15375 result
= wxNotebook::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
15377 wxPyEndAllowThreads(__tstate
);
15378 if (PyErr_Occurred()) SWIG_fail
;
15381 wxVisualAttributes
* resultptr
;
15382 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
15383 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
15391 static PyObject
* Notebook_swigregister(PyObject
*self
, PyObject
*args
) {
15393 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15394 SWIG_TypeClientData(SWIGTYPE_p_wxNotebook
, obj
);
15396 return Py_BuildValue((char *)"");
15398 static PyObject
*_wrap_new_NotebookEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15399 PyObject
*resultobj
;
15400 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
15401 int arg2
= (int) 0 ;
15402 int arg3
= (int) -1 ;
15403 int arg4
= (int) -1 ;
15404 wxNotebookEvent
*result
;
15405 PyObject
* obj0
= 0 ;
15406 PyObject
* obj1
= 0 ;
15407 PyObject
* obj2
= 0 ;
15408 PyObject
* obj3
= 0 ;
15409 char *kwnames
[] = {
15410 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
15413 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_NotebookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
15415 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
15416 if (PyErr_Occurred()) SWIG_fail
;
15419 arg2
= (int) SWIG_AsInt(obj1
);
15420 if (PyErr_Occurred()) SWIG_fail
;
15423 arg3
= (int) SWIG_AsInt(obj2
);
15424 if (PyErr_Occurred()) SWIG_fail
;
15427 arg4
= (int) SWIG_AsInt(obj3
);
15428 if (PyErr_Occurred()) SWIG_fail
;
15431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15432 result
= (wxNotebookEvent
*)new wxNotebookEvent(arg1
,arg2
,arg3
,arg4
);
15434 wxPyEndAllowThreads(__tstate
);
15435 if (PyErr_Occurred()) SWIG_fail
;
15437 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNotebookEvent
, 1);
15444 static PyObject
* NotebookEvent_swigregister(PyObject
*self
, PyObject
*args
) {
15446 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15447 SWIG_TypeClientData(SWIGTYPE_p_wxNotebookEvent
, obj
);
15449 return Py_BuildValue((char *)"");
15451 static PyObject
*_wrap_new_Listbook(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15452 PyObject
*resultobj
;
15453 wxWindow
*arg1
= (wxWindow
*) 0 ;
15454 int arg2
= (int) -1 ;
15455 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
15456 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
15457 wxSize
const &arg4_defvalue
= wxDefaultSize
;
15458 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
15459 long arg5
= (long) 0 ;
15460 wxString
const &arg6_defvalue
= wxPyEmptyString
;
15461 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
15462 wxListbook
*result
;
15465 bool temp6
= False
;
15466 PyObject
* obj0
= 0 ;
15467 PyObject
* obj1
= 0 ;
15468 PyObject
* obj2
= 0 ;
15469 PyObject
* obj3
= 0 ;
15470 PyObject
* obj4
= 0 ;
15471 PyObject
* obj5
= 0 ;
15472 char *kwnames
[] = {
15473 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15476 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_Listbook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
15477 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
15478 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15480 arg2
= (int) SWIG_AsInt(obj1
);
15481 if (PyErr_Occurred()) SWIG_fail
;
15486 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
15492 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
15496 arg5
= (long) SWIG_AsLong(obj4
);
15497 if (PyErr_Occurred()) SWIG_fail
;
15501 arg6
= wxString_in_helper(obj5
);
15502 if (arg6
== NULL
) SWIG_fail
;
15507 if (!wxPyCheckForApp()) SWIG_fail
;
15508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15509 result
= (wxListbook
*)new wxListbook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
15511 wxPyEndAllowThreads(__tstate
);
15512 if (PyErr_Occurred()) SWIG_fail
;
15514 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListbook
, 1);
15529 static PyObject
*_wrap_new_PreListbook(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15530 PyObject
*resultobj
;
15531 wxListbook
*result
;
15532 char *kwnames
[] = {
15536 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreListbook",kwnames
)) goto fail
;
15538 if (!wxPyCheckForApp()) SWIG_fail
;
15539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15540 result
= (wxListbook
*)new wxListbook();
15542 wxPyEndAllowThreads(__tstate
);
15543 if (PyErr_Occurred()) SWIG_fail
;
15545 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListbook
, 1);
15552 static PyObject
*_wrap_Listbook_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15553 PyObject
*resultobj
;
15554 wxListbook
*arg1
= (wxListbook
*) 0 ;
15555 wxWindow
*arg2
= (wxWindow
*) 0 ;
15556 int arg3
= (int) -1 ;
15557 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
15558 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
15559 wxSize
const &arg5_defvalue
= wxDefaultSize
;
15560 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
15561 long arg6
= (long) 0 ;
15562 wxString
const &arg7_defvalue
= wxPyEmptyString
;
15563 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
15567 bool temp7
= False
;
15568 PyObject
* obj0
= 0 ;
15569 PyObject
* obj1
= 0 ;
15570 PyObject
* obj2
= 0 ;
15571 PyObject
* obj3
= 0 ;
15572 PyObject
* obj4
= 0 ;
15573 PyObject
* obj5
= 0 ;
15574 PyObject
* obj6
= 0 ;
15575 char *kwnames
[] = {
15576 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15579 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:Listbook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
15580 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListbook
,
15581 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15582 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
15583 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15585 arg3
= (int) SWIG_AsInt(obj2
);
15586 if (PyErr_Occurred()) SWIG_fail
;
15591 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
15597 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
15601 arg6
= (long) SWIG_AsLong(obj5
);
15602 if (PyErr_Occurred()) SWIG_fail
;
15606 arg7
= wxString_in_helper(obj6
);
15607 if (arg7
== NULL
) SWIG_fail
;
15612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15613 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
15615 wxPyEndAllowThreads(__tstate
);
15616 if (PyErr_Occurred()) SWIG_fail
;
15619 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15635 static PyObject
*_wrap_Listbook_IsVertical(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15636 PyObject
*resultobj
;
15637 wxListbook
*arg1
= (wxListbook
*) 0 ;
15639 PyObject
* obj0
= 0 ;
15640 char *kwnames
[] = {
15641 (char *) "self", NULL
15644 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Listbook_IsVertical",kwnames
,&obj0
)) goto fail
;
15645 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListbook
,
15646 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15649 result
= (bool)((wxListbook
const *)arg1
)->IsVertical();
15651 wxPyEndAllowThreads(__tstate
);
15652 if (PyErr_Occurred()) SWIG_fail
;
15655 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15663 static PyObject
* Listbook_swigregister(PyObject
*self
, PyObject
*args
) {
15665 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15666 SWIG_TypeClientData(SWIGTYPE_p_wxListbook
, obj
);
15668 return Py_BuildValue((char *)"");
15670 static PyObject
*_wrap_new_ListbookEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15671 PyObject
*resultobj
;
15672 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
15673 int arg2
= (int) 0 ;
15674 int arg3
= (int) -1 ;
15675 int arg4
= (int) -1 ;
15676 wxListbookEvent
*result
;
15677 PyObject
* obj0
= 0 ;
15678 PyObject
* obj1
= 0 ;
15679 PyObject
* obj2
= 0 ;
15680 PyObject
* obj3
= 0 ;
15681 char *kwnames
[] = {
15682 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
15685 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_ListbookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
15687 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
15688 if (PyErr_Occurred()) SWIG_fail
;
15691 arg2
= (int) SWIG_AsInt(obj1
);
15692 if (PyErr_Occurred()) SWIG_fail
;
15695 arg3
= (int) SWIG_AsInt(obj2
);
15696 if (PyErr_Occurred()) SWIG_fail
;
15699 arg4
= (int) SWIG_AsInt(obj3
);
15700 if (PyErr_Occurred()) SWIG_fail
;
15703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15704 result
= (wxListbookEvent
*)new wxListbookEvent(arg1
,arg2
,arg3
,arg4
);
15706 wxPyEndAllowThreads(__tstate
);
15707 if (PyErr_Occurred()) SWIG_fail
;
15709 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListbookEvent
, 1);
15716 static PyObject
* ListbookEvent_swigregister(PyObject
*self
, PyObject
*args
) {
15718 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15719 SWIG_TypeClientData(SWIGTYPE_p_wxListbookEvent
, obj
);
15721 return Py_BuildValue((char *)"");
15723 static PyObject
*_wrap_new_BookCtrlSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15724 PyObject
*resultobj
;
15725 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
15726 wxBookCtrlSizer
*result
;
15727 PyObject
* obj0
= 0 ;
15728 char *kwnames
[] = {
15729 (char *) "nb", NULL
15732 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BookCtrlSizer",kwnames
,&obj0
)) goto fail
;
15733 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
15734 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15737 result
= (wxBookCtrlSizer
*)new wxBookCtrlSizer(arg1
);
15739 wxPyEndAllowThreads(__tstate
);
15740 if (PyErr_Occurred()) SWIG_fail
;
15742 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBookCtrlSizer
, 1);
15749 static PyObject
*_wrap_BookCtrlSizer_RecalcSizes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15750 PyObject
*resultobj
;
15751 wxBookCtrlSizer
*arg1
= (wxBookCtrlSizer
*) 0 ;
15752 PyObject
* obj0
= 0 ;
15753 char *kwnames
[] = {
15754 (char *) "self", NULL
15757 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlSizer_RecalcSizes",kwnames
,&obj0
)) goto fail
;
15758 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrlSizer
,
15759 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15762 (arg1
)->RecalcSizes();
15764 wxPyEndAllowThreads(__tstate
);
15765 if (PyErr_Occurred()) SWIG_fail
;
15767 Py_INCREF(Py_None
); resultobj
= Py_None
;
15774 static PyObject
*_wrap_BookCtrlSizer_CalcMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15775 PyObject
*resultobj
;
15776 wxBookCtrlSizer
*arg1
= (wxBookCtrlSizer
*) 0 ;
15778 PyObject
* obj0
= 0 ;
15779 char *kwnames
[] = {
15780 (char *) "self", NULL
15783 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlSizer_CalcMin",kwnames
,&obj0
)) goto fail
;
15784 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrlSizer
,
15785 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15788 result
= (arg1
)->CalcMin();
15790 wxPyEndAllowThreads(__tstate
);
15791 if (PyErr_Occurred()) SWIG_fail
;
15794 wxSize
* resultptr
;
15795 resultptr
= new wxSize((wxSize
&) result
);
15796 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
15804 static PyObject
*_wrap_BookCtrlSizer_GetControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15805 PyObject
*resultobj
;
15806 wxBookCtrlSizer
*arg1
= (wxBookCtrlSizer
*) 0 ;
15807 wxBookCtrl
*result
;
15808 PyObject
* obj0
= 0 ;
15809 char *kwnames
[] = {
15810 (char *) "self", NULL
15813 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlSizer_GetControl",kwnames
,&obj0
)) goto fail
;
15814 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrlSizer
,
15815 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15818 result
= (wxBookCtrl
*)(arg1
)->GetControl();
15820 wxPyEndAllowThreads(__tstate
);
15821 if (PyErr_Occurred()) SWIG_fail
;
15823 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBookCtrl
, 0);
15830 static PyObject
* BookCtrlSizer_swigregister(PyObject
*self
, PyObject
*args
) {
15832 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15833 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrlSizer
, obj
);
15835 return Py_BuildValue((char *)"");
15837 static PyObject
*_wrap_new_NotebookSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15838 PyObject
*resultobj
;
15839 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
15840 wxNotebookSizer
*result
;
15841 PyObject
* obj0
= 0 ;
15842 char *kwnames
[] = {
15843 (char *) "nb", NULL
15846 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_NotebookSizer",kwnames
,&obj0
)) goto fail
;
15847 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebook
,
15848 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15851 result
= (wxNotebookSizer
*)new wxNotebookSizer(arg1
);
15853 wxPyEndAllowThreads(__tstate
);
15854 if (PyErr_Occurred()) SWIG_fail
;
15856 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNotebookSizer
, 1);
15863 static PyObject
*_wrap_NotebookSizer_RecalcSizes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15864 PyObject
*resultobj
;
15865 wxNotebookSizer
*arg1
= (wxNotebookSizer
*) 0 ;
15866 PyObject
* obj0
= 0 ;
15867 char *kwnames
[] = {
15868 (char *) "self", NULL
15871 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotebookSizer_RecalcSizes",kwnames
,&obj0
)) goto fail
;
15872 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebookSizer
,
15873 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15876 (arg1
)->RecalcSizes();
15878 wxPyEndAllowThreads(__tstate
);
15879 if (PyErr_Occurred()) SWIG_fail
;
15881 Py_INCREF(Py_None
); resultobj
= Py_None
;
15888 static PyObject
*_wrap_NotebookSizer_CalcMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15889 PyObject
*resultobj
;
15890 wxNotebookSizer
*arg1
= (wxNotebookSizer
*) 0 ;
15892 PyObject
* obj0
= 0 ;
15893 char *kwnames
[] = {
15894 (char *) "self", NULL
15897 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotebookSizer_CalcMin",kwnames
,&obj0
)) goto fail
;
15898 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebookSizer
,
15899 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15902 result
= (arg1
)->CalcMin();
15904 wxPyEndAllowThreads(__tstate
);
15905 if (PyErr_Occurred()) SWIG_fail
;
15908 wxSize
* resultptr
;
15909 resultptr
= new wxSize((wxSize
&) result
);
15910 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
15918 static PyObject
*_wrap_NotebookSizer_GetNotebook(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15919 PyObject
*resultobj
;
15920 wxNotebookSizer
*arg1
= (wxNotebookSizer
*) 0 ;
15921 wxNotebook
*result
;
15922 PyObject
* obj0
= 0 ;
15923 char *kwnames
[] = {
15924 (char *) "self", NULL
15927 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotebookSizer_GetNotebook",kwnames
,&obj0
)) goto fail
;
15928 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebookSizer
,
15929 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15932 result
= (wxNotebook
*)(arg1
)->GetNotebook();
15934 wxPyEndAllowThreads(__tstate
);
15935 if (PyErr_Occurred()) SWIG_fail
;
15938 resultobj
= wxPyMake_wxObject(result
);
15946 static PyObject
* NotebookSizer_swigregister(PyObject
*self
, PyObject
*args
) {
15948 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15949 SWIG_TypeClientData(SWIGTYPE_p_wxNotebookSizer
, obj
);
15951 return Py_BuildValue((char *)"");
15953 static PyObject
*_wrap_ToolBarToolBase_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15954 PyObject
*resultobj
;
15955 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15957 PyObject
* obj0
= 0 ;
15958 char *kwnames
[] = {
15959 (char *) "self", NULL
15962 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetId",kwnames
,&obj0
)) goto fail
;
15963 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15964 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15967 result
= (int)(arg1
)->GetId();
15969 wxPyEndAllowThreads(__tstate
);
15970 if (PyErr_Occurred()) SWIG_fail
;
15972 resultobj
= SWIG_FromInt((int)result
);
15979 static PyObject
*_wrap_ToolBarToolBase_GetControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15980 PyObject
*resultobj
;
15981 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15983 PyObject
* obj0
= 0 ;
15984 char *kwnames
[] = {
15985 (char *) "self", NULL
15988 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetControl",kwnames
,&obj0
)) goto fail
;
15989 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15990 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15993 result
= (wxControl
*)(arg1
)->GetControl();
15995 wxPyEndAllowThreads(__tstate
);
15996 if (PyErr_Occurred()) SWIG_fail
;
15999 resultobj
= wxPyMake_wxObject(result
);
16007 static PyObject
*_wrap_ToolBarToolBase_GetToolBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16008 PyObject
*resultobj
;
16009 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16010 wxToolBarBase
*result
;
16011 PyObject
* obj0
= 0 ;
16012 char *kwnames
[] = {
16013 (char *) "self", NULL
16016 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetToolBar",kwnames
,&obj0
)) goto fail
;
16017 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16018 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16021 result
= (wxToolBarBase
*)(arg1
)->GetToolBar();
16023 wxPyEndAllowThreads(__tstate
);
16024 if (PyErr_Occurred()) SWIG_fail
;
16027 resultobj
= wxPyMake_wxObject(result
);
16035 static PyObject
*_wrap_ToolBarToolBase_IsButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16036 PyObject
*resultobj
;
16037 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16039 PyObject
* obj0
= 0 ;
16040 char *kwnames
[] = {
16041 (char *) "self", NULL
16044 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsButton",kwnames
,&obj0
)) goto fail
;
16045 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16046 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16049 result
= (int)(arg1
)->IsButton();
16051 wxPyEndAllowThreads(__tstate
);
16052 if (PyErr_Occurred()) SWIG_fail
;
16054 resultobj
= SWIG_FromInt((int)result
);
16061 static PyObject
*_wrap_ToolBarToolBase_IsControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16062 PyObject
*resultobj
;
16063 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16065 PyObject
* obj0
= 0 ;
16066 char *kwnames
[] = {
16067 (char *) "self", NULL
16070 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsControl",kwnames
,&obj0
)) goto fail
;
16071 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16072 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16075 result
= (int)(arg1
)->IsControl();
16077 wxPyEndAllowThreads(__tstate
);
16078 if (PyErr_Occurred()) SWIG_fail
;
16080 resultobj
= SWIG_FromInt((int)result
);
16087 static PyObject
*_wrap_ToolBarToolBase_IsSeparator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16088 PyObject
*resultobj
;
16089 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16091 PyObject
* obj0
= 0 ;
16092 char *kwnames
[] = {
16093 (char *) "self", NULL
16096 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsSeparator",kwnames
,&obj0
)) goto fail
;
16097 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16098 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16101 result
= (int)(arg1
)->IsSeparator();
16103 wxPyEndAllowThreads(__tstate
);
16104 if (PyErr_Occurred()) SWIG_fail
;
16106 resultobj
= SWIG_FromInt((int)result
);
16113 static PyObject
*_wrap_ToolBarToolBase_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16114 PyObject
*resultobj
;
16115 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16117 PyObject
* obj0
= 0 ;
16118 char *kwnames
[] = {
16119 (char *) "self", NULL
16122 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetStyle",kwnames
,&obj0
)) goto fail
;
16123 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16124 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16127 result
= (int)(arg1
)->GetStyle();
16129 wxPyEndAllowThreads(__tstate
);
16130 if (PyErr_Occurred()) SWIG_fail
;
16132 resultobj
= SWIG_FromInt((int)result
);
16139 static PyObject
*_wrap_ToolBarToolBase_GetKind(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16140 PyObject
*resultobj
;
16141 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16143 PyObject
* obj0
= 0 ;
16144 char *kwnames
[] = {
16145 (char *) "self", NULL
16148 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetKind",kwnames
,&obj0
)) goto fail
;
16149 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16150 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16153 result
= (int)(arg1
)->GetKind();
16155 wxPyEndAllowThreads(__tstate
);
16156 if (PyErr_Occurred()) SWIG_fail
;
16158 resultobj
= SWIG_FromInt((int)result
);
16165 static PyObject
*_wrap_ToolBarToolBase_IsEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16166 PyObject
*resultobj
;
16167 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16169 PyObject
* obj0
= 0 ;
16170 char *kwnames
[] = {
16171 (char *) "self", NULL
16174 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsEnabled",kwnames
,&obj0
)) goto fail
;
16175 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16176 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16179 result
= (bool)(arg1
)->IsEnabled();
16181 wxPyEndAllowThreads(__tstate
);
16182 if (PyErr_Occurred()) SWIG_fail
;
16185 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16193 static PyObject
*_wrap_ToolBarToolBase_IsToggled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16194 PyObject
*resultobj
;
16195 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16197 PyObject
* obj0
= 0 ;
16198 char *kwnames
[] = {
16199 (char *) "self", NULL
16202 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsToggled",kwnames
,&obj0
)) goto fail
;
16203 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16204 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16207 result
= (bool)(arg1
)->IsToggled();
16209 wxPyEndAllowThreads(__tstate
);
16210 if (PyErr_Occurred()) SWIG_fail
;
16213 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16221 static PyObject
*_wrap_ToolBarToolBase_CanBeToggled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16222 PyObject
*resultobj
;
16223 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16225 PyObject
* obj0
= 0 ;
16226 char *kwnames
[] = {
16227 (char *) "self", NULL
16230 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_CanBeToggled",kwnames
,&obj0
)) goto fail
;
16231 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16232 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16235 result
= (bool)(arg1
)->CanBeToggled();
16237 wxPyEndAllowThreads(__tstate
);
16238 if (PyErr_Occurred()) SWIG_fail
;
16241 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16249 static PyObject
*_wrap_ToolBarToolBase_GetNormalBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16250 PyObject
*resultobj
;
16251 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16253 PyObject
* obj0
= 0 ;
16254 char *kwnames
[] = {
16255 (char *) "self", NULL
16258 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetNormalBitmap",kwnames
,&obj0
)) goto fail
;
16259 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16260 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16264 wxBitmap
const &_result_ref
= (arg1
)->GetNormalBitmap();
16265 result
= (wxBitmap
*) &_result_ref
;
16268 wxPyEndAllowThreads(__tstate
);
16269 if (PyErr_Occurred()) SWIG_fail
;
16272 wxBitmap
* resultptr
= new wxBitmap(*result
);
16273 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
16281 static PyObject
*_wrap_ToolBarToolBase_GetDisabledBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16282 PyObject
*resultobj
;
16283 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16285 PyObject
* obj0
= 0 ;
16286 char *kwnames
[] = {
16287 (char *) "self", NULL
16290 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetDisabledBitmap",kwnames
,&obj0
)) goto fail
;
16291 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16292 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16296 wxBitmap
const &_result_ref
= (arg1
)->GetDisabledBitmap();
16297 result
= (wxBitmap
*) &_result_ref
;
16300 wxPyEndAllowThreads(__tstate
);
16301 if (PyErr_Occurred()) SWIG_fail
;
16304 wxBitmap
* resultptr
= new wxBitmap(*result
);
16305 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
16313 static PyObject
*_wrap_ToolBarToolBase_GetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16314 PyObject
*resultobj
;
16315 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16317 PyObject
* obj0
= 0 ;
16318 char *kwnames
[] = {
16319 (char *) "self", NULL
16322 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetBitmap",kwnames
,&obj0
)) goto fail
;
16323 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16324 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16327 result
= (arg1
)->GetBitmap();
16329 wxPyEndAllowThreads(__tstate
);
16330 if (PyErr_Occurred()) SWIG_fail
;
16333 wxBitmap
* resultptr
;
16334 resultptr
= new wxBitmap((wxBitmap
&) result
);
16335 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
16343 static PyObject
*_wrap_ToolBarToolBase_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16344 PyObject
*resultobj
;
16345 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16347 PyObject
* obj0
= 0 ;
16348 char *kwnames
[] = {
16349 (char *) "self", NULL
16352 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetLabel",kwnames
,&obj0
)) goto fail
;
16353 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16354 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16357 result
= (arg1
)->GetLabel();
16359 wxPyEndAllowThreads(__tstate
);
16360 if (PyErr_Occurred()) SWIG_fail
;
16364 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16366 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16375 static PyObject
*_wrap_ToolBarToolBase_GetShortHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16376 PyObject
*resultobj
;
16377 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16379 PyObject
* obj0
= 0 ;
16380 char *kwnames
[] = {
16381 (char *) "self", NULL
16384 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetShortHelp",kwnames
,&obj0
)) goto fail
;
16385 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16386 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16389 result
= (arg1
)->GetShortHelp();
16391 wxPyEndAllowThreads(__tstate
);
16392 if (PyErr_Occurred()) SWIG_fail
;
16396 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16398 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16407 static PyObject
*_wrap_ToolBarToolBase_GetLongHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16408 PyObject
*resultobj
;
16409 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16411 PyObject
* obj0
= 0 ;
16412 char *kwnames
[] = {
16413 (char *) "self", NULL
16416 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetLongHelp",kwnames
,&obj0
)) goto fail
;
16417 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16418 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16421 result
= (arg1
)->GetLongHelp();
16423 wxPyEndAllowThreads(__tstate
);
16424 if (PyErr_Occurred()) SWIG_fail
;
16428 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16430 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16439 static PyObject
*_wrap_ToolBarToolBase_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16440 PyObject
*resultobj
;
16441 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16444 PyObject
* obj0
= 0 ;
16445 PyObject
* obj1
= 0 ;
16446 char *kwnames
[] = {
16447 (char *) "self",(char *) "enable", NULL
16450 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_Enable",kwnames
,&obj0
,&obj1
)) goto fail
;
16451 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16452 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16453 arg2
= (bool) SWIG_AsBool(obj1
);
16454 if (PyErr_Occurred()) SWIG_fail
;
16456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16457 result
= (bool)(arg1
)->Enable(arg2
);
16459 wxPyEndAllowThreads(__tstate
);
16460 if (PyErr_Occurred()) SWIG_fail
;
16463 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16471 static PyObject
*_wrap_ToolBarToolBase_Toggle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16472 PyObject
*resultobj
;
16473 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16474 PyObject
* obj0
= 0 ;
16475 char *kwnames
[] = {
16476 (char *) "self", NULL
16479 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_Toggle",kwnames
,&obj0
)) goto fail
;
16480 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16481 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16486 wxPyEndAllowThreads(__tstate
);
16487 if (PyErr_Occurred()) SWIG_fail
;
16489 Py_INCREF(Py_None
); resultobj
= Py_None
;
16496 static PyObject
*_wrap_ToolBarToolBase_SetToggle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16497 PyObject
*resultobj
;
16498 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16501 PyObject
* obj0
= 0 ;
16502 PyObject
* obj1
= 0 ;
16503 char *kwnames
[] = {
16504 (char *) "self",(char *) "toggle", NULL
16507 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetToggle",kwnames
,&obj0
,&obj1
)) goto fail
;
16508 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16509 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16510 arg2
= (bool) SWIG_AsBool(obj1
);
16511 if (PyErr_Occurred()) SWIG_fail
;
16513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16514 result
= (bool)(arg1
)->SetToggle(arg2
);
16516 wxPyEndAllowThreads(__tstate
);
16517 if (PyErr_Occurred()) SWIG_fail
;
16520 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16528 static PyObject
*_wrap_ToolBarToolBase_SetShortHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16529 PyObject
*resultobj
;
16530 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16531 wxString
*arg2
= 0 ;
16533 bool temp2
= False
;
16534 PyObject
* obj0
= 0 ;
16535 PyObject
* obj1
= 0 ;
16536 char *kwnames
[] = {
16537 (char *) "self",(char *) "help", NULL
16540 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetShortHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
16541 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16542 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16544 arg2
= wxString_in_helper(obj1
);
16545 if (arg2
== NULL
) SWIG_fail
;
16549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16550 result
= (bool)(arg1
)->SetShortHelp((wxString
const &)*arg2
);
16552 wxPyEndAllowThreads(__tstate
);
16553 if (PyErr_Occurred()) SWIG_fail
;
16556 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16572 static PyObject
*_wrap_ToolBarToolBase_SetLongHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16573 PyObject
*resultobj
;
16574 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16575 wxString
*arg2
= 0 ;
16577 bool temp2
= False
;
16578 PyObject
* obj0
= 0 ;
16579 PyObject
* obj1
= 0 ;
16580 char *kwnames
[] = {
16581 (char *) "self",(char *) "help", NULL
16584 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetLongHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
16585 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16586 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16588 arg2
= wxString_in_helper(obj1
);
16589 if (arg2
== NULL
) SWIG_fail
;
16593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16594 result
= (bool)(arg1
)->SetLongHelp((wxString
const &)*arg2
);
16596 wxPyEndAllowThreads(__tstate
);
16597 if (PyErr_Occurred()) SWIG_fail
;
16600 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16616 static PyObject
*_wrap_ToolBarToolBase_SetNormalBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16617 PyObject
*resultobj
;
16618 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16619 wxBitmap
*arg2
= 0 ;
16620 PyObject
* obj0
= 0 ;
16621 PyObject
* obj1
= 0 ;
16622 char *kwnames
[] = {
16623 (char *) "self",(char *) "bmp", NULL
16626 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetNormalBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
16627 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16628 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16629 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
16630 SWIG_POINTER_EXCEPTION
| 0)) == -1)
16632 if (arg2
== NULL
) {
16633 PyErr_SetString(PyExc_TypeError
,"null reference");
16637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16638 (arg1
)->SetNormalBitmap((wxBitmap
const &)*arg2
);
16640 wxPyEndAllowThreads(__tstate
);
16641 if (PyErr_Occurred()) SWIG_fail
;
16643 Py_INCREF(Py_None
); resultobj
= Py_None
;
16650 static PyObject
*_wrap_ToolBarToolBase_SetDisabledBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16651 PyObject
*resultobj
;
16652 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16653 wxBitmap
*arg2
= 0 ;
16654 PyObject
* obj0
= 0 ;
16655 PyObject
* obj1
= 0 ;
16656 char *kwnames
[] = {
16657 (char *) "self",(char *) "bmp", NULL
16660 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetDisabledBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
16661 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16662 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16663 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
16664 SWIG_POINTER_EXCEPTION
| 0)) == -1)
16666 if (arg2
== NULL
) {
16667 PyErr_SetString(PyExc_TypeError
,"null reference");
16671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16672 (arg1
)->SetDisabledBitmap((wxBitmap
const &)*arg2
);
16674 wxPyEndAllowThreads(__tstate
);
16675 if (PyErr_Occurred()) SWIG_fail
;
16677 Py_INCREF(Py_None
); resultobj
= Py_None
;
16684 static PyObject
*_wrap_ToolBarToolBase_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16685 PyObject
*resultobj
;
16686 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16687 wxString
*arg2
= 0 ;
16688 bool temp2
= False
;
16689 PyObject
* obj0
= 0 ;
16690 PyObject
* obj1
= 0 ;
16691 char *kwnames
[] = {
16692 (char *) "self",(char *) "label", NULL
16695 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
16696 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16697 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16699 arg2
= wxString_in_helper(obj1
);
16700 if (arg2
== NULL
) SWIG_fail
;
16704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16705 (arg1
)->SetLabel((wxString
const &)*arg2
);
16707 wxPyEndAllowThreads(__tstate
);
16708 if (PyErr_Occurred()) SWIG_fail
;
16710 Py_INCREF(Py_None
); resultobj
= Py_None
;
16725 static PyObject
*_wrap_ToolBarToolBase_Detach(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16726 PyObject
*resultobj
;
16727 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16728 PyObject
* obj0
= 0 ;
16729 char *kwnames
[] = {
16730 (char *) "self", NULL
16733 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_Detach",kwnames
,&obj0
)) goto fail
;
16734 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16735 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16740 wxPyEndAllowThreads(__tstate
);
16741 if (PyErr_Occurred()) SWIG_fail
;
16743 Py_INCREF(Py_None
); resultobj
= Py_None
;
16750 static PyObject
*_wrap_ToolBarToolBase_Attach(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16751 PyObject
*resultobj
;
16752 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16753 wxToolBarBase
*arg2
= (wxToolBarBase
*) 0 ;
16754 PyObject
* obj0
= 0 ;
16755 PyObject
* obj1
= 0 ;
16756 char *kwnames
[] = {
16757 (char *) "self",(char *) "tbar", NULL
16760 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_Attach",kwnames
,&obj0
,&obj1
)) goto fail
;
16761 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16762 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16763 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxToolBarBase
,
16764 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16767 (arg1
)->Attach(arg2
);
16769 wxPyEndAllowThreads(__tstate
);
16770 if (PyErr_Occurred()) SWIG_fail
;
16772 Py_INCREF(Py_None
); resultobj
= Py_None
;
16779 static PyObject
*_wrap_ToolBarToolBase_GetClientData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16780 PyObject
*resultobj
;
16781 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16783 PyObject
* obj0
= 0 ;
16784 char *kwnames
[] = {
16785 (char *) "self", NULL
16788 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetClientData",kwnames
,&obj0
)) goto fail
;
16789 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16790 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16793 result
= (PyObject
*)wxToolBarToolBase_GetClientData(arg1
);
16795 wxPyEndAllowThreads(__tstate
);
16796 if (PyErr_Occurred()) SWIG_fail
;
16798 resultobj
= result
;
16805 static PyObject
*_wrap_ToolBarToolBase_SetClientData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16806 PyObject
*resultobj
;
16807 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16808 PyObject
*arg2
= (PyObject
*) 0 ;
16809 PyObject
* obj0
= 0 ;
16810 PyObject
* obj1
= 0 ;
16811 char *kwnames
[] = {
16812 (char *) "self",(char *) "clientData", NULL
16815 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetClientData",kwnames
,&obj0
,&obj1
)) goto fail
;
16816 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16817 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16821 wxToolBarToolBase_SetClientData(arg1
,arg2
);
16823 wxPyEndAllowThreads(__tstate
);
16824 if (PyErr_Occurred()) SWIG_fail
;
16826 Py_INCREF(Py_None
); resultobj
= Py_None
;
16833 static PyObject
* ToolBarToolBase_swigregister(PyObject
*self
, PyObject
*args
) {
16835 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16836 SWIG_TypeClientData(SWIGTYPE_p_wxToolBarToolBase
, obj
);
16838 return Py_BuildValue((char *)"");
16840 static PyObject
*_wrap_ToolBarBase_DoAddTool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16841 PyObject
*resultobj
;
16842 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16844 wxString
*arg3
= 0 ;
16845 wxBitmap
*arg4
= 0 ;
16846 wxBitmap
const &arg5_defvalue
= wxNullBitmap
;
16847 wxBitmap
*arg5
= (wxBitmap
*) &arg5_defvalue
;
16848 int arg6
= (int) wxITEM_NORMAL
;
16849 wxString
const &arg7_defvalue
= wxPyEmptyString
;
16850 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
16851 wxString
const &arg8_defvalue
= wxPyEmptyString
;
16852 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
16853 PyObject
*arg9
= (PyObject
*) NULL
;
16854 wxToolBarToolBase
*result
;
16855 bool temp3
= False
;
16856 bool temp7
= False
;
16857 bool temp8
= False
;
16858 PyObject
* obj0
= 0 ;
16859 PyObject
* obj1
= 0 ;
16860 PyObject
* obj2
= 0 ;
16861 PyObject
* obj3
= 0 ;
16862 PyObject
* obj4
= 0 ;
16863 PyObject
* obj5
= 0 ;
16864 PyObject
* obj6
= 0 ;
16865 PyObject
* obj7
= 0 ;
16866 PyObject
* obj8
= 0 ;
16867 char *kwnames
[] = {
16868 (char *) "self",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
16871 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOOO:ToolBarBase_DoAddTool",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
16872 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16873 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16874 arg2
= (int) SWIG_AsInt(obj1
);
16875 if (PyErr_Occurred()) SWIG_fail
;
16877 arg3
= wxString_in_helper(obj2
);
16878 if (arg3
== NULL
) SWIG_fail
;
16881 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxBitmap
,
16882 SWIG_POINTER_EXCEPTION
| 0)) == -1)
16884 if (arg4
== NULL
) {
16885 PyErr_SetString(PyExc_TypeError
,"null reference");
16889 if ((SWIG_ConvertPtr(obj4
,(void **)(&arg5
),SWIGTYPE_p_wxBitmap
,
16890 SWIG_POINTER_EXCEPTION
| 0)) == -1)
16892 if (arg5
== NULL
) {
16893 PyErr_SetString(PyExc_TypeError
,"null reference");
16898 arg6
= (wxItemKind
) SWIG_AsInt(obj5
);
16899 if (PyErr_Occurred()) SWIG_fail
;
16903 arg7
= wxString_in_helper(obj6
);
16904 if (arg7
== NULL
) SWIG_fail
;
16910 arg8
= wxString_in_helper(obj7
);
16911 if (arg8
== NULL
) SWIG_fail
;
16919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16920 result
= (wxToolBarToolBase
*)wxToolBarBase_DoAddTool(arg1
,arg2
,(wxString
const &)*arg3
,(wxBitmap
const &)*arg4
,(wxBitmap
const &)*arg5
,(wxItemKind
)arg6
,(wxString
const &)*arg7
,(wxString
const &)*arg8
,arg9
);
16922 wxPyEndAllowThreads(__tstate
);
16923 if (PyErr_Occurred()) SWIG_fail
;
16926 resultobj
= wxPyMake_wxObject(result
);
16958 static PyObject
*_wrap_ToolBarBase_DoInsertTool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16959 PyObject
*resultobj
;
16960 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16963 wxString
*arg4
= 0 ;
16964 wxBitmap
*arg5
= 0 ;
16965 wxBitmap
const &arg6_defvalue
= wxNullBitmap
;
16966 wxBitmap
*arg6
= (wxBitmap
*) &arg6_defvalue
;
16967 int arg7
= (int) wxITEM_NORMAL
;
16968 wxString
const &arg8_defvalue
= wxPyEmptyString
;
16969 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
16970 wxString
const &arg9_defvalue
= wxPyEmptyString
;
16971 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
16972 PyObject
*arg10
= (PyObject
*) NULL
;
16973 wxToolBarToolBase
*result
;
16974 bool temp4
= False
;
16975 bool temp8
= False
;
16976 bool temp9
= False
;
16977 PyObject
* obj0
= 0 ;
16978 PyObject
* obj1
= 0 ;
16979 PyObject
* obj2
= 0 ;
16980 PyObject
* obj3
= 0 ;
16981 PyObject
* obj4
= 0 ;
16982 PyObject
* obj5
= 0 ;
16983 PyObject
* obj6
= 0 ;
16984 PyObject
* obj7
= 0 ;
16985 PyObject
* obj8
= 0 ;
16986 PyObject
* obj9
= 0 ;
16987 char *kwnames
[] = {
16988 (char *) "self",(char *) "pos",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
16991 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOOOO:ToolBarBase_DoInsertTool",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
16992 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16993 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16994 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
16995 if (PyErr_Occurred()) SWIG_fail
;
16996 arg3
= (int) SWIG_AsInt(obj2
);
16997 if (PyErr_Occurred()) SWIG_fail
;
16999 arg4
= wxString_in_helper(obj3
);
17000 if (arg4
== NULL
) SWIG_fail
;
17003 if ((SWIG_ConvertPtr(obj4
,(void **)(&arg5
),SWIGTYPE_p_wxBitmap
,
17004 SWIG_POINTER_EXCEPTION
| 0)) == -1)
17006 if (arg5
== NULL
) {
17007 PyErr_SetString(PyExc_TypeError
,"null reference");
17011 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxBitmap
,
17012 SWIG_POINTER_EXCEPTION
| 0)) == -1)
17014 if (arg6
== NULL
) {
17015 PyErr_SetString(PyExc_TypeError
,"null reference");
17020 arg7
= (wxItemKind
) SWIG_AsInt(obj6
);
17021 if (PyErr_Occurred()) SWIG_fail
;
17025 arg8
= wxString_in_helper(obj7
);
17026 if (arg8
== NULL
) SWIG_fail
;
17032 arg9
= wxString_in_helper(obj8
);
17033 if (arg9
== NULL
) SWIG_fail
;
17041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17042 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
);
17044 wxPyEndAllowThreads(__tstate
);
17045 if (PyErr_Occurred()) SWIG_fail
;
17048 resultobj
= wxPyMake_wxObject(result
);
17080 static PyObject
*_wrap_ToolBarBase_AddToolItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17081 PyObject
*resultobj
;
17082 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17083 wxToolBarToolBase
*arg2
= (wxToolBarToolBase
*) 0 ;
17084 wxToolBarToolBase
*result
;
17085 PyObject
* obj0
= 0 ;
17086 PyObject
* obj1
= 0 ;
17087 char *kwnames
[] = {
17088 (char *) "self",(char *) "tool", NULL
17091 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_AddToolItem",kwnames
,&obj0
,&obj1
)) goto fail
;
17092 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17093 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17094 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxToolBarToolBase
,
17095 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17098 result
= (wxToolBarToolBase
*)(arg1
)->AddTool(arg2
);
17100 wxPyEndAllowThreads(__tstate
);
17101 if (PyErr_Occurred()) SWIG_fail
;
17104 resultobj
= wxPyMake_wxObject(result
);
17112 static PyObject
*_wrap_ToolBarBase_InsertToolItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17113 PyObject
*resultobj
;
17114 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17116 wxToolBarToolBase
*arg3
= (wxToolBarToolBase
*) 0 ;
17117 wxToolBarToolBase
*result
;
17118 PyObject
* obj0
= 0 ;
17119 PyObject
* obj1
= 0 ;
17120 PyObject
* obj2
= 0 ;
17121 char *kwnames
[] = {
17122 (char *) "self",(char *) "pos",(char *) "tool", NULL
17125 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_InsertToolItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17126 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17127 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17128 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
17129 if (PyErr_Occurred()) SWIG_fail
;
17130 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxToolBarToolBase
,
17131 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17134 result
= (wxToolBarToolBase
*)(arg1
)->InsertTool(arg2
,arg3
);
17136 wxPyEndAllowThreads(__tstate
);
17137 if (PyErr_Occurred()) SWIG_fail
;
17140 resultobj
= wxPyMake_wxObject(result
);
17148 static PyObject
*_wrap_ToolBarBase_AddControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17149 PyObject
*resultobj
;
17150 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17151 wxControl
*arg2
= (wxControl
*) 0 ;
17152 wxToolBarToolBase
*result
;
17153 PyObject
* obj0
= 0 ;
17154 PyObject
* obj1
= 0 ;
17155 char *kwnames
[] = {
17156 (char *) "self",(char *) "control", NULL
17159 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_AddControl",kwnames
,&obj0
,&obj1
)) goto fail
;
17160 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17161 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17162 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxControl
,
17163 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17166 result
= (wxToolBarToolBase
*)(arg1
)->AddControl(arg2
);
17168 wxPyEndAllowThreads(__tstate
);
17169 if (PyErr_Occurred()) SWIG_fail
;
17172 resultobj
= wxPyMake_wxObject(result
);
17180 static PyObject
*_wrap_ToolBarBase_InsertControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17181 PyObject
*resultobj
;
17182 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17184 wxControl
*arg3
= (wxControl
*) 0 ;
17185 wxToolBarToolBase
*result
;
17186 PyObject
* obj0
= 0 ;
17187 PyObject
* obj1
= 0 ;
17188 PyObject
* obj2
= 0 ;
17189 char *kwnames
[] = {
17190 (char *) "self",(char *) "pos",(char *) "control", NULL
17193 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_InsertControl",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17194 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17195 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17196 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
17197 if (PyErr_Occurred()) SWIG_fail
;
17198 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxControl
,
17199 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17202 result
= (wxToolBarToolBase
*)(arg1
)->InsertControl(arg2
,arg3
);
17204 wxPyEndAllowThreads(__tstate
);
17205 if (PyErr_Occurred()) SWIG_fail
;
17208 resultobj
= wxPyMake_wxObject(result
);
17216 static PyObject
*_wrap_ToolBarBase_FindControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17217 PyObject
*resultobj
;
17218 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17221 PyObject
* obj0
= 0 ;
17222 PyObject
* obj1
= 0 ;
17223 char *kwnames
[] = {
17224 (char *) "self",(char *) "id", NULL
17227 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_FindControl",kwnames
,&obj0
,&obj1
)) goto fail
;
17228 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17229 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17230 arg2
= (int) SWIG_AsInt(obj1
);
17231 if (PyErr_Occurred()) SWIG_fail
;
17233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17234 result
= (wxControl
*)(arg1
)->FindControl(arg2
);
17236 wxPyEndAllowThreads(__tstate
);
17237 if (PyErr_Occurred()) SWIG_fail
;
17240 resultobj
= wxPyMake_wxObject(result
);
17248 static PyObject
*_wrap_ToolBarBase_AddSeparator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17249 PyObject
*resultobj
;
17250 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17251 wxToolBarToolBase
*result
;
17252 PyObject
* obj0
= 0 ;
17253 char *kwnames
[] = {
17254 (char *) "self", NULL
17257 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_AddSeparator",kwnames
,&obj0
)) goto fail
;
17258 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17259 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17262 result
= (wxToolBarToolBase
*)(arg1
)->AddSeparator();
17264 wxPyEndAllowThreads(__tstate
);
17265 if (PyErr_Occurred()) SWIG_fail
;
17268 resultobj
= wxPyMake_wxObject(result
);
17276 static PyObject
*_wrap_ToolBarBase_InsertSeparator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17277 PyObject
*resultobj
;
17278 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17280 wxToolBarToolBase
*result
;
17281 PyObject
* obj0
= 0 ;
17282 PyObject
* obj1
= 0 ;
17283 char *kwnames
[] = {
17284 (char *) "self",(char *) "pos", NULL
17287 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_InsertSeparator",kwnames
,&obj0
,&obj1
)) goto fail
;
17288 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17289 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17290 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
17291 if (PyErr_Occurred()) SWIG_fail
;
17293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17294 result
= (wxToolBarToolBase
*)(arg1
)->InsertSeparator(arg2
);
17296 wxPyEndAllowThreads(__tstate
);
17297 if (PyErr_Occurred()) SWIG_fail
;
17300 resultobj
= wxPyMake_wxObject(result
);
17308 static PyObject
*_wrap_ToolBarBase_RemoveTool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17309 PyObject
*resultobj
;
17310 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17312 wxToolBarToolBase
*result
;
17313 PyObject
* obj0
= 0 ;
17314 PyObject
* obj1
= 0 ;
17315 char *kwnames
[] = {
17316 (char *) "self",(char *) "id", NULL
17319 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_RemoveTool",kwnames
,&obj0
,&obj1
)) goto fail
;
17320 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17321 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17322 arg2
= (int) SWIG_AsInt(obj1
);
17323 if (PyErr_Occurred()) SWIG_fail
;
17325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17326 result
= (wxToolBarToolBase
*)(arg1
)->RemoveTool(arg2
);
17328 wxPyEndAllowThreads(__tstate
);
17329 if (PyErr_Occurred()) SWIG_fail
;
17332 resultobj
= wxPyMake_wxObject(result
);
17340 static PyObject
*_wrap_ToolBarBase_DeleteToolByPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17341 PyObject
*resultobj
;
17342 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17345 PyObject
* obj0
= 0 ;
17346 PyObject
* obj1
= 0 ;
17347 char *kwnames
[] = {
17348 (char *) "self",(char *) "pos", NULL
17351 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_DeleteToolByPos",kwnames
,&obj0
,&obj1
)) goto fail
;
17352 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17353 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17354 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
17355 if (PyErr_Occurred()) SWIG_fail
;
17357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17358 result
= (bool)(arg1
)->DeleteToolByPos(arg2
);
17360 wxPyEndAllowThreads(__tstate
);
17361 if (PyErr_Occurred()) SWIG_fail
;
17364 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17372 static PyObject
*_wrap_ToolBarBase_DeleteTool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17373 PyObject
*resultobj
;
17374 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17377 PyObject
* obj0
= 0 ;
17378 PyObject
* obj1
= 0 ;
17379 char *kwnames
[] = {
17380 (char *) "self",(char *) "id", NULL
17383 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_DeleteTool",kwnames
,&obj0
,&obj1
)) goto fail
;
17384 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17385 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17386 arg2
= (int) SWIG_AsInt(obj1
);
17387 if (PyErr_Occurred()) SWIG_fail
;
17389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17390 result
= (bool)(arg1
)->DeleteTool(arg2
);
17392 wxPyEndAllowThreads(__tstate
);
17393 if (PyErr_Occurred()) SWIG_fail
;
17396 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17404 static PyObject
*_wrap_ToolBarBase_ClearTools(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17405 PyObject
*resultobj
;
17406 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17407 PyObject
* obj0
= 0 ;
17408 char *kwnames
[] = {
17409 (char *) "self", NULL
17412 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_ClearTools",kwnames
,&obj0
)) goto fail
;
17413 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17414 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17417 (arg1
)->ClearTools();
17419 wxPyEndAllowThreads(__tstate
);
17420 if (PyErr_Occurred()) SWIG_fail
;
17422 Py_INCREF(Py_None
); resultobj
= Py_None
;
17429 static PyObject
*_wrap_ToolBarBase_Realize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17430 PyObject
*resultobj
;
17431 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17433 PyObject
* obj0
= 0 ;
17434 char *kwnames
[] = {
17435 (char *) "self", NULL
17438 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_Realize",kwnames
,&obj0
)) goto fail
;
17439 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17440 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17443 result
= (bool)(arg1
)->Realize();
17445 wxPyEndAllowThreads(__tstate
);
17446 if (PyErr_Occurred()) SWIG_fail
;
17449 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17457 static PyObject
*_wrap_ToolBarBase_EnableTool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17458 PyObject
*resultobj
;
17459 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17462 PyObject
* obj0
= 0 ;
17463 PyObject
* obj1
= 0 ;
17464 PyObject
* obj2
= 0 ;
17465 char *kwnames
[] = {
17466 (char *) "self",(char *) "id",(char *) "enable", NULL
17469 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_EnableTool",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17470 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17471 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17472 arg2
= (int) SWIG_AsInt(obj1
);
17473 if (PyErr_Occurred()) SWIG_fail
;
17474 arg3
= (bool) SWIG_AsBool(obj2
);
17475 if (PyErr_Occurred()) SWIG_fail
;
17477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17478 (arg1
)->EnableTool(arg2
,arg3
);
17480 wxPyEndAllowThreads(__tstate
);
17481 if (PyErr_Occurred()) SWIG_fail
;
17483 Py_INCREF(Py_None
); resultobj
= Py_None
;
17490 static PyObject
*_wrap_ToolBarBase_ToggleTool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17491 PyObject
*resultobj
;
17492 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17495 PyObject
* obj0
= 0 ;
17496 PyObject
* obj1
= 0 ;
17497 PyObject
* obj2
= 0 ;
17498 char *kwnames
[] = {
17499 (char *) "self",(char *) "id",(char *) "toggle", NULL
17502 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_ToggleTool",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17503 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17504 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17505 arg2
= (int) SWIG_AsInt(obj1
);
17506 if (PyErr_Occurred()) SWIG_fail
;
17507 arg3
= (bool) SWIG_AsBool(obj2
);
17508 if (PyErr_Occurred()) SWIG_fail
;
17510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17511 (arg1
)->ToggleTool(arg2
,arg3
);
17513 wxPyEndAllowThreads(__tstate
);
17514 if (PyErr_Occurred()) SWIG_fail
;
17516 Py_INCREF(Py_None
); resultobj
= Py_None
;
17523 static PyObject
*_wrap_ToolBarBase_SetToggle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17524 PyObject
*resultobj
;
17525 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17528 PyObject
* obj0
= 0 ;
17529 PyObject
* obj1
= 0 ;
17530 PyObject
* obj2
= 0 ;
17531 char *kwnames
[] = {
17532 (char *) "self",(char *) "id",(char *) "toggle", NULL
17535 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToggle",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17536 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17537 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17538 arg2
= (int) SWIG_AsInt(obj1
);
17539 if (PyErr_Occurred()) SWIG_fail
;
17540 arg3
= (bool) SWIG_AsBool(obj2
);
17541 if (PyErr_Occurred()) SWIG_fail
;
17543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17544 (arg1
)->SetToggle(arg2
,arg3
);
17546 wxPyEndAllowThreads(__tstate
);
17547 if (PyErr_Occurred()) SWIG_fail
;
17549 Py_INCREF(Py_None
); resultobj
= Py_None
;
17556 static PyObject
*_wrap_ToolBarBase_GetToolClientData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17557 PyObject
*resultobj
;
17558 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17561 PyObject
* obj0
= 0 ;
17562 PyObject
* obj1
= 0 ;
17563 char *kwnames
[] = {
17564 (char *) "self",(char *) "id", NULL
17567 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolClientData",kwnames
,&obj0
,&obj1
)) goto fail
;
17568 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17569 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17570 arg2
= (int) SWIG_AsInt(obj1
);
17571 if (PyErr_Occurred()) SWIG_fail
;
17573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17574 result
= (PyObject
*)wxToolBarBase_GetToolClientData(arg1
,arg2
);
17576 wxPyEndAllowThreads(__tstate
);
17577 if (PyErr_Occurred()) SWIG_fail
;
17579 resultobj
= result
;
17586 static PyObject
*_wrap_ToolBarBase_SetToolClientData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17587 PyObject
*resultobj
;
17588 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17590 PyObject
*arg3
= (PyObject
*) 0 ;
17591 PyObject
* obj0
= 0 ;
17592 PyObject
* obj1
= 0 ;
17593 PyObject
* obj2
= 0 ;
17594 char *kwnames
[] = {
17595 (char *) "self",(char *) "id",(char *) "clientData", NULL
17598 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToolClientData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17599 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17600 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17601 arg2
= (int) SWIG_AsInt(obj1
);
17602 if (PyErr_Occurred()) SWIG_fail
;
17605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17606 wxToolBarBase_SetToolClientData(arg1
,arg2
,arg3
);
17608 wxPyEndAllowThreads(__tstate
);
17609 if (PyErr_Occurred()) SWIG_fail
;
17611 Py_INCREF(Py_None
); resultobj
= Py_None
;
17618 static PyObject
*_wrap_ToolBarBase_GetToolPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17619 PyObject
*resultobj
;
17620 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17623 PyObject
* obj0
= 0 ;
17624 PyObject
* obj1
= 0 ;
17625 char *kwnames
[] = {
17626 (char *) "self",(char *) "id", NULL
17629 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolPos",kwnames
,&obj0
,&obj1
)) goto fail
;
17630 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17631 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17632 arg2
= (int) SWIG_AsInt(obj1
);
17633 if (PyErr_Occurred()) SWIG_fail
;
17635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17636 result
= (int)((wxToolBarBase
const *)arg1
)->GetToolPos(arg2
);
17638 wxPyEndAllowThreads(__tstate
);
17639 if (PyErr_Occurred()) SWIG_fail
;
17641 resultobj
= SWIG_FromInt((int)result
);
17648 static PyObject
*_wrap_ToolBarBase_GetToolState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17649 PyObject
*resultobj
;
17650 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17653 PyObject
* obj0
= 0 ;
17654 PyObject
* obj1
= 0 ;
17655 char *kwnames
[] = {
17656 (char *) "self",(char *) "id", NULL
17659 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolState",kwnames
,&obj0
,&obj1
)) goto fail
;
17660 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17661 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17662 arg2
= (int) SWIG_AsInt(obj1
);
17663 if (PyErr_Occurred()) SWIG_fail
;
17665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17666 result
= (bool)(arg1
)->GetToolState(arg2
);
17668 wxPyEndAllowThreads(__tstate
);
17669 if (PyErr_Occurred()) SWIG_fail
;
17672 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17680 static PyObject
*_wrap_ToolBarBase_GetToolEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17681 PyObject
*resultobj
;
17682 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17685 PyObject
* obj0
= 0 ;
17686 PyObject
* obj1
= 0 ;
17687 char *kwnames
[] = {
17688 (char *) "self",(char *) "id", NULL
17691 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolEnabled",kwnames
,&obj0
,&obj1
)) goto fail
;
17692 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17693 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17694 arg2
= (int) SWIG_AsInt(obj1
);
17695 if (PyErr_Occurred()) SWIG_fail
;
17697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17698 result
= (bool)(arg1
)->GetToolEnabled(arg2
);
17700 wxPyEndAllowThreads(__tstate
);
17701 if (PyErr_Occurred()) SWIG_fail
;
17704 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17712 static PyObject
*_wrap_ToolBarBase_SetToolShortHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17713 PyObject
*resultobj
;
17714 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17716 wxString
*arg3
= 0 ;
17717 bool temp3
= False
;
17718 PyObject
* obj0
= 0 ;
17719 PyObject
* obj1
= 0 ;
17720 PyObject
* obj2
= 0 ;
17721 char *kwnames
[] = {
17722 (char *) "self",(char *) "id",(char *) "helpString", NULL
17725 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToolShortHelp",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17726 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17727 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17728 arg2
= (int) SWIG_AsInt(obj1
);
17729 if (PyErr_Occurred()) SWIG_fail
;
17731 arg3
= wxString_in_helper(obj2
);
17732 if (arg3
== NULL
) SWIG_fail
;
17736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17737 (arg1
)->SetToolShortHelp(arg2
,(wxString
const &)*arg3
);
17739 wxPyEndAllowThreads(__tstate
);
17740 if (PyErr_Occurred()) SWIG_fail
;
17742 Py_INCREF(Py_None
); resultobj
= Py_None
;
17757 static PyObject
*_wrap_ToolBarBase_GetToolShortHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17758 PyObject
*resultobj
;
17759 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17762 PyObject
* obj0
= 0 ;
17763 PyObject
* obj1
= 0 ;
17764 char *kwnames
[] = {
17765 (char *) "self",(char *) "id", NULL
17768 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolShortHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
17769 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17770 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17771 arg2
= (int) SWIG_AsInt(obj1
);
17772 if (PyErr_Occurred()) SWIG_fail
;
17774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17775 result
= (arg1
)->GetToolShortHelp(arg2
);
17777 wxPyEndAllowThreads(__tstate
);
17778 if (PyErr_Occurred()) SWIG_fail
;
17782 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17784 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17793 static PyObject
*_wrap_ToolBarBase_SetToolLongHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17794 PyObject
*resultobj
;
17795 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17797 wxString
*arg3
= 0 ;
17798 bool temp3
= False
;
17799 PyObject
* obj0
= 0 ;
17800 PyObject
* obj1
= 0 ;
17801 PyObject
* obj2
= 0 ;
17802 char *kwnames
[] = {
17803 (char *) "self",(char *) "id",(char *) "helpString", NULL
17806 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToolLongHelp",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17807 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17808 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17809 arg2
= (int) SWIG_AsInt(obj1
);
17810 if (PyErr_Occurred()) SWIG_fail
;
17812 arg3
= wxString_in_helper(obj2
);
17813 if (arg3
== NULL
) SWIG_fail
;
17817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17818 (arg1
)->SetToolLongHelp(arg2
,(wxString
const &)*arg3
);
17820 wxPyEndAllowThreads(__tstate
);
17821 if (PyErr_Occurred()) SWIG_fail
;
17823 Py_INCREF(Py_None
); resultobj
= Py_None
;
17838 static PyObject
*_wrap_ToolBarBase_GetToolLongHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17839 PyObject
*resultobj
;
17840 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17843 PyObject
* obj0
= 0 ;
17844 PyObject
* obj1
= 0 ;
17845 char *kwnames
[] = {
17846 (char *) "self",(char *) "id", NULL
17849 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolLongHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
17850 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17851 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17852 arg2
= (int) SWIG_AsInt(obj1
);
17853 if (PyErr_Occurred()) SWIG_fail
;
17855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17856 result
= (arg1
)->GetToolLongHelp(arg2
);
17858 wxPyEndAllowThreads(__tstate
);
17859 if (PyErr_Occurred()) SWIG_fail
;
17863 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17865 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17874 static PyObject
*_wrap_ToolBarBase_SetMarginsXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17875 PyObject
*resultobj
;
17876 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17879 PyObject
* obj0
= 0 ;
17880 PyObject
* obj1
= 0 ;
17881 PyObject
* obj2
= 0 ;
17882 char *kwnames
[] = {
17883 (char *) "self",(char *) "x",(char *) "y", NULL
17886 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetMarginsXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17887 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17888 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17889 arg2
= (int) SWIG_AsInt(obj1
);
17890 if (PyErr_Occurred()) SWIG_fail
;
17891 arg3
= (int) SWIG_AsInt(obj2
);
17892 if (PyErr_Occurred()) SWIG_fail
;
17894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17895 (arg1
)->SetMargins(arg2
,arg3
);
17897 wxPyEndAllowThreads(__tstate
);
17898 if (PyErr_Occurred()) SWIG_fail
;
17900 Py_INCREF(Py_None
); resultobj
= Py_None
;
17907 static PyObject
*_wrap_ToolBarBase_SetMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17908 PyObject
*resultobj
;
17909 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17912 PyObject
* obj0
= 0 ;
17913 PyObject
* obj1
= 0 ;
17914 char *kwnames
[] = {
17915 (char *) "self",(char *) "size", NULL
17918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetMargins",kwnames
,&obj0
,&obj1
)) goto fail
;
17919 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17920 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17923 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
17926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17927 (arg1
)->SetMargins((wxSize
const &)*arg2
);
17929 wxPyEndAllowThreads(__tstate
);
17930 if (PyErr_Occurred()) SWIG_fail
;
17932 Py_INCREF(Py_None
); resultobj
= Py_None
;
17939 static PyObject
*_wrap_ToolBarBase_SetToolPacking(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17940 PyObject
*resultobj
;
17941 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17943 PyObject
* obj0
= 0 ;
17944 PyObject
* obj1
= 0 ;
17945 char *kwnames
[] = {
17946 (char *) "self",(char *) "packing", NULL
17949 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetToolPacking",kwnames
,&obj0
,&obj1
)) goto fail
;
17950 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17951 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17952 arg2
= (int) SWIG_AsInt(obj1
);
17953 if (PyErr_Occurred()) SWIG_fail
;
17955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17956 (arg1
)->SetToolPacking(arg2
);
17958 wxPyEndAllowThreads(__tstate
);
17959 if (PyErr_Occurred()) SWIG_fail
;
17961 Py_INCREF(Py_None
); resultobj
= Py_None
;
17968 static PyObject
*_wrap_ToolBarBase_SetToolSeparation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17969 PyObject
*resultobj
;
17970 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17972 PyObject
* obj0
= 0 ;
17973 PyObject
* obj1
= 0 ;
17974 char *kwnames
[] = {
17975 (char *) "self",(char *) "separation", NULL
17978 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetToolSeparation",kwnames
,&obj0
,&obj1
)) goto fail
;
17979 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17980 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17981 arg2
= (int) SWIG_AsInt(obj1
);
17982 if (PyErr_Occurred()) SWIG_fail
;
17984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17985 (arg1
)->SetToolSeparation(arg2
);
17987 wxPyEndAllowThreads(__tstate
);
17988 if (PyErr_Occurred()) SWIG_fail
;
17990 Py_INCREF(Py_None
); resultobj
= Py_None
;
17997 static PyObject
*_wrap_ToolBarBase_GetToolMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17998 PyObject
*resultobj
;
17999 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18001 PyObject
* obj0
= 0 ;
18002 char *kwnames
[] = {
18003 (char *) "self", NULL
18006 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolMargins",kwnames
,&obj0
)) goto fail
;
18007 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18008 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18011 result
= (arg1
)->GetToolMargins();
18013 wxPyEndAllowThreads(__tstate
);
18014 if (PyErr_Occurred()) SWIG_fail
;
18017 wxSize
* resultptr
;
18018 resultptr
= new wxSize((wxSize
&) result
);
18019 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
18027 static PyObject
*_wrap_ToolBarBase_GetMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18028 PyObject
*resultobj
;
18029 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18031 PyObject
* obj0
= 0 ;
18032 char *kwnames
[] = {
18033 (char *) "self", NULL
18036 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetMargins",kwnames
,&obj0
)) goto fail
;
18037 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18038 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18041 result
= (arg1
)->GetMargins();
18043 wxPyEndAllowThreads(__tstate
);
18044 if (PyErr_Occurred()) SWIG_fail
;
18047 wxSize
* resultptr
;
18048 resultptr
= new wxSize((wxSize
&) result
);
18049 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
18057 static PyObject
*_wrap_ToolBarBase_GetToolPacking(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18058 PyObject
*resultobj
;
18059 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18061 PyObject
* obj0
= 0 ;
18062 char *kwnames
[] = {
18063 (char *) "self", NULL
18066 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolPacking",kwnames
,&obj0
)) goto fail
;
18067 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18068 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18071 result
= (int)(arg1
)->GetToolPacking();
18073 wxPyEndAllowThreads(__tstate
);
18074 if (PyErr_Occurred()) SWIG_fail
;
18076 resultobj
= SWIG_FromInt((int)result
);
18083 static PyObject
*_wrap_ToolBarBase_GetToolSeparation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18084 PyObject
*resultobj
;
18085 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18087 PyObject
* obj0
= 0 ;
18088 char *kwnames
[] = {
18089 (char *) "self", NULL
18092 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolSeparation",kwnames
,&obj0
)) goto fail
;
18093 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18094 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18097 result
= (int)(arg1
)->GetToolSeparation();
18099 wxPyEndAllowThreads(__tstate
);
18100 if (PyErr_Occurred()) SWIG_fail
;
18102 resultobj
= SWIG_FromInt((int)result
);
18109 static PyObject
*_wrap_ToolBarBase_SetRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18110 PyObject
*resultobj
;
18111 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18113 PyObject
* obj0
= 0 ;
18114 PyObject
* obj1
= 0 ;
18115 char *kwnames
[] = {
18116 (char *) "self",(char *) "nRows", NULL
18119 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetRows",kwnames
,&obj0
,&obj1
)) goto fail
;
18120 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18121 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18122 arg2
= (int) SWIG_AsInt(obj1
);
18123 if (PyErr_Occurred()) SWIG_fail
;
18125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18126 (arg1
)->SetRows(arg2
);
18128 wxPyEndAllowThreads(__tstate
);
18129 if (PyErr_Occurred()) SWIG_fail
;
18131 Py_INCREF(Py_None
); resultobj
= Py_None
;
18138 static PyObject
*_wrap_ToolBarBase_SetMaxRowsCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18139 PyObject
*resultobj
;
18140 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18143 PyObject
* obj0
= 0 ;
18144 PyObject
* obj1
= 0 ;
18145 PyObject
* obj2
= 0 ;
18146 char *kwnames
[] = {
18147 (char *) "self",(char *) "rows",(char *) "cols", NULL
18150 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetMaxRowsCols",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18151 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18152 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18153 arg2
= (int) SWIG_AsInt(obj1
);
18154 if (PyErr_Occurred()) SWIG_fail
;
18155 arg3
= (int) SWIG_AsInt(obj2
);
18156 if (PyErr_Occurred()) SWIG_fail
;
18158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18159 (arg1
)->SetMaxRowsCols(arg2
,arg3
);
18161 wxPyEndAllowThreads(__tstate
);
18162 if (PyErr_Occurred()) SWIG_fail
;
18164 Py_INCREF(Py_None
); resultobj
= Py_None
;
18171 static PyObject
*_wrap_ToolBarBase_GetMaxRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18172 PyObject
*resultobj
;
18173 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18175 PyObject
* obj0
= 0 ;
18176 char *kwnames
[] = {
18177 (char *) "self", NULL
18180 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetMaxRows",kwnames
,&obj0
)) goto fail
;
18181 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18182 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18185 result
= (int)(arg1
)->GetMaxRows();
18187 wxPyEndAllowThreads(__tstate
);
18188 if (PyErr_Occurred()) SWIG_fail
;
18190 resultobj
= SWIG_FromInt((int)result
);
18197 static PyObject
*_wrap_ToolBarBase_GetMaxCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18198 PyObject
*resultobj
;
18199 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18201 PyObject
* obj0
= 0 ;
18202 char *kwnames
[] = {
18203 (char *) "self", NULL
18206 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetMaxCols",kwnames
,&obj0
)) goto fail
;
18207 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18208 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18211 result
= (int)(arg1
)->GetMaxCols();
18213 wxPyEndAllowThreads(__tstate
);
18214 if (PyErr_Occurred()) SWIG_fail
;
18216 resultobj
= SWIG_FromInt((int)result
);
18223 static PyObject
*_wrap_ToolBarBase_SetToolBitmapSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18224 PyObject
*resultobj
;
18225 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18228 PyObject
* obj0
= 0 ;
18229 PyObject
* obj1
= 0 ;
18230 char *kwnames
[] = {
18231 (char *) "self",(char *) "size", NULL
18234 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetToolBitmapSize",kwnames
,&obj0
,&obj1
)) goto fail
;
18235 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18236 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18239 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
18242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18243 (arg1
)->SetToolBitmapSize((wxSize
const &)*arg2
);
18245 wxPyEndAllowThreads(__tstate
);
18246 if (PyErr_Occurred()) SWIG_fail
;
18248 Py_INCREF(Py_None
); resultobj
= Py_None
;
18255 static PyObject
*_wrap_ToolBarBase_GetToolBitmapSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18256 PyObject
*resultobj
;
18257 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18259 PyObject
* obj0
= 0 ;
18260 char *kwnames
[] = {
18261 (char *) "self", NULL
18264 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolBitmapSize",kwnames
,&obj0
)) goto fail
;
18265 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18266 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18269 result
= (arg1
)->GetToolBitmapSize();
18271 wxPyEndAllowThreads(__tstate
);
18272 if (PyErr_Occurred()) SWIG_fail
;
18275 wxSize
* resultptr
;
18276 resultptr
= new wxSize((wxSize
&) result
);
18277 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
18285 static PyObject
*_wrap_ToolBarBase_GetToolSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18286 PyObject
*resultobj
;
18287 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18289 PyObject
* obj0
= 0 ;
18290 char *kwnames
[] = {
18291 (char *) "self", NULL
18294 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolSize",kwnames
,&obj0
)) goto fail
;
18295 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18296 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18299 result
= (arg1
)->GetToolSize();
18301 wxPyEndAllowThreads(__tstate
);
18302 if (PyErr_Occurred()) SWIG_fail
;
18305 wxSize
* resultptr
;
18306 resultptr
= new wxSize((wxSize
&) result
);
18307 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
18315 static PyObject
*_wrap_ToolBarBase_FindToolForPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18316 PyObject
*resultobj
;
18317 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18320 wxToolBarToolBase
*result
;
18321 PyObject
* obj0
= 0 ;
18322 PyObject
* obj1
= 0 ;
18323 PyObject
* obj2
= 0 ;
18324 char *kwnames
[] = {
18325 (char *) "self",(char *) "x",(char *) "y", NULL
18328 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_FindToolForPosition",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18329 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18330 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18331 arg2
= (int) SWIG_AsInt(obj1
);
18332 if (PyErr_Occurred()) SWIG_fail
;
18333 arg3
= (int) SWIG_AsInt(obj2
);
18334 if (PyErr_Occurred()) SWIG_fail
;
18336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18337 result
= (wxToolBarToolBase
*)(arg1
)->FindToolForPosition(arg2
,arg3
);
18339 wxPyEndAllowThreads(__tstate
);
18340 if (PyErr_Occurred()) SWIG_fail
;
18343 resultobj
= wxPyMake_wxObject(result
);
18351 static PyObject
*_wrap_ToolBarBase_FindById(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18352 PyObject
*resultobj
;
18353 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18355 wxToolBarToolBase
*result
;
18356 PyObject
* obj0
= 0 ;
18357 PyObject
* obj1
= 0 ;
18358 char *kwnames
[] = {
18359 (char *) "self",(char *) "toolid", NULL
18362 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_FindById",kwnames
,&obj0
,&obj1
)) goto fail
;
18363 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18364 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18365 arg2
= (int) SWIG_AsInt(obj1
);
18366 if (PyErr_Occurred()) SWIG_fail
;
18368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18369 result
= (wxToolBarToolBase
*)((wxToolBarBase
const *)arg1
)->FindById(arg2
);
18371 wxPyEndAllowThreads(__tstate
);
18372 if (PyErr_Occurred()) SWIG_fail
;
18375 resultobj
= wxPyMake_wxObject(result
);
18383 static PyObject
*_wrap_ToolBarBase_IsVertical(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18384 PyObject
*resultobj
;
18385 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18387 PyObject
* obj0
= 0 ;
18388 char *kwnames
[] = {
18389 (char *) "self", NULL
18392 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_IsVertical",kwnames
,&obj0
)) goto fail
;
18393 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18394 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18397 result
= (bool)(arg1
)->IsVertical();
18399 wxPyEndAllowThreads(__tstate
);
18400 if (PyErr_Occurred()) SWIG_fail
;
18403 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18411 static PyObject
* ToolBarBase_swigregister(PyObject
*self
, PyObject
*args
) {
18413 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18414 SWIG_TypeClientData(SWIGTYPE_p_wxToolBarBase
, obj
);
18416 return Py_BuildValue((char *)"");
18418 static PyObject
*_wrap_new_ToolBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18419 PyObject
*resultobj
;
18420 wxWindow
*arg1
= (wxWindow
*) 0 ;
18421 int arg2
= (int) -1 ;
18422 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
18423 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
18424 wxSize
const &arg4_defvalue
= wxDefaultSize
;
18425 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
18426 long arg5
= (long) wxNO_BORDER
|wxTB_HORIZONTAL
;
18427 wxString
const &arg6_defvalue
= wxPyToolBarNameStr
;
18428 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
18432 bool temp6
= False
;
18433 PyObject
* obj0
= 0 ;
18434 PyObject
* obj1
= 0 ;
18435 PyObject
* obj2
= 0 ;
18436 PyObject
* obj3
= 0 ;
18437 PyObject
* obj4
= 0 ;
18438 PyObject
* obj5
= 0 ;
18439 char *kwnames
[] = {
18440 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
18443 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_ToolBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
18444 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
18445 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18447 arg2
= (int) SWIG_AsInt(obj1
);
18448 if (PyErr_Occurred()) SWIG_fail
;
18453 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
18459 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
18463 arg5
= (long) SWIG_AsLong(obj4
);
18464 if (PyErr_Occurred()) SWIG_fail
;
18468 arg6
= wxString_in_helper(obj5
);
18469 if (arg6
== NULL
) SWIG_fail
;
18474 if (!wxPyCheckForApp()) SWIG_fail
;
18475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18476 result
= (wxToolBar
*)new wxToolBar(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
18478 wxPyEndAllowThreads(__tstate
);
18479 if (PyErr_Occurred()) SWIG_fail
;
18482 resultobj
= wxPyMake_wxObject(result
);
18498 static PyObject
*_wrap_new_PreToolBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18499 PyObject
*resultobj
;
18501 char *kwnames
[] = {
18505 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreToolBar",kwnames
)) goto fail
;
18507 if (!wxPyCheckForApp()) SWIG_fail
;
18508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18509 result
= (wxToolBar
*)new wxToolBar();
18511 wxPyEndAllowThreads(__tstate
);
18512 if (PyErr_Occurred()) SWIG_fail
;
18515 resultobj
= wxPyMake_wxObject(result
);
18523 static PyObject
*_wrap_ToolBar_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18524 PyObject
*resultobj
;
18525 wxToolBar
*arg1
= (wxToolBar
*) 0 ;
18526 wxWindow
*arg2
= (wxWindow
*) 0 ;
18527 int arg3
= (int) -1 ;
18528 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
18529 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
18530 wxSize
const &arg5_defvalue
= wxDefaultSize
;
18531 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
18532 long arg6
= (long) wxNO_BORDER
|wxTB_HORIZONTAL
;
18533 wxString
const &arg7_defvalue
= wxPyToolBarNameStr
;
18534 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
18538 bool temp7
= False
;
18539 PyObject
* obj0
= 0 ;
18540 PyObject
* obj1
= 0 ;
18541 PyObject
* obj2
= 0 ;
18542 PyObject
* obj3
= 0 ;
18543 PyObject
* obj4
= 0 ;
18544 PyObject
* obj5
= 0 ;
18545 PyObject
* obj6
= 0 ;
18546 char *kwnames
[] = {
18547 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
18550 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:ToolBar_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
18551 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBar
,
18552 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18553 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
18554 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18556 arg3
= (int) SWIG_AsInt(obj2
);
18557 if (PyErr_Occurred()) SWIG_fail
;
18562 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
18568 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
18572 arg6
= (long) SWIG_AsLong(obj5
);
18573 if (PyErr_Occurred()) SWIG_fail
;
18577 arg7
= wxString_in_helper(obj6
);
18578 if (arg7
== NULL
) SWIG_fail
;
18583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18584 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
18586 wxPyEndAllowThreads(__tstate
);
18587 if (PyErr_Occurred()) SWIG_fail
;
18590 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18606 static PyObject
*_wrap_ToolBar_FindToolForPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18607 PyObject
*resultobj
;
18608 wxToolBar
*arg1
= (wxToolBar
*) 0 ;
18611 wxToolBarToolBase
*result
;
18612 PyObject
* obj0
= 0 ;
18613 PyObject
* obj1
= 0 ;
18614 PyObject
* obj2
= 0 ;
18615 char *kwnames
[] = {
18616 (char *) "self",(char *) "x",(char *) "y", NULL
18619 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBar_FindToolForPosition",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18620 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBar
,
18621 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18622 arg2
= (int) SWIG_AsInt(obj1
);
18623 if (PyErr_Occurred()) SWIG_fail
;
18624 arg3
= (int) SWIG_AsInt(obj2
);
18625 if (PyErr_Occurred()) SWIG_fail
;
18627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18628 result
= (wxToolBarToolBase
*)(arg1
)->FindToolForPosition(arg2
,arg3
);
18630 wxPyEndAllowThreads(__tstate
);
18631 if (PyErr_Occurred()) SWIG_fail
;
18634 resultobj
= wxPyMake_wxObject(result
);
18642 static PyObject
*_wrap_ToolBar_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18643 PyObject
*resultobj
;
18644 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
18645 wxVisualAttributes result
;
18646 PyObject
* obj0
= 0 ;
18647 char *kwnames
[] = {
18648 (char *) "variant", NULL
18651 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ToolBar_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
18653 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
18654 if (PyErr_Occurred()) SWIG_fail
;
18657 if (!wxPyCheckForApp()) SWIG_fail
;
18658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18659 result
= wxToolBar::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
18661 wxPyEndAllowThreads(__tstate
);
18662 if (PyErr_Occurred()) SWIG_fail
;
18665 wxVisualAttributes
* resultptr
;
18666 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
18667 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
18675 static PyObject
* ToolBar_swigregister(PyObject
*self
, PyObject
*args
) {
18677 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18678 SWIG_TypeClientData(SWIGTYPE_p_wxToolBar
, obj
);
18680 return Py_BuildValue((char *)"");
18682 static int _wrap_ListCtrlNameStr_set(PyObject
*_val
) {
18683 PyErr_SetString(PyExc_TypeError
,"Variable ListCtrlNameStr is read-only.");
18688 static PyObject
*_wrap_ListCtrlNameStr_get() {
18693 pyobj
= PyUnicode_FromWideChar((&wxPyListCtrlNameStr
)->c_str(), (&wxPyListCtrlNameStr
)->Len());
18695 pyobj
= PyString_FromStringAndSize((&wxPyListCtrlNameStr
)->c_str(), (&wxPyListCtrlNameStr
)->Len());
18702 static PyObject
*_wrap_new_ListItemAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18703 PyObject
*resultobj
;
18704 wxColour
const &arg1_defvalue
= wxNullColour
;
18705 wxColour
*arg1
= (wxColour
*) &arg1_defvalue
;
18706 wxColour
const &arg2_defvalue
= wxNullColour
;
18707 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
18708 wxFont
const &arg3_defvalue
= wxNullFont
;
18709 wxFont
*arg3
= (wxFont
*) &arg3_defvalue
;
18710 wxListItemAttr
*result
;
18713 PyObject
* obj0
= 0 ;
18714 PyObject
* obj1
= 0 ;
18715 PyObject
* obj2
= 0 ;
18716 char *kwnames
[] = {
18717 (char *) "colText",(char *) "colBack",(char *) "font", NULL
18720 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ListItemAttr",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18724 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
18730 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
18734 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxFont
,
18735 SWIG_POINTER_EXCEPTION
| 0)) == -1)
18737 if (arg3
== NULL
) {
18738 PyErr_SetString(PyExc_TypeError
,"null reference");
18743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18744 result
= (wxListItemAttr
*)new wxListItemAttr((wxColour
const &)*arg1
,(wxColour
const &)*arg2
,(wxFont
const &)*arg3
);
18746 wxPyEndAllowThreads(__tstate
);
18747 if (PyErr_Occurred()) SWIG_fail
;
18749 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListItemAttr
, 1);
18756 static PyObject
*_wrap_ListItemAttr_SetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18757 PyObject
*resultobj
;
18758 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
18759 wxColour
*arg2
= 0 ;
18761 PyObject
* obj0
= 0 ;
18762 PyObject
* obj1
= 0 ;
18763 char *kwnames
[] = {
18764 (char *) "self",(char *) "colText", NULL
18767 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
18768 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
18769 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18772 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
18775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18776 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
18778 wxPyEndAllowThreads(__tstate
);
18779 if (PyErr_Occurred()) SWIG_fail
;
18781 Py_INCREF(Py_None
); resultobj
= Py_None
;
18788 static PyObject
*_wrap_ListItemAttr_SetBackgroundColour(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 *) "colBack", NULL
18799 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetBackgroundColour",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
)->SetBackgroundColour((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_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18821 PyObject
*resultobj
;
18822 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
18824 PyObject
* obj0
= 0 ;
18825 PyObject
* obj1
= 0 ;
18826 char *kwnames
[] = {
18827 (char *) "self",(char *) "font", NULL
18830 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
;
18831 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
18832 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18833 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
18834 SWIG_POINTER_EXCEPTION
| 0)) == -1)
18836 if (arg2
== NULL
) {
18837 PyErr_SetString(PyExc_TypeError
,"null reference");
18841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18842 (arg1
)->SetFont((wxFont
const &)*arg2
);
18844 wxPyEndAllowThreads(__tstate
);
18845 if (PyErr_Occurred()) SWIG_fail
;
18847 Py_INCREF(Py_None
); resultobj
= Py_None
;
18854 static PyObject
*_wrap_ListItemAttr_HasTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18855 PyObject
*resultobj
;
18856 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
18858 PyObject
* obj0
= 0 ;
18859 char *kwnames
[] = {
18860 (char *) "self", NULL
18863 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_HasTextColour",kwnames
,&obj0
)) goto fail
;
18864 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
18865 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18868 result
= (bool)(arg1
)->HasTextColour();
18870 wxPyEndAllowThreads(__tstate
);
18871 if (PyErr_Occurred()) SWIG_fail
;
18874 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18882 static PyObject
*_wrap_ListItemAttr_HasBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18883 PyObject
*resultobj
;
18884 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
18886 PyObject
* obj0
= 0 ;
18887 char *kwnames
[] = {
18888 (char *) "self", NULL
18891 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_HasBackgroundColour",kwnames
,&obj0
)) goto fail
;
18892 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
18893 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18896 result
= (bool)(arg1
)->HasBackgroundColour();
18898 wxPyEndAllowThreads(__tstate
);
18899 if (PyErr_Occurred()) SWIG_fail
;
18902 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18910 static PyObject
*_wrap_ListItemAttr_HasFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18911 PyObject
*resultobj
;
18912 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
18914 PyObject
* obj0
= 0 ;
18915 char *kwnames
[] = {
18916 (char *) "self", NULL
18919 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_HasFont",kwnames
,&obj0
)) goto fail
;
18920 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
18921 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18924 result
= (bool)(arg1
)->HasFont();
18926 wxPyEndAllowThreads(__tstate
);
18927 if (PyErr_Occurred()) SWIG_fail
;
18930 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18938 static PyObject
*_wrap_ListItemAttr_GetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18939 PyObject
*resultobj
;
18940 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
18942 PyObject
* obj0
= 0 ;
18943 char *kwnames
[] = {
18944 (char *) "self", NULL
18947 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_GetTextColour",kwnames
,&obj0
)) goto fail
;
18948 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
18949 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18952 result
= (arg1
)->GetTextColour();
18954 wxPyEndAllowThreads(__tstate
);
18955 if (PyErr_Occurred()) SWIG_fail
;
18958 wxColour
* resultptr
;
18959 resultptr
= new wxColour((wxColour
&) result
);
18960 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
18968 static PyObject
*_wrap_ListItemAttr_GetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18969 PyObject
*resultobj
;
18970 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
18972 PyObject
* obj0
= 0 ;
18973 char *kwnames
[] = {
18974 (char *) "self", NULL
18977 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
18978 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
18979 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18982 result
= (arg1
)->GetBackgroundColour();
18984 wxPyEndAllowThreads(__tstate
);
18985 if (PyErr_Occurred()) SWIG_fail
;
18988 wxColour
* resultptr
;
18989 resultptr
= new wxColour((wxColour
&) result
);
18990 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
18998 static PyObject
*_wrap_ListItemAttr_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18999 PyObject
*resultobj
;
19000 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
19002 PyObject
* obj0
= 0 ;
19003 char *kwnames
[] = {
19004 (char *) "self", NULL
19007 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_GetFont",kwnames
,&obj0
)) goto fail
;
19008 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
19009 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19012 result
= (arg1
)->GetFont();
19014 wxPyEndAllowThreads(__tstate
);
19015 if (PyErr_Occurred()) SWIG_fail
;
19018 wxFont
* resultptr
;
19019 resultptr
= new wxFont((wxFont
&) result
);
19020 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
19028 static PyObject
*_wrap_ListItemAttr_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19029 PyObject
*resultobj
;
19030 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
19031 PyObject
* obj0
= 0 ;
19032 char *kwnames
[] = {
19033 (char *) "self", NULL
19036 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_Destroy",kwnames
,&obj0
)) goto fail
;
19037 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
19038 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19041 wxListItemAttr_Destroy(arg1
);
19043 wxPyEndAllowThreads(__tstate
);
19044 if (PyErr_Occurred()) SWIG_fail
;
19046 Py_INCREF(Py_None
); resultobj
= Py_None
;
19053 static PyObject
* ListItemAttr_swigregister(PyObject
*self
, PyObject
*args
) {
19055 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19056 SWIG_TypeClientData(SWIGTYPE_p_wxListItemAttr
, obj
);
19058 return Py_BuildValue((char *)"");
19060 static PyObject
*_wrap_new_ListItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19061 PyObject
*resultobj
;
19062 wxListItem
*result
;
19063 char *kwnames
[] = {
19067 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ListItem",kwnames
)) goto fail
;
19069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19070 result
= (wxListItem
*)new wxListItem();
19072 wxPyEndAllowThreads(__tstate
);
19073 if (PyErr_Occurred()) SWIG_fail
;
19076 resultobj
= wxPyMake_wxObject(result
);
19084 static PyObject
*_wrap_delete_ListItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19085 PyObject
*resultobj
;
19086 wxListItem
*arg1
= (wxListItem
*) 0 ;
19087 PyObject
* obj0
= 0 ;
19088 char *kwnames
[] = {
19089 (char *) "self", NULL
19092 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ListItem",kwnames
,&obj0
)) goto fail
;
19093 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19094 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19099 wxPyEndAllowThreads(__tstate
);
19100 if (PyErr_Occurred()) SWIG_fail
;
19102 Py_INCREF(Py_None
); resultobj
= Py_None
;
19109 static PyObject
*_wrap_ListItem_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19110 PyObject
*resultobj
;
19111 wxListItem
*arg1
= (wxListItem
*) 0 ;
19112 PyObject
* obj0
= 0 ;
19113 char *kwnames
[] = {
19114 (char *) "self", NULL
19117 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_Clear",kwnames
,&obj0
)) goto fail
;
19118 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19119 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19124 wxPyEndAllowThreads(__tstate
);
19125 if (PyErr_Occurred()) SWIG_fail
;
19127 Py_INCREF(Py_None
); resultobj
= Py_None
;
19134 static PyObject
*_wrap_ListItem_ClearAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19135 PyObject
*resultobj
;
19136 wxListItem
*arg1
= (wxListItem
*) 0 ;
19137 PyObject
* obj0
= 0 ;
19138 char *kwnames
[] = {
19139 (char *) "self", NULL
19142 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_ClearAttributes",kwnames
,&obj0
)) goto fail
;
19143 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19144 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19147 (arg1
)->ClearAttributes();
19149 wxPyEndAllowThreads(__tstate
);
19150 if (PyErr_Occurred()) SWIG_fail
;
19152 Py_INCREF(Py_None
); resultobj
= Py_None
;
19159 static PyObject
*_wrap_ListItem_SetMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19160 PyObject
*resultobj
;
19161 wxListItem
*arg1
= (wxListItem
*) 0 ;
19163 PyObject
* obj0
= 0 ;
19164 PyObject
* obj1
= 0 ;
19165 char *kwnames
[] = {
19166 (char *) "self",(char *) "mask", NULL
19169 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetMask",kwnames
,&obj0
,&obj1
)) goto fail
;
19170 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19171 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19172 arg2
= (long) SWIG_AsLong(obj1
);
19173 if (PyErr_Occurred()) SWIG_fail
;
19175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19176 (arg1
)->SetMask(arg2
);
19178 wxPyEndAllowThreads(__tstate
);
19179 if (PyErr_Occurred()) SWIG_fail
;
19181 Py_INCREF(Py_None
); resultobj
= Py_None
;
19188 static PyObject
*_wrap_ListItem_SetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19189 PyObject
*resultobj
;
19190 wxListItem
*arg1
= (wxListItem
*) 0 ;
19192 PyObject
* obj0
= 0 ;
19193 PyObject
* obj1
= 0 ;
19194 char *kwnames
[] = {
19195 (char *) "self",(char *) "id", NULL
19198 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
19199 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19200 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19201 arg2
= (long) SWIG_AsLong(obj1
);
19202 if (PyErr_Occurred()) SWIG_fail
;
19204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19205 (arg1
)->SetId(arg2
);
19207 wxPyEndAllowThreads(__tstate
);
19208 if (PyErr_Occurred()) SWIG_fail
;
19210 Py_INCREF(Py_None
); resultobj
= Py_None
;
19217 static PyObject
*_wrap_ListItem_SetColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19218 PyObject
*resultobj
;
19219 wxListItem
*arg1
= (wxListItem
*) 0 ;
19221 PyObject
* obj0
= 0 ;
19222 PyObject
* obj1
= 0 ;
19223 char *kwnames
[] = {
19224 (char *) "self",(char *) "col", NULL
19227 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetColumn",kwnames
,&obj0
,&obj1
)) goto fail
;
19228 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19229 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19230 arg2
= (int) SWIG_AsInt(obj1
);
19231 if (PyErr_Occurred()) SWIG_fail
;
19233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19234 (arg1
)->SetColumn(arg2
);
19236 wxPyEndAllowThreads(__tstate
);
19237 if (PyErr_Occurred()) SWIG_fail
;
19239 Py_INCREF(Py_None
); resultobj
= Py_None
;
19246 static PyObject
*_wrap_ListItem_SetState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19247 PyObject
*resultobj
;
19248 wxListItem
*arg1
= (wxListItem
*) 0 ;
19250 PyObject
* obj0
= 0 ;
19251 PyObject
* obj1
= 0 ;
19252 char *kwnames
[] = {
19253 (char *) "self",(char *) "state", NULL
19256 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetState",kwnames
,&obj0
,&obj1
)) goto fail
;
19257 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19258 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19259 arg2
= (long) SWIG_AsLong(obj1
);
19260 if (PyErr_Occurred()) SWIG_fail
;
19262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19263 (arg1
)->SetState(arg2
);
19265 wxPyEndAllowThreads(__tstate
);
19266 if (PyErr_Occurred()) SWIG_fail
;
19268 Py_INCREF(Py_None
); resultobj
= Py_None
;
19275 static PyObject
*_wrap_ListItem_SetStateMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19276 PyObject
*resultobj
;
19277 wxListItem
*arg1
= (wxListItem
*) 0 ;
19279 PyObject
* obj0
= 0 ;
19280 PyObject
* obj1
= 0 ;
19281 char *kwnames
[] = {
19282 (char *) "self",(char *) "stateMask", NULL
19285 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetStateMask",kwnames
,&obj0
,&obj1
)) goto fail
;
19286 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19287 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19288 arg2
= (long) SWIG_AsLong(obj1
);
19289 if (PyErr_Occurred()) SWIG_fail
;
19291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19292 (arg1
)->SetStateMask(arg2
);
19294 wxPyEndAllowThreads(__tstate
);
19295 if (PyErr_Occurred()) SWIG_fail
;
19297 Py_INCREF(Py_None
); resultobj
= Py_None
;
19304 static PyObject
*_wrap_ListItem_SetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19305 PyObject
*resultobj
;
19306 wxListItem
*arg1
= (wxListItem
*) 0 ;
19307 wxString
*arg2
= 0 ;
19308 bool temp2
= False
;
19309 PyObject
* obj0
= 0 ;
19310 PyObject
* obj1
= 0 ;
19311 char *kwnames
[] = {
19312 (char *) "self",(char *) "text", NULL
19315 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetText",kwnames
,&obj0
,&obj1
)) goto fail
;
19316 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19317 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19319 arg2
= wxString_in_helper(obj1
);
19320 if (arg2
== NULL
) SWIG_fail
;
19324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19325 (arg1
)->SetText((wxString
const &)*arg2
);
19327 wxPyEndAllowThreads(__tstate
);
19328 if (PyErr_Occurred()) SWIG_fail
;
19330 Py_INCREF(Py_None
); resultobj
= Py_None
;
19345 static PyObject
*_wrap_ListItem_SetImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19346 PyObject
*resultobj
;
19347 wxListItem
*arg1
= (wxListItem
*) 0 ;
19349 PyObject
* obj0
= 0 ;
19350 PyObject
* obj1
= 0 ;
19351 char *kwnames
[] = {
19352 (char *) "self",(char *) "image", NULL
19355 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetImage",kwnames
,&obj0
,&obj1
)) goto fail
;
19356 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19357 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19358 arg2
= (int) SWIG_AsInt(obj1
);
19359 if (PyErr_Occurred()) SWIG_fail
;
19361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19362 (arg1
)->SetImage(arg2
);
19364 wxPyEndAllowThreads(__tstate
);
19365 if (PyErr_Occurred()) SWIG_fail
;
19367 Py_INCREF(Py_None
); resultobj
= Py_None
;
19374 static PyObject
*_wrap_ListItem_SetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19375 PyObject
*resultobj
;
19376 wxListItem
*arg1
= (wxListItem
*) 0 ;
19378 PyObject
* obj0
= 0 ;
19379 PyObject
* obj1
= 0 ;
19380 char *kwnames
[] = {
19381 (char *) "self",(char *) "data", NULL
19384 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
19385 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19386 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19387 arg2
= (long) SWIG_AsLong(obj1
);
19388 if (PyErr_Occurred()) SWIG_fail
;
19390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19391 (arg1
)->SetData(arg2
);
19393 wxPyEndAllowThreads(__tstate
);
19394 if (PyErr_Occurred()) SWIG_fail
;
19396 Py_INCREF(Py_None
); resultobj
= Py_None
;
19403 static PyObject
*_wrap_ListItem_SetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19404 PyObject
*resultobj
;
19405 wxListItem
*arg1
= (wxListItem
*) 0 ;
19407 PyObject
* obj0
= 0 ;
19408 PyObject
* obj1
= 0 ;
19409 char *kwnames
[] = {
19410 (char *) "self",(char *) "width", NULL
19413 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
19414 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19415 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19416 arg2
= (int) SWIG_AsInt(obj1
);
19417 if (PyErr_Occurred()) SWIG_fail
;
19419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19420 (arg1
)->SetWidth(arg2
);
19422 wxPyEndAllowThreads(__tstate
);
19423 if (PyErr_Occurred()) SWIG_fail
;
19425 Py_INCREF(Py_None
); resultobj
= Py_None
;
19432 static PyObject
*_wrap_ListItem_SetAlign(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19433 PyObject
*resultobj
;
19434 wxListItem
*arg1
= (wxListItem
*) 0 ;
19436 PyObject
* obj0
= 0 ;
19437 PyObject
* obj1
= 0 ;
19438 char *kwnames
[] = {
19439 (char *) "self",(char *) "align", NULL
19442 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetAlign",kwnames
,&obj0
,&obj1
)) goto fail
;
19443 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19444 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19445 arg2
= (wxListColumnFormat
) SWIG_AsInt(obj1
);
19446 if (PyErr_Occurred()) SWIG_fail
;
19448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19449 (arg1
)->SetAlign((wxListColumnFormat
)arg2
);
19451 wxPyEndAllowThreads(__tstate
);
19452 if (PyErr_Occurred()) SWIG_fail
;
19454 Py_INCREF(Py_None
); resultobj
= Py_None
;
19461 static PyObject
*_wrap_ListItem_SetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19462 PyObject
*resultobj
;
19463 wxListItem
*arg1
= (wxListItem
*) 0 ;
19464 wxColour
*arg2
= 0 ;
19466 PyObject
* obj0
= 0 ;
19467 PyObject
* obj1
= 0 ;
19468 char *kwnames
[] = {
19469 (char *) "self",(char *) "colText", NULL
19472 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
19473 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19474 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19477 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
19480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19481 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
19483 wxPyEndAllowThreads(__tstate
);
19484 if (PyErr_Occurred()) SWIG_fail
;
19486 Py_INCREF(Py_None
); resultobj
= Py_None
;
19493 static PyObject
*_wrap_ListItem_SetBackgroundColour(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 *) "colBack", NULL
19504 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetBackgroundColour",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
)->SetBackgroundColour((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_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19526 PyObject
*resultobj
;
19527 wxListItem
*arg1
= (wxListItem
*) 0 ;
19529 PyObject
* obj0
= 0 ;
19530 PyObject
* obj1
= 0 ;
19531 char *kwnames
[] = {
19532 (char *) "self",(char *) "font", NULL
19535 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
;
19536 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19537 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19538 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
19539 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19541 if (arg2
== NULL
) {
19542 PyErr_SetString(PyExc_TypeError
,"null reference");
19546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19547 (arg1
)->SetFont((wxFont
const &)*arg2
);
19549 wxPyEndAllowThreads(__tstate
);
19550 if (PyErr_Occurred()) SWIG_fail
;
19552 Py_INCREF(Py_None
); resultobj
= Py_None
;
19559 static PyObject
*_wrap_ListItem_GetMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19560 PyObject
*resultobj
;
19561 wxListItem
*arg1
= (wxListItem
*) 0 ;
19563 PyObject
* obj0
= 0 ;
19564 char *kwnames
[] = {
19565 (char *) "self", NULL
19568 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetMask",kwnames
,&obj0
)) goto fail
;
19569 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19570 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19573 result
= (long)(arg1
)->GetMask();
19575 wxPyEndAllowThreads(__tstate
);
19576 if (PyErr_Occurred()) SWIG_fail
;
19578 resultobj
= SWIG_FromLong((long)result
);
19585 static PyObject
*_wrap_ListItem_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19586 PyObject
*resultobj
;
19587 wxListItem
*arg1
= (wxListItem
*) 0 ;
19589 PyObject
* obj0
= 0 ;
19590 char *kwnames
[] = {
19591 (char *) "self", NULL
19594 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetId",kwnames
,&obj0
)) goto fail
;
19595 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19596 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19599 result
= (long)(arg1
)->GetId();
19601 wxPyEndAllowThreads(__tstate
);
19602 if (PyErr_Occurred()) SWIG_fail
;
19604 resultobj
= SWIG_FromLong((long)result
);
19611 static PyObject
*_wrap_ListItem_GetColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19612 PyObject
*resultobj
;
19613 wxListItem
*arg1
= (wxListItem
*) 0 ;
19615 PyObject
* obj0
= 0 ;
19616 char *kwnames
[] = {
19617 (char *) "self", NULL
19620 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetColumn",kwnames
,&obj0
)) goto fail
;
19621 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19622 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19625 result
= (int)(arg1
)->GetColumn();
19627 wxPyEndAllowThreads(__tstate
);
19628 if (PyErr_Occurred()) SWIG_fail
;
19630 resultobj
= SWIG_FromInt((int)result
);
19637 static PyObject
*_wrap_ListItem_GetState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19638 PyObject
*resultobj
;
19639 wxListItem
*arg1
= (wxListItem
*) 0 ;
19641 PyObject
* obj0
= 0 ;
19642 char *kwnames
[] = {
19643 (char *) "self", NULL
19646 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetState",kwnames
,&obj0
)) goto fail
;
19647 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19648 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19651 result
= (long)(arg1
)->GetState();
19653 wxPyEndAllowThreads(__tstate
);
19654 if (PyErr_Occurred()) SWIG_fail
;
19656 resultobj
= SWIG_FromLong((long)result
);
19663 static PyObject
*_wrap_ListItem_GetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19664 PyObject
*resultobj
;
19665 wxListItem
*arg1
= (wxListItem
*) 0 ;
19667 PyObject
* obj0
= 0 ;
19668 char *kwnames
[] = {
19669 (char *) "self", NULL
19672 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetText",kwnames
,&obj0
)) goto fail
;
19673 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19674 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19678 wxString
const &_result_ref
= (arg1
)->GetText();
19679 result
= (wxString
*) &_result_ref
;
19682 wxPyEndAllowThreads(__tstate
);
19683 if (PyErr_Occurred()) SWIG_fail
;
19687 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
19689 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
19698 static PyObject
*_wrap_ListItem_GetImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19699 PyObject
*resultobj
;
19700 wxListItem
*arg1
= (wxListItem
*) 0 ;
19702 PyObject
* obj0
= 0 ;
19703 char *kwnames
[] = {
19704 (char *) "self", NULL
19707 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetImage",kwnames
,&obj0
)) goto fail
;
19708 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19709 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19712 result
= (int)(arg1
)->GetImage();
19714 wxPyEndAllowThreads(__tstate
);
19715 if (PyErr_Occurred()) SWIG_fail
;
19717 resultobj
= SWIG_FromInt((int)result
);
19724 static PyObject
*_wrap_ListItem_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19725 PyObject
*resultobj
;
19726 wxListItem
*arg1
= (wxListItem
*) 0 ;
19728 PyObject
* obj0
= 0 ;
19729 char *kwnames
[] = {
19730 (char *) "self", NULL
19733 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetData",kwnames
,&obj0
)) goto fail
;
19734 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19735 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19738 result
= (long)(arg1
)->GetData();
19740 wxPyEndAllowThreads(__tstate
);
19741 if (PyErr_Occurred()) SWIG_fail
;
19743 resultobj
= SWIG_FromLong((long)result
);
19750 static PyObject
*_wrap_ListItem_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19751 PyObject
*resultobj
;
19752 wxListItem
*arg1
= (wxListItem
*) 0 ;
19754 PyObject
* obj0
= 0 ;
19755 char *kwnames
[] = {
19756 (char *) "self", NULL
19759 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetWidth",kwnames
,&obj0
)) goto fail
;
19760 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19761 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19764 result
= (int)(arg1
)->GetWidth();
19766 wxPyEndAllowThreads(__tstate
);
19767 if (PyErr_Occurred()) SWIG_fail
;
19769 resultobj
= SWIG_FromInt((int)result
);
19776 static PyObject
*_wrap_ListItem_GetAlign(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19777 PyObject
*resultobj
;
19778 wxListItem
*arg1
= (wxListItem
*) 0 ;
19780 PyObject
* obj0
= 0 ;
19781 char *kwnames
[] = {
19782 (char *) "self", NULL
19785 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetAlign",kwnames
,&obj0
)) goto fail
;
19786 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19787 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19790 result
= (int)(arg1
)->GetAlign();
19792 wxPyEndAllowThreads(__tstate
);
19793 if (PyErr_Occurred()) SWIG_fail
;
19795 resultobj
= SWIG_FromInt((int)result
);
19802 static PyObject
*_wrap_ListItem_GetAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19803 PyObject
*resultobj
;
19804 wxListItem
*arg1
= (wxListItem
*) 0 ;
19805 wxListItemAttr
*result
;
19806 PyObject
* obj0
= 0 ;
19807 char *kwnames
[] = {
19808 (char *) "self", NULL
19811 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetAttributes",kwnames
,&obj0
)) goto fail
;
19812 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19813 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19816 result
= (wxListItemAttr
*)(arg1
)->GetAttributes();
19818 wxPyEndAllowThreads(__tstate
);
19819 if (PyErr_Occurred()) SWIG_fail
;
19821 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListItemAttr
, 0);
19828 static PyObject
*_wrap_ListItem_HasAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19829 PyObject
*resultobj
;
19830 wxListItem
*arg1
= (wxListItem
*) 0 ;
19832 PyObject
* obj0
= 0 ;
19833 char *kwnames
[] = {
19834 (char *) "self", NULL
19837 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_HasAttributes",kwnames
,&obj0
)) goto fail
;
19838 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19839 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19842 result
= (bool)(arg1
)->HasAttributes();
19844 wxPyEndAllowThreads(__tstate
);
19845 if (PyErr_Occurred()) SWIG_fail
;
19848 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19856 static PyObject
*_wrap_ListItem_GetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19857 PyObject
*resultobj
;
19858 wxListItem
*arg1
= (wxListItem
*) 0 ;
19860 PyObject
* obj0
= 0 ;
19861 char *kwnames
[] = {
19862 (char *) "self", NULL
19865 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetTextColour",kwnames
,&obj0
)) goto fail
;
19866 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19867 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19870 result
= ((wxListItem
const *)arg1
)->GetTextColour();
19872 wxPyEndAllowThreads(__tstate
);
19873 if (PyErr_Occurred()) SWIG_fail
;
19876 wxColour
* resultptr
;
19877 resultptr
= new wxColour((wxColour
&) result
);
19878 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
19886 static PyObject
*_wrap_ListItem_GetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19887 PyObject
*resultobj
;
19888 wxListItem
*arg1
= (wxListItem
*) 0 ;
19890 PyObject
* obj0
= 0 ;
19891 char *kwnames
[] = {
19892 (char *) "self", NULL
19895 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
19896 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19897 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19900 result
= ((wxListItem
const *)arg1
)->GetBackgroundColour();
19902 wxPyEndAllowThreads(__tstate
);
19903 if (PyErr_Occurred()) SWIG_fail
;
19906 wxColour
* resultptr
;
19907 resultptr
= new wxColour((wxColour
&) result
);
19908 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
19916 static PyObject
*_wrap_ListItem_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19917 PyObject
*resultobj
;
19918 wxListItem
*arg1
= (wxListItem
*) 0 ;
19920 PyObject
* obj0
= 0 ;
19921 char *kwnames
[] = {
19922 (char *) "self", NULL
19925 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetFont",kwnames
,&obj0
)) goto fail
;
19926 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19927 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19930 result
= ((wxListItem
const *)arg1
)->GetFont();
19932 wxPyEndAllowThreads(__tstate
);
19933 if (PyErr_Occurred()) SWIG_fail
;
19936 wxFont
* resultptr
;
19937 resultptr
= new wxFont((wxFont
&) result
);
19938 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
19946 static PyObject
*_wrap_ListItem_m_mask_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19947 PyObject
*resultobj
;
19948 wxListItem
*arg1
= (wxListItem
*) 0 ;
19950 PyObject
* obj0
= 0 ;
19951 PyObject
* obj1
= 0 ;
19952 char *kwnames
[] = {
19953 (char *) "self",(char *) "m_mask", NULL
19956 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_mask_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19957 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19958 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19959 arg2
= (long) SWIG_AsLong(obj1
);
19960 if (PyErr_Occurred()) SWIG_fail
;
19961 if (arg1
) (arg1
)->m_mask
= arg2
;
19963 Py_INCREF(Py_None
); resultobj
= Py_None
;
19970 static PyObject
*_wrap_ListItem_m_mask_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19971 PyObject
*resultobj
;
19972 wxListItem
*arg1
= (wxListItem
*) 0 ;
19974 PyObject
* obj0
= 0 ;
19975 char *kwnames
[] = {
19976 (char *) "self", NULL
19979 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_mask_get",kwnames
,&obj0
)) goto fail
;
19980 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19981 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19982 result
= (long) ((arg1
)->m_mask
);
19984 resultobj
= SWIG_FromLong((long)result
);
19991 static PyObject
*_wrap_ListItem_m_itemId_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19992 PyObject
*resultobj
;
19993 wxListItem
*arg1
= (wxListItem
*) 0 ;
19995 PyObject
* obj0
= 0 ;
19996 PyObject
* obj1
= 0 ;
19997 char *kwnames
[] = {
19998 (char *) "self",(char *) "m_itemId", NULL
20001 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_itemId_set",kwnames
,&obj0
,&obj1
)) goto fail
;
20002 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20003 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20004 arg2
= (long) SWIG_AsLong(obj1
);
20005 if (PyErr_Occurred()) SWIG_fail
;
20006 if (arg1
) (arg1
)->m_itemId
= arg2
;
20008 Py_INCREF(Py_None
); resultobj
= Py_None
;
20015 static PyObject
*_wrap_ListItem_m_itemId_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20016 PyObject
*resultobj
;
20017 wxListItem
*arg1
= (wxListItem
*) 0 ;
20019 PyObject
* obj0
= 0 ;
20020 char *kwnames
[] = {
20021 (char *) "self", NULL
20024 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_itemId_get",kwnames
,&obj0
)) goto fail
;
20025 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20026 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20027 result
= (long) ((arg1
)->m_itemId
);
20029 resultobj
= SWIG_FromLong((long)result
);
20036 static PyObject
*_wrap_ListItem_m_col_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20037 PyObject
*resultobj
;
20038 wxListItem
*arg1
= (wxListItem
*) 0 ;
20040 PyObject
* obj0
= 0 ;
20041 PyObject
* obj1
= 0 ;
20042 char *kwnames
[] = {
20043 (char *) "self",(char *) "m_col", NULL
20046 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_col_set",kwnames
,&obj0
,&obj1
)) goto fail
;
20047 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20048 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20049 arg2
= (int) SWIG_AsInt(obj1
);
20050 if (PyErr_Occurred()) SWIG_fail
;
20051 if (arg1
) (arg1
)->m_col
= arg2
;
20053 Py_INCREF(Py_None
); resultobj
= Py_None
;
20060 static PyObject
*_wrap_ListItem_m_col_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20061 PyObject
*resultobj
;
20062 wxListItem
*arg1
= (wxListItem
*) 0 ;
20064 PyObject
* obj0
= 0 ;
20065 char *kwnames
[] = {
20066 (char *) "self", NULL
20069 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_col_get",kwnames
,&obj0
)) goto fail
;
20070 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20071 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20072 result
= (int) ((arg1
)->m_col
);
20074 resultobj
= SWIG_FromInt((int)result
);
20081 static PyObject
*_wrap_ListItem_m_state_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20082 PyObject
*resultobj
;
20083 wxListItem
*arg1
= (wxListItem
*) 0 ;
20085 PyObject
* obj0
= 0 ;
20086 PyObject
* obj1
= 0 ;
20087 char *kwnames
[] = {
20088 (char *) "self",(char *) "m_state", NULL
20091 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_state_set",kwnames
,&obj0
,&obj1
)) goto fail
;
20092 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20093 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20094 arg2
= (long) SWIG_AsLong(obj1
);
20095 if (PyErr_Occurred()) SWIG_fail
;
20096 if (arg1
) (arg1
)->m_state
= arg2
;
20098 Py_INCREF(Py_None
); resultobj
= Py_None
;
20105 static PyObject
*_wrap_ListItem_m_state_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20106 PyObject
*resultobj
;
20107 wxListItem
*arg1
= (wxListItem
*) 0 ;
20109 PyObject
* obj0
= 0 ;
20110 char *kwnames
[] = {
20111 (char *) "self", NULL
20114 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_state_get",kwnames
,&obj0
)) goto fail
;
20115 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20116 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20117 result
= (long) ((arg1
)->m_state
);
20119 resultobj
= SWIG_FromLong((long)result
);
20126 static PyObject
*_wrap_ListItem_m_stateMask_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20127 PyObject
*resultobj
;
20128 wxListItem
*arg1
= (wxListItem
*) 0 ;
20130 PyObject
* obj0
= 0 ;
20131 PyObject
* obj1
= 0 ;
20132 char *kwnames
[] = {
20133 (char *) "self",(char *) "m_stateMask", NULL
20136 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_stateMask_set",kwnames
,&obj0
,&obj1
)) goto fail
;
20137 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20138 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20139 arg2
= (long) SWIG_AsLong(obj1
);
20140 if (PyErr_Occurred()) SWIG_fail
;
20141 if (arg1
) (arg1
)->m_stateMask
= arg2
;
20143 Py_INCREF(Py_None
); resultobj
= Py_None
;
20150 static PyObject
*_wrap_ListItem_m_stateMask_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20151 PyObject
*resultobj
;
20152 wxListItem
*arg1
= (wxListItem
*) 0 ;
20154 PyObject
* obj0
= 0 ;
20155 char *kwnames
[] = {
20156 (char *) "self", NULL
20159 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_stateMask_get",kwnames
,&obj0
)) goto fail
;
20160 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20161 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20162 result
= (long) ((arg1
)->m_stateMask
);
20164 resultobj
= SWIG_FromLong((long)result
);
20171 static PyObject
*_wrap_ListItem_m_text_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20172 PyObject
*resultobj
;
20173 wxListItem
*arg1
= (wxListItem
*) 0 ;
20174 wxString
*arg2
= (wxString
*) 0 ;
20175 bool temp2
= False
;
20176 PyObject
* obj0
= 0 ;
20177 PyObject
* obj1
= 0 ;
20178 char *kwnames
[] = {
20179 (char *) "self",(char *) "m_text", NULL
20182 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_text_set",kwnames
,&obj0
,&obj1
)) goto fail
;
20183 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20184 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20186 arg2
= wxString_in_helper(obj1
);
20187 if (arg2
== NULL
) SWIG_fail
;
20190 if (arg1
) (arg1
)->m_text
= *arg2
;
20192 Py_INCREF(Py_None
); resultobj
= Py_None
;
20207 static PyObject
*_wrap_ListItem_m_text_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20208 PyObject
*resultobj
;
20209 wxListItem
*arg1
= (wxListItem
*) 0 ;
20211 PyObject
* obj0
= 0 ;
20212 char *kwnames
[] = {
20213 (char *) "self", NULL
20216 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_text_get",kwnames
,&obj0
)) goto fail
;
20217 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20218 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20219 result
= (wxString
*)& ((arg1
)->m_text
);
20223 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
20225 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
20234 static PyObject
*_wrap_ListItem_m_image_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20235 PyObject
*resultobj
;
20236 wxListItem
*arg1
= (wxListItem
*) 0 ;
20238 PyObject
* obj0
= 0 ;
20239 PyObject
* obj1
= 0 ;
20240 char *kwnames
[] = {
20241 (char *) "self",(char *) "m_image", NULL
20244 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_image_set",kwnames
,&obj0
,&obj1
)) goto fail
;
20245 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20246 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20247 arg2
= (int) SWIG_AsInt(obj1
);
20248 if (PyErr_Occurred()) SWIG_fail
;
20249 if (arg1
) (arg1
)->m_image
= arg2
;
20251 Py_INCREF(Py_None
); resultobj
= Py_None
;
20258 static PyObject
*_wrap_ListItem_m_image_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20259 PyObject
*resultobj
;
20260 wxListItem
*arg1
= (wxListItem
*) 0 ;
20262 PyObject
* obj0
= 0 ;
20263 char *kwnames
[] = {
20264 (char *) "self", NULL
20267 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_image_get",kwnames
,&obj0
)) goto fail
;
20268 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20269 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20270 result
= (int) ((arg1
)->m_image
);
20272 resultobj
= SWIG_FromInt((int)result
);
20279 static PyObject
*_wrap_ListItem_m_data_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20280 PyObject
*resultobj
;
20281 wxListItem
*arg1
= (wxListItem
*) 0 ;
20283 PyObject
* obj0
= 0 ;
20284 PyObject
* obj1
= 0 ;
20285 char *kwnames
[] = {
20286 (char *) "self",(char *) "m_data", NULL
20289 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_data_set",kwnames
,&obj0
,&obj1
)) goto fail
;
20290 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20291 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20292 arg2
= (long) SWIG_AsLong(obj1
);
20293 if (PyErr_Occurred()) SWIG_fail
;
20294 if (arg1
) (arg1
)->m_data
= arg2
;
20296 Py_INCREF(Py_None
); resultobj
= Py_None
;
20303 static PyObject
*_wrap_ListItem_m_data_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20304 PyObject
*resultobj
;
20305 wxListItem
*arg1
= (wxListItem
*) 0 ;
20307 PyObject
* obj0
= 0 ;
20308 char *kwnames
[] = {
20309 (char *) "self", NULL
20312 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_data_get",kwnames
,&obj0
)) goto fail
;
20313 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20314 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20315 result
= (long) ((arg1
)->m_data
);
20317 resultobj
= SWIG_FromLong((long)result
);
20324 static PyObject
*_wrap_ListItem_m_format_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20325 PyObject
*resultobj
;
20326 wxListItem
*arg1
= (wxListItem
*) 0 ;
20328 PyObject
* obj0
= 0 ;
20329 PyObject
* obj1
= 0 ;
20330 char *kwnames
[] = {
20331 (char *) "self",(char *) "m_format", NULL
20334 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_format_set",kwnames
,&obj0
,&obj1
)) goto fail
;
20335 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20336 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20337 arg2
= (int) SWIG_AsInt(obj1
);
20338 if (PyErr_Occurred()) SWIG_fail
;
20339 if (arg1
) (arg1
)->m_format
= arg2
;
20341 Py_INCREF(Py_None
); resultobj
= Py_None
;
20348 static PyObject
*_wrap_ListItem_m_format_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20349 PyObject
*resultobj
;
20350 wxListItem
*arg1
= (wxListItem
*) 0 ;
20352 PyObject
* obj0
= 0 ;
20353 char *kwnames
[] = {
20354 (char *) "self", NULL
20357 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_format_get",kwnames
,&obj0
)) goto fail
;
20358 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20359 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20360 result
= (int) ((arg1
)->m_format
);
20362 resultobj
= SWIG_FromInt((int)result
);
20369 static PyObject
*_wrap_ListItem_m_width_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20370 PyObject
*resultobj
;
20371 wxListItem
*arg1
= (wxListItem
*) 0 ;
20373 PyObject
* obj0
= 0 ;
20374 PyObject
* obj1
= 0 ;
20375 char *kwnames
[] = {
20376 (char *) "self",(char *) "m_width", NULL
20379 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_width_set",kwnames
,&obj0
,&obj1
)) goto fail
;
20380 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20381 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20382 arg2
= (int) SWIG_AsInt(obj1
);
20383 if (PyErr_Occurred()) SWIG_fail
;
20384 if (arg1
) (arg1
)->m_width
= arg2
;
20386 Py_INCREF(Py_None
); resultobj
= Py_None
;
20393 static PyObject
*_wrap_ListItem_m_width_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20394 PyObject
*resultobj
;
20395 wxListItem
*arg1
= (wxListItem
*) 0 ;
20397 PyObject
* obj0
= 0 ;
20398 char *kwnames
[] = {
20399 (char *) "self", NULL
20402 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_width_get",kwnames
,&obj0
)) goto fail
;
20403 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20404 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20405 result
= (int) ((arg1
)->m_width
);
20407 resultobj
= SWIG_FromInt((int)result
);
20414 static PyObject
* ListItem_swigregister(PyObject
*self
, PyObject
*args
) {
20416 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20417 SWIG_TypeClientData(SWIGTYPE_p_wxListItem
, obj
);
20419 return Py_BuildValue((char *)"");
20421 static PyObject
*_wrap_new_ListEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20422 PyObject
*resultobj
;
20423 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
20424 int arg2
= (int) 0 ;
20425 wxListEvent
*result
;
20426 PyObject
* obj0
= 0 ;
20427 PyObject
* obj1
= 0 ;
20428 char *kwnames
[] = {
20429 (char *) "commandType",(char *) "id", NULL
20432 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_ListEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
20434 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
20435 if (PyErr_Occurred()) SWIG_fail
;
20438 arg2
= (int) SWIG_AsInt(obj1
);
20439 if (PyErr_Occurred()) SWIG_fail
;
20442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20443 result
= (wxListEvent
*)new wxListEvent(arg1
,arg2
);
20445 wxPyEndAllowThreads(__tstate
);
20446 if (PyErr_Occurred()) SWIG_fail
;
20448 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListEvent
, 1);
20455 static PyObject
*_wrap_ListEvent_m_code_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20456 PyObject
*resultobj
;
20457 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20459 PyObject
* obj0
= 0 ;
20460 PyObject
* obj1
= 0 ;
20461 char *kwnames
[] = {
20462 (char *) "self",(char *) "m_code", NULL
20465 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_code_set",kwnames
,&obj0
,&obj1
)) goto fail
;
20466 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20467 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20468 arg2
= (int) SWIG_AsInt(obj1
);
20469 if (PyErr_Occurred()) SWIG_fail
;
20470 if (arg1
) (arg1
)->m_code
= arg2
;
20472 Py_INCREF(Py_None
); resultobj
= Py_None
;
20479 static PyObject
*_wrap_ListEvent_m_code_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20480 PyObject
*resultobj
;
20481 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20483 PyObject
* obj0
= 0 ;
20484 char *kwnames
[] = {
20485 (char *) "self", NULL
20488 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_code_get",kwnames
,&obj0
)) goto fail
;
20489 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20490 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20491 result
= (int) ((arg1
)->m_code
);
20493 resultobj
= SWIG_FromInt((int)result
);
20500 static PyObject
*_wrap_ListEvent_m_oldItemIndex_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20501 PyObject
*resultobj
;
20502 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20504 PyObject
* obj0
= 0 ;
20505 PyObject
* obj1
= 0 ;
20506 char *kwnames
[] = {
20507 (char *) "self",(char *) "m_oldItemIndex", NULL
20510 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_oldItemIndex_set",kwnames
,&obj0
,&obj1
)) goto fail
;
20511 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20512 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20513 arg2
= (long) SWIG_AsLong(obj1
);
20514 if (PyErr_Occurred()) SWIG_fail
;
20515 if (arg1
) (arg1
)->m_oldItemIndex
= arg2
;
20517 Py_INCREF(Py_None
); resultobj
= Py_None
;
20524 static PyObject
*_wrap_ListEvent_m_oldItemIndex_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20525 PyObject
*resultobj
;
20526 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20528 PyObject
* obj0
= 0 ;
20529 char *kwnames
[] = {
20530 (char *) "self", NULL
20533 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_oldItemIndex_get",kwnames
,&obj0
)) goto fail
;
20534 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20535 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20536 result
= (long) ((arg1
)->m_oldItemIndex
);
20538 resultobj
= SWIG_FromLong((long)result
);
20545 static PyObject
*_wrap_ListEvent_m_itemIndex_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20546 PyObject
*resultobj
;
20547 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20549 PyObject
* obj0
= 0 ;
20550 PyObject
* obj1
= 0 ;
20551 char *kwnames
[] = {
20552 (char *) "self",(char *) "m_itemIndex", NULL
20555 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_itemIndex_set",kwnames
,&obj0
,&obj1
)) goto fail
;
20556 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20557 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20558 arg2
= (long) SWIG_AsLong(obj1
);
20559 if (PyErr_Occurred()) SWIG_fail
;
20560 if (arg1
) (arg1
)->m_itemIndex
= arg2
;
20562 Py_INCREF(Py_None
); resultobj
= Py_None
;
20569 static PyObject
*_wrap_ListEvent_m_itemIndex_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20570 PyObject
*resultobj
;
20571 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20573 PyObject
* obj0
= 0 ;
20574 char *kwnames
[] = {
20575 (char *) "self", NULL
20578 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_itemIndex_get",kwnames
,&obj0
)) goto fail
;
20579 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20580 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20581 result
= (long) ((arg1
)->m_itemIndex
);
20583 resultobj
= SWIG_FromLong((long)result
);
20590 static PyObject
*_wrap_ListEvent_m_col_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20591 PyObject
*resultobj
;
20592 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20594 PyObject
* obj0
= 0 ;
20595 PyObject
* obj1
= 0 ;
20596 char *kwnames
[] = {
20597 (char *) "self",(char *) "m_col", NULL
20600 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_col_set",kwnames
,&obj0
,&obj1
)) goto fail
;
20601 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20602 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20603 arg2
= (int) SWIG_AsInt(obj1
);
20604 if (PyErr_Occurred()) SWIG_fail
;
20605 if (arg1
) (arg1
)->m_col
= arg2
;
20607 Py_INCREF(Py_None
); resultobj
= Py_None
;
20614 static PyObject
*_wrap_ListEvent_m_col_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20615 PyObject
*resultobj
;
20616 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20618 PyObject
* obj0
= 0 ;
20619 char *kwnames
[] = {
20620 (char *) "self", NULL
20623 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_col_get",kwnames
,&obj0
)) goto fail
;
20624 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20625 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20626 result
= (int) ((arg1
)->m_col
);
20628 resultobj
= SWIG_FromInt((int)result
);
20635 static PyObject
*_wrap_ListEvent_m_pointDrag_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20636 PyObject
*resultobj
;
20637 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20638 wxPoint
*arg2
= (wxPoint
*) 0 ;
20639 PyObject
* obj0
= 0 ;
20640 PyObject
* obj1
= 0 ;
20641 char *kwnames
[] = {
20642 (char *) "self",(char *) "m_pointDrag", NULL
20645 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_pointDrag_set",kwnames
,&obj0
,&obj1
)) goto fail
;
20646 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20647 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20648 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPoint
,
20649 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20650 if (arg1
) (arg1
)->m_pointDrag
= *arg2
;
20652 Py_INCREF(Py_None
); resultobj
= Py_None
;
20659 static PyObject
*_wrap_ListEvent_m_pointDrag_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20660 PyObject
*resultobj
;
20661 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20663 PyObject
* obj0
= 0 ;
20664 char *kwnames
[] = {
20665 (char *) "self", NULL
20668 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_pointDrag_get",kwnames
,&obj0
)) goto fail
;
20669 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20670 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20671 result
= (wxPoint
*)& ((arg1
)->m_pointDrag
);
20673 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 0);
20680 static PyObject
*_wrap_ListEvent_m_item_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20681 PyObject
*resultobj
;
20682 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20683 wxListItem
*result
;
20684 PyObject
* obj0
= 0 ;
20685 char *kwnames
[] = {
20686 (char *) "self", NULL
20689 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_item_get",kwnames
,&obj0
)) goto fail
;
20690 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20691 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20692 result
= (wxListItem
*)& ((arg1
)->m_item
);
20695 resultobj
= wxPyMake_wxObject(result
);
20703 static PyObject
*_wrap_ListEvent_GetKeyCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20704 PyObject
*resultobj
;
20705 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20707 PyObject
* obj0
= 0 ;
20708 char *kwnames
[] = {
20709 (char *) "self", NULL
20712 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetKeyCode",kwnames
,&obj0
)) goto fail
;
20713 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20714 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20717 result
= (int)(arg1
)->GetKeyCode();
20719 wxPyEndAllowThreads(__tstate
);
20720 if (PyErr_Occurred()) SWIG_fail
;
20722 resultobj
= SWIG_FromInt((int)result
);
20729 static PyObject
*_wrap_ListEvent_GetIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20730 PyObject
*resultobj
;
20731 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20733 PyObject
* obj0
= 0 ;
20734 char *kwnames
[] = {
20735 (char *) "self", NULL
20738 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetIndex",kwnames
,&obj0
)) goto fail
;
20739 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20740 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20743 result
= (long)(arg1
)->GetIndex();
20745 wxPyEndAllowThreads(__tstate
);
20746 if (PyErr_Occurred()) SWIG_fail
;
20748 resultobj
= SWIG_FromLong((long)result
);
20755 static PyObject
*_wrap_ListEvent_GetColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20756 PyObject
*resultobj
;
20757 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20759 PyObject
* obj0
= 0 ;
20760 char *kwnames
[] = {
20761 (char *) "self", NULL
20764 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetColumn",kwnames
,&obj0
)) goto fail
;
20765 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20766 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20769 result
= (int)(arg1
)->GetColumn();
20771 wxPyEndAllowThreads(__tstate
);
20772 if (PyErr_Occurred()) SWIG_fail
;
20774 resultobj
= SWIG_FromInt((int)result
);
20781 static PyObject
*_wrap_ListEvent_GetPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20782 PyObject
*resultobj
;
20783 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20785 PyObject
* obj0
= 0 ;
20786 char *kwnames
[] = {
20787 (char *) "self", NULL
20790 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetPoint",kwnames
,&obj0
)) goto fail
;
20791 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20792 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20795 result
= (arg1
)->GetPoint();
20797 wxPyEndAllowThreads(__tstate
);
20798 if (PyErr_Occurred()) SWIG_fail
;
20801 wxPoint
* resultptr
;
20802 resultptr
= new wxPoint((wxPoint
&) result
);
20803 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
20811 static PyObject
*_wrap_ListEvent_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20812 PyObject
*resultobj
;
20813 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20815 PyObject
* obj0
= 0 ;
20816 char *kwnames
[] = {
20817 (char *) "self", NULL
20820 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetLabel",kwnames
,&obj0
)) goto fail
;
20821 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20822 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20826 wxString
const &_result_ref
= (arg1
)->GetLabel();
20827 result
= (wxString
*) &_result_ref
;
20830 wxPyEndAllowThreads(__tstate
);
20831 if (PyErr_Occurred()) SWIG_fail
;
20835 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
20837 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
20846 static PyObject
*_wrap_ListEvent_GetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20847 PyObject
*resultobj
;
20848 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20850 PyObject
* obj0
= 0 ;
20851 char *kwnames
[] = {
20852 (char *) "self", NULL
20855 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetText",kwnames
,&obj0
)) goto fail
;
20856 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20857 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20861 wxString
const &_result_ref
= (arg1
)->GetText();
20862 result
= (wxString
*) &_result_ref
;
20865 wxPyEndAllowThreads(__tstate
);
20866 if (PyErr_Occurred()) SWIG_fail
;
20870 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
20872 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
20881 static PyObject
*_wrap_ListEvent_GetImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20882 PyObject
*resultobj
;
20883 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20885 PyObject
* obj0
= 0 ;
20886 char *kwnames
[] = {
20887 (char *) "self", NULL
20890 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetImage",kwnames
,&obj0
)) goto fail
;
20891 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20892 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20895 result
= (int)(arg1
)->GetImage();
20897 wxPyEndAllowThreads(__tstate
);
20898 if (PyErr_Occurred()) SWIG_fail
;
20900 resultobj
= SWIG_FromInt((int)result
);
20907 static PyObject
*_wrap_ListEvent_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20908 PyObject
*resultobj
;
20909 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20911 PyObject
* obj0
= 0 ;
20912 char *kwnames
[] = {
20913 (char *) "self", NULL
20916 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetData",kwnames
,&obj0
)) goto fail
;
20917 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20918 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20921 result
= (long)(arg1
)->GetData();
20923 wxPyEndAllowThreads(__tstate
);
20924 if (PyErr_Occurred()) SWIG_fail
;
20926 resultobj
= SWIG_FromLong((long)result
);
20933 static PyObject
*_wrap_ListEvent_GetMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20934 PyObject
*resultobj
;
20935 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20937 PyObject
* obj0
= 0 ;
20938 char *kwnames
[] = {
20939 (char *) "self", NULL
20942 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetMask",kwnames
,&obj0
)) goto fail
;
20943 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20944 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20947 result
= (long)(arg1
)->GetMask();
20949 wxPyEndAllowThreads(__tstate
);
20950 if (PyErr_Occurred()) SWIG_fail
;
20952 resultobj
= SWIG_FromLong((long)result
);
20959 static PyObject
*_wrap_ListEvent_GetItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20960 PyObject
*resultobj
;
20961 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20962 wxListItem
*result
;
20963 PyObject
* obj0
= 0 ;
20964 char *kwnames
[] = {
20965 (char *) "self", NULL
20968 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetItem",kwnames
,&obj0
)) goto fail
;
20969 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20970 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20974 wxListItem
const &_result_ref
= (arg1
)->GetItem();
20975 result
= (wxListItem
*) &_result_ref
;
20978 wxPyEndAllowThreads(__tstate
);
20979 if (PyErr_Occurred()) SWIG_fail
;
20981 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListItem
, 0);
20988 static PyObject
*_wrap_ListEvent_GetCacheFrom(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20989 PyObject
*resultobj
;
20990 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20992 PyObject
* obj0
= 0 ;
20993 char *kwnames
[] = {
20994 (char *) "self", NULL
20997 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetCacheFrom",kwnames
,&obj0
)) goto fail
;
20998 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20999 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21002 result
= (long)(arg1
)->GetCacheFrom();
21004 wxPyEndAllowThreads(__tstate
);
21005 if (PyErr_Occurred()) SWIG_fail
;
21007 resultobj
= SWIG_FromLong((long)result
);
21014 static PyObject
*_wrap_ListEvent_GetCacheTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21015 PyObject
*resultobj
;
21016 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
21018 PyObject
* obj0
= 0 ;
21019 char *kwnames
[] = {
21020 (char *) "self", NULL
21023 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetCacheTo",kwnames
,&obj0
)) goto fail
;
21024 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
21025 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21028 result
= (long)(arg1
)->GetCacheTo();
21030 wxPyEndAllowThreads(__tstate
);
21031 if (PyErr_Occurred()) SWIG_fail
;
21033 resultobj
= SWIG_FromLong((long)result
);
21040 static PyObject
*_wrap_ListEvent_IsEditCancelled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21041 PyObject
*resultobj
;
21042 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
21044 PyObject
* obj0
= 0 ;
21045 char *kwnames
[] = {
21046 (char *) "self", NULL
21049 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_IsEditCancelled",kwnames
,&obj0
)) goto fail
;
21050 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
21051 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21054 result
= (bool)((wxListEvent
const *)arg1
)->IsEditCancelled();
21056 wxPyEndAllowThreads(__tstate
);
21057 if (PyErr_Occurred()) SWIG_fail
;
21060 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21068 static PyObject
*_wrap_ListEvent_SetEditCanceled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21069 PyObject
*resultobj
;
21070 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
21072 PyObject
* obj0
= 0 ;
21073 PyObject
* obj1
= 0 ;
21074 char *kwnames
[] = {
21075 (char *) "self",(char *) "editCancelled", NULL
21078 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_SetEditCanceled",kwnames
,&obj0
,&obj1
)) goto fail
;
21079 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
21080 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21081 arg2
= (bool) SWIG_AsBool(obj1
);
21082 if (PyErr_Occurred()) SWIG_fail
;
21084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21085 (arg1
)->SetEditCanceled(arg2
);
21087 wxPyEndAllowThreads(__tstate
);
21088 if (PyErr_Occurred()) SWIG_fail
;
21090 Py_INCREF(Py_None
); resultobj
= Py_None
;
21097 static PyObject
* ListEvent_swigregister(PyObject
*self
, PyObject
*args
) {
21099 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21100 SWIG_TypeClientData(SWIGTYPE_p_wxListEvent
, obj
);
21102 return Py_BuildValue((char *)"");
21104 static PyObject
*_wrap_new_ListCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21105 PyObject
*resultobj
;
21106 wxWindow
*arg1
= (wxWindow
*) 0 ;
21107 int arg2
= (int) -1 ;
21108 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
21109 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
21110 wxSize
const &arg4_defvalue
= wxDefaultSize
;
21111 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
21112 long arg5
= (long) wxLC_ICON
;
21113 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
21114 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
21115 wxString
const &arg7_defvalue
= wxPyListCtrlNameStr
;
21116 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
21117 wxPyListCtrl
*result
;
21120 bool temp7
= False
;
21121 PyObject
* obj0
= 0 ;
21122 PyObject
* obj1
= 0 ;
21123 PyObject
* obj2
= 0 ;
21124 PyObject
* obj3
= 0 ;
21125 PyObject
* obj4
= 0 ;
21126 PyObject
* obj5
= 0 ;
21127 PyObject
* obj6
= 0 ;
21128 char *kwnames
[] = {
21129 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
21132 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_ListCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
21133 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21134 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21136 arg2
= (int) SWIG_AsInt(obj1
);
21137 if (PyErr_Occurred()) SWIG_fail
;
21142 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
21148 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
21152 arg5
= (long) SWIG_AsLong(obj4
);
21153 if (PyErr_Occurred()) SWIG_fail
;
21156 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxValidator
,
21157 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21159 if (arg6
== NULL
) {
21160 PyErr_SetString(PyExc_TypeError
,"null reference");
21166 arg7
= wxString_in_helper(obj6
);
21167 if (arg7
== NULL
) SWIG_fail
;
21172 if (!wxPyCheckForApp()) SWIG_fail
;
21173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21174 result
= (wxPyListCtrl
*)new wxPyListCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
21176 wxPyEndAllowThreads(__tstate
);
21177 if (PyErr_Occurred()) SWIG_fail
;
21179 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyListCtrl
, 1);
21194 static PyObject
*_wrap_new_PreListCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21195 PyObject
*resultobj
;
21196 wxPyListCtrl
*result
;
21197 char *kwnames
[] = {
21201 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreListCtrl",kwnames
)) goto fail
;
21203 if (!wxPyCheckForApp()) SWIG_fail
;
21204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21205 result
= (wxPyListCtrl
*)new wxPyListCtrl();
21207 wxPyEndAllowThreads(__tstate
);
21208 if (PyErr_Occurred()) SWIG_fail
;
21210 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyListCtrl
, 1);
21217 static PyObject
*_wrap_ListCtrl_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21218 PyObject
*resultobj
;
21219 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21220 wxWindow
*arg2
= (wxWindow
*) 0 ;
21221 int arg3
= (int) -1 ;
21222 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
21223 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
21224 wxSize
const &arg5_defvalue
= wxDefaultSize
;
21225 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
21226 long arg6
= (long) wxLC_ICON
;
21227 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
21228 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
21229 wxString
const &arg8_defvalue
= wxPyListCtrlNameStr
;
21230 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
21234 bool temp8
= False
;
21235 PyObject
* obj0
= 0 ;
21236 PyObject
* obj1
= 0 ;
21237 PyObject
* obj2
= 0 ;
21238 PyObject
* obj3
= 0 ;
21239 PyObject
* obj4
= 0 ;
21240 PyObject
* obj5
= 0 ;
21241 PyObject
* obj6
= 0 ;
21242 PyObject
* obj7
= 0 ;
21243 char *kwnames
[] = {
21244 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
21247 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:ListCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
21248 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21249 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21250 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
21251 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21253 arg3
= (int) SWIG_AsInt(obj2
);
21254 if (PyErr_Occurred()) SWIG_fail
;
21259 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
21265 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
21269 arg6
= (long) SWIG_AsLong(obj5
);
21270 if (PyErr_Occurred()) SWIG_fail
;
21273 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
21274 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21276 if (arg7
== NULL
) {
21277 PyErr_SetString(PyExc_TypeError
,"null reference");
21283 arg8
= wxString_in_helper(obj7
);
21284 if (arg8
== NULL
) SWIG_fail
;
21289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21290 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
21292 wxPyEndAllowThreads(__tstate
);
21293 if (PyErr_Occurred()) SWIG_fail
;
21296 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21312 static PyObject
*_wrap_ListCtrl__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21313 PyObject
*resultobj
;
21314 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21315 PyObject
*arg2
= (PyObject
*) 0 ;
21316 PyObject
*arg3
= (PyObject
*) 0 ;
21317 PyObject
* obj0
= 0 ;
21318 PyObject
* obj1
= 0 ;
21319 PyObject
* obj2
= 0 ;
21320 char *kwnames
[] = {
21321 (char *) "self",(char *) "self",(char *) "_class", NULL
21324 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21325 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21326 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21331 (arg1
)->_setCallbackInfo(arg2
,arg3
);
21333 wxPyEndAllowThreads(__tstate
);
21334 if (PyErr_Occurred()) SWIG_fail
;
21336 Py_INCREF(Py_None
); resultobj
= Py_None
;
21343 static PyObject
*_wrap_ListCtrl_SetForegroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21344 PyObject
*resultobj
;
21345 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21346 wxColour
*arg2
= 0 ;
21349 PyObject
* obj0
= 0 ;
21350 PyObject
* obj1
= 0 ;
21351 char *kwnames
[] = {
21352 (char *) "self",(char *) "col", NULL
21355 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetForegroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
21356 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21357 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21360 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
21363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21364 result
= (bool)(arg1
)->SetForegroundColour((wxColour
const &)*arg2
);
21366 wxPyEndAllowThreads(__tstate
);
21367 if (PyErr_Occurred()) SWIG_fail
;
21370 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21378 static PyObject
*_wrap_ListCtrl_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21379 PyObject
*resultobj
;
21380 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21381 wxColour
*arg2
= 0 ;
21384 PyObject
* obj0
= 0 ;
21385 PyObject
* obj1
= 0 ;
21386 char *kwnames
[] = {
21387 (char *) "self",(char *) "col", NULL
21390 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
21391 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21392 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21395 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
21398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21399 result
= (bool)(arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
21401 wxPyEndAllowThreads(__tstate
);
21402 if (PyErr_Occurred()) SWIG_fail
;
21405 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21413 static PyObject
*_wrap_ListCtrl_GetColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21414 PyObject
*resultobj
;
21415 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21417 wxListItem
*result
;
21418 PyObject
* obj0
= 0 ;
21419 PyObject
* obj1
= 0 ;
21420 char *kwnames
[] = {
21421 (char *) "self",(char *) "col", NULL
21424 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetColumn",kwnames
,&obj0
,&obj1
)) goto fail
;
21425 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21426 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21427 arg2
= (int) SWIG_AsInt(obj1
);
21428 if (PyErr_Occurred()) SWIG_fail
;
21430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21431 result
= (wxListItem
*)wxPyListCtrl_GetColumn(arg1
,arg2
);
21433 wxPyEndAllowThreads(__tstate
);
21434 if (PyErr_Occurred()) SWIG_fail
;
21437 resultobj
= wxPyMake_wxObject(result
);
21445 static PyObject
*_wrap_ListCtrl_SetColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21446 PyObject
*resultobj
;
21447 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21449 wxListItem
*arg3
= 0 ;
21451 PyObject
* obj0
= 0 ;
21452 PyObject
* obj1
= 0 ;
21453 PyObject
* obj2
= 0 ;
21454 char *kwnames
[] = {
21455 (char *) "self",(char *) "col",(char *) "item", NULL
21458 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetColumn",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21459 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21460 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21461 arg2
= (int) SWIG_AsInt(obj1
);
21462 if (PyErr_Occurred()) SWIG_fail
;
21463 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxListItem
,
21464 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21466 if (arg3
== NULL
) {
21467 PyErr_SetString(PyExc_TypeError
,"null reference");
21471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21472 result
= (bool)(arg1
)->SetColumn(arg2
,*arg3
);
21474 wxPyEndAllowThreads(__tstate
);
21475 if (PyErr_Occurred()) SWIG_fail
;
21478 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21486 static PyObject
*_wrap_ListCtrl_GetColumnWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21487 PyObject
*resultobj
;
21488 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21491 PyObject
* obj0
= 0 ;
21492 PyObject
* obj1
= 0 ;
21493 char *kwnames
[] = {
21494 (char *) "self",(char *) "col", NULL
21497 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetColumnWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
21498 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21499 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21500 arg2
= (int) SWIG_AsInt(obj1
);
21501 if (PyErr_Occurred()) SWIG_fail
;
21503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21504 result
= (int)((wxPyListCtrl
const *)arg1
)->GetColumnWidth(arg2
);
21506 wxPyEndAllowThreads(__tstate
);
21507 if (PyErr_Occurred()) SWIG_fail
;
21509 resultobj
= SWIG_FromInt((int)result
);
21516 static PyObject
*_wrap_ListCtrl_SetColumnWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21517 PyObject
*resultobj
;
21518 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21522 PyObject
* obj0
= 0 ;
21523 PyObject
* obj1
= 0 ;
21524 PyObject
* obj2
= 0 ;
21525 char *kwnames
[] = {
21526 (char *) "self",(char *) "col",(char *) "width", NULL
21529 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetColumnWidth",kwnames
,&obj0
,&obj1
,&obj2
)) 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
;
21534 arg3
= (int) SWIG_AsInt(obj2
);
21535 if (PyErr_Occurred()) SWIG_fail
;
21537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21538 result
= (bool)(arg1
)->SetColumnWidth(arg2
,arg3
);
21540 wxPyEndAllowThreads(__tstate
);
21541 if (PyErr_Occurred()) SWIG_fail
;
21544 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21552 static PyObject
*_wrap_ListCtrl_GetCountPerPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21553 PyObject
*resultobj
;
21554 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21556 PyObject
* obj0
= 0 ;
21557 char *kwnames
[] = {
21558 (char *) "self", NULL
21561 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetCountPerPage",kwnames
,&obj0
)) goto fail
;
21562 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21563 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21566 result
= (int)((wxPyListCtrl
const *)arg1
)->GetCountPerPage();
21568 wxPyEndAllowThreads(__tstate
);
21569 if (PyErr_Occurred()) SWIG_fail
;
21571 resultobj
= SWIG_FromInt((int)result
);
21578 static PyObject
*_wrap_ListCtrl_GetViewRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21579 PyObject
*resultobj
;
21580 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21582 PyObject
* obj0
= 0 ;
21583 char *kwnames
[] = {
21584 (char *) "self", NULL
21587 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetViewRect",kwnames
,&obj0
)) goto fail
;
21588 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21589 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21592 result
= ((wxPyListCtrl
const *)arg1
)->GetViewRect();
21594 wxPyEndAllowThreads(__tstate
);
21595 if (PyErr_Occurred()) SWIG_fail
;
21598 wxRect
* resultptr
;
21599 resultptr
= new wxRect((wxRect
&) result
);
21600 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
21608 static PyObject
*_wrap_ListCtrl_GetItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21609 PyObject
*resultobj
;
21610 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21612 int arg3
= (int) 0 ;
21613 wxListItem
*result
;
21614 PyObject
* obj0
= 0 ;
21615 PyObject
* obj1
= 0 ;
21616 PyObject
* obj2
= 0 ;
21617 char *kwnames
[] = {
21618 (char *) "self",(char *) "itemId",(char *) "col", NULL
21621 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_GetItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21622 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21623 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21624 arg2
= (long) SWIG_AsLong(obj1
);
21625 if (PyErr_Occurred()) SWIG_fail
;
21627 arg3
= (int) SWIG_AsInt(obj2
);
21628 if (PyErr_Occurred()) SWIG_fail
;
21631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21632 result
= (wxListItem
*)wxPyListCtrl_GetItem(arg1
,arg2
,arg3
);
21634 wxPyEndAllowThreads(__tstate
);
21635 if (PyErr_Occurred()) SWIG_fail
;
21638 resultobj
= wxPyMake_wxObject(result
);
21646 static PyObject
*_wrap_ListCtrl_SetItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21647 PyObject
*resultobj
;
21648 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21649 wxListItem
*arg2
= 0 ;
21651 PyObject
* obj0
= 0 ;
21652 PyObject
* obj1
= 0 ;
21653 char *kwnames
[] = {
21654 (char *) "self",(char *) "info", NULL
21657 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetItem",kwnames
,&obj0
,&obj1
)) goto fail
;
21658 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21659 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21660 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxListItem
,
21661 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21663 if (arg2
== NULL
) {
21664 PyErr_SetString(PyExc_TypeError
,"null reference");
21668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21669 result
= (bool)(arg1
)->SetItem(*arg2
);
21671 wxPyEndAllowThreads(__tstate
);
21672 if (PyErr_Occurred()) SWIG_fail
;
21675 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21683 static PyObject
*_wrap_ListCtrl_SetStringItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21684 PyObject
*resultobj
;
21685 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21688 wxString
*arg4
= 0 ;
21689 int arg5
= (int) -1 ;
21691 bool temp4
= False
;
21692 PyObject
* obj0
= 0 ;
21693 PyObject
* obj1
= 0 ;
21694 PyObject
* obj2
= 0 ;
21695 PyObject
* obj3
= 0 ;
21696 PyObject
* obj4
= 0 ;
21697 char *kwnames
[] = {
21698 (char *) "self",(char *) "index",(char *) "col",(char *) "label",(char *) "imageId", NULL
21701 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:ListCtrl_SetStringItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
21702 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21703 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21704 arg2
= (long) SWIG_AsLong(obj1
);
21705 if (PyErr_Occurred()) SWIG_fail
;
21706 arg3
= (int) SWIG_AsInt(obj2
);
21707 if (PyErr_Occurred()) SWIG_fail
;
21709 arg4
= wxString_in_helper(obj3
);
21710 if (arg4
== NULL
) SWIG_fail
;
21714 arg5
= (int) SWIG_AsInt(obj4
);
21715 if (PyErr_Occurred()) SWIG_fail
;
21718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21719 result
= (long)(arg1
)->SetItem(arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
21721 wxPyEndAllowThreads(__tstate
);
21722 if (PyErr_Occurred()) SWIG_fail
;
21724 resultobj
= SWIG_FromLong((long)result
);
21739 static PyObject
*_wrap_ListCtrl_GetItemState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21740 PyObject
*resultobj
;
21741 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21745 PyObject
* obj0
= 0 ;
21746 PyObject
* obj1
= 0 ;
21747 PyObject
* obj2
= 0 ;
21748 char *kwnames
[] = {
21749 (char *) "self",(char *) "item",(char *) "stateMask", NULL
21752 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_GetItemState",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21753 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21754 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21755 arg2
= (long) SWIG_AsLong(obj1
);
21756 if (PyErr_Occurred()) SWIG_fail
;
21757 arg3
= (long) SWIG_AsLong(obj2
);
21758 if (PyErr_Occurred()) SWIG_fail
;
21760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21761 result
= (int)((wxPyListCtrl
const *)arg1
)->GetItemState(arg2
,arg3
);
21763 wxPyEndAllowThreads(__tstate
);
21764 if (PyErr_Occurred()) SWIG_fail
;
21766 resultobj
= SWIG_FromInt((int)result
);
21773 static PyObject
*_wrap_ListCtrl_SetItemState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21774 PyObject
*resultobj
;
21775 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21780 PyObject
* obj0
= 0 ;
21781 PyObject
* obj1
= 0 ;
21782 PyObject
* obj2
= 0 ;
21783 PyObject
* obj3
= 0 ;
21784 char *kwnames
[] = {
21785 (char *) "self",(char *) "item",(char *) "state",(char *) "stateMask", NULL
21788 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_SetItemState",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
21789 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21790 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21791 arg2
= (long) SWIG_AsLong(obj1
);
21792 if (PyErr_Occurred()) SWIG_fail
;
21793 arg3
= (long) SWIG_AsLong(obj2
);
21794 if (PyErr_Occurred()) SWIG_fail
;
21795 arg4
= (long) SWIG_AsLong(obj3
);
21796 if (PyErr_Occurred()) SWIG_fail
;
21798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21799 result
= (bool)(arg1
)->SetItemState(arg2
,arg3
,arg4
);
21801 wxPyEndAllowThreads(__tstate
);
21802 if (PyErr_Occurred()) SWIG_fail
;
21805 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21813 static PyObject
*_wrap_ListCtrl_SetItemImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21814 PyObject
*resultobj
;
21815 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21820 PyObject
* obj0
= 0 ;
21821 PyObject
* obj1
= 0 ;
21822 PyObject
* obj2
= 0 ;
21823 PyObject
* obj3
= 0 ;
21824 char *kwnames
[] = {
21825 (char *) "self",(char *) "item",(char *) "image",(char *) "selImage", NULL
21828 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_SetItemImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
21829 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21830 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21831 arg2
= (long) SWIG_AsLong(obj1
);
21832 if (PyErr_Occurred()) SWIG_fail
;
21833 arg3
= (int) SWIG_AsInt(obj2
);
21834 if (PyErr_Occurred()) SWIG_fail
;
21835 arg4
= (int) SWIG_AsInt(obj3
);
21836 if (PyErr_Occurred()) SWIG_fail
;
21838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21839 result
= (bool)(arg1
)->SetItemImage(arg2
,arg3
,arg4
);
21841 wxPyEndAllowThreads(__tstate
);
21842 if (PyErr_Occurred()) SWIG_fail
;
21845 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21853 static PyObject
*_wrap_ListCtrl_GetItemText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21854 PyObject
*resultobj
;
21855 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21858 PyObject
* obj0
= 0 ;
21859 PyObject
* obj1
= 0 ;
21860 char *kwnames
[] = {
21861 (char *) "self",(char *) "item", NULL
21864 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemText",kwnames
,&obj0
,&obj1
)) goto fail
;
21865 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21866 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21867 arg2
= (long) SWIG_AsLong(obj1
);
21868 if (PyErr_Occurred()) SWIG_fail
;
21870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21871 result
= ((wxPyListCtrl
const *)arg1
)->GetItemText(arg2
);
21873 wxPyEndAllowThreads(__tstate
);
21874 if (PyErr_Occurred()) SWIG_fail
;
21878 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
21880 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
21889 static PyObject
*_wrap_ListCtrl_SetItemText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21890 PyObject
*resultobj
;
21891 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21893 wxString
*arg3
= 0 ;
21894 bool temp3
= False
;
21895 PyObject
* obj0
= 0 ;
21896 PyObject
* obj1
= 0 ;
21897 PyObject
* obj2
= 0 ;
21898 char *kwnames
[] = {
21899 (char *) "self",(char *) "item",(char *) "str", NULL
21902 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21903 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21904 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21905 arg2
= (long) SWIG_AsLong(obj1
);
21906 if (PyErr_Occurred()) SWIG_fail
;
21908 arg3
= wxString_in_helper(obj2
);
21909 if (arg3
== NULL
) SWIG_fail
;
21913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21914 (arg1
)->SetItemText(arg2
,(wxString
const &)*arg3
);
21916 wxPyEndAllowThreads(__tstate
);
21917 if (PyErr_Occurred()) SWIG_fail
;
21919 Py_INCREF(Py_None
); resultobj
= Py_None
;
21934 static PyObject
*_wrap_ListCtrl_GetItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21935 PyObject
*resultobj
;
21936 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21939 PyObject
* obj0
= 0 ;
21940 PyObject
* obj1
= 0 ;
21941 char *kwnames
[] = {
21942 (char *) "self",(char *) "item", NULL
21945 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemData",kwnames
,&obj0
,&obj1
)) goto fail
;
21946 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21947 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21948 arg2
= (long) SWIG_AsLong(obj1
);
21949 if (PyErr_Occurred()) SWIG_fail
;
21951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21952 result
= (long)((wxPyListCtrl
const *)arg1
)->GetItemData(arg2
);
21954 wxPyEndAllowThreads(__tstate
);
21955 if (PyErr_Occurred()) SWIG_fail
;
21957 resultobj
= SWIG_FromLong((long)result
);
21964 static PyObject
*_wrap_ListCtrl_SetItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21965 PyObject
*resultobj
;
21966 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21970 PyObject
* obj0
= 0 ;
21971 PyObject
* obj1
= 0 ;
21972 PyObject
* obj2
= 0 ;
21973 char *kwnames
[] = {
21974 (char *) "self",(char *) "item",(char *) "data", NULL
21977 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21978 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21979 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21980 arg2
= (long) SWIG_AsLong(obj1
);
21981 if (PyErr_Occurred()) SWIG_fail
;
21982 arg3
= (long) SWIG_AsLong(obj2
);
21983 if (PyErr_Occurred()) SWIG_fail
;
21985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21986 result
= (bool)(arg1
)->SetItemData(arg2
,arg3
);
21988 wxPyEndAllowThreads(__tstate
);
21989 if (PyErr_Occurred()) SWIG_fail
;
21992 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22000 static PyObject
*_wrap_ListCtrl_GetItemPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22001 PyObject
*resultobj
;
22002 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22005 PyObject
* obj0
= 0 ;
22006 PyObject
* obj1
= 0 ;
22007 char *kwnames
[] = {
22008 (char *) "self",(char *) "item", NULL
22011 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
22012 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22013 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22014 arg2
= (long) SWIG_AsLong(obj1
);
22015 if (PyErr_Occurred()) SWIG_fail
;
22017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22018 result
= wxPyListCtrl_GetItemPosition(arg1
,arg2
);
22020 wxPyEndAllowThreads(__tstate
);
22021 if (PyErr_Occurred()) SWIG_fail
;
22024 wxPoint
* resultptr
;
22025 resultptr
= new wxPoint((wxPoint
&) result
);
22026 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
22034 static PyObject
*_wrap_ListCtrl_GetItemRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22035 PyObject
*resultobj
;
22036 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22038 int arg3
= (int) wxLIST_RECT_BOUNDS
;
22040 PyObject
* obj0
= 0 ;
22041 PyObject
* obj1
= 0 ;
22042 PyObject
* obj2
= 0 ;
22043 char *kwnames
[] = {
22044 (char *) "self",(char *) "item",(char *) "code", NULL
22047 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_GetItemRect",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22048 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22049 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22050 arg2
= (long) SWIG_AsLong(obj1
);
22051 if (PyErr_Occurred()) SWIG_fail
;
22053 arg3
= (int) SWIG_AsInt(obj2
);
22054 if (PyErr_Occurred()) SWIG_fail
;
22057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22058 result
= wxPyListCtrl_GetItemRect(arg1
,arg2
,arg3
);
22060 wxPyEndAllowThreads(__tstate
);
22061 if (PyErr_Occurred()) SWIG_fail
;
22064 wxRect
* resultptr
;
22065 resultptr
= new wxRect((wxRect
&) result
);
22066 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
22074 static PyObject
*_wrap_ListCtrl_SetItemPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22075 PyObject
*resultobj
;
22076 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22078 wxPoint
*arg3
= 0 ;
22081 PyObject
* obj0
= 0 ;
22082 PyObject
* obj1
= 0 ;
22083 PyObject
* obj2
= 0 ;
22084 char *kwnames
[] = {
22085 (char *) "self",(char *) "item",(char *) "pos", NULL
22088 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemPosition",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22089 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22090 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22091 arg2
= (long) SWIG_AsLong(obj1
);
22092 if (PyErr_Occurred()) SWIG_fail
;
22095 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
22098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22099 result
= (bool)(arg1
)->SetItemPosition(arg2
,(wxPoint
const &)*arg3
);
22101 wxPyEndAllowThreads(__tstate
);
22102 if (PyErr_Occurred()) SWIG_fail
;
22105 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22113 static PyObject
*_wrap_ListCtrl_GetItemCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22114 PyObject
*resultobj
;
22115 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22117 PyObject
* obj0
= 0 ;
22118 char *kwnames
[] = {
22119 (char *) "self", NULL
22122 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetItemCount",kwnames
,&obj0
)) goto fail
;
22123 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22124 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22127 result
= (int)((wxPyListCtrl
const *)arg1
)->GetItemCount();
22129 wxPyEndAllowThreads(__tstate
);
22130 if (PyErr_Occurred()) SWIG_fail
;
22132 resultobj
= SWIG_FromInt((int)result
);
22139 static PyObject
*_wrap_ListCtrl_GetColumnCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22140 PyObject
*resultobj
;
22141 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22143 PyObject
* obj0
= 0 ;
22144 char *kwnames
[] = {
22145 (char *) "self", NULL
22148 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetColumnCount",kwnames
,&obj0
)) goto fail
;
22149 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22150 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22153 result
= (int)((wxPyListCtrl
const *)arg1
)->GetColumnCount();
22155 wxPyEndAllowThreads(__tstate
);
22156 if (PyErr_Occurred()) SWIG_fail
;
22158 resultobj
= SWIG_FromInt((int)result
);
22165 static PyObject
*_wrap_ListCtrl_GetItemSpacing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22166 PyObject
*resultobj
;
22167 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22169 PyObject
* obj0
= 0 ;
22170 char *kwnames
[] = {
22171 (char *) "self", NULL
22174 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetItemSpacing",kwnames
,&obj0
)) goto fail
;
22175 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22176 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22179 result
= ((wxPyListCtrl
const *)arg1
)->GetItemSpacing();
22181 wxPyEndAllowThreads(__tstate
);
22182 if (PyErr_Occurred()) SWIG_fail
;
22185 wxSize
* resultptr
;
22186 resultptr
= new wxSize((wxSize
&) result
);
22187 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
22195 static PyObject
*_wrap_ListCtrl_SetItemSpacing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22196 PyObject
*resultobj
;
22197 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22199 bool arg3
= (bool) False
;
22200 PyObject
* obj0
= 0 ;
22201 PyObject
* obj1
= 0 ;
22202 PyObject
* obj2
= 0 ;
22203 char *kwnames
[] = {
22204 (char *) "self",(char *) "spacing",(char *) "isSmall", NULL
22207 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_SetItemSpacing",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22208 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22209 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22210 arg2
= (int) SWIG_AsInt(obj1
);
22211 if (PyErr_Occurred()) SWIG_fail
;
22213 arg3
= (bool) SWIG_AsBool(obj2
);
22214 if (PyErr_Occurred()) SWIG_fail
;
22217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22218 (arg1
)->SetItemSpacing(arg2
,arg3
);
22220 wxPyEndAllowThreads(__tstate
);
22221 if (PyErr_Occurred()) SWIG_fail
;
22223 Py_INCREF(Py_None
); resultobj
= Py_None
;
22230 static PyObject
*_wrap_ListCtrl_GetSelectedItemCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22231 PyObject
*resultobj
;
22232 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22234 PyObject
* obj0
= 0 ;
22235 char *kwnames
[] = {
22236 (char *) "self", NULL
22239 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetSelectedItemCount",kwnames
,&obj0
)) goto fail
;
22240 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22241 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22244 result
= (int)((wxPyListCtrl
const *)arg1
)->GetSelectedItemCount();
22246 wxPyEndAllowThreads(__tstate
);
22247 if (PyErr_Occurred()) SWIG_fail
;
22249 resultobj
= SWIG_FromInt((int)result
);
22256 static PyObject
*_wrap_ListCtrl_GetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22257 PyObject
*resultobj
;
22258 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22260 PyObject
* obj0
= 0 ;
22261 char *kwnames
[] = {
22262 (char *) "self", NULL
22265 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetTextColour",kwnames
,&obj0
)) goto fail
;
22266 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22267 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22270 result
= ((wxPyListCtrl
const *)arg1
)->GetTextColour();
22272 wxPyEndAllowThreads(__tstate
);
22273 if (PyErr_Occurred()) SWIG_fail
;
22276 wxColour
* resultptr
;
22277 resultptr
= new wxColour((wxColour
&) result
);
22278 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
22286 static PyObject
*_wrap_ListCtrl_SetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22287 PyObject
*resultobj
;
22288 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22289 wxColour
*arg2
= 0 ;
22291 PyObject
* obj0
= 0 ;
22292 PyObject
* obj1
= 0 ;
22293 char *kwnames
[] = {
22294 (char *) "self",(char *) "col", NULL
22297 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
22298 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22299 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22302 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
22305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22306 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
22308 wxPyEndAllowThreads(__tstate
);
22309 if (PyErr_Occurred()) SWIG_fail
;
22311 Py_INCREF(Py_None
); resultobj
= Py_None
;
22318 static PyObject
*_wrap_ListCtrl_GetTopItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22319 PyObject
*resultobj
;
22320 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22322 PyObject
* obj0
= 0 ;
22323 char *kwnames
[] = {
22324 (char *) "self", NULL
22327 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetTopItem",kwnames
,&obj0
)) goto fail
;
22328 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22329 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22332 result
= (long)((wxPyListCtrl
const *)arg1
)->GetTopItem();
22334 wxPyEndAllowThreads(__tstate
);
22335 if (PyErr_Occurred()) SWIG_fail
;
22337 resultobj
= SWIG_FromLong((long)result
);
22344 static PyObject
*_wrap_ListCtrl_SetSingleStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22345 PyObject
*resultobj
;
22346 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22348 bool arg3
= (bool) True
;
22349 PyObject
* obj0
= 0 ;
22350 PyObject
* obj1
= 0 ;
22351 PyObject
* obj2
= 0 ;
22352 char *kwnames
[] = {
22353 (char *) "self",(char *) "style",(char *) "add", NULL
22356 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_SetSingleStyle",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22357 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22358 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22359 arg2
= (long) SWIG_AsLong(obj1
);
22360 if (PyErr_Occurred()) SWIG_fail
;
22362 arg3
= (bool) SWIG_AsBool(obj2
);
22363 if (PyErr_Occurred()) SWIG_fail
;
22366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22367 (arg1
)->SetSingleStyle(arg2
,arg3
);
22369 wxPyEndAllowThreads(__tstate
);
22370 if (PyErr_Occurred()) SWIG_fail
;
22372 Py_INCREF(Py_None
); resultobj
= Py_None
;
22379 static PyObject
*_wrap_ListCtrl_SetWindowStyleFlag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22380 PyObject
*resultobj
;
22381 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22383 PyObject
* obj0
= 0 ;
22384 PyObject
* obj1
= 0 ;
22385 char *kwnames
[] = {
22386 (char *) "self",(char *) "style", NULL
22389 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetWindowStyleFlag",kwnames
,&obj0
,&obj1
)) goto fail
;
22390 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22391 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22392 arg2
= (long) SWIG_AsLong(obj1
);
22393 if (PyErr_Occurred()) SWIG_fail
;
22395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22396 (arg1
)->SetWindowStyleFlag(arg2
);
22398 wxPyEndAllowThreads(__tstate
);
22399 if (PyErr_Occurred()) SWIG_fail
;
22401 Py_INCREF(Py_None
); resultobj
= Py_None
;
22408 static PyObject
*_wrap_ListCtrl_GetNextItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22409 PyObject
*resultobj
;
22410 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22412 int arg3
= (int) wxLIST_NEXT_ALL
;
22413 int arg4
= (int) wxLIST_STATE_DONTCARE
;
22415 PyObject
* obj0
= 0 ;
22416 PyObject
* obj1
= 0 ;
22417 PyObject
* obj2
= 0 ;
22418 PyObject
* obj3
= 0 ;
22419 char *kwnames
[] = {
22420 (char *) "self",(char *) "item",(char *) "geometry",(char *) "state", NULL
22423 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:ListCtrl_GetNextItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
22424 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22425 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22426 arg2
= (long) SWIG_AsLong(obj1
);
22427 if (PyErr_Occurred()) SWIG_fail
;
22429 arg3
= (int) SWIG_AsInt(obj2
);
22430 if (PyErr_Occurred()) SWIG_fail
;
22433 arg4
= (int) SWIG_AsInt(obj3
);
22434 if (PyErr_Occurred()) SWIG_fail
;
22437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22438 result
= (long)((wxPyListCtrl
const *)arg1
)->GetNextItem(arg2
,arg3
,arg4
);
22440 wxPyEndAllowThreads(__tstate
);
22441 if (PyErr_Occurred()) SWIG_fail
;
22443 resultobj
= SWIG_FromLong((long)result
);
22450 static PyObject
*_wrap_ListCtrl_GetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22451 PyObject
*resultobj
;
22452 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22454 wxImageList
*result
;
22455 PyObject
* obj0
= 0 ;
22456 PyObject
* obj1
= 0 ;
22457 char *kwnames
[] = {
22458 (char *) "self",(char *) "which", NULL
22461 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
22462 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22463 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22464 arg2
= (int) SWIG_AsInt(obj1
);
22465 if (PyErr_Occurred()) SWIG_fail
;
22467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22468 result
= (wxImageList
*)((wxPyListCtrl
const *)arg1
)->GetImageList(arg2
);
22470 wxPyEndAllowThreads(__tstate
);
22471 if (PyErr_Occurred()) SWIG_fail
;
22474 resultobj
= wxPyMake_wxObject(result
);
22482 static PyObject
*_wrap_ListCtrl_SetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22483 PyObject
*resultobj
;
22484 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22485 wxImageList
*arg2
= (wxImageList
*) 0 ;
22487 PyObject
* obj0
= 0 ;
22488 PyObject
* obj1
= 0 ;
22489 PyObject
* obj2
= 0 ;
22490 char *kwnames
[] = {
22491 (char *) "self",(char *) "imageList",(char *) "which", NULL
22494 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetImageList",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22495 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22496 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22497 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImageList
,
22498 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22499 arg3
= (int) SWIG_AsInt(obj2
);
22500 if (PyErr_Occurred()) SWIG_fail
;
22502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22503 (arg1
)->SetImageList(arg2
,arg3
);
22505 wxPyEndAllowThreads(__tstate
);
22506 if (PyErr_Occurred()) SWIG_fail
;
22508 Py_INCREF(Py_None
); resultobj
= Py_None
;
22515 static PyObject
*_wrap_ListCtrl_AssignImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22516 PyObject
*resultobj
;
22517 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22518 wxImageList
*arg2
= (wxImageList
*) 0 ;
22520 PyObject
* obj0
= 0 ;
22521 PyObject
* obj1
= 0 ;
22522 PyObject
* obj2
= 0 ;
22523 char *kwnames
[] = {
22524 (char *) "self",(char *) "imageList",(char *) "which", NULL
22527 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_AssignImageList",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22528 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22529 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22530 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImageList
,
22531 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
22532 arg3
= (int) SWIG_AsInt(obj2
);
22533 if (PyErr_Occurred()) SWIG_fail
;
22535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22536 (arg1
)->AssignImageList(arg2
,arg3
);
22538 wxPyEndAllowThreads(__tstate
);
22539 if (PyErr_Occurred()) SWIG_fail
;
22541 Py_INCREF(Py_None
); resultobj
= Py_None
;
22548 static PyObject
*_wrap_ListCtrl_InReportView(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22549 PyObject
*resultobj
;
22550 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22552 PyObject
* obj0
= 0 ;
22553 char *kwnames
[] = {
22554 (char *) "self", NULL
22557 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_InReportView",kwnames
,&obj0
)) goto fail
;
22558 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22559 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22562 result
= (bool)((wxPyListCtrl
const *)arg1
)->InReportView();
22564 wxPyEndAllowThreads(__tstate
);
22565 if (PyErr_Occurred()) SWIG_fail
;
22568 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22576 static PyObject
*_wrap_ListCtrl_IsVirtual(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22577 PyObject
*resultobj
;
22578 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22580 PyObject
* obj0
= 0 ;
22581 char *kwnames
[] = {
22582 (char *) "self", NULL
22585 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_IsVirtual",kwnames
,&obj0
)) goto fail
;
22586 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22587 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22590 result
= (bool)((wxPyListCtrl
const *)arg1
)->IsVirtual();
22592 wxPyEndAllowThreads(__tstate
);
22593 if (PyErr_Occurred()) SWIG_fail
;
22596 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22604 static PyObject
*_wrap_ListCtrl_RefreshItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22605 PyObject
*resultobj
;
22606 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22608 PyObject
* obj0
= 0 ;
22609 PyObject
* obj1
= 0 ;
22610 char *kwnames
[] = {
22611 (char *) "self",(char *) "item", NULL
22614 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_RefreshItem",kwnames
,&obj0
,&obj1
)) goto fail
;
22615 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22616 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22617 arg2
= (long) SWIG_AsLong(obj1
);
22618 if (PyErr_Occurred()) SWIG_fail
;
22620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22621 (arg1
)->RefreshItem(arg2
);
22623 wxPyEndAllowThreads(__tstate
);
22624 if (PyErr_Occurred()) SWIG_fail
;
22626 Py_INCREF(Py_None
); resultobj
= Py_None
;
22633 static PyObject
*_wrap_ListCtrl_RefreshItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22634 PyObject
*resultobj
;
22635 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22638 PyObject
* obj0
= 0 ;
22639 PyObject
* obj1
= 0 ;
22640 PyObject
* obj2
= 0 ;
22641 char *kwnames
[] = {
22642 (char *) "self",(char *) "itemFrom",(char *) "itemTo", NULL
22645 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_RefreshItems",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22646 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22647 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22648 arg2
= (long) SWIG_AsLong(obj1
);
22649 if (PyErr_Occurred()) SWIG_fail
;
22650 arg3
= (long) SWIG_AsLong(obj2
);
22651 if (PyErr_Occurred()) SWIG_fail
;
22653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22654 (arg1
)->RefreshItems(arg2
,arg3
);
22656 wxPyEndAllowThreads(__tstate
);
22657 if (PyErr_Occurred()) SWIG_fail
;
22659 Py_INCREF(Py_None
); resultobj
= Py_None
;
22666 static PyObject
*_wrap_ListCtrl_Arrange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22667 PyObject
*resultobj
;
22668 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22669 int arg2
= (int) wxLIST_ALIGN_DEFAULT
;
22671 PyObject
* obj0
= 0 ;
22672 PyObject
* obj1
= 0 ;
22673 char *kwnames
[] = {
22674 (char *) "self",(char *) "flag", NULL
22677 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ListCtrl_Arrange",kwnames
,&obj0
,&obj1
)) goto fail
;
22678 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22679 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22681 arg2
= (int) SWIG_AsInt(obj1
);
22682 if (PyErr_Occurred()) SWIG_fail
;
22685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22686 result
= (bool)(arg1
)->Arrange(arg2
);
22688 wxPyEndAllowThreads(__tstate
);
22689 if (PyErr_Occurred()) SWIG_fail
;
22692 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22700 static PyObject
*_wrap_ListCtrl_DeleteItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22701 PyObject
*resultobj
;
22702 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22705 PyObject
* obj0
= 0 ;
22706 PyObject
* obj1
= 0 ;
22707 char *kwnames
[] = {
22708 (char *) "self",(char *) "item", NULL
22711 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_DeleteItem",kwnames
,&obj0
,&obj1
)) goto fail
;
22712 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22713 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22714 arg2
= (long) SWIG_AsLong(obj1
);
22715 if (PyErr_Occurred()) SWIG_fail
;
22717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22718 result
= (bool)(arg1
)->DeleteItem(arg2
);
22720 wxPyEndAllowThreads(__tstate
);
22721 if (PyErr_Occurred()) SWIG_fail
;
22724 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22732 static PyObject
*_wrap_ListCtrl_DeleteAllItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22733 PyObject
*resultobj
;
22734 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22736 PyObject
* obj0
= 0 ;
22737 char *kwnames
[] = {
22738 (char *) "self", NULL
22741 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_DeleteAllItems",kwnames
,&obj0
)) goto fail
;
22742 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22743 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22746 result
= (bool)(arg1
)->DeleteAllItems();
22748 wxPyEndAllowThreads(__tstate
);
22749 if (PyErr_Occurred()) SWIG_fail
;
22752 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22760 static PyObject
*_wrap_ListCtrl_DeleteColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22761 PyObject
*resultobj
;
22762 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22765 PyObject
* obj0
= 0 ;
22766 PyObject
* obj1
= 0 ;
22767 char *kwnames
[] = {
22768 (char *) "self",(char *) "col", NULL
22771 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_DeleteColumn",kwnames
,&obj0
,&obj1
)) goto fail
;
22772 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22773 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22774 arg2
= (int) SWIG_AsInt(obj1
);
22775 if (PyErr_Occurred()) SWIG_fail
;
22777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22778 result
= (bool)(arg1
)->DeleteColumn(arg2
);
22780 wxPyEndAllowThreads(__tstate
);
22781 if (PyErr_Occurred()) SWIG_fail
;
22784 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22792 static PyObject
*_wrap_ListCtrl_DeleteAllColumns(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22793 PyObject
*resultobj
;
22794 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22796 PyObject
* obj0
= 0 ;
22797 char *kwnames
[] = {
22798 (char *) "self", NULL
22801 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_DeleteAllColumns",kwnames
,&obj0
)) goto fail
;
22802 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22803 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22806 result
= (bool)(arg1
)->DeleteAllColumns();
22808 wxPyEndAllowThreads(__tstate
);
22809 if (PyErr_Occurred()) SWIG_fail
;
22812 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22820 static PyObject
*_wrap_ListCtrl_ClearAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22821 PyObject
*resultobj
;
22822 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22823 PyObject
* obj0
= 0 ;
22824 char *kwnames
[] = {
22825 (char *) "self", NULL
22828 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_ClearAll",kwnames
,&obj0
)) goto fail
;
22829 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22830 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22833 (arg1
)->ClearAll();
22835 wxPyEndAllowThreads(__tstate
);
22836 if (PyErr_Occurred()) SWIG_fail
;
22838 Py_INCREF(Py_None
); resultobj
= Py_None
;
22845 static PyObject
*_wrap_ListCtrl_EditLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22846 PyObject
*resultobj
;
22847 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22849 PyObject
* obj0
= 0 ;
22850 PyObject
* obj1
= 0 ;
22851 char *kwnames
[] = {
22852 (char *) "self",(char *) "item", NULL
22855 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_EditLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
22856 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22857 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22858 arg2
= (long) SWIG_AsLong(obj1
);
22859 if (PyErr_Occurred()) SWIG_fail
;
22861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22862 (arg1
)->EditLabel(arg2
);
22864 wxPyEndAllowThreads(__tstate
);
22865 if (PyErr_Occurred()) SWIG_fail
;
22867 Py_INCREF(Py_None
); resultobj
= Py_None
;
22874 static PyObject
*_wrap_ListCtrl_EnsureVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22875 PyObject
*resultobj
;
22876 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22879 PyObject
* obj0
= 0 ;
22880 PyObject
* obj1
= 0 ;
22881 char *kwnames
[] = {
22882 (char *) "self",(char *) "item", NULL
22885 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_EnsureVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
22886 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22887 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22888 arg2
= (long) SWIG_AsLong(obj1
);
22889 if (PyErr_Occurred()) SWIG_fail
;
22891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22892 result
= (bool)(arg1
)->EnsureVisible(arg2
);
22894 wxPyEndAllowThreads(__tstate
);
22895 if (PyErr_Occurred()) SWIG_fail
;
22898 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22906 static PyObject
*_wrap_ListCtrl_FindItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22907 PyObject
*resultobj
;
22908 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22910 wxString
*arg3
= 0 ;
22911 bool arg4
= (bool) False
;
22913 bool temp3
= False
;
22914 PyObject
* obj0
= 0 ;
22915 PyObject
* obj1
= 0 ;
22916 PyObject
* obj2
= 0 ;
22917 PyObject
* obj3
= 0 ;
22918 char *kwnames
[] = {
22919 (char *) "self",(char *) "start",(char *) "str",(char *) "partial", NULL
22922 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ListCtrl_FindItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
22923 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22924 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22925 arg2
= (long) SWIG_AsLong(obj1
);
22926 if (PyErr_Occurred()) SWIG_fail
;
22928 arg3
= wxString_in_helper(obj2
);
22929 if (arg3
== NULL
) SWIG_fail
;
22933 arg4
= (bool) SWIG_AsBool(obj3
);
22934 if (PyErr_Occurred()) SWIG_fail
;
22937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22938 result
= (long)(arg1
)->FindItem(arg2
,(wxString
const &)*arg3
,arg4
);
22940 wxPyEndAllowThreads(__tstate
);
22941 if (PyErr_Occurred()) SWIG_fail
;
22943 resultobj
= SWIG_FromLong((long)result
);
22958 static PyObject
*_wrap_ListCtrl_FindItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22959 PyObject
*resultobj
;
22960 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22964 PyObject
* obj0
= 0 ;
22965 PyObject
* obj1
= 0 ;
22966 PyObject
* obj2
= 0 ;
22967 char *kwnames
[] = {
22968 (char *) "self",(char *) "start",(char *) "data", NULL
22971 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_FindItemData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22972 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22973 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22974 arg2
= (long) SWIG_AsLong(obj1
);
22975 if (PyErr_Occurred()) SWIG_fail
;
22976 arg3
= (long) SWIG_AsLong(obj2
);
22977 if (PyErr_Occurred()) SWIG_fail
;
22979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22980 result
= (long)(arg1
)->FindItem(arg2
,arg3
);
22982 wxPyEndAllowThreads(__tstate
);
22983 if (PyErr_Occurred()) SWIG_fail
;
22985 resultobj
= SWIG_FromLong((long)result
);
22992 static PyObject
*_wrap_ListCtrl_FindItemAtPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22993 PyObject
*resultobj
;
22994 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22996 wxPoint
*arg3
= 0 ;
23000 PyObject
* obj0
= 0 ;
23001 PyObject
* obj1
= 0 ;
23002 PyObject
* obj2
= 0 ;
23003 PyObject
* obj3
= 0 ;
23004 char *kwnames
[] = {
23005 (char *) "self",(char *) "start",(char *) "pt",(char *) "direction", NULL
23008 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_FindItemAtPos",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
23009 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23010 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23011 arg2
= (long) SWIG_AsLong(obj1
);
23012 if (PyErr_Occurred()) SWIG_fail
;
23015 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
23017 arg4
= (int) SWIG_AsInt(obj3
);
23018 if (PyErr_Occurred()) SWIG_fail
;
23020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23021 result
= (long)(arg1
)->FindItem(arg2
,(wxPoint
const &)*arg3
,arg4
);
23023 wxPyEndAllowThreads(__tstate
);
23024 if (PyErr_Occurred()) SWIG_fail
;
23026 resultobj
= SWIG_FromLong((long)result
);
23033 static PyObject
*_wrap_ListCtrl_HitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23034 PyObject
*resultobj
;
23035 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23036 wxPoint
*arg2
= 0 ;
23041 PyObject
* obj0
= 0 ;
23042 PyObject
* obj1
= 0 ;
23043 char *kwnames
[] = {
23044 (char *) "self",(char *) "point", NULL
23048 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
23049 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23050 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23053 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
23056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23057 result
= (long)(arg1
)->HitTest((wxPoint
const &)*arg2
,*arg3
);
23059 wxPyEndAllowThreads(__tstate
);
23060 if (PyErr_Occurred()) SWIG_fail
;
23062 resultobj
= SWIG_FromLong((long)result
);
23064 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
23065 resultobj
= t_output_helper(resultobj
,o
);
23073 static PyObject
*_wrap_ListCtrl_InsertItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23074 PyObject
*resultobj
;
23075 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23076 wxListItem
*arg2
= 0 ;
23078 PyObject
* obj0
= 0 ;
23079 PyObject
* obj1
= 0 ;
23080 char *kwnames
[] = {
23081 (char *) "self",(char *) "info", NULL
23084 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_InsertItem",kwnames
,&obj0
,&obj1
)) goto fail
;
23085 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23086 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23087 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxListItem
,
23088 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23090 if (arg2
== NULL
) {
23091 PyErr_SetString(PyExc_TypeError
,"null reference");
23095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23096 result
= (long)(arg1
)->InsertItem(*arg2
);
23098 wxPyEndAllowThreads(__tstate
);
23099 if (PyErr_Occurred()) SWIG_fail
;
23101 resultobj
= SWIG_FromLong((long)result
);
23108 static PyObject
*_wrap_ListCtrl_InsertStringItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23109 PyObject
*resultobj
;
23110 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23112 wxString
*arg3
= 0 ;
23114 bool temp3
= False
;
23115 PyObject
* obj0
= 0 ;
23116 PyObject
* obj1
= 0 ;
23117 PyObject
* obj2
= 0 ;
23118 char *kwnames
[] = {
23119 (char *) "self",(char *) "index",(char *) "label", NULL
23122 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_InsertStringItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23123 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23124 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23125 arg2
= (long) SWIG_AsLong(obj1
);
23126 if (PyErr_Occurred()) SWIG_fail
;
23128 arg3
= wxString_in_helper(obj2
);
23129 if (arg3
== NULL
) SWIG_fail
;
23133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23134 result
= (long)(arg1
)->InsertItem(arg2
,(wxString
const &)*arg3
);
23136 wxPyEndAllowThreads(__tstate
);
23137 if (PyErr_Occurred()) SWIG_fail
;
23139 resultobj
= SWIG_FromLong((long)result
);
23154 static PyObject
*_wrap_ListCtrl_InsertImageItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23155 PyObject
*resultobj
;
23156 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23160 PyObject
* obj0
= 0 ;
23161 PyObject
* obj1
= 0 ;
23162 PyObject
* obj2
= 0 ;
23163 char *kwnames
[] = {
23164 (char *) "self",(char *) "index",(char *) "imageIndex", NULL
23167 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_InsertImageItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23168 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23169 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23170 arg2
= (long) SWIG_AsLong(obj1
);
23171 if (PyErr_Occurred()) SWIG_fail
;
23172 arg3
= (int) SWIG_AsInt(obj2
);
23173 if (PyErr_Occurred()) SWIG_fail
;
23175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23176 result
= (long)(arg1
)->InsertItem(arg2
,arg3
);
23178 wxPyEndAllowThreads(__tstate
);
23179 if (PyErr_Occurred()) SWIG_fail
;
23181 resultobj
= SWIG_FromLong((long)result
);
23188 static PyObject
*_wrap_ListCtrl_InsertImageStringItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23189 PyObject
*resultobj
;
23190 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23192 wxString
*arg3
= 0 ;
23195 bool temp3
= False
;
23196 PyObject
* obj0
= 0 ;
23197 PyObject
* obj1
= 0 ;
23198 PyObject
* obj2
= 0 ;
23199 PyObject
* obj3
= 0 ;
23200 char *kwnames
[] = {
23201 (char *) "self",(char *) "index",(char *) "label",(char *) "imageIndex", NULL
23204 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_InsertImageStringItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
23205 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23206 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23207 arg2
= (long) SWIG_AsLong(obj1
);
23208 if (PyErr_Occurred()) SWIG_fail
;
23210 arg3
= wxString_in_helper(obj2
);
23211 if (arg3
== NULL
) SWIG_fail
;
23214 arg4
= (int) SWIG_AsInt(obj3
);
23215 if (PyErr_Occurred()) SWIG_fail
;
23217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23218 result
= (long)(arg1
)->InsertItem(arg2
,(wxString
const &)*arg3
,arg4
);
23220 wxPyEndAllowThreads(__tstate
);
23221 if (PyErr_Occurred()) SWIG_fail
;
23223 resultobj
= SWIG_FromLong((long)result
);
23238 static PyObject
*_wrap_ListCtrl_InsertColumnInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23239 PyObject
*resultobj
;
23240 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23242 wxListItem
*arg3
= 0 ;
23244 PyObject
* obj0
= 0 ;
23245 PyObject
* obj1
= 0 ;
23246 PyObject
* obj2
= 0 ;
23247 char *kwnames
[] = {
23248 (char *) "self",(char *) "col",(char *) "info", NULL
23251 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_InsertColumnInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23252 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23253 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23254 arg2
= (long) SWIG_AsLong(obj1
);
23255 if (PyErr_Occurred()) SWIG_fail
;
23256 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxListItem
,
23257 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23259 if (arg3
== NULL
) {
23260 PyErr_SetString(PyExc_TypeError
,"null reference");
23264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23265 result
= (long)(arg1
)->InsertColumn(arg2
,*arg3
);
23267 wxPyEndAllowThreads(__tstate
);
23268 if (PyErr_Occurred()) SWIG_fail
;
23270 resultobj
= SWIG_FromLong((long)result
);
23277 static PyObject
*_wrap_ListCtrl_InsertColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23278 PyObject
*resultobj
;
23279 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23281 wxString
*arg3
= 0 ;
23282 int arg4
= (int) wxLIST_FORMAT_LEFT
;
23283 int arg5
= (int) -1 ;
23285 bool temp3
= False
;
23286 PyObject
* obj0
= 0 ;
23287 PyObject
* obj1
= 0 ;
23288 PyObject
* obj2
= 0 ;
23289 PyObject
* obj3
= 0 ;
23290 PyObject
* obj4
= 0 ;
23291 char *kwnames
[] = {
23292 (char *) "self",(char *) "col",(char *) "heading",(char *) "format",(char *) "width", NULL
23295 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:ListCtrl_InsertColumn",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
23296 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23297 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23298 arg2
= (long) SWIG_AsLong(obj1
);
23299 if (PyErr_Occurred()) SWIG_fail
;
23301 arg3
= wxString_in_helper(obj2
);
23302 if (arg3
== NULL
) SWIG_fail
;
23306 arg4
= (int) SWIG_AsInt(obj3
);
23307 if (PyErr_Occurred()) SWIG_fail
;
23310 arg5
= (int) SWIG_AsInt(obj4
);
23311 if (PyErr_Occurred()) SWIG_fail
;
23314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23315 result
= (long)(arg1
)->InsertColumn(arg2
,(wxString
const &)*arg3
,arg4
,arg5
);
23317 wxPyEndAllowThreads(__tstate
);
23318 if (PyErr_Occurred()) SWIG_fail
;
23320 resultobj
= SWIG_FromLong((long)result
);
23335 static PyObject
*_wrap_ListCtrl_SetItemCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23336 PyObject
*resultobj
;
23337 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23339 PyObject
* obj0
= 0 ;
23340 PyObject
* obj1
= 0 ;
23341 char *kwnames
[] = {
23342 (char *) "self",(char *) "count", NULL
23345 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetItemCount",kwnames
,&obj0
,&obj1
)) goto fail
;
23346 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23347 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23348 arg2
= (long) SWIG_AsLong(obj1
);
23349 if (PyErr_Occurred()) SWIG_fail
;
23351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23352 (arg1
)->SetItemCount(arg2
);
23354 wxPyEndAllowThreads(__tstate
);
23355 if (PyErr_Occurred()) SWIG_fail
;
23357 Py_INCREF(Py_None
); resultobj
= Py_None
;
23364 static PyObject
*_wrap_ListCtrl_ScrollList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23365 PyObject
*resultobj
;
23366 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23370 PyObject
* obj0
= 0 ;
23371 PyObject
* obj1
= 0 ;
23372 PyObject
* obj2
= 0 ;
23373 char *kwnames
[] = {
23374 (char *) "self",(char *) "dx",(char *) "dy", NULL
23377 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_ScrollList",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23378 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23379 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23380 arg2
= (int) SWIG_AsInt(obj1
);
23381 if (PyErr_Occurred()) SWIG_fail
;
23382 arg3
= (int) SWIG_AsInt(obj2
);
23383 if (PyErr_Occurred()) SWIG_fail
;
23385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23386 result
= (bool)(arg1
)->ScrollList(arg2
,arg3
);
23388 wxPyEndAllowThreads(__tstate
);
23389 if (PyErr_Occurred()) SWIG_fail
;
23392 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23400 static PyObject
*_wrap_ListCtrl_SetItemTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23401 PyObject
*resultobj
;
23402 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23404 wxColour
*arg3
= 0 ;
23406 PyObject
* obj0
= 0 ;
23407 PyObject
* obj1
= 0 ;
23408 PyObject
* obj2
= 0 ;
23409 char *kwnames
[] = {
23410 (char *) "self",(char *) "item",(char *) "col", NULL
23413 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemTextColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23414 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23415 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23416 arg2
= (long) SWIG_AsLong(obj1
);
23417 if (PyErr_Occurred()) SWIG_fail
;
23420 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
23423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23424 (arg1
)->SetItemTextColour(arg2
,(wxColour
const &)*arg3
);
23426 wxPyEndAllowThreads(__tstate
);
23427 if (PyErr_Occurred()) SWIG_fail
;
23429 Py_INCREF(Py_None
); resultobj
= Py_None
;
23436 static PyObject
*_wrap_ListCtrl_GetItemTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23437 PyObject
*resultobj
;
23438 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23441 PyObject
* obj0
= 0 ;
23442 PyObject
* obj1
= 0 ;
23443 char *kwnames
[] = {
23444 (char *) "self",(char *) "item", NULL
23447 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
23448 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23449 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23450 arg2
= (long) SWIG_AsLong(obj1
);
23451 if (PyErr_Occurred()) SWIG_fail
;
23453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23454 result
= ((wxPyListCtrl
const *)arg1
)->GetItemTextColour(arg2
);
23456 wxPyEndAllowThreads(__tstate
);
23457 if (PyErr_Occurred()) SWIG_fail
;
23460 wxColour
* resultptr
;
23461 resultptr
= new wxColour((wxColour
&) result
);
23462 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
23470 static PyObject
*_wrap_ListCtrl_SetItemBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23471 PyObject
*resultobj
;
23472 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23474 wxColour
*arg3
= 0 ;
23476 PyObject
* obj0
= 0 ;
23477 PyObject
* obj1
= 0 ;
23478 PyObject
* obj2
= 0 ;
23479 char *kwnames
[] = {
23480 (char *) "self",(char *) "item",(char *) "col", NULL
23483 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23484 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23485 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23486 arg2
= (long) SWIG_AsLong(obj1
);
23487 if (PyErr_Occurred()) SWIG_fail
;
23490 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
23493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23494 (arg1
)->SetItemBackgroundColour(arg2
,(wxColour
const &)*arg3
);
23496 wxPyEndAllowThreads(__tstate
);
23497 if (PyErr_Occurred()) SWIG_fail
;
23499 Py_INCREF(Py_None
); resultobj
= Py_None
;
23506 static PyObject
*_wrap_ListCtrl_GetItemBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23507 PyObject
*resultobj
;
23508 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23511 PyObject
* obj0
= 0 ;
23512 PyObject
* obj1
= 0 ;
23513 char *kwnames
[] = {
23514 (char *) "self",(char *) "item", NULL
23517 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
23518 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23519 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23520 arg2
= (long) SWIG_AsLong(obj1
);
23521 if (PyErr_Occurred()) SWIG_fail
;
23523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23524 result
= ((wxPyListCtrl
const *)arg1
)->GetItemBackgroundColour(arg2
);
23526 wxPyEndAllowThreads(__tstate
);
23527 if (PyErr_Occurred()) SWIG_fail
;
23530 wxColour
* resultptr
;
23531 resultptr
= new wxColour((wxColour
&) result
);
23532 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
23540 static PyObject
*_wrap_ListCtrl_SortItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23541 PyObject
*resultobj
;
23542 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23543 PyObject
*arg2
= (PyObject
*) 0 ;
23545 PyObject
* obj0
= 0 ;
23546 PyObject
* obj1
= 0 ;
23547 char *kwnames
[] = {
23548 (char *) "self",(char *) "func", NULL
23551 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SortItems",kwnames
,&obj0
,&obj1
)) goto fail
;
23552 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23553 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23557 result
= (bool)wxPyListCtrl_SortItems(arg1
,arg2
);
23559 wxPyEndAllowThreads(__tstate
);
23560 if (PyErr_Occurred()) SWIG_fail
;
23563 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23571 static PyObject
*_wrap_ListCtrl_GetMainWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23572 PyObject
*resultobj
;
23573 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23575 PyObject
* obj0
= 0 ;
23576 char *kwnames
[] = {
23577 (char *) "self", NULL
23580 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetMainWindow",kwnames
,&obj0
)) goto fail
;
23581 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23582 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23585 result
= (wxWindow
*)wxPyListCtrl_GetMainWindow(arg1
);
23587 wxPyEndAllowThreads(__tstate
);
23588 if (PyErr_Occurred()) SWIG_fail
;
23591 resultobj
= wxPyMake_wxObject(result
);
23599 static PyObject
*_wrap_ListCtrl_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23600 PyObject
*resultobj
;
23601 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
23602 wxVisualAttributes result
;
23603 PyObject
* obj0
= 0 ;
23604 char *kwnames
[] = {
23605 (char *) "variant", NULL
23608 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ListCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
23610 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
23611 if (PyErr_Occurred()) SWIG_fail
;
23614 if (!wxPyCheckForApp()) SWIG_fail
;
23615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23616 result
= wxPyListCtrl::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
23618 wxPyEndAllowThreads(__tstate
);
23619 if (PyErr_Occurred()) SWIG_fail
;
23622 wxVisualAttributes
* resultptr
;
23623 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
23624 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
23632 static PyObject
* ListCtrl_swigregister(PyObject
*self
, PyObject
*args
) {
23634 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23635 SWIG_TypeClientData(SWIGTYPE_p_wxPyListCtrl
, obj
);
23637 return Py_BuildValue((char *)"");
23639 static PyObject
*_wrap_new_ListView(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23640 PyObject
*resultobj
;
23641 wxWindow
*arg1
= (wxWindow
*) 0 ;
23642 int arg2
= (int) -1 ;
23643 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
23644 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
23645 wxSize
const &arg4_defvalue
= wxDefaultSize
;
23646 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
23647 long arg5
= (long) wxLC_REPORT
;
23648 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
23649 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
23650 wxString
const &arg7_defvalue
= wxPyListCtrlNameStr
;
23651 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
23652 wxListView
*result
;
23655 bool temp7
= False
;
23656 PyObject
* obj0
= 0 ;
23657 PyObject
* obj1
= 0 ;
23658 PyObject
* obj2
= 0 ;
23659 PyObject
* obj3
= 0 ;
23660 PyObject
* obj4
= 0 ;
23661 PyObject
* obj5
= 0 ;
23662 PyObject
* obj6
= 0 ;
23663 char *kwnames
[] = {
23664 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
23667 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_ListView",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
23668 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23669 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23671 arg2
= (int) SWIG_AsInt(obj1
);
23672 if (PyErr_Occurred()) SWIG_fail
;
23677 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
23683 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
23687 arg5
= (long) SWIG_AsLong(obj4
);
23688 if (PyErr_Occurred()) SWIG_fail
;
23691 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxValidator
,
23692 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23694 if (arg6
== NULL
) {
23695 PyErr_SetString(PyExc_TypeError
,"null reference");
23701 arg7
= wxString_in_helper(obj6
);
23702 if (arg7
== NULL
) SWIG_fail
;
23707 if (!wxPyCheckForApp()) SWIG_fail
;
23708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23709 result
= (wxListView
*)new wxListView(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
23711 wxPyEndAllowThreads(__tstate
);
23712 if (PyErr_Occurred()) SWIG_fail
;
23714 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListView
, 1);
23729 static PyObject
*_wrap_new_PreListView(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23730 PyObject
*resultobj
;
23731 wxListView
*result
;
23732 char *kwnames
[] = {
23736 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreListView",kwnames
)) goto fail
;
23738 if (!wxPyCheckForApp()) SWIG_fail
;
23739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23740 result
= (wxListView
*)new wxListView();
23742 wxPyEndAllowThreads(__tstate
);
23743 if (PyErr_Occurred()) SWIG_fail
;
23745 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListView
, 1);
23752 static PyObject
*_wrap_ListView_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23753 PyObject
*resultobj
;
23754 wxListView
*arg1
= (wxListView
*) 0 ;
23755 wxWindow
*arg2
= (wxWindow
*) 0 ;
23756 int arg3
= (int) -1 ;
23757 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
23758 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
23759 wxSize
const &arg5_defvalue
= wxDefaultSize
;
23760 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
23761 long arg6
= (long) wxLC_REPORT
;
23762 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
23763 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
23764 wxString
const &arg8_defvalue
= wxPyListCtrlNameStr
;
23765 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
23769 bool temp8
= False
;
23770 PyObject
* obj0
= 0 ;
23771 PyObject
* obj1
= 0 ;
23772 PyObject
* obj2
= 0 ;
23773 PyObject
* obj3
= 0 ;
23774 PyObject
* obj4
= 0 ;
23775 PyObject
* obj5
= 0 ;
23776 PyObject
* obj6
= 0 ;
23777 PyObject
* obj7
= 0 ;
23778 char *kwnames
[] = {
23779 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
23782 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:ListView_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
23783 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListView
,
23784 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23785 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
23786 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23788 arg3
= (int) SWIG_AsInt(obj2
);
23789 if (PyErr_Occurred()) SWIG_fail
;
23794 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
23800 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
23804 arg6
= (long) SWIG_AsLong(obj5
);
23805 if (PyErr_Occurred()) SWIG_fail
;
23808 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
23809 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23811 if (arg7
== NULL
) {
23812 PyErr_SetString(PyExc_TypeError
,"null reference");
23818 arg8
= wxString_in_helper(obj7
);
23819 if (arg8
== NULL
) SWIG_fail
;
23824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23825 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
23827 wxPyEndAllowThreads(__tstate
);
23828 if (PyErr_Occurred()) SWIG_fail
;
23831 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23847 static PyObject
*_wrap_ListView_Select(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23848 PyObject
*resultobj
;
23849 wxListView
*arg1
= (wxListView
*) 0 ;
23851 bool arg3
= (bool) True
;
23852 PyObject
* obj0
= 0 ;
23853 PyObject
* obj1
= 0 ;
23854 PyObject
* obj2
= 0 ;
23855 char *kwnames
[] = {
23856 (char *) "self",(char *) "n",(char *) "on", NULL
23859 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListView_Select",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23860 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListView
,
23861 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23862 arg2
= (long) SWIG_AsLong(obj1
);
23863 if (PyErr_Occurred()) SWIG_fail
;
23865 arg3
= (bool) SWIG_AsBool(obj2
);
23866 if (PyErr_Occurred()) SWIG_fail
;
23869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23870 (arg1
)->Select(arg2
,arg3
);
23872 wxPyEndAllowThreads(__tstate
);
23873 if (PyErr_Occurred()) SWIG_fail
;
23875 Py_INCREF(Py_None
); resultobj
= Py_None
;
23882 static PyObject
*_wrap_ListView_Focus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23883 PyObject
*resultobj
;
23884 wxListView
*arg1
= (wxListView
*) 0 ;
23886 PyObject
* obj0
= 0 ;
23887 PyObject
* obj1
= 0 ;
23888 char *kwnames
[] = {
23889 (char *) "self",(char *) "index", NULL
23892 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_Focus",kwnames
,&obj0
,&obj1
)) goto fail
;
23893 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListView
,
23894 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23895 arg2
= (long) SWIG_AsLong(obj1
);
23896 if (PyErr_Occurred()) SWIG_fail
;
23898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23899 (arg1
)->Focus(arg2
);
23901 wxPyEndAllowThreads(__tstate
);
23902 if (PyErr_Occurred()) SWIG_fail
;
23904 Py_INCREF(Py_None
); resultobj
= Py_None
;
23911 static PyObject
*_wrap_ListView_GetFocusedItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23912 PyObject
*resultobj
;
23913 wxListView
*arg1
= (wxListView
*) 0 ;
23915 PyObject
* obj0
= 0 ;
23916 char *kwnames
[] = {
23917 (char *) "self", NULL
23920 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListView_GetFocusedItem",kwnames
,&obj0
)) goto fail
;
23921 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListView
,
23922 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23925 result
= (long)((wxListView
const *)arg1
)->GetFocusedItem();
23927 wxPyEndAllowThreads(__tstate
);
23928 if (PyErr_Occurred()) SWIG_fail
;
23930 resultobj
= SWIG_FromLong((long)result
);
23937 static PyObject
*_wrap_ListView_GetNextSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23938 PyObject
*resultobj
;
23939 wxListView
*arg1
= (wxListView
*) 0 ;
23942 PyObject
* obj0
= 0 ;
23943 PyObject
* obj1
= 0 ;
23944 char *kwnames
[] = {
23945 (char *) "self",(char *) "item", NULL
23948 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_GetNextSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
23949 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListView
,
23950 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23951 arg2
= (long) SWIG_AsLong(obj1
);
23952 if (PyErr_Occurred()) SWIG_fail
;
23954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23955 result
= (long)((wxListView
const *)arg1
)->GetNextSelected(arg2
);
23957 wxPyEndAllowThreads(__tstate
);
23958 if (PyErr_Occurred()) SWIG_fail
;
23960 resultobj
= SWIG_FromLong((long)result
);
23967 static PyObject
*_wrap_ListView_GetFirstSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23968 PyObject
*resultobj
;
23969 wxListView
*arg1
= (wxListView
*) 0 ;
23971 PyObject
* obj0
= 0 ;
23972 char *kwnames
[] = {
23973 (char *) "self", NULL
23976 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListView_GetFirstSelected",kwnames
,&obj0
)) goto fail
;
23977 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListView
,
23978 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23981 result
= (long)((wxListView
const *)arg1
)->GetFirstSelected();
23983 wxPyEndAllowThreads(__tstate
);
23984 if (PyErr_Occurred()) SWIG_fail
;
23986 resultobj
= SWIG_FromLong((long)result
);
23993 static PyObject
*_wrap_ListView_IsSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23994 PyObject
*resultobj
;
23995 wxListView
*arg1
= (wxListView
*) 0 ;
23998 PyObject
* obj0
= 0 ;
23999 PyObject
* obj1
= 0 ;
24000 char *kwnames
[] = {
24001 (char *) "self",(char *) "index", NULL
24004 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_IsSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
24005 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListView
,
24006 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24007 arg2
= (long) SWIG_AsLong(obj1
);
24008 if (PyErr_Occurred()) SWIG_fail
;
24010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24011 result
= (bool)(arg1
)->IsSelected(arg2
);
24013 wxPyEndAllowThreads(__tstate
);
24014 if (PyErr_Occurred()) SWIG_fail
;
24017 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24025 static PyObject
*_wrap_ListView_SetColumnImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24026 PyObject
*resultobj
;
24027 wxListView
*arg1
= (wxListView
*) 0 ;
24030 PyObject
* obj0
= 0 ;
24031 PyObject
* obj1
= 0 ;
24032 PyObject
* obj2
= 0 ;
24033 char *kwnames
[] = {
24034 (char *) "self",(char *) "col",(char *) "image", NULL
24037 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListView_SetColumnImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24038 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListView
,
24039 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24040 arg2
= (int) SWIG_AsInt(obj1
);
24041 if (PyErr_Occurred()) SWIG_fail
;
24042 arg3
= (int) SWIG_AsInt(obj2
);
24043 if (PyErr_Occurred()) SWIG_fail
;
24045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24046 (arg1
)->SetColumnImage(arg2
,arg3
);
24048 wxPyEndAllowThreads(__tstate
);
24049 if (PyErr_Occurred()) SWIG_fail
;
24051 Py_INCREF(Py_None
); resultobj
= Py_None
;
24058 static PyObject
*_wrap_ListView_ClearColumnImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24059 PyObject
*resultobj
;
24060 wxListView
*arg1
= (wxListView
*) 0 ;
24062 PyObject
* obj0
= 0 ;
24063 PyObject
* obj1
= 0 ;
24064 char *kwnames
[] = {
24065 (char *) "self",(char *) "col", NULL
24068 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_ClearColumnImage",kwnames
,&obj0
,&obj1
)) goto fail
;
24069 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListView
,
24070 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24071 arg2
= (int) SWIG_AsInt(obj1
);
24072 if (PyErr_Occurred()) SWIG_fail
;
24074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24075 (arg1
)->ClearColumnImage(arg2
);
24077 wxPyEndAllowThreads(__tstate
);
24078 if (PyErr_Occurred()) SWIG_fail
;
24080 Py_INCREF(Py_None
); resultobj
= Py_None
;
24087 static PyObject
* ListView_swigregister(PyObject
*self
, PyObject
*args
) {
24089 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24090 SWIG_TypeClientData(SWIGTYPE_p_wxListView
, obj
);
24092 return Py_BuildValue((char *)"");
24094 static int _wrap_TreeCtrlNameStr_set(PyObject
*_val
) {
24095 PyErr_SetString(PyExc_TypeError
,"Variable TreeCtrlNameStr is read-only.");
24100 static PyObject
*_wrap_TreeCtrlNameStr_get() {
24105 pyobj
= PyUnicode_FromWideChar((&wxPyTreeCtrlNameStr
)->c_str(), (&wxPyTreeCtrlNameStr
)->Len());
24107 pyobj
= PyString_FromStringAndSize((&wxPyTreeCtrlNameStr
)->c_str(), (&wxPyTreeCtrlNameStr
)->Len());
24114 static PyObject
*_wrap_new_TreeItemId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24115 PyObject
*resultobj
;
24116 wxTreeItemId
*result
;
24117 char *kwnames
[] = {
24121 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_TreeItemId",kwnames
)) goto fail
;
24123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24124 result
= (wxTreeItemId
*)new wxTreeItemId();
24126 wxPyEndAllowThreads(__tstate
);
24127 if (PyErr_Occurred()) SWIG_fail
;
24129 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTreeItemId
, 1);
24136 static PyObject
*_wrap_delete_TreeItemId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24137 PyObject
*resultobj
;
24138 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
24139 PyObject
* obj0
= 0 ;
24140 char *kwnames
[] = {
24141 (char *) "self", NULL
24144 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TreeItemId",kwnames
,&obj0
)) goto fail
;
24145 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeItemId
,
24146 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24151 wxPyEndAllowThreads(__tstate
);
24152 if (PyErr_Occurred()) SWIG_fail
;
24154 Py_INCREF(Py_None
); resultobj
= Py_None
;
24161 static PyObject
*_wrap_TreeItemId_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24162 PyObject
*resultobj
;
24163 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
24165 PyObject
* obj0
= 0 ;
24166 char *kwnames
[] = {
24167 (char *) "self", NULL
24170 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemId_IsOk",kwnames
,&obj0
)) goto fail
;
24171 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeItemId
,
24172 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24175 result
= (bool)((wxTreeItemId
const *)arg1
)->IsOk();
24177 wxPyEndAllowThreads(__tstate
);
24178 if (PyErr_Occurred()) SWIG_fail
;
24181 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24189 static PyObject
*_wrap_TreeItemId___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24190 PyObject
*resultobj
;
24191 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
24192 wxTreeItemId
*arg2
= (wxTreeItemId
*) 0 ;
24194 PyObject
* obj0
= 0 ;
24195 PyObject
* obj1
= 0 ;
24196 char *kwnames
[] = {
24197 (char *) "self",(char *) "other", NULL
24200 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemId___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
24201 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeItemId
,
24202 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24203 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
24204 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24207 result
= (bool)wxTreeItemId___eq__(arg1
,(wxTreeItemId
const *)arg2
);
24209 wxPyEndAllowThreads(__tstate
);
24210 if (PyErr_Occurred()) SWIG_fail
;
24213 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24221 static PyObject
*_wrap_TreeItemId___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24222 PyObject
*resultobj
;
24223 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
24224 wxTreeItemId
*arg2
= (wxTreeItemId
*) 0 ;
24226 PyObject
* obj0
= 0 ;
24227 PyObject
* obj1
= 0 ;
24228 char *kwnames
[] = {
24229 (char *) "self",(char *) "other", NULL
24232 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemId___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
24233 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeItemId
,
24234 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24235 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
24236 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24239 result
= (bool)wxTreeItemId___ne__(arg1
,(wxTreeItemId
const *)arg2
);
24241 wxPyEndAllowThreads(__tstate
);
24242 if (PyErr_Occurred()) SWIG_fail
;
24245 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24253 static PyObject
*_wrap_TreeItemId_m_pItem_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24254 PyObject
*resultobj
;
24255 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
24256 void *arg2
= (void *) 0 ;
24257 PyObject
* obj0
= 0 ;
24258 PyObject
* obj1
= 0 ;
24259 char *kwnames
[] = {
24260 (char *) "self",(char *) "m_pItem", NULL
24263 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemId_m_pItem_set",kwnames
,&obj0
,&obj1
)) goto fail
;
24264 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeItemId
,
24265 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24266 if ((SWIG_ConvertPtr(obj1
,&arg2
,0,SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
24267 if (arg1
) (arg1
)->m_pItem
= arg2
;
24269 Py_INCREF(Py_None
); resultobj
= Py_None
;
24276 static PyObject
*_wrap_TreeItemId_m_pItem_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24277 PyObject
*resultobj
;
24278 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
24280 PyObject
* obj0
= 0 ;
24281 char *kwnames
[] = {
24282 (char *) "self", NULL
24285 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemId_m_pItem_get",kwnames
,&obj0
)) goto fail
;
24286 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeItemId
,
24287 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24288 result
= (void *) ((arg1
)->m_pItem
);
24290 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_void
, 0);
24297 static PyObject
* TreeItemId_swigregister(PyObject
*self
, PyObject
*args
) {
24299 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24300 SWIG_TypeClientData(SWIGTYPE_p_wxTreeItemId
, obj
);
24302 return Py_BuildValue((char *)"");
24304 static PyObject
*_wrap_new_TreeItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24305 PyObject
*resultobj
;
24306 PyObject
*arg1
= (PyObject
*) NULL
;
24307 wxPyTreeItemData
*result
;
24308 PyObject
* obj0
= 0 ;
24309 char *kwnames
[] = {
24310 (char *) "obj", NULL
24313 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_TreeItemData",kwnames
,&obj0
)) goto fail
;
24318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24319 result
= (wxPyTreeItemData
*)new wxPyTreeItemData(arg1
);
24321 wxPyEndAllowThreads(__tstate
);
24322 if (PyErr_Occurred()) SWIG_fail
;
24324 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTreeItemData
, 1);
24331 static PyObject
*_wrap_TreeItemData_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24332 PyObject
*resultobj
;
24333 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
24335 PyObject
* obj0
= 0 ;
24336 char *kwnames
[] = {
24337 (char *) "self", NULL
24340 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemData_GetData",kwnames
,&obj0
)) goto fail
;
24341 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeItemData
,
24342 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24345 result
= (PyObject
*)(arg1
)->GetData();
24347 wxPyEndAllowThreads(__tstate
);
24348 if (PyErr_Occurred()) SWIG_fail
;
24350 resultobj
= result
;
24357 static PyObject
*_wrap_TreeItemData_SetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24358 PyObject
*resultobj
;
24359 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
24360 PyObject
*arg2
= (PyObject
*) 0 ;
24361 PyObject
* obj0
= 0 ;
24362 PyObject
* obj1
= 0 ;
24363 char *kwnames
[] = {
24364 (char *) "self",(char *) "obj", NULL
24367 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemData_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
24368 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeItemData
,
24369 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24373 (arg1
)->SetData(arg2
);
24375 wxPyEndAllowThreads(__tstate
);
24376 if (PyErr_Occurred()) SWIG_fail
;
24378 Py_INCREF(Py_None
); resultobj
= Py_None
;
24385 static PyObject
*_wrap_TreeItemData_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24386 PyObject
*resultobj
;
24387 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
24388 wxTreeItemId
*result
;
24389 PyObject
* obj0
= 0 ;
24390 char *kwnames
[] = {
24391 (char *) "self", NULL
24394 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemData_GetId",kwnames
,&obj0
)) goto fail
;
24395 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeItemData
,
24396 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24400 wxTreeItemId
const &_result_ref
= (arg1
)->GetId();
24401 result
= (wxTreeItemId
*) &_result_ref
;
24404 wxPyEndAllowThreads(__tstate
);
24405 if (PyErr_Occurred()) SWIG_fail
;
24407 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTreeItemId
, 0);
24414 static PyObject
*_wrap_TreeItemData_SetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24415 PyObject
*resultobj
;
24416 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
24417 wxTreeItemId
*arg2
= 0 ;
24418 PyObject
* obj0
= 0 ;
24419 PyObject
* obj1
= 0 ;
24420 char *kwnames
[] = {
24421 (char *) "self",(char *) "id", NULL
24424 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemData_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
24425 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeItemData
,
24426 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24427 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
24428 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24430 if (arg2
== NULL
) {
24431 PyErr_SetString(PyExc_TypeError
,"null reference");
24435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24436 (arg1
)->SetId((wxTreeItemId
const &)*arg2
);
24438 wxPyEndAllowThreads(__tstate
);
24439 if (PyErr_Occurred()) SWIG_fail
;
24441 Py_INCREF(Py_None
); resultobj
= Py_None
;
24448 static PyObject
*_wrap_TreeItemData_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24449 PyObject
*resultobj
;
24450 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
24451 PyObject
* obj0
= 0 ;
24452 char *kwnames
[] = {
24453 (char *) "self", NULL
24456 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemData_Destroy",kwnames
,&obj0
)) goto fail
;
24457 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeItemData
,
24458 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24461 wxPyTreeItemData_Destroy(arg1
);
24463 wxPyEndAllowThreads(__tstate
);
24464 if (PyErr_Occurred()) SWIG_fail
;
24466 Py_INCREF(Py_None
); resultobj
= Py_None
;
24473 static PyObject
* TreeItemData_swigregister(PyObject
*self
, PyObject
*args
) {
24475 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24476 SWIG_TypeClientData(SWIGTYPE_p_wxPyTreeItemData
, obj
);
24478 return Py_BuildValue((char *)"");
24480 static PyObject
*_wrap_new_TreeEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24481 PyObject
*resultobj
;
24482 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
24483 int arg2
= (int) 0 ;
24484 wxTreeEvent
*result
;
24485 PyObject
* obj0
= 0 ;
24486 PyObject
* obj1
= 0 ;
24487 char *kwnames
[] = {
24488 (char *) "commandType",(char *) "id", NULL
24491 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_TreeEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
24493 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
24494 if (PyErr_Occurred()) SWIG_fail
;
24497 arg2
= (int) SWIG_AsInt(obj1
);
24498 if (PyErr_Occurred()) SWIG_fail
;
24501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24502 result
= (wxTreeEvent
*)new wxTreeEvent(arg1
,arg2
);
24504 wxPyEndAllowThreads(__tstate
);
24505 if (PyErr_Occurred()) SWIG_fail
;
24507 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTreeEvent
, 1);
24514 static PyObject
*_wrap_TreeEvent_GetItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24515 PyObject
*resultobj
;
24516 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
24517 wxTreeItemId result
;
24518 PyObject
* obj0
= 0 ;
24519 char *kwnames
[] = {
24520 (char *) "self", NULL
24523 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetItem",kwnames
,&obj0
)) goto fail
;
24524 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
24525 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24528 result
= ((wxTreeEvent
const *)arg1
)->GetItem();
24530 wxPyEndAllowThreads(__tstate
);
24531 if (PyErr_Occurred()) SWIG_fail
;
24534 wxTreeItemId
* resultptr
;
24535 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
24536 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
24544 static PyObject
*_wrap_TreeEvent_SetItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24545 PyObject
*resultobj
;
24546 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
24547 wxTreeItemId
*arg2
= 0 ;
24548 PyObject
* obj0
= 0 ;
24549 PyObject
* obj1
= 0 ;
24550 char *kwnames
[] = {
24551 (char *) "self",(char *) "item", NULL
24554 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetItem",kwnames
,&obj0
,&obj1
)) goto fail
;
24555 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
24556 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24557 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
24558 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24560 if (arg2
== NULL
) {
24561 PyErr_SetString(PyExc_TypeError
,"null reference");
24565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24566 (arg1
)->SetItem((wxTreeItemId
const &)*arg2
);
24568 wxPyEndAllowThreads(__tstate
);
24569 if (PyErr_Occurred()) SWIG_fail
;
24571 Py_INCREF(Py_None
); resultobj
= Py_None
;
24578 static PyObject
*_wrap_TreeEvent_GetOldItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24579 PyObject
*resultobj
;
24580 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
24581 wxTreeItemId result
;
24582 PyObject
* obj0
= 0 ;
24583 char *kwnames
[] = {
24584 (char *) "self", NULL
24587 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetOldItem",kwnames
,&obj0
)) goto fail
;
24588 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
24589 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24592 result
= ((wxTreeEvent
const *)arg1
)->GetOldItem();
24594 wxPyEndAllowThreads(__tstate
);
24595 if (PyErr_Occurred()) SWIG_fail
;
24598 wxTreeItemId
* resultptr
;
24599 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
24600 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
24608 static PyObject
*_wrap_TreeEvent_SetOldItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24609 PyObject
*resultobj
;
24610 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
24611 wxTreeItemId
*arg2
= 0 ;
24612 PyObject
* obj0
= 0 ;
24613 PyObject
* obj1
= 0 ;
24614 char *kwnames
[] = {
24615 (char *) "self",(char *) "item", NULL
24618 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetOldItem",kwnames
,&obj0
,&obj1
)) goto fail
;
24619 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
24620 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24621 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
24622 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24624 if (arg2
== NULL
) {
24625 PyErr_SetString(PyExc_TypeError
,"null reference");
24629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24630 (arg1
)->SetOldItem((wxTreeItemId
const &)*arg2
);
24632 wxPyEndAllowThreads(__tstate
);
24633 if (PyErr_Occurred()) SWIG_fail
;
24635 Py_INCREF(Py_None
); resultobj
= Py_None
;
24642 static PyObject
*_wrap_TreeEvent_GetPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24643 PyObject
*resultobj
;
24644 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
24646 PyObject
* obj0
= 0 ;
24647 char *kwnames
[] = {
24648 (char *) "self", NULL
24651 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetPoint",kwnames
,&obj0
)) goto fail
;
24652 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
24653 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24656 result
= ((wxTreeEvent
const *)arg1
)->GetPoint();
24658 wxPyEndAllowThreads(__tstate
);
24659 if (PyErr_Occurred()) SWIG_fail
;
24662 wxPoint
* resultptr
;
24663 resultptr
= new wxPoint((wxPoint
&) result
);
24664 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
24672 static PyObject
*_wrap_TreeEvent_SetPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24673 PyObject
*resultobj
;
24674 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
24675 wxPoint
*arg2
= 0 ;
24677 PyObject
* obj0
= 0 ;
24678 PyObject
* obj1
= 0 ;
24679 char *kwnames
[] = {
24680 (char *) "self",(char *) "pt", NULL
24683 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
24684 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
24685 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24688 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
24691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24692 (arg1
)->SetPoint((wxPoint
const &)*arg2
);
24694 wxPyEndAllowThreads(__tstate
);
24695 if (PyErr_Occurred()) SWIG_fail
;
24697 Py_INCREF(Py_None
); resultobj
= Py_None
;
24704 static PyObject
*_wrap_TreeEvent_GetKeyEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24705 PyObject
*resultobj
;
24706 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
24707 wxKeyEvent
*result
;
24708 PyObject
* obj0
= 0 ;
24709 char *kwnames
[] = {
24710 (char *) "self", NULL
24713 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetKeyEvent",kwnames
,&obj0
)) goto fail
;
24714 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
24715 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24719 wxKeyEvent
const &_result_ref
= ((wxTreeEvent
const *)arg1
)->GetKeyEvent();
24720 result
= (wxKeyEvent
*) &_result_ref
;
24723 wxPyEndAllowThreads(__tstate
);
24724 if (PyErr_Occurred()) SWIG_fail
;
24726 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxKeyEvent
, 0);
24733 static PyObject
*_wrap_TreeEvent_GetKeyCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24734 PyObject
*resultobj
;
24735 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
24737 PyObject
* obj0
= 0 ;
24738 char *kwnames
[] = {
24739 (char *) "self", NULL
24742 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetKeyCode",kwnames
,&obj0
)) goto fail
;
24743 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
24744 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24747 result
= (int)((wxTreeEvent
const *)arg1
)->GetKeyCode();
24749 wxPyEndAllowThreads(__tstate
);
24750 if (PyErr_Occurred()) SWIG_fail
;
24752 resultobj
= SWIG_FromInt((int)result
);
24759 static PyObject
*_wrap_TreeEvent_SetKeyEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24760 PyObject
*resultobj
;
24761 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
24762 wxKeyEvent
*arg2
= 0 ;
24763 PyObject
* obj0
= 0 ;
24764 PyObject
* obj1
= 0 ;
24765 char *kwnames
[] = {
24766 (char *) "self",(char *) "evt", NULL
24769 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetKeyEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
24770 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
24771 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24772 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxKeyEvent
,
24773 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24775 if (arg2
== NULL
) {
24776 PyErr_SetString(PyExc_TypeError
,"null reference");
24780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24781 (arg1
)->SetKeyEvent((wxKeyEvent
const &)*arg2
);
24783 wxPyEndAllowThreads(__tstate
);
24784 if (PyErr_Occurred()) SWIG_fail
;
24786 Py_INCREF(Py_None
); resultobj
= Py_None
;
24793 static PyObject
*_wrap_TreeEvent_GetLabel(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_GetLabel",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();
24808 wxString
const &_result_ref
= ((wxTreeEvent
const *)arg1
)->GetLabel();
24809 result
= (wxString
*) &_result_ref
;
24812 wxPyEndAllowThreads(__tstate
);
24813 if (PyErr_Occurred()) SWIG_fail
;
24817 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
24819 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
24828 static PyObject
*_wrap_TreeEvent_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24829 PyObject
*resultobj
;
24830 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
24831 wxString
*arg2
= 0 ;
24832 bool temp2
= False
;
24833 PyObject
* obj0
= 0 ;
24834 PyObject
* obj1
= 0 ;
24835 char *kwnames
[] = {
24836 (char *) "self",(char *) "label", NULL
24839 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
24840 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
24841 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24843 arg2
= wxString_in_helper(obj1
);
24844 if (arg2
== NULL
) SWIG_fail
;
24848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24849 (arg1
)->SetLabel((wxString
const &)*arg2
);
24851 wxPyEndAllowThreads(__tstate
);
24852 if (PyErr_Occurred()) SWIG_fail
;
24854 Py_INCREF(Py_None
); resultobj
= Py_None
;
24869 static PyObject
*_wrap_TreeEvent_IsEditCancelled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24870 PyObject
*resultobj
;
24871 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
24873 PyObject
* obj0
= 0 ;
24874 char *kwnames
[] = {
24875 (char *) "self", NULL
24878 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_IsEditCancelled",kwnames
,&obj0
)) goto fail
;
24879 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
24880 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24883 result
= (bool)((wxTreeEvent
const *)arg1
)->IsEditCancelled();
24885 wxPyEndAllowThreads(__tstate
);
24886 if (PyErr_Occurred()) SWIG_fail
;
24889 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24897 static PyObject
*_wrap_TreeEvent_SetEditCanceled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24898 PyObject
*resultobj
;
24899 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
24901 PyObject
* obj0
= 0 ;
24902 PyObject
* obj1
= 0 ;
24903 char *kwnames
[] = {
24904 (char *) "self",(char *) "editCancelled", NULL
24907 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetEditCanceled",kwnames
,&obj0
,&obj1
)) goto fail
;
24908 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
24909 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24910 arg2
= (bool) SWIG_AsBool(obj1
);
24911 if (PyErr_Occurred()) SWIG_fail
;
24913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24914 (arg1
)->SetEditCanceled(arg2
);
24916 wxPyEndAllowThreads(__tstate
);
24917 if (PyErr_Occurred()) SWIG_fail
;
24919 Py_INCREF(Py_None
); resultobj
= Py_None
;
24926 static PyObject
*_wrap_TreeEvent_SetToolTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24927 PyObject
*resultobj
;
24928 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
24929 wxString
*arg2
= 0 ;
24930 bool temp2
= False
;
24931 PyObject
* obj0
= 0 ;
24932 PyObject
* obj1
= 0 ;
24933 char *kwnames
[] = {
24934 (char *) "self",(char *) "toolTip", NULL
24937 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetToolTip",kwnames
,&obj0
,&obj1
)) goto fail
;
24938 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
24939 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24941 arg2
= wxString_in_helper(obj1
);
24942 if (arg2
== NULL
) SWIG_fail
;
24946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24947 (arg1
)->SetToolTip((wxString
const &)*arg2
);
24949 wxPyEndAllowThreads(__tstate
);
24950 if (PyErr_Occurred()) SWIG_fail
;
24952 Py_INCREF(Py_None
); resultobj
= Py_None
;
24967 static PyObject
* TreeEvent_swigregister(PyObject
*self
, PyObject
*args
) {
24969 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24970 SWIG_TypeClientData(SWIGTYPE_p_wxTreeEvent
, obj
);
24972 return Py_BuildValue((char *)"");
24974 static PyObject
*_wrap_new_TreeCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24975 PyObject
*resultobj
;
24976 wxWindow
*arg1
= (wxWindow
*) 0 ;
24977 int arg2
= (int) -1 ;
24978 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
24979 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
24980 wxSize
const &arg4_defvalue
= wxDefaultSize
;
24981 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
24982 long arg5
= (long) wxTR_DEFAULT_STYLE
;
24983 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
24984 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
24985 wxString
const &arg7_defvalue
= wxPyTreeCtrlNameStr
;
24986 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
24987 wxPyTreeCtrl
*result
;
24990 bool temp7
= False
;
24991 PyObject
* obj0
= 0 ;
24992 PyObject
* obj1
= 0 ;
24993 PyObject
* obj2
= 0 ;
24994 PyObject
* obj3
= 0 ;
24995 PyObject
* obj4
= 0 ;
24996 PyObject
* obj5
= 0 ;
24997 PyObject
* obj6
= 0 ;
24998 char *kwnames
[] = {
24999 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
25002 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_TreeCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
25003 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25004 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25006 arg2
= (int) SWIG_AsInt(obj1
);
25007 if (PyErr_Occurred()) SWIG_fail
;
25012 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
25018 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
25022 arg5
= (long) SWIG_AsLong(obj4
);
25023 if (PyErr_Occurred()) SWIG_fail
;
25026 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxValidator
,
25027 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25029 if (arg6
== NULL
) {
25030 PyErr_SetString(PyExc_TypeError
,"null reference");
25036 arg7
= wxString_in_helper(obj6
);
25037 if (arg7
== NULL
) SWIG_fail
;
25042 if (!wxPyCheckForApp()) SWIG_fail
;
25043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25044 result
= (wxPyTreeCtrl
*)new wxPyTreeCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
25046 wxPyEndAllowThreads(__tstate
);
25047 if (PyErr_Occurred()) SWIG_fail
;
25050 resultobj
= wxPyMake_wxObject(result
);
25066 static PyObject
*_wrap_new_PreTreeCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25067 PyObject
*resultobj
;
25068 wxPyTreeCtrl
*result
;
25069 char *kwnames
[] = {
25073 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreTreeCtrl",kwnames
)) goto fail
;
25075 if (!wxPyCheckForApp()) SWIG_fail
;
25076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25077 result
= (wxPyTreeCtrl
*)new wxPyTreeCtrl();
25079 wxPyEndAllowThreads(__tstate
);
25080 if (PyErr_Occurred()) SWIG_fail
;
25083 resultobj
= wxPyMake_wxObject(result
);
25091 static PyObject
*_wrap_TreeCtrl_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25092 PyObject
*resultobj
;
25093 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25094 wxWindow
*arg2
= (wxWindow
*) 0 ;
25095 int arg3
= (int) -1 ;
25096 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
25097 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
25098 wxSize
const &arg5_defvalue
= wxDefaultSize
;
25099 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
25100 long arg6
= (long) wxTR_DEFAULT_STYLE
;
25101 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
25102 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
25103 wxString
const &arg8_defvalue
= wxPyTreeCtrlNameStr
;
25104 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
25108 bool temp8
= False
;
25109 PyObject
* obj0
= 0 ;
25110 PyObject
* obj1
= 0 ;
25111 PyObject
* obj2
= 0 ;
25112 PyObject
* obj3
= 0 ;
25113 PyObject
* obj4
= 0 ;
25114 PyObject
* obj5
= 0 ;
25115 PyObject
* obj6
= 0 ;
25116 PyObject
* obj7
= 0 ;
25117 char *kwnames
[] = {
25118 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
25121 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:TreeCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
25122 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25123 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25124 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
25125 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25127 arg3
= (int) SWIG_AsInt(obj2
);
25128 if (PyErr_Occurred()) SWIG_fail
;
25133 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
25139 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
25143 arg6
= (long) SWIG_AsLong(obj5
);
25144 if (PyErr_Occurred()) SWIG_fail
;
25147 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
25148 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25150 if (arg7
== NULL
) {
25151 PyErr_SetString(PyExc_TypeError
,"null reference");
25157 arg8
= wxString_in_helper(obj7
);
25158 if (arg8
== NULL
) SWIG_fail
;
25163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25164 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
25166 wxPyEndAllowThreads(__tstate
);
25167 if (PyErr_Occurred()) SWIG_fail
;
25170 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25186 static PyObject
*_wrap_TreeCtrl__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25187 PyObject
*resultobj
;
25188 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25189 PyObject
*arg2
= (PyObject
*) 0 ;
25190 PyObject
*arg3
= (PyObject
*) 0 ;
25191 PyObject
* obj0
= 0 ;
25192 PyObject
* obj1
= 0 ;
25193 PyObject
* obj2
= 0 ;
25194 char *kwnames
[] = {
25195 (char *) "self",(char *) "self",(char *) "_class", NULL
25198 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25199 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25200 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25205 (arg1
)->_setCallbackInfo(arg2
,arg3
);
25207 wxPyEndAllowThreads(__tstate
);
25208 if (PyErr_Occurred()) SWIG_fail
;
25210 Py_INCREF(Py_None
); resultobj
= Py_None
;
25217 static PyObject
*_wrap_TreeCtrl_GetCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25218 PyObject
*resultobj
;
25219 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25221 PyObject
* obj0
= 0 ;
25222 char *kwnames
[] = {
25223 (char *) "self", NULL
25226 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetCount",kwnames
,&obj0
)) goto fail
;
25227 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25228 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25231 result
= (size_t)((wxPyTreeCtrl
const *)arg1
)->GetCount();
25233 wxPyEndAllowThreads(__tstate
);
25234 if (PyErr_Occurred()) SWIG_fail
;
25236 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
25243 static PyObject
*_wrap_TreeCtrl_GetIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25244 PyObject
*resultobj
;
25245 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25246 unsigned int result
;
25247 PyObject
* obj0
= 0 ;
25248 char *kwnames
[] = {
25249 (char *) "self", NULL
25252 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetIndent",kwnames
,&obj0
)) goto fail
;
25253 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25254 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25257 result
= (unsigned int)((wxPyTreeCtrl
const *)arg1
)->GetIndent();
25259 wxPyEndAllowThreads(__tstate
);
25260 if (PyErr_Occurred()) SWIG_fail
;
25262 resultobj
= SWIG_FromUnsignedInt((unsigned int)result
);
25269 static PyObject
*_wrap_TreeCtrl_SetIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25270 PyObject
*resultobj
;
25271 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25272 unsigned int arg2
;
25273 PyObject
* obj0
= 0 ;
25274 PyObject
* obj1
= 0 ;
25275 char *kwnames
[] = {
25276 (char *) "self",(char *) "indent", NULL
25279 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetIndent",kwnames
,&obj0
,&obj1
)) goto fail
;
25280 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25281 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25282 arg2
= (unsigned int) SWIG_AsUnsignedInt(obj1
);
25283 if (PyErr_Occurred()) SWIG_fail
;
25285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25286 (arg1
)->SetIndent(arg2
);
25288 wxPyEndAllowThreads(__tstate
);
25289 if (PyErr_Occurred()) SWIG_fail
;
25291 Py_INCREF(Py_None
); resultobj
= Py_None
;
25298 static PyObject
*_wrap_TreeCtrl_GetSpacing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25299 PyObject
*resultobj
;
25300 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25301 unsigned int result
;
25302 PyObject
* obj0
= 0 ;
25303 char *kwnames
[] = {
25304 (char *) "self", NULL
25307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetSpacing",kwnames
,&obj0
)) goto fail
;
25308 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25309 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25312 result
= (unsigned int)((wxPyTreeCtrl
const *)arg1
)->GetSpacing();
25314 wxPyEndAllowThreads(__tstate
);
25315 if (PyErr_Occurred()) SWIG_fail
;
25317 resultobj
= SWIG_FromUnsignedInt((unsigned int)result
);
25324 static PyObject
*_wrap_TreeCtrl_SetSpacing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25325 PyObject
*resultobj
;
25326 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25327 unsigned int arg2
;
25328 PyObject
* obj0
= 0 ;
25329 PyObject
* obj1
= 0 ;
25330 char *kwnames
[] = {
25331 (char *) "self",(char *) "spacing", NULL
25334 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetSpacing",kwnames
,&obj0
,&obj1
)) goto fail
;
25335 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25336 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25337 arg2
= (unsigned int) SWIG_AsUnsignedInt(obj1
);
25338 if (PyErr_Occurred()) SWIG_fail
;
25340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25341 (arg1
)->SetSpacing(arg2
);
25343 wxPyEndAllowThreads(__tstate
);
25344 if (PyErr_Occurred()) SWIG_fail
;
25346 Py_INCREF(Py_None
); resultobj
= Py_None
;
25353 static PyObject
*_wrap_TreeCtrl_GetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25354 PyObject
*resultobj
;
25355 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25356 wxImageList
*result
;
25357 PyObject
* obj0
= 0 ;
25358 char *kwnames
[] = {
25359 (char *) "self", NULL
25362 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetImageList",kwnames
,&obj0
)) goto fail
;
25363 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25364 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25367 result
= (wxImageList
*)((wxPyTreeCtrl
const *)arg1
)->GetImageList();
25369 wxPyEndAllowThreads(__tstate
);
25370 if (PyErr_Occurred()) SWIG_fail
;
25373 resultobj
= wxPyMake_wxObject(result
);
25381 static PyObject
*_wrap_TreeCtrl_GetStateImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25382 PyObject
*resultobj
;
25383 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25384 wxImageList
*result
;
25385 PyObject
* obj0
= 0 ;
25386 char *kwnames
[] = {
25387 (char *) "self", NULL
25390 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetStateImageList",kwnames
,&obj0
)) goto fail
;
25391 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25392 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25395 result
= (wxImageList
*)((wxPyTreeCtrl
const *)arg1
)->GetStateImageList();
25397 wxPyEndAllowThreads(__tstate
);
25398 if (PyErr_Occurred()) SWIG_fail
;
25401 resultobj
= wxPyMake_wxObject(result
);
25409 static PyObject
*_wrap_TreeCtrl_SetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25410 PyObject
*resultobj
;
25411 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25412 wxImageList
*arg2
= (wxImageList
*) 0 ;
25413 PyObject
* obj0
= 0 ;
25414 PyObject
* obj1
= 0 ;
25415 char *kwnames
[] = {
25416 (char *) "self",(char *) "imageList", NULL
25419 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
25420 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25421 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25422 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImageList
,
25423 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25426 (arg1
)->SetImageList(arg2
);
25428 wxPyEndAllowThreads(__tstate
);
25429 if (PyErr_Occurred()) SWIG_fail
;
25431 Py_INCREF(Py_None
); resultobj
= Py_None
;
25438 static PyObject
*_wrap_TreeCtrl_SetStateImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25439 PyObject
*resultobj
;
25440 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25441 wxImageList
*arg2
= (wxImageList
*) 0 ;
25442 PyObject
* obj0
= 0 ;
25443 PyObject
* obj1
= 0 ;
25444 char *kwnames
[] = {
25445 (char *) "self",(char *) "imageList", NULL
25448 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetStateImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
25449 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25450 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25451 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImageList
,
25452 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25455 (arg1
)->SetStateImageList(arg2
);
25457 wxPyEndAllowThreads(__tstate
);
25458 if (PyErr_Occurred()) SWIG_fail
;
25460 Py_INCREF(Py_None
); resultobj
= Py_None
;
25467 static PyObject
*_wrap_TreeCtrl_AssignImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25468 PyObject
*resultobj
;
25469 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25470 wxImageList
*arg2
= (wxImageList
*) 0 ;
25471 PyObject
* obj0
= 0 ;
25472 PyObject
* obj1
= 0 ;
25473 char *kwnames
[] = {
25474 (char *) "self",(char *) "imageList", NULL
25477 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_AssignImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
25478 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25479 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25480 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImageList
,
25481 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
25483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25484 (arg1
)->AssignImageList(arg2
);
25486 wxPyEndAllowThreads(__tstate
);
25487 if (PyErr_Occurred()) SWIG_fail
;
25489 Py_INCREF(Py_None
); resultobj
= Py_None
;
25496 static PyObject
*_wrap_TreeCtrl_AssignStateImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25497 PyObject
*resultobj
;
25498 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25499 wxImageList
*arg2
= (wxImageList
*) 0 ;
25500 PyObject
* obj0
= 0 ;
25501 PyObject
* obj1
= 0 ;
25502 char *kwnames
[] = {
25503 (char *) "self",(char *) "imageList", NULL
25506 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_AssignStateImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
25507 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25508 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25509 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImageList
,
25510 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
25512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25513 (arg1
)->AssignStateImageList(arg2
);
25515 wxPyEndAllowThreads(__tstate
);
25516 if (PyErr_Occurred()) SWIG_fail
;
25518 Py_INCREF(Py_None
); resultobj
= Py_None
;
25525 static PyObject
*_wrap_TreeCtrl_GetItemText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25526 PyObject
*resultobj
;
25527 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25528 wxTreeItemId
*arg2
= 0 ;
25530 PyObject
* obj0
= 0 ;
25531 PyObject
* obj1
= 0 ;
25532 char *kwnames
[] = {
25533 (char *) "self",(char *) "item", NULL
25536 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemText",kwnames
,&obj0
,&obj1
)) goto fail
;
25537 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25538 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25539 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25540 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25542 if (arg2
== NULL
) {
25543 PyErr_SetString(PyExc_TypeError
,"null reference");
25547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25548 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemText((wxTreeItemId
const &)*arg2
);
25550 wxPyEndAllowThreads(__tstate
);
25551 if (PyErr_Occurred()) SWIG_fail
;
25555 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
25557 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
25566 static PyObject
*_wrap_TreeCtrl_GetItemImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25567 PyObject
*resultobj
;
25568 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25569 wxTreeItemId
*arg2
= 0 ;
25570 int arg3
= (int) wxTreeItemIcon_Normal
;
25572 PyObject
* obj0
= 0 ;
25573 PyObject
* obj1
= 0 ;
25574 PyObject
* obj2
= 0 ;
25575 char *kwnames
[] = {
25576 (char *) "self",(char *) "item",(char *) "which", NULL
25579 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_GetItemImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25580 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25581 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25582 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25583 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25585 if (arg2
== NULL
) {
25586 PyErr_SetString(PyExc_TypeError
,"null reference");
25590 arg3
= (wxTreeItemIcon
) SWIG_AsInt(obj2
);
25591 if (PyErr_Occurred()) SWIG_fail
;
25594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25595 result
= (int)((wxPyTreeCtrl
const *)arg1
)->GetItemImage((wxTreeItemId
const &)*arg2
,(wxTreeItemIcon
)arg3
);
25597 wxPyEndAllowThreads(__tstate
);
25598 if (PyErr_Occurred()) SWIG_fail
;
25600 resultobj
= SWIG_FromInt((int)result
);
25607 static PyObject
*_wrap_TreeCtrl_GetItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25608 PyObject
*resultobj
;
25609 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25610 wxTreeItemId
*arg2
= 0 ;
25611 wxPyTreeItemData
*result
;
25612 PyObject
* obj0
= 0 ;
25613 PyObject
* obj1
= 0 ;
25614 char *kwnames
[] = {
25615 (char *) "self",(char *) "item", NULL
25618 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemData",kwnames
,&obj0
,&obj1
)) goto fail
;
25619 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25620 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25621 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25622 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25624 if (arg2
== NULL
) {
25625 PyErr_SetString(PyExc_TypeError
,"null reference");
25629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25630 result
= (wxPyTreeItemData
*)wxPyTreeCtrl_GetItemData(arg1
,(wxTreeItemId
const &)*arg2
);
25632 wxPyEndAllowThreads(__tstate
);
25633 if (PyErr_Occurred()) SWIG_fail
;
25635 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTreeItemData
, 0);
25642 static PyObject
*_wrap_TreeCtrl_GetItemPyData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25643 PyObject
*resultobj
;
25644 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25645 wxTreeItemId
*arg2
= 0 ;
25647 PyObject
* obj0
= 0 ;
25648 PyObject
* obj1
= 0 ;
25649 char *kwnames
[] = {
25650 (char *) "self",(char *) "item", NULL
25653 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemPyData",kwnames
,&obj0
,&obj1
)) goto fail
;
25654 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25655 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25656 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25657 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25659 if (arg2
== NULL
) {
25660 PyErr_SetString(PyExc_TypeError
,"null reference");
25664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25665 result
= (PyObject
*)wxPyTreeCtrl_GetItemPyData(arg1
,(wxTreeItemId
const &)*arg2
);
25667 wxPyEndAllowThreads(__tstate
);
25668 if (PyErr_Occurred()) SWIG_fail
;
25670 resultobj
= result
;
25677 static PyObject
*_wrap_TreeCtrl_GetItemTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25678 PyObject
*resultobj
;
25679 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25680 wxTreeItemId
*arg2
= 0 ;
25682 PyObject
* obj0
= 0 ;
25683 PyObject
* obj1
= 0 ;
25684 char *kwnames
[] = {
25685 (char *) "self",(char *) "item", NULL
25688 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
25689 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25690 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25691 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25692 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25694 if (arg2
== NULL
) {
25695 PyErr_SetString(PyExc_TypeError
,"null reference");
25699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25700 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemTextColour((wxTreeItemId
const &)*arg2
);
25702 wxPyEndAllowThreads(__tstate
);
25703 if (PyErr_Occurred()) SWIG_fail
;
25706 wxColour
* resultptr
;
25707 resultptr
= new wxColour((wxColour
&) result
);
25708 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
25716 static PyObject
*_wrap_TreeCtrl_GetItemBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25717 PyObject
*resultobj
;
25718 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25719 wxTreeItemId
*arg2
= 0 ;
25721 PyObject
* obj0
= 0 ;
25722 PyObject
* obj1
= 0 ;
25723 char *kwnames
[] = {
25724 (char *) "self",(char *) "item", NULL
25727 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
25728 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25729 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25730 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25731 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25733 if (arg2
== NULL
) {
25734 PyErr_SetString(PyExc_TypeError
,"null reference");
25738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25739 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemBackgroundColour((wxTreeItemId
const &)*arg2
);
25741 wxPyEndAllowThreads(__tstate
);
25742 if (PyErr_Occurred()) SWIG_fail
;
25745 wxColour
* resultptr
;
25746 resultptr
= new wxColour((wxColour
&) result
);
25747 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
25755 static PyObject
*_wrap_TreeCtrl_GetItemFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25756 PyObject
*resultobj
;
25757 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25758 wxTreeItemId
*arg2
= 0 ;
25760 PyObject
* obj0
= 0 ;
25761 PyObject
* obj1
= 0 ;
25762 char *kwnames
[] = {
25763 (char *) "self",(char *) "item", NULL
25766 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemFont",kwnames
,&obj0
,&obj1
)) goto fail
;
25767 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25768 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25769 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25770 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25772 if (arg2
== NULL
) {
25773 PyErr_SetString(PyExc_TypeError
,"null reference");
25777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25778 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemFont((wxTreeItemId
const &)*arg2
);
25780 wxPyEndAllowThreads(__tstate
);
25781 if (PyErr_Occurred()) SWIG_fail
;
25784 wxFont
* resultptr
;
25785 resultptr
= new wxFont((wxFont
&) result
);
25786 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
25794 static PyObject
*_wrap_TreeCtrl_SetItemText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25795 PyObject
*resultobj
;
25796 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25797 wxTreeItemId
*arg2
= 0 ;
25798 wxString
*arg3
= 0 ;
25799 bool temp3
= False
;
25800 PyObject
* obj0
= 0 ;
25801 PyObject
* obj1
= 0 ;
25802 PyObject
* obj2
= 0 ;
25803 char *kwnames
[] = {
25804 (char *) "self",(char *) "item",(char *) "text", NULL
25807 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25808 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25809 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25810 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25811 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25813 if (arg2
== NULL
) {
25814 PyErr_SetString(PyExc_TypeError
,"null reference");
25818 arg3
= wxString_in_helper(obj2
);
25819 if (arg3
== NULL
) SWIG_fail
;
25823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25824 (arg1
)->SetItemText((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
);
25826 wxPyEndAllowThreads(__tstate
);
25827 if (PyErr_Occurred()) SWIG_fail
;
25829 Py_INCREF(Py_None
); resultobj
= Py_None
;
25844 static PyObject
*_wrap_TreeCtrl_SetItemImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25845 PyObject
*resultobj
;
25846 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25847 wxTreeItemId
*arg2
= 0 ;
25849 int arg4
= (int) wxTreeItemIcon_Normal
;
25850 PyObject
* obj0
= 0 ;
25851 PyObject
* obj1
= 0 ;
25852 PyObject
* obj2
= 0 ;
25853 PyObject
* obj3
= 0 ;
25854 char *kwnames
[] = {
25855 (char *) "self",(char *) "item",(char *) "image",(char *) "which", NULL
25858 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:TreeCtrl_SetItemImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
25859 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25860 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25861 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25862 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25864 if (arg2
== NULL
) {
25865 PyErr_SetString(PyExc_TypeError
,"null reference");
25868 arg3
= (int) SWIG_AsInt(obj2
);
25869 if (PyErr_Occurred()) SWIG_fail
;
25871 arg4
= (wxTreeItemIcon
) SWIG_AsInt(obj3
);
25872 if (PyErr_Occurred()) SWIG_fail
;
25875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25876 (arg1
)->SetItemImage((wxTreeItemId
const &)*arg2
,arg3
,(wxTreeItemIcon
)arg4
);
25878 wxPyEndAllowThreads(__tstate
);
25879 if (PyErr_Occurred()) SWIG_fail
;
25881 Py_INCREF(Py_None
); resultobj
= Py_None
;
25888 static PyObject
*_wrap_TreeCtrl_SetItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25889 PyObject
*resultobj
;
25890 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25891 wxTreeItemId
*arg2
= 0 ;
25892 wxPyTreeItemData
*arg3
= (wxPyTreeItemData
*) 0 ;
25893 PyObject
* obj0
= 0 ;
25894 PyObject
* obj1
= 0 ;
25895 PyObject
* obj2
= 0 ;
25896 char *kwnames
[] = {
25897 (char *) "self",(char *) "item",(char *) "data", NULL
25900 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25901 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25902 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25903 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25904 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25906 if (arg2
== NULL
) {
25907 PyErr_SetString(PyExc_TypeError
,"null reference");
25910 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPyTreeItemData
,
25911 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25914 wxPyTreeCtrl_SetItemData(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
25916 wxPyEndAllowThreads(__tstate
);
25917 if (PyErr_Occurred()) SWIG_fail
;
25919 Py_INCREF(Py_None
); resultobj
= Py_None
;
25926 static PyObject
*_wrap_TreeCtrl_SetItemPyData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25927 PyObject
*resultobj
;
25928 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25929 wxTreeItemId
*arg2
= 0 ;
25930 PyObject
*arg3
= (PyObject
*) 0 ;
25931 PyObject
* obj0
= 0 ;
25932 PyObject
* obj1
= 0 ;
25933 PyObject
* obj2
= 0 ;
25934 char *kwnames
[] = {
25935 (char *) "self",(char *) "item",(char *) "obj", NULL
25938 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemPyData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25939 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25940 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25941 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25942 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25944 if (arg2
== NULL
) {
25945 PyErr_SetString(PyExc_TypeError
,"null reference");
25950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25951 wxPyTreeCtrl_SetItemPyData(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
25953 wxPyEndAllowThreads(__tstate
);
25954 if (PyErr_Occurred()) SWIG_fail
;
25956 Py_INCREF(Py_None
); resultobj
= Py_None
;
25963 static PyObject
*_wrap_TreeCtrl_SetItemHasChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25964 PyObject
*resultobj
;
25965 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25966 wxTreeItemId
*arg2
= 0 ;
25967 bool arg3
= (bool) True
;
25968 PyObject
* obj0
= 0 ;
25969 PyObject
* obj1
= 0 ;
25970 PyObject
* obj2
= 0 ;
25971 char *kwnames
[] = {
25972 (char *) "self",(char *) "item",(char *) "has", NULL
25975 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SetItemHasChildren",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25976 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25977 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25978 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25979 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25981 if (arg2
== NULL
) {
25982 PyErr_SetString(PyExc_TypeError
,"null reference");
25986 arg3
= (bool) SWIG_AsBool(obj2
);
25987 if (PyErr_Occurred()) SWIG_fail
;
25990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25991 (arg1
)->SetItemHasChildren((wxTreeItemId
const &)*arg2
,arg3
);
25993 wxPyEndAllowThreads(__tstate
);
25994 if (PyErr_Occurred()) SWIG_fail
;
25996 Py_INCREF(Py_None
); resultobj
= Py_None
;
26003 static PyObject
*_wrap_TreeCtrl_SetItemBold(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26004 PyObject
*resultobj
;
26005 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26006 wxTreeItemId
*arg2
= 0 ;
26007 bool arg3
= (bool) True
;
26008 PyObject
* obj0
= 0 ;
26009 PyObject
* obj1
= 0 ;
26010 PyObject
* obj2
= 0 ;
26011 char *kwnames
[] = {
26012 (char *) "self",(char *) "item",(char *) "bold", NULL
26015 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SetItemBold",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26016 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26017 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26018 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26019 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26021 if (arg2
== NULL
) {
26022 PyErr_SetString(PyExc_TypeError
,"null reference");
26026 arg3
= (bool) SWIG_AsBool(obj2
);
26027 if (PyErr_Occurred()) SWIG_fail
;
26030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26031 (arg1
)->SetItemBold((wxTreeItemId
const &)*arg2
,arg3
);
26033 wxPyEndAllowThreads(__tstate
);
26034 if (PyErr_Occurred()) SWIG_fail
;
26036 Py_INCREF(Py_None
); resultobj
= Py_None
;
26043 static PyObject
*_wrap_TreeCtrl_SetItemTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26044 PyObject
*resultobj
;
26045 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26046 wxTreeItemId
*arg2
= 0 ;
26047 wxColour
*arg3
= 0 ;
26049 PyObject
* obj0
= 0 ;
26050 PyObject
* obj1
= 0 ;
26051 PyObject
* obj2
= 0 ;
26052 char *kwnames
[] = {
26053 (char *) "self",(char *) "item",(char *) "col", NULL
26056 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemTextColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26057 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26058 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26059 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26060 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26062 if (arg2
== NULL
) {
26063 PyErr_SetString(PyExc_TypeError
,"null reference");
26068 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
26071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26072 (arg1
)->SetItemTextColour((wxTreeItemId
const &)*arg2
,(wxColour
const &)*arg3
);
26074 wxPyEndAllowThreads(__tstate
);
26075 if (PyErr_Occurred()) SWIG_fail
;
26077 Py_INCREF(Py_None
); resultobj
= Py_None
;
26084 static PyObject
*_wrap_TreeCtrl_SetItemBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26085 PyObject
*resultobj
;
26086 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26087 wxTreeItemId
*arg2
= 0 ;
26088 wxColour
*arg3
= 0 ;
26090 PyObject
* obj0
= 0 ;
26091 PyObject
* obj1
= 0 ;
26092 PyObject
* obj2
= 0 ;
26093 char *kwnames
[] = {
26094 (char *) "self",(char *) "item",(char *) "col", NULL
26097 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26098 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26099 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26100 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26101 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26103 if (arg2
== NULL
) {
26104 PyErr_SetString(PyExc_TypeError
,"null reference");
26109 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
26112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26113 (arg1
)->SetItemBackgroundColour((wxTreeItemId
const &)*arg2
,(wxColour
const &)*arg3
);
26115 wxPyEndAllowThreads(__tstate
);
26116 if (PyErr_Occurred()) SWIG_fail
;
26118 Py_INCREF(Py_None
); resultobj
= Py_None
;
26125 static PyObject
*_wrap_TreeCtrl_SetItemFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26126 PyObject
*resultobj
;
26127 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26128 wxTreeItemId
*arg2
= 0 ;
26130 PyObject
* obj0
= 0 ;
26131 PyObject
* obj1
= 0 ;
26132 PyObject
* obj2
= 0 ;
26133 char *kwnames
[] = {
26134 (char *) "self",(char *) "item",(char *) "font", NULL
26137 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemFont",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26138 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26139 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26140 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26141 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26143 if (arg2
== NULL
) {
26144 PyErr_SetString(PyExc_TypeError
,"null reference");
26147 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxFont
,
26148 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26150 if (arg3
== NULL
) {
26151 PyErr_SetString(PyExc_TypeError
,"null reference");
26155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26156 (arg1
)->SetItemFont((wxTreeItemId
const &)*arg2
,(wxFont
const &)*arg3
);
26158 wxPyEndAllowThreads(__tstate
);
26159 if (PyErr_Occurred()) SWIG_fail
;
26161 Py_INCREF(Py_None
); resultobj
= Py_None
;
26168 static PyObject
*_wrap_TreeCtrl_IsVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26169 PyObject
*resultobj
;
26170 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26171 wxTreeItemId
*arg2
= 0 ;
26173 PyObject
* obj0
= 0 ;
26174 PyObject
* obj1
= 0 ;
26175 char *kwnames
[] = {
26176 (char *) "self",(char *) "item", NULL
26179 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
26180 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26181 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26182 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26183 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26185 if (arg2
== NULL
) {
26186 PyErr_SetString(PyExc_TypeError
,"null reference");
26190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26191 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsVisible((wxTreeItemId
const &)*arg2
);
26193 wxPyEndAllowThreads(__tstate
);
26194 if (PyErr_Occurred()) SWIG_fail
;
26197 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26205 static PyObject
*_wrap_TreeCtrl_ItemHasChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26206 PyObject
*resultobj
;
26207 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26208 wxTreeItemId
*arg2
= 0 ;
26210 PyObject
* obj0
= 0 ;
26211 PyObject
* obj1
= 0 ;
26212 char *kwnames
[] = {
26213 (char *) "self",(char *) "item", NULL
26216 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ItemHasChildren",kwnames
,&obj0
,&obj1
)) goto fail
;
26217 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26218 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26219 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26220 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26222 if (arg2
== NULL
) {
26223 PyErr_SetString(PyExc_TypeError
,"null reference");
26227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26228 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->ItemHasChildren((wxTreeItemId
const &)*arg2
);
26230 wxPyEndAllowThreads(__tstate
);
26231 if (PyErr_Occurred()) SWIG_fail
;
26234 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26242 static PyObject
*_wrap_TreeCtrl_IsExpanded(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26243 PyObject
*resultobj
;
26244 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26245 wxTreeItemId
*arg2
= 0 ;
26247 PyObject
* obj0
= 0 ;
26248 PyObject
* obj1
= 0 ;
26249 char *kwnames
[] = {
26250 (char *) "self",(char *) "item", NULL
26253 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsExpanded",kwnames
,&obj0
,&obj1
)) goto fail
;
26254 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26255 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26256 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26257 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26259 if (arg2
== NULL
) {
26260 PyErr_SetString(PyExc_TypeError
,"null reference");
26264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26265 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsExpanded((wxTreeItemId
const &)*arg2
);
26267 wxPyEndAllowThreads(__tstate
);
26268 if (PyErr_Occurred()) SWIG_fail
;
26271 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26279 static PyObject
*_wrap_TreeCtrl_IsSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26280 PyObject
*resultobj
;
26281 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26282 wxTreeItemId
*arg2
= 0 ;
26284 PyObject
* obj0
= 0 ;
26285 PyObject
* obj1
= 0 ;
26286 char *kwnames
[] = {
26287 (char *) "self",(char *) "item", NULL
26290 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
26291 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26292 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26293 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26294 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26296 if (arg2
== NULL
) {
26297 PyErr_SetString(PyExc_TypeError
,"null reference");
26301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26302 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsSelected((wxTreeItemId
const &)*arg2
);
26304 wxPyEndAllowThreads(__tstate
);
26305 if (PyErr_Occurred()) SWIG_fail
;
26308 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26316 static PyObject
*_wrap_TreeCtrl_IsBold(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26317 PyObject
*resultobj
;
26318 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26319 wxTreeItemId
*arg2
= 0 ;
26321 PyObject
* obj0
= 0 ;
26322 PyObject
* obj1
= 0 ;
26323 char *kwnames
[] = {
26324 (char *) "self",(char *) "item", NULL
26327 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsBold",kwnames
,&obj0
,&obj1
)) goto fail
;
26328 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26329 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26330 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26331 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26333 if (arg2
== NULL
) {
26334 PyErr_SetString(PyExc_TypeError
,"null reference");
26338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26339 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsBold((wxTreeItemId
const &)*arg2
);
26341 wxPyEndAllowThreads(__tstate
);
26342 if (PyErr_Occurred()) SWIG_fail
;
26345 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26353 static PyObject
*_wrap_TreeCtrl_GetChildrenCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26354 PyObject
*resultobj
;
26355 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26356 wxTreeItemId
*arg2
= 0 ;
26357 bool arg3
= (bool) True
;
26359 PyObject
* obj0
= 0 ;
26360 PyObject
* obj1
= 0 ;
26361 PyObject
* obj2
= 0 ;
26362 char *kwnames
[] = {
26363 (char *) "self",(char *) "item",(char *) "recursively", NULL
26366 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_GetChildrenCount",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26367 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26368 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26369 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26370 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26372 if (arg2
== NULL
) {
26373 PyErr_SetString(PyExc_TypeError
,"null reference");
26377 arg3
= (bool) SWIG_AsBool(obj2
);
26378 if (PyErr_Occurred()) SWIG_fail
;
26381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26382 result
= (size_t)(arg1
)->GetChildrenCount((wxTreeItemId
const &)*arg2
,arg3
);
26384 wxPyEndAllowThreads(__tstate
);
26385 if (PyErr_Occurred()) SWIG_fail
;
26387 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
26394 static PyObject
*_wrap_TreeCtrl_GetRootItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26395 PyObject
*resultobj
;
26396 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26397 wxTreeItemId result
;
26398 PyObject
* obj0
= 0 ;
26399 char *kwnames
[] = {
26400 (char *) "self", NULL
26403 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetRootItem",kwnames
,&obj0
)) goto fail
;
26404 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26405 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26408 result
= ((wxPyTreeCtrl
const *)arg1
)->GetRootItem();
26410 wxPyEndAllowThreads(__tstate
);
26411 if (PyErr_Occurred()) SWIG_fail
;
26414 wxTreeItemId
* resultptr
;
26415 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
26416 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
26424 static PyObject
*_wrap_TreeCtrl_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26425 PyObject
*resultobj
;
26426 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26427 wxTreeItemId result
;
26428 PyObject
* obj0
= 0 ;
26429 char *kwnames
[] = {
26430 (char *) "self", NULL
26433 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetSelection",kwnames
,&obj0
)) goto fail
;
26434 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26435 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26438 result
= ((wxPyTreeCtrl
const *)arg1
)->GetSelection();
26440 wxPyEndAllowThreads(__tstate
);
26441 if (PyErr_Occurred()) SWIG_fail
;
26444 wxTreeItemId
* resultptr
;
26445 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
26446 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
26454 static PyObject
*_wrap_TreeCtrl_GetSelections(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26455 PyObject
*resultobj
;
26456 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26458 PyObject
* obj0
= 0 ;
26459 char *kwnames
[] = {
26460 (char *) "self", NULL
26463 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetSelections",kwnames
,&obj0
)) goto fail
;
26464 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26465 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26468 result
= (PyObject
*)wxPyTreeCtrl_GetSelections(arg1
);
26470 wxPyEndAllowThreads(__tstate
);
26471 if (PyErr_Occurred()) SWIG_fail
;
26473 resultobj
= result
;
26480 static PyObject
*_wrap_TreeCtrl_GetItemParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26481 PyObject
*resultobj
;
26482 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26483 wxTreeItemId
*arg2
= 0 ;
26484 wxTreeItemId result
;
26485 PyObject
* obj0
= 0 ;
26486 PyObject
* obj1
= 0 ;
26487 char *kwnames
[] = {
26488 (char *) "self",(char *) "item", NULL
26491 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemParent",kwnames
,&obj0
,&obj1
)) goto fail
;
26492 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26493 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26494 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26495 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26497 if (arg2
== NULL
) {
26498 PyErr_SetString(PyExc_TypeError
,"null reference");
26502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26503 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemParent((wxTreeItemId
const &)*arg2
);
26505 wxPyEndAllowThreads(__tstate
);
26506 if (PyErr_Occurred()) SWIG_fail
;
26509 wxTreeItemId
* resultptr
;
26510 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
26511 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
26519 static PyObject
*_wrap_TreeCtrl_GetFirstChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26520 PyObject
*resultobj
;
26521 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26522 wxTreeItemId
*arg2
= 0 ;
26524 PyObject
* obj0
= 0 ;
26525 PyObject
* obj1
= 0 ;
26526 char *kwnames
[] = {
26527 (char *) "self",(char *) "item", NULL
26530 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetFirstChild",kwnames
,&obj0
,&obj1
)) goto fail
;
26531 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26532 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26533 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26534 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26536 if (arg2
== NULL
) {
26537 PyErr_SetString(PyExc_TypeError
,"null reference");
26541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26542 result
= (PyObject
*)wxPyTreeCtrl_GetFirstChild(arg1
,(wxTreeItemId
const &)*arg2
);
26544 wxPyEndAllowThreads(__tstate
);
26545 if (PyErr_Occurred()) SWIG_fail
;
26547 resultobj
= result
;
26554 static PyObject
*_wrap_TreeCtrl_GetNextChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26555 PyObject
*resultobj
;
26556 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26557 wxTreeItemId
*arg2
= 0 ;
26558 void *arg3
= (void *) 0 ;
26560 PyObject
* obj0
= 0 ;
26561 PyObject
* obj1
= 0 ;
26562 PyObject
* obj2
= 0 ;
26563 char *kwnames
[] = {
26564 (char *) "self",(char *) "item",(char *) "cookie", NULL
26567 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_GetNextChild",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26568 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26569 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26570 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26571 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26573 if (arg2
== NULL
) {
26574 PyErr_SetString(PyExc_TypeError
,"null reference");
26577 if ((SWIG_ConvertPtr(obj2
,&arg3
,0,SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26580 result
= (PyObject
*)wxPyTreeCtrl_GetNextChild(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
26582 wxPyEndAllowThreads(__tstate
);
26583 if (PyErr_Occurred()) SWIG_fail
;
26585 resultobj
= result
;
26592 static PyObject
*_wrap_TreeCtrl_GetLastChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26593 PyObject
*resultobj
;
26594 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26595 wxTreeItemId
*arg2
= 0 ;
26596 wxTreeItemId result
;
26597 PyObject
* obj0
= 0 ;
26598 PyObject
* obj1
= 0 ;
26599 char *kwnames
[] = {
26600 (char *) "self",(char *) "item", NULL
26603 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetLastChild",kwnames
,&obj0
,&obj1
)) goto fail
;
26604 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26605 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26606 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26607 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26609 if (arg2
== NULL
) {
26610 PyErr_SetString(PyExc_TypeError
,"null reference");
26614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26615 result
= ((wxPyTreeCtrl
const *)arg1
)->GetLastChild((wxTreeItemId
const &)*arg2
);
26617 wxPyEndAllowThreads(__tstate
);
26618 if (PyErr_Occurred()) SWIG_fail
;
26621 wxTreeItemId
* resultptr
;
26622 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
26623 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
26631 static PyObject
*_wrap_TreeCtrl_GetNextSibling(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26632 PyObject
*resultobj
;
26633 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26634 wxTreeItemId
*arg2
= 0 ;
26635 wxTreeItemId result
;
26636 PyObject
* obj0
= 0 ;
26637 PyObject
* obj1
= 0 ;
26638 char *kwnames
[] = {
26639 (char *) "self",(char *) "item", NULL
26642 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetNextSibling",kwnames
,&obj0
,&obj1
)) goto fail
;
26643 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26644 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26645 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26646 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26648 if (arg2
== NULL
) {
26649 PyErr_SetString(PyExc_TypeError
,"null reference");
26653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26654 result
= ((wxPyTreeCtrl
const *)arg1
)->GetNextSibling((wxTreeItemId
const &)*arg2
);
26656 wxPyEndAllowThreads(__tstate
);
26657 if (PyErr_Occurred()) SWIG_fail
;
26660 wxTreeItemId
* resultptr
;
26661 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
26662 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
26670 static PyObject
*_wrap_TreeCtrl_GetPrevSibling(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26671 PyObject
*resultobj
;
26672 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26673 wxTreeItemId
*arg2
= 0 ;
26674 wxTreeItemId result
;
26675 PyObject
* obj0
= 0 ;
26676 PyObject
* obj1
= 0 ;
26677 char *kwnames
[] = {
26678 (char *) "self",(char *) "item", NULL
26681 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetPrevSibling",kwnames
,&obj0
,&obj1
)) goto fail
;
26682 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26683 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26684 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26685 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26687 if (arg2
== NULL
) {
26688 PyErr_SetString(PyExc_TypeError
,"null reference");
26692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26693 result
= ((wxPyTreeCtrl
const *)arg1
)->GetPrevSibling((wxTreeItemId
const &)*arg2
);
26695 wxPyEndAllowThreads(__tstate
);
26696 if (PyErr_Occurred()) SWIG_fail
;
26699 wxTreeItemId
* resultptr
;
26700 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
26701 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
26709 static PyObject
*_wrap_TreeCtrl_GetFirstVisibleItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26710 PyObject
*resultobj
;
26711 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26712 wxTreeItemId result
;
26713 PyObject
* obj0
= 0 ;
26714 char *kwnames
[] = {
26715 (char *) "self", NULL
26718 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetFirstVisibleItem",kwnames
,&obj0
)) goto fail
;
26719 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26720 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26723 result
= ((wxPyTreeCtrl
const *)arg1
)->GetFirstVisibleItem();
26725 wxPyEndAllowThreads(__tstate
);
26726 if (PyErr_Occurred()) SWIG_fail
;
26729 wxTreeItemId
* resultptr
;
26730 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
26731 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
26739 static PyObject
*_wrap_TreeCtrl_GetNextVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26740 PyObject
*resultobj
;
26741 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26742 wxTreeItemId
*arg2
= 0 ;
26743 wxTreeItemId result
;
26744 PyObject
* obj0
= 0 ;
26745 PyObject
* obj1
= 0 ;
26746 char *kwnames
[] = {
26747 (char *) "self",(char *) "item", NULL
26750 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetNextVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
26751 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26752 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26753 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26754 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26756 if (arg2
== NULL
) {
26757 PyErr_SetString(PyExc_TypeError
,"null reference");
26761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26762 result
= ((wxPyTreeCtrl
const *)arg1
)->GetNextVisible((wxTreeItemId
const &)*arg2
);
26764 wxPyEndAllowThreads(__tstate
);
26765 if (PyErr_Occurred()) SWIG_fail
;
26768 wxTreeItemId
* resultptr
;
26769 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
26770 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
26778 static PyObject
*_wrap_TreeCtrl_GetPrevVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26779 PyObject
*resultobj
;
26780 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26781 wxTreeItemId
*arg2
= 0 ;
26782 wxTreeItemId result
;
26783 PyObject
* obj0
= 0 ;
26784 PyObject
* obj1
= 0 ;
26785 char *kwnames
[] = {
26786 (char *) "self",(char *) "item", NULL
26789 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetPrevVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
26790 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26791 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26792 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26793 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26795 if (arg2
== NULL
) {
26796 PyErr_SetString(PyExc_TypeError
,"null reference");
26800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26801 result
= ((wxPyTreeCtrl
const *)arg1
)->GetPrevVisible((wxTreeItemId
const &)*arg2
);
26803 wxPyEndAllowThreads(__tstate
);
26804 if (PyErr_Occurred()) SWIG_fail
;
26807 wxTreeItemId
* resultptr
;
26808 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
26809 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
26817 static PyObject
*_wrap_TreeCtrl_AddRoot(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26818 PyObject
*resultobj
;
26819 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26820 wxString
*arg2
= 0 ;
26821 int arg3
= (int) -1 ;
26822 int arg4
= (int) -1 ;
26823 wxPyTreeItemData
*arg5
= (wxPyTreeItemData
*) NULL
;
26824 wxTreeItemId result
;
26825 bool temp2
= False
;
26826 PyObject
* obj0
= 0 ;
26827 PyObject
* obj1
= 0 ;
26828 PyObject
* obj2
= 0 ;
26829 PyObject
* obj3
= 0 ;
26830 PyObject
* obj4
= 0 ;
26831 char *kwnames
[] = {
26832 (char *) "self",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
26835 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:TreeCtrl_AddRoot",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
26836 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26837 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26839 arg2
= wxString_in_helper(obj1
);
26840 if (arg2
== NULL
) SWIG_fail
;
26844 arg3
= (int) SWIG_AsInt(obj2
);
26845 if (PyErr_Occurred()) SWIG_fail
;
26848 arg4
= (int) SWIG_AsInt(obj3
);
26849 if (PyErr_Occurred()) SWIG_fail
;
26852 if ((SWIG_ConvertPtr(obj4
,(void **)(&arg5
),SWIGTYPE_p_wxPyTreeItemData
,
26853 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26857 result
= (arg1
)->AddRoot((wxString
const &)*arg2
,arg3
,arg4
,arg5
);
26859 wxPyEndAllowThreads(__tstate
);
26860 if (PyErr_Occurred()) SWIG_fail
;
26863 wxTreeItemId
* resultptr
;
26864 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
26865 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
26881 static PyObject
*_wrap_TreeCtrl_PrependItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26882 PyObject
*resultobj
;
26883 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26884 wxTreeItemId
*arg2
= 0 ;
26885 wxString
*arg3
= 0 ;
26886 int arg4
= (int) -1 ;
26887 int arg5
= (int) -1 ;
26888 wxPyTreeItemData
*arg6
= (wxPyTreeItemData
*) NULL
;
26889 wxTreeItemId result
;
26890 bool temp3
= False
;
26891 PyObject
* obj0
= 0 ;
26892 PyObject
* obj1
= 0 ;
26893 PyObject
* obj2
= 0 ;
26894 PyObject
* obj3
= 0 ;
26895 PyObject
* obj4
= 0 ;
26896 PyObject
* obj5
= 0 ;
26897 char *kwnames
[] = {
26898 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
26901 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:TreeCtrl_PrependItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
26902 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26903 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26904 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26905 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26907 if (arg2
== NULL
) {
26908 PyErr_SetString(PyExc_TypeError
,"null reference");
26912 arg3
= wxString_in_helper(obj2
);
26913 if (arg3
== NULL
) SWIG_fail
;
26917 arg4
= (int) SWIG_AsInt(obj3
);
26918 if (PyErr_Occurred()) SWIG_fail
;
26921 arg5
= (int) SWIG_AsInt(obj4
);
26922 if (PyErr_Occurred()) SWIG_fail
;
26925 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxPyTreeItemData
,
26926 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26930 result
= (arg1
)->PrependItem((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
);
26932 wxPyEndAllowThreads(__tstate
);
26933 if (PyErr_Occurred()) SWIG_fail
;
26936 wxTreeItemId
* resultptr
;
26937 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
26938 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
26954 static PyObject
*_wrap_TreeCtrl_InsertItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26955 PyObject
*resultobj
;
26956 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26957 wxTreeItemId
*arg2
= 0 ;
26958 wxTreeItemId
*arg3
= 0 ;
26959 wxString
*arg4
= 0 ;
26960 int arg5
= (int) -1 ;
26961 int arg6
= (int) -1 ;
26962 wxPyTreeItemData
*arg7
= (wxPyTreeItemData
*) NULL
;
26963 wxTreeItemId result
;
26964 bool temp4
= False
;
26965 PyObject
* obj0
= 0 ;
26966 PyObject
* obj1
= 0 ;
26967 PyObject
* obj2
= 0 ;
26968 PyObject
* obj3
= 0 ;
26969 PyObject
* obj4
= 0 ;
26970 PyObject
* obj5
= 0 ;
26971 PyObject
* obj6
= 0 ;
26972 char *kwnames
[] = {
26973 (char *) "self",(char *) "parent",(char *) "idPrevious",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
26976 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:TreeCtrl_InsertItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
26977 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26978 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26979 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26980 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26982 if (arg2
== NULL
) {
26983 PyErr_SetString(PyExc_TypeError
,"null reference");
26986 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxTreeItemId
,
26987 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26989 if (arg3
== NULL
) {
26990 PyErr_SetString(PyExc_TypeError
,"null reference");
26994 arg4
= wxString_in_helper(obj3
);
26995 if (arg4
== NULL
) SWIG_fail
;
26999 arg5
= (int) SWIG_AsInt(obj4
);
27000 if (PyErr_Occurred()) SWIG_fail
;
27003 arg6
= (int) SWIG_AsInt(obj5
);
27004 if (PyErr_Occurred()) SWIG_fail
;
27007 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxPyTreeItemData
,
27008 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27012 result
= (arg1
)->InsertItem((wxTreeItemId
const &)*arg2
,(wxTreeItemId
const &)*arg3
,(wxString
const &)*arg4
,arg5
,arg6
,arg7
);
27014 wxPyEndAllowThreads(__tstate
);
27015 if (PyErr_Occurred()) SWIG_fail
;
27018 wxTreeItemId
* resultptr
;
27019 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
27020 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
27036 static PyObject
*_wrap_TreeCtrl_InsertItemBefore(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27037 PyObject
*resultobj
;
27038 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27039 wxTreeItemId
*arg2
= 0 ;
27041 wxString
*arg4
= 0 ;
27042 int arg5
= (int) -1 ;
27043 int arg6
= (int) -1 ;
27044 wxPyTreeItemData
*arg7
= (wxPyTreeItemData
*) NULL
;
27045 wxTreeItemId result
;
27046 bool temp4
= False
;
27047 PyObject
* obj0
= 0 ;
27048 PyObject
* obj1
= 0 ;
27049 PyObject
* obj2
= 0 ;
27050 PyObject
* obj3
= 0 ;
27051 PyObject
* obj4
= 0 ;
27052 PyObject
* obj5
= 0 ;
27053 PyObject
* obj6
= 0 ;
27054 char *kwnames
[] = {
27055 (char *) "self",(char *) "parent",(char *) "index",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
27058 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:TreeCtrl_InsertItemBefore",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
27059 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27060 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27061 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27062 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27064 if (arg2
== NULL
) {
27065 PyErr_SetString(PyExc_TypeError
,"null reference");
27068 arg3
= (size_t) SWIG_AsUnsignedLong(obj2
);
27069 if (PyErr_Occurred()) SWIG_fail
;
27071 arg4
= wxString_in_helper(obj3
);
27072 if (arg4
== NULL
) SWIG_fail
;
27076 arg5
= (int) SWIG_AsInt(obj4
);
27077 if (PyErr_Occurred()) SWIG_fail
;
27080 arg6
= (int) SWIG_AsInt(obj5
);
27081 if (PyErr_Occurred()) SWIG_fail
;
27084 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxPyTreeItemData
,
27085 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27089 result
= (arg1
)->InsertItem((wxTreeItemId
const &)*arg2
,arg3
,(wxString
const &)*arg4
,arg5
,arg6
,arg7
);
27091 wxPyEndAllowThreads(__tstate
);
27092 if (PyErr_Occurred()) SWIG_fail
;
27095 wxTreeItemId
* resultptr
;
27096 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
27097 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
27113 static PyObject
*_wrap_TreeCtrl_AppendItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27114 PyObject
*resultobj
;
27115 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27116 wxTreeItemId
*arg2
= 0 ;
27117 wxString
*arg3
= 0 ;
27118 int arg4
= (int) -1 ;
27119 int arg5
= (int) -1 ;
27120 wxPyTreeItemData
*arg6
= (wxPyTreeItemData
*) NULL
;
27121 wxTreeItemId result
;
27122 bool temp3
= False
;
27123 PyObject
* obj0
= 0 ;
27124 PyObject
* obj1
= 0 ;
27125 PyObject
* obj2
= 0 ;
27126 PyObject
* obj3
= 0 ;
27127 PyObject
* obj4
= 0 ;
27128 PyObject
* obj5
= 0 ;
27129 char *kwnames
[] = {
27130 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
27133 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:TreeCtrl_AppendItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
27134 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27135 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27136 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27137 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27139 if (arg2
== NULL
) {
27140 PyErr_SetString(PyExc_TypeError
,"null reference");
27144 arg3
= wxString_in_helper(obj2
);
27145 if (arg3
== NULL
) SWIG_fail
;
27149 arg4
= (int) SWIG_AsInt(obj3
);
27150 if (PyErr_Occurred()) SWIG_fail
;
27153 arg5
= (int) SWIG_AsInt(obj4
);
27154 if (PyErr_Occurred()) SWIG_fail
;
27157 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxPyTreeItemData
,
27158 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27162 result
= (arg1
)->AppendItem((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
);
27164 wxPyEndAllowThreads(__tstate
);
27165 if (PyErr_Occurred()) SWIG_fail
;
27168 wxTreeItemId
* resultptr
;
27169 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
27170 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
27186 static PyObject
*_wrap_TreeCtrl_Delete(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27187 PyObject
*resultobj
;
27188 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27189 wxTreeItemId
*arg2
= 0 ;
27190 PyObject
* obj0
= 0 ;
27191 PyObject
* obj1
= 0 ;
27192 char *kwnames
[] = {
27193 (char *) "self",(char *) "item", NULL
27196 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Delete",kwnames
,&obj0
,&obj1
)) goto fail
;
27197 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27198 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27199 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27200 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27202 if (arg2
== NULL
) {
27203 PyErr_SetString(PyExc_TypeError
,"null reference");
27207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27208 (arg1
)->Delete((wxTreeItemId
const &)*arg2
);
27210 wxPyEndAllowThreads(__tstate
);
27211 if (PyErr_Occurred()) SWIG_fail
;
27213 Py_INCREF(Py_None
); resultobj
= Py_None
;
27220 static PyObject
*_wrap_TreeCtrl_DeleteChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27221 PyObject
*resultobj
;
27222 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27223 wxTreeItemId
*arg2
= 0 ;
27224 PyObject
* obj0
= 0 ;
27225 PyObject
* obj1
= 0 ;
27226 char *kwnames
[] = {
27227 (char *) "self",(char *) "item", NULL
27230 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_DeleteChildren",kwnames
,&obj0
,&obj1
)) goto fail
;
27231 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27232 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27233 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27234 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27236 if (arg2
== NULL
) {
27237 PyErr_SetString(PyExc_TypeError
,"null reference");
27241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27242 (arg1
)->DeleteChildren((wxTreeItemId
const &)*arg2
);
27244 wxPyEndAllowThreads(__tstate
);
27245 if (PyErr_Occurred()) SWIG_fail
;
27247 Py_INCREF(Py_None
); resultobj
= Py_None
;
27254 static PyObject
*_wrap_TreeCtrl_DeleteAllItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27255 PyObject
*resultobj
;
27256 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27257 PyObject
* obj0
= 0 ;
27258 char *kwnames
[] = {
27259 (char *) "self", NULL
27262 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_DeleteAllItems",kwnames
,&obj0
)) goto fail
;
27263 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27264 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27267 (arg1
)->DeleteAllItems();
27269 wxPyEndAllowThreads(__tstate
);
27270 if (PyErr_Occurred()) SWIG_fail
;
27272 Py_INCREF(Py_None
); resultobj
= Py_None
;
27279 static PyObject
*_wrap_TreeCtrl_Expand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27280 PyObject
*resultobj
;
27281 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27282 wxTreeItemId
*arg2
= 0 ;
27283 PyObject
* obj0
= 0 ;
27284 PyObject
* obj1
= 0 ;
27285 char *kwnames
[] = {
27286 (char *) "self",(char *) "item", NULL
27289 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Expand",kwnames
,&obj0
,&obj1
)) goto fail
;
27290 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27291 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27292 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27293 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27295 if (arg2
== NULL
) {
27296 PyErr_SetString(PyExc_TypeError
,"null reference");
27300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27301 (arg1
)->Expand((wxTreeItemId
const &)*arg2
);
27303 wxPyEndAllowThreads(__tstate
);
27304 if (PyErr_Occurred()) SWIG_fail
;
27306 Py_INCREF(Py_None
); resultobj
= Py_None
;
27313 static PyObject
*_wrap_TreeCtrl_Collapse(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27314 PyObject
*resultobj
;
27315 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27316 wxTreeItemId
*arg2
= 0 ;
27317 PyObject
* obj0
= 0 ;
27318 PyObject
* obj1
= 0 ;
27319 char *kwnames
[] = {
27320 (char *) "self",(char *) "item", NULL
27323 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Collapse",kwnames
,&obj0
,&obj1
)) goto fail
;
27324 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27325 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27326 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27327 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27329 if (arg2
== NULL
) {
27330 PyErr_SetString(PyExc_TypeError
,"null reference");
27334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27335 (arg1
)->Collapse((wxTreeItemId
const &)*arg2
);
27337 wxPyEndAllowThreads(__tstate
);
27338 if (PyErr_Occurred()) SWIG_fail
;
27340 Py_INCREF(Py_None
); resultobj
= Py_None
;
27347 static PyObject
*_wrap_TreeCtrl_CollapseAndReset(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27348 PyObject
*resultobj
;
27349 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27350 wxTreeItemId
*arg2
= 0 ;
27351 PyObject
* obj0
= 0 ;
27352 PyObject
* obj1
= 0 ;
27353 char *kwnames
[] = {
27354 (char *) "self",(char *) "item", NULL
27357 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_CollapseAndReset",kwnames
,&obj0
,&obj1
)) goto fail
;
27358 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27359 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27360 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27361 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27363 if (arg2
== NULL
) {
27364 PyErr_SetString(PyExc_TypeError
,"null reference");
27368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27369 (arg1
)->CollapseAndReset((wxTreeItemId
const &)*arg2
);
27371 wxPyEndAllowThreads(__tstate
);
27372 if (PyErr_Occurred()) SWIG_fail
;
27374 Py_INCREF(Py_None
); resultobj
= Py_None
;
27381 static PyObject
*_wrap_TreeCtrl_Toggle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27382 PyObject
*resultobj
;
27383 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27384 wxTreeItemId
*arg2
= 0 ;
27385 PyObject
* obj0
= 0 ;
27386 PyObject
* obj1
= 0 ;
27387 char *kwnames
[] = {
27388 (char *) "self",(char *) "item", NULL
27391 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Toggle",kwnames
,&obj0
,&obj1
)) goto fail
;
27392 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27393 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27394 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27395 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27397 if (arg2
== NULL
) {
27398 PyErr_SetString(PyExc_TypeError
,"null reference");
27402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27403 (arg1
)->Toggle((wxTreeItemId
const &)*arg2
);
27405 wxPyEndAllowThreads(__tstate
);
27406 if (PyErr_Occurred()) SWIG_fail
;
27408 Py_INCREF(Py_None
); resultobj
= Py_None
;
27415 static PyObject
*_wrap_TreeCtrl_Unselect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27416 PyObject
*resultobj
;
27417 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27418 PyObject
* obj0
= 0 ;
27419 char *kwnames
[] = {
27420 (char *) "self", NULL
27423 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_Unselect",kwnames
,&obj0
)) goto fail
;
27424 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27425 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27428 (arg1
)->Unselect();
27430 wxPyEndAllowThreads(__tstate
);
27431 if (PyErr_Occurred()) SWIG_fail
;
27433 Py_INCREF(Py_None
); resultobj
= Py_None
;
27440 static PyObject
*_wrap_TreeCtrl_UnselectItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27441 PyObject
*resultobj
;
27442 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27443 wxTreeItemId
*arg2
= 0 ;
27444 PyObject
* obj0
= 0 ;
27445 PyObject
* obj1
= 0 ;
27446 char *kwnames
[] = {
27447 (char *) "self",(char *) "item", NULL
27450 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_UnselectItem",kwnames
,&obj0
,&obj1
)) goto fail
;
27451 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27452 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27453 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27454 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27456 if (arg2
== NULL
) {
27457 PyErr_SetString(PyExc_TypeError
,"null reference");
27461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27462 (arg1
)->UnselectItem((wxTreeItemId
const &)*arg2
);
27464 wxPyEndAllowThreads(__tstate
);
27465 if (PyErr_Occurred()) SWIG_fail
;
27467 Py_INCREF(Py_None
); resultobj
= Py_None
;
27474 static PyObject
*_wrap_TreeCtrl_UnselectAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27475 PyObject
*resultobj
;
27476 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27477 PyObject
* obj0
= 0 ;
27478 char *kwnames
[] = {
27479 (char *) "self", NULL
27482 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_UnselectAll",kwnames
,&obj0
)) goto fail
;
27483 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27484 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27487 (arg1
)->UnselectAll();
27489 wxPyEndAllowThreads(__tstate
);
27490 if (PyErr_Occurred()) SWIG_fail
;
27492 Py_INCREF(Py_None
); resultobj
= Py_None
;
27499 static PyObject
*_wrap_TreeCtrl_SelectItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27500 PyObject
*resultobj
;
27501 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27502 wxTreeItemId
*arg2
= 0 ;
27503 bool arg3
= (bool) True
;
27504 PyObject
* obj0
= 0 ;
27505 PyObject
* obj1
= 0 ;
27506 PyObject
* obj2
= 0 ;
27507 char *kwnames
[] = {
27508 (char *) "self",(char *) "item",(char *) "select", NULL
27511 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SelectItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27512 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27513 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27514 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27515 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27517 if (arg2
== NULL
) {
27518 PyErr_SetString(PyExc_TypeError
,"null reference");
27522 arg3
= (bool) SWIG_AsBool(obj2
);
27523 if (PyErr_Occurred()) SWIG_fail
;
27526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27527 (arg1
)->SelectItem((wxTreeItemId
const &)*arg2
,arg3
);
27529 wxPyEndAllowThreads(__tstate
);
27530 if (PyErr_Occurred()) SWIG_fail
;
27532 Py_INCREF(Py_None
); resultobj
= Py_None
;
27539 static PyObject
*_wrap_TreeCtrl_ToggleItemSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27540 PyObject
*resultobj
;
27541 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27542 wxTreeItemId
*arg2
= 0 ;
27543 PyObject
* obj0
= 0 ;
27544 PyObject
* obj1
= 0 ;
27545 char *kwnames
[] = {
27546 (char *) "self",(char *) "item", NULL
27549 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ToggleItemSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
27550 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27551 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27552 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27553 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27555 if (arg2
== NULL
) {
27556 PyErr_SetString(PyExc_TypeError
,"null reference");
27560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27561 (arg1
)->ToggleItemSelection((wxTreeItemId
const &)*arg2
);
27563 wxPyEndAllowThreads(__tstate
);
27564 if (PyErr_Occurred()) SWIG_fail
;
27566 Py_INCREF(Py_None
); resultobj
= Py_None
;
27573 static PyObject
*_wrap_TreeCtrl_EnsureVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27574 PyObject
*resultobj
;
27575 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27576 wxTreeItemId
*arg2
= 0 ;
27577 PyObject
* obj0
= 0 ;
27578 PyObject
* obj1
= 0 ;
27579 char *kwnames
[] = {
27580 (char *) "self",(char *) "item", NULL
27583 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_EnsureVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
27584 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27585 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27586 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27587 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27589 if (arg2
== NULL
) {
27590 PyErr_SetString(PyExc_TypeError
,"null reference");
27594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27595 (arg1
)->EnsureVisible((wxTreeItemId
const &)*arg2
);
27597 wxPyEndAllowThreads(__tstate
);
27598 if (PyErr_Occurred()) SWIG_fail
;
27600 Py_INCREF(Py_None
); resultobj
= Py_None
;
27607 static PyObject
*_wrap_TreeCtrl_ScrollTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27608 PyObject
*resultobj
;
27609 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27610 wxTreeItemId
*arg2
= 0 ;
27611 PyObject
* obj0
= 0 ;
27612 PyObject
* obj1
= 0 ;
27613 char *kwnames
[] = {
27614 (char *) "self",(char *) "item", NULL
27617 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ScrollTo",kwnames
,&obj0
,&obj1
)) goto fail
;
27618 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27619 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27620 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27621 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27623 if (arg2
== NULL
) {
27624 PyErr_SetString(PyExc_TypeError
,"null reference");
27628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27629 (arg1
)->ScrollTo((wxTreeItemId
const &)*arg2
);
27631 wxPyEndAllowThreads(__tstate
);
27632 if (PyErr_Occurred()) SWIG_fail
;
27634 Py_INCREF(Py_None
); resultobj
= Py_None
;
27641 static PyObject
*_wrap_TreeCtrl_EditLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27642 PyObject
*resultobj
;
27643 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27644 wxTreeItemId
*arg2
= 0 ;
27645 PyObject
* obj0
= 0 ;
27646 PyObject
* obj1
= 0 ;
27647 char *kwnames
[] = {
27648 (char *) "self",(char *) "item", NULL
27651 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_EditLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
27652 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27653 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27654 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27655 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27657 if (arg2
== NULL
) {
27658 PyErr_SetString(PyExc_TypeError
,"null reference");
27662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27663 (arg1
)->EditLabel((wxTreeItemId
const &)*arg2
);
27665 wxPyEndAllowThreads(__tstate
);
27666 if (PyErr_Occurred()) SWIG_fail
;
27668 Py_INCREF(Py_None
); resultobj
= Py_None
;
27675 static PyObject
*_wrap_TreeCtrl_GetEditControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27676 PyObject
*resultobj
;
27677 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27678 wxTextCtrl
*result
;
27679 PyObject
* obj0
= 0 ;
27680 char *kwnames
[] = {
27681 (char *) "self", NULL
27684 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetEditControl",kwnames
,&obj0
)) goto fail
;
27685 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27686 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27689 result
= (wxTextCtrl
*)((wxPyTreeCtrl
const *)arg1
)->GetEditControl();
27691 wxPyEndAllowThreads(__tstate
);
27692 if (PyErr_Occurred()) SWIG_fail
;
27695 resultobj
= wxPyMake_wxObject(result
);
27703 static PyObject
*_wrap_TreeCtrl_SortChildren(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_SortChildren",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
)->SortChildren((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_HitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27738 PyObject
*resultobj
;
27739 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27740 wxPoint
*arg2
= 0 ;
27742 wxTreeItemId result
;
27745 PyObject
* obj0
= 0 ;
27746 PyObject
* obj1
= 0 ;
27747 char *kwnames
[] = {
27748 (char *) "self",(char *) "point", NULL
27752 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
27753 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27754 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27757 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
27760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27761 result
= (arg1
)->HitTest((wxPoint
const &)*arg2
,*arg3
);
27763 wxPyEndAllowThreads(__tstate
);
27764 if (PyErr_Occurred()) SWIG_fail
;
27767 wxTreeItemId
* resultptr
;
27768 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
27769 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
27772 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
27773 resultobj
= t_output_helper(resultobj
,o
);
27781 static PyObject
*_wrap_TreeCtrl_GetBoundingRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27782 PyObject
*resultobj
;
27783 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27784 wxTreeItemId
*arg2
= 0 ;
27785 bool arg3
= (bool) False
;
27787 PyObject
* obj0
= 0 ;
27788 PyObject
* obj1
= 0 ;
27789 PyObject
* obj2
= 0 ;
27790 char *kwnames
[] = {
27791 (char *) "self",(char *) "item",(char *) "textOnly", NULL
27794 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_GetBoundingRect",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27795 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27796 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27797 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27798 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27800 if (arg2
== NULL
) {
27801 PyErr_SetString(PyExc_TypeError
,"null reference");
27805 arg3
= (bool) SWIG_AsBool(obj2
);
27806 if (PyErr_Occurred()) SWIG_fail
;
27809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27810 result
= (PyObject
*)wxPyTreeCtrl_GetBoundingRect(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
27812 wxPyEndAllowThreads(__tstate
);
27813 if (PyErr_Occurred()) SWIG_fail
;
27815 resultobj
= result
;
27822 static PyObject
*_wrap_TreeCtrl_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27823 PyObject
*resultobj
;
27824 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
27825 wxVisualAttributes result
;
27826 PyObject
* obj0
= 0 ;
27827 char *kwnames
[] = {
27828 (char *) "variant", NULL
27831 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:TreeCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
27833 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
27834 if (PyErr_Occurred()) SWIG_fail
;
27837 if (!wxPyCheckForApp()) SWIG_fail
;
27838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27839 result
= wxPyTreeCtrl::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
27841 wxPyEndAllowThreads(__tstate
);
27842 if (PyErr_Occurred()) SWIG_fail
;
27845 wxVisualAttributes
* resultptr
;
27846 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
27847 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
27855 static PyObject
* TreeCtrl_swigregister(PyObject
*self
, PyObject
*args
) {
27857 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27858 SWIG_TypeClientData(SWIGTYPE_p_wxPyTreeCtrl
, obj
);
27860 return Py_BuildValue((char *)"");
27862 static int _wrap_DirDialogDefaultFolderStr_set(PyObject
*_val
) {
27863 PyErr_SetString(PyExc_TypeError
,"Variable DirDialogDefaultFolderStr is read-only.");
27868 static PyObject
*_wrap_DirDialogDefaultFolderStr_get() {
27873 pyobj
= PyUnicode_FromWideChar((&wxPyDirDialogDefaultFolderStr
)->c_str(), (&wxPyDirDialogDefaultFolderStr
)->Len());
27875 pyobj
= PyString_FromStringAndSize((&wxPyDirDialogDefaultFolderStr
)->c_str(), (&wxPyDirDialogDefaultFolderStr
)->Len());
27882 static PyObject
*_wrap_new_GenericDirCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27883 PyObject
*resultobj
;
27884 wxWindow
*arg1
= (wxWindow
*) 0 ;
27885 int arg2
= (int) (int)-1 ;
27886 wxString
const &arg3_defvalue
= wxPyDirDialogDefaultFolderStr
;
27887 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
27888 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
27889 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
27890 wxSize
const &arg5_defvalue
= wxDefaultSize
;
27891 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
27892 long arg6
= (long) wxDIRCTRL_3D_INTERNAL
|wxSUNKEN_BORDER
;
27893 wxString
const &arg7_defvalue
= wxPyEmptyString
;
27894 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
27895 int arg8
= (int) 0 ;
27896 wxString
const &arg9_defvalue
= wxPyTreeCtrlNameStr
;
27897 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
27898 wxGenericDirCtrl
*result
;
27899 bool temp3
= False
;
27902 bool temp7
= False
;
27903 bool temp9
= False
;
27904 PyObject
* obj0
= 0 ;
27905 PyObject
* obj1
= 0 ;
27906 PyObject
* obj2
= 0 ;
27907 PyObject
* obj3
= 0 ;
27908 PyObject
* obj4
= 0 ;
27909 PyObject
* obj5
= 0 ;
27910 PyObject
* obj6
= 0 ;
27911 PyObject
* obj7
= 0 ;
27912 PyObject
* obj8
= 0 ;
27913 char *kwnames
[] = {
27914 (char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
27917 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOO:new_GenericDirCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
27918 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27919 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27921 arg2
= (int const) SWIG_AsInt(obj1
);
27922 if (PyErr_Occurred()) SWIG_fail
;
27926 arg3
= wxString_in_helper(obj2
);
27927 if (arg3
== NULL
) SWIG_fail
;
27934 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
27940 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
27944 arg6
= (long) SWIG_AsLong(obj5
);
27945 if (PyErr_Occurred()) SWIG_fail
;
27949 arg7
= wxString_in_helper(obj6
);
27950 if (arg7
== NULL
) SWIG_fail
;
27955 arg8
= (int) SWIG_AsInt(obj7
);
27956 if (PyErr_Occurred()) SWIG_fail
;
27960 arg9
= wxString_in_helper(obj8
);
27961 if (arg9
== NULL
) SWIG_fail
;
27966 if (!wxPyCheckForApp()) SWIG_fail
;
27967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27968 result
= (wxGenericDirCtrl
*)new wxGenericDirCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
,arg8
,(wxString
const &)*arg9
);
27970 wxPyEndAllowThreads(__tstate
);
27971 if (PyErr_Occurred()) SWIG_fail
;
27973 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDirCtrl
, 1);
28004 static PyObject
*_wrap_new_PreGenericDirCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28005 PyObject
*resultobj
;
28006 wxGenericDirCtrl
*result
;
28007 char *kwnames
[] = {
28011 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreGenericDirCtrl",kwnames
)) goto fail
;
28013 if (!wxPyCheckForApp()) SWIG_fail
;
28014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28015 result
= (wxGenericDirCtrl
*)new wxGenericDirCtrl();
28017 wxPyEndAllowThreads(__tstate
);
28018 if (PyErr_Occurred()) SWIG_fail
;
28020 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDirCtrl
, 1);
28027 static PyObject
*_wrap_GenericDirCtrl_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28028 PyObject
*resultobj
;
28029 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28030 wxWindow
*arg2
= (wxWindow
*) 0 ;
28031 int arg3
= (int) (int)-1 ;
28032 wxString
const &arg4_defvalue
= wxPyDirDialogDefaultFolderStr
;
28033 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
28034 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
28035 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
28036 wxSize
const &arg6_defvalue
= wxDefaultSize
;
28037 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
28038 long arg7
= (long) wxDIRCTRL_3D_INTERNAL
|wxSUNKEN_BORDER
;
28039 wxString
const &arg8_defvalue
= wxPyEmptyString
;
28040 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
28041 int arg9
= (int) 0 ;
28042 wxString
const &arg10_defvalue
= wxPyTreeCtrlNameStr
;
28043 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
28045 bool temp4
= False
;
28048 bool temp8
= False
;
28049 bool temp10
= False
;
28050 PyObject
* obj0
= 0 ;
28051 PyObject
* obj1
= 0 ;
28052 PyObject
* obj2
= 0 ;
28053 PyObject
* obj3
= 0 ;
28054 PyObject
* obj4
= 0 ;
28055 PyObject
* obj5
= 0 ;
28056 PyObject
* obj6
= 0 ;
28057 PyObject
* obj7
= 0 ;
28058 PyObject
* obj8
= 0 ;
28059 PyObject
* obj9
= 0 ;
28060 char *kwnames
[] = {
28061 (char *) "self",(char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
28064 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOO:GenericDirCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
28065 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28066 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28067 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
28068 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28070 arg3
= (int const) SWIG_AsInt(obj2
);
28071 if (PyErr_Occurred()) SWIG_fail
;
28075 arg4
= wxString_in_helper(obj3
);
28076 if (arg4
== NULL
) SWIG_fail
;
28083 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
28089 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
28093 arg7
= (long) SWIG_AsLong(obj6
);
28094 if (PyErr_Occurred()) SWIG_fail
;
28098 arg8
= wxString_in_helper(obj7
);
28099 if (arg8
== NULL
) SWIG_fail
;
28104 arg9
= (int) SWIG_AsInt(obj8
);
28105 if (PyErr_Occurred()) SWIG_fail
;
28109 arg10
= wxString_in_helper(obj9
);
28110 if (arg10
== NULL
) SWIG_fail
;
28115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28116 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
,arg9
,(wxString
const &)*arg10
);
28118 wxPyEndAllowThreads(__tstate
);
28119 if (PyErr_Occurred()) SWIG_fail
;
28122 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28154 static PyObject
*_wrap_GenericDirCtrl_ExpandPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28155 PyObject
*resultobj
;
28156 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28157 wxString
*arg2
= 0 ;
28159 bool temp2
= False
;
28160 PyObject
* obj0
= 0 ;
28161 PyObject
* obj1
= 0 ;
28162 char *kwnames
[] = {
28163 (char *) "self",(char *) "path", NULL
28166 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_ExpandPath",kwnames
,&obj0
,&obj1
)) goto fail
;
28167 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28168 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28170 arg2
= wxString_in_helper(obj1
);
28171 if (arg2
== NULL
) SWIG_fail
;
28175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28176 result
= (bool)(arg1
)->ExpandPath((wxString
const &)*arg2
);
28178 wxPyEndAllowThreads(__tstate
);
28179 if (PyErr_Occurred()) SWIG_fail
;
28182 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28198 static PyObject
*_wrap_GenericDirCtrl_GetDefaultPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28199 PyObject
*resultobj
;
28200 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28202 PyObject
* obj0
= 0 ;
28203 char *kwnames
[] = {
28204 (char *) "self", NULL
28207 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetDefaultPath",kwnames
,&obj0
)) goto fail
;
28208 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28209 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28212 result
= ((wxGenericDirCtrl
const *)arg1
)->GetDefaultPath();
28214 wxPyEndAllowThreads(__tstate
);
28215 if (PyErr_Occurred()) SWIG_fail
;
28219 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
28221 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
28230 static PyObject
*_wrap_GenericDirCtrl_SetDefaultPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28231 PyObject
*resultobj
;
28232 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28233 wxString
*arg2
= 0 ;
28234 bool temp2
= False
;
28235 PyObject
* obj0
= 0 ;
28236 PyObject
* obj1
= 0 ;
28237 char *kwnames
[] = {
28238 (char *) "self",(char *) "path", NULL
28241 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetDefaultPath",kwnames
,&obj0
,&obj1
)) goto fail
;
28242 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28243 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28245 arg2
= wxString_in_helper(obj1
);
28246 if (arg2
== NULL
) SWIG_fail
;
28250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28251 (arg1
)->SetDefaultPath((wxString
const &)*arg2
);
28253 wxPyEndAllowThreads(__tstate
);
28254 if (PyErr_Occurred()) SWIG_fail
;
28256 Py_INCREF(Py_None
); resultobj
= Py_None
;
28271 static PyObject
*_wrap_GenericDirCtrl_GetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28272 PyObject
*resultobj
;
28273 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28275 PyObject
* obj0
= 0 ;
28276 char *kwnames
[] = {
28277 (char *) "self", NULL
28280 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetPath",kwnames
,&obj0
)) goto fail
;
28281 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28282 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28285 result
= ((wxGenericDirCtrl
const *)arg1
)->GetPath();
28287 wxPyEndAllowThreads(__tstate
);
28288 if (PyErr_Occurred()) SWIG_fail
;
28292 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
28294 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
28303 static PyObject
*_wrap_GenericDirCtrl_GetFilePath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28304 PyObject
*resultobj
;
28305 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28307 PyObject
* obj0
= 0 ;
28308 char *kwnames
[] = {
28309 (char *) "self", NULL
28312 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetFilePath",kwnames
,&obj0
)) goto fail
;
28313 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28314 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28317 result
= ((wxGenericDirCtrl
const *)arg1
)->GetFilePath();
28319 wxPyEndAllowThreads(__tstate
);
28320 if (PyErr_Occurred()) SWIG_fail
;
28324 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
28326 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
28335 static PyObject
*_wrap_GenericDirCtrl_SetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28336 PyObject
*resultobj
;
28337 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28338 wxString
*arg2
= 0 ;
28339 bool temp2
= False
;
28340 PyObject
* obj0
= 0 ;
28341 PyObject
* obj1
= 0 ;
28342 char *kwnames
[] = {
28343 (char *) "self",(char *) "path", NULL
28346 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetPath",kwnames
,&obj0
,&obj1
)) goto fail
;
28347 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28348 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28350 arg2
= wxString_in_helper(obj1
);
28351 if (arg2
== NULL
) SWIG_fail
;
28355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28356 (arg1
)->SetPath((wxString
const &)*arg2
);
28358 wxPyEndAllowThreads(__tstate
);
28359 if (PyErr_Occurred()) SWIG_fail
;
28361 Py_INCREF(Py_None
); resultobj
= Py_None
;
28376 static PyObject
*_wrap_GenericDirCtrl_ShowHidden(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28377 PyObject
*resultobj
;
28378 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28380 PyObject
* obj0
= 0 ;
28381 PyObject
* obj1
= 0 ;
28382 char *kwnames
[] = {
28383 (char *) "self",(char *) "show", NULL
28386 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_ShowHidden",kwnames
,&obj0
,&obj1
)) goto fail
;
28387 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28388 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28389 arg2
= (bool) SWIG_AsBool(obj1
);
28390 if (PyErr_Occurred()) SWIG_fail
;
28392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28393 (arg1
)->ShowHidden(arg2
);
28395 wxPyEndAllowThreads(__tstate
);
28396 if (PyErr_Occurred()) SWIG_fail
;
28398 Py_INCREF(Py_None
); resultobj
= Py_None
;
28405 static PyObject
*_wrap_GenericDirCtrl_GetShowHidden(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28406 PyObject
*resultobj
;
28407 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28409 PyObject
* obj0
= 0 ;
28410 char *kwnames
[] = {
28411 (char *) "self", NULL
28414 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetShowHidden",kwnames
,&obj0
)) goto fail
;
28415 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28416 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28419 result
= (bool)(arg1
)->GetShowHidden();
28421 wxPyEndAllowThreads(__tstate
);
28422 if (PyErr_Occurred()) SWIG_fail
;
28425 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28433 static PyObject
*_wrap_GenericDirCtrl_GetFilter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28434 PyObject
*resultobj
;
28435 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28437 PyObject
* obj0
= 0 ;
28438 char *kwnames
[] = {
28439 (char *) "self", NULL
28442 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetFilter",kwnames
,&obj0
)) goto fail
;
28443 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28444 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28447 result
= ((wxGenericDirCtrl
const *)arg1
)->GetFilter();
28449 wxPyEndAllowThreads(__tstate
);
28450 if (PyErr_Occurred()) SWIG_fail
;
28454 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
28456 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
28465 static PyObject
*_wrap_GenericDirCtrl_SetFilter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28466 PyObject
*resultobj
;
28467 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28468 wxString
*arg2
= 0 ;
28469 bool temp2
= False
;
28470 PyObject
* obj0
= 0 ;
28471 PyObject
* obj1
= 0 ;
28472 char *kwnames
[] = {
28473 (char *) "self",(char *) "filter", NULL
28476 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetFilter",kwnames
,&obj0
,&obj1
)) goto fail
;
28477 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28478 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28480 arg2
= wxString_in_helper(obj1
);
28481 if (arg2
== NULL
) SWIG_fail
;
28485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28486 (arg1
)->SetFilter((wxString
const &)*arg2
);
28488 wxPyEndAllowThreads(__tstate
);
28489 if (PyErr_Occurred()) SWIG_fail
;
28491 Py_INCREF(Py_None
); resultobj
= Py_None
;
28506 static PyObject
*_wrap_GenericDirCtrl_GetFilterIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28507 PyObject
*resultobj
;
28508 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28510 PyObject
* obj0
= 0 ;
28511 char *kwnames
[] = {
28512 (char *) "self", NULL
28515 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetFilterIndex",kwnames
,&obj0
)) goto fail
;
28516 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28517 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28520 result
= (int)((wxGenericDirCtrl
const *)arg1
)->GetFilterIndex();
28522 wxPyEndAllowThreads(__tstate
);
28523 if (PyErr_Occurred()) SWIG_fail
;
28525 resultobj
= SWIG_FromInt((int)result
);
28532 static PyObject
*_wrap_GenericDirCtrl_SetFilterIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28533 PyObject
*resultobj
;
28534 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28536 PyObject
* obj0
= 0 ;
28537 PyObject
* obj1
= 0 ;
28538 char *kwnames
[] = {
28539 (char *) "self",(char *) "n", NULL
28542 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetFilterIndex",kwnames
,&obj0
,&obj1
)) goto fail
;
28543 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28544 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28545 arg2
= (int) SWIG_AsInt(obj1
);
28546 if (PyErr_Occurred()) SWIG_fail
;
28548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28549 (arg1
)->SetFilterIndex(arg2
);
28551 wxPyEndAllowThreads(__tstate
);
28552 if (PyErr_Occurred()) SWIG_fail
;
28554 Py_INCREF(Py_None
); resultobj
= Py_None
;
28561 static PyObject
*_wrap_GenericDirCtrl_GetRootId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28562 PyObject
*resultobj
;
28563 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28564 wxTreeItemId result
;
28565 PyObject
* obj0
= 0 ;
28566 char *kwnames
[] = {
28567 (char *) "self", NULL
28570 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetRootId",kwnames
,&obj0
)) goto fail
;
28571 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28572 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28575 result
= (arg1
)->GetRootId();
28577 wxPyEndAllowThreads(__tstate
);
28578 if (PyErr_Occurred()) SWIG_fail
;
28581 wxTreeItemId
* resultptr
;
28582 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
28583 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
28591 static PyObject
*_wrap_GenericDirCtrl_GetTreeCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28592 PyObject
*resultobj
;
28593 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28594 wxPyTreeCtrl
*result
;
28595 PyObject
* obj0
= 0 ;
28596 char *kwnames
[] = {
28597 (char *) "self", NULL
28600 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetTreeCtrl",kwnames
,&obj0
)) goto fail
;
28601 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28602 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28605 result
= (wxPyTreeCtrl
*)((wxGenericDirCtrl
const *)arg1
)->GetTreeCtrl();
28607 wxPyEndAllowThreads(__tstate
);
28608 if (PyErr_Occurred()) SWIG_fail
;
28611 resultobj
= wxPyMake_wxObject(result
);
28619 static PyObject
*_wrap_GenericDirCtrl_GetFilterListCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28620 PyObject
*resultobj
;
28621 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28622 wxDirFilterListCtrl
*result
;
28623 PyObject
* obj0
= 0 ;
28624 char *kwnames
[] = {
28625 (char *) "self", NULL
28628 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetFilterListCtrl",kwnames
,&obj0
)) goto fail
;
28629 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28630 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28633 result
= (wxDirFilterListCtrl
*)((wxGenericDirCtrl
const *)arg1
)->GetFilterListCtrl();
28635 wxPyEndAllowThreads(__tstate
);
28636 if (PyErr_Occurred()) SWIG_fail
;
28638 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDirFilterListCtrl
, 0);
28645 static PyObject
*_wrap_GenericDirCtrl_FindChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28646 PyObject
*resultobj
;
28647 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28648 wxTreeItemId arg2
;
28649 wxString
*arg3
= 0 ;
28651 wxTreeItemId result
;
28652 wxTreeItemId
*argp2
;
28653 bool temp3
= False
;
28655 PyObject
* obj0
= 0 ;
28656 PyObject
* obj1
= 0 ;
28657 PyObject
* obj2
= 0 ;
28658 char *kwnames
[] = {
28659 (char *) "self",(char *) "parentId",(char *) "path", NULL
28663 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GenericDirCtrl_FindChild",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28664 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28665 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28666 if ((SWIG_ConvertPtr(obj1
,(void **)(&argp2
),SWIGTYPE_p_wxTreeItemId
,
28667 SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
28670 arg3
= wxString_in_helper(obj2
);
28671 if (arg3
== NULL
) SWIG_fail
;
28675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28676 result
= (arg1
)->FindChild(arg2
,(wxString
const &)*arg3
,*arg4
);
28678 wxPyEndAllowThreads(__tstate
);
28679 if (PyErr_Occurred()) SWIG_fail
;
28682 wxTreeItemId
* resultptr
;
28683 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
28684 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
28687 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
28688 resultobj
= t_output_helper(resultobj
,o
);
28704 static PyObject
*_wrap_GenericDirCtrl_DoResize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28705 PyObject
*resultobj
;
28706 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28707 PyObject
* obj0
= 0 ;
28708 char *kwnames
[] = {
28709 (char *) "self", NULL
28712 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_DoResize",kwnames
,&obj0
)) goto fail
;
28713 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28714 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28717 (arg1
)->DoResize();
28719 wxPyEndAllowThreads(__tstate
);
28720 if (PyErr_Occurred()) SWIG_fail
;
28722 Py_INCREF(Py_None
); resultobj
= Py_None
;
28729 static PyObject
*_wrap_GenericDirCtrl_ReCreateTree(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28730 PyObject
*resultobj
;
28731 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28732 PyObject
* obj0
= 0 ;
28733 char *kwnames
[] = {
28734 (char *) "self", NULL
28737 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_ReCreateTree",kwnames
,&obj0
)) goto fail
;
28738 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28739 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28742 (arg1
)->ReCreateTree();
28744 wxPyEndAllowThreads(__tstate
);
28745 if (PyErr_Occurred()) SWIG_fail
;
28747 Py_INCREF(Py_None
); resultobj
= Py_None
;
28754 static PyObject
* GenericDirCtrl_swigregister(PyObject
*self
, PyObject
*args
) {
28756 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28757 SWIG_TypeClientData(SWIGTYPE_p_wxGenericDirCtrl
, obj
);
28759 return Py_BuildValue((char *)"");
28761 static PyObject
*_wrap_new_DirFilterListCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28762 PyObject
*resultobj
;
28763 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28764 int arg2
= (int) (int)-1 ;
28765 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
28766 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
28767 wxSize
const &arg4_defvalue
= wxDefaultSize
;
28768 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
28769 long arg5
= (long) 0 ;
28770 wxDirFilterListCtrl
*result
;
28773 PyObject
* obj0
= 0 ;
28774 PyObject
* obj1
= 0 ;
28775 PyObject
* obj2
= 0 ;
28776 PyObject
* obj3
= 0 ;
28777 PyObject
* obj4
= 0 ;
28778 char *kwnames
[] = {
28779 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
28782 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:new_DirFilterListCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
28783 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28784 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28786 arg2
= (int const) SWIG_AsInt(obj1
);
28787 if (PyErr_Occurred()) SWIG_fail
;
28792 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
28798 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
28802 arg5
= (long) SWIG_AsLong(obj4
);
28803 if (PyErr_Occurred()) SWIG_fail
;
28806 if (!wxPyCheckForApp()) SWIG_fail
;
28807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28808 result
= (wxDirFilterListCtrl
*)new wxDirFilterListCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
);
28810 wxPyEndAllowThreads(__tstate
);
28811 if (PyErr_Occurred()) SWIG_fail
;
28813 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDirFilterListCtrl
, 1);
28820 static PyObject
*_wrap_new_PreDirFilterListCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28821 PyObject
*resultobj
;
28822 wxDirFilterListCtrl
*result
;
28823 char *kwnames
[] = {
28827 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreDirFilterListCtrl",kwnames
)) goto fail
;
28829 if (!wxPyCheckForApp()) SWIG_fail
;
28830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28831 result
= (wxDirFilterListCtrl
*)new wxDirFilterListCtrl();
28833 wxPyEndAllowThreads(__tstate
);
28834 if (PyErr_Occurred()) SWIG_fail
;
28836 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDirFilterListCtrl
, 1);
28843 static PyObject
*_wrap_DirFilterListCtrl_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28844 PyObject
*resultobj
;
28845 wxDirFilterListCtrl
*arg1
= (wxDirFilterListCtrl
*) 0 ;
28846 wxGenericDirCtrl
*arg2
= (wxGenericDirCtrl
*) 0 ;
28847 int arg3
= (int) (int)-1 ;
28848 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
28849 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
28850 wxSize
const &arg5_defvalue
= wxDefaultSize
;
28851 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
28852 long arg6
= (long) 0 ;
28856 PyObject
* obj0
= 0 ;
28857 PyObject
* obj1
= 0 ;
28858 PyObject
* obj2
= 0 ;
28859 PyObject
* obj3
= 0 ;
28860 PyObject
* obj4
= 0 ;
28861 PyObject
* obj5
= 0 ;
28862 char *kwnames
[] = {
28863 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
28866 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:DirFilterListCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
28867 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDirFilterListCtrl
,
28868 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28869 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxGenericDirCtrl
,
28870 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28872 arg3
= (int const) SWIG_AsInt(obj2
);
28873 if (PyErr_Occurred()) SWIG_fail
;
28878 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
28884 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
28888 arg6
= (long) SWIG_AsLong(obj5
);
28889 if (PyErr_Occurred()) SWIG_fail
;
28892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28893 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
);
28895 wxPyEndAllowThreads(__tstate
);
28896 if (PyErr_Occurred()) SWIG_fail
;
28899 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28907 static PyObject
*_wrap_DirFilterListCtrl_FillFilterList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28908 PyObject
*resultobj
;
28909 wxDirFilterListCtrl
*arg1
= (wxDirFilterListCtrl
*) 0 ;
28910 wxString
*arg2
= 0 ;
28912 bool temp2
= False
;
28913 PyObject
* obj0
= 0 ;
28914 PyObject
* obj1
= 0 ;
28915 PyObject
* obj2
= 0 ;
28916 char *kwnames
[] = {
28917 (char *) "self",(char *) "filter",(char *) "defaultFilter", NULL
28920 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DirFilterListCtrl_FillFilterList",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28921 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDirFilterListCtrl
,
28922 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28924 arg2
= wxString_in_helper(obj1
);
28925 if (arg2
== NULL
) SWIG_fail
;
28928 arg3
= (int) SWIG_AsInt(obj2
);
28929 if (PyErr_Occurred()) SWIG_fail
;
28931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28932 (arg1
)->FillFilterList((wxString
const &)*arg2
,arg3
);
28934 wxPyEndAllowThreads(__tstate
);
28935 if (PyErr_Occurred()) SWIG_fail
;
28937 Py_INCREF(Py_None
); resultobj
= Py_None
;
28952 static PyObject
* DirFilterListCtrl_swigregister(PyObject
*self
, PyObject
*args
) {
28954 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28955 SWIG_TypeClientData(SWIGTYPE_p_wxDirFilterListCtrl
, obj
);
28957 return Py_BuildValue((char *)"");
28959 static PyObject
*_wrap_new_PyControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28960 PyObject
*resultobj
;
28961 wxWindow
*arg1
= (wxWindow
*) 0 ;
28962 int arg2
= (int) (int)-1 ;
28963 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
28964 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
28965 wxSize
const &arg4_defvalue
= wxDefaultSize
;
28966 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
28967 long arg5
= (long) 0 ;
28968 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
28969 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
28970 wxString
const &arg7_defvalue
= wxPyControlNameStr
;
28971 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
28972 wxPyControl
*result
;
28975 bool temp7
= False
;
28976 PyObject
* obj0
= 0 ;
28977 PyObject
* obj1
= 0 ;
28978 PyObject
* obj2
= 0 ;
28979 PyObject
* obj3
= 0 ;
28980 PyObject
* obj4
= 0 ;
28981 PyObject
* obj5
= 0 ;
28982 PyObject
* obj6
= 0 ;
28983 char *kwnames
[] = {
28984 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
28987 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_PyControl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
28988 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28989 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28991 arg2
= (int const) SWIG_AsInt(obj1
);
28992 if (PyErr_Occurred()) SWIG_fail
;
28997 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
29003 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
29007 arg5
= (long) SWIG_AsLong(obj4
);
29008 if (PyErr_Occurred()) SWIG_fail
;
29011 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxValidator
,
29012 SWIG_POINTER_EXCEPTION
| 0)) == -1)
29014 if (arg6
== NULL
) {
29015 PyErr_SetString(PyExc_TypeError
,"null reference");
29021 arg7
= wxString_in_helper(obj6
);
29022 if (arg7
== NULL
) SWIG_fail
;
29027 if (!wxPyCheckForApp()) SWIG_fail
;
29028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29029 result
= (wxPyControl
*)new wxPyControl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
29031 wxPyEndAllowThreads(__tstate
);
29032 if (PyErr_Occurred()) SWIG_fail
;
29034 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyControl
, 1);
29049 static PyObject
*_wrap_new_PrePyControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29050 PyObject
*resultobj
;
29051 wxPyControl
*result
;
29052 char *kwnames
[] = {
29056 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePyControl",kwnames
)) goto fail
;
29058 if (!wxPyCheckForApp()) SWIG_fail
;
29059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29060 result
= (wxPyControl
*)new wxPyControl();
29062 wxPyEndAllowThreads(__tstate
);
29063 if (PyErr_Occurred()) SWIG_fail
;
29065 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyControl
, 1);
29072 static PyObject
*_wrap_PyControl__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29073 PyObject
*resultobj
;
29074 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29075 PyObject
*arg2
= (PyObject
*) 0 ;
29076 PyObject
*arg3
= (PyObject
*) 0 ;
29077 PyObject
* obj0
= 0 ;
29078 PyObject
* obj1
= 0 ;
29079 PyObject
* obj2
= 0 ;
29080 char *kwnames
[] = {
29081 (char *) "self",(char *) "self",(char *) "_class", NULL
29084 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29085 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29086 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29091 (arg1
)->_setCallbackInfo(arg2
,arg3
);
29093 wxPyEndAllowThreads(__tstate
);
29094 if (PyErr_Occurred()) SWIG_fail
;
29096 Py_INCREF(Py_None
); resultobj
= Py_None
;
29103 static PyObject
*_wrap_PyControl_SetBestSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29104 PyObject
*resultobj
;
29105 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29108 PyObject
* obj0
= 0 ;
29109 PyObject
* obj1
= 0 ;
29110 char *kwnames
[] = {
29111 (char *) "self",(char *) "size", NULL
29114 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControl_SetBestSize",kwnames
,&obj0
,&obj1
)) goto fail
;
29115 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29116 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29119 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
29122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29123 (arg1
)->SetBestSize((wxSize
const &)*arg2
);
29125 wxPyEndAllowThreads(__tstate
);
29126 if (PyErr_Occurred()) SWIG_fail
;
29128 Py_INCREF(Py_None
); resultobj
= Py_None
;
29135 static PyObject
*_wrap_PyControl_base_DoMoveWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29136 PyObject
*resultobj
;
29137 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29142 PyObject
* obj0
= 0 ;
29143 PyObject
* obj1
= 0 ;
29144 PyObject
* obj2
= 0 ;
29145 PyObject
* obj3
= 0 ;
29146 PyObject
* obj4
= 0 ;
29147 char *kwnames
[] = {
29148 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
29151 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyControl_base_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
29152 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29153 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29154 arg2
= (int) SWIG_AsInt(obj1
);
29155 if (PyErr_Occurred()) SWIG_fail
;
29156 arg3
= (int) SWIG_AsInt(obj2
);
29157 if (PyErr_Occurred()) SWIG_fail
;
29158 arg4
= (int) SWIG_AsInt(obj3
);
29159 if (PyErr_Occurred()) SWIG_fail
;
29160 arg5
= (int) SWIG_AsInt(obj4
);
29161 if (PyErr_Occurred()) SWIG_fail
;
29163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29164 (arg1
)->base_DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
29166 wxPyEndAllowThreads(__tstate
);
29167 if (PyErr_Occurred()) SWIG_fail
;
29169 Py_INCREF(Py_None
); resultobj
= Py_None
;
29176 static PyObject
*_wrap_PyControl_base_DoSetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29177 PyObject
*resultobj
;
29178 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29183 int arg6
= (int) wxSIZE_AUTO
;
29184 PyObject
* obj0
= 0 ;
29185 PyObject
* obj1
= 0 ;
29186 PyObject
* obj2
= 0 ;
29187 PyObject
* obj3
= 0 ;
29188 PyObject
* obj4
= 0 ;
29189 PyObject
* obj5
= 0 ;
29190 char *kwnames
[] = {
29191 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
29194 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyControl_base_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
29195 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29196 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29197 arg2
= (int) SWIG_AsInt(obj1
);
29198 if (PyErr_Occurred()) SWIG_fail
;
29199 arg3
= (int) SWIG_AsInt(obj2
);
29200 if (PyErr_Occurred()) SWIG_fail
;
29201 arg4
= (int) SWIG_AsInt(obj3
);
29202 if (PyErr_Occurred()) SWIG_fail
;
29203 arg5
= (int) SWIG_AsInt(obj4
);
29204 if (PyErr_Occurred()) SWIG_fail
;
29206 arg6
= (int) SWIG_AsInt(obj5
);
29207 if (PyErr_Occurred()) SWIG_fail
;
29210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29211 (arg1
)->base_DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
29213 wxPyEndAllowThreads(__tstate
);
29214 if (PyErr_Occurred()) SWIG_fail
;
29216 Py_INCREF(Py_None
); resultobj
= Py_None
;
29223 static PyObject
*_wrap_PyControl_base_DoSetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29224 PyObject
*resultobj
;
29225 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29228 PyObject
* obj0
= 0 ;
29229 PyObject
* obj1
= 0 ;
29230 PyObject
* obj2
= 0 ;
29231 char *kwnames
[] = {
29232 (char *) "self",(char *) "width",(char *) "height", NULL
29235 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControl_base_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29236 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29237 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29238 arg2
= (int) SWIG_AsInt(obj1
);
29239 if (PyErr_Occurred()) SWIG_fail
;
29240 arg3
= (int) SWIG_AsInt(obj2
);
29241 if (PyErr_Occurred()) SWIG_fail
;
29243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29244 (arg1
)->base_DoSetClientSize(arg2
,arg3
);
29246 wxPyEndAllowThreads(__tstate
);
29247 if (PyErr_Occurred()) SWIG_fail
;
29249 Py_INCREF(Py_None
); resultobj
= Py_None
;
29256 static PyObject
*_wrap_PyControl_base_DoSetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29257 PyObject
*resultobj
;
29258 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29261 PyObject
* obj0
= 0 ;
29262 PyObject
* obj1
= 0 ;
29263 PyObject
* obj2
= 0 ;
29264 char *kwnames
[] = {
29265 (char *) "self",(char *) "x",(char *) "y", NULL
29268 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControl_base_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29269 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29270 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29271 arg2
= (int) SWIG_AsInt(obj1
);
29272 if (PyErr_Occurred()) SWIG_fail
;
29273 arg3
= (int) SWIG_AsInt(obj2
);
29274 if (PyErr_Occurred()) SWIG_fail
;
29276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29277 (arg1
)->base_DoSetVirtualSize(arg2
,arg3
);
29279 wxPyEndAllowThreads(__tstate
);
29280 if (PyErr_Occurred()) SWIG_fail
;
29282 Py_INCREF(Py_None
); resultobj
= Py_None
;
29289 static PyObject
*_wrap_PyControl_base_DoGetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29290 PyObject
*resultobj
;
29291 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29292 int *arg2
= (int *) 0 ;
29293 int *arg3
= (int *) 0 ;
29296 PyObject
* obj0
= 0 ;
29297 char *kwnames
[] = {
29298 (char *) "self", NULL
29303 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetSize",kwnames
,&obj0
)) goto fail
;
29304 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29305 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29308 ((wxPyControl
const *)arg1
)->base_DoGetSize(arg2
,arg3
);
29310 wxPyEndAllowThreads(__tstate
);
29311 if (PyErr_Occurred()) SWIG_fail
;
29313 Py_INCREF(Py_None
); resultobj
= Py_None
;
29315 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
29316 resultobj
= t_output_helper(resultobj
,o
);
29319 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
29320 resultobj
= t_output_helper(resultobj
,o
);
29328 static PyObject
*_wrap_PyControl_base_DoGetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29329 PyObject
*resultobj
;
29330 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29331 int *arg2
= (int *) 0 ;
29332 int *arg3
= (int *) 0 ;
29335 PyObject
* obj0
= 0 ;
29336 char *kwnames
[] = {
29337 (char *) "self", NULL
29342 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetClientSize",kwnames
,&obj0
)) goto fail
;
29343 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29344 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29347 ((wxPyControl
const *)arg1
)->base_DoGetClientSize(arg2
,arg3
);
29349 wxPyEndAllowThreads(__tstate
);
29350 if (PyErr_Occurred()) SWIG_fail
;
29352 Py_INCREF(Py_None
); resultobj
= Py_None
;
29354 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
29355 resultobj
= t_output_helper(resultobj
,o
);
29358 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
29359 resultobj
= t_output_helper(resultobj
,o
);
29367 static PyObject
*_wrap_PyControl_base_DoGetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29368 PyObject
*resultobj
;
29369 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29370 int *arg2
= (int *) 0 ;
29371 int *arg3
= (int *) 0 ;
29374 PyObject
* obj0
= 0 ;
29375 char *kwnames
[] = {
29376 (char *) "self", NULL
29381 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetPosition",kwnames
,&obj0
)) goto fail
;
29382 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29383 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29386 ((wxPyControl
const *)arg1
)->base_DoGetPosition(arg2
,arg3
);
29388 wxPyEndAllowThreads(__tstate
);
29389 if (PyErr_Occurred()) SWIG_fail
;
29391 Py_INCREF(Py_None
); resultobj
= Py_None
;
29393 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
29394 resultobj
= t_output_helper(resultobj
,o
);
29397 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
29398 resultobj
= t_output_helper(resultobj
,o
);
29406 static PyObject
*_wrap_PyControl_base_DoGetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29407 PyObject
*resultobj
;
29408 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29410 PyObject
* obj0
= 0 ;
29411 char *kwnames
[] = {
29412 (char *) "self", NULL
29415 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetVirtualSize",kwnames
,&obj0
)) goto fail
;
29416 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29417 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29420 result
= ((wxPyControl
const *)arg1
)->base_DoGetVirtualSize();
29422 wxPyEndAllowThreads(__tstate
);
29423 if (PyErr_Occurred()) SWIG_fail
;
29426 wxSize
* resultptr
;
29427 resultptr
= new wxSize((wxSize
&) result
);
29428 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
29436 static PyObject
*_wrap_PyControl_base_DoGetBestSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29437 PyObject
*resultobj
;
29438 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29440 PyObject
* obj0
= 0 ;
29441 char *kwnames
[] = {
29442 (char *) "self", NULL
29445 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetBestSize",kwnames
,&obj0
)) goto fail
;
29446 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29447 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29450 result
= ((wxPyControl
const *)arg1
)->base_DoGetBestSize();
29452 wxPyEndAllowThreads(__tstate
);
29453 if (PyErr_Occurred()) SWIG_fail
;
29456 wxSize
* resultptr
;
29457 resultptr
= new wxSize((wxSize
&) result
);
29458 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
29466 static PyObject
*_wrap_PyControl_base_InitDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29467 PyObject
*resultobj
;
29468 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29469 PyObject
* obj0
= 0 ;
29470 char *kwnames
[] = {
29471 (char *) "self", NULL
29474 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_InitDialog",kwnames
,&obj0
)) goto fail
;
29475 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29476 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29479 (arg1
)->base_InitDialog();
29481 wxPyEndAllowThreads(__tstate
);
29482 if (PyErr_Occurred()) SWIG_fail
;
29484 Py_INCREF(Py_None
); resultobj
= Py_None
;
29491 static PyObject
*_wrap_PyControl_base_TransferDataToWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29492 PyObject
*resultobj
;
29493 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29495 PyObject
* obj0
= 0 ;
29496 char *kwnames
[] = {
29497 (char *) "self", NULL
29500 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_TransferDataToWindow",kwnames
,&obj0
)) goto fail
;
29501 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29502 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29505 result
= (bool)(arg1
)->base_TransferDataToWindow();
29507 wxPyEndAllowThreads(__tstate
);
29508 if (PyErr_Occurred()) SWIG_fail
;
29511 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29519 static PyObject
*_wrap_PyControl_base_TransferDataFromWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29520 PyObject
*resultobj
;
29521 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29523 PyObject
* obj0
= 0 ;
29524 char *kwnames
[] = {
29525 (char *) "self", NULL
29528 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_TransferDataFromWindow",kwnames
,&obj0
)) goto fail
;
29529 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29530 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29533 result
= (bool)(arg1
)->base_TransferDataFromWindow();
29535 wxPyEndAllowThreads(__tstate
);
29536 if (PyErr_Occurred()) SWIG_fail
;
29539 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29547 static PyObject
*_wrap_PyControl_base_Validate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29548 PyObject
*resultobj
;
29549 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29551 PyObject
* obj0
= 0 ;
29552 char *kwnames
[] = {
29553 (char *) "self", NULL
29556 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_Validate",kwnames
,&obj0
)) goto fail
;
29557 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29558 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29561 result
= (bool)(arg1
)->base_Validate();
29563 wxPyEndAllowThreads(__tstate
);
29564 if (PyErr_Occurred()) SWIG_fail
;
29567 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29575 static PyObject
*_wrap_PyControl_base_AcceptsFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29576 PyObject
*resultobj
;
29577 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29579 PyObject
* obj0
= 0 ;
29580 char *kwnames
[] = {
29581 (char *) "self", NULL
29584 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_AcceptsFocus",kwnames
,&obj0
)) goto fail
;
29585 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29586 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29589 result
= (bool)((wxPyControl
const *)arg1
)->base_AcceptsFocus();
29591 wxPyEndAllowThreads(__tstate
);
29592 if (PyErr_Occurred()) SWIG_fail
;
29595 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29603 static PyObject
*_wrap_PyControl_base_AcceptsFocusFromKeyboard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29604 PyObject
*resultobj
;
29605 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29607 PyObject
* obj0
= 0 ;
29608 char *kwnames
[] = {
29609 (char *) "self", NULL
29612 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_AcceptsFocusFromKeyboard",kwnames
,&obj0
)) goto fail
;
29613 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29614 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29617 result
= (bool)((wxPyControl
const *)arg1
)->base_AcceptsFocusFromKeyboard();
29619 wxPyEndAllowThreads(__tstate
);
29620 if (PyErr_Occurred()) SWIG_fail
;
29623 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29631 static PyObject
*_wrap_PyControl_base_GetMaxSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29632 PyObject
*resultobj
;
29633 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29635 PyObject
* obj0
= 0 ;
29636 char *kwnames
[] = {
29637 (char *) "self", NULL
29640 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_GetMaxSize",kwnames
,&obj0
)) goto fail
;
29641 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29642 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29645 result
= ((wxPyControl
const *)arg1
)->base_GetMaxSize();
29647 wxPyEndAllowThreads(__tstate
);
29648 if (PyErr_Occurred()) SWIG_fail
;
29651 wxSize
* resultptr
;
29652 resultptr
= new wxSize((wxSize
&) result
);
29653 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
29661 static PyObject
*_wrap_PyControl_base_AddChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29662 PyObject
*resultobj
;
29663 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29664 wxWindow
*arg2
= (wxWindow
*) 0 ;
29665 PyObject
* obj0
= 0 ;
29666 PyObject
* obj1
= 0 ;
29667 char *kwnames
[] = {
29668 (char *) "self",(char *) "child", NULL
29671 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControl_base_AddChild",kwnames
,&obj0
,&obj1
)) goto fail
;
29672 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29673 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29674 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
29675 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29678 (arg1
)->base_AddChild(arg2
);
29680 wxPyEndAllowThreads(__tstate
);
29681 if (PyErr_Occurred()) SWIG_fail
;
29683 Py_INCREF(Py_None
); resultobj
= Py_None
;
29690 static PyObject
*_wrap_PyControl_base_RemoveChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29691 PyObject
*resultobj
;
29692 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29693 wxWindow
*arg2
= (wxWindow
*) 0 ;
29694 PyObject
* obj0
= 0 ;
29695 PyObject
* obj1
= 0 ;
29696 char *kwnames
[] = {
29697 (char *) "self",(char *) "child", NULL
29700 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControl_base_RemoveChild",kwnames
,&obj0
,&obj1
)) goto fail
;
29701 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29702 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29703 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
29704 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29707 (arg1
)->base_RemoveChild(arg2
);
29709 wxPyEndAllowThreads(__tstate
);
29710 if (PyErr_Occurred()) SWIG_fail
;
29712 Py_INCREF(Py_None
); resultobj
= Py_None
;
29719 static PyObject
*_wrap_PyControl_base_ShouldInheritColours(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29720 PyObject
*resultobj
;
29721 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29723 PyObject
* obj0
= 0 ;
29724 char *kwnames
[] = {
29725 (char *) "self", NULL
29728 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_ShouldInheritColours",kwnames
,&obj0
)) goto fail
;
29729 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29730 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29733 result
= (bool)((wxPyControl
const *)arg1
)->base_ShouldInheritColours();
29735 wxPyEndAllowThreads(__tstate
);
29736 if (PyErr_Occurred()) SWIG_fail
;
29739 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29747 static PyObject
*_wrap_PyControl_base_ApplyParentThemeBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29748 PyObject
*resultobj
;
29749 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29750 wxColour
*arg2
= 0 ;
29752 PyObject
* obj0
= 0 ;
29753 PyObject
* obj1
= 0 ;
29754 char *kwnames
[] = {
29755 (char *) "self",(char *) "c", NULL
29758 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControl_base_ApplyParentThemeBackground",kwnames
,&obj0
,&obj1
)) goto fail
;
29759 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29760 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29763 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
29766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29767 (arg1
)->base_ApplyParentThemeBackground((wxColour
const &)*arg2
);
29769 wxPyEndAllowThreads(__tstate
);
29770 if (PyErr_Occurred()) SWIG_fail
;
29772 Py_INCREF(Py_None
); resultobj
= Py_None
;
29779 static PyObject
*_wrap_PyControl_base_GetDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29780 PyObject
*resultobj
;
29781 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29782 wxVisualAttributes result
;
29783 PyObject
* obj0
= 0 ;
29784 char *kwnames
[] = {
29785 (char *) "self", NULL
29788 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_GetDefaultAttributes",kwnames
,&obj0
)) goto fail
;
29789 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29790 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29793 result
= (arg1
)->base_GetDefaultAttributes();
29795 wxPyEndAllowThreads(__tstate
);
29796 if (PyErr_Occurred()) SWIG_fail
;
29799 wxVisualAttributes
* resultptr
;
29800 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
29801 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
29809 static PyObject
* PyControl_swigregister(PyObject
*self
, PyObject
*args
) {
29811 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
29812 SWIG_TypeClientData(SWIGTYPE_p_wxPyControl
, obj
);
29814 return Py_BuildValue((char *)"");
29816 static PyObject
*_wrap_new_HelpEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29817 PyObject
*resultobj
;
29818 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
29819 int arg2
= (int) 0 ;
29820 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
29821 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
29822 wxHelpEvent
*result
;
29824 PyObject
* obj0
= 0 ;
29825 PyObject
* obj1
= 0 ;
29826 PyObject
* obj2
= 0 ;
29827 char *kwnames
[] = {
29828 (char *) "type",(char *) "winid",(char *) "pt", NULL
29831 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_HelpEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29833 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
29834 if (PyErr_Occurred()) SWIG_fail
;
29837 arg2
= (int) SWIG_AsInt(obj1
);
29838 if (PyErr_Occurred()) SWIG_fail
;
29843 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
29847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29848 result
= (wxHelpEvent
*)new wxHelpEvent(arg1
,arg2
,(wxPoint
const &)*arg3
);
29850 wxPyEndAllowThreads(__tstate
);
29851 if (PyErr_Occurred()) SWIG_fail
;
29853 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHelpEvent
, 1);
29860 static PyObject
*_wrap_HelpEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29861 PyObject
*resultobj
;
29862 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
29864 PyObject
* obj0
= 0 ;
29865 char *kwnames
[] = {
29866 (char *) "self", NULL
29869 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
29870 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpEvent
,
29871 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29874 result
= ((wxHelpEvent
const *)arg1
)->GetPosition();
29876 wxPyEndAllowThreads(__tstate
);
29877 if (PyErr_Occurred()) SWIG_fail
;
29880 wxPoint
* resultptr
;
29881 resultptr
= new wxPoint((wxPoint
&) result
);
29882 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
29890 static PyObject
*_wrap_HelpEvent_SetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29891 PyObject
*resultobj
;
29892 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
29893 wxPoint
*arg2
= 0 ;
29895 PyObject
* obj0
= 0 ;
29896 PyObject
* obj1
= 0 ;
29897 char *kwnames
[] = {
29898 (char *) "self",(char *) "pos", NULL
29901 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
29902 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpEvent
,
29903 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29906 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
29909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29910 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
29912 wxPyEndAllowThreads(__tstate
);
29913 if (PyErr_Occurred()) SWIG_fail
;
29915 Py_INCREF(Py_None
); resultobj
= Py_None
;
29922 static PyObject
*_wrap_HelpEvent_GetLink(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29923 PyObject
*resultobj
;
29924 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
29926 PyObject
* obj0
= 0 ;
29927 char *kwnames
[] = {
29928 (char *) "self", NULL
29931 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpEvent_GetLink",kwnames
,&obj0
)) goto fail
;
29932 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpEvent
,
29933 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29937 wxString
const &_result_ref
= ((wxHelpEvent
const *)arg1
)->GetLink();
29938 result
= (wxString
*) &_result_ref
;
29941 wxPyEndAllowThreads(__tstate
);
29942 if (PyErr_Occurred()) SWIG_fail
;
29946 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
29948 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
29957 static PyObject
*_wrap_HelpEvent_SetLink(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29958 PyObject
*resultobj
;
29959 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
29960 wxString
*arg2
= 0 ;
29961 bool temp2
= False
;
29962 PyObject
* obj0
= 0 ;
29963 PyObject
* obj1
= 0 ;
29964 char *kwnames
[] = {
29965 (char *) "self",(char *) "link", NULL
29968 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetLink",kwnames
,&obj0
,&obj1
)) goto fail
;
29969 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpEvent
,
29970 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29972 arg2
= wxString_in_helper(obj1
);
29973 if (arg2
== NULL
) SWIG_fail
;
29977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29978 (arg1
)->SetLink((wxString
const &)*arg2
);
29980 wxPyEndAllowThreads(__tstate
);
29981 if (PyErr_Occurred()) SWIG_fail
;
29983 Py_INCREF(Py_None
); resultobj
= Py_None
;
29998 static PyObject
*_wrap_HelpEvent_GetTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29999 PyObject
*resultobj
;
30000 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
30002 PyObject
* obj0
= 0 ;
30003 char *kwnames
[] = {
30004 (char *) "self", NULL
30007 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpEvent_GetTarget",kwnames
,&obj0
)) goto fail
;
30008 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpEvent
,
30009 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30013 wxString
const &_result_ref
= ((wxHelpEvent
const *)arg1
)->GetTarget();
30014 result
= (wxString
*) &_result_ref
;
30017 wxPyEndAllowThreads(__tstate
);
30018 if (PyErr_Occurred()) SWIG_fail
;
30022 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
30024 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
30033 static PyObject
*_wrap_HelpEvent_SetTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30034 PyObject
*resultobj
;
30035 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
30036 wxString
*arg2
= 0 ;
30037 bool temp2
= False
;
30038 PyObject
* obj0
= 0 ;
30039 PyObject
* obj1
= 0 ;
30040 char *kwnames
[] = {
30041 (char *) "self",(char *) "target", NULL
30044 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetTarget",kwnames
,&obj0
,&obj1
)) goto fail
;
30045 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpEvent
,
30046 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30048 arg2
= wxString_in_helper(obj1
);
30049 if (arg2
== NULL
) SWIG_fail
;
30053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30054 (arg1
)->SetTarget((wxString
const &)*arg2
);
30056 wxPyEndAllowThreads(__tstate
);
30057 if (PyErr_Occurred()) SWIG_fail
;
30059 Py_INCREF(Py_None
); resultobj
= Py_None
;
30074 static PyObject
* HelpEvent_swigregister(PyObject
*self
, PyObject
*args
) {
30076 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
30077 SWIG_TypeClientData(SWIGTYPE_p_wxHelpEvent
, obj
);
30079 return Py_BuildValue((char *)"");
30081 static PyObject
*_wrap_new_ContextHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30082 PyObject
*resultobj
;
30083 wxWindow
*arg1
= (wxWindow
*) NULL
;
30084 bool arg2
= (bool) True
;
30085 wxContextHelp
*result
;
30086 PyObject
* obj0
= 0 ;
30087 PyObject
* obj1
= 0 ;
30088 char *kwnames
[] = {
30089 (char *) "window",(char *) "doNow", NULL
30092 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_ContextHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
30094 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
30095 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30098 arg2
= (bool) SWIG_AsBool(obj1
);
30099 if (PyErr_Occurred()) SWIG_fail
;
30102 if (!wxPyCheckForApp()) SWIG_fail
;
30103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30104 result
= (wxContextHelp
*)new wxContextHelp(arg1
,arg2
);
30106 wxPyEndAllowThreads(__tstate
);
30107 if (PyErr_Occurred()) SWIG_fail
;
30109 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxContextHelp
, 1);
30116 static PyObject
*_wrap_delete_ContextHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30117 PyObject
*resultobj
;
30118 wxContextHelp
*arg1
= (wxContextHelp
*) 0 ;
30119 PyObject
* obj0
= 0 ;
30120 char *kwnames
[] = {
30121 (char *) "self", NULL
30124 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ContextHelp",kwnames
,&obj0
)) goto fail
;
30125 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxContextHelp
,
30126 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30131 wxPyEndAllowThreads(__tstate
);
30132 if (PyErr_Occurred()) SWIG_fail
;
30134 Py_INCREF(Py_None
); resultobj
= Py_None
;
30141 static PyObject
*_wrap_ContextHelp_BeginContextHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30142 PyObject
*resultobj
;
30143 wxContextHelp
*arg1
= (wxContextHelp
*) 0 ;
30144 wxWindow
*arg2
= (wxWindow
*) NULL
;
30146 PyObject
* obj0
= 0 ;
30147 PyObject
* obj1
= 0 ;
30148 char *kwnames
[] = {
30149 (char *) "self",(char *) "window", NULL
30152 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ContextHelp_BeginContextHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
30153 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxContextHelp
,
30154 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30156 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
30157 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30161 result
= (bool)(arg1
)->BeginContextHelp(arg2
);
30163 wxPyEndAllowThreads(__tstate
);
30164 if (PyErr_Occurred()) SWIG_fail
;
30167 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30175 static PyObject
*_wrap_ContextHelp_EndContextHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30176 PyObject
*resultobj
;
30177 wxContextHelp
*arg1
= (wxContextHelp
*) 0 ;
30179 PyObject
* obj0
= 0 ;
30180 char *kwnames
[] = {
30181 (char *) "self", NULL
30184 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ContextHelp_EndContextHelp",kwnames
,&obj0
)) goto fail
;
30185 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxContextHelp
,
30186 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30189 result
= (bool)(arg1
)->EndContextHelp();
30191 wxPyEndAllowThreads(__tstate
);
30192 if (PyErr_Occurred()) SWIG_fail
;
30195 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30203 static PyObject
* ContextHelp_swigregister(PyObject
*self
, PyObject
*args
) {
30205 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
30206 SWIG_TypeClientData(SWIGTYPE_p_wxContextHelp
, obj
);
30208 return Py_BuildValue((char *)"");
30210 static PyObject
*_wrap_new_ContextHelpButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30211 PyObject
*resultobj
;
30212 wxWindow
*arg1
= (wxWindow
*) 0 ;
30213 int arg2
= (int) wxID_CONTEXT_HELP
;
30214 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
30215 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
30216 wxSize
const &arg4_defvalue
= wxDefaultSize
;
30217 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
30218 long arg5
= (long) wxBU_AUTODRAW
;
30219 wxContextHelpButton
*result
;
30222 PyObject
* obj0
= 0 ;
30223 PyObject
* obj1
= 0 ;
30224 PyObject
* obj2
= 0 ;
30225 PyObject
* obj3
= 0 ;
30226 PyObject
* obj4
= 0 ;
30227 char *kwnames
[] = {
30228 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
30231 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:new_ContextHelpButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
30232 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
30233 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30235 arg2
= (int) SWIG_AsInt(obj1
);
30236 if (PyErr_Occurred()) SWIG_fail
;
30241 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
30247 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
30251 arg5
= (long) SWIG_AsLong(obj4
);
30252 if (PyErr_Occurred()) SWIG_fail
;
30255 if (!wxPyCheckForApp()) SWIG_fail
;
30256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30257 result
= (wxContextHelpButton
*)new wxContextHelpButton(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
);
30259 wxPyEndAllowThreads(__tstate
);
30260 if (PyErr_Occurred()) SWIG_fail
;
30262 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxContextHelpButton
, 1);
30269 static PyObject
* ContextHelpButton_swigregister(PyObject
*self
, PyObject
*args
) {
30271 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
30272 SWIG_TypeClientData(SWIGTYPE_p_wxContextHelpButton
, obj
);
30274 return Py_BuildValue((char *)"");
30276 static PyObject
*_wrap_HelpProvider_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30277 PyObject
*resultobj
;
30278 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
30279 wxHelpProvider
*result
;
30280 PyObject
* obj0
= 0 ;
30281 char *kwnames
[] = {
30282 (char *) "helpProvider", NULL
30285 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpProvider_Set",kwnames
,&obj0
)) goto fail
;
30286 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpProvider
,
30287 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30290 result
= (wxHelpProvider
*)wxHelpProvider::Set(arg1
);
30292 wxPyEndAllowThreads(__tstate
);
30293 if (PyErr_Occurred()) SWIG_fail
;
30295 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHelpProvider
, 0);
30302 static PyObject
*_wrap_HelpProvider_Get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30303 PyObject
*resultobj
;
30304 wxHelpProvider
*result
;
30305 char *kwnames
[] = {
30309 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":HelpProvider_Get",kwnames
)) goto fail
;
30311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30312 result
= (wxHelpProvider
*)wxHelpProvider::Get();
30314 wxPyEndAllowThreads(__tstate
);
30315 if (PyErr_Occurred()) SWIG_fail
;
30317 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHelpProvider
, 0);
30324 static PyObject
*_wrap_HelpProvider_GetHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30325 PyObject
*resultobj
;
30326 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
30327 wxWindow
*arg2
= (wxWindow
*) 0 ;
30329 PyObject
* obj0
= 0 ;
30330 PyObject
* obj1
= 0 ;
30331 char *kwnames
[] = {
30332 (char *) "self",(char *) "window", NULL
30335 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpProvider_GetHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
30336 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpProvider
,
30337 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30338 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
30339 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30342 result
= (arg1
)->GetHelp((wxWindow
const *)arg2
);
30344 wxPyEndAllowThreads(__tstate
);
30345 if (PyErr_Occurred()) SWIG_fail
;
30349 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
30351 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
30360 static PyObject
*_wrap_HelpProvider_ShowHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30361 PyObject
*resultobj
;
30362 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
30363 wxWindow
*arg2
= (wxWindow
*) 0 ;
30365 PyObject
* obj0
= 0 ;
30366 PyObject
* obj1
= 0 ;
30367 char *kwnames
[] = {
30368 (char *) "self",(char *) "window", NULL
30371 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpProvider_ShowHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
30372 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpProvider
,
30373 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30374 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
30375 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30378 result
= (bool)(arg1
)->ShowHelp(arg2
);
30380 wxPyEndAllowThreads(__tstate
);
30381 if (PyErr_Occurred()) SWIG_fail
;
30384 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30392 static PyObject
*_wrap_HelpProvider_AddHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30393 PyObject
*resultobj
;
30394 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
30395 wxWindow
*arg2
= (wxWindow
*) 0 ;
30396 wxString
*arg3
= 0 ;
30397 bool temp3
= False
;
30398 PyObject
* obj0
= 0 ;
30399 PyObject
* obj1
= 0 ;
30400 PyObject
* obj2
= 0 ;
30401 char *kwnames
[] = {
30402 (char *) "self",(char *) "window",(char *) "text", NULL
30405 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HelpProvider_AddHelp",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30406 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpProvider
,
30407 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30408 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
30409 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30411 arg3
= wxString_in_helper(obj2
);
30412 if (arg3
== NULL
) SWIG_fail
;
30416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30417 (arg1
)->AddHelp(arg2
,(wxString
const &)*arg3
);
30419 wxPyEndAllowThreads(__tstate
);
30420 if (PyErr_Occurred()) SWIG_fail
;
30422 Py_INCREF(Py_None
); resultobj
= Py_None
;
30437 static PyObject
*_wrap_HelpProvider_AddHelpById(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30438 PyObject
*resultobj
;
30439 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
30441 wxString
*arg3
= 0 ;
30442 bool temp3
= False
;
30443 PyObject
* obj0
= 0 ;
30444 PyObject
* obj1
= 0 ;
30445 PyObject
* obj2
= 0 ;
30446 char *kwnames
[] = {
30447 (char *) "self",(char *) "id",(char *) "text", NULL
30450 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HelpProvider_AddHelpById",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30451 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpProvider
,
30452 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30453 arg2
= (int) SWIG_AsInt(obj1
);
30454 if (PyErr_Occurred()) SWIG_fail
;
30456 arg3
= wxString_in_helper(obj2
);
30457 if (arg3
== NULL
) SWIG_fail
;
30461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30462 (arg1
)->AddHelp(arg2
,(wxString
const &)*arg3
);
30464 wxPyEndAllowThreads(__tstate
);
30465 if (PyErr_Occurred()) SWIG_fail
;
30467 Py_INCREF(Py_None
); resultobj
= Py_None
;
30482 static PyObject
*_wrap_HelpProvider_RemoveHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30483 PyObject
*resultobj
;
30484 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
30485 wxWindow
*arg2
= (wxWindow
*) 0 ;
30486 PyObject
* obj0
= 0 ;
30487 PyObject
* obj1
= 0 ;
30488 char *kwnames
[] = {
30489 (char *) "self",(char *) "window", NULL
30492 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpProvider_RemoveHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
30493 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpProvider
,
30494 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30495 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
30496 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30499 (arg1
)->RemoveHelp(arg2
);
30501 wxPyEndAllowThreads(__tstate
);
30502 if (PyErr_Occurred()) SWIG_fail
;
30504 Py_INCREF(Py_None
); resultobj
= Py_None
;
30511 static PyObject
*_wrap_HelpProvider_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30512 PyObject
*resultobj
;
30513 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
30514 PyObject
* obj0
= 0 ;
30515 char *kwnames
[] = {
30516 (char *) "self", NULL
30519 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpProvider_Destroy",kwnames
,&obj0
)) goto fail
;
30520 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpProvider
,
30521 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30524 wxHelpProvider_Destroy(arg1
);
30526 wxPyEndAllowThreads(__tstate
);
30527 if (PyErr_Occurred()) SWIG_fail
;
30529 Py_INCREF(Py_None
); resultobj
= Py_None
;
30536 static PyObject
* HelpProvider_swigregister(PyObject
*self
, PyObject
*args
) {
30538 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
30539 SWIG_TypeClientData(SWIGTYPE_p_wxHelpProvider
, obj
);
30541 return Py_BuildValue((char *)"");
30543 static PyObject
*_wrap_new_SimpleHelpProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30544 PyObject
*resultobj
;
30545 wxSimpleHelpProvider
*result
;
30546 char *kwnames
[] = {
30550 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_SimpleHelpProvider",kwnames
)) goto fail
;
30552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30553 result
= (wxSimpleHelpProvider
*)new wxSimpleHelpProvider();
30555 wxPyEndAllowThreads(__tstate
);
30556 if (PyErr_Occurred()) SWIG_fail
;
30558 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSimpleHelpProvider
, 1);
30565 static PyObject
* SimpleHelpProvider_swigregister(PyObject
*self
, PyObject
*args
) {
30567 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
30568 SWIG_TypeClientData(SWIGTYPE_p_wxSimpleHelpProvider
, obj
);
30570 return Py_BuildValue((char *)"");
30572 static PyObject
*_wrap_new_DragImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30573 PyObject
*resultobj
;
30574 wxBitmap
*arg1
= 0 ;
30575 wxCursor
const &arg2_defvalue
= wxNullCursor
;
30576 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
30577 wxGenericDragImage
*result
;
30578 PyObject
* obj0
= 0 ;
30579 PyObject
* obj1
= 0 ;
30580 char *kwnames
[] = {
30581 (char *) "image",(char *) "cursor", NULL
30584 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragImage",kwnames
,&obj0
,&obj1
)) goto fail
;
30585 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
30586 SWIG_POINTER_EXCEPTION
| 0)) == -1)
30588 if (arg1
== NULL
) {
30589 PyErr_SetString(PyExc_TypeError
,"null reference");
30593 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxCursor
,
30594 SWIG_POINTER_EXCEPTION
| 0)) == -1)
30596 if (arg2
== NULL
) {
30597 PyErr_SetString(PyExc_TypeError
,"null reference");
30602 if (!wxPyCheckForApp()) SWIG_fail
;
30603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30604 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxBitmap
const &)*arg1
,(wxCursor
const &)*arg2
);
30606 wxPyEndAllowThreads(__tstate
);
30607 if (PyErr_Occurred()) SWIG_fail
;
30609 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDragImage
, 1);
30616 static PyObject
*_wrap_new_DragIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30617 PyObject
*resultobj
;
30619 wxCursor
const &arg2_defvalue
= wxNullCursor
;
30620 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
30621 wxGenericDragImage
*result
;
30622 PyObject
* obj0
= 0 ;
30623 PyObject
* obj1
= 0 ;
30624 char *kwnames
[] = {
30625 (char *) "image",(char *) "cursor", NULL
30628 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
30629 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
30630 SWIG_POINTER_EXCEPTION
| 0)) == -1)
30632 if (arg1
== NULL
) {
30633 PyErr_SetString(PyExc_TypeError
,"null reference");
30637 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxCursor
,
30638 SWIG_POINTER_EXCEPTION
| 0)) == -1)
30640 if (arg2
== NULL
) {
30641 PyErr_SetString(PyExc_TypeError
,"null reference");
30646 if (!wxPyCheckForApp()) SWIG_fail
;
30647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30648 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxIcon
const &)*arg1
,(wxCursor
const &)*arg2
);
30650 wxPyEndAllowThreads(__tstate
);
30651 if (PyErr_Occurred()) SWIG_fail
;
30653 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDragImage
, 1);
30660 static PyObject
*_wrap_new_DragString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30661 PyObject
*resultobj
;
30662 wxString
*arg1
= 0 ;
30663 wxCursor
const &arg2_defvalue
= wxNullCursor
;
30664 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
30665 wxGenericDragImage
*result
;
30666 bool temp1
= False
;
30667 PyObject
* obj0
= 0 ;
30668 PyObject
* obj1
= 0 ;
30669 char *kwnames
[] = {
30670 (char *) "str",(char *) "cursor", NULL
30673 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragString",kwnames
,&obj0
,&obj1
)) goto fail
;
30675 arg1
= wxString_in_helper(obj0
);
30676 if (arg1
== NULL
) SWIG_fail
;
30680 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxCursor
,
30681 SWIG_POINTER_EXCEPTION
| 0)) == -1)
30683 if (arg2
== NULL
) {
30684 PyErr_SetString(PyExc_TypeError
,"null reference");
30689 if (!wxPyCheckForApp()) SWIG_fail
;
30690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30691 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxString
const &)*arg1
,(wxCursor
const &)*arg2
);
30693 wxPyEndAllowThreads(__tstate
);
30694 if (PyErr_Occurred()) SWIG_fail
;
30696 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDragImage
, 1);
30711 static PyObject
*_wrap_new_DragTreeItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30712 PyObject
*resultobj
;
30713 wxPyTreeCtrl
*arg1
= 0 ;
30714 wxTreeItemId
*arg2
= 0 ;
30715 wxGenericDragImage
*result
;
30716 PyObject
* obj0
= 0 ;
30717 PyObject
* obj1
= 0 ;
30718 char *kwnames
[] = {
30719 (char *) "treeCtrl",(char *) "id", NULL
30722 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_DragTreeItem",kwnames
,&obj0
,&obj1
)) goto fail
;
30723 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
30724 SWIG_POINTER_EXCEPTION
| 0)) == -1)
30726 if (arg1
== NULL
) {
30727 PyErr_SetString(PyExc_TypeError
,"null reference");
30730 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
30731 SWIG_POINTER_EXCEPTION
| 0)) == -1)
30733 if (arg2
== NULL
) {
30734 PyErr_SetString(PyExc_TypeError
,"null reference");
30738 if (!wxPyCheckForApp()) SWIG_fail
;
30739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30740 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxPyTreeCtrl
const &)*arg1
,*arg2
);
30742 wxPyEndAllowThreads(__tstate
);
30743 if (PyErr_Occurred()) SWIG_fail
;
30745 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDragImage
, 1);
30752 static PyObject
*_wrap_new_DragListItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30753 PyObject
*resultobj
;
30754 wxPyListCtrl
*arg1
= 0 ;
30756 wxGenericDragImage
*result
;
30757 PyObject
* obj0
= 0 ;
30758 PyObject
* obj1
= 0 ;
30759 char *kwnames
[] = {
30760 (char *) "listCtrl",(char *) "id", NULL
30763 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_DragListItem",kwnames
,&obj0
,&obj1
)) goto fail
;
30764 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
30765 SWIG_POINTER_EXCEPTION
| 0)) == -1)
30767 if (arg1
== NULL
) {
30768 PyErr_SetString(PyExc_TypeError
,"null reference");
30771 arg2
= (long) SWIG_AsLong(obj1
);
30772 if (PyErr_Occurred()) SWIG_fail
;
30774 if (!wxPyCheckForApp()) SWIG_fail
;
30775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30776 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxPyListCtrl
const &)*arg1
,arg2
);
30778 wxPyEndAllowThreads(__tstate
);
30779 if (PyErr_Occurred()) SWIG_fail
;
30781 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDragImage
, 1);
30788 static PyObject
*_wrap_delete_DragImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30789 PyObject
*resultobj
;
30790 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
30791 PyObject
* obj0
= 0 ;
30792 char *kwnames
[] = {
30793 (char *) "self", NULL
30796 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DragImage",kwnames
,&obj0
)) goto fail
;
30797 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
30798 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30803 wxPyEndAllowThreads(__tstate
);
30804 if (PyErr_Occurred()) SWIG_fail
;
30806 Py_INCREF(Py_None
); resultobj
= Py_None
;
30813 static PyObject
*_wrap_DragImage_SetBackingBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30814 PyObject
*resultobj
;
30815 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
30816 wxBitmap
*arg2
= (wxBitmap
*) 0 ;
30817 PyObject
* obj0
= 0 ;
30818 PyObject
* obj1
= 0 ;
30819 char *kwnames
[] = {
30820 (char *) "self",(char *) "bitmap", NULL
30823 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_SetBackingBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
30824 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
30825 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30826 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
30827 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30830 (arg1
)->SetBackingBitmap(arg2
);
30832 wxPyEndAllowThreads(__tstate
);
30833 if (PyErr_Occurred()) SWIG_fail
;
30835 Py_INCREF(Py_None
); resultobj
= Py_None
;
30842 static PyObject
*_wrap_DragImage_BeginDrag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30843 PyObject
*resultobj
;
30844 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
30845 wxPoint
*arg2
= 0 ;
30846 wxWindow
*arg3
= (wxWindow
*) 0 ;
30847 bool arg4
= (bool) False
;
30848 wxRect
*arg5
= (wxRect
*) NULL
;
30851 PyObject
* obj0
= 0 ;
30852 PyObject
* obj1
= 0 ;
30853 PyObject
* obj2
= 0 ;
30854 PyObject
* obj3
= 0 ;
30855 PyObject
* obj4
= 0 ;
30856 char *kwnames
[] = {
30857 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "fullScreen",(char *) "rect", NULL
30860 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:DragImage_BeginDrag",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
30861 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
30862 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30865 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
30867 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
30868 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30870 arg4
= (bool) SWIG_AsBool(obj3
);
30871 if (PyErr_Occurred()) SWIG_fail
;
30874 if ((SWIG_ConvertPtr(obj4
,(void **)(&arg5
),SWIGTYPE_p_wxRect
,
30875 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30879 result
= (bool)(arg1
)->BeginDrag((wxPoint
const &)*arg2
,arg3
,arg4
,arg5
);
30881 wxPyEndAllowThreads(__tstate
);
30882 if (PyErr_Occurred()) SWIG_fail
;
30885 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30893 static PyObject
*_wrap_DragImage_BeginDragBounded(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30894 PyObject
*resultobj
;
30895 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
30896 wxPoint
*arg2
= 0 ;
30897 wxWindow
*arg3
= (wxWindow
*) 0 ;
30898 wxWindow
*arg4
= (wxWindow
*) 0 ;
30901 PyObject
* obj0
= 0 ;
30902 PyObject
* obj1
= 0 ;
30903 PyObject
* obj2
= 0 ;
30904 PyObject
* obj3
= 0 ;
30905 char *kwnames
[] = {
30906 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "boundingWindow", NULL
30909 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DragImage_BeginDragBounded",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
30910 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
30911 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30914 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
30916 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
30917 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30918 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxWindow
,
30919 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30922 result
= (bool)(arg1
)->BeginDrag((wxPoint
const &)*arg2
,arg3
,arg4
);
30924 wxPyEndAllowThreads(__tstate
);
30925 if (PyErr_Occurred()) SWIG_fail
;
30928 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30936 static PyObject
*_wrap_DragImage_EndDrag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30937 PyObject
*resultobj
;
30938 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
30940 PyObject
* obj0
= 0 ;
30941 char *kwnames
[] = {
30942 (char *) "self", NULL
30945 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DragImage_EndDrag",kwnames
,&obj0
)) goto fail
;
30946 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
30947 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30950 result
= (bool)(arg1
)->EndDrag();
30952 wxPyEndAllowThreads(__tstate
);
30953 if (PyErr_Occurred()) SWIG_fail
;
30956 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30964 static PyObject
*_wrap_DragImage_Move(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30965 PyObject
*resultobj
;
30966 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
30967 wxPoint
*arg2
= 0 ;
30970 PyObject
* obj0
= 0 ;
30971 PyObject
* obj1
= 0 ;
30972 char *kwnames
[] = {
30973 (char *) "self",(char *) "pt", NULL
30976 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_Move",kwnames
,&obj0
,&obj1
)) goto fail
;
30977 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
30978 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30981 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
30984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30985 result
= (bool)(arg1
)->Move((wxPoint
const &)*arg2
);
30987 wxPyEndAllowThreads(__tstate
);
30988 if (PyErr_Occurred()) SWIG_fail
;
30991 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30999 static PyObject
*_wrap_DragImage_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31000 PyObject
*resultobj
;
31001 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
31003 PyObject
* obj0
= 0 ;
31004 char *kwnames
[] = {
31005 (char *) "self", NULL
31008 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DragImage_Show",kwnames
,&obj0
)) goto fail
;
31009 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
31010 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31013 result
= (bool)(arg1
)->Show();
31015 wxPyEndAllowThreads(__tstate
);
31016 if (PyErr_Occurred()) SWIG_fail
;
31019 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31027 static PyObject
*_wrap_DragImage_Hide(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31028 PyObject
*resultobj
;
31029 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
31031 PyObject
* obj0
= 0 ;
31032 char *kwnames
[] = {
31033 (char *) "self", NULL
31036 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DragImage_Hide",kwnames
,&obj0
)) goto fail
;
31037 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
31038 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31041 result
= (bool)(arg1
)->Hide();
31043 wxPyEndAllowThreads(__tstate
);
31044 if (PyErr_Occurred()) SWIG_fail
;
31047 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31055 static PyObject
*_wrap_DragImage_GetImageRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31056 PyObject
*resultobj
;
31057 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
31058 wxPoint
*arg2
= 0 ;
31061 PyObject
* obj0
= 0 ;
31062 PyObject
* obj1
= 0 ;
31063 char *kwnames
[] = {
31064 (char *) "self",(char *) "pos", NULL
31067 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_GetImageRect",kwnames
,&obj0
,&obj1
)) goto fail
;
31068 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
31069 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31072 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
31075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31076 result
= ((wxGenericDragImage
const *)arg1
)->GetImageRect((wxPoint
const &)*arg2
);
31078 wxPyEndAllowThreads(__tstate
);
31079 if (PyErr_Occurred()) SWIG_fail
;
31082 wxRect
* resultptr
;
31083 resultptr
= new wxRect((wxRect
&) result
);
31084 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
31092 static PyObject
*_wrap_DragImage_DoDrawImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31093 PyObject
*resultobj
;
31094 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
31096 wxPoint
*arg3
= 0 ;
31099 PyObject
* obj0
= 0 ;
31100 PyObject
* obj1
= 0 ;
31101 PyObject
* obj2
= 0 ;
31102 char *kwnames
[] = {
31103 (char *) "self",(char *) "dc",(char *) "pos", NULL
31106 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DragImage_DoDrawImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
31107 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
31108 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31109 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
31110 SWIG_POINTER_EXCEPTION
| 0)) == -1)
31112 if (arg2
== NULL
) {
31113 PyErr_SetString(PyExc_TypeError
,"null reference");
31118 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
31121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31122 result
= (bool)((wxGenericDragImage
const *)arg1
)->DoDrawImage(*arg2
,(wxPoint
const &)*arg3
);
31124 wxPyEndAllowThreads(__tstate
);
31125 if (PyErr_Occurred()) SWIG_fail
;
31128 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31136 static PyObject
*_wrap_DragImage_UpdateBackingFromWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31137 PyObject
*resultobj
;
31138 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
31140 wxMemoryDC
*arg3
= 0 ;
31146 PyObject
* obj0
= 0 ;
31147 PyObject
* obj1
= 0 ;
31148 PyObject
* obj2
= 0 ;
31149 PyObject
* obj3
= 0 ;
31150 PyObject
* obj4
= 0 ;
31151 char *kwnames
[] = {
31152 (char *) "self",(char *) "windowDC",(char *) "destDC",(char *) "sourceRect",(char *) "destRect", NULL
31155 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DragImage_UpdateBackingFromWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
31156 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
31157 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31158 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
31159 SWIG_POINTER_EXCEPTION
| 0)) == -1)
31161 if (arg2
== NULL
) {
31162 PyErr_SetString(PyExc_TypeError
,"null reference");
31165 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxMemoryDC
,
31166 SWIG_POINTER_EXCEPTION
| 0)) == -1)
31168 if (arg3
== NULL
) {
31169 PyErr_SetString(PyExc_TypeError
,"null reference");
31174 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
31178 if ( ! wxRect_helper(obj4
, &arg5
)) SWIG_fail
;
31181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31182 result
= (bool)((wxGenericDragImage
const *)arg1
)->UpdateBackingFromWindow(*arg2
,*arg3
,(wxRect
const &)*arg4
,(wxRect
const &)*arg5
);
31184 wxPyEndAllowThreads(__tstate
);
31185 if (PyErr_Occurred()) SWIG_fail
;
31188 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31196 static PyObject
*_wrap_DragImage_RedrawImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31197 PyObject
*resultobj
;
31198 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
31199 wxPoint
*arg2
= 0 ;
31200 wxPoint
*arg3
= 0 ;
31206 PyObject
* obj0
= 0 ;
31207 PyObject
* obj1
= 0 ;
31208 PyObject
* obj2
= 0 ;
31209 PyObject
* obj3
= 0 ;
31210 PyObject
* obj4
= 0 ;
31211 char *kwnames
[] = {
31212 (char *) "self",(char *) "oldPos",(char *) "newPos",(char *) "eraseOld",(char *) "drawNew", NULL
31215 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DragImage_RedrawImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
31216 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
31217 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31220 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
31224 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
31226 arg4
= (bool) SWIG_AsBool(obj3
);
31227 if (PyErr_Occurred()) SWIG_fail
;
31228 arg5
= (bool) SWIG_AsBool(obj4
);
31229 if (PyErr_Occurred()) SWIG_fail
;
31231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31232 result
= (bool)(arg1
)->RedrawImage((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
,arg5
);
31234 wxPyEndAllowThreads(__tstate
);
31235 if (PyErr_Occurred()) SWIG_fail
;
31238 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31246 static PyObject
* DragImage_swigregister(PyObject
*self
, PyObject
*args
) {
31248 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
31249 SWIG_TypeClientData(SWIGTYPE_p_wxGenericDragImage
, obj
);
31251 return Py_BuildValue((char *)"");
31253 static PyMethodDef SwigMethods
[] = {
31254 { (char *)"new_Button", (PyCFunction
) _wrap_new_Button
, METH_VARARGS
| METH_KEYWORDS
},
31255 { (char *)"new_PreButton", (PyCFunction
) _wrap_new_PreButton
, METH_VARARGS
| METH_KEYWORDS
},
31256 { (char *)"Button_Create", (PyCFunction
) _wrap_Button_Create
, METH_VARARGS
| METH_KEYWORDS
},
31257 { (char *)"Button_SetDefault", (PyCFunction
) _wrap_Button_SetDefault
, METH_VARARGS
| METH_KEYWORDS
},
31258 { (char *)"Button_GetDefaultSize", (PyCFunction
) _wrap_Button_GetDefaultSize
, METH_VARARGS
| METH_KEYWORDS
},
31259 { (char *)"Button_GetClassDefaultAttributes", (PyCFunction
) _wrap_Button_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31260 { (char *)"Button_swigregister", Button_swigregister
, METH_VARARGS
},
31261 { (char *)"new_BitmapButton", (PyCFunction
) _wrap_new_BitmapButton
, METH_VARARGS
| METH_KEYWORDS
},
31262 { (char *)"new_PreBitmapButton", (PyCFunction
) _wrap_new_PreBitmapButton
, METH_VARARGS
| METH_KEYWORDS
},
31263 { (char *)"BitmapButton_Create", (PyCFunction
) _wrap_BitmapButton_Create
, METH_VARARGS
| METH_KEYWORDS
},
31264 { (char *)"BitmapButton_GetBitmapLabel", (PyCFunction
) _wrap_BitmapButton_GetBitmapLabel
, METH_VARARGS
| METH_KEYWORDS
},
31265 { (char *)"BitmapButton_GetBitmapDisabled", (PyCFunction
) _wrap_BitmapButton_GetBitmapDisabled
, METH_VARARGS
| METH_KEYWORDS
},
31266 { (char *)"BitmapButton_GetBitmapFocus", (PyCFunction
) _wrap_BitmapButton_GetBitmapFocus
, METH_VARARGS
| METH_KEYWORDS
},
31267 { (char *)"BitmapButton_GetBitmapSelected", (PyCFunction
) _wrap_BitmapButton_GetBitmapSelected
, METH_VARARGS
| METH_KEYWORDS
},
31268 { (char *)"BitmapButton_SetBitmapDisabled", (PyCFunction
) _wrap_BitmapButton_SetBitmapDisabled
, METH_VARARGS
| METH_KEYWORDS
},
31269 { (char *)"BitmapButton_SetBitmapFocus", (PyCFunction
) _wrap_BitmapButton_SetBitmapFocus
, METH_VARARGS
| METH_KEYWORDS
},
31270 { (char *)"BitmapButton_SetBitmapSelected", (PyCFunction
) _wrap_BitmapButton_SetBitmapSelected
, METH_VARARGS
| METH_KEYWORDS
},
31271 { (char *)"BitmapButton_SetBitmapLabel", (PyCFunction
) _wrap_BitmapButton_SetBitmapLabel
, METH_VARARGS
| METH_KEYWORDS
},
31272 { (char *)"BitmapButton_SetMargins", (PyCFunction
) _wrap_BitmapButton_SetMargins
, METH_VARARGS
| METH_KEYWORDS
},
31273 { (char *)"BitmapButton_GetMarginX", (PyCFunction
) _wrap_BitmapButton_GetMarginX
, METH_VARARGS
| METH_KEYWORDS
},
31274 { (char *)"BitmapButton_GetMarginY", (PyCFunction
) _wrap_BitmapButton_GetMarginY
, METH_VARARGS
| METH_KEYWORDS
},
31275 { (char *)"BitmapButton_swigregister", BitmapButton_swigregister
, METH_VARARGS
},
31276 { (char *)"new_CheckBox", (PyCFunction
) _wrap_new_CheckBox
, METH_VARARGS
| METH_KEYWORDS
},
31277 { (char *)"new_PreCheckBox", (PyCFunction
) _wrap_new_PreCheckBox
, METH_VARARGS
| METH_KEYWORDS
},
31278 { (char *)"CheckBox_Create", (PyCFunction
) _wrap_CheckBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
31279 { (char *)"CheckBox_GetValue", (PyCFunction
) _wrap_CheckBox_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
31280 { (char *)"CheckBox_IsChecked", (PyCFunction
) _wrap_CheckBox_IsChecked
, METH_VARARGS
| METH_KEYWORDS
},
31281 { (char *)"CheckBox_SetValue", (PyCFunction
) _wrap_CheckBox_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
31282 { (char *)"CheckBox_Get3StateValue", (PyCFunction
) _wrap_CheckBox_Get3StateValue
, METH_VARARGS
| METH_KEYWORDS
},
31283 { (char *)"CheckBox_Set3StateValue", (PyCFunction
) _wrap_CheckBox_Set3StateValue
, METH_VARARGS
| METH_KEYWORDS
},
31284 { (char *)"CheckBox_Is3State", (PyCFunction
) _wrap_CheckBox_Is3State
, METH_VARARGS
| METH_KEYWORDS
},
31285 { (char *)"CheckBox_Is3rdStateAllowedForUser", (PyCFunction
) _wrap_CheckBox_Is3rdStateAllowedForUser
, METH_VARARGS
| METH_KEYWORDS
},
31286 { (char *)"CheckBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_CheckBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31287 { (char *)"CheckBox_swigregister", CheckBox_swigregister
, METH_VARARGS
},
31288 { (char *)"new_Choice", (PyCFunction
) _wrap_new_Choice
, METH_VARARGS
| METH_KEYWORDS
},
31289 { (char *)"new_PreChoice", (PyCFunction
) _wrap_new_PreChoice
, METH_VARARGS
| METH_KEYWORDS
},
31290 { (char *)"Choice_Create", (PyCFunction
) _wrap_Choice_Create
, METH_VARARGS
| METH_KEYWORDS
},
31291 { (char *)"Choice_SetSelection", (PyCFunction
) _wrap_Choice_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
31292 { (char *)"Choice_SetStringSelection", (PyCFunction
) _wrap_Choice_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
31293 { (char *)"Choice_SetString", (PyCFunction
) _wrap_Choice_SetString
, METH_VARARGS
| METH_KEYWORDS
},
31294 { (char *)"Choice_GetClassDefaultAttributes", (PyCFunction
) _wrap_Choice_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31295 { (char *)"Choice_swigregister", Choice_swigregister
, METH_VARARGS
},
31296 { (char *)"new_ComboBox", (PyCFunction
) _wrap_new_ComboBox
, METH_VARARGS
| METH_KEYWORDS
},
31297 { (char *)"new_PreComboBox", (PyCFunction
) _wrap_new_PreComboBox
, METH_VARARGS
| METH_KEYWORDS
},
31298 { (char *)"ComboBox_Create", (PyCFunction
) _wrap_ComboBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
31299 { (char *)"ComboBox_GetValue", (PyCFunction
) _wrap_ComboBox_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
31300 { (char *)"ComboBox_SetValue", (PyCFunction
) _wrap_ComboBox_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
31301 { (char *)"ComboBox_Copy", (PyCFunction
) _wrap_ComboBox_Copy
, METH_VARARGS
| METH_KEYWORDS
},
31302 { (char *)"ComboBox_Cut", (PyCFunction
) _wrap_ComboBox_Cut
, METH_VARARGS
| METH_KEYWORDS
},
31303 { (char *)"ComboBox_Paste", (PyCFunction
) _wrap_ComboBox_Paste
, METH_VARARGS
| METH_KEYWORDS
},
31304 { (char *)"ComboBox_SetInsertionPoint", (PyCFunction
) _wrap_ComboBox_SetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
},
31305 { (char *)"ComboBox_GetInsertionPoint", (PyCFunction
) _wrap_ComboBox_GetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
},
31306 { (char *)"ComboBox_GetLastPosition", (PyCFunction
) _wrap_ComboBox_GetLastPosition
, METH_VARARGS
| METH_KEYWORDS
},
31307 { (char *)"ComboBox_Replace", (PyCFunction
) _wrap_ComboBox_Replace
, METH_VARARGS
| METH_KEYWORDS
},
31308 { (char *)"ComboBox_SetSelection", (PyCFunction
) _wrap_ComboBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
31309 { (char *)"ComboBox_SetMark", (PyCFunction
) _wrap_ComboBox_SetMark
, METH_VARARGS
| METH_KEYWORDS
},
31310 { (char *)"ComboBox_SetStringSelection", (PyCFunction
) _wrap_ComboBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
31311 { (char *)"ComboBox_SetString", (PyCFunction
) _wrap_ComboBox_SetString
, METH_VARARGS
| METH_KEYWORDS
},
31312 { (char *)"ComboBox_SetEditable", (PyCFunction
) _wrap_ComboBox_SetEditable
, METH_VARARGS
| METH_KEYWORDS
},
31313 { (char *)"ComboBox_SetInsertionPointEnd", (PyCFunction
) _wrap_ComboBox_SetInsertionPointEnd
, METH_VARARGS
| METH_KEYWORDS
},
31314 { (char *)"ComboBox_Remove", (PyCFunction
) _wrap_ComboBox_Remove
, METH_VARARGS
| METH_KEYWORDS
},
31315 { (char *)"ComboBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_ComboBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31316 { (char *)"ComboBox_swigregister", ComboBox_swigregister
, METH_VARARGS
},
31317 { (char *)"new_Gauge", (PyCFunction
) _wrap_new_Gauge
, METH_VARARGS
| METH_KEYWORDS
},
31318 { (char *)"new_PreGauge", (PyCFunction
) _wrap_new_PreGauge
, METH_VARARGS
| METH_KEYWORDS
},
31319 { (char *)"Gauge_Create", (PyCFunction
) _wrap_Gauge_Create
, METH_VARARGS
| METH_KEYWORDS
},
31320 { (char *)"Gauge_SetRange", (PyCFunction
) _wrap_Gauge_SetRange
, METH_VARARGS
| METH_KEYWORDS
},
31321 { (char *)"Gauge_GetRange", (PyCFunction
) _wrap_Gauge_GetRange
, METH_VARARGS
| METH_KEYWORDS
},
31322 { (char *)"Gauge_SetValue", (PyCFunction
) _wrap_Gauge_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
31323 { (char *)"Gauge_GetValue", (PyCFunction
) _wrap_Gauge_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
31324 { (char *)"Gauge_IsVertical", (PyCFunction
) _wrap_Gauge_IsVertical
, METH_VARARGS
| METH_KEYWORDS
},
31325 { (char *)"Gauge_SetShadowWidth", (PyCFunction
) _wrap_Gauge_SetShadowWidth
, METH_VARARGS
| METH_KEYWORDS
},
31326 { (char *)"Gauge_GetShadowWidth", (PyCFunction
) _wrap_Gauge_GetShadowWidth
, METH_VARARGS
| METH_KEYWORDS
},
31327 { (char *)"Gauge_SetBezelFace", (PyCFunction
) _wrap_Gauge_SetBezelFace
, METH_VARARGS
| METH_KEYWORDS
},
31328 { (char *)"Gauge_GetBezelFace", (PyCFunction
) _wrap_Gauge_GetBezelFace
, METH_VARARGS
| METH_KEYWORDS
},
31329 { (char *)"Gauge_GetClassDefaultAttributes", (PyCFunction
) _wrap_Gauge_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31330 { (char *)"Gauge_swigregister", Gauge_swigregister
, METH_VARARGS
},
31331 { (char *)"new_StaticBox", (PyCFunction
) _wrap_new_StaticBox
, METH_VARARGS
| METH_KEYWORDS
},
31332 { (char *)"new_PreStaticBox", (PyCFunction
) _wrap_new_PreStaticBox
, METH_VARARGS
| METH_KEYWORDS
},
31333 { (char *)"StaticBox_Create", (PyCFunction
) _wrap_StaticBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
31334 { (char *)"StaticBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_StaticBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31335 { (char *)"StaticBox_swigregister", StaticBox_swigregister
, METH_VARARGS
},
31336 { (char *)"new_StaticLine", (PyCFunction
) _wrap_new_StaticLine
, METH_VARARGS
| METH_KEYWORDS
},
31337 { (char *)"new_PreStaticLine", (PyCFunction
) _wrap_new_PreStaticLine
, METH_VARARGS
| METH_KEYWORDS
},
31338 { (char *)"StaticLine_Create", (PyCFunction
) _wrap_StaticLine_Create
, METH_VARARGS
| METH_KEYWORDS
},
31339 { (char *)"StaticLine_IsVertical", (PyCFunction
) _wrap_StaticLine_IsVertical
, METH_VARARGS
| METH_KEYWORDS
},
31340 { (char *)"StaticLine_GetDefaultSize", (PyCFunction
) _wrap_StaticLine_GetDefaultSize
, METH_VARARGS
| METH_KEYWORDS
},
31341 { (char *)"StaticLine_GetClassDefaultAttributes", (PyCFunction
) _wrap_StaticLine_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31342 { (char *)"StaticLine_swigregister", StaticLine_swigregister
, METH_VARARGS
},
31343 { (char *)"new_StaticText", (PyCFunction
) _wrap_new_StaticText
, METH_VARARGS
| METH_KEYWORDS
},
31344 { (char *)"new_PreStaticText", (PyCFunction
) _wrap_new_PreStaticText
, METH_VARARGS
| METH_KEYWORDS
},
31345 { (char *)"StaticText_Create", (PyCFunction
) _wrap_StaticText_Create
, METH_VARARGS
| METH_KEYWORDS
},
31346 { (char *)"StaticText_GetClassDefaultAttributes", (PyCFunction
) _wrap_StaticText_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31347 { (char *)"StaticText_swigregister", StaticText_swigregister
, METH_VARARGS
},
31348 { (char *)"new_StaticBitmap", (PyCFunction
) _wrap_new_StaticBitmap
, METH_VARARGS
| METH_KEYWORDS
},
31349 { (char *)"new_PreStaticBitmap", (PyCFunction
) _wrap_new_PreStaticBitmap
, METH_VARARGS
| METH_KEYWORDS
},
31350 { (char *)"StaticBitmap_Create", (PyCFunction
) _wrap_StaticBitmap_Create
, METH_VARARGS
| METH_KEYWORDS
},
31351 { (char *)"StaticBitmap_GetBitmap", (PyCFunction
) _wrap_StaticBitmap_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
31352 { (char *)"StaticBitmap_SetBitmap", (PyCFunction
) _wrap_StaticBitmap_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
31353 { (char *)"StaticBitmap_SetIcon", (PyCFunction
) _wrap_StaticBitmap_SetIcon
, METH_VARARGS
| METH_KEYWORDS
},
31354 { (char *)"StaticBitmap_GetClassDefaultAttributes", (PyCFunction
) _wrap_StaticBitmap_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31355 { (char *)"StaticBitmap_swigregister", StaticBitmap_swigregister
, METH_VARARGS
},
31356 { (char *)"new_ListBox", (PyCFunction
) _wrap_new_ListBox
, METH_VARARGS
| METH_KEYWORDS
},
31357 { (char *)"new_PreListBox", (PyCFunction
) _wrap_new_PreListBox
, METH_VARARGS
| METH_KEYWORDS
},
31358 { (char *)"ListBox_Create", (PyCFunction
) _wrap_ListBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
31359 { (char *)"ListBox_Insert", (PyCFunction
) _wrap_ListBox_Insert
, METH_VARARGS
| METH_KEYWORDS
},
31360 { (char *)"ListBox_InsertItems", (PyCFunction
) _wrap_ListBox_InsertItems
, METH_VARARGS
| METH_KEYWORDS
},
31361 { (char *)"ListBox_Set", (PyCFunction
) _wrap_ListBox_Set
, METH_VARARGS
| METH_KEYWORDS
},
31362 { (char *)"ListBox_IsSelected", (PyCFunction
) _wrap_ListBox_IsSelected
, METH_VARARGS
| METH_KEYWORDS
},
31363 { (char *)"ListBox_SetSelection", (PyCFunction
) _wrap_ListBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
31364 { (char *)"ListBox_Select", (PyCFunction
) _wrap_ListBox_Select
, METH_VARARGS
| METH_KEYWORDS
},
31365 { (char *)"ListBox_Deselect", (PyCFunction
) _wrap_ListBox_Deselect
, METH_VARARGS
| METH_KEYWORDS
},
31366 { (char *)"ListBox_DeselectAll", (PyCFunction
) _wrap_ListBox_DeselectAll
, METH_VARARGS
| METH_KEYWORDS
},
31367 { (char *)"ListBox_SetStringSelection", (PyCFunction
) _wrap_ListBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
31368 { (char *)"ListBox_GetSelections", (PyCFunction
) _wrap_ListBox_GetSelections
, METH_VARARGS
| METH_KEYWORDS
},
31369 { (char *)"ListBox_SetFirstItem", (PyCFunction
) _wrap_ListBox_SetFirstItem
, METH_VARARGS
| METH_KEYWORDS
},
31370 { (char *)"ListBox_SetFirstItemStr", (PyCFunction
) _wrap_ListBox_SetFirstItemStr
, METH_VARARGS
| METH_KEYWORDS
},
31371 { (char *)"ListBox_EnsureVisible", (PyCFunction
) _wrap_ListBox_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
},
31372 { (char *)"ListBox_AppendAndEnsureVisible", (PyCFunction
) _wrap_ListBox_AppendAndEnsureVisible
, METH_VARARGS
| METH_KEYWORDS
},
31373 { (char *)"ListBox_IsSorted", (PyCFunction
) _wrap_ListBox_IsSorted
, METH_VARARGS
| METH_KEYWORDS
},
31374 { (char *)"ListBox_SetItemForegroundColour", (PyCFunction
) _wrap_ListBox_SetItemForegroundColour
, METH_VARARGS
| METH_KEYWORDS
},
31375 { (char *)"ListBox_SetItemBackgroundColour", (PyCFunction
) _wrap_ListBox_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
31376 { (char *)"ListBox_SetItemFont", (PyCFunction
) _wrap_ListBox_SetItemFont
, METH_VARARGS
| METH_KEYWORDS
},
31377 { (char *)"ListBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_ListBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31378 { (char *)"ListBox_swigregister", ListBox_swigregister
, METH_VARARGS
},
31379 { (char *)"new_CheckListBox", (PyCFunction
) _wrap_new_CheckListBox
, METH_VARARGS
| METH_KEYWORDS
},
31380 { (char *)"new_PreCheckListBox", (PyCFunction
) _wrap_new_PreCheckListBox
, METH_VARARGS
| METH_KEYWORDS
},
31381 { (char *)"CheckListBox_Create", (PyCFunction
) _wrap_CheckListBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
31382 { (char *)"CheckListBox_IsChecked", (PyCFunction
) _wrap_CheckListBox_IsChecked
, METH_VARARGS
| METH_KEYWORDS
},
31383 { (char *)"CheckListBox_Check", (PyCFunction
) _wrap_CheckListBox_Check
, METH_VARARGS
| METH_KEYWORDS
},
31384 { (char *)"CheckListBox_HitTest", (PyCFunction
) _wrap_CheckListBox_HitTest
, METH_VARARGS
| METH_KEYWORDS
},
31385 { (char *)"CheckListBox_HitTestXY", (PyCFunction
) _wrap_CheckListBox_HitTestXY
, METH_VARARGS
| METH_KEYWORDS
},
31386 { (char *)"CheckListBox_swigregister", CheckListBox_swigregister
, METH_VARARGS
},
31387 { (char *)"new_TextAttr", _wrap_new_TextAttr
, METH_VARARGS
},
31388 { (char *)"delete_TextAttr", (PyCFunction
) _wrap_delete_TextAttr
, METH_VARARGS
| METH_KEYWORDS
},
31389 { (char *)"TextAttr_Init", (PyCFunction
) _wrap_TextAttr_Init
, METH_VARARGS
| METH_KEYWORDS
},
31390 { (char *)"TextAttr_SetTextColour", (PyCFunction
) _wrap_TextAttr_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
31391 { (char *)"TextAttr_SetBackgroundColour", (PyCFunction
) _wrap_TextAttr_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
31392 { (char *)"TextAttr_SetFont", (PyCFunction
) _wrap_TextAttr_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
31393 { (char *)"TextAttr_SetAlignment", (PyCFunction
) _wrap_TextAttr_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
},
31394 { (char *)"TextAttr_SetTabs", (PyCFunction
) _wrap_TextAttr_SetTabs
, METH_VARARGS
| METH_KEYWORDS
},
31395 { (char *)"TextAttr_SetLeftIndent", (PyCFunction
) _wrap_TextAttr_SetLeftIndent
, METH_VARARGS
| METH_KEYWORDS
},
31396 { (char *)"TextAttr_SetRightIndent", (PyCFunction
) _wrap_TextAttr_SetRightIndent
, METH_VARARGS
| METH_KEYWORDS
},
31397 { (char *)"TextAttr_SetFlags", (PyCFunction
) _wrap_TextAttr_SetFlags
, METH_VARARGS
| METH_KEYWORDS
},
31398 { (char *)"TextAttr_HasTextColour", (PyCFunction
) _wrap_TextAttr_HasTextColour
, METH_VARARGS
| METH_KEYWORDS
},
31399 { (char *)"TextAttr_HasBackgroundColour", (PyCFunction
) _wrap_TextAttr_HasBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
31400 { (char *)"TextAttr_HasFont", (PyCFunction
) _wrap_TextAttr_HasFont
, METH_VARARGS
| METH_KEYWORDS
},
31401 { (char *)"TextAttr_HasAlignment", (PyCFunction
) _wrap_TextAttr_HasAlignment
, METH_VARARGS
| METH_KEYWORDS
},
31402 { (char *)"TextAttr_HasTabs", (PyCFunction
) _wrap_TextAttr_HasTabs
, METH_VARARGS
| METH_KEYWORDS
},
31403 { (char *)"TextAttr_HasLeftIndent", (PyCFunction
) _wrap_TextAttr_HasLeftIndent
, METH_VARARGS
| METH_KEYWORDS
},
31404 { (char *)"TextAttr_HasRightIndent", (PyCFunction
) _wrap_TextAttr_HasRightIndent
, METH_VARARGS
| METH_KEYWORDS
},
31405 { (char *)"TextAttr_HasFlag", (PyCFunction
) _wrap_TextAttr_HasFlag
, METH_VARARGS
| METH_KEYWORDS
},
31406 { (char *)"TextAttr_GetTextColour", (PyCFunction
) _wrap_TextAttr_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
31407 { (char *)"TextAttr_GetBackgroundColour", (PyCFunction
) _wrap_TextAttr_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
31408 { (char *)"TextAttr_GetFont", (PyCFunction
) _wrap_TextAttr_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
31409 { (char *)"TextAttr_GetAlignment", (PyCFunction
) _wrap_TextAttr_GetAlignment
, METH_VARARGS
| METH_KEYWORDS
},
31410 { (char *)"TextAttr_GetTabs", (PyCFunction
) _wrap_TextAttr_GetTabs
, METH_VARARGS
| METH_KEYWORDS
},
31411 { (char *)"TextAttr_GetLeftIndent", (PyCFunction
) _wrap_TextAttr_GetLeftIndent
, METH_VARARGS
| METH_KEYWORDS
},
31412 { (char *)"TextAttr_GetLeftSubIndent", (PyCFunction
) _wrap_TextAttr_GetLeftSubIndent
, METH_VARARGS
| METH_KEYWORDS
},
31413 { (char *)"TextAttr_GetRightIndent", (PyCFunction
) _wrap_TextAttr_GetRightIndent
, METH_VARARGS
| METH_KEYWORDS
},
31414 { (char *)"TextAttr_GetFlags", (PyCFunction
) _wrap_TextAttr_GetFlags
, METH_VARARGS
| METH_KEYWORDS
},
31415 { (char *)"TextAttr_IsDefault", (PyCFunction
) _wrap_TextAttr_IsDefault
, METH_VARARGS
| METH_KEYWORDS
},
31416 { (char *)"TextAttr_Combine", (PyCFunction
) _wrap_TextAttr_Combine
, METH_VARARGS
| METH_KEYWORDS
},
31417 { (char *)"TextAttr_swigregister", TextAttr_swigregister
, METH_VARARGS
},
31418 { (char *)"new_TextCtrl", (PyCFunction
) _wrap_new_TextCtrl
, METH_VARARGS
| METH_KEYWORDS
},
31419 { (char *)"new_PreTextCtrl", (PyCFunction
) _wrap_new_PreTextCtrl
, METH_VARARGS
| METH_KEYWORDS
},
31420 { (char *)"TextCtrl_Create", (PyCFunction
) _wrap_TextCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
},
31421 { (char *)"TextCtrl_GetValue", (PyCFunction
) _wrap_TextCtrl_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
31422 { (char *)"TextCtrl_SetValue", (PyCFunction
) _wrap_TextCtrl_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
31423 { (char *)"TextCtrl_GetRange", (PyCFunction
) _wrap_TextCtrl_GetRange
, METH_VARARGS
| METH_KEYWORDS
},
31424 { (char *)"TextCtrl_GetLineLength", (PyCFunction
) _wrap_TextCtrl_GetLineLength
, METH_VARARGS
| METH_KEYWORDS
},
31425 { (char *)"TextCtrl_GetLineText", (PyCFunction
) _wrap_TextCtrl_GetLineText
, METH_VARARGS
| METH_KEYWORDS
},
31426 { (char *)"TextCtrl_GetNumberOfLines", (PyCFunction
) _wrap_TextCtrl_GetNumberOfLines
, METH_VARARGS
| METH_KEYWORDS
},
31427 { (char *)"TextCtrl_IsModified", (PyCFunction
) _wrap_TextCtrl_IsModified
, METH_VARARGS
| METH_KEYWORDS
},
31428 { (char *)"TextCtrl_IsEditable", (PyCFunction
) _wrap_TextCtrl_IsEditable
, METH_VARARGS
| METH_KEYWORDS
},
31429 { (char *)"TextCtrl_IsSingleLine", (PyCFunction
) _wrap_TextCtrl_IsSingleLine
, METH_VARARGS
| METH_KEYWORDS
},
31430 { (char *)"TextCtrl_IsMultiLine", (PyCFunction
) _wrap_TextCtrl_IsMultiLine
, METH_VARARGS
| METH_KEYWORDS
},
31431 { (char *)"TextCtrl_GetSelection", (PyCFunction
) _wrap_TextCtrl_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
31432 { (char *)"TextCtrl_GetStringSelection", (PyCFunction
) _wrap_TextCtrl_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
31433 { (char *)"TextCtrl_Clear", (PyCFunction
) _wrap_TextCtrl_Clear
, METH_VARARGS
| METH_KEYWORDS
},
31434 { (char *)"TextCtrl_Replace", (PyCFunction
) _wrap_TextCtrl_Replace
, METH_VARARGS
| METH_KEYWORDS
},
31435 { (char *)"TextCtrl_Remove", (PyCFunction
) _wrap_TextCtrl_Remove
, METH_VARARGS
| METH_KEYWORDS
},
31436 { (char *)"TextCtrl_LoadFile", (PyCFunction
) _wrap_TextCtrl_LoadFile
, METH_VARARGS
| METH_KEYWORDS
},
31437 { (char *)"TextCtrl_SaveFile", (PyCFunction
) _wrap_TextCtrl_SaveFile
, METH_VARARGS
| METH_KEYWORDS
},
31438 { (char *)"TextCtrl_MarkDirty", (PyCFunction
) _wrap_TextCtrl_MarkDirty
, METH_VARARGS
| METH_KEYWORDS
},
31439 { (char *)"TextCtrl_DiscardEdits", (PyCFunction
) _wrap_TextCtrl_DiscardEdits
, METH_VARARGS
| METH_KEYWORDS
},
31440 { (char *)"TextCtrl_SetMaxLength", (PyCFunction
) _wrap_TextCtrl_SetMaxLength
, METH_VARARGS
| METH_KEYWORDS
},
31441 { (char *)"TextCtrl_WriteText", (PyCFunction
) _wrap_TextCtrl_WriteText
, METH_VARARGS
| METH_KEYWORDS
},
31442 { (char *)"TextCtrl_AppendText", (PyCFunction
) _wrap_TextCtrl_AppendText
, METH_VARARGS
| METH_KEYWORDS
},
31443 { (char *)"TextCtrl_EmulateKeyPress", (PyCFunction
) _wrap_TextCtrl_EmulateKeyPress
, METH_VARARGS
| METH_KEYWORDS
},
31444 { (char *)"TextCtrl_SetStyle", (PyCFunction
) _wrap_TextCtrl_SetStyle
, METH_VARARGS
| METH_KEYWORDS
},
31445 { (char *)"TextCtrl_GetStyle", (PyCFunction
) _wrap_TextCtrl_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
31446 { (char *)"TextCtrl_SetDefaultStyle", (PyCFunction
) _wrap_TextCtrl_SetDefaultStyle
, METH_VARARGS
| METH_KEYWORDS
},
31447 { (char *)"TextCtrl_GetDefaultStyle", (PyCFunction
) _wrap_TextCtrl_GetDefaultStyle
, METH_VARARGS
| METH_KEYWORDS
},
31448 { (char *)"TextCtrl_XYToPosition", (PyCFunction
) _wrap_TextCtrl_XYToPosition
, METH_VARARGS
| METH_KEYWORDS
},
31449 { (char *)"TextCtrl_PositionToXY", (PyCFunction
) _wrap_TextCtrl_PositionToXY
, METH_VARARGS
| METH_KEYWORDS
},
31450 { (char *)"TextCtrl_ShowPosition", (PyCFunction
) _wrap_TextCtrl_ShowPosition
, METH_VARARGS
| METH_KEYWORDS
},
31451 { (char *)"TextCtrl_HitTest", (PyCFunction
) _wrap_TextCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
},
31452 { (char *)"TextCtrl_Copy", (PyCFunction
) _wrap_TextCtrl_Copy
, METH_VARARGS
| METH_KEYWORDS
},
31453 { (char *)"TextCtrl_Cut", (PyCFunction
) _wrap_TextCtrl_Cut
, METH_VARARGS
| METH_KEYWORDS
},
31454 { (char *)"TextCtrl_Paste", (PyCFunction
) _wrap_TextCtrl_Paste
, METH_VARARGS
| METH_KEYWORDS
},
31455 { (char *)"TextCtrl_CanCopy", (PyCFunction
) _wrap_TextCtrl_CanCopy
, METH_VARARGS
| METH_KEYWORDS
},
31456 { (char *)"TextCtrl_CanCut", (PyCFunction
) _wrap_TextCtrl_CanCut
, METH_VARARGS
| METH_KEYWORDS
},
31457 { (char *)"TextCtrl_CanPaste", (PyCFunction
) _wrap_TextCtrl_CanPaste
, METH_VARARGS
| METH_KEYWORDS
},
31458 { (char *)"TextCtrl_Undo", (PyCFunction
) _wrap_TextCtrl_Undo
, METH_VARARGS
| METH_KEYWORDS
},
31459 { (char *)"TextCtrl_Redo", (PyCFunction
) _wrap_TextCtrl_Redo
, METH_VARARGS
| METH_KEYWORDS
},
31460 { (char *)"TextCtrl_CanUndo", (PyCFunction
) _wrap_TextCtrl_CanUndo
, METH_VARARGS
| METH_KEYWORDS
},
31461 { (char *)"TextCtrl_CanRedo", (PyCFunction
) _wrap_TextCtrl_CanRedo
, METH_VARARGS
| METH_KEYWORDS
},
31462 { (char *)"TextCtrl_SetInsertionPoint", (PyCFunction
) _wrap_TextCtrl_SetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
},
31463 { (char *)"TextCtrl_SetInsertionPointEnd", (PyCFunction
) _wrap_TextCtrl_SetInsertionPointEnd
, METH_VARARGS
| METH_KEYWORDS
},
31464 { (char *)"TextCtrl_GetInsertionPoint", (PyCFunction
) _wrap_TextCtrl_GetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
},
31465 { (char *)"TextCtrl_GetLastPosition", (PyCFunction
) _wrap_TextCtrl_GetLastPosition
, METH_VARARGS
| METH_KEYWORDS
},
31466 { (char *)"TextCtrl_SetSelection", (PyCFunction
) _wrap_TextCtrl_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
31467 { (char *)"TextCtrl_SelectAll", (PyCFunction
) _wrap_TextCtrl_SelectAll
, METH_VARARGS
| METH_KEYWORDS
},
31468 { (char *)"TextCtrl_SetEditable", (PyCFunction
) _wrap_TextCtrl_SetEditable
, METH_VARARGS
| METH_KEYWORDS
},
31469 { (char *)"TextCtrl_write", (PyCFunction
) _wrap_TextCtrl_write
, METH_VARARGS
| METH_KEYWORDS
},
31470 { (char *)"TextCtrl_GetString", (PyCFunction
) _wrap_TextCtrl_GetString
, METH_VARARGS
| METH_KEYWORDS
},
31471 { (char *)"TextCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_TextCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31472 { (char *)"TextCtrl_swigregister", TextCtrl_swigregister
, METH_VARARGS
},
31473 { (char *)"new_TextUrlEvent", (PyCFunction
) _wrap_new_TextUrlEvent
, METH_VARARGS
| METH_KEYWORDS
},
31474 { (char *)"TextUrlEvent_GetMouseEvent", (PyCFunction
) _wrap_TextUrlEvent_GetMouseEvent
, METH_VARARGS
| METH_KEYWORDS
},
31475 { (char *)"TextUrlEvent_GetURLStart", (PyCFunction
) _wrap_TextUrlEvent_GetURLStart
, METH_VARARGS
| METH_KEYWORDS
},
31476 { (char *)"TextUrlEvent_GetURLEnd", (PyCFunction
) _wrap_TextUrlEvent_GetURLEnd
, METH_VARARGS
| METH_KEYWORDS
},
31477 { (char *)"TextUrlEvent_swigregister", TextUrlEvent_swigregister
, METH_VARARGS
},
31478 { (char *)"new_ScrollBar", (PyCFunction
) _wrap_new_ScrollBar
, METH_VARARGS
| METH_KEYWORDS
},
31479 { (char *)"new_PreScrollBar", (PyCFunction
) _wrap_new_PreScrollBar
, METH_VARARGS
| METH_KEYWORDS
},
31480 { (char *)"ScrollBar_Create", (PyCFunction
) _wrap_ScrollBar_Create
, METH_VARARGS
| METH_KEYWORDS
},
31481 { (char *)"ScrollBar_GetThumbPosition", (PyCFunction
) _wrap_ScrollBar_GetThumbPosition
, METH_VARARGS
| METH_KEYWORDS
},
31482 { (char *)"ScrollBar_GetThumbSize", (PyCFunction
) _wrap_ScrollBar_GetThumbSize
, METH_VARARGS
| METH_KEYWORDS
},
31483 { (char *)"ScrollBar_GetPageSize", (PyCFunction
) _wrap_ScrollBar_GetPageSize
, METH_VARARGS
| METH_KEYWORDS
},
31484 { (char *)"ScrollBar_GetRange", (PyCFunction
) _wrap_ScrollBar_GetRange
, METH_VARARGS
| METH_KEYWORDS
},
31485 { (char *)"ScrollBar_IsVertical", (PyCFunction
) _wrap_ScrollBar_IsVertical
, METH_VARARGS
| METH_KEYWORDS
},
31486 { (char *)"ScrollBar_SetThumbPosition", (PyCFunction
) _wrap_ScrollBar_SetThumbPosition
, METH_VARARGS
| METH_KEYWORDS
},
31487 { (char *)"ScrollBar_SetScrollbar", (PyCFunction
) _wrap_ScrollBar_SetScrollbar
, METH_VARARGS
| METH_KEYWORDS
},
31488 { (char *)"ScrollBar_GetClassDefaultAttributes", (PyCFunction
) _wrap_ScrollBar_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31489 { (char *)"ScrollBar_swigregister", ScrollBar_swigregister
, METH_VARARGS
},
31490 { (char *)"new_SpinButton", (PyCFunction
) _wrap_new_SpinButton
, METH_VARARGS
| METH_KEYWORDS
},
31491 { (char *)"new_PreSpinButton", (PyCFunction
) _wrap_new_PreSpinButton
, METH_VARARGS
| METH_KEYWORDS
},
31492 { (char *)"SpinButton_Create", (PyCFunction
) _wrap_SpinButton_Create
, METH_VARARGS
| METH_KEYWORDS
},
31493 { (char *)"SpinButton_GetValue", (PyCFunction
) _wrap_SpinButton_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
31494 { (char *)"SpinButton_GetMin", (PyCFunction
) _wrap_SpinButton_GetMin
, METH_VARARGS
| METH_KEYWORDS
},
31495 { (char *)"SpinButton_GetMax", (PyCFunction
) _wrap_SpinButton_GetMax
, METH_VARARGS
| METH_KEYWORDS
},
31496 { (char *)"SpinButton_SetValue", (PyCFunction
) _wrap_SpinButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
31497 { (char *)"SpinButton_SetMin", (PyCFunction
) _wrap_SpinButton_SetMin
, METH_VARARGS
| METH_KEYWORDS
},
31498 { (char *)"SpinButton_SetMax", (PyCFunction
) _wrap_SpinButton_SetMax
, METH_VARARGS
| METH_KEYWORDS
},
31499 { (char *)"SpinButton_SetRange", (PyCFunction
) _wrap_SpinButton_SetRange
, METH_VARARGS
| METH_KEYWORDS
},
31500 { (char *)"SpinButton_IsVertical", (PyCFunction
) _wrap_SpinButton_IsVertical
, METH_VARARGS
| METH_KEYWORDS
},
31501 { (char *)"SpinButton_GetClassDefaultAttributes", (PyCFunction
) _wrap_SpinButton_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31502 { (char *)"SpinButton_swigregister", SpinButton_swigregister
, METH_VARARGS
},
31503 { (char *)"new_SpinCtrl", (PyCFunction
) _wrap_new_SpinCtrl
, METH_VARARGS
| METH_KEYWORDS
},
31504 { (char *)"new_PreSpinCtrl", (PyCFunction
) _wrap_new_PreSpinCtrl
, METH_VARARGS
| METH_KEYWORDS
},
31505 { (char *)"SpinCtrl_Create", (PyCFunction
) _wrap_SpinCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
},
31506 { (char *)"SpinCtrl_GetValue", (PyCFunction
) _wrap_SpinCtrl_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
31507 { (char *)"SpinCtrl_SetValue", (PyCFunction
) _wrap_SpinCtrl_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
31508 { (char *)"SpinCtrl_SetValueString", (PyCFunction
) _wrap_SpinCtrl_SetValueString
, METH_VARARGS
| METH_KEYWORDS
},
31509 { (char *)"SpinCtrl_SetRange", (PyCFunction
) _wrap_SpinCtrl_SetRange
, METH_VARARGS
| METH_KEYWORDS
},
31510 { (char *)"SpinCtrl_GetMin", (PyCFunction
) _wrap_SpinCtrl_GetMin
, METH_VARARGS
| METH_KEYWORDS
},
31511 { (char *)"SpinCtrl_GetMax", (PyCFunction
) _wrap_SpinCtrl_GetMax
, METH_VARARGS
| METH_KEYWORDS
},
31512 { (char *)"SpinCtrl_SetSelection", (PyCFunction
) _wrap_SpinCtrl_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
31513 { (char *)"SpinCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_SpinCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31514 { (char *)"SpinCtrl_swigregister", SpinCtrl_swigregister
, METH_VARARGS
},
31515 { (char *)"new_SpinEvent", (PyCFunction
) _wrap_new_SpinEvent
, METH_VARARGS
| METH_KEYWORDS
},
31516 { (char *)"SpinEvent_GetPosition", (PyCFunction
) _wrap_SpinEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
31517 { (char *)"SpinEvent_SetPosition", (PyCFunction
) _wrap_SpinEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
},
31518 { (char *)"SpinEvent_swigregister", SpinEvent_swigregister
, METH_VARARGS
},
31519 { (char *)"new_RadioBox", (PyCFunction
) _wrap_new_RadioBox
, METH_VARARGS
| METH_KEYWORDS
},
31520 { (char *)"new_PreRadioBox", (PyCFunction
) _wrap_new_PreRadioBox
, METH_VARARGS
| METH_KEYWORDS
},
31521 { (char *)"RadioBox_Create", (PyCFunction
) _wrap_RadioBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
31522 { (char *)"RadioBox_SetSelection", (PyCFunction
) _wrap_RadioBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
31523 { (char *)"RadioBox_GetSelection", (PyCFunction
) _wrap_RadioBox_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
31524 { (char *)"RadioBox_GetStringSelection", (PyCFunction
) _wrap_RadioBox_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
31525 { (char *)"RadioBox_SetStringSelection", (PyCFunction
) _wrap_RadioBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
31526 { (char *)"RadioBox_GetCount", (PyCFunction
) _wrap_RadioBox_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
31527 { (char *)"RadioBox_FindString", (PyCFunction
) _wrap_RadioBox_FindString
, METH_VARARGS
| METH_KEYWORDS
},
31528 { (char *)"RadioBox_GetString", (PyCFunction
) _wrap_RadioBox_GetString
, METH_VARARGS
| METH_KEYWORDS
},
31529 { (char *)"RadioBox_SetString", (PyCFunction
) _wrap_RadioBox_SetString
, METH_VARARGS
| METH_KEYWORDS
},
31530 { (char *)"RadioBox_EnableItem", (PyCFunction
) _wrap_RadioBox_EnableItem
, METH_VARARGS
| METH_KEYWORDS
},
31531 { (char *)"RadioBox_ShowItem", (PyCFunction
) _wrap_RadioBox_ShowItem
, METH_VARARGS
| METH_KEYWORDS
},
31532 { (char *)"RadioBox_GetColumnCount", (PyCFunction
) _wrap_RadioBox_GetColumnCount
, METH_VARARGS
| METH_KEYWORDS
},
31533 { (char *)"RadioBox_GetRowCount", (PyCFunction
) _wrap_RadioBox_GetRowCount
, METH_VARARGS
| METH_KEYWORDS
},
31534 { (char *)"RadioBox_GetNextItem", (PyCFunction
) _wrap_RadioBox_GetNextItem
, METH_VARARGS
| METH_KEYWORDS
},
31535 { (char *)"RadioBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_RadioBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31536 { (char *)"RadioBox_swigregister", RadioBox_swigregister
, METH_VARARGS
},
31537 { (char *)"new_RadioButton", (PyCFunction
) _wrap_new_RadioButton
, METH_VARARGS
| METH_KEYWORDS
},
31538 { (char *)"new_PreRadioButton", (PyCFunction
) _wrap_new_PreRadioButton
, METH_VARARGS
| METH_KEYWORDS
},
31539 { (char *)"RadioButton_Create", (PyCFunction
) _wrap_RadioButton_Create
, METH_VARARGS
| METH_KEYWORDS
},
31540 { (char *)"RadioButton_GetValue", (PyCFunction
) _wrap_RadioButton_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
31541 { (char *)"RadioButton_SetValue", (PyCFunction
) _wrap_RadioButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
31542 { (char *)"RadioButton_GetClassDefaultAttributes", (PyCFunction
) _wrap_RadioButton_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31543 { (char *)"RadioButton_swigregister", RadioButton_swigregister
, METH_VARARGS
},
31544 { (char *)"new_Slider", (PyCFunction
) _wrap_new_Slider
, METH_VARARGS
| METH_KEYWORDS
},
31545 { (char *)"new_PreSlider", (PyCFunction
) _wrap_new_PreSlider
, METH_VARARGS
| METH_KEYWORDS
},
31546 { (char *)"Slider_Create", (PyCFunction
) _wrap_Slider_Create
, METH_VARARGS
| METH_KEYWORDS
},
31547 { (char *)"Slider_GetValue", (PyCFunction
) _wrap_Slider_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
31548 { (char *)"Slider_SetValue", (PyCFunction
) _wrap_Slider_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
31549 { (char *)"Slider_SetRange", (PyCFunction
) _wrap_Slider_SetRange
, METH_VARARGS
| METH_KEYWORDS
},
31550 { (char *)"Slider_GetMin", (PyCFunction
) _wrap_Slider_GetMin
, METH_VARARGS
| METH_KEYWORDS
},
31551 { (char *)"Slider_GetMax", (PyCFunction
) _wrap_Slider_GetMax
, METH_VARARGS
| METH_KEYWORDS
},
31552 { (char *)"Slider_SetMin", (PyCFunction
) _wrap_Slider_SetMin
, METH_VARARGS
| METH_KEYWORDS
},
31553 { (char *)"Slider_SetMax", (PyCFunction
) _wrap_Slider_SetMax
, METH_VARARGS
| METH_KEYWORDS
},
31554 { (char *)"Slider_SetLineSize", (PyCFunction
) _wrap_Slider_SetLineSize
, METH_VARARGS
| METH_KEYWORDS
},
31555 { (char *)"Slider_SetPageSize", (PyCFunction
) _wrap_Slider_SetPageSize
, METH_VARARGS
| METH_KEYWORDS
},
31556 { (char *)"Slider_GetLineSize", (PyCFunction
) _wrap_Slider_GetLineSize
, METH_VARARGS
| METH_KEYWORDS
},
31557 { (char *)"Slider_GetPageSize", (PyCFunction
) _wrap_Slider_GetPageSize
, METH_VARARGS
| METH_KEYWORDS
},
31558 { (char *)"Slider_SetThumbLength", (PyCFunction
) _wrap_Slider_SetThumbLength
, METH_VARARGS
| METH_KEYWORDS
},
31559 { (char *)"Slider_GetThumbLength", (PyCFunction
) _wrap_Slider_GetThumbLength
, METH_VARARGS
| METH_KEYWORDS
},
31560 { (char *)"Slider_SetTickFreq", (PyCFunction
) _wrap_Slider_SetTickFreq
, METH_VARARGS
| METH_KEYWORDS
},
31561 { (char *)"Slider_GetTickFreq", (PyCFunction
) _wrap_Slider_GetTickFreq
, METH_VARARGS
| METH_KEYWORDS
},
31562 { (char *)"Slider_ClearTicks", (PyCFunction
) _wrap_Slider_ClearTicks
, METH_VARARGS
| METH_KEYWORDS
},
31563 { (char *)"Slider_SetTick", (PyCFunction
) _wrap_Slider_SetTick
, METH_VARARGS
| METH_KEYWORDS
},
31564 { (char *)"Slider_ClearSel", (PyCFunction
) _wrap_Slider_ClearSel
, METH_VARARGS
| METH_KEYWORDS
},
31565 { (char *)"Slider_GetSelEnd", (PyCFunction
) _wrap_Slider_GetSelEnd
, METH_VARARGS
| METH_KEYWORDS
},
31566 { (char *)"Slider_GetSelStart", (PyCFunction
) _wrap_Slider_GetSelStart
, METH_VARARGS
| METH_KEYWORDS
},
31567 { (char *)"Slider_SetSelection", (PyCFunction
) _wrap_Slider_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
31568 { (char *)"Slider_GetClassDefaultAttributes", (PyCFunction
) _wrap_Slider_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31569 { (char *)"Slider_swigregister", Slider_swigregister
, METH_VARARGS
},
31570 { (char *)"new_ToggleButton", (PyCFunction
) _wrap_new_ToggleButton
, METH_VARARGS
| METH_KEYWORDS
},
31571 { (char *)"new_PreToggleButton", (PyCFunction
) _wrap_new_PreToggleButton
, METH_VARARGS
| METH_KEYWORDS
},
31572 { (char *)"ToggleButton_Create", (PyCFunction
) _wrap_ToggleButton_Create
, METH_VARARGS
| METH_KEYWORDS
},
31573 { (char *)"ToggleButton_SetValue", (PyCFunction
) _wrap_ToggleButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
31574 { (char *)"ToggleButton_GetValue", (PyCFunction
) _wrap_ToggleButton_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
31575 { (char *)"ToggleButton_SetLabel", (PyCFunction
) _wrap_ToggleButton_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
31576 { (char *)"ToggleButton_GetClassDefaultAttributes", (PyCFunction
) _wrap_ToggleButton_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31577 { (char *)"ToggleButton_swigregister", ToggleButton_swigregister
, METH_VARARGS
},
31578 { (char *)"BookCtrl_GetPageCount", (PyCFunction
) _wrap_BookCtrl_GetPageCount
, METH_VARARGS
| METH_KEYWORDS
},
31579 { (char *)"BookCtrl_GetPage", (PyCFunction
) _wrap_BookCtrl_GetPage
, METH_VARARGS
| METH_KEYWORDS
},
31580 { (char *)"BookCtrl_GetSelection", (PyCFunction
) _wrap_BookCtrl_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
31581 { (char *)"BookCtrl_SetPageText", (PyCFunction
) _wrap_BookCtrl_SetPageText
, METH_VARARGS
| METH_KEYWORDS
},
31582 { (char *)"BookCtrl_GetPageText", (PyCFunction
) _wrap_BookCtrl_GetPageText
, METH_VARARGS
| METH_KEYWORDS
},
31583 { (char *)"BookCtrl_SetImageList", (PyCFunction
) _wrap_BookCtrl_SetImageList
, METH_VARARGS
| METH_KEYWORDS
},
31584 { (char *)"BookCtrl_AssignImageList", (PyCFunction
) _wrap_BookCtrl_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
},
31585 { (char *)"BookCtrl_GetImageList", (PyCFunction
) _wrap_BookCtrl_GetImageList
, METH_VARARGS
| METH_KEYWORDS
},
31586 { (char *)"BookCtrl_GetPageImage", (PyCFunction
) _wrap_BookCtrl_GetPageImage
, METH_VARARGS
| METH_KEYWORDS
},
31587 { (char *)"BookCtrl_SetPageImage", (PyCFunction
) _wrap_BookCtrl_SetPageImage
, METH_VARARGS
| METH_KEYWORDS
},
31588 { (char *)"BookCtrl_SetPageSize", (PyCFunction
) _wrap_BookCtrl_SetPageSize
, METH_VARARGS
| METH_KEYWORDS
},
31589 { (char *)"BookCtrl_CalcSizeFromPage", (PyCFunction
) _wrap_BookCtrl_CalcSizeFromPage
, METH_VARARGS
| METH_KEYWORDS
},
31590 { (char *)"BookCtrl_DeletePage", (PyCFunction
) _wrap_BookCtrl_DeletePage
, METH_VARARGS
| METH_KEYWORDS
},
31591 { (char *)"BookCtrl_RemovePage", (PyCFunction
) _wrap_BookCtrl_RemovePage
, METH_VARARGS
| METH_KEYWORDS
},
31592 { (char *)"BookCtrl_DeleteAllPages", (PyCFunction
) _wrap_BookCtrl_DeleteAllPages
, METH_VARARGS
| METH_KEYWORDS
},
31593 { (char *)"BookCtrl_AddPage", (PyCFunction
) _wrap_BookCtrl_AddPage
, METH_VARARGS
| METH_KEYWORDS
},
31594 { (char *)"BookCtrl_InsertPage", (PyCFunction
) _wrap_BookCtrl_InsertPage
, METH_VARARGS
| METH_KEYWORDS
},
31595 { (char *)"BookCtrl_SetSelection", (PyCFunction
) _wrap_BookCtrl_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
31596 { (char *)"BookCtrl_AdvanceSelection", (PyCFunction
) _wrap_BookCtrl_AdvanceSelection
, METH_VARARGS
| METH_KEYWORDS
},
31597 { (char *)"BookCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_BookCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31598 { (char *)"BookCtrl_swigregister", BookCtrl_swigregister
, METH_VARARGS
},
31599 { (char *)"new_BookCtrlEvent", (PyCFunction
) _wrap_new_BookCtrlEvent
, METH_VARARGS
| METH_KEYWORDS
},
31600 { (char *)"BookCtrlEvent_GetSelection", (PyCFunction
) _wrap_BookCtrlEvent_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
31601 { (char *)"BookCtrlEvent_SetSelection", (PyCFunction
) _wrap_BookCtrlEvent_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
31602 { (char *)"BookCtrlEvent_GetOldSelection", (PyCFunction
) _wrap_BookCtrlEvent_GetOldSelection
, METH_VARARGS
| METH_KEYWORDS
},
31603 { (char *)"BookCtrlEvent_SetOldSelection", (PyCFunction
) _wrap_BookCtrlEvent_SetOldSelection
, METH_VARARGS
| METH_KEYWORDS
},
31604 { (char *)"BookCtrlEvent_swigregister", BookCtrlEvent_swigregister
, METH_VARARGS
},
31605 { (char *)"new_Notebook", (PyCFunction
) _wrap_new_Notebook
, METH_VARARGS
| METH_KEYWORDS
},
31606 { (char *)"new_PreNotebook", (PyCFunction
) _wrap_new_PreNotebook
, METH_VARARGS
| METH_KEYWORDS
},
31607 { (char *)"Notebook_Create", (PyCFunction
) _wrap_Notebook_Create
, METH_VARARGS
| METH_KEYWORDS
},
31608 { (char *)"Notebook_GetRowCount", (PyCFunction
) _wrap_Notebook_GetRowCount
, METH_VARARGS
| METH_KEYWORDS
},
31609 { (char *)"Notebook_SetPadding", (PyCFunction
) _wrap_Notebook_SetPadding
, METH_VARARGS
| METH_KEYWORDS
},
31610 { (char *)"Notebook_SetTabSize", (PyCFunction
) _wrap_Notebook_SetTabSize
, METH_VARARGS
| METH_KEYWORDS
},
31611 { (char *)"Notebook_HitTest", (PyCFunction
) _wrap_Notebook_HitTest
, METH_VARARGS
| METH_KEYWORDS
},
31612 { (char *)"Notebook_CalcSizeFromPage", (PyCFunction
) _wrap_Notebook_CalcSizeFromPage
, METH_VARARGS
| METH_KEYWORDS
},
31613 { (char *)"Notebook_GetClassDefaultAttributes", (PyCFunction
) _wrap_Notebook_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31614 { (char *)"Notebook_swigregister", Notebook_swigregister
, METH_VARARGS
},
31615 { (char *)"new_NotebookEvent", (PyCFunction
) _wrap_new_NotebookEvent
, METH_VARARGS
| METH_KEYWORDS
},
31616 { (char *)"NotebookEvent_swigregister", NotebookEvent_swigregister
, METH_VARARGS
},
31617 { (char *)"new_Listbook", (PyCFunction
) _wrap_new_Listbook
, METH_VARARGS
| METH_KEYWORDS
},
31618 { (char *)"new_PreListbook", (PyCFunction
) _wrap_new_PreListbook
, METH_VARARGS
| METH_KEYWORDS
},
31619 { (char *)"Listbook_Create", (PyCFunction
) _wrap_Listbook_Create
, METH_VARARGS
| METH_KEYWORDS
},
31620 { (char *)"Listbook_IsVertical", (PyCFunction
) _wrap_Listbook_IsVertical
, METH_VARARGS
| METH_KEYWORDS
},
31621 { (char *)"Listbook_swigregister", Listbook_swigregister
, METH_VARARGS
},
31622 { (char *)"new_ListbookEvent", (PyCFunction
) _wrap_new_ListbookEvent
, METH_VARARGS
| METH_KEYWORDS
},
31623 { (char *)"ListbookEvent_swigregister", ListbookEvent_swigregister
, METH_VARARGS
},
31624 { (char *)"new_BookCtrlSizer", (PyCFunction
) _wrap_new_BookCtrlSizer
, METH_VARARGS
| METH_KEYWORDS
},
31625 { (char *)"BookCtrlSizer_RecalcSizes", (PyCFunction
) _wrap_BookCtrlSizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
},
31626 { (char *)"BookCtrlSizer_CalcMin", (PyCFunction
) _wrap_BookCtrlSizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
},
31627 { (char *)"BookCtrlSizer_GetControl", (PyCFunction
) _wrap_BookCtrlSizer_GetControl
, METH_VARARGS
| METH_KEYWORDS
},
31628 { (char *)"BookCtrlSizer_swigregister", BookCtrlSizer_swigregister
, METH_VARARGS
},
31629 { (char *)"new_NotebookSizer", (PyCFunction
) _wrap_new_NotebookSizer
, METH_VARARGS
| METH_KEYWORDS
},
31630 { (char *)"NotebookSizer_RecalcSizes", (PyCFunction
) _wrap_NotebookSizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
},
31631 { (char *)"NotebookSizer_CalcMin", (PyCFunction
) _wrap_NotebookSizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
},
31632 { (char *)"NotebookSizer_GetNotebook", (PyCFunction
) _wrap_NotebookSizer_GetNotebook
, METH_VARARGS
| METH_KEYWORDS
},
31633 { (char *)"NotebookSizer_swigregister", NotebookSizer_swigregister
, METH_VARARGS
},
31634 { (char *)"ToolBarToolBase_GetId", (PyCFunction
) _wrap_ToolBarToolBase_GetId
, METH_VARARGS
| METH_KEYWORDS
},
31635 { (char *)"ToolBarToolBase_GetControl", (PyCFunction
) _wrap_ToolBarToolBase_GetControl
, METH_VARARGS
| METH_KEYWORDS
},
31636 { (char *)"ToolBarToolBase_GetToolBar", (PyCFunction
) _wrap_ToolBarToolBase_GetToolBar
, METH_VARARGS
| METH_KEYWORDS
},
31637 { (char *)"ToolBarToolBase_IsButton", (PyCFunction
) _wrap_ToolBarToolBase_IsButton
, METH_VARARGS
| METH_KEYWORDS
},
31638 { (char *)"ToolBarToolBase_IsControl", (PyCFunction
) _wrap_ToolBarToolBase_IsControl
, METH_VARARGS
| METH_KEYWORDS
},
31639 { (char *)"ToolBarToolBase_IsSeparator", (PyCFunction
) _wrap_ToolBarToolBase_IsSeparator
, METH_VARARGS
| METH_KEYWORDS
},
31640 { (char *)"ToolBarToolBase_GetStyle", (PyCFunction
) _wrap_ToolBarToolBase_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
31641 { (char *)"ToolBarToolBase_GetKind", (PyCFunction
) _wrap_ToolBarToolBase_GetKind
, METH_VARARGS
| METH_KEYWORDS
},
31642 { (char *)"ToolBarToolBase_IsEnabled", (PyCFunction
) _wrap_ToolBarToolBase_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
},
31643 { (char *)"ToolBarToolBase_IsToggled", (PyCFunction
) _wrap_ToolBarToolBase_IsToggled
, METH_VARARGS
| METH_KEYWORDS
},
31644 { (char *)"ToolBarToolBase_CanBeToggled", (PyCFunction
) _wrap_ToolBarToolBase_CanBeToggled
, METH_VARARGS
| METH_KEYWORDS
},
31645 { (char *)"ToolBarToolBase_GetNormalBitmap", (PyCFunction
) _wrap_ToolBarToolBase_GetNormalBitmap
, METH_VARARGS
| METH_KEYWORDS
},
31646 { (char *)"ToolBarToolBase_GetDisabledBitmap", (PyCFunction
) _wrap_ToolBarToolBase_GetDisabledBitmap
, METH_VARARGS
| METH_KEYWORDS
},
31647 { (char *)"ToolBarToolBase_GetBitmap", (PyCFunction
) _wrap_ToolBarToolBase_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
31648 { (char *)"ToolBarToolBase_GetLabel", (PyCFunction
) _wrap_ToolBarToolBase_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
31649 { (char *)"ToolBarToolBase_GetShortHelp", (PyCFunction
) _wrap_ToolBarToolBase_GetShortHelp
, METH_VARARGS
| METH_KEYWORDS
},
31650 { (char *)"ToolBarToolBase_GetLongHelp", (PyCFunction
) _wrap_ToolBarToolBase_GetLongHelp
, METH_VARARGS
| METH_KEYWORDS
},
31651 { (char *)"ToolBarToolBase_Enable", (PyCFunction
) _wrap_ToolBarToolBase_Enable
, METH_VARARGS
| METH_KEYWORDS
},
31652 { (char *)"ToolBarToolBase_Toggle", (PyCFunction
) _wrap_ToolBarToolBase_Toggle
, METH_VARARGS
| METH_KEYWORDS
},
31653 { (char *)"ToolBarToolBase_SetToggle", (PyCFunction
) _wrap_ToolBarToolBase_SetToggle
, METH_VARARGS
| METH_KEYWORDS
},
31654 { (char *)"ToolBarToolBase_SetShortHelp", (PyCFunction
) _wrap_ToolBarToolBase_SetShortHelp
, METH_VARARGS
| METH_KEYWORDS
},
31655 { (char *)"ToolBarToolBase_SetLongHelp", (PyCFunction
) _wrap_ToolBarToolBase_SetLongHelp
, METH_VARARGS
| METH_KEYWORDS
},
31656 { (char *)"ToolBarToolBase_SetNormalBitmap", (PyCFunction
) _wrap_ToolBarToolBase_SetNormalBitmap
, METH_VARARGS
| METH_KEYWORDS
},
31657 { (char *)"ToolBarToolBase_SetDisabledBitmap", (PyCFunction
) _wrap_ToolBarToolBase_SetDisabledBitmap
, METH_VARARGS
| METH_KEYWORDS
},
31658 { (char *)"ToolBarToolBase_SetLabel", (PyCFunction
) _wrap_ToolBarToolBase_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
31659 { (char *)"ToolBarToolBase_Detach", (PyCFunction
) _wrap_ToolBarToolBase_Detach
, METH_VARARGS
| METH_KEYWORDS
},
31660 { (char *)"ToolBarToolBase_Attach", (PyCFunction
) _wrap_ToolBarToolBase_Attach
, METH_VARARGS
| METH_KEYWORDS
},
31661 { (char *)"ToolBarToolBase_GetClientData", (PyCFunction
) _wrap_ToolBarToolBase_GetClientData
, METH_VARARGS
| METH_KEYWORDS
},
31662 { (char *)"ToolBarToolBase_SetClientData", (PyCFunction
) _wrap_ToolBarToolBase_SetClientData
, METH_VARARGS
| METH_KEYWORDS
},
31663 { (char *)"ToolBarToolBase_swigregister", ToolBarToolBase_swigregister
, METH_VARARGS
},
31664 { (char *)"ToolBarBase_DoAddTool", (PyCFunction
) _wrap_ToolBarBase_DoAddTool
, METH_VARARGS
| METH_KEYWORDS
},
31665 { (char *)"ToolBarBase_DoInsertTool", (PyCFunction
) _wrap_ToolBarBase_DoInsertTool
, METH_VARARGS
| METH_KEYWORDS
},
31666 { (char *)"ToolBarBase_AddToolItem", (PyCFunction
) _wrap_ToolBarBase_AddToolItem
, METH_VARARGS
| METH_KEYWORDS
},
31667 { (char *)"ToolBarBase_InsertToolItem", (PyCFunction
) _wrap_ToolBarBase_InsertToolItem
, METH_VARARGS
| METH_KEYWORDS
},
31668 { (char *)"ToolBarBase_AddControl", (PyCFunction
) _wrap_ToolBarBase_AddControl
, METH_VARARGS
| METH_KEYWORDS
},
31669 { (char *)"ToolBarBase_InsertControl", (PyCFunction
) _wrap_ToolBarBase_InsertControl
, METH_VARARGS
| METH_KEYWORDS
},
31670 { (char *)"ToolBarBase_FindControl", (PyCFunction
) _wrap_ToolBarBase_FindControl
, METH_VARARGS
| METH_KEYWORDS
},
31671 { (char *)"ToolBarBase_AddSeparator", (PyCFunction
) _wrap_ToolBarBase_AddSeparator
, METH_VARARGS
| METH_KEYWORDS
},
31672 { (char *)"ToolBarBase_InsertSeparator", (PyCFunction
) _wrap_ToolBarBase_InsertSeparator
, METH_VARARGS
| METH_KEYWORDS
},
31673 { (char *)"ToolBarBase_RemoveTool", (PyCFunction
) _wrap_ToolBarBase_RemoveTool
, METH_VARARGS
| METH_KEYWORDS
},
31674 { (char *)"ToolBarBase_DeleteToolByPos", (PyCFunction
) _wrap_ToolBarBase_DeleteToolByPos
, METH_VARARGS
| METH_KEYWORDS
},
31675 { (char *)"ToolBarBase_DeleteTool", (PyCFunction
) _wrap_ToolBarBase_DeleteTool
, METH_VARARGS
| METH_KEYWORDS
},
31676 { (char *)"ToolBarBase_ClearTools", (PyCFunction
) _wrap_ToolBarBase_ClearTools
, METH_VARARGS
| METH_KEYWORDS
},
31677 { (char *)"ToolBarBase_Realize", (PyCFunction
) _wrap_ToolBarBase_Realize
, METH_VARARGS
| METH_KEYWORDS
},
31678 { (char *)"ToolBarBase_EnableTool", (PyCFunction
) _wrap_ToolBarBase_EnableTool
, METH_VARARGS
| METH_KEYWORDS
},
31679 { (char *)"ToolBarBase_ToggleTool", (PyCFunction
) _wrap_ToolBarBase_ToggleTool
, METH_VARARGS
| METH_KEYWORDS
},
31680 { (char *)"ToolBarBase_SetToggle", (PyCFunction
) _wrap_ToolBarBase_SetToggle
, METH_VARARGS
| METH_KEYWORDS
},
31681 { (char *)"ToolBarBase_GetToolClientData", (PyCFunction
) _wrap_ToolBarBase_GetToolClientData
, METH_VARARGS
| METH_KEYWORDS
},
31682 { (char *)"ToolBarBase_SetToolClientData", (PyCFunction
) _wrap_ToolBarBase_SetToolClientData
, METH_VARARGS
| METH_KEYWORDS
},
31683 { (char *)"ToolBarBase_GetToolPos", (PyCFunction
) _wrap_ToolBarBase_GetToolPos
, METH_VARARGS
| METH_KEYWORDS
},
31684 { (char *)"ToolBarBase_GetToolState", (PyCFunction
) _wrap_ToolBarBase_GetToolState
, METH_VARARGS
| METH_KEYWORDS
},
31685 { (char *)"ToolBarBase_GetToolEnabled", (PyCFunction
) _wrap_ToolBarBase_GetToolEnabled
, METH_VARARGS
| METH_KEYWORDS
},
31686 { (char *)"ToolBarBase_SetToolShortHelp", (PyCFunction
) _wrap_ToolBarBase_SetToolShortHelp
, METH_VARARGS
| METH_KEYWORDS
},
31687 { (char *)"ToolBarBase_GetToolShortHelp", (PyCFunction
) _wrap_ToolBarBase_GetToolShortHelp
, METH_VARARGS
| METH_KEYWORDS
},
31688 { (char *)"ToolBarBase_SetToolLongHelp", (PyCFunction
) _wrap_ToolBarBase_SetToolLongHelp
, METH_VARARGS
| METH_KEYWORDS
},
31689 { (char *)"ToolBarBase_GetToolLongHelp", (PyCFunction
) _wrap_ToolBarBase_GetToolLongHelp
, METH_VARARGS
| METH_KEYWORDS
},
31690 { (char *)"ToolBarBase_SetMarginsXY", (PyCFunction
) _wrap_ToolBarBase_SetMarginsXY
, METH_VARARGS
| METH_KEYWORDS
},
31691 { (char *)"ToolBarBase_SetMargins", (PyCFunction
) _wrap_ToolBarBase_SetMargins
, METH_VARARGS
| METH_KEYWORDS
},
31692 { (char *)"ToolBarBase_SetToolPacking", (PyCFunction
) _wrap_ToolBarBase_SetToolPacking
, METH_VARARGS
| METH_KEYWORDS
},
31693 { (char *)"ToolBarBase_SetToolSeparation", (PyCFunction
) _wrap_ToolBarBase_SetToolSeparation
, METH_VARARGS
| METH_KEYWORDS
},
31694 { (char *)"ToolBarBase_GetToolMargins", (PyCFunction
) _wrap_ToolBarBase_GetToolMargins
, METH_VARARGS
| METH_KEYWORDS
},
31695 { (char *)"ToolBarBase_GetMargins", (PyCFunction
) _wrap_ToolBarBase_GetMargins
, METH_VARARGS
| METH_KEYWORDS
},
31696 { (char *)"ToolBarBase_GetToolPacking", (PyCFunction
) _wrap_ToolBarBase_GetToolPacking
, METH_VARARGS
| METH_KEYWORDS
},
31697 { (char *)"ToolBarBase_GetToolSeparation", (PyCFunction
) _wrap_ToolBarBase_GetToolSeparation
, METH_VARARGS
| METH_KEYWORDS
},
31698 { (char *)"ToolBarBase_SetRows", (PyCFunction
) _wrap_ToolBarBase_SetRows
, METH_VARARGS
| METH_KEYWORDS
},
31699 { (char *)"ToolBarBase_SetMaxRowsCols", (PyCFunction
) _wrap_ToolBarBase_SetMaxRowsCols
, METH_VARARGS
| METH_KEYWORDS
},
31700 { (char *)"ToolBarBase_GetMaxRows", (PyCFunction
) _wrap_ToolBarBase_GetMaxRows
, METH_VARARGS
| METH_KEYWORDS
},
31701 { (char *)"ToolBarBase_GetMaxCols", (PyCFunction
) _wrap_ToolBarBase_GetMaxCols
, METH_VARARGS
| METH_KEYWORDS
},
31702 { (char *)"ToolBarBase_SetToolBitmapSize", (PyCFunction
) _wrap_ToolBarBase_SetToolBitmapSize
, METH_VARARGS
| METH_KEYWORDS
},
31703 { (char *)"ToolBarBase_GetToolBitmapSize", (PyCFunction
) _wrap_ToolBarBase_GetToolBitmapSize
, METH_VARARGS
| METH_KEYWORDS
},
31704 { (char *)"ToolBarBase_GetToolSize", (PyCFunction
) _wrap_ToolBarBase_GetToolSize
, METH_VARARGS
| METH_KEYWORDS
},
31705 { (char *)"ToolBarBase_FindToolForPosition", (PyCFunction
) _wrap_ToolBarBase_FindToolForPosition
, METH_VARARGS
| METH_KEYWORDS
},
31706 { (char *)"ToolBarBase_FindById", (PyCFunction
) _wrap_ToolBarBase_FindById
, METH_VARARGS
| METH_KEYWORDS
},
31707 { (char *)"ToolBarBase_IsVertical", (PyCFunction
) _wrap_ToolBarBase_IsVertical
, METH_VARARGS
| METH_KEYWORDS
},
31708 { (char *)"ToolBarBase_swigregister", ToolBarBase_swigregister
, METH_VARARGS
},
31709 { (char *)"new_ToolBar", (PyCFunction
) _wrap_new_ToolBar
, METH_VARARGS
| METH_KEYWORDS
},
31710 { (char *)"new_PreToolBar", (PyCFunction
) _wrap_new_PreToolBar
, METH_VARARGS
| METH_KEYWORDS
},
31711 { (char *)"ToolBar_Create", (PyCFunction
) _wrap_ToolBar_Create
, METH_VARARGS
| METH_KEYWORDS
},
31712 { (char *)"ToolBar_FindToolForPosition", (PyCFunction
) _wrap_ToolBar_FindToolForPosition
, METH_VARARGS
| METH_KEYWORDS
},
31713 { (char *)"ToolBar_GetClassDefaultAttributes", (PyCFunction
) _wrap_ToolBar_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31714 { (char *)"ToolBar_swigregister", ToolBar_swigregister
, METH_VARARGS
},
31715 { (char *)"new_ListItemAttr", (PyCFunction
) _wrap_new_ListItemAttr
, METH_VARARGS
| METH_KEYWORDS
},
31716 { (char *)"ListItemAttr_SetTextColour", (PyCFunction
) _wrap_ListItemAttr_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
31717 { (char *)"ListItemAttr_SetBackgroundColour", (PyCFunction
) _wrap_ListItemAttr_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
31718 { (char *)"ListItemAttr_SetFont", (PyCFunction
) _wrap_ListItemAttr_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
31719 { (char *)"ListItemAttr_HasTextColour", (PyCFunction
) _wrap_ListItemAttr_HasTextColour
, METH_VARARGS
| METH_KEYWORDS
},
31720 { (char *)"ListItemAttr_HasBackgroundColour", (PyCFunction
) _wrap_ListItemAttr_HasBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
31721 { (char *)"ListItemAttr_HasFont", (PyCFunction
) _wrap_ListItemAttr_HasFont
, METH_VARARGS
| METH_KEYWORDS
},
31722 { (char *)"ListItemAttr_GetTextColour", (PyCFunction
) _wrap_ListItemAttr_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
31723 { (char *)"ListItemAttr_GetBackgroundColour", (PyCFunction
) _wrap_ListItemAttr_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
31724 { (char *)"ListItemAttr_GetFont", (PyCFunction
) _wrap_ListItemAttr_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
31725 { (char *)"ListItemAttr_Destroy", (PyCFunction
) _wrap_ListItemAttr_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
31726 { (char *)"ListItemAttr_swigregister", ListItemAttr_swigregister
, METH_VARARGS
},
31727 { (char *)"new_ListItem", (PyCFunction
) _wrap_new_ListItem
, METH_VARARGS
| METH_KEYWORDS
},
31728 { (char *)"delete_ListItem", (PyCFunction
) _wrap_delete_ListItem
, METH_VARARGS
| METH_KEYWORDS
},
31729 { (char *)"ListItem_Clear", (PyCFunction
) _wrap_ListItem_Clear
, METH_VARARGS
| METH_KEYWORDS
},
31730 { (char *)"ListItem_ClearAttributes", (PyCFunction
) _wrap_ListItem_ClearAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31731 { (char *)"ListItem_SetMask", (PyCFunction
) _wrap_ListItem_SetMask
, METH_VARARGS
| METH_KEYWORDS
},
31732 { (char *)"ListItem_SetId", (PyCFunction
) _wrap_ListItem_SetId
, METH_VARARGS
| METH_KEYWORDS
},
31733 { (char *)"ListItem_SetColumn", (PyCFunction
) _wrap_ListItem_SetColumn
, METH_VARARGS
| METH_KEYWORDS
},
31734 { (char *)"ListItem_SetState", (PyCFunction
) _wrap_ListItem_SetState
, METH_VARARGS
| METH_KEYWORDS
},
31735 { (char *)"ListItem_SetStateMask", (PyCFunction
) _wrap_ListItem_SetStateMask
, METH_VARARGS
| METH_KEYWORDS
},
31736 { (char *)"ListItem_SetText", (PyCFunction
) _wrap_ListItem_SetText
, METH_VARARGS
| METH_KEYWORDS
},
31737 { (char *)"ListItem_SetImage", (PyCFunction
) _wrap_ListItem_SetImage
, METH_VARARGS
| METH_KEYWORDS
},
31738 { (char *)"ListItem_SetData", (PyCFunction
) _wrap_ListItem_SetData
, METH_VARARGS
| METH_KEYWORDS
},
31739 { (char *)"ListItem_SetWidth", (PyCFunction
) _wrap_ListItem_SetWidth
, METH_VARARGS
| METH_KEYWORDS
},
31740 { (char *)"ListItem_SetAlign", (PyCFunction
) _wrap_ListItem_SetAlign
, METH_VARARGS
| METH_KEYWORDS
},
31741 { (char *)"ListItem_SetTextColour", (PyCFunction
) _wrap_ListItem_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
31742 { (char *)"ListItem_SetBackgroundColour", (PyCFunction
) _wrap_ListItem_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
31743 { (char *)"ListItem_SetFont", (PyCFunction
) _wrap_ListItem_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
31744 { (char *)"ListItem_GetMask", (PyCFunction
) _wrap_ListItem_GetMask
, METH_VARARGS
| METH_KEYWORDS
},
31745 { (char *)"ListItem_GetId", (PyCFunction
) _wrap_ListItem_GetId
, METH_VARARGS
| METH_KEYWORDS
},
31746 { (char *)"ListItem_GetColumn", (PyCFunction
) _wrap_ListItem_GetColumn
, METH_VARARGS
| METH_KEYWORDS
},
31747 { (char *)"ListItem_GetState", (PyCFunction
) _wrap_ListItem_GetState
, METH_VARARGS
| METH_KEYWORDS
},
31748 { (char *)"ListItem_GetText", (PyCFunction
) _wrap_ListItem_GetText
, METH_VARARGS
| METH_KEYWORDS
},
31749 { (char *)"ListItem_GetImage", (PyCFunction
) _wrap_ListItem_GetImage
, METH_VARARGS
| METH_KEYWORDS
},
31750 { (char *)"ListItem_GetData", (PyCFunction
) _wrap_ListItem_GetData
, METH_VARARGS
| METH_KEYWORDS
},
31751 { (char *)"ListItem_GetWidth", (PyCFunction
) _wrap_ListItem_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
31752 { (char *)"ListItem_GetAlign", (PyCFunction
) _wrap_ListItem_GetAlign
, METH_VARARGS
| METH_KEYWORDS
},
31753 { (char *)"ListItem_GetAttributes", (PyCFunction
) _wrap_ListItem_GetAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31754 { (char *)"ListItem_HasAttributes", (PyCFunction
) _wrap_ListItem_HasAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31755 { (char *)"ListItem_GetTextColour", (PyCFunction
) _wrap_ListItem_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
31756 { (char *)"ListItem_GetBackgroundColour", (PyCFunction
) _wrap_ListItem_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
31757 { (char *)"ListItem_GetFont", (PyCFunction
) _wrap_ListItem_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
31758 { (char *)"ListItem_m_mask_set", (PyCFunction
) _wrap_ListItem_m_mask_set
, METH_VARARGS
| METH_KEYWORDS
},
31759 { (char *)"ListItem_m_mask_get", (PyCFunction
) _wrap_ListItem_m_mask_get
, METH_VARARGS
| METH_KEYWORDS
},
31760 { (char *)"ListItem_m_itemId_set", (PyCFunction
) _wrap_ListItem_m_itemId_set
, METH_VARARGS
| METH_KEYWORDS
},
31761 { (char *)"ListItem_m_itemId_get", (PyCFunction
) _wrap_ListItem_m_itemId_get
, METH_VARARGS
| METH_KEYWORDS
},
31762 { (char *)"ListItem_m_col_set", (PyCFunction
) _wrap_ListItem_m_col_set
, METH_VARARGS
| METH_KEYWORDS
},
31763 { (char *)"ListItem_m_col_get", (PyCFunction
) _wrap_ListItem_m_col_get
, METH_VARARGS
| METH_KEYWORDS
},
31764 { (char *)"ListItem_m_state_set", (PyCFunction
) _wrap_ListItem_m_state_set
, METH_VARARGS
| METH_KEYWORDS
},
31765 { (char *)"ListItem_m_state_get", (PyCFunction
) _wrap_ListItem_m_state_get
, METH_VARARGS
| METH_KEYWORDS
},
31766 { (char *)"ListItem_m_stateMask_set", (PyCFunction
) _wrap_ListItem_m_stateMask_set
, METH_VARARGS
| METH_KEYWORDS
},
31767 { (char *)"ListItem_m_stateMask_get", (PyCFunction
) _wrap_ListItem_m_stateMask_get
, METH_VARARGS
| METH_KEYWORDS
},
31768 { (char *)"ListItem_m_text_set", (PyCFunction
) _wrap_ListItem_m_text_set
, METH_VARARGS
| METH_KEYWORDS
},
31769 { (char *)"ListItem_m_text_get", (PyCFunction
) _wrap_ListItem_m_text_get
, METH_VARARGS
| METH_KEYWORDS
},
31770 { (char *)"ListItem_m_image_set", (PyCFunction
) _wrap_ListItem_m_image_set
, METH_VARARGS
| METH_KEYWORDS
},
31771 { (char *)"ListItem_m_image_get", (PyCFunction
) _wrap_ListItem_m_image_get
, METH_VARARGS
| METH_KEYWORDS
},
31772 { (char *)"ListItem_m_data_set", (PyCFunction
) _wrap_ListItem_m_data_set
, METH_VARARGS
| METH_KEYWORDS
},
31773 { (char *)"ListItem_m_data_get", (PyCFunction
) _wrap_ListItem_m_data_get
, METH_VARARGS
| METH_KEYWORDS
},
31774 { (char *)"ListItem_m_format_set", (PyCFunction
) _wrap_ListItem_m_format_set
, METH_VARARGS
| METH_KEYWORDS
},
31775 { (char *)"ListItem_m_format_get", (PyCFunction
) _wrap_ListItem_m_format_get
, METH_VARARGS
| METH_KEYWORDS
},
31776 { (char *)"ListItem_m_width_set", (PyCFunction
) _wrap_ListItem_m_width_set
, METH_VARARGS
| METH_KEYWORDS
},
31777 { (char *)"ListItem_m_width_get", (PyCFunction
) _wrap_ListItem_m_width_get
, METH_VARARGS
| METH_KEYWORDS
},
31778 { (char *)"ListItem_swigregister", ListItem_swigregister
, METH_VARARGS
},
31779 { (char *)"new_ListEvent", (PyCFunction
) _wrap_new_ListEvent
, METH_VARARGS
| METH_KEYWORDS
},
31780 { (char *)"ListEvent_m_code_set", (PyCFunction
) _wrap_ListEvent_m_code_set
, METH_VARARGS
| METH_KEYWORDS
},
31781 { (char *)"ListEvent_m_code_get", (PyCFunction
) _wrap_ListEvent_m_code_get
, METH_VARARGS
| METH_KEYWORDS
},
31782 { (char *)"ListEvent_m_oldItemIndex_set", (PyCFunction
) _wrap_ListEvent_m_oldItemIndex_set
, METH_VARARGS
| METH_KEYWORDS
},
31783 { (char *)"ListEvent_m_oldItemIndex_get", (PyCFunction
) _wrap_ListEvent_m_oldItemIndex_get
, METH_VARARGS
| METH_KEYWORDS
},
31784 { (char *)"ListEvent_m_itemIndex_set", (PyCFunction
) _wrap_ListEvent_m_itemIndex_set
, METH_VARARGS
| METH_KEYWORDS
},
31785 { (char *)"ListEvent_m_itemIndex_get", (PyCFunction
) _wrap_ListEvent_m_itemIndex_get
, METH_VARARGS
| METH_KEYWORDS
},
31786 { (char *)"ListEvent_m_col_set", (PyCFunction
) _wrap_ListEvent_m_col_set
, METH_VARARGS
| METH_KEYWORDS
},
31787 { (char *)"ListEvent_m_col_get", (PyCFunction
) _wrap_ListEvent_m_col_get
, METH_VARARGS
| METH_KEYWORDS
},
31788 { (char *)"ListEvent_m_pointDrag_set", (PyCFunction
) _wrap_ListEvent_m_pointDrag_set
, METH_VARARGS
| METH_KEYWORDS
},
31789 { (char *)"ListEvent_m_pointDrag_get", (PyCFunction
) _wrap_ListEvent_m_pointDrag_get
, METH_VARARGS
| METH_KEYWORDS
},
31790 { (char *)"ListEvent_m_item_get", (PyCFunction
) _wrap_ListEvent_m_item_get
, METH_VARARGS
| METH_KEYWORDS
},
31791 { (char *)"ListEvent_GetKeyCode", (PyCFunction
) _wrap_ListEvent_GetKeyCode
, METH_VARARGS
| METH_KEYWORDS
},
31792 { (char *)"ListEvent_GetIndex", (PyCFunction
) _wrap_ListEvent_GetIndex
, METH_VARARGS
| METH_KEYWORDS
},
31793 { (char *)"ListEvent_GetColumn", (PyCFunction
) _wrap_ListEvent_GetColumn
, METH_VARARGS
| METH_KEYWORDS
},
31794 { (char *)"ListEvent_GetPoint", (PyCFunction
) _wrap_ListEvent_GetPoint
, METH_VARARGS
| METH_KEYWORDS
},
31795 { (char *)"ListEvent_GetLabel", (PyCFunction
) _wrap_ListEvent_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
31796 { (char *)"ListEvent_GetText", (PyCFunction
) _wrap_ListEvent_GetText
, METH_VARARGS
| METH_KEYWORDS
},
31797 { (char *)"ListEvent_GetImage", (PyCFunction
) _wrap_ListEvent_GetImage
, METH_VARARGS
| METH_KEYWORDS
},
31798 { (char *)"ListEvent_GetData", (PyCFunction
) _wrap_ListEvent_GetData
, METH_VARARGS
| METH_KEYWORDS
},
31799 { (char *)"ListEvent_GetMask", (PyCFunction
) _wrap_ListEvent_GetMask
, METH_VARARGS
| METH_KEYWORDS
},
31800 { (char *)"ListEvent_GetItem", (PyCFunction
) _wrap_ListEvent_GetItem
, METH_VARARGS
| METH_KEYWORDS
},
31801 { (char *)"ListEvent_GetCacheFrom", (PyCFunction
) _wrap_ListEvent_GetCacheFrom
, METH_VARARGS
| METH_KEYWORDS
},
31802 { (char *)"ListEvent_GetCacheTo", (PyCFunction
) _wrap_ListEvent_GetCacheTo
, METH_VARARGS
| METH_KEYWORDS
},
31803 { (char *)"ListEvent_IsEditCancelled", (PyCFunction
) _wrap_ListEvent_IsEditCancelled
, METH_VARARGS
| METH_KEYWORDS
},
31804 { (char *)"ListEvent_SetEditCanceled", (PyCFunction
) _wrap_ListEvent_SetEditCanceled
, METH_VARARGS
| METH_KEYWORDS
},
31805 { (char *)"ListEvent_swigregister", ListEvent_swigregister
, METH_VARARGS
},
31806 { (char *)"new_ListCtrl", (PyCFunction
) _wrap_new_ListCtrl
, METH_VARARGS
| METH_KEYWORDS
},
31807 { (char *)"new_PreListCtrl", (PyCFunction
) _wrap_new_PreListCtrl
, METH_VARARGS
| METH_KEYWORDS
},
31808 { (char *)"ListCtrl_Create", (PyCFunction
) _wrap_ListCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
},
31809 { (char *)"ListCtrl__setCallbackInfo", (PyCFunction
) _wrap_ListCtrl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
31810 { (char *)"ListCtrl_SetForegroundColour", (PyCFunction
) _wrap_ListCtrl_SetForegroundColour
, METH_VARARGS
| METH_KEYWORDS
},
31811 { (char *)"ListCtrl_SetBackgroundColour", (PyCFunction
) _wrap_ListCtrl_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
31812 { (char *)"ListCtrl_GetColumn", (PyCFunction
) _wrap_ListCtrl_GetColumn
, METH_VARARGS
| METH_KEYWORDS
},
31813 { (char *)"ListCtrl_SetColumn", (PyCFunction
) _wrap_ListCtrl_SetColumn
, METH_VARARGS
| METH_KEYWORDS
},
31814 { (char *)"ListCtrl_GetColumnWidth", (PyCFunction
) _wrap_ListCtrl_GetColumnWidth
, METH_VARARGS
| METH_KEYWORDS
},
31815 { (char *)"ListCtrl_SetColumnWidth", (PyCFunction
) _wrap_ListCtrl_SetColumnWidth
, METH_VARARGS
| METH_KEYWORDS
},
31816 { (char *)"ListCtrl_GetCountPerPage", (PyCFunction
) _wrap_ListCtrl_GetCountPerPage
, METH_VARARGS
| METH_KEYWORDS
},
31817 { (char *)"ListCtrl_GetViewRect", (PyCFunction
) _wrap_ListCtrl_GetViewRect
, METH_VARARGS
| METH_KEYWORDS
},
31818 { (char *)"ListCtrl_GetItem", (PyCFunction
) _wrap_ListCtrl_GetItem
, METH_VARARGS
| METH_KEYWORDS
},
31819 { (char *)"ListCtrl_SetItem", (PyCFunction
) _wrap_ListCtrl_SetItem
, METH_VARARGS
| METH_KEYWORDS
},
31820 { (char *)"ListCtrl_SetStringItem", (PyCFunction
) _wrap_ListCtrl_SetStringItem
, METH_VARARGS
| METH_KEYWORDS
},
31821 { (char *)"ListCtrl_GetItemState", (PyCFunction
) _wrap_ListCtrl_GetItemState
, METH_VARARGS
| METH_KEYWORDS
},
31822 { (char *)"ListCtrl_SetItemState", (PyCFunction
) _wrap_ListCtrl_SetItemState
, METH_VARARGS
| METH_KEYWORDS
},
31823 { (char *)"ListCtrl_SetItemImage", (PyCFunction
) _wrap_ListCtrl_SetItemImage
, METH_VARARGS
| METH_KEYWORDS
},
31824 { (char *)"ListCtrl_GetItemText", (PyCFunction
) _wrap_ListCtrl_GetItemText
, METH_VARARGS
| METH_KEYWORDS
},
31825 { (char *)"ListCtrl_SetItemText", (PyCFunction
) _wrap_ListCtrl_SetItemText
, METH_VARARGS
| METH_KEYWORDS
},
31826 { (char *)"ListCtrl_GetItemData", (PyCFunction
) _wrap_ListCtrl_GetItemData
, METH_VARARGS
| METH_KEYWORDS
},
31827 { (char *)"ListCtrl_SetItemData", (PyCFunction
) _wrap_ListCtrl_SetItemData
, METH_VARARGS
| METH_KEYWORDS
},
31828 { (char *)"ListCtrl_GetItemPosition", (PyCFunction
) _wrap_ListCtrl_GetItemPosition
, METH_VARARGS
| METH_KEYWORDS
},
31829 { (char *)"ListCtrl_GetItemRect", (PyCFunction
) _wrap_ListCtrl_GetItemRect
, METH_VARARGS
| METH_KEYWORDS
},
31830 { (char *)"ListCtrl_SetItemPosition", (PyCFunction
) _wrap_ListCtrl_SetItemPosition
, METH_VARARGS
| METH_KEYWORDS
},
31831 { (char *)"ListCtrl_GetItemCount", (PyCFunction
) _wrap_ListCtrl_GetItemCount
, METH_VARARGS
| METH_KEYWORDS
},
31832 { (char *)"ListCtrl_GetColumnCount", (PyCFunction
) _wrap_ListCtrl_GetColumnCount
, METH_VARARGS
| METH_KEYWORDS
},
31833 { (char *)"ListCtrl_GetItemSpacing", (PyCFunction
) _wrap_ListCtrl_GetItemSpacing
, METH_VARARGS
| METH_KEYWORDS
},
31834 { (char *)"ListCtrl_SetItemSpacing", (PyCFunction
) _wrap_ListCtrl_SetItemSpacing
, METH_VARARGS
| METH_KEYWORDS
},
31835 { (char *)"ListCtrl_GetSelectedItemCount", (PyCFunction
) _wrap_ListCtrl_GetSelectedItemCount
, METH_VARARGS
| METH_KEYWORDS
},
31836 { (char *)"ListCtrl_GetTextColour", (PyCFunction
) _wrap_ListCtrl_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
31837 { (char *)"ListCtrl_SetTextColour", (PyCFunction
) _wrap_ListCtrl_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
31838 { (char *)"ListCtrl_GetTopItem", (PyCFunction
) _wrap_ListCtrl_GetTopItem
, METH_VARARGS
| METH_KEYWORDS
},
31839 { (char *)"ListCtrl_SetSingleStyle", (PyCFunction
) _wrap_ListCtrl_SetSingleStyle
, METH_VARARGS
| METH_KEYWORDS
},
31840 { (char *)"ListCtrl_SetWindowStyleFlag", (PyCFunction
) _wrap_ListCtrl_SetWindowStyleFlag
, METH_VARARGS
| METH_KEYWORDS
},
31841 { (char *)"ListCtrl_GetNextItem", (PyCFunction
) _wrap_ListCtrl_GetNextItem
, METH_VARARGS
| METH_KEYWORDS
},
31842 { (char *)"ListCtrl_GetImageList", (PyCFunction
) _wrap_ListCtrl_GetImageList
, METH_VARARGS
| METH_KEYWORDS
},
31843 { (char *)"ListCtrl_SetImageList", (PyCFunction
) _wrap_ListCtrl_SetImageList
, METH_VARARGS
| METH_KEYWORDS
},
31844 { (char *)"ListCtrl_AssignImageList", (PyCFunction
) _wrap_ListCtrl_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
},
31845 { (char *)"ListCtrl_InReportView", (PyCFunction
) _wrap_ListCtrl_InReportView
, METH_VARARGS
| METH_KEYWORDS
},
31846 { (char *)"ListCtrl_IsVirtual", (PyCFunction
) _wrap_ListCtrl_IsVirtual
, METH_VARARGS
| METH_KEYWORDS
},
31847 { (char *)"ListCtrl_RefreshItem", (PyCFunction
) _wrap_ListCtrl_RefreshItem
, METH_VARARGS
| METH_KEYWORDS
},
31848 { (char *)"ListCtrl_RefreshItems", (PyCFunction
) _wrap_ListCtrl_RefreshItems
, METH_VARARGS
| METH_KEYWORDS
},
31849 { (char *)"ListCtrl_Arrange", (PyCFunction
) _wrap_ListCtrl_Arrange
, METH_VARARGS
| METH_KEYWORDS
},
31850 { (char *)"ListCtrl_DeleteItem", (PyCFunction
) _wrap_ListCtrl_DeleteItem
, METH_VARARGS
| METH_KEYWORDS
},
31851 { (char *)"ListCtrl_DeleteAllItems", (PyCFunction
) _wrap_ListCtrl_DeleteAllItems
, METH_VARARGS
| METH_KEYWORDS
},
31852 { (char *)"ListCtrl_DeleteColumn", (PyCFunction
) _wrap_ListCtrl_DeleteColumn
, METH_VARARGS
| METH_KEYWORDS
},
31853 { (char *)"ListCtrl_DeleteAllColumns", (PyCFunction
) _wrap_ListCtrl_DeleteAllColumns
, METH_VARARGS
| METH_KEYWORDS
},
31854 { (char *)"ListCtrl_ClearAll", (PyCFunction
) _wrap_ListCtrl_ClearAll
, METH_VARARGS
| METH_KEYWORDS
},
31855 { (char *)"ListCtrl_EditLabel", (PyCFunction
) _wrap_ListCtrl_EditLabel
, METH_VARARGS
| METH_KEYWORDS
},
31856 { (char *)"ListCtrl_EnsureVisible", (PyCFunction
) _wrap_ListCtrl_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
},
31857 { (char *)"ListCtrl_FindItem", (PyCFunction
) _wrap_ListCtrl_FindItem
, METH_VARARGS
| METH_KEYWORDS
},
31858 { (char *)"ListCtrl_FindItemData", (PyCFunction
) _wrap_ListCtrl_FindItemData
, METH_VARARGS
| METH_KEYWORDS
},
31859 { (char *)"ListCtrl_FindItemAtPos", (PyCFunction
) _wrap_ListCtrl_FindItemAtPos
, METH_VARARGS
| METH_KEYWORDS
},
31860 { (char *)"ListCtrl_HitTest", (PyCFunction
) _wrap_ListCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
},
31861 { (char *)"ListCtrl_InsertItem", (PyCFunction
) _wrap_ListCtrl_InsertItem
, METH_VARARGS
| METH_KEYWORDS
},
31862 { (char *)"ListCtrl_InsertStringItem", (PyCFunction
) _wrap_ListCtrl_InsertStringItem
, METH_VARARGS
| METH_KEYWORDS
},
31863 { (char *)"ListCtrl_InsertImageItem", (PyCFunction
) _wrap_ListCtrl_InsertImageItem
, METH_VARARGS
| METH_KEYWORDS
},
31864 { (char *)"ListCtrl_InsertImageStringItem", (PyCFunction
) _wrap_ListCtrl_InsertImageStringItem
, METH_VARARGS
| METH_KEYWORDS
},
31865 { (char *)"ListCtrl_InsertColumnInfo", (PyCFunction
) _wrap_ListCtrl_InsertColumnInfo
, METH_VARARGS
| METH_KEYWORDS
},
31866 { (char *)"ListCtrl_InsertColumn", (PyCFunction
) _wrap_ListCtrl_InsertColumn
, METH_VARARGS
| METH_KEYWORDS
},
31867 { (char *)"ListCtrl_SetItemCount", (PyCFunction
) _wrap_ListCtrl_SetItemCount
, METH_VARARGS
| METH_KEYWORDS
},
31868 { (char *)"ListCtrl_ScrollList", (PyCFunction
) _wrap_ListCtrl_ScrollList
, METH_VARARGS
| METH_KEYWORDS
},
31869 { (char *)"ListCtrl_SetItemTextColour", (PyCFunction
) _wrap_ListCtrl_SetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
},
31870 { (char *)"ListCtrl_GetItemTextColour", (PyCFunction
) _wrap_ListCtrl_GetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
},
31871 { (char *)"ListCtrl_SetItemBackgroundColour", (PyCFunction
) _wrap_ListCtrl_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
31872 { (char *)"ListCtrl_GetItemBackgroundColour", (PyCFunction
) _wrap_ListCtrl_GetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
31873 { (char *)"ListCtrl_SortItems", (PyCFunction
) _wrap_ListCtrl_SortItems
, METH_VARARGS
| METH_KEYWORDS
},
31874 { (char *)"ListCtrl_GetMainWindow", (PyCFunction
) _wrap_ListCtrl_GetMainWindow
, METH_VARARGS
| METH_KEYWORDS
},
31875 { (char *)"ListCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_ListCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31876 { (char *)"ListCtrl_swigregister", ListCtrl_swigregister
, METH_VARARGS
},
31877 { (char *)"new_ListView", (PyCFunction
) _wrap_new_ListView
, METH_VARARGS
| METH_KEYWORDS
},
31878 { (char *)"new_PreListView", (PyCFunction
) _wrap_new_PreListView
, METH_VARARGS
| METH_KEYWORDS
},
31879 { (char *)"ListView_Create", (PyCFunction
) _wrap_ListView_Create
, METH_VARARGS
| METH_KEYWORDS
},
31880 { (char *)"ListView_Select", (PyCFunction
) _wrap_ListView_Select
, METH_VARARGS
| METH_KEYWORDS
},
31881 { (char *)"ListView_Focus", (PyCFunction
) _wrap_ListView_Focus
, METH_VARARGS
| METH_KEYWORDS
},
31882 { (char *)"ListView_GetFocusedItem", (PyCFunction
) _wrap_ListView_GetFocusedItem
, METH_VARARGS
| METH_KEYWORDS
},
31883 { (char *)"ListView_GetNextSelected", (PyCFunction
) _wrap_ListView_GetNextSelected
, METH_VARARGS
| METH_KEYWORDS
},
31884 { (char *)"ListView_GetFirstSelected", (PyCFunction
) _wrap_ListView_GetFirstSelected
, METH_VARARGS
| METH_KEYWORDS
},
31885 { (char *)"ListView_IsSelected", (PyCFunction
) _wrap_ListView_IsSelected
, METH_VARARGS
| METH_KEYWORDS
},
31886 { (char *)"ListView_SetColumnImage", (PyCFunction
) _wrap_ListView_SetColumnImage
, METH_VARARGS
| METH_KEYWORDS
},
31887 { (char *)"ListView_ClearColumnImage", (PyCFunction
) _wrap_ListView_ClearColumnImage
, METH_VARARGS
| METH_KEYWORDS
},
31888 { (char *)"ListView_swigregister", ListView_swigregister
, METH_VARARGS
},
31889 { (char *)"new_TreeItemId", (PyCFunction
) _wrap_new_TreeItemId
, METH_VARARGS
| METH_KEYWORDS
},
31890 { (char *)"delete_TreeItemId", (PyCFunction
) _wrap_delete_TreeItemId
, METH_VARARGS
| METH_KEYWORDS
},
31891 { (char *)"TreeItemId_IsOk", (PyCFunction
) _wrap_TreeItemId_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
31892 { (char *)"TreeItemId___eq__", (PyCFunction
) _wrap_TreeItemId___eq__
, METH_VARARGS
| METH_KEYWORDS
},
31893 { (char *)"TreeItemId___ne__", (PyCFunction
) _wrap_TreeItemId___ne__
, METH_VARARGS
| METH_KEYWORDS
},
31894 { (char *)"TreeItemId_m_pItem_set", (PyCFunction
) _wrap_TreeItemId_m_pItem_set
, METH_VARARGS
| METH_KEYWORDS
},
31895 { (char *)"TreeItemId_m_pItem_get", (PyCFunction
) _wrap_TreeItemId_m_pItem_get
, METH_VARARGS
| METH_KEYWORDS
},
31896 { (char *)"TreeItemId_swigregister", TreeItemId_swigregister
, METH_VARARGS
},
31897 { (char *)"new_TreeItemData", (PyCFunction
) _wrap_new_TreeItemData
, METH_VARARGS
| METH_KEYWORDS
},
31898 { (char *)"TreeItemData_GetData", (PyCFunction
) _wrap_TreeItemData_GetData
, METH_VARARGS
| METH_KEYWORDS
},
31899 { (char *)"TreeItemData_SetData", (PyCFunction
) _wrap_TreeItemData_SetData
, METH_VARARGS
| METH_KEYWORDS
},
31900 { (char *)"TreeItemData_GetId", (PyCFunction
) _wrap_TreeItemData_GetId
, METH_VARARGS
| METH_KEYWORDS
},
31901 { (char *)"TreeItemData_SetId", (PyCFunction
) _wrap_TreeItemData_SetId
, METH_VARARGS
| METH_KEYWORDS
},
31902 { (char *)"TreeItemData_Destroy", (PyCFunction
) _wrap_TreeItemData_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
31903 { (char *)"TreeItemData_swigregister", TreeItemData_swigregister
, METH_VARARGS
},
31904 { (char *)"new_TreeEvent", (PyCFunction
) _wrap_new_TreeEvent
, METH_VARARGS
| METH_KEYWORDS
},
31905 { (char *)"TreeEvent_GetItem", (PyCFunction
) _wrap_TreeEvent_GetItem
, METH_VARARGS
| METH_KEYWORDS
},
31906 { (char *)"TreeEvent_SetItem", (PyCFunction
) _wrap_TreeEvent_SetItem
, METH_VARARGS
| METH_KEYWORDS
},
31907 { (char *)"TreeEvent_GetOldItem", (PyCFunction
) _wrap_TreeEvent_GetOldItem
, METH_VARARGS
| METH_KEYWORDS
},
31908 { (char *)"TreeEvent_SetOldItem", (PyCFunction
) _wrap_TreeEvent_SetOldItem
, METH_VARARGS
| METH_KEYWORDS
},
31909 { (char *)"TreeEvent_GetPoint", (PyCFunction
) _wrap_TreeEvent_GetPoint
, METH_VARARGS
| METH_KEYWORDS
},
31910 { (char *)"TreeEvent_SetPoint", (PyCFunction
) _wrap_TreeEvent_SetPoint
, METH_VARARGS
| METH_KEYWORDS
},
31911 { (char *)"TreeEvent_GetKeyEvent", (PyCFunction
) _wrap_TreeEvent_GetKeyEvent
, METH_VARARGS
| METH_KEYWORDS
},
31912 { (char *)"TreeEvent_GetKeyCode", (PyCFunction
) _wrap_TreeEvent_GetKeyCode
, METH_VARARGS
| METH_KEYWORDS
},
31913 { (char *)"TreeEvent_SetKeyEvent", (PyCFunction
) _wrap_TreeEvent_SetKeyEvent
, METH_VARARGS
| METH_KEYWORDS
},
31914 { (char *)"TreeEvent_GetLabel", (PyCFunction
) _wrap_TreeEvent_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
31915 { (char *)"TreeEvent_SetLabel", (PyCFunction
) _wrap_TreeEvent_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
31916 { (char *)"TreeEvent_IsEditCancelled", (PyCFunction
) _wrap_TreeEvent_IsEditCancelled
, METH_VARARGS
| METH_KEYWORDS
},
31917 { (char *)"TreeEvent_SetEditCanceled", (PyCFunction
) _wrap_TreeEvent_SetEditCanceled
, METH_VARARGS
| METH_KEYWORDS
},
31918 { (char *)"TreeEvent_SetToolTip", (PyCFunction
) _wrap_TreeEvent_SetToolTip
, METH_VARARGS
| METH_KEYWORDS
},
31919 { (char *)"TreeEvent_swigregister", TreeEvent_swigregister
, METH_VARARGS
},
31920 { (char *)"new_TreeCtrl", (PyCFunction
) _wrap_new_TreeCtrl
, METH_VARARGS
| METH_KEYWORDS
},
31921 { (char *)"new_PreTreeCtrl", (PyCFunction
) _wrap_new_PreTreeCtrl
, METH_VARARGS
| METH_KEYWORDS
},
31922 { (char *)"TreeCtrl_Create", (PyCFunction
) _wrap_TreeCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
},
31923 { (char *)"TreeCtrl__setCallbackInfo", (PyCFunction
) _wrap_TreeCtrl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
31924 { (char *)"TreeCtrl_GetCount", (PyCFunction
) _wrap_TreeCtrl_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
31925 { (char *)"TreeCtrl_GetIndent", (PyCFunction
) _wrap_TreeCtrl_GetIndent
, METH_VARARGS
| METH_KEYWORDS
},
31926 { (char *)"TreeCtrl_SetIndent", (PyCFunction
) _wrap_TreeCtrl_SetIndent
, METH_VARARGS
| METH_KEYWORDS
},
31927 { (char *)"TreeCtrl_GetSpacing", (PyCFunction
) _wrap_TreeCtrl_GetSpacing
, METH_VARARGS
| METH_KEYWORDS
},
31928 { (char *)"TreeCtrl_SetSpacing", (PyCFunction
) _wrap_TreeCtrl_SetSpacing
, METH_VARARGS
| METH_KEYWORDS
},
31929 { (char *)"TreeCtrl_GetImageList", (PyCFunction
) _wrap_TreeCtrl_GetImageList
, METH_VARARGS
| METH_KEYWORDS
},
31930 { (char *)"TreeCtrl_GetStateImageList", (PyCFunction
) _wrap_TreeCtrl_GetStateImageList
, METH_VARARGS
| METH_KEYWORDS
},
31931 { (char *)"TreeCtrl_SetImageList", (PyCFunction
) _wrap_TreeCtrl_SetImageList
, METH_VARARGS
| METH_KEYWORDS
},
31932 { (char *)"TreeCtrl_SetStateImageList", (PyCFunction
) _wrap_TreeCtrl_SetStateImageList
, METH_VARARGS
| METH_KEYWORDS
},
31933 { (char *)"TreeCtrl_AssignImageList", (PyCFunction
) _wrap_TreeCtrl_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
},
31934 { (char *)"TreeCtrl_AssignStateImageList", (PyCFunction
) _wrap_TreeCtrl_AssignStateImageList
, METH_VARARGS
| METH_KEYWORDS
},
31935 { (char *)"TreeCtrl_GetItemText", (PyCFunction
) _wrap_TreeCtrl_GetItemText
, METH_VARARGS
| METH_KEYWORDS
},
31936 { (char *)"TreeCtrl_GetItemImage", (PyCFunction
) _wrap_TreeCtrl_GetItemImage
, METH_VARARGS
| METH_KEYWORDS
},
31937 { (char *)"TreeCtrl_GetItemData", (PyCFunction
) _wrap_TreeCtrl_GetItemData
, METH_VARARGS
| METH_KEYWORDS
},
31938 { (char *)"TreeCtrl_GetItemPyData", (PyCFunction
) _wrap_TreeCtrl_GetItemPyData
, METH_VARARGS
| METH_KEYWORDS
},
31939 { (char *)"TreeCtrl_GetItemTextColour", (PyCFunction
) _wrap_TreeCtrl_GetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
},
31940 { (char *)"TreeCtrl_GetItemBackgroundColour", (PyCFunction
) _wrap_TreeCtrl_GetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
31941 { (char *)"TreeCtrl_GetItemFont", (PyCFunction
) _wrap_TreeCtrl_GetItemFont
, METH_VARARGS
| METH_KEYWORDS
},
31942 { (char *)"TreeCtrl_SetItemText", (PyCFunction
) _wrap_TreeCtrl_SetItemText
, METH_VARARGS
| METH_KEYWORDS
},
31943 { (char *)"TreeCtrl_SetItemImage", (PyCFunction
) _wrap_TreeCtrl_SetItemImage
, METH_VARARGS
| METH_KEYWORDS
},
31944 { (char *)"TreeCtrl_SetItemData", (PyCFunction
) _wrap_TreeCtrl_SetItemData
, METH_VARARGS
| METH_KEYWORDS
},
31945 { (char *)"TreeCtrl_SetItemPyData", (PyCFunction
) _wrap_TreeCtrl_SetItemPyData
, METH_VARARGS
| METH_KEYWORDS
},
31946 { (char *)"TreeCtrl_SetItemHasChildren", (PyCFunction
) _wrap_TreeCtrl_SetItemHasChildren
, METH_VARARGS
| METH_KEYWORDS
},
31947 { (char *)"TreeCtrl_SetItemBold", (PyCFunction
) _wrap_TreeCtrl_SetItemBold
, METH_VARARGS
| METH_KEYWORDS
},
31948 { (char *)"TreeCtrl_SetItemTextColour", (PyCFunction
) _wrap_TreeCtrl_SetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
},
31949 { (char *)"TreeCtrl_SetItemBackgroundColour", (PyCFunction
) _wrap_TreeCtrl_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
31950 { (char *)"TreeCtrl_SetItemFont", (PyCFunction
) _wrap_TreeCtrl_SetItemFont
, METH_VARARGS
| METH_KEYWORDS
},
31951 { (char *)"TreeCtrl_IsVisible", (PyCFunction
) _wrap_TreeCtrl_IsVisible
, METH_VARARGS
| METH_KEYWORDS
},
31952 { (char *)"TreeCtrl_ItemHasChildren", (PyCFunction
) _wrap_TreeCtrl_ItemHasChildren
, METH_VARARGS
| METH_KEYWORDS
},
31953 { (char *)"TreeCtrl_IsExpanded", (PyCFunction
) _wrap_TreeCtrl_IsExpanded
, METH_VARARGS
| METH_KEYWORDS
},
31954 { (char *)"TreeCtrl_IsSelected", (PyCFunction
) _wrap_TreeCtrl_IsSelected
, METH_VARARGS
| METH_KEYWORDS
},
31955 { (char *)"TreeCtrl_IsBold", (PyCFunction
) _wrap_TreeCtrl_IsBold
, METH_VARARGS
| METH_KEYWORDS
},
31956 { (char *)"TreeCtrl_GetChildrenCount", (PyCFunction
) _wrap_TreeCtrl_GetChildrenCount
, METH_VARARGS
| METH_KEYWORDS
},
31957 { (char *)"TreeCtrl_GetRootItem", (PyCFunction
) _wrap_TreeCtrl_GetRootItem
, METH_VARARGS
| METH_KEYWORDS
},
31958 { (char *)"TreeCtrl_GetSelection", (PyCFunction
) _wrap_TreeCtrl_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
31959 { (char *)"TreeCtrl_GetSelections", (PyCFunction
) _wrap_TreeCtrl_GetSelections
, METH_VARARGS
| METH_KEYWORDS
},
31960 { (char *)"TreeCtrl_GetItemParent", (PyCFunction
) _wrap_TreeCtrl_GetItemParent
, METH_VARARGS
| METH_KEYWORDS
},
31961 { (char *)"TreeCtrl_GetFirstChild", (PyCFunction
) _wrap_TreeCtrl_GetFirstChild
, METH_VARARGS
| METH_KEYWORDS
},
31962 { (char *)"TreeCtrl_GetNextChild", (PyCFunction
) _wrap_TreeCtrl_GetNextChild
, METH_VARARGS
| METH_KEYWORDS
},
31963 { (char *)"TreeCtrl_GetLastChild", (PyCFunction
) _wrap_TreeCtrl_GetLastChild
, METH_VARARGS
| METH_KEYWORDS
},
31964 { (char *)"TreeCtrl_GetNextSibling", (PyCFunction
) _wrap_TreeCtrl_GetNextSibling
, METH_VARARGS
| METH_KEYWORDS
},
31965 { (char *)"TreeCtrl_GetPrevSibling", (PyCFunction
) _wrap_TreeCtrl_GetPrevSibling
, METH_VARARGS
| METH_KEYWORDS
},
31966 { (char *)"TreeCtrl_GetFirstVisibleItem", (PyCFunction
) _wrap_TreeCtrl_GetFirstVisibleItem
, METH_VARARGS
| METH_KEYWORDS
},
31967 { (char *)"TreeCtrl_GetNextVisible", (PyCFunction
) _wrap_TreeCtrl_GetNextVisible
, METH_VARARGS
| METH_KEYWORDS
},
31968 { (char *)"TreeCtrl_GetPrevVisible", (PyCFunction
) _wrap_TreeCtrl_GetPrevVisible
, METH_VARARGS
| METH_KEYWORDS
},
31969 { (char *)"TreeCtrl_AddRoot", (PyCFunction
) _wrap_TreeCtrl_AddRoot
, METH_VARARGS
| METH_KEYWORDS
},
31970 { (char *)"TreeCtrl_PrependItem", (PyCFunction
) _wrap_TreeCtrl_PrependItem
, METH_VARARGS
| METH_KEYWORDS
},
31971 { (char *)"TreeCtrl_InsertItem", (PyCFunction
) _wrap_TreeCtrl_InsertItem
, METH_VARARGS
| METH_KEYWORDS
},
31972 { (char *)"TreeCtrl_InsertItemBefore", (PyCFunction
) _wrap_TreeCtrl_InsertItemBefore
, METH_VARARGS
| METH_KEYWORDS
},
31973 { (char *)"TreeCtrl_AppendItem", (PyCFunction
) _wrap_TreeCtrl_AppendItem
, METH_VARARGS
| METH_KEYWORDS
},
31974 { (char *)"TreeCtrl_Delete", (PyCFunction
) _wrap_TreeCtrl_Delete
, METH_VARARGS
| METH_KEYWORDS
},
31975 { (char *)"TreeCtrl_DeleteChildren", (PyCFunction
) _wrap_TreeCtrl_DeleteChildren
, METH_VARARGS
| METH_KEYWORDS
},
31976 { (char *)"TreeCtrl_DeleteAllItems", (PyCFunction
) _wrap_TreeCtrl_DeleteAllItems
, METH_VARARGS
| METH_KEYWORDS
},
31977 { (char *)"TreeCtrl_Expand", (PyCFunction
) _wrap_TreeCtrl_Expand
, METH_VARARGS
| METH_KEYWORDS
},
31978 { (char *)"TreeCtrl_Collapse", (PyCFunction
) _wrap_TreeCtrl_Collapse
, METH_VARARGS
| METH_KEYWORDS
},
31979 { (char *)"TreeCtrl_CollapseAndReset", (PyCFunction
) _wrap_TreeCtrl_CollapseAndReset
, METH_VARARGS
| METH_KEYWORDS
},
31980 { (char *)"TreeCtrl_Toggle", (PyCFunction
) _wrap_TreeCtrl_Toggle
, METH_VARARGS
| METH_KEYWORDS
},
31981 { (char *)"TreeCtrl_Unselect", (PyCFunction
) _wrap_TreeCtrl_Unselect
, METH_VARARGS
| METH_KEYWORDS
},
31982 { (char *)"TreeCtrl_UnselectItem", (PyCFunction
) _wrap_TreeCtrl_UnselectItem
, METH_VARARGS
| METH_KEYWORDS
},
31983 { (char *)"TreeCtrl_UnselectAll", (PyCFunction
) _wrap_TreeCtrl_UnselectAll
, METH_VARARGS
| METH_KEYWORDS
},
31984 { (char *)"TreeCtrl_SelectItem", (PyCFunction
) _wrap_TreeCtrl_SelectItem
, METH_VARARGS
| METH_KEYWORDS
},
31985 { (char *)"TreeCtrl_ToggleItemSelection", (PyCFunction
) _wrap_TreeCtrl_ToggleItemSelection
, METH_VARARGS
| METH_KEYWORDS
},
31986 { (char *)"TreeCtrl_EnsureVisible", (PyCFunction
) _wrap_TreeCtrl_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
},
31987 { (char *)"TreeCtrl_ScrollTo", (PyCFunction
) _wrap_TreeCtrl_ScrollTo
, METH_VARARGS
| METH_KEYWORDS
},
31988 { (char *)"TreeCtrl_EditLabel", (PyCFunction
) _wrap_TreeCtrl_EditLabel
, METH_VARARGS
| METH_KEYWORDS
},
31989 { (char *)"TreeCtrl_GetEditControl", (PyCFunction
) _wrap_TreeCtrl_GetEditControl
, METH_VARARGS
| METH_KEYWORDS
},
31990 { (char *)"TreeCtrl_SortChildren", (PyCFunction
) _wrap_TreeCtrl_SortChildren
, METH_VARARGS
| METH_KEYWORDS
},
31991 { (char *)"TreeCtrl_HitTest", (PyCFunction
) _wrap_TreeCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
},
31992 { (char *)"TreeCtrl_GetBoundingRect", (PyCFunction
) _wrap_TreeCtrl_GetBoundingRect
, METH_VARARGS
| METH_KEYWORDS
},
31993 { (char *)"TreeCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_TreeCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31994 { (char *)"TreeCtrl_swigregister", TreeCtrl_swigregister
, METH_VARARGS
},
31995 { (char *)"new_GenericDirCtrl", (PyCFunction
) _wrap_new_GenericDirCtrl
, METH_VARARGS
| METH_KEYWORDS
},
31996 { (char *)"new_PreGenericDirCtrl", (PyCFunction
) _wrap_new_PreGenericDirCtrl
, METH_VARARGS
| METH_KEYWORDS
},
31997 { (char *)"GenericDirCtrl_Create", (PyCFunction
) _wrap_GenericDirCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
},
31998 { (char *)"GenericDirCtrl_ExpandPath", (PyCFunction
) _wrap_GenericDirCtrl_ExpandPath
, METH_VARARGS
| METH_KEYWORDS
},
31999 { (char *)"GenericDirCtrl_GetDefaultPath", (PyCFunction
) _wrap_GenericDirCtrl_GetDefaultPath
, METH_VARARGS
| METH_KEYWORDS
},
32000 { (char *)"GenericDirCtrl_SetDefaultPath", (PyCFunction
) _wrap_GenericDirCtrl_SetDefaultPath
, METH_VARARGS
| METH_KEYWORDS
},
32001 { (char *)"GenericDirCtrl_GetPath", (PyCFunction
) _wrap_GenericDirCtrl_GetPath
, METH_VARARGS
| METH_KEYWORDS
},
32002 { (char *)"GenericDirCtrl_GetFilePath", (PyCFunction
) _wrap_GenericDirCtrl_GetFilePath
, METH_VARARGS
| METH_KEYWORDS
},
32003 { (char *)"GenericDirCtrl_SetPath", (PyCFunction
) _wrap_GenericDirCtrl_SetPath
, METH_VARARGS
| METH_KEYWORDS
},
32004 { (char *)"GenericDirCtrl_ShowHidden", (PyCFunction
) _wrap_GenericDirCtrl_ShowHidden
, METH_VARARGS
| METH_KEYWORDS
},
32005 { (char *)"GenericDirCtrl_GetShowHidden", (PyCFunction
) _wrap_GenericDirCtrl_GetShowHidden
, METH_VARARGS
| METH_KEYWORDS
},
32006 { (char *)"GenericDirCtrl_GetFilter", (PyCFunction
) _wrap_GenericDirCtrl_GetFilter
, METH_VARARGS
| METH_KEYWORDS
},
32007 { (char *)"GenericDirCtrl_SetFilter", (PyCFunction
) _wrap_GenericDirCtrl_SetFilter
, METH_VARARGS
| METH_KEYWORDS
},
32008 { (char *)"GenericDirCtrl_GetFilterIndex", (PyCFunction
) _wrap_GenericDirCtrl_GetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
},
32009 { (char *)"GenericDirCtrl_SetFilterIndex", (PyCFunction
) _wrap_GenericDirCtrl_SetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
},
32010 { (char *)"GenericDirCtrl_GetRootId", (PyCFunction
) _wrap_GenericDirCtrl_GetRootId
, METH_VARARGS
| METH_KEYWORDS
},
32011 { (char *)"GenericDirCtrl_GetTreeCtrl", (PyCFunction
) _wrap_GenericDirCtrl_GetTreeCtrl
, METH_VARARGS
| METH_KEYWORDS
},
32012 { (char *)"GenericDirCtrl_GetFilterListCtrl", (PyCFunction
) _wrap_GenericDirCtrl_GetFilterListCtrl
, METH_VARARGS
| METH_KEYWORDS
},
32013 { (char *)"GenericDirCtrl_FindChild", (PyCFunction
) _wrap_GenericDirCtrl_FindChild
, METH_VARARGS
| METH_KEYWORDS
},
32014 { (char *)"GenericDirCtrl_DoResize", (PyCFunction
) _wrap_GenericDirCtrl_DoResize
, METH_VARARGS
| METH_KEYWORDS
},
32015 { (char *)"GenericDirCtrl_ReCreateTree", (PyCFunction
) _wrap_GenericDirCtrl_ReCreateTree
, METH_VARARGS
| METH_KEYWORDS
},
32016 { (char *)"GenericDirCtrl_swigregister", GenericDirCtrl_swigregister
, METH_VARARGS
},
32017 { (char *)"new_DirFilterListCtrl", (PyCFunction
) _wrap_new_DirFilterListCtrl
, METH_VARARGS
| METH_KEYWORDS
},
32018 { (char *)"new_PreDirFilterListCtrl", (PyCFunction
) _wrap_new_PreDirFilterListCtrl
, METH_VARARGS
| METH_KEYWORDS
},
32019 { (char *)"DirFilterListCtrl_Create", (PyCFunction
) _wrap_DirFilterListCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
},
32020 { (char *)"DirFilterListCtrl_FillFilterList", (PyCFunction
) _wrap_DirFilterListCtrl_FillFilterList
, METH_VARARGS
| METH_KEYWORDS
},
32021 { (char *)"DirFilterListCtrl_swigregister", DirFilterListCtrl_swigregister
, METH_VARARGS
},
32022 { (char *)"new_PyControl", (PyCFunction
) _wrap_new_PyControl
, METH_VARARGS
| METH_KEYWORDS
},
32023 { (char *)"new_PrePyControl", (PyCFunction
) _wrap_new_PrePyControl
, METH_VARARGS
| METH_KEYWORDS
},
32024 { (char *)"PyControl__setCallbackInfo", (PyCFunction
) _wrap_PyControl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
32025 { (char *)"PyControl_SetBestSize", (PyCFunction
) _wrap_PyControl_SetBestSize
, METH_VARARGS
| METH_KEYWORDS
},
32026 { (char *)"PyControl_base_DoMoveWindow", (PyCFunction
) _wrap_PyControl_base_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
},
32027 { (char *)"PyControl_base_DoSetSize", (PyCFunction
) _wrap_PyControl_base_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
},
32028 { (char *)"PyControl_base_DoSetClientSize", (PyCFunction
) _wrap_PyControl_base_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
32029 { (char *)"PyControl_base_DoSetVirtualSize", (PyCFunction
) _wrap_PyControl_base_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
32030 { (char *)"PyControl_base_DoGetSize", (PyCFunction
) _wrap_PyControl_base_DoGetSize
, METH_VARARGS
| METH_KEYWORDS
},
32031 { (char *)"PyControl_base_DoGetClientSize", (PyCFunction
) _wrap_PyControl_base_DoGetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
32032 { (char *)"PyControl_base_DoGetPosition", (PyCFunction
) _wrap_PyControl_base_DoGetPosition
, METH_VARARGS
| METH_KEYWORDS
},
32033 { (char *)"PyControl_base_DoGetVirtualSize", (PyCFunction
) _wrap_PyControl_base_DoGetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
32034 { (char *)"PyControl_base_DoGetBestSize", (PyCFunction
) _wrap_PyControl_base_DoGetBestSize
, METH_VARARGS
| METH_KEYWORDS
},
32035 { (char *)"PyControl_base_InitDialog", (PyCFunction
) _wrap_PyControl_base_InitDialog
, METH_VARARGS
| METH_KEYWORDS
},
32036 { (char *)"PyControl_base_TransferDataToWindow", (PyCFunction
) _wrap_PyControl_base_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
},
32037 { (char *)"PyControl_base_TransferDataFromWindow", (PyCFunction
) _wrap_PyControl_base_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
},
32038 { (char *)"PyControl_base_Validate", (PyCFunction
) _wrap_PyControl_base_Validate
, METH_VARARGS
| METH_KEYWORDS
},
32039 { (char *)"PyControl_base_AcceptsFocus", (PyCFunction
) _wrap_PyControl_base_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
},
32040 { (char *)"PyControl_base_AcceptsFocusFromKeyboard", (PyCFunction
) _wrap_PyControl_base_AcceptsFocusFromKeyboard
, METH_VARARGS
| METH_KEYWORDS
},
32041 { (char *)"PyControl_base_GetMaxSize", (PyCFunction
) _wrap_PyControl_base_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
},
32042 { (char *)"PyControl_base_AddChild", (PyCFunction
) _wrap_PyControl_base_AddChild
, METH_VARARGS
| METH_KEYWORDS
},
32043 { (char *)"PyControl_base_RemoveChild", (PyCFunction
) _wrap_PyControl_base_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
},
32044 { (char *)"PyControl_base_ShouldInheritColours", (PyCFunction
) _wrap_PyControl_base_ShouldInheritColours
, METH_VARARGS
| METH_KEYWORDS
},
32045 { (char *)"PyControl_base_ApplyParentThemeBackground", (PyCFunction
) _wrap_PyControl_base_ApplyParentThemeBackground
, METH_VARARGS
| METH_KEYWORDS
},
32046 { (char *)"PyControl_base_GetDefaultAttributes", (PyCFunction
) _wrap_PyControl_base_GetDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
32047 { (char *)"PyControl_swigregister", PyControl_swigregister
, METH_VARARGS
},
32048 { (char *)"new_HelpEvent", (PyCFunction
) _wrap_new_HelpEvent
, METH_VARARGS
| METH_KEYWORDS
},
32049 { (char *)"HelpEvent_GetPosition", (PyCFunction
) _wrap_HelpEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
32050 { (char *)"HelpEvent_SetPosition", (PyCFunction
) _wrap_HelpEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
},
32051 { (char *)"HelpEvent_GetLink", (PyCFunction
) _wrap_HelpEvent_GetLink
, METH_VARARGS
| METH_KEYWORDS
},
32052 { (char *)"HelpEvent_SetLink", (PyCFunction
) _wrap_HelpEvent_SetLink
, METH_VARARGS
| METH_KEYWORDS
},
32053 { (char *)"HelpEvent_GetTarget", (PyCFunction
) _wrap_HelpEvent_GetTarget
, METH_VARARGS
| METH_KEYWORDS
},
32054 { (char *)"HelpEvent_SetTarget", (PyCFunction
) _wrap_HelpEvent_SetTarget
, METH_VARARGS
| METH_KEYWORDS
},
32055 { (char *)"HelpEvent_swigregister", HelpEvent_swigregister
, METH_VARARGS
},
32056 { (char *)"new_ContextHelp", (PyCFunction
) _wrap_new_ContextHelp
, METH_VARARGS
| METH_KEYWORDS
},
32057 { (char *)"delete_ContextHelp", (PyCFunction
) _wrap_delete_ContextHelp
, METH_VARARGS
| METH_KEYWORDS
},
32058 { (char *)"ContextHelp_BeginContextHelp", (PyCFunction
) _wrap_ContextHelp_BeginContextHelp
, METH_VARARGS
| METH_KEYWORDS
},
32059 { (char *)"ContextHelp_EndContextHelp", (PyCFunction
) _wrap_ContextHelp_EndContextHelp
, METH_VARARGS
| METH_KEYWORDS
},
32060 { (char *)"ContextHelp_swigregister", ContextHelp_swigregister
, METH_VARARGS
},
32061 { (char *)"new_ContextHelpButton", (PyCFunction
) _wrap_new_ContextHelpButton
, METH_VARARGS
| METH_KEYWORDS
},
32062 { (char *)"ContextHelpButton_swigregister", ContextHelpButton_swigregister
, METH_VARARGS
},
32063 { (char *)"HelpProvider_Set", (PyCFunction
) _wrap_HelpProvider_Set
, METH_VARARGS
| METH_KEYWORDS
},
32064 { (char *)"HelpProvider_Get", (PyCFunction
) _wrap_HelpProvider_Get
, METH_VARARGS
| METH_KEYWORDS
},
32065 { (char *)"HelpProvider_GetHelp", (PyCFunction
) _wrap_HelpProvider_GetHelp
, METH_VARARGS
| METH_KEYWORDS
},
32066 { (char *)"HelpProvider_ShowHelp", (PyCFunction
) _wrap_HelpProvider_ShowHelp
, METH_VARARGS
| METH_KEYWORDS
},
32067 { (char *)"HelpProvider_AddHelp", (PyCFunction
) _wrap_HelpProvider_AddHelp
, METH_VARARGS
| METH_KEYWORDS
},
32068 { (char *)"HelpProvider_AddHelpById", (PyCFunction
) _wrap_HelpProvider_AddHelpById
, METH_VARARGS
| METH_KEYWORDS
},
32069 { (char *)"HelpProvider_RemoveHelp", (PyCFunction
) _wrap_HelpProvider_RemoveHelp
, METH_VARARGS
| METH_KEYWORDS
},
32070 { (char *)"HelpProvider_Destroy", (PyCFunction
) _wrap_HelpProvider_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
32071 { (char *)"HelpProvider_swigregister", HelpProvider_swigregister
, METH_VARARGS
},
32072 { (char *)"new_SimpleHelpProvider", (PyCFunction
) _wrap_new_SimpleHelpProvider
, METH_VARARGS
| METH_KEYWORDS
},
32073 { (char *)"SimpleHelpProvider_swigregister", SimpleHelpProvider_swigregister
, METH_VARARGS
},
32074 { (char *)"new_DragImage", (PyCFunction
) _wrap_new_DragImage
, METH_VARARGS
| METH_KEYWORDS
},
32075 { (char *)"new_DragIcon", (PyCFunction
) _wrap_new_DragIcon
, METH_VARARGS
| METH_KEYWORDS
},
32076 { (char *)"new_DragString", (PyCFunction
) _wrap_new_DragString
, METH_VARARGS
| METH_KEYWORDS
},
32077 { (char *)"new_DragTreeItem", (PyCFunction
) _wrap_new_DragTreeItem
, METH_VARARGS
| METH_KEYWORDS
},
32078 { (char *)"new_DragListItem", (PyCFunction
) _wrap_new_DragListItem
, METH_VARARGS
| METH_KEYWORDS
},
32079 { (char *)"delete_DragImage", (PyCFunction
) _wrap_delete_DragImage
, METH_VARARGS
| METH_KEYWORDS
},
32080 { (char *)"DragImage_SetBackingBitmap", (PyCFunction
) _wrap_DragImage_SetBackingBitmap
, METH_VARARGS
| METH_KEYWORDS
},
32081 { (char *)"DragImage_BeginDrag", (PyCFunction
) _wrap_DragImage_BeginDrag
, METH_VARARGS
| METH_KEYWORDS
},
32082 { (char *)"DragImage_BeginDragBounded", (PyCFunction
) _wrap_DragImage_BeginDragBounded
, METH_VARARGS
| METH_KEYWORDS
},
32083 { (char *)"DragImage_EndDrag", (PyCFunction
) _wrap_DragImage_EndDrag
, METH_VARARGS
| METH_KEYWORDS
},
32084 { (char *)"DragImage_Move", (PyCFunction
) _wrap_DragImage_Move
, METH_VARARGS
| METH_KEYWORDS
},
32085 { (char *)"DragImage_Show", (PyCFunction
) _wrap_DragImage_Show
, METH_VARARGS
| METH_KEYWORDS
},
32086 { (char *)"DragImage_Hide", (PyCFunction
) _wrap_DragImage_Hide
, METH_VARARGS
| METH_KEYWORDS
},
32087 { (char *)"DragImage_GetImageRect", (PyCFunction
) _wrap_DragImage_GetImageRect
, METH_VARARGS
| METH_KEYWORDS
},
32088 { (char *)"DragImage_DoDrawImage", (PyCFunction
) _wrap_DragImage_DoDrawImage
, METH_VARARGS
| METH_KEYWORDS
},
32089 { (char *)"DragImage_UpdateBackingFromWindow", (PyCFunction
) _wrap_DragImage_UpdateBackingFromWindow
, METH_VARARGS
| METH_KEYWORDS
},
32090 { (char *)"DragImage_RedrawImage", (PyCFunction
) _wrap_DragImage_RedrawImage
, METH_VARARGS
| METH_KEYWORDS
},
32091 { (char *)"DragImage_swigregister", DragImage_swigregister
, METH_VARARGS
},
32096 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
32098 static void *_p_wxNotebookEventTo_p_wxBookCtrlEvent(void *x
) {
32099 return (void *)((wxBookCtrlEvent
*) ((wxNotebookEvent
*) x
));
32101 static void *_p_wxListbookEventTo_p_wxBookCtrlEvent(void *x
) {
32102 return (void *)((wxBookCtrlEvent
*) ((wxListbookEvent
*) x
));
32104 static void *_p_wxBoxSizerTo_p_wxSizer(void *x
) {
32105 return (void *)((wxSizer
*) ((wxBoxSizer
*) x
));
32107 static void *_p_wxStaticBoxSizerTo_p_wxSizer(void *x
) {
32108 return (void *)((wxSizer
*) (wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
32110 static void *_p_wxGridBagSizerTo_p_wxSizer(void *x
) {
32111 return (void *)((wxSizer
*) (wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
32113 static void *_p_wxGridSizerTo_p_wxSizer(void *x
) {
32114 return (void *)((wxSizer
*) ((wxGridSizer
*) x
));
32116 static void *_p_wxFlexGridSizerTo_p_wxSizer(void *x
) {
32117 return (void *)((wxSizer
*) (wxGridSizer
*) ((wxFlexGridSizer
*) x
));
32119 static void *_p_wxNotebookSizerTo_p_wxSizer(void *x
) {
32120 return (void *)((wxSizer
*) ((wxNotebookSizer
*) x
));
32122 static void *_p_wxPySizerTo_p_wxSizer(void *x
) {
32123 return (void *)((wxSizer
*) ((wxPySizer
*) x
));
32125 static void *_p_wxBookCtrlSizerTo_p_wxSizer(void *x
) {
32126 return (void *)((wxSizer
*) ((wxBookCtrlSizer
*) x
));
32128 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
32129 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
32131 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
32132 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
32134 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
32135 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
32137 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
32138 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
32140 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
32141 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
32143 static void *_p_wxTreeEventTo_p_wxEvent(void *x
) {
32144 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxTreeEvent
*) x
));
32146 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
32147 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
32149 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
32150 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
32152 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
32153 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
32155 static void *_p_wxTextUrlEventTo_p_wxEvent(void *x
) {
32156 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
32158 static void *_p_wxBookCtrlEventTo_p_wxEvent(void *x
) {
32159 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxBookCtrlEvent
*) x
));
32161 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
32162 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
32164 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
32165 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
32167 static void *_p_wxListEventTo_p_wxEvent(void *x
) {
32168 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxListEvent
*) x
));
32170 static void *_p_wxNotebookEventTo_p_wxEvent(void *x
) {
32171 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlEvent
*) ((wxNotebookEvent
*) x
));
32173 static void *_p_wxListbookEventTo_p_wxEvent(void *x
) {
32174 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlEvent
*) ((wxListbookEvent
*) x
));
32176 static void *_p_wxHelpEventTo_p_wxEvent(void *x
) {
32177 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxHelpEvent
*) x
));
32179 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
32180 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
32182 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
32183 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
32185 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
32186 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
32188 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
32189 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
32191 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
32192 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
32194 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
32195 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
32197 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
32198 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
32200 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
32201 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
32203 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
32204 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
32206 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
32207 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
32209 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
32210 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
32212 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
32213 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
32215 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
32216 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
32218 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
32219 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
32221 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
32222 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
32224 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
32225 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
32227 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
32228 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
32230 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
32231 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
32233 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
32234 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
32236 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
32237 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
32239 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
32240 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
32242 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
32243 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
32245 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
32246 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
32248 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
32249 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
32251 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
32252 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
32254 static void *_p_wxSpinEventTo_p_wxEvent(void *x
) {
32255 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxSpinEvent
*) x
));
32257 static void *_p_wxComboBoxTo_p_wxItemContainer(void *x
) {
32258 return (void *)((wxItemContainer
*) ((wxComboBox
*) x
));
32260 static void *_p_wxDirFilterListCtrlTo_p_wxItemContainer(void *x
) {
32261 return (void *)((wxItemContainer
*) (wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
32263 static void *_p_wxChoiceTo_p_wxItemContainer(void *x
) {
32264 return (void *)((wxItemContainer
*) (wxControlWithItems
*) ((wxChoice
*) x
));
32266 static void *_p_wxControlWithItemsTo_p_wxItemContainer(void *x
) {
32267 return (void *)((wxItemContainer
*) ((wxControlWithItems
*) x
));
32269 static void *_p_wxListBoxTo_p_wxItemContainer(void *x
) {
32270 return (void *)((wxItemContainer
*) (wxControlWithItems
*) ((wxListBox
*) x
));
32272 static void *_p_wxCheckListBoxTo_p_wxItemContainer(void *x
) {
32273 return (void *)((wxItemContainer
*) (wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
32275 static void *_p_wxListViewTo_p_wxPyListCtrl(void *x
) {
32276 return (void *)((wxPyListCtrl
*) ((wxListView
*) x
));
32278 static void *_p_wxCheckListBoxTo_p_wxControl(void *x
) {
32279 return (void *)((wxControl
*) (wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
32281 static void *_p_wxListBoxTo_p_wxControl(void *x
) {
32282 return (void *)((wxControl
*) (wxControlWithItems
*) ((wxListBox
*) x
));
32284 static void *_p_wxChoiceTo_p_wxControl(void *x
) {
32285 return (void *)((wxControl
*) (wxControlWithItems
*) ((wxChoice
*) x
));
32287 static void *_p_wxToolBarTo_p_wxControl(void *x
) {
32288 return (void *)((wxControl
*) (wxToolBarBase
*) ((wxToolBar
*) x
));
32290 static void *_p_wxStaticBitmapTo_p_wxControl(void *x
) {
32291 return (void *)((wxControl
*) ((wxStaticBitmap
*) x
));
32293 static void *_p_wxComboBoxTo_p_wxControl(void *x
) {
32294 return (void *)((wxControl
*) ((wxComboBox
*) x
));
32296 static void *_p_wxSpinCtrlTo_p_wxControl(void *x
) {
32297 return (void *)((wxControl
*) ((wxSpinCtrl
*) x
));
32299 static void *_p_wxStaticBoxTo_p_wxControl(void *x
) {
32300 return (void *)((wxControl
*) ((wxStaticBox
*) x
));
32302 static void *_p_wxPyListCtrlTo_p_wxControl(void *x
) {
32303 return (void *)((wxControl
*) ((wxPyListCtrl
*) x
));
32305 static void *_p_wxPyTreeCtrlTo_p_wxControl(void *x
) {
32306 return (void *)((wxControl
*) ((wxPyTreeCtrl
*) x
));
32308 static void *_p_wxDirFilterListCtrlTo_p_wxControl(void *x
) {
32309 return (void *)((wxControl
*) (wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
32311 static void *_p_wxScrollBarTo_p_wxControl(void *x
) {
32312 return (void *)((wxControl
*) ((wxScrollBar
*) x
));
32314 static void *_p_wxBookCtrlTo_p_wxControl(void *x
) {
32315 return (void *)((wxControl
*) ((wxBookCtrl
*) x
));
32317 static void *_p_wxRadioButtonTo_p_wxControl(void *x
) {
32318 return (void *)((wxControl
*) ((wxRadioButton
*) x
));
32320 static void *_p_wxToggleButtonTo_p_wxControl(void *x
) {
32321 return (void *)((wxControl
*) ((wxToggleButton
*) x
));
32323 static void *_p_wxGaugeTo_p_wxControl(void *x
) {
32324 return (void *)((wxControl
*) ((wxGauge
*) x
));
32326 static void *_p_wxToolBarBaseTo_p_wxControl(void *x
) {
32327 return (void *)((wxControl
*) ((wxToolBarBase
*) x
));
32329 static void *_p_wxBitmapButtonTo_p_wxControl(void *x
) {
32330 return (void *)((wxControl
*) (wxButton
*) ((wxBitmapButton
*) x
));
32332 static void *_p_wxButtonTo_p_wxControl(void *x
) {
32333 return (void *)((wxControl
*) ((wxButton
*) x
));
32335 static void *_p_wxSpinButtonTo_p_wxControl(void *x
) {
32336 return (void *)((wxControl
*) ((wxSpinButton
*) x
));
32338 static void *_p_wxContextHelpButtonTo_p_wxControl(void *x
) {
32339 return (void *)((wxControl
*) (wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
32341 static void *_p_wxControlWithItemsTo_p_wxControl(void *x
) {
32342 return (void *)((wxControl
*) ((wxControlWithItems
*) x
));
32344 static void *_p_wxRadioBoxTo_p_wxControl(void *x
) {
32345 return (void *)((wxControl
*) ((wxRadioBox
*) x
));
32347 static void *_p_wxNotebookTo_p_wxControl(void *x
) {
32348 return (void *)((wxControl
*) (wxBookCtrl
*) ((wxNotebook
*) x
));
32350 static void *_p_wxListbookTo_p_wxControl(void *x
) {
32351 return (void *)((wxControl
*) (wxBookCtrl
*) ((wxListbook
*) x
));
32353 static void *_p_wxCheckBoxTo_p_wxControl(void *x
) {
32354 return (void *)((wxControl
*) ((wxCheckBox
*) x
));
32356 static void *_p_wxTextCtrlTo_p_wxControl(void *x
) {
32357 return (void *)((wxControl
*) ((wxTextCtrl
*) x
));
32359 static void *_p_wxListViewTo_p_wxControl(void *x
) {
32360 return (void *)((wxControl
*) (wxPyListCtrl
*) ((wxListView
*) x
));
32362 static void *_p_wxSliderTo_p_wxControl(void *x
) {
32363 return (void *)((wxControl
*) ((wxSlider
*) x
));
32365 static void *_p_wxGenericDirCtrlTo_p_wxControl(void *x
) {
32366 return (void *)((wxControl
*) ((wxGenericDirCtrl
*) x
));
32368 static void *_p_wxPyControlTo_p_wxControl(void *x
) {
32369 return (void *)((wxControl
*) ((wxPyControl
*) x
));
32371 static void *_p_wxStaticLineTo_p_wxControl(void *x
) {
32372 return (void *)((wxControl
*) ((wxStaticLine
*) x
));
32374 static void *_p_wxStaticTextTo_p_wxControl(void *x
) {
32375 return (void *)((wxControl
*) ((wxStaticText
*) x
));
32377 static void *_p_wxToolBarTo_p_wxToolBarBase(void *x
) {
32378 return (void *)((wxToolBarBase
*) ((wxToolBar
*) x
));
32380 static void *_p_wxDirFilterListCtrlTo_p_wxChoice(void *x
) {
32381 return (void *)((wxChoice
*) ((wxDirFilterListCtrl
*) x
));
32383 static void *_p_wxTreeEventTo_p_wxNotifyEvent(void *x
) {
32384 return (void *)((wxNotifyEvent
*) ((wxTreeEvent
*) x
));
32386 static void *_p_wxBookCtrlEventTo_p_wxNotifyEvent(void *x
) {
32387 return (void *)((wxNotifyEvent
*) ((wxBookCtrlEvent
*) x
));
32389 static void *_p_wxListEventTo_p_wxNotifyEvent(void *x
) {
32390 return (void *)((wxNotifyEvent
*) ((wxListEvent
*) x
));
32392 static void *_p_wxSpinEventTo_p_wxNotifyEvent(void *x
) {
32393 return (void *)((wxNotifyEvent
*) ((wxSpinEvent
*) x
));
32395 static void *_p_wxNotebookEventTo_p_wxNotifyEvent(void *x
) {
32396 return (void *)((wxNotifyEvent
*) (wxBookCtrlEvent
*) ((wxNotebookEvent
*) x
));
32398 static void *_p_wxListbookEventTo_p_wxNotifyEvent(void *x
) {
32399 return (void *)((wxNotifyEvent
*) (wxBookCtrlEvent
*) ((wxListbookEvent
*) x
));
32401 static void *_p_wxBookCtrlTo_p_wxEvtHandler(void *x
) {
32402 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxBookCtrl
*) x
));
32404 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
32405 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
32407 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
32408 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
32410 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
32411 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
32413 static void *_p_wxToolBarTo_p_wxEvtHandler(void *x
) {
32414 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
32416 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
32417 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
32419 static void *_p_wxToggleButtonTo_p_wxEvtHandler(void *x
) {
32420 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxToggleButton
*) x
));
32422 static void *_p_wxRadioButtonTo_p_wxEvtHandler(void *x
) {
32423 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxRadioButton
*) x
));
32425 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
32426 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
32428 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
32429 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
32431 static void *_p_wxToolBarBaseTo_p_wxEvtHandler(void *x
) {
32432 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxToolBarBase
*) x
));
32434 static void *_p_wxPyListCtrlTo_p_wxEvtHandler(void *x
) {
32435 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyListCtrl
*) x
));
32437 static void *_p_wxComboBoxTo_p_wxEvtHandler(void *x
) {
32438 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxComboBox
*) x
));
32440 static void *_p_wxDirFilterListCtrlTo_p_wxEvtHandler(void *x
) {
32441 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
32443 static void *_p_wxPyControlTo_p_wxEvtHandler(void *x
) {
32444 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyControl
*) x
));
32446 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
32447 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
32449 static void *_p_wxGenericDirCtrlTo_p_wxEvtHandler(void *x
) {
32450 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxGenericDirCtrl
*) x
));
32452 static void *_p_wxScrollBarTo_p_wxEvtHandler(void *x
) {
32453 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxScrollBar
*) x
));
32455 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
32456 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
32458 static void *_p_wxGaugeTo_p_wxEvtHandler(void *x
) {
32459 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxGauge
*) x
));
32461 static void *_p_wxStaticLineTo_p_wxEvtHandler(void *x
) {
32462 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticLine
*) x
));
32464 static void *_p_wxListbookTo_p_wxEvtHandler(void *x
) {
32465 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrl
*) ((wxListbook
*) x
));
32467 static void *_p_wxPyTreeCtrlTo_p_wxEvtHandler(void *x
) {
32468 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyTreeCtrl
*) x
));
32470 static void *_p_wxCheckBoxTo_p_wxEvtHandler(void *x
) {
32471 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxCheckBox
*) x
));
32473 static void *_p_wxRadioBoxTo_p_wxEvtHandler(void *x
) {
32474 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxRadioBox
*) x
));
32476 static void *_p_wxCheckListBoxTo_p_wxEvtHandler(void *x
) {
32477 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
32479 static void *_p_wxListBoxTo_p_wxEvtHandler(void *x
) {
32480 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
32482 static void *_p_wxChoiceTo_p_wxEvtHandler(void *x
) {
32483 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
32485 static void *_p_wxNotebookTo_p_wxEvtHandler(void *x
) {
32486 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrl
*) ((wxNotebook
*) x
));
32488 static void *_p_wxStaticBitmapTo_p_wxEvtHandler(void *x
) {
32489 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticBitmap
*) x
));
32491 static void *_p_wxListViewTo_p_wxEvtHandler(void *x
) {
32492 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
32494 static void *_p_wxSpinCtrlTo_p_wxEvtHandler(void *x
) {
32495 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSpinCtrl
*) x
));
32497 static void *_p_wxStaticTextTo_p_wxEvtHandler(void *x
) {
32498 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticText
*) x
));
32500 static void *_p_wxStaticBoxTo_p_wxEvtHandler(void *x
) {
32501 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticBox
*) x
));
32503 static void *_p_wxSliderTo_p_wxEvtHandler(void *x
) {
32504 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSlider
*) x
));
32506 static void *_p_wxSpinButtonTo_p_wxEvtHandler(void *x
) {
32507 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSpinButton
*) x
));
32509 static void *_p_wxButtonTo_p_wxEvtHandler(void *x
) {
32510 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxButton
*) x
));
32512 static void *_p_wxBitmapButtonTo_p_wxEvtHandler(void *x
) {
32513 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
32515 static void *_p_wxContextHelpButtonTo_p_wxEvtHandler(void *x
) {
32516 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
32518 static void *_p_wxTextCtrlTo_p_wxEvtHandler(void *x
) {
32519 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxTextCtrl
*) x
));
32521 static void *_p_wxCheckListBoxTo_p_wxListBox(void *x
) {
32522 return (void *)((wxListBox
*) ((wxCheckListBox
*) x
));
32524 static void *_p_wxListbookTo_p_wxBookCtrl(void *x
) {
32525 return (void *)((wxBookCtrl
*) ((wxListbook
*) x
));
32527 static void *_p_wxNotebookTo_p_wxBookCtrl(void *x
) {
32528 return (void *)((wxBookCtrl
*) ((wxNotebook
*) x
));
32530 static void *_p_wxBitmapButtonTo_p_wxButton(void *x
) {
32531 return (void *)((wxButton
*) ((wxBitmapButton
*) x
));
32533 static void *_p_wxContextHelpButtonTo_p_wxButton(void *x
) {
32534 return (void *)((wxButton
*) (wxBitmapButton
*) ((wxContextHelpButton
*) x
));
32536 static void *_p_wxContextHelpButtonTo_p_wxBitmapButton(void *x
) {
32537 return (void *)((wxBitmapButton
*) ((wxContextHelpButton
*) x
));
32539 static void *_p_wxSimpleHelpProviderTo_p_wxHelpProvider(void *x
) {
32540 return (void *)((wxHelpProvider
*) ((wxSimpleHelpProvider
*) x
));
32542 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
32543 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
32545 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
32546 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
32548 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
32549 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
32551 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
32552 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
32554 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
32555 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
32557 static void *_p_wxTextUrlEventTo_p_wxObject(void *x
) {
32558 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
32560 static void *_p_wxBookCtrlEventTo_p_wxObject(void *x
) {
32561 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxBookCtrlEvent
*) x
));
32563 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
32564 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
32566 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
32567 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
32569 static void *_p_wxSizerTo_p_wxObject(void *x
) {
32570 return (void *)((wxObject
*) ((wxSizer
*) x
));
32572 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
32573 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
32575 static void *_p_wxCheckBoxTo_p_wxObject(void *x
) {
32576 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxCheckBox
*) x
));
32578 static void *_p_wxPyTreeCtrlTo_p_wxObject(void *x
) {
32579 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyTreeCtrl
*) x
));
32581 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
32582 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
32584 static void *_p_wxEventTo_p_wxObject(void *x
) {
32585 return (void *)((wxObject
*) ((wxEvent
*) x
));
32587 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
32588 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
32590 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
32591 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
32593 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
32594 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
32596 static void *_p_wxGenericDirCtrlTo_p_wxObject(void *x
) {
32597 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxGenericDirCtrl
*) x
));
32599 static void *_p_wxPyListCtrlTo_p_wxObject(void *x
) {
32600 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyListCtrl
*) x
));
32602 static void *_p_wxDirFilterListCtrlTo_p_wxObject(void *x
) {
32603 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
32605 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
32606 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
32608 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
32609 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
32611 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
32612 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
32614 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
32615 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
32617 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
32618 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
32620 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
32621 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
32623 static void *_p_wxStaticLineTo_p_wxObject(void *x
) {
32624 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticLine
*) x
));
32626 static void *_p_wxControlTo_p_wxObject(void *x
) {
32627 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
32629 static void *_p_wxPyControlTo_p_wxObject(void *x
) {
32630 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyControl
*) x
));
32632 static void *_p_wxGaugeTo_p_wxObject(void *x
) {
32633 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxGauge
*) x
));
32635 static void *_p_wxRadioButtonTo_p_wxObject(void *x
) {
32636 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxRadioButton
*) x
));
32638 static void *_p_wxToggleButtonTo_p_wxObject(void *x
) {
32639 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxToggleButton
*) x
));
32641 static void *_p_wxToolBarBaseTo_p_wxObject(void *x
) {
32642 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxToolBarBase
*) x
));
32644 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
32645 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
32647 static void *_p_wxChoiceTo_p_wxObject(void *x
) {
32648 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
32650 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
32651 return (void *)((wxObject
*) ((wxFSFile
*) x
));
32653 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
32654 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
32656 static void *_p_wxListViewTo_p_wxObject(void *x
) {
32657 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
32659 static void *_p_wxTextCtrlTo_p_wxObject(void *x
) {
32660 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxTextCtrl
*) x
));
32662 static void *_p_wxNotebookTo_p_wxObject(void *x
) {
32663 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrl
*) ((wxNotebook
*) x
));
32665 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
32666 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
32668 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
32669 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
32671 static void *_p_wxListbookTo_p_wxObject(void *x
) {
32672 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrl
*) ((wxListbook
*) x
));
32674 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
32675 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
32677 static void *_p_wxStaticBitmapTo_p_wxObject(void *x
) {
32678 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticBitmap
*) x
));
32680 static void *_p_wxSliderTo_p_wxObject(void *x
) {
32681 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSlider
*) x
));
32683 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
32684 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
32686 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
32687 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
32689 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
32690 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
32692 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
32693 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
32695 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
32696 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
32698 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
32699 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
32701 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
32702 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
32704 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
32705 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
32707 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
32708 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
32710 static void *_p_wxStaticBoxTo_p_wxObject(void *x
) {
32711 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticBox
*) x
));
32713 static void *_p_wxContextHelpTo_p_wxObject(void *x
) {
32714 return (void *)((wxObject
*) ((wxContextHelp
*) x
));
32716 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
32717 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
32719 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
32720 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
32722 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
32723 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
32725 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
32726 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
32728 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
32729 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
32731 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
32732 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
32734 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
32735 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
32737 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
32738 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
32740 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
32741 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
32743 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
32744 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
32746 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
32747 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
32749 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
32750 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
32752 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
32753 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
32755 static void *_p_wxListEventTo_p_wxObject(void *x
) {
32756 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxListEvent
*) x
));
32758 static void *_p_wxListBoxTo_p_wxObject(void *x
) {
32759 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
32761 static void *_p_wxCheckListBoxTo_p_wxObject(void *x
) {
32762 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
32764 static void *_p_wxBookCtrlTo_p_wxObject(void *x
) {
32765 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxBookCtrl
*) x
));
32767 static void *_p_wxButtonTo_p_wxObject(void *x
) {
32768 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxButton
*) x
));
32770 static void *_p_wxBitmapButtonTo_p_wxObject(void *x
) {
32771 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
32773 static void *_p_wxSpinButtonTo_p_wxObject(void *x
) {
32774 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSpinButton
*) x
));
32776 static void *_p_wxContextHelpButtonTo_p_wxObject(void *x
) {
32777 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
32779 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
32780 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
32782 static void *_p_wxScrollBarTo_p_wxObject(void *x
) {
32783 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxScrollBar
*) x
));
32785 static void *_p_wxRadioBoxTo_p_wxObject(void *x
) {
32786 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxRadioBox
*) x
));
32788 static void *_p_wxComboBoxTo_p_wxObject(void *x
) {
32789 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxComboBox
*) x
));
32791 static void *_p_wxHelpEventTo_p_wxObject(void *x
) {
32792 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxHelpEvent
*) x
));
32794 static void *_p_wxListItemTo_p_wxObject(void *x
) {
32795 return (void *)((wxObject
*) ((wxListItem
*) x
));
32797 static void *_p_wxImageTo_p_wxObject(void *x
) {
32798 return (void *)((wxObject
*) ((wxImage
*) x
));
32800 static void *_p_wxNotebookSizerTo_p_wxObject(void *x
) {
32801 return (void *)((wxObject
*) (wxSizer
*) ((wxNotebookSizer
*) x
));
32803 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
32804 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
32806 static void *_p_wxSpinEventTo_p_wxObject(void *x
) {
32807 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxSpinEvent
*) x
));
32809 static void *_p_wxGenericDragImageTo_p_wxObject(void *x
) {
32810 return (void *)((wxObject
*) ((wxGenericDragImage
*) x
));
32812 static void *_p_wxSpinCtrlTo_p_wxObject(void *x
) {
32813 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSpinCtrl
*) x
));
32815 static void *_p_wxNotebookEventTo_p_wxObject(void *x
) {
32816 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlEvent
*) ((wxNotebookEvent
*) x
));
32818 static void *_p_wxListbookEventTo_p_wxObject(void *x
) {
32819 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlEvent
*) ((wxListbookEvent
*) x
));
32821 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
32822 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
32824 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
32825 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
32827 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
32828 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
32830 static void *_p_wxWindowTo_p_wxObject(void *x
) {
32831 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
32833 static void *_p_wxMenuTo_p_wxObject(void *x
) {
32834 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
32836 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
32837 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
32839 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
32840 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
32842 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
32843 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
32845 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
32846 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
32848 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
32849 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
32851 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
32852 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
32854 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
32855 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
32857 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
32858 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
32860 static void *_p_wxTreeEventTo_p_wxObject(void *x
) {
32861 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxTreeEvent
*) x
));
32863 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
32864 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
32866 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
32867 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
32869 static void *_p_wxStaticTextTo_p_wxObject(void *x
) {
32870 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticText
*) x
));
32872 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
32873 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
32875 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
32876 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
32878 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
32879 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
32881 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
32882 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
32884 static void *_p_wxToolBarToolBaseTo_p_wxObject(void *x
) {
32885 return (void *)((wxObject
*) ((wxToolBarToolBase
*) x
));
32887 static void *_p_wxToolBarTo_p_wxObject(void *x
) {
32888 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
32890 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
32891 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
32893 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
32894 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
32896 static void *_p_wxBookCtrlSizerTo_p_wxObject(void *x
) {
32897 return (void *)((wxObject
*) (wxSizer
*) ((wxBookCtrlSizer
*) x
));
32899 static void *_p_wxBookCtrlTo_p_wxWindow(void *x
) {
32900 return (void *)((wxWindow
*) (wxControl
*) ((wxBookCtrl
*) x
));
32902 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
32903 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
32905 static void *_p_wxToolBarTo_p_wxWindow(void *x
) {
32906 return (void *)((wxWindow
*) (wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
32908 static void *_p_wxToggleButtonTo_p_wxWindow(void *x
) {
32909 return (void *)((wxWindow
*) (wxControl
*) ((wxToggleButton
*) x
));
32911 static void *_p_wxRadioButtonTo_p_wxWindow(void *x
) {
32912 return (void *)((wxWindow
*) (wxControl
*) ((wxRadioButton
*) x
));
32914 static void *_p_wxPyControlTo_p_wxWindow(void *x
) {
32915 return (void *)((wxWindow
*) (wxControl
*) ((wxPyControl
*) x
));
32917 static void *_p_wxControlTo_p_wxWindow(void *x
) {
32918 return (void *)((wxWindow
*) ((wxControl
*) x
));
32920 static void *_p_wxToolBarBaseTo_p_wxWindow(void *x
) {
32921 return (void *)((wxWindow
*) (wxControl
*) ((wxToolBarBase
*) x
));
32923 static void *_p_wxDirFilterListCtrlTo_p_wxWindow(void *x
) {
32924 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
32926 static void *_p_wxPyListCtrlTo_p_wxWindow(void *x
) {
32927 return (void *)((wxWindow
*) (wxControl
*) ((wxPyListCtrl
*) x
));
32929 static void *_p_wxComboBoxTo_p_wxWindow(void *x
) {
32930 return (void *)((wxWindow
*) (wxControl
*) ((wxComboBox
*) x
));
32932 static void *_p_wxGenericDirCtrlTo_p_wxWindow(void *x
) {
32933 return (void *)((wxWindow
*) (wxControl
*) ((wxGenericDirCtrl
*) x
));
32935 static void *_p_wxScrollBarTo_p_wxWindow(void *x
) {
32936 return (void *)((wxWindow
*) (wxControl
*) ((wxScrollBar
*) x
));
32938 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
32939 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
32941 static void *_p_wxGaugeTo_p_wxWindow(void *x
) {
32942 return (void *)((wxWindow
*) (wxControl
*) ((wxGauge
*) x
));
32944 static void *_p_wxStaticLineTo_p_wxWindow(void *x
) {
32945 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticLine
*) x
));
32947 static void *_p_wxListbookTo_p_wxWindow(void *x
) {
32948 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrl
*) ((wxListbook
*) x
));
32950 static void *_p_wxPyTreeCtrlTo_p_wxWindow(void *x
) {
32951 return (void *)((wxWindow
*) (wxControl
*) ((wxPyTreeCtrl
*) x
));
32953 static void *_p_wxCheckBoxTo_p_wxWindow(void *x
) {
32954 return (void *)((wxWindow
*) (wxControl
*) ((wxCheckBox
*) x
));
32956 static void *_p_wxRadioBoxTo_p_wxWindow(void *x
) {
32957 return (void *)((wxWindow
*) (wxControl
*) ((wxRadioBox
*) x
));
32959 static void *_p_wxCheckListBoxTo_p_wxWindow(void *x
) {
32960 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
32962 static void *_p_wxChoiceTo_p_wxWindow(void *x
) {
32963 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
32965 static void *_p_wxListBoxTo_p_wxWindow(void *x
) {
32966 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
32968 static void *_p_wxListViewTo_p_wxWindow(void *x
) {
32969 return (void *)((wxWindow
*) (wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
32971 static void *_p_wxNotebookTo_p_wxWindow(void *x
) {
32972 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrl
*) ((wxNotebook
*) x
));
32974 static void *_p_wxStaticBitmapTo_p_wxWindow(void *x
) {
32975 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticBitmap
*) x
));
32977 static void *_p_wxSpinCtrlTo_p_wxWindow(void *x
) {
32978 return (void *)((wxWindow
*) (wxControl
*) ((wxSpinCtrl
*) x
));
32980 static void *_p_wxStaticTextTo_p_wxWindow(void *x
) {
32981 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticText
*) x
));
32983 static void *_p_wxStaticBoxTo_p_wxWindow(void *x
) {
32984 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticBox
*) x
));
32986 static void *_p_wxSliderTo_p_wxWindow(void *x
) {
32987 return (void *)((wxWindow
*) (wxControl
*) ((wxSlider
*) x
));
32989 static void *_p_wxSpinButtonTo_p_wxWindow(void *x
) {
32990 return (void *)((wxWindow
*) (wxControl
*) ((wxSpinButton
*) x
));
32992 static void *_p_wxButtonTo_p_wxWindow(void *x
) {
32993 return (void *)((wxWindow
*) (wxControl
*) ((wxButton
*) x
));
32995 static void *_p_wxBitmapButtonTo_p_wxWindow(void *x
) {
32996 return (void *)((wxWindow
*) (wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
32998 static void *_p_wxContextHelpButtonTo_p_wxWindow(void *x
) {
32999 return (void *)((wxWindow
*) (wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
33001 static void *_p_wxTextCtrlTo_p_wxWindow(void *x
) {
33002 return (void *)((wxWindow
*) (wxControl
*) ((wxTextCtrl
*) x
));
33004 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x
) {
33005 return (void *)((wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
33007 static void *_p_wxBookCtrlEventTo_p_wxCommandEvent(void *x
) {
33008 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxBookCtrlEvent
*) x
));
33010 static void *_p_wxTextUrlEventTo_p_wxCommandEvent(void *x
) {
33011 return (void *)((wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
33013 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x
) {
33014 return (void *)((wxCommandEvent
*) ((wxScrollEvent
*) x
));
33016 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x
) {
33017 return (void *)((wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
33019 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x
) {
33020 return (void *)((wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
33022 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x
) {
33023 return (void *)((wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
33025 static void *_p_wxListbookEventTo_p_wxCommandEvent(void *x
) {
33026 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlEvent
*) ((wxListbookEvent
*) x
));
33028 static void *_p_wxNotebookEventTo_p_wxCommandEvent(void *x
) {
33029 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlEvent
*) ((wxNotebookEvent
*) x
));
33031 static void *_p_wxListEventTo_p_wxCommandEvent(void *x
) {
33032 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxListEvent
*) x
));
33034 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x
) {
33035 return (void *)((wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
33037 static void *_p_wxTreeEventTo_p_wxCommandEvent(void *x
) {
33038 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxTreeEvent
*) x
));
33040 static void *_p_wxSpinEventTo_p_wxCommandEvent(void *x
) {
33041 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxSpinEvent
*) x
));
33043 static void *_p_wxHelpEventTo_p_wxCommandEvent(void *x
) {
33044 return (void *)((wxCommandEvent
*) ((wxHelpEvent
*) x
));
33046 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x
) {
33047 return (void *)((wxCommandEvent
*) ((wxNotifyEvent
*) x
));
33049 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x
) {
33050 return (void *)((wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
33052 static void *_p_wxDirFilterListCtrlTo_p_wxControlWithItems(void *x
) {
33053 return (void *)((wxControlWithItems
*) (wxChoice
*) ((wxDirFilterListCtrl
*) x
));
33055 static void *_p_wxChoiceTo_p_wxControlWithItems(void *x
) {
33056 return (void *)((wxControlWithItems
*) ((wxChoice
*) x
));
33058 static void *_p_wxListBoxTo_p_wxControlWithItems(void *x
) {
33059 return (void *)((wxControlWithItems
*) ((wxListBox
*) x
));
33061 static void *_p_wxCheckListBoxTo_p_wxControlWithItems(void *x
) {
33062 return (void *)((wxControlWithItems
*) (wxListBox
*) ((wxCheckListBox
*) x
));
33064 static void *_p_wxPyValidatorTo_p_wxValidator(void *x
) {
33065 return (void *)((wxValidator
*) ((wxPyValidator
*) x
));
33067 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}};
33068 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}};
33069 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}};
33070 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}};
33071 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}};
33072 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}};
33073 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}};
33074 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}};
33075 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}};
33076 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}};
33077 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}};
33078 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}};
33079 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}};
33080 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}};
33081 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}};
33082 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}};
33083 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}};
33084 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}};
33085 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}};
33086 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}};
33087 static swig_type_info _swigt__p_wxChoice
[] = {{"_p_wxChoice", 0, "wxChoice *", 0, 0, 0, 0},{"_p_wxDirFilterListCtrl", _p_wxDirFilterListCtrlTo_p_wxChoice
, 0, 0, 0, 0, 0},{"_p_wxChoice", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
33088 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}};
33089 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}};
33090 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}};
33091 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}};
33092 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}};
33093 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}};
33094 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}};
33095 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}};
33096 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}};
33097 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}};
33098 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}};
33099 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}};
33100 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}};
33101 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}};
33102 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}};
33103 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}};
33104 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}};
33105 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}};
33106 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}};
33107 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}};
33108 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}};
33109 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}};
33110 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}};
33111 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}};
33112 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}};
33113 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}};
33114 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}};
33115 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}};
33116 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}};
33117 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}};
33118 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}};
33119 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}};
33120 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}};
33121 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}};
33122 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}};
33123 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}};
33124 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}};
33125 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}};
33126 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}};
33127 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}};
33128 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}};
33129 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}};
33130 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}};
33131 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}};
33132 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}};
33133 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}};
33134 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}};
33135 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}};
33136 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}};
33137 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}};
33138 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}};
33139 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}};
33140 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}};
33141 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}};
33142 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}};
33143 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}};
33144 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}};
33145 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}};
33146 static swig_type_info _swigt__p_wxControlWithItems
[] = {{"_p_wxControlWithItems", 0, "wxControlWithItems *", 0, 0, 0, 0},{"_p_wxDirFilterListCtrl", _p_wxDirFilterListCtrlTo_p_wxControlWithItems
, 0, 0, 0, 0, 0},{"_p_wxChoice", _p_wxChoiceTo_p_wxControlWithItems
, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", 0, 0, 0, 0, 0, 0},{"_p_wxListBox", _p_wxListBoxTo_p_wxControlWithItems
, 0, 0, 0, 0, 0},{"_p_wxCheckListBox", _p_wxCheckListBoxTo_p_wxControlWithItems
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
33147 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}};
33148 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}};
33149 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}};
33150 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}};
33151 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}};
33153 static swig_type_info
*swig_types_initial
[] = {
33154 _swigt__p_wxTextUrlEvent
,
33155 _swigt__p_wxBookCtrlEvent
,
33157 _swigt__p_wxCheckBox
,
33158 _swigt__p_wxPyTreeCtrl
,
33160 _swigt__p_wxGenericDirCtrl
,
33162 _swigt__p_wxPyTreeItemData
,
33163 _swigt__p_wxItemContainer
,
33164 _swigt__p_wxPyListCtrl
,
33165 _swigt__p_wxDirFilterListCtrl
,
33166 _swigt__p_wxStaticLine
,
33167 _swigt__p_wxControl
,
33168 _swigt__p_wxPyControl
,
33170 _swigt__p_wxToolBarBase
,
33172 _swigt__p_wxToggleButton
,
33173 _swigt__p_wxRadioButton
,
33174 _swigt__p_wxChoice
,
33175 _swigt__p_wxMemoryDC
,
33176 _swigt__p_wxListItemAttr
,
33181 _swigt__p_wxListView
,
33183 _swigt__p_wxVisualAttributes
,
33184 _swigt__p_wxTextCtrl
,
33185 _swigt__p_wxNotebook
,
33186 _swigt__p_wxNotifyEvent
,
33187 _swigt__p_wxArrayString
,
33188 _swigt__p_wxListbook
,
33189 _swigt__p_wxStaticBitmap
,
33190 _swigt__p_wxSlider
,
33191 _swigt__p_wxStaticBox
,
33192 _swigt__p_wxArrayInt
,
33193 _swigt__p_wxContextHelp
,
33195 _swigt__p_wxEvtHandler
,
33196 _swigt__p_wxListEvent
,
33197 _swigt__p_wxCheckListBox
,
33198 _swigt__p_wxListBox
,
33199 _swigt__p_wxBookCtrl
,
33200 _swigt__p_wxSpinButton
,
33201 _swigt__p_wxButton
,
33202 _swigt__p_wxBitmapButton
,
33204 _swigt__p_wxContextHelpButton
,
33205 _swigt__p_wxRadioBox
,
33206 _swigt__p_wxScrollBar
,
33208 _swigt__p_wxTreeItemId
,
33209 _swigt__p_wxComboBox
,
33210 _swigt__p_wxHelpEvent
,
33211 _swigt__p_wxListItem
,
33212 _swigt__p_wxNotebookSizer
,
33213 _swigt__p_wxSpinEvent
,
33214 _swigt__p_wxGenericDragImage
,
33215 _swigt__p_wxSpinCtrl
,
33216 _swigt__p_wxImageList
,
33217 _swigt__p_wxHelpProvider
,
33218 _swigt__p_wxTextAttr
,
33219 _swigt__p_wxSimpleHelpProvider
,
33221 _swigt__p_wxListbookEvent
,
33222 _swigt__p_wxNotebookEvent
,
33223 _swigt__p_wxObject
,
33224 _swigt__p_wxCursor
,
33225 _swigt__p_wxKeyEvent
,
33226 _swigt__p_wxWindow
,
33227 _swigt__p_wxString
,
33228 _swigt__p_wxBitmap
,
33229 _swigt__p_wxTreeEvent
,
33230 _swigt__p_wxMouseEvent
,
33231 _swigt__p_wxCommandEvent
,
33232 _swigt__p_wxStaticText
,
33233 _swigt__p_wxControlWithItems
,
33234 _swigt__p_wxToolBarToolBase
,
33235 _swigt__p_wxColour
,
33236 _swigt__p_wxToolBar
,
33237 _swigt__p_wxBookCtrlSizer
,
33238 _swigt__p_wxValidator
,
33243 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
33245 static swig_const_info swig_const_table
[] = {
33255 SWIGEXPORT(void) SWIG_init(void) {
33256 static PyObject
*SWIG_globals
= 0;
33257 static int typeinit
= 0;
33260 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
33261 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
33262 d
= PyModule_GetDict(m
);
33265 for (i
= 0; swig_types_initial
[i
]; i
++) {
33266 swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]);
33270 SWIG_InstallConstants(d
,swig_const_table
);
33272 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
);
33273 SWIG_addvarlink(SWIG_globals
,(char*)"ButtonNameStr",_wrap_ButtonNameStr_get
, _wrap_ButtonNameStr_set
);
33274 PyDict_SetItemString(d
,"BU_LEFT", SWIG_FromInt((int)wxBU_LEFT
));
33275 PyDict_SetItemString(d
,"BU_TOP", SWIG_FromInt((int)wxBU_TOP
));
33276 PyDict_SetItemString(d
,"BU_RIGHT", SWIG_FromInt((int)wxBU_RIGHT
));
33277 PyDict_SetItemString(d
,"BU_BOTTOM", SWIG_FromInt((int)wxBU_BOTTOM
));
33278 PyDict_SetItemString(d
,"BU_EXACTFIT", SWIG_FromInt((int)wxBU_EXACTFIT
));
33279 PyDict_SetItemString(d
,"BU_AUTODRAW", SWIG_FromInt((int)wxBU_AUTODRAW
));
33280 SWIG_addvarlink(SWIG_globals
,(char*)"CheckBoxNameStr",_wrap_CheckBoxNameStr_get
, _wrap_CheckBoxNameStr_set
);
33281 PyDict_SetItemString(d
,"CHK_2STATE", SWIG_FromInt((int)wxCHK_2STATE
));
33282 PyDict_SetItemString(d
,"CHK_3STATE", SWIG_FromInt((int)wxCHK_3STATE
));
33283 PyDict_SetItemString(d
,"CHK_ALLOW_3RD_STATE_FOR_USER", SWIG_FromInt((int)wxCHK_ALLOW_3RD_STATE_FOR_USER
));
33284 PyDict_SetItemString(d
,"CHK_UNCHECKED", SWIG_FromInt((int)wxCHK_UNCHECKED
));
33285 PyDict_SetItemString(d
,"CHK_CHECKED", SWIG_FromInt((int)wxCHK_CHECKED
));
33286 PyDict_SetItemString(d
,"CHK_UNDETERMINED", SWIG_FromInt((int)wxCHK_UNDETERMINED
));
33287 SWIG_addvarlink(SWIG_globals
,(char*)"ChoiceNameStr",_wrap_ChoiceNameStr_get
, _wrap_ChoiceNameStr_set
);
33288 SWIG_addvarlink(SWIG_globals
,(char*)"ComboBoxNameStr",_wrap_ComboBoxNameStr_get
, _wrap_ComboBoxNameStr_set
);
33289 SWIG_addvarlink(SWIG_globals
,(char*)"GaugeNameStr",_wrap_GaugeNameStr_get
, _wrap_GaugeNameStr_set
);
33290 PyDict_SetItemString(d
,"GA_HORIZONTAL", SWIG_FromInt((int)wxGA_HORIZONTAL
));
33291 PyDict_SetItemString(d
,"GA_VERTICAL", SWIG_FromInt((int)wxGA_VERTICAL
));
33292 PyDict_SetItemString(d
,"GA_SMOOTH", SWIG_FromInt((int)wxGA_SMOOTH
));
33293 PyDict_SetItemString(d
,"GA_PROGRESSBAR", SWIG_FromInt((int)wxGA_PROGRESSBAR
));
33294 SWIG_addvarlink(SWIG_globals
,(char*)"StaticBitmapNameStr",_wrap_StaticBitmapNameStr_get
, _wrap_StaticBitmapNameStr_set
);
33295 SWIG_addvarlink(SWIG_globals
,(char*)"StaticBoxNameStr",_wrap_StaticBoxNameStr_get
, _wrap_StaticBoxNameStr_set
);
33296 SWIG_addvarlink(SWIG_globals
,(char*)"StaticTextNameStr",_wrap_StaticTextNameStr_get
, _wrap_StaticTextNameStr_set
);
33297 SWIG_addvarlink(SWIG_globals
,(char*)"ListBoxNameStr",_wrap_ListBoxNameStr_get
, _wrap_ListBoxNameStr_set
);
33298 SWIG_addvarlink(SWIG_globals
,(char*)"TextCtrlNameStr",_wrap_TextCtrlNameStr_get
, _wrap_TextCtrlNameStr_set
);
33299 PyDict_SetItemString(d
,"TE_NO_VSCROLL", SWIG_FromInt((int)wxTE_NO_VSCROLL
));
33300 PyDict_SetItemString(d
,"TE_AUTO_SCROLL", SWIG_FromInt((int)wxTE_AUTO_SCROLL
));
33301 PyDict_SetItemString(d
,"TE_READONLY", SWIG_FromInt((int)wxTE_READONLY
));
33302 PyDict_SetItemString(d
,"TE_MULTILINE", SWIG_FromInt((int)wxTE_MULTILINE
));
33303 PyDict_SetItemString(d
,"TE_PROCESS_TAB", SWIG_FromInt((int)wxTE_PROCESS_TAB
));
33304 PyDict_SetItemString(d
,"TE_LEFT", SWIG_FromInt((int)wxTE_LEFT
));
33305 PyDict_SetItemString(d
,"TE_CENTER", SWIG_FromInt((int)wxTE_CENTER
));
33306 PyDict_SetItemString(d
,"TE_RIGHT", SWIG_FromInt((int)wxTE_RIGHT
));
33307 PyDict_SetItemString(d
,"TE_CENTRE", SWIG_FromInt((int)wxTE_CENTRE
));
33308 PyDict_SetItemString(d
,"TE_RICH", SWIG_FromInt((int)wxTE_RICH
));
33309 PyDict_SetItemString(d
,"TE_PROCESS_ENTER", SWIG_FromInt((int)wxTE_PROCESS_ENTER
));
33310 PyDict_SetItemString(d
,"TE_PASSWORD", SWIG_FromInt((int)wxTE_PASSWORD
));
33311 PyDict_SetItemString(d
,"TE_AUTO_URL", SWIG_FromInt((int)wxTE_AUTO_URL
));
33312 PyDict_SetItemString(d
,"TE_NOHIDESEL", SWIG_FromInt((int)wxTE_NOHIDESEL
));
33313 PyDict_SetItemString(d
,"TE_DONTWRAP", SWIG_FromInt((int)wxTE_DONTWRAP
));
33314 PyDict_SetItemString(d
,"TE_LINEWRAP", SWIG_FromInt((int)wxTE_LINEWRAP
));
33315 PyDict_SetItemString(d
,"TE_WORDWRAP", SWIG_FromInt((int)wxTE_WORDWRAP
));
33316 PyDict_SetItemString(d
,"TE_RICH2", SWIG_FromInt((int)wxTE_RICH2
));
33317 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_DEFAULT", SWIG_FromInt((int)wxTEXT_ALIGNMENT_DEFAULT
));
33318 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_LEFT", SWIG_FromInt((int)wxTEXT_ALIGNMENT_LEFT
));
33319 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_CENTRE", SWIG_FromInt((int)wxTEXT_ALIGNMENT_CENTRE
));
33320 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_CENTER", SWIG_FromInt((int)wxTEXT_ALIGNMENT_CENTER
));
33321 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_RIGHT", SWIG_FromInt((int)wxTEXT_ALIGNMENT_RIGHT
));
33322 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_JUSTIFIED", SWIG_FromInt((int)wxTEXT_ALIGNMENT_JUSTIFIED
));
33323 PyDict_SetItemString(d
,"TEXT_ATTR_TEXT_COLOUR", SWIG_FromInt((int)wxTEXT_ATTR_TEXT_COLOUR
));
33324 PyDict_SetItemString(d
,"TEXT_ATTR_BACKGROUND_COLOUR", SWIG_FromInt((int)wxTEXT_ATTR_BACKGROUND_COLOUR
));
33325 PyDict_SetItemString(d
,"TEXT_ATTR_FONT_FACE", SWIG_FromInt((int)wxTEXT_ATTR_FONT_FACE
));
33326 PyDict_SetItemString(d
,"TEXT_ATTR_FONT_SIZE", SWIG_FromInt((int)wxTEXT_ATTR_FONT_SIZE
));
33327 PyDict_SetItemString(d
,"TEXT_ATTR_FONT_WEIGHT", SWIG_FromInt((int)wxTEXT_ATTR_FONT_WEIGHT
));
33328 PyDict_SetItemString(d
,"TEXT_ATTR_FONT_ITALIC", SWIG_FromInt((int)wxTEXT_ATTR_FONT_ITALIC
));
33329 PyDict_SetItemString(d
,"TEXT_ATTR_FONT_UNDERLINE", SWIG_FromInt((int)wxTEXT_ATTR_FONT_UNDERLINE
));
33330 PyDict_SetItemString(d
,"TEXT_ATTR_FONT", SWIG_FromInt((int)wxTEXT_ATTR_FONT
));
33331 PyDict_SetItemString(d
,"TEXT_ATTR_ALIGNMENT", SWIG_FromInt((int)wxTEXT_ATTR_ALIGNMENT
));
33332 PyDict_SetItemString(d
,"TEXT_ATTR_LEFT_INDENT", SWIG_FromInt((int)wxTEXT_ATTR_LEFT_INDENT
));
33333 PyDict_SetItemString(d
,"TEXT_ATTR_RIGHT_INDENT", SWIG_FromInt((int)wxTEXT_ATTR_RIGHT_INDENT
));
33334 PyDict_SetItemString(d
,"TEXT_ATTR_TABS", SWIG_FromInt((int)wxTEXT_ATTR_TABS
));
33335 PyDict_SetItemString(d
,"TE_HT_UNKNOWN", SWIG_FromInt((int)wxTE_HT_UNKNOWN
));
33336 PyDict_SetItemString(d
,"TE_HT_BEFORE", SWIG_FromInt((int)wxTE_HT_BEFORE
));
33337 PyDict_SetItemString(d
,"TE_HT_ON_TEXT", SWIG_FromInt((int)wxTE_HT_ON_TEXT
));
33338 PyDict_SetItemString(d
,"TE_HT_BELOW", SWIG_FromInt((int)wxTE_HT_BELOW
));
33339 PyDict_SetItemString(d
,"TE_HT_BEYOND", SWIG_FromInt((int)wxTE_HT_BEYOND
));
33340 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_UPDATED", PyInt_FromLong(wxEVT_COMMAND_TEXT_UPDATED
));
33341 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_ENTER", PyInt_FromLong(wxEVT_COMMAND_TEXT_ENTER
));
33342 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_URL", PyInt_FromLong(wxEVT_COMMAND_TEXT_URL
));
33343 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_MAXLEN", PyInt_FromLong(wxEVT_COMMAND_TEXT_MAXLEN
));
33344 SWIG_addvarlink(SWIG_globals
,(char*)"ScrollBarNameStr",_wrap_ScrollBarNameStr_get
, _wrap_ScrollBarNameStr_set
);
33345 SWIG_addvarlink(SWIG_globals
,(char*)"SPIN_BUTTON_NAME",_wrap_SPIN_BUTTON_NAME_get
, _wrap_SPIN_BUTTON_NAME_set
);
33346 SWIG_addvarlink(SWIG_globals
,(char*)"SpinCtrlNameStr",_wrap_SpinCtrlNameStr_get
, _wrap_SpinCtrlNameStr_set
);
33347 PyDict_SetItemString(d
,"SP_HORIZONTAL", SWIG_FromInt((int)wxSP_HORIZONTAL
));
33348 PyDict_SetItemString(d
,"SP_VERTICAL", SWIG_FromInt((int)wxSP_VERTICAL
));
33349 PyDict_SetItemString(d
,"SP_ARROW_KEYS", SWIG_FromInt((int)wxSP_ARROW_KEYS
));
33350 PyDict_SetItemString(d
,"SP_WRAP", SWIG_FromInt((int)wxSP_WRAP
));
33351 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPINCTRL_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SPINCTRL_UPDATED
));
33352 SWIG_addvarlink(SWIG_globals
,(char*)"RadioBoxNameStr",_wrap_RadioBoxNameStr_get
, _wrap_RadioBoxNameStr_set
);
33353 SWIG_addvarlink(SWIG_globals
,(char*)"RadioButtonNameStr",_wrap_RadioButtonNameStr_get
, _wrap_RadioButtonNameStr_set
);
33354 SWIG_addvarlink(SWIG_globals
,(char*)"SliderNameStr",_wrap_SliderNameStr_get
, _wrap_SliderNameStr_set
);
33355 SWIG_addvarlink(SWIG_globals
,(char*)"ToggleButtonNameStr",_wrap_ToggleButtonNameStr_get
, _wrap_ToggleButtonNameStr_set
);
33356 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOGGLEBUTTON_CLICKED", PyInt_FromLong(wxEVT_COMMAND_TOGGLEBUTTON_CLICKED
));
33357 SWIG_addvarlink(SWIG_globals
,(char*)"NOTEBOOK_NAME",_wrap_NOTEBOOK_NAME_get
, _wrap_NOTEBOOK_NAME_set
);
33358 PyDict_SetItemString(d
,"NB_FIXEDWIDTH", SWIG_FromInt((int)wxNB_FIXEDWIDTH
));
33359 PyDict_SetItemString(d
,"NB_TOP", SWIG_FromInt((int)wxNB_TOP
));
33360 PyDict_SetItemString(d
,"NB_LEFT", SWIG_FromInt((int)wxNB_LEFT
));
33361 PyDict_SetItemString(d
,"NB_RIGHT", SWIG_FromInt((int)wxNB_RIGHT
));
33362 PyDict_SetItemString(d
,"NB_BOTTOM", SWIG_FromInt((int)wxNB_BOTTOM
));
33363 PyDict_SetItemString(d
,"NB_MULTILINE", SWIG_FromInt((int)wxNB_MULTILINE
));
33364 PyDict_SetItemString(d
,"NB_HITTEST_NOWHERE", SWIG_FromInt((int)wxNB_HITTEST_NOWHERE
));
33365 PyDict_SetItemString(d
,"NB_HITTEST_ONICON", SWIG_FromInt((int)wxNB_HITTEST_ONICON
));
33366 PyDict_SetItemString(d
,"NB_HITTEST_ONLABEL", SWIG_FromInt((int)wxNB_HITTEST_ONLABEL
));
33367 PyDict_SetItemString(d
,"NB_HITTEST_ONITEM", SWIG_FromInt((int)wxNB_HITTEST_ONITEM
));
33368 PyDict_SetItemString(d
, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED
));
33369 PyDict_SetItemString(d
, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING
));
33370 PyDict_SetItemString(d
,"LB_DEFAULT", SWIG_FromInt((int)wxLB_DEFAULT
));
33371 PyDict_SetItemString(d
,"LB_TOP", SWIG_FromInt((int)wxLB_TOP
));
33372 PyDict_SetItemString(d
,"LB_BOTTOM", SWIG_FromInt((int)wxLB_BOTTOM
));
33373 PyDict_SetItemString(d
,"LB_LEFT", SWIG_FromInt((int)wxLB_LEFT
));
33374 PyDict_SetItemString(d
,"LB_RIGHT", SWIG_FromInt((int)wxLB_RIGHT
));
33375 PyDict_SetItemString(d
,"LB_ALIGN_MASK", SWIG_FromInt((int)wxLB_ALIGN_MASK
));
33376 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED
));
33377 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING
));
33378 PyDict_SetItemString(d
,"TOOL_STYLE_BUTTON", SWIG_FromInt((int)wxTOOL_STYLE_BUTTON
));
33379 PyDict_SetItemString(d
,"TOOL_STYLE_SEPARATOR", SWIG_FromInt((int)wxTOOL_STYLE_SEPARATOR
));
33380 PyDict_SetItemString(d
,"TOOL_STYLE_CONTROL", SWIG_FromInt((int)wxTOOL_STYLE_CONTROL
));
33381 PyDict_SetItemString(d
,"TB_HORIZONTAL", SWIG_FromInt((int)wxTB_HORIZONTAL
));
33382 PyDict_SetItemString(d
,"TB_VERTICAL", SWIG_FromInt((int)wxTB_VERTICAL
));
33383 PyDict_SetItemString(d
,"TB_3DBUTTONS", SWIG_FromInt((int)wxTB_3DBUTTONS
));
33384 PyDict_SetItemString(d
,"TB_FLAT", SWIG_FromInt((int)wxTB_FLAT
));
33385 PyDict_SetItemString(d
,"TB_DOCKABLE", SWIG_FromInt((int)wxTB_DOCKABLE
));
33386 PyDict_SetItemString(d
,"TB_NOICONS", SWIG_FromInt((int)wxTB_NOICONS
));
33387 PyDict_SetItemString(d
,"TB_TEXT", SWIG_FromInt((int)wxTB_TEXT
));
33388 PyDict_SetItemString(d
,"TB_NODIVIDER", SWIG_FromInt((int)wxTB_NODIVIDER
));
33389 PyDict_SetItemString(d
,"TB_NOALIGN", SWIG_FromInt((int)wxTB_NOALIGN
));
33390 PyDict_SetItemString(d
,"TB_HORZ_LAYOUT", SWIG_FromInt((int)wxTB_HORZ_LAYOUT
));
33391 PyDict_SetItemString(d
,"TB_HORZ_TEXT", SWIG_FromInt((int)wxTB_HORZ_TEXT
));
33392 SWIG_addvarlink(SWIG_globals
,(char*)"ListCtrlNameStr",_wrap_ListCtrlNameStr_get
, _wrap_ListCtrlNameStr_set
);
33393 PyDict_SetItemString(d
,"LC_VRULES", SWIG_FromInt((int)wxLC_VRULES
));
33394 PyDict_SetItemString(d
,"LC_HRULES", SWIG_FromInt((int)wxLC_HRULES
));
33395 PyDict_SetItemString(d
,"LC_ICON", SWIG_FromInt((int)wxLC_ICON
));
33396 PyDict_SetItemString(d
,"LC_SMALL_ICON", SWIG_FromInt((int)wxLC_SMALL_ICON
));
33397 PyDict_SetItemString(d
,"LC_LIST", SWIG_FromInt((int)wxLC_LIST
));
33398 PyDict_SetItemString(d
,"LC_REPORT", SWIG_FromInt((int)wxLC_REPORT
));
33399 PyDict_SetItemString(d
,"LC_ALIGN_TOP", SWIG_FromInt((int)wxLC_ALIGN_TOP
));
33400 PyDict_SetItemString(d
,"LC_ALIGN_LEFT", SWIG_FromInt((int)wxLC_ALIGN_LEFT
));
33401 PyDict_SetItemString(d
,"LC_AUTOARRANGE", SWIG_FromInt((int)wxLC_AUTOARRANGE
));
33402 PyDict_SetItemString(d
,"LC_VIRTUAL", SWIG_FromInt((int)wxLC_VIRTUAL
));
33403 PyDict_SetItemString(d
,"LC_EDIT_LABELS", SWIG_FromInt((int)wxLC_EDIT_LABELS
));
33404 PyDict_SetItemString(d
,"LC_NO_HEADER", SWIG_FromInt((int)wxLC_NO_HEADER
));
33405 PyDict_SetItemString(d
,"LC_NO_SORT_HEADER", SWIG_FromInt((int)wxLC_NO_SORT_HEADER
));
33406 PyDict_SetItemString(d
,"LC_SINGLE_SEL", SWIG_FromInt((int)wxLC_SINGLE_SEL
));
33407 PyDict_SetItemString(d
,"LC_SORT_ASCENDING", SWIG_FromInt((int)wxLC_SORT_ASCENDING
));
33408 PyDict_SetItemString(d
,"LC_SORT_DESCENDING", SWIG_FromInt((int)wxLC_SORT_DESCENDING
));
33409 PyDict_SetItemString(d
,"LC_MASK_TYPE", SWIG_FromInt((int)wxLC_MASK_TYPE
));
33410 PyDict_SetItemString(d
,"LC_MASK_ALIGN", SWIG_FromInt((int)wxLC_MASK_ALIGN
));
33411 PyDict_SetItemString(d
,"LC_MASK_SORT", SWIG_FromInt((int)wxLC_MASK_SORT
));
33412 PyDict_SetItemString(d
,"LIST_MASK_STATE", SWIG_FromInt((int)wxLIST_MASK_STATE
));
33413 PyDict_SetItemString(d
,"LIST_MASK_TEXT", SWIG_FromInt((int)wxLIST_MASK_TEXT
));
33414 PyDict_SetItemString(d
,"LIST_MASK_IMAGE", SWIG_FromInt((int)wxLIST_MASK_IMAGE
));
33415 PyDict_SetItemString(d
,"LIST_MASK_DATA", SWIG_FromInt((int)wxLIST_MASK_DATA
));
33416 PyDict_SetItemString(d
,"LIST_SET_ITEM", SWIG_FromInt((int)wxLIST_SET_ITEM
));
33417 PyDict_SetItemString(d
,"LIST_MASK_WIDTH", SWIG_FromInt((int)wxLIST_MASK_WIDTH
));
33418 PyDict_SetItemString(d
,"LIST_MASK_FORMAT", SWIG_FromInt((int)wxLIST_MASK_FORMAT
));
33419 PyDict_SetItemString(d
,"LIST_STATE_DONTCARE", SWIG_FromInt((int)wxLIST_STATE_DONTCARE
));
33420 PyDict_SetItemString(d
,"LIST_STATE_DROPHILITED", SWIG_FromInt((int)wxLIST_STATE_DROPHILITED
));
33421 PyDict_SetItemString(d
,"LIST_STATE_FOCUSED", SWIG_FromInt((int)wxLIST_STATE_FOCUSED
));
33422 PyDict_SetItemString(d
,"LIST_STATE_SELECTED", SWIG_FromInt((int)wxLIST_STATE_SELECTED
));
33423 PyDict_SetItemString(d
,"LIST_STATE_CUT", SWIG_FromInt((int)wxLIST_STATE_CUT
));
33424 PyDict_SetItemString(d
,"LIST_STATE_DISABLED", SWIG_FromInt((int)wxLIST_STATE_DISABLED
));
33425 PyDict_SetItemString(d
,"LIST_STATE_FILTERED", SWIG_FromInt((int)wxLIST_STATE_FILTERED
));
33426 PyDict_SetItemString(d
,"LIST_STATE_INUSE", SWIG_FromInt((int)wxLIST_STATE_INUSE
));
33427 PyDict_SetItemString(d
,"LIST_STATE_PICKED", SWIG_FromInt((int)wxLIST_STATE_PICKED
));
33428 PyDict_SetItemString(d
,"LIST_STATE_SOURCE", SWIG_FromInt((int)wxLIST_STATE_SOURCE
));
33429 PyDict_SetItemString(d
,"LIST_HITTEST_ABOVE", SWIG_FromInt((int)wxLIST_HITTEST_ABOVE
));
33430 PyDict_SetItemString(d
,"LIST_HITTEST_BELOW", SWIG_FromInt((int)wxLIST_HITTEST_BELOW
));
33431 PyDict_SetItemString(d
,"LIST_HITTEST_NOWHERE", SWIG_FromInt((int)wxLIST_HITTEST_NOWHERE
));
33432 PyDict_SetItemString(d
,"LIST_HITTEST_ONITEMICON", SWIG_FromInt((int)wxLIST_HITTEST_ONITEMICON
));
33433 PyDict_SetItemString(d
,"LIST_HITTEST_ONITEMLABEL", SWIG_FromInt((int)wxLIST_HITTEST_ONITEMLABEL
));
33434 PyDict_SetItemString(d
,"LIST_HITTEST_ONITEMRIGHT", SWIG_FromInt((int)wxLIST_HITTEST_ONITEMRIGHT
));
33435 PyDict_SetItemString(d
,"LIST_HITTEST_ONITEMSTATEICON", SWIG_FromInt((int)wxLIST_HITTEST_ONITEMSTATEICON
));
33436 PyDict_SetItemString(d
,"LIST_HITTEST_TOLEFT", SWIG_FromInt((int)wxLIST_HITTEST_TOLEFT
));
33437 PyDict_SetItemString(d
,"LIST_HITTEST_TORIGHT", SWIG_FromInt((int)wxLIST_HITTEST_TORIGHT
));
33438 PyDict_SetItemString(d
,"LIST_HITTEST_ONITEM", SWIG_FromInt((int)wxLIST_HITTEST_ONITEM
));
33439 PyDict_SetItemString(d
,"LIST_NEXT_ABOVE", SWIG_FromInt((int)wxLIST_NEXT_ABOVE
));
33440 PyDict_SetItemString(d
,"LIST_NEXT_ALL", SWIG_FromInt((int)wxLIST_NEXT_ALL
));
33441 PyDict_SetItemString(d
,"LIST_NEXT_BELOW", SWIG_FromInt((int)wxLIST_NEXT_BELOW
));
33442 PyDict_SetItemString(d
,"LIST_NEXT_LEFT", SWIG_FromInt((int)wxLIST_NEXT_LEFT
));
33443 PyDict_SetItemString(d
,"LIST_NEXT_RIGHT", SWIG_FromInt((int)wxLIST_NEXT_RIGHT
));
33444 PyDict_SetItemString(d
,"LIST_ALIGN_DEFAULT", SWIG_FromInt((int)wxLIST_ALIGN_DEFAULT
));
33445 PyDict_SetItemString(d
,"LIST_ALIGN_LEFT", SWIG_FromInt((int)wxLIST_ALIGN_LEFT
));
33446 PyDict_SetItemString(d
,"LIST_ALIGN_TOP", SWIG_FromInt((int)wxLIST_ALIGN_TOP
));
33447 PyDict_SetItemString(d
,"LIST_ALIGN_SNAP_TO_GRID", SWIG_FromInt((int)wxLIST_ALIGN_SNAP_TO_GRID
));
33448 PyDict_SetItemString(d
,"LIST_FORMAT_LEFT", SWIG_FromInt((int)wxLIST_FORMAT_LEFT
));
33449 PyDict_SetItemString(d
,"LIST_FORMAT_RIGHT", SWIG_FromInt((int)wxLIST_FORMAT_RIGHT
));
33450 PyDict_SetItemString(d
,"LIST_FORMAT_CENTRE", SWIG_FromInt((int)wxLIST_FORMAT_CENTRE
));
33451 PyDict_SetItemString(d
,"LIST_FORMAT_CENTER", SWIG_FromInt((int)wxLIST_FORMAT_CENTER
));
33452 PyDict_SetItemString(d
,"LIST_AUTOSIZE", SWIG_FromInt((int)wxLIST_AUTOSIZE
));
33453 PyDict_SetItemString(d
,"LIST_AUTOSIZE_USEHEADER", SWIG_FromInt((int)wxLIST_AUTOSIZE_USEHEADER
));
33454 PyDict_SetItemString(d
,"LIST_RECT_BOUNDS", SWIG_FromInt((int)wxLIST_RECT_BOUNDS
));
33455 PyDict_SetItemString(d
,"LIST_RECT_ICON", SWIG_FromInt((int)wxLIST_RECT_ICON
));
33456 PyDict_SetItemString(d
,"LIST_RECT_LABEL", SWIG_FromInt((int)wxLIST_RECT_LABEL
));
33457 PyDict_SetItemString(d
,"LIST_FIND_UP", SWIG_FromInt((int)wxLIST_FIND_UP
));
33458 PyDict_SetItemString(d
,"LIST_FIND_DOWN", SWIG_FromInt((int)wxLIST_FIND_DOWN
));
33459 PyDict_SetItemString(d
,"LIST_FIND_LEFT", SWIG_FromInt((int)wxLIST_FIND_LEFT
));
33460 PyDict_SetItemString(d
,"LIST_FIND_RIGHT", SWIG_FromInt((int)wxLIST_FIND_RIGHT
));
33461 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_DRAG
));
33462 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_RDRAG
));
33463 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT
));
33464 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_END_LABEL_EDIT
));
33465 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ITEM
));
33466 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS
));
33467 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_GET_INFO", PyInt_FromLong(wxEVT_COMMAND_LIST_GET_INFO
));
33468 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_SET_INFO", PyInt_FromLong(wxEVT_COMMAND_LIST_SET_INFO
));
33469 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_SELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_SELECTED
));
33470 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_DESELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_DESELECTED
));
33471 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_LIST_KEY_DOWN
));
33472 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_INSERT_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_INSERT_ITEM
));
33473 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_CLICK
));
33474 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK
));
33475 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK
));
33476 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_ACTIVATED
));
33477 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_CACHE_HINT", PyInt_FromLong(wxEVT_COMMAND_LIST_CACHE_HINT
));
33478 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_RIGHT_CLICK
));
33479 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_BEGIN_DRAG
));
33480 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_DRAGGING", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_DRAGGING
));
33481 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_END_DRAG
));
33482 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_FOCUSED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_FOCUSED
));
33484 // Map renamed classes back to their common name for OOR
33485 wxPyPtrTypeMap_Add("wxListCtrl", "wxPyListCtrl");
33487 SWIG_addvarlink(SWIG_globals
,(char*)"TreeCtrlNameStr",_wrap_TreeCtrlNameStr_get
, _wrap_TreeCtrlNameStr_set
);
33488 PyDict_SetItemString(d
,"TR_NO_BUTTONS", SWIG_FromInt((int)wxTR_NO_BUTTONS
));
33489 PyDict_SetItemString(d
,"TR_HAS_BUTTONS", SWIG_FromInt((int)wxTR_HAS_BUTTONS
));
33490 PyDict_SetItemString(d
,"TR_NO_LINES", SWIG_FromInt((int)wxTR_NO_LINES
));
33491 PyDict_SetItemString(d
,"TR_LINES_AT_ROOT", SWIG_FromInt((int)wxTR_LINES_AT_ROOT
));
33492 PyDict_SetItemString(d
,"TR_SINGLE", SWIG_FromInt((int)wxTR_SINGLE
));
33493 PyDict_SetItemString(d
,"TR_MULTIPLE", SWIG_FromInt((int)wxTR_MULTIPLE
));
33494 PyDict_SetItemString(d
,"TR_EXTENDED", SWIG_FromInt((int)wxTR_EXTENDED
));
33495 PyDict_SetItemString(d
,"TR_HAS_VARIABLE_ROW_HEIGHT", SWIG_FromInt((int)wxTR_HAS_VARIABLE_ROW_HEIGHT
));
33496 PyDict_SetItemString(d
,"TR_EDIT_LABELS", SWIG_FromInt((int)wxTR_EDIT_LABELS
));
33497 PyDict_SetItemString(d
,"TR_HIDE_ROOT", SWIG_FromInt((int)wxTR_HIDE_ROOT
));
33498 PyDict_SetItemString(d
,"TR_ROW_LINES", SWIG_FromInt((int)wxTR_ROW_LINES
));
33499 PyDict_SetItemString(d
,"TR_FULL_ROW_HIGHLIGHT", SWIG_FromInt((int)wxTR_FULL_ROW_HIGHLIGHT
));
33500 PyDict_SetItemString(d
,"TR_DEFAULT_STYLE", SWIG_FromInt((int)wxTR_DEFAULT_STYLE
));
33501 PyDict_SetItemString(d
,"TR_TWIST_BUTTONS", SWIG_FromInt((int)wxTR_TWIST_BUTTONS
));
33502 PyDict_SetItemString(d
,"TR_MAC_BUTTONS", SWIG_FromInt((int)wxTR_MAC_BUTTONS
));
33503 PyDict_SetItemString(d
,"TR_AQUA_BUTTONS", SWIG_FromInt((int)wxTR_AQUA_BUTTONS
));
33504 PyDict_SetItemString(d
,"TreeItemIcon_Normal", SWIG_FromInt((int)wxTreeItemIcon_Normal
));
33505 PyDict_SetItemString(d
,"TreeItemIcon_Selected", SWIG_FromInt((int)wxTreeItemIcon_Selected
));
33506 PyDict_SetItemString(d
,"TreeItemIcon_Expanded", SWIG_FromInt((int)wxTreeItemIcon_Expanded
));
33507 PyDict_SetItemString(d
,"TreeItemIcon_SelectedExpanded", SWIG_FromInt((int)wxTreeItemIcon_SelectedExpanded
));
33508 PyDict_SetItemString(d
,"TreeItemIcon_Max", SWIG_FromInt((int)wxTreeItemIcon_Max
));
33509 PyDict_SetItemString(d
,"TREE_HITTEST_ABOVE", SWIG_FromInt((int)wxTREE_HITTEST_ABOVE
));
33510 PyDict_SetItemString(d
,"TREE_HITTEST_BELOW", SWIG_FromInt((int)wxTREE_HITTEST_BELOW
));
33511 PyDict_SetItemString(d
,"TREE_HITTEST_NOWHERE", SWIG_FromInt((int)wxTREE_HITTEST_NOWHERE
));
33512 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMBUTTON", SWIG_FromInt((int)wxTREE_HITTEST_ONITEMBUTTON
));
33513 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMICON", SWIG_FromInt((int)wxTREE_HITTEST_ONITEMICON
));
33514 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMINDENT", SWIG_FromInt((int)wxTREE_HITTEST_ONITEMINDENT
));
33515 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMLABEL", SWIG_FromInt((int)wxTREE_HITTEST_ONITEMLABEL
));
33516 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMRIGHT", SWIG_FromInt((int)wxTREE_HITTEST_ONITEMRIGHT
));
33517 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMSTATEICON", SWIG_FromInt((int)wxTREE_HITTEST_ONITEMSTATEICON
));
33518 PyDict_SetItemString(d
,"TREE_HITTEST_TOLEFT", SWIG_FromInt((int)wxTREE_HITTEST_TOLEFT
));
33519 PyDict_SetItemString(d
,"TREE_HITTEST_TORIGHT", SWIG_FromInt((int)wxTREE_HITTEST_TORIGHT
));
33520 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMUPPERPART", SWIG_FromInt((int)wxTREE_HITTEST_ONITEMUPPERPART
));
33521 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMLOWERPART", SWIG_FromInt((int)wxTREE_HITTEST_ONITEMLOWERPART
));
33522 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEM", SWIG_FromInt((int)wxTREE_HITTEST_ONITEM
));
33523 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_DRAG
));
33524 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_RDRAG
));
33525 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT
));
33526 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_END_LABEL_EDIT
));
33527 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_TREE_DELETE_ITEM
));
33528 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_GET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_GET_INFO
));
33529 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_SET_INFO
));
33530 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_EXPANDED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDED
));
33531 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_EXPANDING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDING
));
33532 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_COLLAPSED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSED
));
33533 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_COLLAPSING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSING
));
33534 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SEL_CHANGED", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGED
));
33535 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SEL_CHANGING", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGING
));
33536 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_TREE_KEY_DOWN
));
33537 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_ACTIVATED
));
33538 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK
));
33539 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK
));
33540 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_END_DRAG
));
33541 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK
));
33542 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP
));
33544 // Map renamed classes back to their common name for OOR
33545 wxPyPtrTypeMap_Add("wxTreeItemData", "wxPyTreeItemData");
33546 wxPyPtrTypeMap_Add("wxTreeCtrl", "wxPyTreeCtrl");
33548 SWIG_addvarlink(SWIG_globals
,(char*)"DirDialogDefaultFolderStr",_wrap_DirDialogDefaultFolderStr_get
, _wrap_DirDialogDefaultFolderStr_set
);
33549 PyDict_SetItemString(d
,"DIRCTRL_DIR_ONLY", SWIG_FromInt((int)wxDIRCTRL_DIR_ONLY
));
33550 PyDict_SetItemString(d
,"DIRCTRL_SELECT_FIRST", SWIG_FromInt((int)wxDIRCTRL_SELECT_FIRST
));
33551 PyDict_SetItemString(d
,"DIRCTRL_SHOW_FILTERS", SWIG_FromInt((int)wxDIRCTRL_SHOW_FILTERS
));
33552 PyDict_SetItemString(d
,"DIRCTRL_3D_INTERNAL", SWIG_FromInt((int)wxDIRCTRL_3D_INTERNAL
));
33553 PyDict_SetItemString(d
,"DIRCTRL_EDIT_LABELS", SWIG_FromInt((int)wxDIRCTRL_EDIT_LABELS
));
33554 PyDict_SetItemString(d
,"FRAME_EX_CONTEXTHELP", SWIG_FromInt((int)wxFRAME_EX_CONTEXTHELP
));
33555 PyDict_SetItemString(d
,"DIALOG_EX_CONTEXTHELP", SWIG_FromInt((int)wxDIALOG_EX_CONTEXTHELP
));
33556 PyDict_SetItemString(d
, "wxEVT_HELP", PyInt_FromLong(wxEVT_HELP
));
33557 PyDict_SetItemString(d
, "wxEVT_DETAILED_HELP", PyInt_FromLong(wxEVT_DETAILED_HELP
));
33559 wxPyPtrTypeMap_Add("wxDragImage", "wxGenericDragImage");