1 /* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
5 * This file is not intended to be easily readable and contains a number of
6 * coding conventions designed to improve portability and efficiency. Do not make
7 * changes to this file unless you know what you are doing--modify the SWIG
8 * interface file instead.
9 * ----------------------------------------------------------------------------- */
12 #define SWIG_NOINCLUDE
15 template<class T
> class SwigValueWrapper
{
18 SwigValueWrapper() : tt(0) { }
19 SwigValueWrapper(const SwigValueWrapper
<T
>& rhs
) : tt(new T(*rhs
.tt
)) { }
20 SwigValueWrapper(const T
& t
) : tt(new T(t
)) { }
21 ~SwigValueWrapper() { delete tt
; }
22 SwigValueWrapper
& operator=(const T
& t
) { delete tt
; tt
= new T(t
); return *this; }
23 operator T
&() const { return *tt
; }
24 T
*operator&() { return tt
; }
26 SwigValueWrapper
& operator=(const SwigValueWrapper
<T
>& rhs
);
33 /*************************************************************** -*- c -*-
34 * python/precommon.swg
36 * Rename all exported symbols from common.swg, to avoid symbol
37 * clashes if multiple interpreters are included
39 ************************************************************************/
41 #define SWIG_TypeRegister SWIG_Python_TypeRegister
42 #define SWIG_TypeCheck SWIG_Python_TypeCheck
43 #define SWIG_TypeCast SWIG_Python_TypeCast
44 #define SWIG_TypeDynamicCast SWIG_Python_TypeDynamicCast
45 #define SWIG_TypeName SWIG_Python_TypeName
46 #define SWIG_TypeQuery SWIG_Python_TypeQuery
47 #define SWIG_TypeClientData SWIG_Python_TypeClientData
48 #define SWIG_PackData SWIG_Python_PackData
49 #define SWIG_UnpackData SWIG_Python_UnpackData
52 /***********************************************************************
53 * common.swg for wxPython
55 * Include only the function prototypes and such from SWIG's common.swg,
56 * but not the runtime functions themselves. This helps keep the
57 * wrapper files clean of unnecessary stuff that is in the libpy.c file
60 ************************************************************************/
64 #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
65 # if defined(_MSC_VER) || defined(__GNUC__)
66 # if defined(STATIC_LINKED)
67 # define SWIGEXPORT(a) a
68 # define SWIGIMPORT(a) extern a
70 # define SWIGEXPORT(a) __declspec(dllexport) a
71 # define SWIGIMPORT(a) extern a
74 # if defined(__BORLANDC__)
75 # define SWIGEXPORT(a) a _export
76 # define SWIGIMPORT(a) a _export
78 # define SWIGEXPORT(a) a
79 # define SWIGIMPORT(a) a
83 # define SWIGEXPORT(a) a
84 # define SWIGIMPORT(a) a
88 # define SWIGRUNTIME(a) SWIGEXPORT(a)
90 # define SWIGRUNTIME(a) static a
97 typedef void *(*swig_converter_func
)(void *);
98 typedef struct swig_type_info
*(*swig_dycast_func
)(void **);
100 typedef struct swig_type_info
{
102 swig_converter_func converter
;
105 swig_dycast_func dcast
;
106 struct swig_type_info
*next
;
107 struct swig_type_info
*prev
;
111 SWIGIMPORT(swig_type_info
*) SWIG_TypeRegister(swig_type_info
*);
112 SWIGIMPORT(swig_type_info
*) SWIG_TypeCheck(char *c
, swig_type_info
*);
113 SWIGIMPORT(void *) SWIG_TypeCast(swig_type_info
*, void *);
114 SWIGIMPORT(swig_type_info
*) SWIG_TypeDynamicCast(swig_type_info
*, void **);
115 SWIGIMPORT(const char *) SWIG_TypeName(const swig_type_info
*);
116 SWIGIMPORT(swig_type_info
*) SWIG_TypeQuery(const char *);
117 SWIGIMPORT(void) SWIG_TypeClientData(swig_type_info
*, void *);
118 SWIGIMPORT(char *) SWIG_PackData(char *, void *, int);
119 SWIGIMPORT(char *) SWIG_UnpackData(char *, void *, int);
126 /***********************************************************************
127 * pyrun.swg for wxPython
129 * Include only the function prototypes and such from SWIG's pyrun.swg,
130 * but not the runtime functions themselves. This helps keep the
131 * wrapper files clean of unnecessary stuff that is in the libpy.c file
134 ************************************************************************/
142 #define SWIG_PY_INT 1
143 #define SWIG_PY_FLOAT 2
144 #define SWIG_PY_STRING 3
145 #define SWIG_PY_POINTER 4
146 #define SWIG_PY_BINARY 5
148 /* Flags for pointer conversion */
150 #define SWIG_POINTER_EXCEPTION 0x1
151 #define SWIG_POINTER_DISOWN 0x2
153 /* Exception handling in wrappers */
154 #define SWIG_fail goto fail
156 /* Constant information structure */
157 typedef struct swig_const_info
{
163 swig_type_info
**ptype
;
166 /* Common SWIG API */
167 #define SWIG_ConvertPtr(obj, pp, type, flags) \
168 SWIG_Python_ConvertPtr(obj, pp, type, flags)
169 #define SWIG_NewPointerObj(p, type, flags) \
170 SWIG_Python_NewPointerObj(p, type, flags)
171 #define SWIG_MustGetPtr(p, type, argnum, flags) \
172 SWIG_Python_MustGetPtr(p, type, argnum, flags)
174 /* Python-specific SWIG API */
175 #define SWIG_newvarlink() \
176 SWIG_Python_newvarlink()
177 #define SWIG_addvarlink(p, name, get_attr, set_attr) \
178 SWIG_Python_addvarlink(p, name, get_attr, set_attr)
179 #define SWIG_ConvertPacked(obj, ptr, sz, ty, flags) \
180 SWIG_Python_ConvertPacked(obj, ptr, sz, ty, flags)
181 #define SWIG_NewPackedObj(ptr, sz, type) \
182 SWIG_Python_NewPackedObj(ptr, sz, type)
183 #define SWIG_InstallConstants(d, constants) \
184 SWIG_Python_InstallConstants(d, constants)
186 typedef double (*py_objasdbl_conv
)(PyObject
*obj
);
188 SWIGIMPORT(int) SWIG_Python_ConvertPtr(PyObject
*, void **, swig_type_info
*, int);
189 SWIGIMPORT(PyObject
*) SWIG_Python_NewPointerObj(void *, swig_type_info
*,int own
);
190 SWIGIMPORT(void *) SWIG_Python_MustGetPtr(PyObject
*, swig_type_info
*, int, int);
191 SWIGIMPORT(PyObject
*) SWIG_Python_newvarlink(void);
192 SWIGIMPORT(void) SWIG_Python_addvarlink(PyObject
*, char *, PyObject
*(*)(void), int (*)(PyObject
*));
193 SWIGIMPORT(int) SWIG_Python_ConvertPacked(PyObject
*, void *, int sz
, swig_type_info
*, int);
194 SWIGIMPORT(PyObject
*) SWIG_Python_NewPackedObj(void *, int sz
, swig_type_info
*);
195 SWIGIMPORT(void) SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]);
198 /* Contract support */
200 #define SWIG_contract_assert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else
207 /* -------- TYPES TABLE (BEGIN) -------- */
209 #define SWIGTYPE_p_wxTextUrlEvent swig_types[0]
210 #define SWIGTYPE_p_wxBookCtrlEvent swig_types[1]
211 #define SWIGTYPE_p_wxSizer swig_types[2]
212 #define SWIGTYPE_p_wxCheckBox swig_types[3]
213 #define SWIGTYPE_p_wxPyTreeCtrl swig_types[4]
214 #define SWIGTYPE_p_wxEvent swig_types[5]
215 #define SWIGTYPE_p_wxGenericDirCtrl swig_types[6]
216 #define SWIGTYPE_p_bool swig_types[7]
217 #define SWIGTYPE_p_wxPyTreeItemData swig_types[8]
218 #define SWIGTYPE_p_wxItemContainer swig_types[9]
219 #define SWIGTYPE_p_wxPyListCtrl swig_types[10]
220 #define SWIGTYPE_p_wxDirFilterListCtrl swig_types[11]
221 #define SWIGTYPE_p_wxStaticLine swig_types[12]
222 #define SWIGTYPE_p_wxControl swig_types[13]
223 #define SWIGTYPE_p_wxPyControl swig_types[14]
224 #define SWIGTYPE_p_wxGauge swig_types[15]
225 #define SWIGTYPE_p_wxToolBarBase swig_types[16]
226 #define SWIGTYPE_p_wxFont swig_types[17]
227 #define SWIGTYPE_p_wxToggleButton swig_types[18]
228 #define SWIGTYPE_p_wxRadioButton swig_types[19]
229 #define SWIGTYPE_p_wxChoice swig_types[20]
230 #define SWIGTYPE_p_wxMemoryDC swig_types[21]
231 #define SWIGTYPE_p_wxListItemAttr swig_types[22]
232 #define SWIGTYPE_p_void swig_types[23]
233 #define SWIGTYPE_p_int swig_types[24]
234 #define SWIGTYPE_p_wxSize swig_types[25]
235 #define SWIGTYPE_p_wxDC swig_types[26]
236 #define SWIGTYPE_p_wxListView swig_types[27]
237 #define SWIGTYPE_p_wxIcon swig_types[28]
238 #define SWIGTYPE_p_wxVisualAttributes swig_types[29]
239 #define SWIGTYPE_p_wxTextCtrl swig_types[30]
240 #define SWIGTYPE_p_wxNotebook swig_types[31]
241 #define SWIGTYPE_p_wxNotifyEvent swig_types[32]
242 #define SWIGTYPE_p_wxArrayString swig_types[33]
243 #define SWIGTYPE_p_wxListbook swig_types[34]
244 #define SWIGTYPE_p_wxStaticBitmap swig_types[35]
245 #define SWIGTYPE_p_wxSlider swig_types[36]
246 #define SWIGTYPE_p_wxStaticBox swig_types[37]
247 #define SWIGTYPE_p_wxArrayInt swig_types[38]
248 #define SWIGTYPE_p_wxContextHelp swig_types[39]
249 #define SWIGTYPE_p_long swig_types[40]
250 #define SWIGTYPE_p_wxEvtHandler swig_types[41]
251 #define SWIGTYPE_p_wxListEvent swig_types[42]
252 #define SWIGTYPE_p_wxCheckListBox swig_types[43]
253 #define SWIGTYPE_p_wxListBox swig_types[44]
254 #define SWIGTYPE_p_wxBookCtrl swig_types[45]
255 #define SWIGTYPE_p_wxSpinButton swig_types[46]
256 #define SWIGTYPE_p_wxButton swig_types[47]
257 #define SWIGTYPE_p_wxBitmapButton swig_types[48]
258 #define SWIGTYPE_p_wxRect swig_types[49]
259 #define SWIGTYPE_p_wxContextHelpButton swig_types[50]
260 #define SWIGTYPE_p_wxRadioBox swig_types[51]
261 #define SWIGTYPE_p_wxScrollBar swig_types[52]
262 #define SWIGTYPE_p_char swig_types[53]
263 #define SWIGTYPE_p_wxTreeItemId swig_types[54]
264 #define SWIGTYPE_p_wxComboBox swig_types[55]
265 #define SWIGTYPE_p_wxHelpEvent swig_types[56]
266 #define SWIGTYPE_p_wxListItem swig_types[57]
267 #define SWIGTYPE_p_wxNotebookSizer swig_types[58]
268 #define SWIGTYPE_p_wxSpinEvent swig_types[59]
269 #define SWIGTYPE_p_wxGenericDragImage swig_types[60]
270 #define SWIGTYPE_p_wxSpinCtrl swig_types[61]
271 #define SWIGTYPE_p_wxImageList swig_types[62]
272 #define SWIGTYPE_p_wxHelpProvider swig_types[63]
273 #define SWIGTYPE_p_wxTextAttr swig_types[64]
274 #define SWIGTYPE_p_wxSimpleHelpProvider swig_types[65]
275 #define SWIGTYPE_p_wxPoint swig_types[66]
276 #define SWIGTYPE_p_wxListbookEvent swig_types[67]
277 #define SWIGTYPE_p_wxNotebookEvent swig_types[68]
278 #define SWIGTYPE_p_wxObject swig_types[69]
279 #define SWIGTYPE_p_wxCursor swig_types[70]
280 #define SWIGTYPE_p_wxKeyEvent swig_types[71]
281 #define SWIGTYPE_p_wxWindow swig_types[72]
282 #define SWIGTYPE_p_wxString swig_types[73]
283 #define SWIGTYPE_p_wxBitmap swig_types[74]
284 #define SWIGTYPE_p_wxTreeEvent swig_types[75]
285 #define SWIGTYPE_p_wxMouseEvent swig_types[76]
286 #define SWIGTYPE_p_wxCommandEvent swig_types[77]
287 #define SWIGTYPE_p_wxStaticText swig_types[78]
288 #define SWIGTYPE_p_wxControlWithItems swig_types[79]
289 #define SWIGTYPE_p_wxToolBarToolBase swig_types[80]
290 #define SWIGTYPE_p_wxColour swig_types[81]
291 #define SWIGTYPE_p_wxToolBar swig_types[82]
292 #define SWIGTYPE_p_wxBookCtrlSizer swig_types[83]
293 #define SWIGTYPE_p_wxValidator swig_types[84]
294 static swig_type_info
*swig_types
[86];
296 /* -------- TYPES TABLE (END) -------- */
299 /*-----------------------------------------------
300 @(target):= _controls_.so
301 ------------------------------------------------*/
302 #define SWIG_init init_controls_
304 #define SWIG_name "_controls_"
306 /* Auxiliar swig macros */
309 #define SWIGSTATICINLINE(a) static inline a
310 #define SWIGSTATIC(a) static a
311 #define swig_new_array(type, size) (new type[(size)])
312 #define swig_delete_array(cptr) delete[] cptr
313 #define swig_const_cast(type,a) const_cast<type>(a)
314 #define swig_static_cast(type,a) static_cast<type>(a)
315 #define swig_reinterpret_cast(type,a) reinterpret_cast<type>(a)
317 #ifdef HAVE_NUMERIC_CAST
318 #define swig_numeric_cast(type,a) numeric_cast<type>(a)
320 #define swig_numeric_cast(type,a) static_cast<type>(a)
325 #define SWIGSTATICINLINE(a) static a
326 #define SWIGSTATIC(a) static a
327 #define swig_new_array(type, size) ((type*) malloc((size)*sizeof(type)))
328 #define swig_delete_array(cptr) free((char*)cptr)
329 #define swig_const_cast(type,a) (type)(a)
330 #define swig_static_cast(type,a) (type)(a)
331 #define swig_reinterpret_cast(type,a) (type)(a)
332 #define swig_numeric_cast(type,a) (type)(a)
334 #endif /* __cplusplus */
337 #define SWIG_FromSignedChar PyInt_FromLong
338 #define SWIG_FromUnsignedChar PyInt_FromLong
339 #define SWIG_FromShort PyInt_FromLong
340 #define SWIG_FromUnsignedShort PyInt_FromLong
341 #define SWIG_FromInt PyInt_FromLong
342 #define SWIG_FromLong PyInt_FromLong
343 #define SWIG_FromFloat PyFloat_FromDouble
344 #define SWIG_FromDouble PyFloat_FromDouble
345 #define SWIG_FromFloat PyFloat_FromDouble
346 #define SWIG_FromDouble PyFloat_FromDouble
349 #include "wx/wxPython/wxPython.h"
350 #include "wx/wxPython/pyclasses.h"
352 static const wxString
wxPyPanelNameStr(wxPanelNameStr
);
353 static const wxString
wxPyEmptyString(wxEmptyString
);
354 static const wxString
wxPyControlNameStr(wxControlNameStr
);
356 const wxArrayString wxPyEmptyStringArray
;
358 static const wxString
wxPyButtonNameStr(wxButtonNameStr
);
363 SWIGSTATICINLINE(long)
364 SWIG_CheckLongInRange(long value
, const char* type
,
365 long min_value
, long max_value
)
367 if (!PyErr_Occurred()) {
368 if (value
< min_value
) {
370 PyString_FromFormat("value %ld is less than '%s' minimum %ld",
371 value
, type
, min_value
);
373 PyErr_SetObject(PyExc_OverflowError
, err
);
375 } else if (value
> max_value
) {
377 PyString_FromFormat("value %ld is greater than '%s' maximum %ld",
378 value
, type
, max_value
);
379 PyErr_SetObject(PyExc_OverflowError
, err
);
387 SWIGSTATICINLINE(long)
388 SWIG_AsLong(PyObject
* obj
)
390 if (PyNumber_Check(obj
))
391 return PyInt_AsLong(obj
);
393 PyObject
* errmsg
= PyString_FromFormat("Expected number, got %s",
394 obj
->ob_type
->tp_name
);
395 PyErr_SetObject(PyExc_TypeError
, errmsg
);
402 #if INT_MAX != LONG_MAX
403 SWIGSTATICINLINE(int)
404 SWIG_AsInt(PyObject
*obj
)
406 return swig_numeric_cast(int,
407 SWIG_CheckLongInRange(SWIG_AsLong(obj
),
408 "int", INT_MIN
, INT_MAX
));
411 #define SWIG_AsInt SWIG_AsLong
415 SWIGSTATICINLINE(int)
416 SWIG_CheckInt(PyObject
* obj
)
419 if (PyErr_Occurred()) {
428 SWIGSTATICINLINE(int)
429 SWIG_CheckLong(PyObject
* obj
)
432 if (PyErr_Occurred()) {
440 static const wxString
wxPyCheckBoxNameStr(wxCheckBoxNameStr
);
442 SWIGSTATICINLINE(bool)
443 SWIG_AsBool(PyObject
*obj
)
445 return PyObject_IsTrue(obj
) ? true : false;
449 SWIGSTATICINLINE(int)
450 SWIG_CheckBool(PyObject
* obj
)
453 if (PyErr_Occurred()) {
461 static const wxString
wxPyChoiceNameStr(wxChoiceNameStr
);
462 static const wxString
wxPyComboBoxNameStr(wxComboBoxNameStr
);
463 static const wxString
wxPyGaugeNameStr(wxGaugeNameStr
);
464 static const wxString
wxPyStaticBitmapNameStr(wxStaticBitmapNameStr
);
465 static const wxString
wxPyStaticBoxNameStr(wxStaticBoxNameStr
);
466 static const wxString
wxPyStaticTextNameStr(wxStaticTextNameStr
);
468 #include <wx/checklst.h>
471 static const wxString
wxPyListBoxNameStr(wxListBoxNameStr
);
472 void wxListBox_Insert(wxListBox
*self
,wxString
const &item
,int pos
,PyObject
*clientData
){
474 wxPyClientData
* data
= new wxPyClientData(clientData
);
475 self
->Insert(item
, pos
, data
);
477 self
->Insert(item
, pos
);
479 PyObject
*wxListBox_GetSelections(wxListBox
*self
){
481 self
->GetSelections(lst
);
482 PyObject
*tup
= PyTuple_New(lst
.GetCount());
483 for(size_t i
=0; i
<lst
.GetCount(); i
++) {
484 PyTuple_SetItem(tup
, i
, PyInt_FromLong(lst
[i
]));
488 void wxListBox_SetItemForegroundColour(wxListBox
*self
,int item
,wxColour
const &c
){
490 if (self
->GetWindowStyle() & wxLB_OWNERDRAW
)
491 self
->GetItem(item
)->SetTextColour(c
);
494 void wxListBox_SetItemBackgroundColour(wxListBox
*self
,int item
,wxColour
const &c
){
496 if (self
->GetWindowStyle() & wxLB_OWNERDRAW
)
497 self
->GetItem(item
)->SetBackgroundColour(c
);
500 void wxListBox_SetItemFont(wxListBox
*self
,int item
,wxFont
const &f
){
502 if (self
->GetWindowStyle() & wxLB_OWNERDRAW
)
503 self
->GetItem(item
)->SetFont(f
);
506 static const wxString
wxPyTextCtrlNameStr(wxTextCtrlNameStr
);
508 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
514 } else if (target
== Py_None
) {
518 if (!PyTuple_Check(target
)) {
520 target
= PyTuple_New(1);
521 PyTuple_SetItem(target
, 0, o2
);
524 PyTuple_SetItem(o3
, 0, o
);
527 target
= PySequence_Concat(o2
, o3
);
535 SWIGSTATICINLINE(unsigned long)
536 SWIG_AsUnsignedLong(PyObject
* obj
)
538 if (PyLong_Check(obj
)) {
539 return PyLong_AsUnsignedLong(obj
);
541 long i
= SWIG_AsLong(obj
);
542 if ( !PyErr_Occurred() && (i
< 0)) {
543 PyErr_SetString(PyExc_TypeError
, "negative value received for unsigned type");
550 SWIGSTATICINLINE(int)
551 SWIG_CheckUnsignedLong(PyObject
* obj
)
553 SWIG_AsUnsignedLong(obj
);
554 if (PyErr_Occurred()) {
562 void wxTextCtrl_write(wxTextCtrl
*self
,wxString
const &text
){
563 self
->AppendText(text
);
565 wxString
wxTextCtrl_GetString(wxTextCtrl
*self
,long from
,long to
){
566 return self
->GetValue().Mid(from
, to
- from
);
568 static const wxString
wxPyScrollBarNameStr(wxScrollBarNameStr
);
569 static const wxString
wxPySPIN_BUTTON_NAME(wxSPIN_BUTTON_NAME
);
570 static const wxString
wxPySpinCtrlNameStr(_T("wxSpinCtrl"));
571 static const wxString
wxPyRadioBoxNameStr(wxRadioBoxNameStr
);
572 static const wxString
wxPyRadioButtonNameStr(wxRadioButtonNameStr
);
574 #include <wx/slider.h>
577 static const wxString
wxPySliderNameStr(wxSliderNameStr
);
578 static const wxString
wxPyToggleButtonNameStr(_T("wxToggleButton"));
581 // implement dummy items for platforms that don't have this class
583 #define wxEVT_COMMAND_TOGGLEBUTTON_CLICKED 0
585 class wxToggleButton
: public wxControl
588 wxToggleButton(wxWindow
*, wxWindowID
, const wxString
&,
589 const wxPoint
&, const wxSize
&, long,
590 const wxValidator
&, const wxString
&)
591 { wxPyRaiseNotImplemented(); }
594 { wxPyRaiseNotImplemented(); }
598 static const wxString
wxPyNOTEBOOK_NAME(wxNOTEBOOK_NAME
);
600 SWIGSTATICINLINE(PyObject
* )
601 SWIG_FromUnsignedLong(unsigned long value
)
603 return (value
> LONG_MAX
) ?
604 PyLong_FromUnsignedLong(value
)
605 : PyInt_FromLong(swig_numeric_cast(long,value
));
608 static const wxString
wxPyToolBarNameStr(wxToolBarNameStr
);
609 PyObject
*wxToolBarToolBase_GetClientData(wxToolBarToolBase
*self
){
610 wxPyUserData
* udata
= (wxPyUserData
*)self
->GetClientData();
612 Py_INCREF(udata
->m_obj
);
619 void wxToolBarToolBase_SetClientData(wxToolBarToolBase
*self
,PyObject
*clientData
){
620 self
->SetClientData(new wxPyUserData(clientData
));
622 wxToolBarToolBase
*wxToolBarBase_DoAddTool(wxToolBarBase
*self
,int id
,wxString
const &label
,wxBitmap
const &bitmap
,wxBitmap
const &bmpDisabled
,wxItemKind kind
,wxString
const &shortHelp
,wxString
const &longHelp
,PyObject
*clientData
){
623 wxPyUserData
* udata
= NULL
;
624 if (clientData
&& clientData
!= Py_None
)
625 udata
= new wxPyUserData(clientData
);
626 return self
->AddTool(id
, label
, bitmap
, bmpDisabled
, kind
,
627 shortHelp
, longHelp
, udata
);
629 wxToolBarToolBase
*wxToolBarBase_DoInsertTool(wxToolBarBase
*self
,size_t pos
,int id
,wxString
const &label
,wxBitmap
const &bitmap
,wxBitmap
const &bmpDisabled
,wxItemKind kind
,wxString
const &shortHelp
,wxString
const &longHelp
,PyObject
*clientData
){
630 wxPyUserData
* udata
= NULL
;
631 if (clientData
&& clientData
!= Py_None
)
632 udata
= new wxPyUserData(clientData
);
633 return self
->InsertTool(pos
, id
, label
, bitmap
, bmpDisabled
, kind
,
634 shortHelp
, longHelp
, udata
);
636 PyObject
*wxToolBarBase_GetToolClientData(wxToolBarBase
*self
,int id
){
637 wxPyUserData
* udata
= (wxPyUserData
*)self
->GetToolClientData(id
);
639 Py_INCREF(udata
->m_obj
);
646 void wxToolBarBase_SetToolClientData(wxToolBarBase
*self
,int id
,PyObject
*clientData
){
647 self
->SetToolClientData(id
, new wxPyUserData(clientData
));
650 #include <wx/listctrl.h>
652 static const wxString
wxPyListCtrlNameStr(_T("wxListCtrl"));
653 void wxListItemAttr_Destroy(wxListItemAttr
*self
){ delete self
; }
654 // Python aware sorting function for wxPyListCtrl
655 static int wxCALLBACK
wxPyListCtrl_SortItems(long item1
, long item2
, long funcPtr
) {
657 PyObject
* func
= (PyObject
*)funcPtr
;
658 bool blocked
= wxPyBeginBlockThreads();
660 PyObject
* args
= Py_BuildValue("(ii)", item1
, item2
);
661 PyObject
* result
= PyEval_CallObject(func
, args
);
664 retval
= PyInt_AsLong(result
);
668 wxPyEndBlockThreads(blocked
);
672 // C++ Version of a Python aware class
673 class wxPyListCtrl
: public wxListCtrl
{
674 DECLARE_ABSTRACT_CLASS(wxPyListCtrl
);
676 wxPyListCtrl() : wxListCtrl() {}
677 wxPyListCtrl(wxWindow
* parent
, wxWindowID id
,
681 const wxValidator
& validator
,
682 const wxString
& name
) :
683 wxListCtrl(parent
, id
, pos
, size
, style
, validator
, name
) {}
685 bool Create(wxWindow
* parent
, wxWindowID id
,
689 const wxValidator
& validator
,
690 const wxString
& name
) {
691 return wxListCtrl::Create(parent
, id
, pos
, size
, style
, validator
, name
);
694 DEC_PYCALLBACK_STRING_LONGLONG(OnGetItemText
);
695 DEC_PYCALLBACK_INT_LONG(OnGetItemImage
);
696 DEC_PYCALLBACK_LISTATTR_LONG(OnGetItemAttr
);
701 IMPLEMENT_ABSTRACT_CLASS(wxPyListCtrl
, wxListCtrl
);
703 IMP_PYCALLBACK_STRING_LONGLONG(wxPyListCtrl
, wxListCtrl
, OnGetItemText
);
704 IMP_PYCALLBACK_INT_LONG(wxPyListCtrl
, wxListCtrl
, OnGetItemImage
);
705 IMP_PYCALLBACK_LISTATTR_LONG(wxPyListCtrl
, wxListCtrl
, OnGetItemAttr
);
707 wxListItem
*wxPyListCtrl_GetColumn(wxPyListCtrl
*self
,int col
){
709 item
.SetMask( wxLIST_MASK_STATE
|
717 if (self
->GetColumn(col
, item
))
718 return new wxListItem(item
);
722 wxListItem
*wxPyListCtrl_GetItem(wxPyListCtrl
*self
,long itemId
,int col
){
723 wxListItem
* info
= new wxListItem
;
724 info
->m_itemId
= itemId
;
726 info
->m_mask
= 0xFFFF;
727 self
->GetItem(*info
);
730 wxPoint
wxPyListCtrl_GetItemPosition(wxPyListCtrl
*self
,long item
){
732 self
->GetItemPosition(item
, pos
);
735 wxRect
wxPyListCtrl_GetItemRect(wxPyListCtrl
*self
,long item
,int code
){
737 self
->GetItemRect(item
, rect
, code
);
740 bool wxPyListCtrl_SortItems(wxPyListCtrl
*self
,PyObject
*func
){
741 if (!PyCallable_Check(func
))
743 return self
->SortItems((wxListCtrlCompare
)wxPyListCtrl_SortItems
, (long)func
);
745 wxWindow
*wxPyListCtrl_GetMainWindow(wxPyListCtrl
*self
){
753 #include <wx/treectrl.h>
754 #include "wx/wxPython/pytree.h"
756 static const wxString
wxPyTreeCtrlNameStr(_T("wxTreeCtrl"));
757 bool wxTreeItemId___eq__(wxTreeItemId
*self
,wxTreeItemId
const *other
){ return other
? (*self
== *other
) : False
; }
758 bool wxTreeItemId___ne__(wxTreeItemId
*self
,wxTreeItemId
const *other
){ return other
? (*self
!= *other
) : True
; }
759 void wxPyTreeItemData_Destroy(wxPyTreeItemData
*self
){ delete self
; }
760 // C++ version of Python aware wxTreeCtrl
761 class wxPyTreeCtrl
: public wxTreeCtrl
{
762 DECLARE_ABSTRACT_CLASS(wxPyTreeCtrl
);
764 wxPyTreeCtrl() : wxTreeCtrl() {}
765 wxPyTreeCtrl(wxWindow
*parent
, wxWindowID id
,
769 const wxValidator
& validator
,
770 const wxString
& name
) :
771 wxTreeCtrl(parent
, id
, pos
, size
, style
, validator
, name
) {}
773 bool Create(wxWindow
*parent
, wxWindowID id
,
777 const wxValidator
& validator
,
778 const wxString
& name
) {
779 return wxTreeCtrl::Create(parent
, id
, pos
, size
, style
, validator
, name
);
783 int OnCompareItems(const wxTreeItemId
& item1
,
784 const wxTreeItemId
& item2
) {
787 bool blocked
= wxPyBeginBlockThreads();
788 if ((found
= wxPyCBH_findCallback(m_myInst
, "OnCompareItems"))) {
789 PyObject
*o1
= wxPyConstructObject((void*)&item1
, wxT("wxTreeItemId"), False
);
790 PyObject
*o2
= wxPyConstructObject((void*)&item2
, wxT("wxTreeItemId"), False
);
791 rval
= wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(OO)",o1
,o2
));
795 wxPyEndBlockThreads(blocked
);
797 rval
= wxTreeCtrl::OnCompareItems(item1
, item2
);
803 IMPLEMENT_ABSTRACT_CLASS(wxPyTreeCtrl
, wxTreeCtrl
);
807 #if UINT_MAX < LONG_MAX
808 #define SWIG_FromUnsignedInt SWIG_FromLong
810 #define SWIG_FromUnsignedInt SWIG_FromUnsignedLong
814 SWIGSTATICINLINE(unsigned long)
815 SWIG_CheckUnsignedLongInRange(unsigned long value
, const char* type
,
816 unsigned long max_value
)
818 if (!PyErr_Occurred()) {
819 if (value
> max_value
) {
821 PyString_FromFormat("value %ld is greater than '%s' minimum %ld",
822 value
, type
, max_value
);
823 PyErr_SetObject(PyExc_OverflowError
, err
);
831 #if UINT_MAX != ULONG_MAX
832 SWIGSTATICINLINE(unsigned int)
833 SWIG_AsUnsignedInt(PyObject
*obj
)
835 return swig_numeric_cast(unsigned int,
836 SWIG_CheckUnsignedLongInRange(SWIG_AsUnsignedLong(obj
),
837 "unsigned int", UINT_MAX
));
840 #define SWIG_AsUnsignedInt SWIG_AsUnsignedLong
844 SWIGSTATICINLINE(int)
845 SWIG_CheckUnsignedInt(PyObject
* obj
)
847 SWIG_AsUnsignedInt(obj
);
848 if (PyErr_Occurred()) {
856 wxPyTreeItemData
*wxPyTreeCtrl_GetItemData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
){
857 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
859 data
= new wxPyTreeItemData();
860 data
->SetId(item
); // set the id
861 self
->SetItemData(item
, data
);
865 PyObject
*wxPyTreeCtrl_GetItemPyData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
){
866 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
868 data
= new wxPyTreeItemData();
869 data
->SetId(item
); // set the id
870 self
->SetItemData(item
, data
);
872 return data
->GetData();
874 void wxPyTreeCtrl_SetItemData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,wxPyTreeItemData
*data
){
875 data
->SetId(item
); // set the id
876 self
->SetItemData(item
, data
);
878 void wxPyTreeCtrl_SetItemPyData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,PyObject
*obj
){
879 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
881 data
= new wxPyTreeItemData(obj
);
882 data
->SetId(item
); // set the id
883 self
->SetItemData(item
, data
);
887 PyObject
*wxPyTreeCtrl_GetSelections(wxPyTreeCtrl
*self
){
888 bool blocked
= wxPyBeginBlockThreads();
889 PyObject
* rval
= PyList_New(0);
890 wxArrayTreeItemIds array
;
892 num
= self
->GetSelections(array
);
893 for (x
=0; x
< num
; x
++) {
894 wxTreeItemId
*tii
= new wxTreeItemId(array
.Item(x
));
895 PyObject
* item
= wxPyConstructObject((void*)tii
, wxT("wxTreeItemId"), True
);
896 PyList_Append(rval
, item
);
899 wxPyEndBlockThreads(blocked
);
902 PyObject
*wxPyTreeCtrl_GetFirstChild(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
){
904 wxTreeItemId
* ritem
= new wxTreeItemId(self
->GetFirstChild(item
, cookie
));
905 bool blocked
= wxPyBeginBlockThreads();
906 PyObject
* tup
= PyTuple_New(2);
907 PyTuple_SET_ITEM(tup
, 0, wxPyConstructObject(ritem
, wxT("wxTreeItemId"), True
));
908 PyTuple_SET_ITEM(tup
, 1, wxPyMakeSwigPtr(cookie
, wxT("void")));
909 wxPyEndBlockThreads(blocked
);
912 PyObject
*wxPyTreeCtrl_GetNextChild(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,void *cookie
){
913 wxTreeItemId
* ritem
= new wxTreeItemId(self
->GetNextChild(item
, cookie
));
914 bool blocked
= wxPyBeginBlockThreads();
915 PyObject
* tup
= PyTuple_New(2);
916 PyTuple_SET_ITEM(tup
, 0, wxPyConstructObject(ritem
, wxT("wxTreeItemId"), True
));
917 PyTuple_SET_ITEM(tup
, 1, wxPyMakeSwigPtr(cookie
, wxT("void")));
918 wxPyEndBlockThreads(blocked
);
921 PyObject
*wxPyTreeCtrl_GetBoundingRect(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,bool textOnly
){
923 if (self
->GetBoundingRect(item
, rect
, textOnly
)) {
924 bool blocked
= wxPyBeginBlockThreads();
925 wxRect
* r
= new wxRect(rect
);
926 PyObject
* val
= wxPyConstructObject((void*)r
, wxT("wxRect"), True
);
927 wxPyEndBlockThreads(blocked
);
933 static const wxString
wxPyDirDialogDefaultFolderStr(wxDirDialogDefaultFolderStr
);
934 // C++ version of Python aware wxControl
935 class wxPyControl
: public wxControl
937 DECLARE_DYNAMIC_CLASS(wxPyControl
)
939 wxPyControl() : wxControl() {}
940 wxPyControl(wxWindow
* parent
, const wxWindowID id
,
941 const wxPoint
& pos
= wxDefaultPosition
,
942 const wxSize
& size
= wxDefaultSize
,
944 const wxValidator
& validator
=wxDefaultValidator
,
945 const wxString
& name
= wxPyControlNameStr
)
946 : wxControl(parent
, id
, pos
, size
, style
, validator
, name
) {}
948 void SetBestSize(const wxSize
& size
) { wxControl::SetBestSize(size
); }
950 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
);
951 DEC_PYCALLBACK_VOID_INT5(DoSetSize
);
952 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
);
953 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
);
955 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
);
956 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
);
957 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
);
959 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
);
960 DEC_PYCALLBACK_SIZE_const(DoGetBestSize
);
962 DEC_PYCALLBACK__(InitDialog
);
963 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
);
964 DEC_PYCALLBACK_BOOL_(TransferDataToWindow
);
965 DEC_PYCALLBACK_BOOL_(Validate
);
967 DEC_PYCALLBACK_BOOL_const(AcceptsFocus
);
968 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
);
969 DEC_PYCALLBACK_SIZE_const(GetMaxSize
);
971 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
);
972 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
);
974 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours
);
975 DEC_PYCALLBACK__COLOUR(ApplyParentThemeBackground
);
976 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes
);
981 IMPLEMENT_DYNAMIC_CLASS(wxPyControl
, wxControl
);
983 IMP_PYCALLBACK_VOID_INT4(wxPyControl
, wxControl
, DoMoveWindow
);
984 IMP_PYCALLBACK_VOID_INT5(wxPyControl
, wxControl
, DoSetSize
);
985 IMP_PYCALLBACK_VOID_INTINT(wxPyControl
, wxControl
, DoSetClientSize
);
986 IMP_PYCALLBACK_VOID_INTINT(wxPyControl
, wxControl
, DoSetVirtualSize
);
988 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl
, wxControl
, DoGetSize
);
989 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl
, wxControl
, DoGetClientSize
);
990 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl
, wxControl
, DoGetPosition
);
992 IMP_PYCALLBACK_SIZE_const(wxPyControl
, wxControl
, DoGetVirtualSize
);
993 IMP_PYCALLBACK_SIZE_const(wxPyControl
, wxControl
, DoGetBestSize
);
995 IMP_PYCALLBACK__(wxPyControl
, wxControl
, InitDialog
);
996 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, TransferDataFromWindow
);
997 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, TransferDataToWindow
);
998 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, Validate
);
1000 IMP_PYCALLBACK_BOOL_const(wxPyControl
, wxControl
, AcceptsFocus
);
1001 IMP_PYCALLBACK_BOOL_const(wxPyControl
, wxControl
, AcceptsFocusFromKeyboard
);
1002 IMP_PYCALLBACK_SIZE_const(wxPyControl
, wxControl
, GetMaxSize
);
1004 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyControl
, wxControl
, AddChild
);
1005 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyControl
, wxControl
, RemoveChild
);
1007 IMP_PYCALLBACK_BOOL_const(wxPyControl
, wxControl
, ShouldInheritColours
);
1008 IMP_PYCALLBACK__COLOUR(wxPyControl
, wxControl
, ApplyParentThemeBackground
);
1009 IMP_PYCALLBACK_VIZATTR_(wxPyControl
, wxControl
, GetDefaultAttributes
);
1013 void wxHelpProvider_Destroy(wxHelpProvider
*self
){ delete self
; }
1015 #include <wx/generic/dragimgg.h>
1020 static int _wrap_ButtonNameStr_set(PyObject
*_val
) {
1021 PyErr_SetString(PyExc_TypeError
,"Variable ButtonNameStr is read-only.");
1026 static PyObject
*_wrap_ButtonNameStr_get() {
1031 pyobj
= PyUnicode_FromWideChar((&wxPyButtonNameStr
)->c_str(), (&wxPyButtonNameStr
)->Len());
1033 pyobj
= PyString_FromStringAndSize((&wxPyButtonNameStr
)->c_str(), (&wxPyButtonNameStr
)->Len());
1040 static PyObject
*_wrap_new_Button(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1041 PyObject
*resultobj
;
1042 wxWindow
*arg1
= (wxWindow
*) 0 ;
1043 int arg2
= (int) -1 ;
1044 wxString
const &arg3_defvalue
= wxPyEmptyString
;
1045 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
1046 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
1047 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
1048 wxSize
const &arg5_defvalue
= wxDefaultSize
;
1049 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
1050 long arg6
= (long) 0 ;
1051 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
1052 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
1053 wxString
const &arg8_defvalue
= wxPyButtonNameStr
;
1054 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
1056 bool temp3
= False
;
1059 bool temp8
= False
;
1060 PyObject
* obj0
= 0 ;
1061 PyObject
* obj1
= 0 ;
1062 PyObject
* obj2
= 0 ;
1063 PyObject
* obj3
= 0 ;
1064 PyObject
* obj4
= 0 ;
1065 PyObject
* obj5
= 0 ;
1066 PyObject
* obj6
= 0 ;
1067 PyObject
* obj7
= 0 ;
1069 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1072 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_Button",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
1073 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
1074 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1076 arg2
= (int) SWIG_AsInt(obj1
);
1077 if (PyErr_Occurred()) SWIG_fail
;
1081 arg3
= wxString_in_helper(obj2
);
1082 if (arg3
== NULL
) SWIG_fail
;
1089 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
1095 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
1099 arg6
= (long) SWIG_AsLong(obj5
);
1100 if (PyErr_Occurred()) SWIG_fail
;
1103 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
1104 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1107 PyErr_SetString(PyExc_TypeError
,"null reference");
1113 arg8
= wxString_in_helper(obj7
);
1114 if (arg8
== NULL
) SWIG_fail
;
1119 if (!wxPyCheckForApp()) SWIG_fail
;
1120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1121 result
= (wxButton
*)new wxButton(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
1123 wxPyEndAllowThreads(__tstate
);
1124 if (PyErr_Occurred()) SWIG_fail
;
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 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1357 result
= wxButton::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
1359 wxPyEndAllowThreads(__tstate
);
1360 if (PyErr_Occurred()) SWIG_fail
;
1363 wxVisualAttributes
* resultptr
;
1364 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
1365 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
1373 static PyObject
* Button_swigregister(PyObject
*self
, PyObject
*args
) {
1375 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1376 SWIG_TypeClientData(SWIGTYPE_p_wxButton
, obj
);
1378 return Py_BuildValue((char *)"");
1380 static PyObject
*_wrap_new_BitmapButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1381 PyObject
*resultobj
;
1382 wxWindow
*arg1
= (wxWindow
*) 0 ;
1383 int arg2
= (int) -1 ;
1384 wxBitmap
const &arg3_defvalue
= wxNullBitmap
;
1385 wxBitmap
*arg3
= (wxBitmap
*) &arg3_defvalue
;
1386 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
1387 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
1388 wxSize
const &arg5_defvalue
= wxDefaultSize
;
1389 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
1390 long arg6
= (long) wxBU_AUTODRAW
;
1391 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
1392 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
1393 wxString
const &arg8_defvalue
= wxPyButtonNameStr
;
1394 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
1395 wxBitmapButton
*result
;
1398 bool temp8
= False
;
1399 PyObject
* obj0
= 0 ;
1400 PyObject
* obj1
= 0 ;
1401 PyObject
* obj2
= 0 ;
1402 PyObject
* obj3
= 0 ;
1403 PyObject
* obj4
= 0 ;
1404 PyObject
* obj5
= 0 ;
1405 PyObject
* obj6
= 0 ;
1406 PyObject
* obj7
= 0 ;
1408 (char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1411 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_BitmapButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
1412 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
1413 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1415 arg2
= (int) SWIG_AsInt(obj1
);
1416 if (PyErr_Occurred()) SWIG_fail
;
1419 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxBitmap
,
1420 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1423 PyErr_SetString(PyExc_TypeError
,"null reference");
1430 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
1436 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
1440 arg6
= (long) SWIG_AsLong(obj5
);
1441 if (PyErr_Occurred()) SWIG_fail
;
1444 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
1445 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1448 PyErr_SetString(PyExc_TypeError
,"null reference");
1454 arg8
= wxString_in_helper(obj7
);
1455 if (arg8
== NULL
) SWIG_fail
;
1460 if (!wxPyCheckForApp()) SWIG_fail
;
1461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1462 result
= (wxBitmapButton
*)new wxBitmapButton(arg1
,arg2
,(wxBitmap
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
1464 wxPyEndAllowThreads(__tstate
);
1465 if (PyErr_Occurred()) SWIG_fail
;
1468 resultobj
= wxPyMake_wxObject(result
);
1484 static PyObject
*_wrap_new_PreBitmapButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1485 PyObject
*resultobj
;
1486 wxBitmapButton
*result
;
1491 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreBitmapButton",kwnames
)) goto fail
;
1493 if (!wxPyCheckForApp()) SWIG_fail
;
1494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1495 result
= (wxBitmapButton
*)new wxBitmapButton();
1497 wxPyEndAllowThreads(__tstate
);
1498 if (PyErr_Occurred()) SWIG_fail
;
1501 resultobj
= wxPyMake_wxObject(result
);
1509 static PyObject
*_wrap_BitmapButton_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1510 PyObject
*resultobj
;
1511 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1512 wxWindow
*arg2
= (wxWindow
*) 0 ;
1513 int arg3
= (int) -1 ;
1514 wxBitmap
const &arg4_defvalue
= wxNullBitmap
;
1515 wxBitmap
*arg4
= (wxBitmap
*) &arg4_defvalue
;
1516 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
1517 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
1518 wxSize
const &arg6_defvalue
= wxDefaultSize
;
1519 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
1520 long arg7
= (long) wxBU_AUTODRAW
;
1521 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
1522 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
1523 wxString
const &arg9_defvalue
= wxPyButtonNameStr
;
1524 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
1528 bool temp9
= False
;
1529 PyObject
* obj0
= 0 ;
1530 PyObject
* obj1
= 0 ;
1531 PyObject
* obj2
= 0 ;
1532 PyObject
* obj3
= 0 ;
1533 PyObject
* obj4
= 0 ;
1534 PyObject
* obj5
= 0 ;
1535 PyObject
* obj6
= 0 ;
1536 PyObject
* obj7
= 0 ;
1537 PyObject
* obj8
= 0 ;
1539 (char *) "self",(char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1542 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:BitmapButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
1543 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
1544 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1545 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
1546 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1548 arg3
= (int) SWIG_AsInt(obj2
);
1549 if (PyErr_Occurred()) SWIG_fail
;
1552 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxBitmap
,
1553 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1556 PyErr_SetString(PyExc_TypeError
,"null reference");
1563 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
1569 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
1573 arg7
= (long) SWIG_AsLong(obj6
);
1574 if (PyErr_Occurred()) SWIG_fail
;
1577 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
1578 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1581 PyErr_SetString(PyExc_TypeError
,"null reference");
1587 arg9
= wxString_in_helper(obj8
);
1588 if (arg9
== NULL
) SWIG_fail
;
1593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1594 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxBitmap
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
1596 wxPyEndAllowThreads(__tstate
);
1597 if (PyErr_Occurred()) SWIG_fail
;
1600 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1616 static PyObject
*_wrap_BitmapButton_GetBitmapLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1617 PyObject
*resultobj
;
1618 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1620 PyObject
* obj0
= 0 ;
1622 (char *) "self", NULL
1625 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetBitmapLabel",kwnames
,&obj0
)) goto fail
;
1626 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
1627 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1630 result
= (arg1
)->GetBitmapLabel();
1632 wxPyEndAllowThreads(__tstate
);
1633 if (PyErr_Occurred()) SWIG_fail
;
1636 wxBitmap
* resultptr
;
1637 resultptr
= new wxBitmap((wxBitmap
&) result
);
1638 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
1646 static PyObject
*_wrap_BitmapButton_GetBitmapDisabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1647 PyObject
*resultobj
;
1648 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1650 PyObject
* obj0
= 0 ;
1652 (char *) "self", NULL
1655 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetBitmapDisabled",kwnames
,&obj0
)) goto fail
;
1656 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
1657 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1660 result
= (arg1
)->GetBitmapDisabled();
1662 wxPyEndAllowThreads(__tstate
);
1663 if (PyErr_Occurred()) SWIG_fail
;
1666 wxBitmap
* resultptr
;
1667 resultptr
= new wxBitmap((wxBitmap
&) result
);
1668 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
1676 static PyObject
*_wrap_BitmapButton_GetBitmapFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1677 PyObject
*resultobj
;
1678 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1680 PyObject
* obj0
= 0 ;
1682 (char *) "self", NULL
1685 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetBitmapFocus",kwnames
,&obj0
)) goto fail
;
1686 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
1687 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1690 result
= (arg1
)->GetBitmapFocus();
1692 wxPyEndAllowThreads(__tstate
);
1693 if (PyErr_Occurred()) SWIG_fail
;
1696 wxBitmap
* resultptr
;
1697 resultptr
= new wxBitmap((wxBitmap
&) result
);
1698 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
1706 static PyObject
*_wrap_BitmapButton_GetBitmapSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1707 PyObject
*resultobj
;
1708 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1710 PyObject
* obj0
= 0 ;
1712 (char *) "self", NULL
1715 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetBitmapSelected",kwnames
,&obj0
)) goto fail
;
1716 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
1717 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1720 result
= (arg1
)->GetBitmapSelected();
1722 wxPyEndAllowThreads(__tstate
);
1723 if (PyErr_Occurred()) SWIG_fail
;
1726 wxBitmap
* resultptr
;
1727 resultptr
= new wxBitmap((wxBitmap
&) result
);
1728 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
1736 static PyObject
*_wrap_BitmapButton_SetBitmapDisabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1737 PyObject
*resultobj
;
1738 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1739 wxBitmap
*arg2
= 0 ;
1740 PyObject
* obj0
= 0 ;
1741 PyObject
* obj1
= 0 ;
1743 (char *) "self",(char *) "bitmap", NULL
1746 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapDisabled",kwnames
,&obj0
,&obj1
)) goto fail
;
1747 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
1748 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1749 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
1750 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1753 PyErr_SetString(PyExc_TypeError
,"null reference");
1757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1758 (arg1
)->SetBitmapDisabled((wxBitmap
const &)*arg2
);
1760 wxPyEndAllowThreads(__tstate
);
1761 if (PyErr_Occurred()) SWIG_fail
;
1763 Py_INCREF(Py_None
); resultobj
= Py_None
;
1770 static PyObject
*_wrap_BitmapButton_SetBitmapFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1771 PyObject
*resultobj
;
1772 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1773 wxBitmap
*arg2
= 0 ;
1774 PyObject
* obj0
= 0 ;
1775 PyObject
* obj1
= 0 ;
1777 (char *) "self",(char *) "bitmap", NULL
1780 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapFocus",kwnames
,&obj0
,&obj1
)) goto fail
;
1781 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
1782 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1783 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
1784 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1787 PyErr_SetString(PyExc_TypeError
,"null reference");
1791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1792 (arg1
)->SetBitmapFocus((wxBitmap
const &)*arg2
);
1794 wxPyEndAllowThreads(__tstate
);
1795 if (PyErr_Occurred()) SWIG_fail
;
1797 Py_INCREF(Py_None
); resultobj
= Py_None
;
1804 static PyObject
*_wrap_BitmapButton_SetBitmapSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1805 PyObject
*resultobj
;
1806 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1807 wxBitmap
*arg2
= 0 ;
1808 PyObject
* obj0
= 0 ;
1809 PyObject
* obj1
= 0 ;
1811 (char *) "self",(char *) "bitmap", NULL
1814 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
1815 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
1816 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1817 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
1818 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1821 PyErr_SetString(PyExc_TypeError
,"null reference");
1825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1826 (arg1
)->SetBitmapSelected((wxBitmap
const &)*arg2
);
1828 wxPyEndAllowThreads(__tstate
);
1829 if (PyErr_Occurred()) SWIG_fail
;
1831 Py_INCREF(Py_None
); resultobj
= Py_None
;
1838 static PyObject
*_wrap_BitmapButton_SetBitmapLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1839 PyObject
*resultobj
;
1840 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1841 wxBitmap
*arg2
= 0 ;
1842 PyObject
* obj0
= 0 ;
1843 PyObject
* obj1
= 0 ;
1845 (char *) "self",(char *) "bitmap", NULL
1848 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
1849 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
1850 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1851 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
1852 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1855 PyErr_SetString(PyExc_TypeError
,"null reference");
1859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1860 (arg1
)->SetBitmapLabel((wxBitmap
const &)*arg2
);
1862 wxPyEndAllowThreads(__tstate
);
1863 if (PyErr_Occurred()) SWIG_fail
;
1865 Py_INCREF(Py_None
); resultobj
= Py_None
;
1872 static PyObject
*_wrap_BitmapButton_SetMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1873 PyObject
*resultobj
;
1874 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1877 PyObject
* obj0
= 0 ;
1878 PyObject
* obj1
= 0 ;
1879 PyObject
* obj2
= 0 ;
1881 (char *) "self",(char *) "x",(char *) "y", NULL
1884 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BitmapButton_SetMargins",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
1885 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
1886 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1887 arg2
= (int) SWIG_AsInt(obj1
);
1888 if (PyErr_Occurred()) SWIG_fail
;
1889 arg3
= (int) SWIG_AsInt(obj2
);
1890 if (PyErr_Occurred()) SWIG_fail
;
1892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1893 (arg1
)->SetMargins(arg2
,arg3
);
1895 wxPyEndAllowThreads(__tstate
);
1896 if (PyErr_Occurred()) SWIG_fail
;
1898 Py_INCREF(Py_None
); resultobj
= Py_None
;
1905 static PyObject
*_wrap_BitmapButton_GetMarginX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1906 PyObject
*resultobj
;
1907 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1909 PyObject
* obj0
= 0 ;
1911 (char *) "self", NULL
1914 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetMarginX",kwnames
,&obj0
)) goto fail
;
1915 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
1916 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1919 result
= (int)((wxBitmapButton
const *)arg1
)->GetMarginX();
1921 wxPyEndAllowThreads(__tstate
);
1922 if (PyErr_Occurred()) SWIG_fail
;
1924 resultobj
= SWIG_FromInt((int)result
);
1931 static PyObject
*_wrap_BitmapButton_GetMarginY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1932 PyObject
*resultobj
;
1933 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1935 PyObject
* obj0
= 0 ;
1937 (char *) "self", NULL
1940 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetMarginY",kwnames
,&obj0
)) goto fail
;
1941 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
1942 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1945 result
= (int)((wxBitmapButton
const *)arg1
)->GetMarginY();
1947 wxPyEndAllowThreads(__tstate
);
1948 if (PyErr_Occurred()) SWIG_fail
;
1950 resultobj
= SWIG_FromInt((int)result
);
1957 static PyObject
* BitmapButton_swigregister(PyObject
*self
, PyObject
*args
) {
1959 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1960 SWIG_TypeClientData(SWIGTYPE_p_wxBitmapButton
, obj
);
1962 return Py_BuildValue((char *)"");
1964 static int _wrap_CheckBoxNameStr_set(PyObject
*_val
) {
1965 PyErr_SetString(PyExc_TypeError
,"Variable CheckBoxNameStr is read-only.");
1970 static PyObject
*_wrap_CheckBoxNameStr_get() {
1975 pyobj
= PyUnicode_FromWideChar((&wxPyCheckBoxNameStr
)->c_str(), (&wxPyCheckBoxNameStr
)->Len());
1977 pyobj
= PyString_FromStringAndSize((&wxPyCheckBoxNameStr
)->c_str(), (&wxPyCheckBoxNameStr
)->Len());
1984 static PyObject
*_wrap_new_CheckBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1985 PyObject
*resultobj
;
1986 wxWindow
*arg1
= (wxWindow
*) 0 ;
1987 int arg2
= (int) -1 ;
1988 wxString
const &arg3_defvalue
= wxPyEmptyString
;
1989 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
1990 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
1991 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
1992 wxSize
const &arg5_defvalue
= wxDefaultSize
;
1993 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
1994 long arg6
= (long) 0 ;
1995 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
1996 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
1997 wxString
const &arg8_defvalue
= wxPyCheckBoxNameStr
;
1998 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
2000 bool temp3
= False
;
2003 bool temp8
= False
;
2004 PyObject
* obj0
= 0 ;
2005 PyObject
* obj1
= 0 ;
2006 PyObject
* obj2
= 0 ;
2007 PyObject
* obj3
= 0 ;
2008 PyObject
* obj4
= 0 ;
2009 PyObject
* obj5
= 0 ;
2010 PyObject
* obj6
= 0 ;
2011 PyObject
* obj7
= 0 ;
2013 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
2016 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_CheckBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
2017 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
2018 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2020 arg2
= (int) SWIG_AsInt(obj1
);
2021 if (PyErr_Occurred()) SWIG_fail
;
2025 arg3
= wxString_in_helper(obj2
);
2026 if (arg3
== NULL
) SWIG_fail
;
2033 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
2039 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
2043 arg6
= (long) SWIG_AsLong(obj5
);
2044 if (PyErr_Occurred()) SWIG_fail
;
2047 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
2048 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2051 PyErr_SetString(PyExc_TypeError
,"null reference");
2057 arg8
= wxString_in_helper(obj7
);
2058 if (arg8
== NULL
) SWIG_fail
;
2063 if (!wxPyCheckForApp()) SWIG_fail
;
2064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2065 result
= (wxCheckBox
*)new wxCheckBox(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
2067 wxPyEndAllowThreads(__tstate
);
2068 if (PyErr_Occurred()) SWIG_fail
;
2070 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCheckBox
, 1);
2093 static PyObject
*_wrap_new_PreCheckBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2094 PyObject
*resultobj
;
2100 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreCheckBox",kwnames
)) goto fail
;
2102 if (!wxPyCheckForApp()) SWIG_fail
;
2103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2104 result
= (wxCheckBox
*)new wxCheckBox();
2106 wxPyEndAllowThreads(__tstate
);
2107 if (PyErr_Occurred()) SWIG_fail
;
2109 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCheckBox
, 1);
2116 static PyObject
*_wrap_CheckBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2117 PyObject
*resultobj
;
2118 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
2119 wxWindow
*arg2
= (wxWindow
*) 0 ;
2120 int arg3
= (int) -1 ;
2121 wxString
const &arg4_defvalue
= wxPyEmptyString
;
2122 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
2123 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
2124 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
2125 wxSize
const &arg6_defvalue
= wxDefaultSize
;
2126 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
2127 long arg7
= (long) 0 ;
2128 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
2129 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
2130 wxString
const &arg9_defvalue
= wxPyCheckBoxNameStr
;
2131 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
2133 bool temp4
= False
;
2136 bool temp9
= False
;
2137 PyObject
* obj0
= 0 ;
2138 PyObject
* obj1
= 0 ;
2139 PyObject
* obj2
= 0 ;
2140 PyObject
* obj3
= 0 ;
2141 PyObject
* obj4
= 0 ;
2142 PyObject
* obj5
= 0 ;
2143 PyObject
* obj6
= 0 ;
2144 PyObject
* obj7
= 0 ;
2145 PyObject
* obj8
= 0 ;
2147 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
2150 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:CheckBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
2151 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckBox
,
2152 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2153 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
2154 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2156 arg3
= (int) SWIG_AsInt(obj2
);
2157 if (PyErr_Occurred()) SWIG_fail
;
2161 arg4
= wxString_in_helper(obj3
);
2162 if (arg4
== NULL
) SWIG_fail
;
2169 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
2175 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
2179 arg7
= (long) SWIG_AsLong(obj6
);
2180 if (PyErr_Occurred()) SWIG_fail
;
2183 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
2184 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2187 PyErr_SetString(PyExc_TypeError
,"null reference");
2193 arg9
= wxString_in_helper(obj8
);
2194 if (arg9
== NULL
) SWIG_fail
;
2199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2200 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
2202 wxPyEndAllowThreads(__tstate
);
2203 if (PyErr_Occurred()) SWIG_fail
;
2206 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2230 static PyObject
*_wrap_CheckBox_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2231 PyObject
*resultobj
;
2232 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
2234 PyObject
* obj0
= 0 ;
2236 (char *) "self", NULL
2239 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckBox_GetValue",kwnames
,&obj0
)) goto fail
;
2240 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckBox
,
2241 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2244 result
= (bool)(arg1
)->GetValue();
2246 wxPyEndAllowThreads(__tstate
);
2247 if (PyErr_Occurred()) SWIG_fail
;
2250 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2258 static PyObject
*_wrap_CheckBox_IsChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2259 PyObject
*resultobj
;
2260 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
2262 PyObject
* obj0
= 0 ;
2264 (char *) "self", NULL
2267 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckBox_IsChecked",kwnames
,&obj0
)) goto fail
;
2268 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckBox
,
2269 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2272 result
= (bool)(arg1
)->IsChecked();
2274 wxPyEndAllowThreads(__tstate
);
2275 if (PyErr_Occurred()) SWIG_fail
;
2278 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2286 static PyObject
*_wrap_CheckBox_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2287 PyObject
*resultobj
;
2288 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
2290 PyObject
* obj0
= 0 ;
2291 PyObject
* obj1
= 0 ;
2293 (char *) "self",(char *) "state", NULL
2296 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckBox_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
2297 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckBox
,
2298 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2299 arg2
= (bool const) SWIG_AsBool(obj1
);
2300 if (PyErr_Occurred()) SWIG_fail
;
2302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2303 (arg1
)->SetValue(arg2
);
2305 wxPyEndAllowThreads(__tstate
);
2306 if (PyErr_Occurred()) SWIG_fail
;
2308 Py_INCREF(Py_None
); resultobj
= Py_None
;
2315 static PyObject
*_wrap_CheckBox_Get3StateValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2316 PyObject
*resultobj
;
2317 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
2319 PyObject
* obj0
= 0 ;
2321 (char *) "self", NULL
2324 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckBox_Get3StateValue",kwnames
,&obj0
)) goto fail
;
2325 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckBox
,
2326 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2329 result
= (int)((wxCheckBox
const *)arg1
)->Get3StateValue();
2331 wxPyEndAllowThreads(__tstate
);
2332 if (PyErr_Occurred()) SWIG_fail
;
2334 resultobj
= SWIG_FromInt((int)result
);
2341 static PyObject
*_wrap_CheckBox_Set3StateValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2342 PyObject
*resultobj
;
2343 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
2345 PyObject
* obj0
= 0 ;
2346 PyObject
* obj1
= 0 ;
2348 (char *) "self",(char *) "state", NULL
2351 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckBox_Set3StateValue",kwnames
,&obj0
,&obj1
)) goto fail
;
2352 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckBox
,
2353 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2354 arg2
= (wxCheckBoxState
) SWIG_AsInt(obj1
);
2355 if (PyErr_Occurred()) SWIG_fail
;
2357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2358 (arg1
)->Set3StateValue((wxCheckBoxState
)arg2
);
2360 wxPyEndAllowThreads(__tstate
);
2361 if (PyErr_Occurred()) SWIG_fail
;
2363 Py_INCREF(Py_None
); resultobj
= Py_None
;
2370 static PyObject
*_wrap_CheckBox_Is3State(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2371 PyObject
*resultobj
;
2372 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
2374 PyObject
* obj0
= 0 ;
2376 (char *) "self", NULL
2379 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckBox_Is3State",kwnames
,&obj0
)) goto fail
;
2380 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckBox
,
2381 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2384 result
= (bool)((wxCheckBox
const *)arg1
)->Is3State();
2386 wxPyEndAllowThreads(__tstate
);
2387 if (PyErr_Occurred()) SWIG_fail
;
2390 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2398 static PyObject
*_wrap_CheckBox_Is3rdStateAllowedForUser(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2399 PyObject
*resultobj
;
2400 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
2402 PyObject
* obj0
= 0 ;
2404 (char *) "self", NULL
2407 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckBox_Is3rdStateAllowedForUser",kwnames
,&obj0
)) goto fail
;
2408 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckBox
,
2409 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2412 result
= (bool)((wxCheckBox
const *)arg1
)->Is3rdStateAllowedForUser();
2414 wxPyEndAllowThreads(__tstate
);
2415 if (PyErr_Occurred()) SWIG_fail
;
2418 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2426 static PyObject
*_wrap_CheckBox_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2427 PyObject
*resultobj
;
2428 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
2429 wxVisualAttributes result
;
2430 PyObject
* obj0
= 0 ;
2432 (char *) "variant", NULL
2435 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:CheckBox_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
2437 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
2438 if (PyErr_Occurred()) SWIG_fail
;
2441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2442 result
= wxCheckBox::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
2444 wxPyEndAllowThreads(__tstate
);
2445 if (PyErr_Occurred()) SWIG_fail
;
2448 wxVisualAttributes
* resultptr
;
2449 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
2450 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
2458 static PyObject
* CheckBox_swigregister(PyObject
*self
, PyObject
*args
) {
2460 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2461 SWIG_TypeClientData(SWIGTYPE_p_wxCheckBox
, obj
);
2463 return Py_BuildValue((char *)"");
2465 static int _wrap_ChoiceNameStr_set(PyObject
*_val
) {
2466 PyErr_SetString(PyExc_TypeError
,"Variable ChoiceNameStr is read-only.");
2471 static PyObject
*_wrap_ChoiceNameStr_get() {
2476 pyobj
= PyUnicode_FromWideChar((&wxPyChoiceNameStr
)->c_str(), (&wxPyChoiceNameStr
)->Len());
2478 pyobj
= PyString_FromStringAndSize((&wxPyChoiceNameStr
)->c_str(), (&wxPyChoiceNameStr
)->Len());
2485 static PyObject
*_wrap_new_Choice(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2486 PyObject
*resultobj
;
2487 wxWindow
*arg1
= (wxWindow
*) 0 ;
2488 int arg2
= (int) -1 ;
2489 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
2490 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
2491 wxSize
const &arg4_defvalue
= wxDefaultSize
;
2492 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
2493 wxArrayString
const &arg5_defvalue
= wxPyEmptyStringArray
;
2494 wxArrayString
*arg5
= (wxArrayString
*) &arg5_defvalue
;
2495 long arg6
= (long) 0 ;
2496 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
2497 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
2498 wxString
const &arg8_defvalue
= wxPyChoiceNameStr
;
2499 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
2503 bool temp5
= False
;
2504 bool temp8
= False
;
2505 PyObject
* obj0
= 0 ;
2506 PyObject
* obj1
= 0 ;
2507 PyObject
* obj2
= 0 ;
2508 PyObject
* obj3
= 0 ;
2509 PyObject
* obj4
= 0 ;
2510 PyObject
* obj5
= 0 ;
2511 PyObject
* obj6
= 0 ;
2512 PyObject
* obj7
= 0 ;
2514 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
2517 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_Choice",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
2518 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
2519 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2521 arg2
= (int) SWIG_AsInt(obj1
);
2522 if (PyErr_Occurred()) SWIG_fail
;
2527 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
2533 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
2538 if (! PySequence_Check(obj4
)) {
2539 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
2542 arg5
= new wxArrayString
;
2544 int i
, len
=PySequence_Length(obj4
);
2545 for (i
=0; i
<len
; i
++) {
2546 PyObject
* item
= PySequence_GetItem(obj4
, i
);
2548 PyObject
* str
= PyObject_Unicode(item
);
2550 PyObject
* str
= PyObject_Str(item
);
2552 if (PyErr_Occurred()) SWIG_fail
;
2553 arg5
->Add(Py2wxString(str
));
2560 arg6
= (long) SWIG_AsLong(obj5
);
2561 if (PyErr_Occurred()) SWIG_fail
;
2564 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
2565 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2568 PyErr_SetString(PyExc_TypeError
,"null reference");
2574 arg8
= wxString_in_helper(obj7
);
2575 if (arg8
== NULL
) SWIG_fail
;
2580 if (!wxPyCheckForApp()) SWIG_fail
;
2581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2582 result
= (wxChoice
*)new wxChoice(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,(wxArrayString
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
2584 wxPyEndAllowThreads(__tstate
);
2585 if (PyErr_Occurred()) SWIG_fail
;
2587 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxChoice
, 1);
2589 if (temp5
) delete arg5
;
2598 if (temp5
) delete arg5
;
2608 static PyObject
*_wrap_new_PreChoice(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2609 PyObject
*resultobj
;
2615 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreChoice",kwnames
)) goto fail
;
2617 if (!wxPyCheckForApp()) SWIG_fail
;
2618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2619 result
= (wxChoice
*)new wxChoice();
2621 wxPyEndAllowThreads(__tstate
);
2622 if (PyErr_Occurred()) SWIG_fail
;
2624 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxChoice
, 1);
2631 static PyObject
*_wrap_Choice_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2632 PyObject
*resultobj
;
2633 wxChoice
*arg1
= (wxChoice
*) 0 ;
2634 wxWindow
*arg2
= (wxWindow
*) 0 ;
2635 int arg3
= (int) -1 ;
2636 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
2637 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
2638 wxSize
const &arg5_defvalue
= wxDefaultSize
;
2639 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
2640 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
2641 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
2642 long arg7
= (long) 0 ;
2643 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
2644 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
2645 wxString
const &arg9_defvalue
= wxPyChoiceNameStr
;
2646 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
2650 bool temp6
= False
;
2651 bool temp9
= False
;
2652 PyObject
* obj0
= 0 ;
2653 PyObject
* obj1
= 0 ;
2654 PyObject
* obj2
= 0 ;
2655 PyObject
* obj3
= 0 ;
2656 PyObject
* obj4
= 0 ;
2657 PyObject
* obj5
= 0 ;
2658 PyObject
* obj6
= 0 ;
2659 PyObject
* obj7
= 0 ;
2660 PyObject
* obj8
= 0 ;
2662 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
2665 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:Choice_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
2666 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxChoice
,
2667 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2668 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
2669 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2671 arg3
= (int) SWIG_AsInt(obj2
);
2672 if (PyErr_Occurred()) SWIG_fail
;
2677 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
2683 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
2688 if (! PySequence_Check(obj5
)) {
2689 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
2692 arg6
= new wxArrayString
;
2694 int i
, len
=PySequence_Length(obj5
);
2695 for (i
=0; i
<len
; i
++) {
2696 PyObject
* item
= PySequence_GetItem(obj5
, i
);
2698 PyObject
* str
= PyObject_Unicode(item
);
2700 PyObject
* str
= PyObject_Str(item
);
2702 if (PyErr_Occurred()) SWIG_fail
;
2703 arg6
->Add(Py2wxString(str
));
2710 arg7
= (long) SWIG_AsLong(obj6
);
2711 if (PyErr_Occurred()) SWIG_fail
;
2714 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
2715 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2718 PyErr_SetString(PyExc_TypeError
,"null reference");
2724 arg9
= wxString_in_helper(obj8
);
2725 if (arg9
== NULL
) SWIG_fail
;
2730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2731 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,(wxArrayString
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
2733 wxPyEndAllowThreads(__tstate
);
2734 if (PyErr_Occurred()) SWIG_fail
;
2737 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2740 if (temp6
) delete arg6
;
2749 if (temp6
) delete arg6
;
2759 static PyObject
*_wrap_Choice_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2760 PyObject
*resultobj
;
2761 wxChoice
*arg1
= (wxChoice
*) 0 ;
2763 PyObject
* obj0
= 0 ;
2764 PyObject
* obj1
= 0 ;
2766 (char *) "self",(char *) "n", NULL
2769 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Choice_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
2770 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxChoice
,
2771 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2772 arg2
= (int const) SWIG_AsInt(obj1
);
2773 if (PyErr_Occurred()) SWIG_fail
;
2775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2776 (arg1
)->SetSelection(arg2
);
2778 wxPyEndAllowThreads(__tstate
);
2779 if (PyErr_Occurred()) SWIG_fail
;
2781 Py_INCREF(Py_None
); resultobj
= Py_None
;
2788 static PyObject
*_wrap_Choice_SetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2789 PyObject
*resultobj
;
2790 wxChoice
*arg1
= (wxChoice
*) 0 ;
2791 wxString
*arg2
= 0 ;
2793 bool temp2
= False
;
2794 PyObject
* obj0
= 0 ;
2795 PyObject
* obj1
= 0 ;
2797 (char *) "self",(char *) "string", NULL
2800 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Choice_SetStringSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
2801 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxChoice
,
2802 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2804 arg2
= wxString_in_helper(obj1
);
2805 if (arg2
== NULL
) SWIG_fail
;
2809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2810 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
);
2812 wxPyEndAllowThreads(__tstate
);
2813 if (PyErr_Occurred()) SWIG_fail
;
2816 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2832 static PyObject
*_wrap_Choice_SetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2833 PyObject
*resultobj
;
2834 wxChoice
*arg1
= (wxChoice
*) 0 ;
2836 wxString
*arg3
= 0 ;
2837 bool temp3
= False
;
2838 PyObject
* obj0
= 0 ;
2839 PyObject
* obj1
= 0 ;
2840 PyObject
* obj2
= 0 ;
2842 (char *) "self",(char *) "n",(char *) "string", NULL
2845 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Choice_SetString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2846 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxChoice
,
2847 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2848 arg2
= (int) SWIG_AsInt(obj1
);
2849 if (PyErr_Occurred()) SWIG_fail
;
2851 arg3
= wxString_in_helper(obj2
);
2852 if (arg3
== NULL
) SWIG_fail
;
2856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2857 (arg1
)->SetString(arg2
,(wxString
const &)*arg3
);
2859 wxPyEndAllowThreads(__tstate
);
2860 if (PyErr_Occurred()) SWIG_fail
;
2862 Py_INCREF(Py_None
); resultobj
= Py_None
;
2877 static PyObject
*_wrap_Choice_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2878 PyObject
*resultobj
;
2879 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
2880 wxVisualAttributes result
;
2881 PyObject
* obj0
= 0 ;
2883 (char *) "variant", NULL
2886 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Choice_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
2888 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
2889 if (PyErr_Occurred()) SWIG_fail
;
2892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2893 result
= wxChoice::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
2895 wxPyEndAllowThreads(__tstate
);
2896 if (PyErr_Occurred()) SWIG_fail
;
2899 wxVisualAttributes
* resultptr
;
2900 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
2901 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
2909 static PyObject
* Choice_swigregister(PyObject
*self
, PyObject
*args
) {
2911 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2912 SWIG_TypeClientData(SWIGTYPE_p_wxChoice
, obj
);
2914 return Py_BuildValue((char *)"");
2916 static int _wrap_ComboBoxNameStr_set(PyObject
*_val
) {
2917 PyErr_SetString(PyExc_TypeError
,"Variable ComboBoxNameStr is read-only.");
2922 static PyObject
*_wrap_ComboBoxNameStr_get() {
2927 pyobj
= PyUnicode_FromWideChar((&wxPyComboBoxNameStr
)->c_str(), (&wxPyComboBoxNameStr
)->Len());
2929 pyobj
= PyString_FromStringAndSize((&wxPyComboBoxNameStr
)->c_str(), (&wxPyComboBoxNameStr
)->Len());
2936 static PyObject
*_wrap_new_ComboBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2937 PyObject
*resultobj
;
2938 wxWindow
*arg1
= (wxWindow
*) 0 ;
2939 int arg2
= (int) -1 ;
2940 wxString
const &arg3_defvalue
= wxPyEmptyString
;
2941 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
2942 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
2943 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
2944 wxSize
const &arg5_defvalue
= wxDefaultSize
;
2945 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
2946 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
2947 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
2948 long arg7
= (long) 0 ;
2949 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
2950 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
2951 wxString
const &arg9_defvalue
= wxPyComboBoxNameStr
;
2952 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
2954 bool temp3
= False
;
2957 bool temp6
= False
;
2958 bool temp9
= False
;
2959 PyObject
* obj0
= 0 ;
2960 PyObject
* obj1
= 0 ;
2961 PyObject
* obj2
= 0 ;
2962 PyObject
* obj3
= 0 ;
2963 PyObject
* obj4
= 0 ;
2964 PyObject
* obj5
= 0 ;
2965 PyObject
* obj6
= 0 ;
2966 PyObject
* obj7
= 0 ;
2967 PyObject
* obj8
= 0 ;
2969 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
2972 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOO:new_ComboBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
2973 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
2974 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2976 arg2
= (int) SWIG_AsInt(obj1
);
2977 if (PyErr_Occurred()) SWIG_fail
;
2981 arg3
= wxString_in_helper(obj2
);
2982 if (arg3
== NULL
) SWIG_fail
;
2989 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
2995 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
3000 if (! PySequence_Check(obj5
)) {
3001 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
3004 arg6
= new wxArrayString
;
3006 int i
, len
=PySequence_Length(obj5
);
3007 for (i
=0; i
<len
; i
++) {
3008 PyObject
* item
= PySequence_GetItem(obj5
, i
);
3010 PyObject
* str
= PyObject_Unicode(item
);
3012 PyObject
* str
= PyObject_Str(item
);
3014 if (PyErr_Occurred()) SWIG_fail
;
3015 arg6
->Add(Py2wxString(str
));
3022 arg7
= (long) SWIG_AsLong(obj6
);
3023 if (PyErr_Occurred()) SWIG_fail
;
3026 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
3027 SWIG_POINTER_EXCEPTION
| 0)) == -1)
3030 PyErr_SetString(PyExc_TypeError
,"null reference");
3036 arg9
= wxString_in_helper(obj8
);
3037 if (arg9
== NULL
) SWIG_fail
;
3042 if (!wxPyCheckForApp()) SWIG_fail
;
3043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3044 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
);
3046 wxPyEndAllowThreads(__tstate
);
3047 if (PyErr_Occurred()) SWIG_fail
;
3049 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxComboBox
, 1);
3055 if (temp6
) delete arg6
;
3068 if (temp6
) delete arg6
;
3078 static PyObject
*_wrap_new_PreComboBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3079 PyObject
*resultobj
;
3085 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreComboBox",kwnames
)) goto fail
;
3087 if (!wxPyCheckForApp()) SWIG_fail
;
3088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3089 result
= (wxComboBox
*)new wxComboBox();
3091 wxPyEndAllowThreads(__tstate
);
3092 if (PyErr_Occurred()) SWIG_fail
;
3094 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxComboBox
, 1);
3101 static PyObject
*_wrap_ComboBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3102 PyObject
*resultobj
;
3103 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3104 wxWindow
*arg2
= (wxWindow
*) 0 ;
3105 int arg3
= (int) -1 ;
3106 wxString
const &arg4_defvalue
= wxPyEmptyString
;
3107 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
3108 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
3109 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
3110 wxSize
const &arg6_defvalue
= wxDefaultSize
;
3111 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
3112 wxArrayString
const &arg7_defvalue
= wxPyEmptyStringArray
;
3113 wxArrayString
*arg7
= (wxArrayString
*) &arg7_defvalue
;
3114 long arg8
= (long) 0 ;
3115 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
3116 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
3117 wxString
const &arg10_defvalue
= wxPyChoiceNameStr
;
3118 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
3120 bool temp4
= False
;
3123 bool temp7
= False
;
3124 bool temp10
= False
;
3125 PyObject
* obj0
= 0 ;
3126 PyObject
* obj1
= 0 ;
3127 PyObject
* obj2
= 0 ;
3128 PyObject
* obj3
= 0 ;
3129 PyObject
* obj4
= 0 ;
3130 PyObject
* obj5
= 0 ;
3131 PyObject
* obj6
= 0 ;
3132 PyObject
* obj7
= 0 ;
3133 PyObject
* obj8
= 0 ;
3134 PyObject
* obj9
= 0 ;
3136 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
3139 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOO:ComboBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
3140 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3141 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3142 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
3143 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3145 arg3
= (int) SWIG_AsInt(obj2
);
3146 if (PyErr_Occurred()) SWIG_fail
;
3150 arg4
= wxString_in_helper(obj3
);
3151 if (arg4
== NULL
) SWIG_fail
;
3158 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
3164 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
3169 if (! PySequence_Check(obj6
)) {
3170 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
3173 arg7
= new wxArrayString
;
3175 int i
, len
=PySequence_Length(obj6
);
3176 for (i
=0; i
<len
; i
++) {
3177 PyObject
* item
= PySequence_GetItem(obj6
, i
);
3179 PyObject
* str
= PyObject_Unicode(item
);
3181 PyObject
* str
= PyObject_Str(item
);
3183 if (PyErr_Occurred()) SWIG_fail
;
3184 arg7
->Add(Py2wxString(str
));
3191 arg8
= (long) SWIG_AsLong(obj7
);
3192 if (PyErr_Occurred()) SWIG_fail
;
3195 if ((SWIG_ConvertPtr(obj8
,(void **)(&arg9
),SWIGTYPE_p_wxValidator
,
3196 SWIG_POINTER_EXCEPTION
| 0)) == -1)
3199 PyErr_SetString(PyExc_TypeError
,"null reference");
3205 arg10
= wxString_in_helper(obj9
);
3206 if (arg10
== NULL
) SWIG_fail
;
3211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3212 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
);
3214 wxPyEndAllowThreads(__tstate
);
3215 if (PyErr_Occurred()) SWIG_fail
;
3218 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3225 if (temp7
) delete arg7
;
3238 if (temp7
) delete arg7
;
3248 static PyObject
*_wrap_ComboBox_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3249 PyObject
*resultobj
;
3250 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3252 PyObject
* obj0
= 0 ;
3254 (char *) "self", NULL
3257 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_GetValue",kwnames
,&obj0
)) goto fail
;
3258 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3259 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3262 result
= ((wxComboBox
const *)arg1
)->GetValue();
3264 wxPyEndAllowThreads(__tstate
);
3265 if (PyErr_Occurred()) SWIG_fail
;
3269 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3271 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3280 static PyObject
*_wrap_ComboBox_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3281 PyObject
*resultobj
;
3282 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3283 wxString
*arg2
= 0 ;
3284 bool temp2
= False
;
3285 PyObject
* obj0
= 0 ;
3286 PyObject
* obj1
= 0 ;
3288 (char *) "self",(char *) "value", NULL
3291 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
3292 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3293 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3295 arg2
= wxString_in_helper(obj1
);
3296 if (arg2
== NULL
) SWIG_fail
;
3300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3301 (arg1
)->SetValue((wxString
const &)*arg2
);
3303 wxPyEndAllowThreads(__tstate
);
3304 if (PyErr_Occurred()) SWIG_fail
;
3306 Py_INCREF(Py_None
); resultobj
= Py_None
;
3321 static PyObject
*_wrap_ComboBox_Copy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3322 PyObject
*resultobj
;
3323 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3324 PyObject
* obj0
= 0 ;
3326 (char *) "self", NULL
3329 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_Copy",kwnames
,&obj0
)) goto fail
;
3330 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3331 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3336 wxPyEndAllowThreads(__tstate
);
3337 if (PyErr_Occurred()) SWIG_fail
;
3339 Py_INCREF(Py_None
); resultobj
= Py_None
;
3346 static PyObject
*_wrap_ComboBox_Cut(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3347 PyObject
*resultobj
;
3348 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3349 PyObject
* obj0
= 0 ;
3351 (char *) "self", NULL
3354 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_Cut",kwnames
,&obj0
)) goto fail
;
3355 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3356 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3361 wxPyEndAllowThreads(__tstate
);
3362 if (PyErr_Occurred()) SWIG_fail
;
3364 Py_INCREF(Py_None
); resultobj
= Py_None
;
3371 static PyObject
*_wrap_ComboBox_Paste(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3372 PyObject
*resultobj
;
3373 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3374 PyObject
* obj0
= 0 ;
3376 (char *) "self", NULL
3379 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_Paste",kwnames
,&obj0
)) goto fail
;
3380 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3381 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3386 wxPyEndAllowThreads(__tstate
);
3387 if (PyErr_Occurred()) SWIG_fail
;
3389 Py_INCREF(Py_None
); resultobj
= Py_None
;
3396 static PyObject
*_wrap_ComboBox_SetInsertionPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3397 PyObject
*resultobj
;
3398 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3400 PyObject
* obj0
= 0 ;
3401 PyObject
* obj1
= 0 ;
3403 (char *) "self",(char *) "pos", NULL
3406 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetInsertionPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
3407 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3408 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3409 arg2
= (long) SWIG_AsLong(obj1
);
3410 if (PyErr_Occurred()) SWIG_fail
;
3412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3413 (arg1
)->SetInsertionPoint(arg2
);
3415 wxPyEndAllowThreads(__tstate
);
3416 if (PyErr_Occurred()) SWIG_fail
;
3418 Py_INCREF(Py_None
); resultobj
= Py_None
;
3425 static PyObject
*_wrap_ComboBox_GetInsertionPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3426 PyObject
*resultobj
;
3427 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3429 PyObject
* obj0
= 0 ;
3431 (char *) "self", NULL
3434 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_GetInsertionPoint",kwnames
,&obj0
)) goto fail
;
3435 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3436 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3439 result
= (long)((wxComboBox
const *)arg1
)->GetInsertionPoint();
3441 wxPyEndAllowThreads(__tstate
);
3442 if (PyErr_Occurred()) SWIG_fail
;
3444 resultobj
= SWIG_FromLong((long)result
);
3451 static PyObject
*_wrap_ComboBox_GetLastPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3452 PyObject
*resultobj
;
3453 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3455 PyObject
* obj0
= 0 ;
3457 (char *) "self", NULL
3460 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_GetLastPosition",kwnames
,&obj0
)) goto fail
;
3461 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3462 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3465 result
= (long)((wxComboBox
const *)arg1
)->GetLastPosition();
3467 wxPyEndAllowThreads(__tstate
);
3468 if (PyErr_Occurred()) SWIG_fail
;
3470 resultobj
= SWIG_FromLong((long)result
);
3477 static PyObject
*_wrap_ComboBox_Replace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3478 PyObject
*resultobj
;
3479 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3482 wxString
*arg4
= 0 ;
3483 bool temp4
= False
;
3484 PyObject
* obj0
= 0 ;
3485 PyObject
* obj1
= 0 ;
3486 PyObject
* obj2
= 0 ;
3487 PyObject
* obj3
= 0 ;
3489 (char *) "self",(char *) "from",(char *) "to",(char *) "value", NULL
3492 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ComboBox_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
3493 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3494 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3495 arg2
= (long) SWIG_AsLong(obj1
);
3496 if (PyErr_Occurred()) SWIG_fail
;
3497 arg3
= (long) SWIG_AsLong(obj2
);
3498 if (PyErr_Occurred()) SWIG_fail
;
3500 arg4
= wxString_in_helper(obj3
);
3501 if (arg4
== NULL
) SWIG_fail
;
3505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3506 (arg1
)->Replace(arg2
,arg3
,(wxString
const &)*arg4
);
3508 wxPyEndAllowThreads(__tstate
);
3509 if (PyErr_Occurred()) SWIG_fail
;
3511 Py_INCREF(Py_None
); resultobj
= Py_None
;
3526 static PyObject
*_wrap_ComboBox_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3527 PyObject
*resultobj
;
3528 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3530 PyObject
* obj0
= 0 ;
3531 PyObject
* obj1
= 0 ;
3533 (char *) "self",(char *) "n", NULL
3536 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
3537 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3538 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3539 arg2
= (int) SWIG_AsInt(obj1
);
3540 if (PyErr_Occurred()) SWIG_fail
;
3542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3543 (arg1
)->SetSelection(arg2
);
3545 wxPyEndAllowThreads(__tstate
);
3546 if (PyErr_Occurred()) SWIG_fail
;
3548 Py_INCREF(Py_None
); resultobj
= Py_None
;
3555 static PyObject
*_wrap_ComboBox_SetMark(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3556 PyObject
*resultobj
;
3557 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3560 PyObject
* obj0
= 0 ;
3561 PyObject
* obj1
= 0 ;
3562 PyObject
* obj2
= 0 ;
3564 (char *) "self",(char *) "from",(char *) "to", NULL
3567 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ComboBox_SetMark",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3568 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3569 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3570 arg2
= (long) SWIG_AsLong(obj1
);
3571 if (PyErr_Occurred()) SWIG_fail
;
3572 arg3
= (long) SWIG_AsLong(obj2
);
3573 if (PyErr_Occurred()) SWIG_fail
;
3575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3576 (arg1
)->SetSelection(arg2
,arg3
);
3578 wxPyEndAllowThreads(__tstate
);
3579 if (PyErr_Occurred()) SWIG_fail
;
3581 Py_INCREF(Py_None
); resultobj
= Py_None
;
3588 static PyObject
*_wrap_ComboBox_SetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3589 PyObject
*resultobj
;
3590 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3591 wxString
*arg2
= 0 ;
3593 bool temp2
= False
;
3594 PyObject
* obj0
= 0 ;
3595 PyObject
* obj1
= 0 ;
3597 (char *) "self",(char *) "string", NULL
3600 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetStringSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
3601 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3602 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3604 arg2
= wxString_in_helper(obj1
);
3605 if (arg2
== NULL
) SWIG_fail
;
3609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3610 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
);
3612 wxPyEndAllowThreads(__tstate
);
3613 if (PyErr_Occurred()) SWIG_fail
;
3616 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3632 static PyObject
*_wrap_ComboBox_SetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3633 PyObject
*resultobj
;
3634 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3636 wxString
*arg3
= 0 ;
3637 bool temp3
= False
;
3638 PyObject
* obj0
= 0 ;
3639 PyObject
* obj1
= 0 ;
3640 PyObject
* obj2
= 0 ;
3642 (char *) "self",(char *) "n",(char *) "string", NULL
3645 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ComboBox_SetString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3646 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3647 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3648 arg2
= (int) SWIG_AsInt(obj1
);
3649 if (PyErr_Occurred()) SWIG_fail
;
3651 arg3
= wxString_in_helper(obj2
);
3652 if (arg3
== NULL
) SWIG_fail
;
3656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3657 (arg1
)->SetString(arg2
,(wxString
const &)*arg3
);
3659 wxPyEndAllowThreads(__tstate
);
3660 if (PyErr_Occurred()) SWIG_fail
;
3662 Py_INCREF(Py_None
); resultobj
= Py_None
;
3677 static PyObject
*_wrap_ComboBox_SetEditable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3678 PyObject
*resultobj
;
3679 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3681 PyObject
* obj0
= 0 ;
3682 PyObject
* obj1
= 0 ;
3684 (char *) "self",(char *) "editable", NULL
3687 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetEditable",kwnames
,&obj0
,&obj1
)) goto fail
;
3688 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3689 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3690 arg2
= (bool) SWIG_AsBool(obj1
);
3691 if (PyErr_Occurred()) SWIG_fail
;
3693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3694 (arg1
)->SetEditable(arg2
);
3696 wxPyEndAllowThreads(__tstate
);
3697 if (PyErr_Occurred()) SWIG_fail
;
3699 Py_INCREF(Py_None
); resultobj
= Py_None
;
3706 static PyObject
*_wrap_ComboBox_SetInsertionPointEnd(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3707 PyObject
*resultobj
;
3708 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3709 PyObject
* obj0
= 0 ;
3711 (char *) "self", NULL
3714 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_SetInsertionPointEnd",kwnames
,&obj0
)) goto fail
;
3715 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3716 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3719 (arg1
)->SetInsertionPointEnd();
3721 wxPyEndAllowThreads(__tstate
);
3722 if (PyErr_Occurred()) SWIG_fail
;
3724 Py_INCREF(Py_None
); resultobj
= Py_None
;
3731 static PyObject
*_wrap_ComboBox_Remove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3732 PyObject
*resultobj
;
3733 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3736 PyObject
* obj0
= 0 ;
3737 PyObject
* obj1
= 0 ;
3738 PyObject
* obj2
= 0 ;
3740 (char *) "self",(char *) "from",(char *) "to", NULL
3743 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ComboBox_Remove",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3744 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3745 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3746 arg2
= (long) SWIG_AsLong(obj1
);
3747 if (PyErr_Occurred()) SWIG_fail
;
3748 arg3
= (long) SWIG_AsLong(obj2
);
3749 if (PyErr_Occurred()) SWIG_fail
;
3751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3752 (arg1
)->Remove(arg2
,arg3
);
3754 wxPyEndAllowThreads(__tstate
);
3755 if (PyErr_Occurred()) SWIG_fail
;
3757 Py_INCREF(Py_None
); resultobj
= Py_None
;
3764 static PyObject
*_wrap_ComboBox_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3765 PyObject
*resultobj
;
3766 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
3767 wxVisualAttributes result
;
3768 PyObject
* obj0
= 0 ;
3770 (char *) "variant", NULL
3773 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ComboBox_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
3775 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
3776 if (PyErr_Occurred()) SWIG_fail
;
3779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3780 result
= wxComboBox::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
3782 wxPyEndAllowThreads(__tstate
);
3783 if (PyErr_Occurred()) SWIG_fail
;
3786 wxVisualAttributes
* resultptr
;
3787 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
3788 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
3796 static PyObject
* ComboBox_swigregister(PyObject
*self
, PyObject
*args
) {
3798 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3799 SWIG_TypeClientData(SWIGTYPE_p_wxComboBox
, obj
);
3801 return Py_BuildValue((char *)"");
3803 static int _wrap_GaugeNameStr_set(PyObject
*_val
) {
3804 PyErr_SetString(PyExc_TypeError
,"Variable GaugeNameStr is read-only.");
3809 static PyObject
*_wrap_GaugeNameStr_get() {
3814 pyobj
= PyUnicode_FromWideChar((&wxPyGaugeNameStr
)->c_str(), (&wxPyGaugeNameStr
)->Len());
3816 pyobj
= PyString_FromStringAndSize((&wxPyGaugeNameStr
)->c_str(), (&wxPyGaugeNameStr
)->Len());
3823 static PyObject
*_wrap_new_Gauge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3824 PyObject
*resultobj
;
3825 wxWindow
*arg1
= (wxWindow
*) 0 ;
3826 int arg2
= (int) -1 ;
3827 int arg3
= (int) 100 ;
3828 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
3829 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
3830 wxSize
const &arg5_defvalue
= wxDefaultSize
;
3831 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
3832 long arg6
= (long) wxGA_HORIZONTAL
;
3833 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
3834 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
3835 wxString
const &arg8_defvalue
= wxPyGaugeNameStr
;
3836 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
3840 bool temp8
= False
;
3841 PyObject
* obj0
= 0 ;
3842 PyObject
* obj1
= 0 ;
3843 PyObject
* obj2
= 0 ;
3844 PyObject
* obj3
= 0 ;
3845 PyObject
* obj4
= 0 ;
3846 PyObject
* obj5
= 0 ;
3847 PyObject
* obj6
= 0 ;
3848 PyObject
* obj7
= 0 ;
3850 (char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3853 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_Gauge",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
3854 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
3855 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3857 arg2
= (int) SWIG_AsInt(obj1
);
3858 if (PyErr_Occurred()) SWIG_fail
;
3861 arg3
= (int) SWIG_AsInt(obj2
);
3862 if (PyErr_Occurred()) SWIG_fail
;
3867 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
3873 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
3877 arg6
= (long) SWIG_AsLong(obj5
);
3878 if (PyErr_Occurred()) SWIG_fail
;
3881 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
3882 SWIG_POINTER_EXCEPTION
| 0)) == -1)
3885 PyErr_SetString(PyExc_TypeError
,"null reference");
3891 arg8
= wxString_in_helper(obj7
);
3892 if (arg8
== NULL
) SWIG_fail
;
3897 if (!wxPyCheckForApp()) SWIG_fail
;
3898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3899 result
= (wxGauge
*)new wxGauge(arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
3901 wxPyEndAllowThreads(__tstate
);
3902 if (PyErr_Occurred()) SWIG_fail
;
3904 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGauge
, 1);
3919 static PyObject
*_wrap_new_PreGauge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3920 PyObject
*resultobj
;
3926 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreGauge",kwnames
)) goto fail
;
3928 if (!wxPyCheckForApp()) SWIG_fail
;
3929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3930 result
= (wxGauge
*)new wxGauge();
3932 wxPyEndAllowThreads(__tstate
);
3933 if (PyErr_Occurred()) SWIG_fail
;
3935 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGauge
, 1);
3942 static PyObject
*_wrap_Gauge_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3943 PyObject
*resultobj
;
3944 wxGauge
*arg1
= (wxGauge
*) 0 ;
3945 wxWindow
*arg2
= (wxWindow
*) 0 ;
3946 int arg3
= (int) -1 ;
3947 int arg4
= (int) 100 ;
3948 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
3949 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
3950 wxSize
const &arg6_defvalue
= wxDefaultSize
;
3951 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
3952 long arg7
= (long) wxGA_HORIZONTAL
;
3953 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
3954 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
3955 wxString
const &arg9_defvalue
= wxPyGaugeNameStr
;
3956 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
3960 bool temp9
= False
;
3961 PyObject
* obj0
= 0 ;
3962 PyObject
* obj1
= 0 ;
3963 PyObject
* obj2
= 0 ;
3964 PyObject
* obj3
= 0 ;
3965 PyObject
* obj4
= 0 ;
3966 PyObject
* obj5
= 0 ;
3967 PyObject
* obj6
= 0 ;
3968 PyObject
* obj7
= 0 ;
3969 PyObject
* obj8
= 0 ;
3971 (char *) "self",(char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3974 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:Gauge_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
3975 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGauge
,
3976 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3977 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
3978 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3980 arg3
= (int) SWIG_AsInt(obj2
);
3981 if (PyErr_Occurred()) SWIG_fail
;
3984 arg4
= (int) SWIG_AsInt(obj3
);
3985 if (PyErr_Occurred()) SWIG_fail
;
3990 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
3996 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
4000 arg7
= (long) SWIG_AsLong(obj6
);
4001 if (PyErr_Occurred()) SWIG_fail
;
4004 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
4005 SWIG_POINTER_EXCEPTION
| 0)) == -1)
4008 PyErr_SetString(PyExc_TypeError
,"null reference");
4014 arg9
= wxString_in_helper(obj8
);
4015 if (arg9
== NULL
) SWIG_fail
;
4020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4021 result
= (bool)(arg1
)->Create(arg2
,arg3
,arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
4023 wxPyEndAllowThreads(__tstate
);
4024 if (PyErr_Occurred()) SWIG_fail
;
4027 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4043 static PyObject
*_wrap_Gauge_SetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4044 PyObject
*resultobj
;
4045 wxGauge
*arg1
= (wxGauge
*) 0 ;
4047 PyObject
* obj0
= 0 ;
4048 PyObject
* obj1
= 0 ;
4050 (char *) "self",(char *) "range", NULL
4053 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetRange",kwnames
,&obj0
,&obj1
)) goto fail
;
4054 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGauge
,
4055 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4056 arg2
= (int) SWIG_AsInt(obj1
);
4057 if (PyErr_Occurred()) SWIG_fail
;
4059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4060 (arg1
)->SetRange(arg2
);
4062 wxPyEndAllowThreads(__tstate
);
4063 if (PyErr_Occurred()) SWIG_fail
;
4065 Py_INCREF(Py_None
); resultobj
= Py_None
;
4072 static PyObject
*_wrap_Gauge_GetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4073 PyObject
*resultobj
;
4074 wxGauge
*arg1
= (wxGauge
*) 0 ;
4076 PyObject
* obj0
= 0 ;
4078 (char *) "self", NULL
4081 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_GetRange",kwnames
,&obj0
)) goto fail
;
4082 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGauge
,
4083 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4086 result
= (int)((wxGauge
const *)arg1
)->GetRange();
4088 wxPyEndAllowThreads(__tstate
);
4089 if (PyErr_Occurred()) SWIG_fail
;
4091 resultobj
= SWIG_FromInt((int)result
);
4098 static PyObject
*_wrap_Gauge_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4099 PyObject
*resultobj
;
4100 wxGauge
*arg1
= (wxGauge
*) 0 ;
4102 PyObject
* obj0
= 0 ;
4103 PyObject
* obj1
= 0 ;
4105 (char *) "self",(char *) "pos", NULL
4108 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
4109 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGauge
,
4110 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4111 arg2
= (int) SWIG_AsInt(obj1
);
4112 if (PyErr_Occurred()) SWIG_fail
;
4114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4115 (arg1
)->SetValue(arg2
);
4117 wxPyEndAllowThreads(__tstate
);
4118 if (PyErr_Occurred()) SWIG_fail
;
4120 Py_INCREF(Py_None
); resultobj
= Py_None
;
4127 static PyObject
*_wrap_Gauge_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4128 PyObject
*resultobj
;
4129 wxGauge
*arg1
= (wxGauge
*) 0 ;
4131 PyObject
* obj0
= 0 ;
4133 (char *) "self", NULL
4136 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_GetValue",kwnames
,&obj0
)) goto fail
;
4137 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGauge
,
4138 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4141 result
= (int)((wxGauge
const *)arg1
)->GetValue();
4143 wxPyEndAllowThreads(__tstate
);
4144 if (PyErr_Occurred()) SWIG_fail
;
4146 resultobj
= SWIG_FromInt((int)result
);
4153 static PyObject
*_wrap_Gauge_IsVertical(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4154 PyObject
*resultobj
;
4155 wxGauge
*arg1
= (wxGauge
*) 0 ;
4157 PyObject
* obj0
= 0 ;
4159 (char *) "self", NULL
4162 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_IsVertical",kwnames
,&obj0
)) goto fail
;
4163 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGauge
,
4164 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4167 result
= (bool)((wxGauge
const *)arg1
)->IsVertical();
4169 wxPyEndAllowThreads(__tstate
);
4170 if (PyErr_Occurred()) SWIG_fail
;
4173 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4181 static PyObject
*_wrap_Gauge_SetShadowWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4182 PyObject
*resultobj
;
4183 wxGauge
*arg1
= (wxGauge
*) 0 ;
4185 PyObject
* obj0
= 0 ;
4186 PyObject
* obj1
= 0 ;
4188 (char *) "self",(char *) "w", NULL
4191 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetShadowWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
4192 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGauge
,
4193 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4194 arg2
= (int) SWIG_AsInt(obj1
);
4195 if (PyErr_Occurred()) SWIG_fail
;
4197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4198 (arg1
)->SetShadowWidth(arg2
);
4200 wxPyEndAllowThreads(__tstate
);
4201 if (PyErr_Occurred()) SWIG_fail
;
4203 Py_INCREF(Py_None
); resultobj
= Py_None
;
4210 static PyObject
*_wrap_Gauge_GetShadowWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4211 PyObject
*resultobj
;
4212 wxGauge
*arg1
= (wxGauge
*) 0 ;
4214 PyObject
* obj0
= 0 ;
4216 (char *) "self", NULL
4219 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_GetShadowWidth",kwnames
,&obj0
)) goto fail
;
4220 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGauge
,
4221 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4224 result
= (int)((wxGauge
const *)arg1
)->GetShadowWidth();
4226 wxPyEndAllowThreads(__tstate
);
4227 if (PyErr_Occurred()) SWIG_fail
;
4229 resultobj
= SWIG_FromInt((int)result
);
4236 static PyObject
*_wrap_Gauge_SetBezelFace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4237 PyObject
*resultobj
;
4238 wxGauge
*arg1
= (wxGauge
*) 0 ;
4240 PyObject
* obj0
= 0 ;
4241 PyObject
* obj1
= 0 ;
4243 (char *) "self",(char *) "w", NULL
4246 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetBezelFace",kwnames
,&obj0
,&obj1
)) goto fail
;
4247 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGauge
,
4248 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4249 arg2
= (int) SWIG_AsInt(obj1
);
4250 if (PyErr_Occurred()) SWIG_fail
;
4252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4253 (arg1
)->SetBezelFace(arg2
);
4255 wxPyEndAllowThreads(__tstate
);
4256 if (PyErr_Occurred()) SWIG_fail
;
4258 Py_INCREF(Py_None
); resultobj
= Py_None
;
4265 static PyObject
*_wrap_Gauge_GetBezelFace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4266 PyObject
*resultobj
;
4267 wxGauge
*arg1
= (wxGauge
*) 0 ;
4269 PyObject
* obj0
= 0 ;
4271 (char *) "self", NULL
4274 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_GetBezelFace",kwnames
,&obj0
)) goto fail
;
4275 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGauge
,
4276 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4279 result
= (int)((wxGauge
const *)arg1
)->GetBezelFace();
4281 wxPyEndAllowThreads(__tstate
);
4282 if (PyErr_Occurred()) SWIG_fail
;
4284 resultobj
= SWIG_FromInt((int)result
);
4291 static PyObject
*_wrap_Gauge_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4292 PyObject
*resultobj
;
4293 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
4294 wxVisualAttributes result
;
4295 PyObject
* obj0
= 0 ;
4297 (char *) "variant", NULL
4300 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Gauge_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
4302 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
4303 if (PyErr_Occurred()) SWIG_fail
;
4306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4307 result
= wxGauge::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
4309 wxPyEndAllowThreads(__tstate
);
4310 if (PyErr_Occurred()) SWIG_fail
;
4313 wxVisualAttributes
* resultptr
;
4314 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
4315 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
4323 static PyObject
* Gauge_swigregister(PyObject
*self
, PyObject
*args
) {
4325 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4326 SWIG_TypeClientData(SWIGTYPE_p_wxGauge
, obj
);
4328 return Py_BuildValue((char *)"");
4330 static int _wrap_StaticBitmapNameStr_set(PyObject
*_val
) {
4331 PyErr_SetString(PyExc_TypeError
,"Variable StaticBitmapNameStr is read-only.");
4336 static PyObject
*_wrap_StaticBitmapNameStr_get() {
4341 pyobj
= PyUnicode_FromWideChar((&wxPyStaticBitmapNameStr
)->c_str(), (&wxPyStaticBitmapNameStr
)->Len());
4343 pyobj
= PyString_FromStringAndSize((&wxPyStaticBitmapNameStr
)->c_str(), (&wxPyStaticBitmapNameStr
)->Len());
4350 static int _wrap_StaticBoxNameStr_set(PyObject
*_val
) {
4351 PyErr_SetString(PyExc_TypeError
,"Variable StaticBoxNameStr is read-only.");
4356 static PyObject
*_wrap_StaticBoxNameStr_get() {
4361 pyobj
= PyUnicode_FromWideChar((&wxPyStaticBoxNameStr
)->c_str(), (&wxPyStaticBoxNameStr
)->Len());
4363 pyobj
= PyString_FromStringAndSize((&wxPyStaticBoxNameStr
)->c_str(), (&wxPyStaticBoxNameStr
)->Len());
4370 static int _wrap_StaticTextNameStr_set(PyObject
*_val
) {
4371 PyErr_SetString(PyExc_TypeError
,"Variable StaticTextNameStr is read-only.");
4376 static PyObject
*_wrap_StaticTextNameStr_get() {
4381 pyobj
= PyUnicode_FromWideChar((&wxPyStaticTextNameStr
)->c_str(), (&wxPyStaticTextNameStr
)->Len());
4383 pyobj
= PyString_FromStringAndSize((&wxPyStaticTextNameStr
)->c_str(), (&wxPyStaticTextNameStr
)->Len());
4390 static PyObject
*_wrap_new_StaticBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4391 PyObject
*resultobj
;
4392 wxWindow
*arg1
= (wxWindow
*) 0 ;
4393 int arg2
= (int) -1 ;
4394 wxString
const &arg3_defvalue
= wxPyEmptyString
;
4395 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
4396 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4397 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4398 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4399 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4400 long arg6
= (long) 0 ;
4401 wxString
const &arg7_defvalue
= wxPyStaticBoxNameStr
;
4402 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
4403 wxStaticBox
*result
;
4404 bool temp3
= False
;
4407 bool temp7
= False
;
4408 PyObject
* obj0
= 0 ;
4409 PyObject
* obj1
= 0 ;
4410 PyObject
* obj2
= 0 ;
4411 PyObject
* obj3
= 0 ;
4412 PyObject
* obj4
= 0 ;
4413 PyObject
* obj5
= 0 ;
4414 PyObject
* obj6
= 0 ;
4416 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4419 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_StaticBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
4420 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
4421 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4423 arg2
= (int) SWIG_AsInt(obj1
);
4424 if (PyErr_Occurred()) SWIG_fail
;
4428 arg3
= wxString_in_helper(obj2
);
4429 if (arg3
== NULL
) SWIG_fail
;
4436 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4442 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4446 arg6
= (long) SWIG_AsLong(obj5
);
4447 if (PyErr_Occurred()) SWIG_fail
;
4451 arg7
= wxString_in_helper(obj6
);
4452 if (arg7
== NULL
) SWIG_fail
;
4457 if (!wxPyCheckForApp()) SWIG_fail
;
4458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4459 result
= (wxStaticBox
*)new wxStaticBox(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
4461 wxPyEndAllowThreads(__tstate
);
4462 if (PyErr_Occurred()) SWIG_fail
;
4465 resultobj
= wxPyMake_wxObject(result
);
4489 static PyObject
*_wrap_new_PreStaticBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4490 PyObject
*resultobj
;
4491 wxStaticBox
*result
;
4496 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreStaticBox",kwnames
)) goto fail
;
4498 if (!wxPyCheckForApp()) SWIG_fail
;
4499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4500 result
= (wxStaticBox
*)new wxStaticBox();
4502 wxPyEndAllowThreads(__tstate
);
4503 if (PyErr_Occurred()) SWIG_fail
;
4506 resultobj
= wxPyMake_wxObject(result
);
4514 static PyObject
*_wrap_StaticBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4515 PyObject
*resultobj
;
4516 wxStaticBox
*arg1
= (wxStaticBox
*) 0 ;
4517 wxWindow
*arg2
= (wxWindow
*) 0 ;
4518 int arg3
= (int) -1 ;
4519 wxString
const &arg4_defvalue
= wxPyEmptyString
;
4520 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
4521 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
4522 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
4523 wxSize
const &arg6_defvalue
= wxDefaultSize
;
4524 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
4525 long arg7
= (long) 0 ;
4526 wxString
const &arg8_defvalue
= wxPyStaticBoxNameStr
;
4527 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
4529 bool temp4
= False
;
4532 bool temp8
= False
;
4533 PyObject
* obj0
= 0 ;
4534 PyObject
* obj1
= 0 ;
4535 PyObject
* obj2
= 0 ;
4536 PyObject
* obj3
= 0 ;
4537 PyObject
* obj4
= 0 ;
4538 PyObject
* obj5
= 0 ;
4539 PyObject
* obj6
= 0 ;
4540 PyObject
* obj7
= 0 ;
4542 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4545 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:StaticBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
4546 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticBox
,
4547 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4548 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
4549 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4551 arg3
= (int) SWIG_AsInt(obj2
);
4552 if (PyErr_Occurred()) SWIG_fail
;
4556 arg4
= wxString_in_helper(obj3
);
4557 if (arg4
== NULL
) SWIG_fail
;
4564 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
4570 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
4574 arg7
= (long) SWIG_AsLong(obj6
);
4575 if (PyErr_Occurred()) SWIG_fail
;
4579 arg8
= wxString_in_helper(obj7
);
4580 if (arg8
== NULL
) SWIG_fail
;
4585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4586 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
4588 wxPyEndAllowThreads(__tstate
);
4589 if (PyErr_Occurred()) SWIG_fail
;
4592 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4616 static PyObject
*_wrap_StaticBox_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4617 PyObject
*resultobj
;
4618 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
4619 wxVisualAttributes result
;
4620 PyObject
* obj0
= 0 ;
4622 (char *) "variant", NULL
4625 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StaticBox_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
4627 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
4628 if (PyErr_Occurred()) SWIG_fail
;
4631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4632 result
= wxStaticBox::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
4634 wxPyEndAllowThreads(__tstate
);
4635 if (PyErr_Occurred()) SWIG_fail
;
4638 wxVisualAttributes
* resultptr
;
4639 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
4640 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
4648 static PyObject
* StaticBox_swigregister(PyObject
*self
, PyObject
*args
) {
4650 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4651 SWIG_TypeClientData(SWIGTYPE_p_wxStaticBox
, obj
);
4653 return Py_BuildValue((char *)"");
4655 static PyObject
*_wrap_new_StaticLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4656 PyObject
*resultobj
;
4657 wxWindow
*arg1
= (wxWindow
*) 0 ;
4658 int arg2
= (int) -1 ;
4659 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
4660 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
4661 wxSize
const &arg4_defvalue
= wxDefaultSize
;
4662 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
4663 long arg5
= (long) wxLI_HORIZONTAL
;
4664 wxString
const &arg6_defvalue
= wxPyStaticTextNameStr
;
4665 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
4666 wxStaticLine
*result
;
4669 bool temp6
= False
;
4670 PyObject
* obj0
= 0 ;
4671 PyObject
* obj1
= 0 ;
4672 PyObject
* obj2
= 0 ;
4673 PyObject
* obj3
= 0 ;
4674 PyObject
* obj4
= 0 ;
4675 PyObject
* obj5
= 0 ;
4677 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4680 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_StaticLine",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
4681 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
4682 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4684 arg2
= (int) SWIG_AsInt(obj1
);
4685 if (PyErr_Occurred()) SWIG_fail
;
4690 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
4696 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
4700 arg5
= (long) SWIG_AsLong(obj4
);
4701 if (PyErr_Occurred()) SWIG_fail
;
4705 arg6
= wxString_in_helper(obj5
);
4706 if (arg6
== NULL
) SWIG_fail
;
4711 if (!wxPyCheckForApp()) SWIG_fail
;
4712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4713 result
= (wxStaticLine
*)new wxStaticLine(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
4715 wxPyEndAllowThreads(__tstate
);
4716 if (PyErr_Occurred()) SWIG_fail
;
4718 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticLine
, 1);
4733 static PyObject
*_wrap_new_PreStaticLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4734 PyObject
*resultobj
;
4735 wxStaticLine
*result
;
4740 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreStaticLine",kwnames
)) goto fail
;
4742 if (!wxPyCheckForApp()) SWIG_fail
;
4743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4744 result
= (wxStaticLine
*)new wxStaticLine();
4746 wxPyEndAllowThreads(__tstate
);
4747 if (PyErr_Occurred()) SWIG_fail
;
4749 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticLine
, 1);
4756 static PyObject
*_wrap_StaticLine_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4757 PyObject
*resultobj
;
4758 wxStaticLine
*arg1
= (wxStaticLine
*) 0 ;
4759 wxWindow
*arg2
= (wxWindow
*) 0 ;
4760 int arg3
= (int) -1 ;
4761 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4762 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4763 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4764 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4765 long arg6
= (long) wxLI_HORIZONTAL
;
4766 wxString
const &arg7_defvalue
= wxPyStaticTextNameStr
;
4767 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
4771 bool temp7
= False
;
4772 PyObject
* obj0
= 0 ;
4773 PyObject
* obj1
= 0 ;
4774 PyObject
* obj2
= 0 ;
4775 PyObject
* obj3
= 0 ;
4776 PyObject
* obj4
= 0 ;
4777 PyObject
* obj5
= 0 ;
4778 PyObject
* obj6
= 0 ;
4780 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4783 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:StaticLine_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
4784 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticLine
,
4785 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4786 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
4787 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4789 arg3
= (int) SWIG_AsInt(obj2
);
4790 if (PyErr_Occurred()) SWIG_fail
;
4795 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4801 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4805 arg6
= (long) SWIG_AsLong(obj5
);
4806 if (PyErr_Occurred()) SWIG_fail
;
4810 arg7
= wxString_in_helper(obj6
);
4811 if (arg7
== NULL
) SWIG_fail
;
4816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4817 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
4819 wxPyEndAllowThreads(__tstate
);
4820 if (PyErr_Occurred()) SWIG_fail
;
4823 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4839 static PyObject
*_wrap_StaticLine_IsVertical(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4840 PyObject
*resultobj
;
4841 wxStaticLine
*arg1
= (wxStaticLine
*) 0 ;
4843 PyObject
* obj0
= 0 ;
4845 (char *) "self", NULL
4848 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StaticLine_IsVertical",kwnames
,&obj0
)) goto fail
;
4849 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticLine
,
4850 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4853 result
= (bool)((wxStaticLine
const *)arg1
)->IsVertical();
4855 wxPyEndAllowThreads(__tstate
);
4856 if (PyErr_Occurred()) SWIG_fail
;
4859 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4867 static PyObject
*_wrap_StaticLine_GetDefaultSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4868 PyObject
*resultobj
;
4874 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":StaticLine_GetDefaultSize",kwnames
)) goto fail
;
4876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4877 result
= (int)wxStaticLine::GetDefaultSize();
4879 wxPyEndAllowThreads(__tstate
);
4880 if (PyErr_Occurred()) SWIG_fail
;
4882 resultobj
= SWIG_FromInt((int)result
);
4889 static PyObject
*_wrap_StaticLine_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4890 PyObject
*resultobj
;
4891 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
4892 wxVisualAttributes result
;
4893 PyObject
* obj0
= 0 ;
4895 (char *) "variant", NULL
4898 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StaticLine_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
4900 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
4901 if (PyErr_Occurred()) SWIG_fail
;
4904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4905 result
= wxStaticLine::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
4907 wxPyEndAllowThreads(__tstate
);
4908 if (PyErr_Occurred()) SWIG_fail
;
4911 wxVisualAttributes
* resultptr
;
4912 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
4913 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
4921 static PyObject
* StaticLine_swigregister(PyObject
*self
, PyObject
*args
) {
4923 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4924 SWIG_TypeClientData(SWIGTYPE_p_wxStaticLine
, obj
);
4926 return Py_BuildValue((char *)"");
4928 static PyObject
*_wrap_new_StaticText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4929 PyObject
*resultobj
;
4930 wxWindow
*arg1
= (wxWindow
*) 0 ;
4931 int arg2
= (int) -1 ;
4932 wxString
const &arg3_defvalue
= wxPyEmptyString
;
4933 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
4934 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4935 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4936 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4937 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4938 long arg6
= (long) 0 ;
4939 wxString
const &arg7_defvalue
= wxPyStaticTextNameStr
;
4940 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
4941 wxStaticText
*result
;
4942 bool temp3
= False
;
4945 bool temp7
= False
;
4946 PyObject
* obj0
= 0 ;
4947 PyObject
* obj1
= 0 ;
4948 PyObject
* obj2
= 0 ;
4949 PyObject
* obj3
= 0 ;
4950 PyObject
* obj4
= 0 ;
4951 PyObject
* obj5
= 0 ;
4952 PyObject
* obj6
= 0 ;
4954 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4957 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_StaticText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
4958 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
4959 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4961 arg2
= (int) SWIG_AsInt(obj1
);
4962 if (PyErr_Occurred()) SWIG_fail
;
4966 arg3
= wxString_in_helper(obj2
);
4967 if (arg3
== NULL
) SWIG_fail
;
4974 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4980 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4984 arg6
= (long) SWIG_AsLong(obj5
);
4985 if (PyErr_Occurred()) SWIG_fail
;
4989 arg7
= wxString_in_helper(obj6
);
4990 if (arg7
== NULL
) SWIG_fail
;
4995 if (!wxPyCheckForApp()) SWIG_fail
;
4996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4997 result
= (wxStaticText
*)new wxStaticText(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
4999 wxPyEndAllowThreads(__tstate
);
5000 if (PyErr_Occurred()) SWIG_fail
;
5002 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticText
, 1);
5025 static PyObject
*_wrap_new_PreStaticText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5026 PyObject
*resultobj
;
5027 wxStaticText
*result
;
5032 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreStaticText",kwnames
)) goto fail
;
5034 if (!wxPyCheckForApp()) SWIG_fail
;
5035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5036 result
= (wxStaticText
*)new wxStaticText();
5038 wxPyEndAllowThreads(__tstate
);
5039 if (PyErr_Occurred()) SWIG_fail
;
5041 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticText
, 1);
5048 static PyObject
*_wrap_StaticText_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5049 PyObject
*resultobj
;
5050 wxStaticText
*arg1
= (wxStaticText
*) 0 ;
5051 wxWindow
*arg2
= (wxWindow
*) 0 ;
5052 int arg3
= (int) -1 ;
5053 wxString
const &arg4_defvalue
= wxPyEmptyString
;
5054 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
5055 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
5056 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
5057 wxSize
const &arg6_defvalue
= wxDefaultSize
;
5058 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
5059 long arg7
= (long) 0 ;
5060 wxString
const &arg8_defvalue
= wxPyStaticTextNameStr
;
5061 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
5063 bool temp4
= False
;
5066 bool temp8
= False
;
5067 PyObject
* obj0
= 0 ;
5068 PyObject
* obj1
= 0 ;
5069 PyObject
* obj2
= 0 ;
5070 PyObject
* obj3
= 0 ;
5071 PyObject
* obj4
= 0 ;
5072 PyObject
* obj5
= 0 ;
5073 PyObject
* obj6
= 0 ;
5074 PyObject
* obj7
= 0 ;
5076 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5079 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:StaticText_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
5080 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticText
,
5081 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5082 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
5083 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5085 arg3
= (int) SWIG_AsInt(obj2
);
5086 if (PyErr_Occurred()) SWIG_fail
;
5090 arg4
= wxString_in_helper(obj3
);
5091 if (arg4
== NULL
) SWIG_fail
;
5098 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
5104 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
5108 arg7
= (long) SWIG_AsLong(obj6
);
5109 if (PyErr_Occurred()) SWIG_fail
;
5113 arg8
= wxString_in_helper(obj7
);
5114 if (arg8
== NULL
) SWIG_fail
;
5119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5120 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
5122 wxPyEndAllowThreads(__tstate
);
5123 if (PyErr_Occurred()) SWIG_fail
;
5126 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5150 static PyObject
*_wrap_StaticText_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5151 PyObject
*resultobj
;
5152 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
5153 wxVisualAttributes result
;
5154 PyObject
* obj0
= 0 ;
5156 (char *) "variant", NULL
5159 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StaticText_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
5161 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
5162 if (PyErr_Occurred()) SWIG_fail
;
5165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5166 result
= wxStaticText::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
5168 wxPyEndAllowThreads(__tstate
);
5169 if (PyErr_Occurred()) SWIG_fail
;
5172 wxVisualAttributes
* resultptr
;
5173 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
5174 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
5182 static PyObject
* StaticText_swigregister(PyObject
*self
, PyObject
*args
) {
5184 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5185 SWIG_TypeClientData(SWIGTYPE_p_wxStaticText
, obj
);
5187 return Py_BuildValue((char *)"");
5189 static PyObject
*_wrap_new_StaticBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5190 PyObject
*resultobj
;
5191 wxWindow
*arg1
= (wxWindow
*) 0 ;
5192 int arg2
= (int) -1 ;
5193 wxBitmap
const &arg3_defvalue
= wxNullBitmap
;
5194 wxBitmap
*arg3
= (wxBitmap
*) &arg3_defvalue
;
5195 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
5196 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
5197 wxSize
const &arg5_defvalue
= wxDefaultSize
;
5198 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
5199 long arg6
= (long) 0 ;
5200 wxString
const &arg7_defvalue
= wxPyStaticBitmapNameStr
;
5201 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
5202 wxStaticBitmap
*result
;
5205 bool temp7
= False
;
5206 PyObject
* obj0
= 0 ;
5207 PyObject
* obj1
= 0 ;
5208 PyObject
* obj2
= 0 ;
5209 PyObject
* obj3
= 0 ;
5210 PyObject
* obj4
= 0 ;
5211 PyObject
* obj5
= 0 ;
5212 PyObject
* obj6
= 0 ;
5214 (char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5217 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_StaticBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
5218 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
5219 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5221 arg2
= (int) SWIG_AsInt(obj1
);
5222 if (PyErr_Occurred()) SWIG_fail
;
5225 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxBitmap
,
5226 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5229 PyErr_SetString(PyExc_TypeError
,"null reference");
5236 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
5242 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
5246 arg6
= (long) SWIG_AsLong(obj5
);
5247 if (PyErr_Occurred()) SWIG_fail
;
5251 arg7
= wxString_in_helper(obj6
);
5252 if (arg7
== NULL
) SWIG_fail
;
5257 if (!wxPyCheckForApp()) SWIG_fail
;
5258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5259 result
= (wxStaticBitmap
*)new wxStaticBitmap(arg1
,arg2
,(wxBitmap
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
5261 wxPyEndAllowThreads(__tstate
);
5262 if (PyErr_Occurred()) SWIG_fail
;
5264 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticBitmap
, 1);
5279 static PyObject
*_wrap_new_PreStaticBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5280 PyObject
*resultobj
;
5281 wxStaticBitmap
*result
;
5286 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreStaticBitmap",kwnames
)) goto fail
;
5288 if (!wxPyCheckForApp()) SWIG_fail
;
5289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5290 result
= (wxStaticBitmap
*)new wxStaticBitmap();
5292 wxPyEndAllowThreads(__tstate
);
5293 if (PyErr_Occurred()) SWIG_fail
;
5295 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticBitmap
, 1);
5302 static PyObject
*_wrap_StaticBitmap_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5303 PyObject
*resultobj
;
5304 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
5305 wxWindow
*arg2
= (wxWindow
*) 0 ;
5306 int arg3
= (int) -1 ;
5307 wxBitmap
const &arg4_defvalue
= wxNullBitmap
;
5308 wxBitmap
*arg4
= (wxBitmap
*) &arg4_defvalue
;
5309 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
5310 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
5311 wxSize
const &arg6_defvalue
= wxDefaultSize
;
5312 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
5313 long arg7
= (long) 0 ;
5314 wxString
const &arg8_defvalue
= wxPyStaticBitmapNameStr
;
5315 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
5319 bool temp8
= False
;
5320 PyObject
* obj0
= 0 ;
5321 PyObject
* obj1
= 0 ;
5322 PyObject
* obj2
= 0 ;
5323 PyObject
* obj3
= 0 ;
5324 PyObject
* obj4
= 0 ;
5325 PyObject
* obj5
= 0 ;
5326 PyObject
* obj6
= 0 ;
5327 PyObject
* obj7
= 0 ;
5329 (char *) "self",(char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5332 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:StaticBitmap_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
5333 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticBitmap
,
5334 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5335 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
5336 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5338 arg3
= (int) SWIG_AsInt(obj2
);
5339 if (PyErr_Occurred()) SWIG_fail
;
5342 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxBitmap
,
5343 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5346 PyErr_SetString(PyExc_TypeError
,"null reference");
5353 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
5359 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
5363 arg7
= (long) SWIG_AsLong(obj6
);
5364 if (PyErr_Occurred()) SWIG_fail
;
5368 arg8
= wxString_in_helper(obj7
);
5369 if (arg8
== NULL
) SWIG_fail
;
5374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5375 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxBitmap
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
5377 wxPyEndAllowThreads(__tstate
);
5378 if (PyErr_Occurred()) SWIG_fail
;
5381 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5397 static PyObject
*_wrap_StaticBitmap_GetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5398 PyObject
*resultobj
;
5399 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
5401 PyObject
* obj0
= 0 ;
5403 (char *) "self", NULL
5406 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StaticBitmap_GetBitmap",kwnames
,&obj0
)) goto fail
;
5407 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticBitmap
,
5408 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5411 result
= (arg1
)->GetBitmap();
5413 wxPyEndAllowThreads(__tstate
);
5414 if (PyErr_Occurred()) SWIG_fail
;
5417 wxBitmap
* resultptr
;
5418 resultptr
= new wxBitmap((wxBitmap
&) result
);
5419 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
5427 static PyObject
*_wrap_StaticBitmap_SetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5428 PyObject
*resultobj
;
5429 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
5430 wxBitmap
*arg2
= 0 ;
5431 PyObject
* obj0
= 0 ;
5432 PyObject
* obj1
= 0 ;
5434 (char *) "self",(char *) "bitmap", NULL
5437 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StaticBitmap_SetBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
5438 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticBitmap
,
5439 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5440 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
5441 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5444 PyErr_SetString(PyExc_TypeError
,"null reference");
5448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5449 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
5451 wxPyEndAllowThreads(__tstate
);
5452 if (PyErr_Occurred()) SWIG_fail
;
5454 Py_INCREF(Py_None
); resultobj
= Py_None
;
5461 static PyObject
*_wrap_StaticBitmap_SetIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5462 PyObject
*resultobj
;
5463 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
5465 PyObject
* obj0
= 0 ;
5466 PyObject
* obj1
= 0 ;
5468 (char *) "self",(char *) "icon", NULL
5471 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StaticBitmap_SetIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
5472 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticBitmap
,
5473 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5474 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxIcon
,
5475 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5478 PyErr_SetString(PyExc_TypeError
,"null reference");
5482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5483 (arg1
)->SetIcon((wxIcon
const &)*arg2
);
5485 wxPyEndAllowThreads(__tstate
);
5486 if (PyErr_Occurred()) SWIG_fail
;
5488 Py_INCREF(Py_None
); resultobj
= Py_None
;
5495 static PyObject
*_wrap_StaticBitmap_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5496 PyObject
*resultobj
;
5497 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
5498 wxVisualAttributes result
;
5499 PyObject
* obj0
= 0 ;
5501 (char *) "variant", NULL
5504 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StaticBitmap_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
5506 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
5507 if (PyErr_Occurred()) SWIG_fail
;
5510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5511 result
= wxStaticBitmap::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
5513 wxPyEndAllowThreads(__tstate
);
5514 if (PyErr_Occurred()) SWIG_fail
;
5517 wxVisualAttributes
* resultptr
;
5518 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
5519 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
5527 static PyObject
* StaticBitmap_swigregister(PyObject
*self
, PyObject
*args
) {
5529 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5530 SWIG_TypeClientData(SWIGTYPE_p_wxStaticBitmap
, obj
);
5532 return Py_BuildValue((char *)"");
5534 static int _wrap_ListBoxNameStr_set(PyObject
*_val
) {
5535 PyErr_SetString(PyExc_TypeError
,"Variable ListBoxNameStr is read-only.");
5540 static PyObject
*_wrap_ListBoxNameStr_get() {
5545 pyobj
= PyUnicode_FromWideChar((&wxPyListBoxNameStr
)->c_str(), (&wxPyListBoxNameStr
)->Len());
5547 pyobj
= PyString_FromStringAndSize((&wxPyListBoxNameStr
)->c_str(), (&wxPyListBoxNameStr
)->Len());
5554 static PyObject
*_wrap_new_ListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5555 PyObject
*resultobj
;
5556 wxWindow
*arg1
= (wxWindow
*) 0 ;
5557 int arg2
= (int) -1 ;
5558 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
5559 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
5560 wxSize
const &arg4_defvalue
= wxDefaultSize
;
5561 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
5562 wxArrayString
const &arg5_defvalue
= wxPyEmptyStringArray
;
5563 wxArrayString
*arg5
= (wxArrayString
*) &arg5_defvalue
;
5564 long arg6
= (long) 0 ;
5565 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
5566 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
5567 wxString
const &arg8_defvalue
= wxPyListBoxNameStr
;
5568 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
5572 bool temp5
= False
;
5573 bool temp8
= False
;
5574 PyObject
* obj0
= 0 ;
5575 PyObject
* obj1
= 0 ;
5576 PyObject
* obj2
= 0 ;
5577 PyObject
* obj3
= 0 ;
5578 PyObject
* obj4
= 0 ;
5579 PyObject
* obj5
= 0 ;
5580 PyObject
* obj6
= 0 ;
5581 PyObject
* obj7
= 0 ;
5583 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5586 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_ListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
5587 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
5588 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5590 arg2
= (int) SWIG_AsInt(obj1
);
5591 if (PyErr_Occurred()) SWIG_fail
;
5596 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
5602 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
5607 if (! PySequence_Check(obj4
)) {
5608 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
5611 arg5
= new wxArrayString
;
5613 int i
, len
=PySequence_Length(obj4
);
5614 for (i
=0; i
<len
; i
++) {
5615 PyObject
* item
= PySequence_GetItem(obj4
, i
);
5617 PyObject
* str
= PyObject_Unicode(item
);
5619 PyObject
* str
= PyObject_Str(item
);
5621 if (PyErr_Occurred()) SWIG_fail
;
5622 arg5
->Add(Py2wxString(str
));
5629 arg6
= (long) SWIG_AsLong(obj5
);
5630 if (PyErr_Occurred()) SWIG_fail
;
5633 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
5634 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5637 PyErr_SetString(PyExc_TypeError
,"null reference");
5643 arg8
= wxString_in_helper(obj7
);
5644 if (arg8
== NULL
) SWIG_fail
;
5649 if (!wxPyCheckForApp()) SWIG_fail
;
5650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5651 result
= (wxListBox
*)new wxListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,(wxArrayString
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
5653 wxPyEndAllowThreads(__tstate
);
5654 if (PyErr_Occurred()) SWIG_fail
;
5656 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListBox
, 1);
5658 if (temp5
) delete arg5
;
5667 if (temp5
) delete arg5
;
5677 static PyObject
*_wrap_new_PreListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5678 PyObject
*resultobj
;
5684 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreListBox",kwnames
)) goto fail
;
5686 if (!wxPyCheckForApp()) SWIG_fail
;
5687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5688 result
= (wxListBox
*)new wxListBox();
5690 wxPyEndAllowThreads(__tstate
);
5691 if (PyErr_Occurred()) SWIG_fail
;
5693 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListBox
, 1);
5700 static PyObject
*_wrap_ListBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5701 PyObject
*resultobj
;
5702 wxListBox
*arg1
= (wxListBox
*) 0 ;
5703 wxWindow
*arg2
= (wxWindow
*) 0 ;
5704 int arg3
= (int) -1 ;
5705 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
5706 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
5707 wxSize
const &arg5_defvalue
= wxDefaultSize
;
5708 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
5709 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
5710 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
5711 long arg7
= (long) 0 ;
5712 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
5713 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
5714 wxString
const &arg9_defvalue
= wxPyListBoxNameStr
;
5715 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
5719 bool temp6
= False
;
5720 bool temp9
= False
;
5721 PyObject
* obj0
= 0 ;
5722 PyObject
* obj1
= 0 ;
5723 PyObject
* obj2
= 0 ;
5724 PyObject
* obj3
= 0 ;
5725 PyObject
* obj4
= 0 ;
5726 PyObject
* obj5
= 0 ;
5727 PyObject
* obj6
= 0 ;
5728 PyObject
* obj7
= 0 ;
5729 PyObject
* obj8
= 0 ;
5731 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5734 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:ListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
5735 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
5736 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5737 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
5738 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5740 arg3
= (int) SWIG_AsInt(obj2
);
5741 if (PyErr_Occurred()) SWIG_fail
;
5746 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
5752 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
5757 if (! PySequence_Check(obj5
)) {
5758 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
5761 arg6
= new wxArrayString
;
5763 int i
, len
=PySequence_Length(obj5
);
5764 for (i
=0; i
<len
; i
++) {
5765 PyObject
* item
= PySequence_GetItem(obj5
, i
);
5767 PyObject
* str
= PyObject_Unicode(item
);
5769 PyObject
* str
= PyObject_Str(item
);
5771 if (PyErr_Occurred()) SWIG_fail
;
5772 arg6
->Add(Py2wxString(str
));
5779 arg7
= (long) SWIG_AsLong(obj6
);
5780 if (PyErr_Occurred()) SWIG_fail
;
5783 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
5784 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5787 PyErr_SetString(PyExc_TypeError
,"null reference");
5793 arg9
= wxString_in_helper(obj8
);
5794 if (arg9
== NULL
) SWIG_fail
;
5799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5800 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,(wxArrayString
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
5802 wxPyEndAllowThreads(__tstate
);
5803 if (PyErr_Occurred()) SWIG_fail
;
5806 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5809 if (temp6
) delete arg6
;
5818 if (temp6
) delete arg6
;
5828 static PyObject
*_wrap_ListBox_Insert(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5829 PyObject
*resultobj
;
5830 wxListBox
*arg1
= (wxListBox
*) 0 ;
5831 wxString
*arg2
= 0 ;
5833 PyObject
*arg4
= (PyObject
*) NULL
;
5834 bool temp2
= False
;
5835 PyObject
* obj0
= 0 ;
5836 PyObject
* obj1
= 0 ;
5837 PyObject
* obj2
= 0 ;
5838 PyObject
* obj3
= 0 ;
5840 (char *) "self",(char *) "item",(char *) "pos",(char *) "clientData", NULL
5843 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ListBox_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
5844 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
5845 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5847 arg2
= wxString_in_helper(obj1
);
5848 if (arg2
== NULL
) SWIG_fail
;
5851 arg3
= (int) SWIG_AsInt(obj2
);
5852 if (PyErr_Occurred()) SWIG_fail
;
5857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5858 wxListBox_Insert(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
5860 wxPyEndAllowThreads(__tstate
);
5861 if (PyErr_Occurred()) SWIG_fail
;
5863 Py_INCREF(Py_None
); resultobj
= Py_None
;
5878 static PyObject
*_wrap_ListBox_InsertItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5879 PyObject
*resultobj
;
5880 wxListBox
*arg1
= (wxListBox
*) 0 ;
5881 wxArrayString
*arg2
= 0 ;
5883 bool temp2
= False
;
5884 PyObject
* obj0
= 0 ;
5885 PyObject
* obj1
= 0 ;
5886 PyObject
* obj2
= 0 ;
5888 (char *) "self",(char *) "items",(char *) "pos", NULL
5891 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_InsertItems",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5892 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
5893 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5895 if (! PySequence_Check(obj1
)) {
5896 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
5899 arg2
= new wxArrayString
;
5901 int i
, len
=PySequence_Length(obj1
);
5902 for (i
=0; i
<len
; i
++) {
5903 PyObject
* item
= PySequence_GetItem(obj1
, i
);
5905 PyObject
* str
= PyObject_Unicode(item
);
5907 PyObject
* str
= PyObject_Str(item
);
5909 if (PyErr_Occurred()) SWIG_fail
;
5910 arg2
->Add(Py2wxString(str
));
5915 arg3
= (int) SWIG_AsInt(obj2
);
5916 if (PyErr_Occurred()) SWIG_fail
;
5918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5919 (arg1
)->InsertItems((wxArrayString
const &)*arg2
,arg3
);
5921 wxPyEndAllowThreads(__tstate
);
5922 if (PyErr_Occurred()) SWIG_fail
;
5924 Py_INCREF(Py_None
); resultobj
= Py_None
;
5926 if (temp2
) delete arg2
;
5931 if (temp2
) delete arg2
;
5937 static PyObject
*_wrap_ListBox_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5938 PyObject
*resultobj
;
5939 wxListBox
*arg1
= (wxListBox
*) 0 ;
5940 wxArrayString
*arg2
= 0 ;
5941 bool temp2
= False
;
5942 PyObject
* obj0
= 0 ;
5943 PyObject
* obj1
= 0 ;
5945 (char *) "self",(char *) "items", NULL
5948 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_Set",kwnames
,&obj0
,&obj1
)) goto fail
;
5949 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
5950 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5952 if (! PySequence_Check(obj1
)) {
5953 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
5956 arg2
= new wxArrayString
;
5958 int i
, len
=PySequence_Length(obj1
);
5959 for (i
=0; i
<len
; i
++) {
5960 PyObject
* item
= PySequence_GetItem(obj1
, i
);
5962 PyObject
* str
= PyObject_Unicode(item
);
5964 PyObject
* str
= PyObject_Str(item
);
5966 if (PyErr_Occurred()) SWIG_fail
;
5967 arg2
->Add(Py2wxString(str
));
5973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5974 (arg1
)->Set((wxArrayString
const &)*arg2
);
5976 wxPyEndAllowThreads(__tstate
);
5977 if (PyErr_Occurred()) SWIG_fail
;
5979 Py_INCREF(Py_None
); resultobj
= Py_None
;
5981 if (temp2
) delete arg2
;
5986 if (temp2
) delete arg2
;
5992 static PyObject
*_wrap_ListBox_IsSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5993 PyObject
*resultobj
;
5994 wxListBox
*arg1
= (wxListBox
*) 0 ;
5997 PyObject
* obj0
= 0 ;
5998 PyObject
* obj1
= 0 ;
6000 (char *) "self",(char *) "n", NULL
6003 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_IsSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
6004 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
6005 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6006 arg2
= (int) SWIG_AsInt(obj1
);
6007 if (PyErr_Occurred()) SWIG_fail
;
6009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6010 result
= (bool)((wxListBox
const *)arg1
)->IsSelected(arg2
);
6012 wxPyEndAllowThreads(__tstate
);
6013 if (PyErr_Occurred()) SWIG_fail
;
6016 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6024 static PyObject
*_wrap_ListBox_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6025 PyObject
*resultobj
;
6026 wxListBox
*arg1
= (wxListBox
*) 0 ;
6028 bool arg3
= (bool) True
;
6029 PyObject
* obj0
= 0 ;
6030 PyObject
* obj1
= 0 ;
6031 PyObject
* obj2
= 0 ;
6033 (char *) "self",(char *) "n",(char *) "select", NULL
6036 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListBox_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6037 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
6038 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6039 arg2
= (int) SWIG_AsInt(obj1
);
6040 if (PyErr_Occurred()) SWIG_fail
;
6042 arg3
= (bool) SWIG_AsBool(obj2
);
6043 if (PyErr_Occurred()) SWIG_fail
;
6046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6047 (arg1
)->SetSelection(arg2
,arg3
);
6049 wxPyEndAllowThreads(__tstate
);
6050 if (PyErr_Occurred()) SWIG_fail
;
6052 Py_INCREF(Py_None
); resultobj
= Py_None
;
6059 static PyObject
*_wrap_ListBox_Select(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6060 PyObject
*resultobj
;
6061 wxListBox
*arg1
= (wxListBox
*) 0 ;
6063 PyObject
* obj0
= 0 ;
6064 PyObject
* obj1
= 0 ;
6066 (char *) "self",(char *) "n", NULL
6069 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_Select",kwnames
,&obj0
,&obj1
)) goto fail
;
6070 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
6071 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6072 arg2
= (int) SWIG_AsInt(obj1
);
6073 if (PyErr_Occurred()) SWIG_fail
;
6075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6076 (arg1
)->Select(arg2
);
6078 wxPyEndAllowThreads(__tstate
);
6079 if (PyErr_Occurred()) SWIG_fail
;
6081 Py_INCREF(Py_None
); resultobj
= Py_None
;
6088 static PyObject
*_wrap_ListBox_Deselect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6089 PyObject
*resultobj
;
6090 wxListBox
*arg1
= (wxListBox
*) 0 ;
6092 PyObject
* obj0
= 0 ;
6093 PyObject
* obj1
= 0 ;
6095 (char *) "self",(char *) "n", NULL
6098 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_Deselect",kwnames
,&obj0
,&obj1
)) goto fail
;
6099 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
6100 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6101 arg2
= (int) SWIG_AsInt(obj1
);
6102 if (PyErr_Occurred()) SWIG_fail
;
6104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6105 (arg1
)->Deselect(arg2
);
6107 wxPyEndAllowThreads(__tstate
);
6108 if (PyErr_Occurred()) SWIG_fail
;
6110 Py_INCREF(Py_None
); resultobj
= Py_None
;
6117 static PyObject
*_wrap_ListBox_DeselectAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6118 PyObject
*resultobj
;
6119 wxListBox
*arg1
= (wxListBox
*) 0 ;
6120 int arg2
= (int) -1 ;
6121 PyObject
* obj0
= 0 ;
6122 PyObject
* obj1
= 0 ;
6124 (char *) "self",(char *) "itemToLeaveSelected", NULL
6127 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ListBox_DeselectAll",kwnames
,&obj0
,&obj1
)) goto fail
;
6128 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
6129 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6131 arg2
= (int) SWIG_AsInt(obj1
);
6132 if (PyErr_Occurred()) SWIG_fail
;
6135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6136 (arg1
)->DeselectAll(arg2
);
6138 wxPyEndAllowThreads(__tstate
);
6139 if (PyErr_Occurred()) SWIG_fail
;
6141 Py_INCREF(Py_None
); resultobj
= Py_None
;
6148 static PyObject
*_wrap_ListBox_SetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6149 PyObject
*resultobj
;
6150 wxListBox
*arg1
= (wxListBox
*) 0 ;
6151 wxString
*arg2
= 0 ;
6152 bool arg3
= (bool) True
;
6154 bool temp2
= False
;
6155 PyObject
* obj0
= 0 ;
6156 PyObject
* obj1
= 0 ;
6157 PyObject
* obj2
= 0 ;
6159 (char *) "self",(char *) "s",(char *) "select", NULL
6162 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListBox_SetStringSelection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6163 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
6164 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6166 arg2
= wxString_in_helper(obj1
);
6167 if (arg2
== NULL
) SWIG_fail
;
6171 arg3
= (bool) SWIG_AsBool(obj2
);
6172 if (PyErr_Occurred()) SWIG_fail
;
6175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6176 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
,arg3
);
6178 wxPyEndAllowThreads(__tstate
);
6179 if (PyErr_Occurred()) SWIG_fail
;
6182 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6198 static PyObject
*_wrap_ListBox_GetSelections(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6199 PyObject
*resultobj
;
6200 wxListBox
*arg1
= (wxListBox
*) 0 ;
6202 PyObject
* obj0
= 0 ;
6204 (char *) "self", NULL
6207 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListBox_GetSelections",kwnames
,&obj0
)) goto fail
;
6208 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
6209 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6212 result
= (PyObject
*)wxListBox_GetSelections(arg1
);
6214 wxPyEndAllowThreads(__tstate
);
6215 if (PyErr_Occurred()) SWIG_fail
;
6224 static PyObject
*_wrap_ListBox_SetFirstItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6225 PyObject
*resultobj
;
6226 wxListBox
*arg1
= (wxListBox
*) 0 ;
6228 PyObject
* obj0
= 0 ;
6229 PyObject
* obj1
= 0 ;
6231 (char *) "self",(char *) "n", NULL
6234 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_SetFirstItem",kwnames
,&obj0
,&obj1
)) goto fail
;
6235 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
6236 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6237 arg2
= (int) SWIG_AsInt(obj1
);
6238 if (PyErr_Occurred()) SWIG_fail
;
6240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6241 (arg1
)->SetFirstItem(arg2
);
6243 wxPyEndAllowThreads(__tstate
);
6244 if (PyErr_Occurred()) SWIG_fail
;
6246 Py_INCREF(Py_None
); resultobj
= Py_None
;
6253 static PyObject
*_wrap_ListBox_SetFirstItemStr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6254 PyObject
*resultobj
;
6255 wxListBox
*arg1
= (wxListBox
*) 0 ;
6256 wxString
*arg2
= 0 ;
6257 bool temp2
= False
;
6258 PyObject
* obj0
= 0 ;
6259 PyObject
* obj1
= 0 ;
6261 (char *) "self",(char *) "s", NULL
6264 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_SetFirstItemStr",kwnames
,&obj0
,&obj1
)) goto fail
;
6265 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
6266 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6268 arg2
= wxString_in_helper(obj1
);
6269 if (arg2
== NULL
) SWIG_fail
;
6273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6274 (arg1
)->SetFirstItem((wxString
const &)*arg2
);
6276 wxPyEndAllowThreads(__tstate
);
6277 if (PyErr_Occurred()) SWIG_fail
;
6279 Py_INCREF(Py_None
); resultobj
= Py_None
;
6294 static PyObject
*_wrap_ListBox_EnsureVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6295 PyObject
*resultobj
;
6296 wxListBox
*arg1
= (wxListBox
*) 0 ;
6298 PyObject
* obj0
= 0 ;
6299 PyObject
* obj1
= 0 ;
6301 (char *) "self",(char *) "n", NULL
6304 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_EnsureVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
6305 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
6306 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6307 arg2
= (int) SWIG_AsInt(obj1
);
6308 if (PyErr_Occurred()) SWIG_fail
;
6310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6311 (arg1
)->EnsureVisible(arg2
);
6313 wxPyEndAllowThreads(__tstate
);
6314 if (PyErr_Occurred()) SWIG_fail
;
6316 Py_INCREF(Py_None
); resultobj
= Py_None
;
6323 static PyObject
*_wrap_ListBox_AppendAndEnsureVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6324 PyObject
*resultobj
;
6325 wxListBox
*arg1
= (wxListBox
*) 0 ;
6326 wxString
*arg2
= 0 ;
6327 bool temp2
= False
;
6328 PyObject
* obj0
= 0 ;
6329 PyObject
* obj1
= 0 ;
6331 (char *) "self",(char *) "s", NULL
6334 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_AppendAndEnsureVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
6335 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
6336 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6338 arg2
= wxString_in_helper(obj1
);
6339 if (arg2
== NULL
) SWIG_fail
;
6343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6344 (arg1
)->AppendAndEnsureVisible((wxString
const &)*arg2
);
6346 wxPyEndAllowThreads(__tstate
);
6347 if (PyErr_Occurred()) SWIG_fail
;
6349 Py_INCREF(Py_None
); resultobj
= Py_None
;
6364 static PyObject
*_wrap_ListBox_IsSorted(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6365 PyObject
*resultobj
;
6366 wxListBox
*arg1
= (wxListBox
*) 0 ;
6368 PyObject
* obj0
= 0 ;
6370 (char *) "self", NULL
6373 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListBox_IsSorted",kwnames
,&obj0
)) goto fail
;
6374 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
6375 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6378 result
= (bool)((wxListBox
const *)arg1
)->IsSorted();
6380 wxPyEndAllowThreads(__tstate
);
6381 if (PyErr_Occurred()) SWIG_fail
;
6384 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6392 static PyObject
*_wrap_ListBox_SetItemForegroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6393 PyObject
*resultobj
;
6394 wxListBox
*arg1
= (wxListBox
*) 0 ;
6396 wxColour
*arg3
= 0 ;
6398 PyObject
* obj0
= 0 ;
6399 PyObject
* obj1
= 0 ;
6400 PyObject
* obj2
= 0 ;
6402 (char *) "self",(char *) "item",(char *) "c", NULL
6405 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_SetItemForegroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6406 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
6407 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6408 arg2
= (int) SWIG_AsInt(obj1
);
6409 if (PyErr_Occurred()) SWIG_fail
;
6412 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
6415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6416 wxListBox_SetItemForegroundColour(arg1
,arg2
,(wxColour
const &)*arg3
);
6418 wxPyEndAllowThreads(__tstate
);
6419 if (PyErr_Occurred()) SWIG_fail
;
6421 Py_INCREF(Py_None
); resultobj
= Py_None
;
6428 static PyObject
*_wrap_ListBox_SetItemBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6429 PyObject
*resultobj
;
6430 wxListBox
*arg1
= (wxListBox
*) 0 ;
6432 wxColour
*arg3
= 0 ;
6434 PyObject
* obj0
= 0 ;
6435 PyObject
* obj1
= 0 ;
6436 PyObject
* obj2
= 0 ;
6438 (char *) "self",(char *) "item",(char *) "c", NULL
6441 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_SetItemBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6442 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
6443 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6444 arg2
= (int) SWIG_AsInt(obj1
);
6445 if (PyErr_Occurred()) SWIG_fail
;
6448 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
6451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6452 wxListBox_SetItemBackgroundColour(arg1
,arg2
,(wxColour
const &)*arg3
);
6454 wxPyEndAllowThreads(__tstate
);
6455 if (PyErr_Occurred()) SWIG_fail
;
6457 Py_INCREF(Py_None
); resultobj
= Py_None
;
6464 static PyObject
*_wrap_ListBox_SetItemFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6465 PyObject
*resultobj
;
6466 wxListBox
*arg1
= (wxListBox
*) 0 ;
6469 PyObject
* obj0
= 0 ;
6470 PyObject
* obj1
= 0 ;
6471 PyObject
* obj2
= 0 ;
6473 (char *) "self",(char *) "item",(char *) "f", NULL
6476 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_SetItemFont",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6477 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
6478 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6479 arg2
= (int) SWIG_AsInt(obj1
);
6480 if (PyErr_Occurred()) SWIG_fail
;
6481 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxFont
,
6482 SWIG_POINTER_EXCEPTION
| 0)) == -1)
6485 PyErr_SetString(PyExc_TypeError
,"null reference");
6489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6490 wxListBox_SetItemFont(arg1
,arg2
,(wxFont
const &)*arg3
);
6492 wxPyEndAllowThreads(__tstate
);
6493 if (PyErr_Occurred()) SWIG_fail
;
6495 Py_INCREF(Py_None
); resultobj
= Py_None
;
6502 static PyObject
*_wrap_ListBox_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6503 PyObject
*resultobj
;
6504 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
6505 wxVisualAttributes result
;
6506 PyObject
* obj0
= 0 ;
6508 (char *) "variant", NULL
6511 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ListBox_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
6513 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
6514 if (PyErr_Occurred()) SWIG_fail
;
6517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6518 result
= wxListBox::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
6520 wxPyEndAllowThreads(__tstate
);
6521 if (PyErr_Occurred()) SWIG_fail
;
6524 wxVisualAttributes
* resultptr
;
6525 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
6526 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
6534 static PyObject
* ListBox_swigregister(PyObject
*self
, PyObject
*args
) {
6536 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6537 SWIG_TypeClientData(SWIGTYPE_p_wxListBox
, obj
);
6539 return Py_BuildValue((char *)"");
6541 static PyObject
*_wrap_new_CheckListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6542 PyObject
*resultobj
;
6543 wxWindow
*arg1
= (wxWindow
*) 0 ;
6544 int arg2
= (int) -1 ;
6545 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
6546 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
6547 wxSize
const &arg4_defvalue
= wxDefaultSize
;
6548 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
6549 wxArrayString
const &arg5_defvalue
= wxPyEmptyStringArray
;
6550 wxArrayString
*arg5
= (wxArrayString
*) &arg5_defvalue
;
6551 long arg6
= (long) 0 ;
6552 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
6553 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
6554 wxString
const &arg8_defvalue
= wxPyListBoxNameStr
;
6555 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
6556 wxCheckListBox
*result
;
6559 bool temp5
= False
;
6560 bool temp8
= False
;
6561 PyObject
* obj0
= 0 ;
6562 PyObject
* obj1
= 0 ;
6563 PyObject
* obj2
= 0 ;
6564 PyObject
* obj3
= 0 ;
6565 PyObject
* obj4
= 0 ;
6566 PyObject
* obj5
= 0 ;
6567 PyObject
* obj6
= 0 ;
6568 PyObject
* obj7
= 0 ;
6570 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
6573 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_CheckListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
6574 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
6575 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6577 arg2
= (int) SWIG_AsInt(obj1
);
6578 if (PyErr_Occurred()) SWIG_fail
;
6583 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
6589 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
6594 if (! PySequence_Check(obj4
)) {
6595 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
6598 arg5
= new wxArrayString
;
6600 int i
, len
=PySequence_Length(obj4
);
6601 for (i
=0; i
<len
; i
++) {
6602 PyObject
* item
= PySequence_GetItem(obj4
, i
);
6604 PyObject
* str
= PyObject_Unicode(item
);
6606 PyObject
* str
= PyObject_Str(item
);
6608 if (PyErr_Occurred()) SWIG_fail
;
6609 arg5
->Add(Py2wxString(str
));
6616 arg6
= (long) SWIG_AsLong(obj5
);
6617 if (PyErr_Occurred()) SWIG_fail
;
6620 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
6621 SWIG_POINTER_EXCEPTION
| 0)) == -1)
6624 PyErr_SetString(PyExc_TypeError
,"null reference");
6630 arg8
= wxString_in_helper(obj7
);
6631 if (arg8
== NULL
) SWIG_fail
;
6636 if (!wxPyCheckForApp()) SWIG_fail
;
6637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6638 result
= (wxCheckListBox
*)new wxCheckListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,(wxArrayString
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
6640 wxPyEndAllowThreads(__tstate
);
6641 if (PyErr_Occurred()) SWIG_fail
;
6643 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCheckListBox
, 1);
6645 if (temp5
) delete arg5
;
6654 if (temp5
) delete arg5
;
6664 static PyObject
*_wrap_new_PreCheckListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6665 PyObject
*resultobj
;
6666 wxCheckListBox
*result
;
6671 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreCheckListBox",kwnames
)) goto fail
;
6673 if (!wxPyCheckForApp()) SWIG_fail
;
6674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6675 result
= (wxCheckListBox
*)new wxCheckListBox();
6677 wxPyEndAllowThreads(__tstate
);
6678 if (PyErr_Occurred()) SWIG_fail
;
6680 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCheckListBox
, 1);
6687 static PyObject
*_wrap_CheckListBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6688 PyObject
*resultobj
;
6689 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
6690 wxWindow
*arg2
= (wxWindow
*) 0 ;
6691 int arg3
= (int) -1 ;
6692 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
6693 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
6694 wxSize
const &arg5_defvalue
= wxDefaultSize
;
6695 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
6696 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
6697 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
6698 long arg7
= (long) 0 ;
6699 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
6700 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
6701 wxString
const &arg9_defvalue
= wxPyListBoxNameStr
;
6702 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
6706 bool temp6
= False
;
6707 bool temp9
= False
;
6708 PyObject
* obj0
= 0 ;
6709 PyObject
* obj1
= 0 ;
6710 PyObject
* obj2
= 0 ;
6711 PyObject
* obj3
= 0 ;
6712 PyObject
* obj4
= 0 ;
6713 PyObject
* obj5
= 0 ;
6714 PyObject
* obj6
= 0 ;
6715 PyObject
* obj7
= 0 ;
6716 PyObject
* obj8
= 0 ;
6718 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
6721 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:CheckListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
6722 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckListBox
,
6723 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6724 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
6725 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6727 arg3
= (int) SWIG_AsInt(obj2
);
6728 if (PyErr_Occurred()) SWIG_fail
;
6733 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
6739 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
6744 if (! PySequence_Check(obj5
)) {
6745 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
6748 arg6
= new wxArrayString
;
6750 int i
, len
=PySequence_Length(obj5
);
6751 for (i
=0; i
<len
; i
++) {
6752 PyObject
* item
= PySequence_GetItem(obj5
, i
);
6754 PyObject
* str
= PyObject_Unicode(item
);
6756 PyObject
* str
= PyObject_Str(item
);
6758 if (PyErr_Occurred()) SWIG_fail
;
6759 arg6
->Add(Py2wxString(str
));
6766 arg7
= (long) SWIG_AsLong(obj6
);
6767 if (PyErr_Occurred()) SWIG_fail
;
6770 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
6771 SWIG_POINTER_EXCEPTION
| 0)) == -1)
6774 PyErr_SetString(PyExc_TypeError
,"null reference");
6780 arg9
= wxString_in_helper(obj8
);
6781 if (arg9
== NULL
) SWIG_fail
;
6786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6787 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,(wxArrayString
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
6789 wxPyEndAllowThreads(__tstate
);
6790 if (PyErr_Occurred()) SWIG_fail
;
6793 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6796 if (temp6
) delete arg6
;
6805 if (temp6
) delete arg6
;
6815 static PyObject
*_wrap_CheckListBox_IsChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6816 PyObject
*resultobj
;
6817 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
6820 PyObject
* obj0
= 0 ;
6821 PyObject
* obj1
= 0 ;
6823 (char *) "self",(char *) "index", NULL
6826 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckListBox_IsChecked",kwnames
,&obj0
,&obj1
)) goto fail
;
6827 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckListBox
,
6828 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6829 arg2
= (int) SWIG_AsInt(obj1
);
6830 if (PyErr_Occurred()) SWIG_fail
;
6832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6833 result
= (bool)(arg1
)->IsChecked(arg2
);
6835 wxPyEndAllowThreads(__tstate
);
6836 if (PyErr_Occurred()) SWIG_fail
;
6839 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6847 static PyObject
*_wrap_CheckListBox_Check(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6848 PyObject
*resultobj
;
6849 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
6851 int arg3
= (int) True
;
6852 PyObject
* obj0
= 0 ;
6853 PyObject
* obj1
= 0 ;
6854 PyObject
* obj2
= 0 ;
6856 (char *) "self",(char *) "index",(char *) "check", NULL
6859 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:CheckListBox_Check",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6860 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckListBox
,
6861 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6862 arg2
= (int) SWIG_AsInt(obj1
);
6863 if (PyErr_Occurred()) SWIG_fail
;
6865 arg3
= (int) SWIG_AsInt(obj2
);
6866 if (PyErr_Occurred()) SWIG_fail
;
6869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6870 (arg1
)->Check(arg2
,arg3
);
6872 wxPyEndAllowThreads(__tstate
);
6873 if (PyErr_Occurred()) SWIG_fail
;
6875 Py_INCREF(Py_None
); resultobj
= Py_None
;
6882 static PyObject
*_wrap_CheckListBox_GetItemHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6883 PyObject
*resultobj
;
6884 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
6886 PyObject
* obj0
= 0 ;
6888 (char *) "self", NULL
6891 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckListBox_GetItemHeight",kwnames
,&obj0
)) goto fail
;
6892 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckListBox
,
6893 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6896 result
= (int)(arg1
)->GetItemHeight();
6898 wxPyEndAllowThreads(__tstate
);
6899 if (PyErr_Occurred()) SWIG_fail
;
6901 resultobj
= SWIG_FromInt((int)result
);
6908 static PyObject
*_wrap_CheckListBox_HitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6909 PyObject
*resultobj
;
6910 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
6914 PyObject
* obj0
= 0 ;
6915 PyObject
* obj1
= 0 ;
6917 (char *) "self",(char *) "pt", NULL
6920 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckListBox_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
6921 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckListBox
,
6922 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6925 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
6928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6929 result
= (int)((wxCheckListBox
const *)arg1
)->HitTest((wxPoint
const &)*arg2
);
6931 wxPyEndAllowThreads(__tstate
);
6932 if (PyErr_Occurred()) SWIG_fail
;
6934 resultobj
= SWIG_FromInt((int)result
);
6941 static PyObject
*_wrap_CheckListBox_HitTestXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6942 PyObject
*resultobj
;
6943 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
6947 PyObject
* obj0
= 0 ;
6948 PyObject
* obj1
= 0 ;
6949 PyObject
* obj2
= 0 ;
6951 (char *) "self",(char *) "x",(char *) "y", NULL
6954 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:CheckListBox_HitTestXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6955 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckListBox
,
6956 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6957 arg2
= (int) SWIG_AsInt(obj1
);
6958 if (PyErr_Occurred()) SWIG_fail
;
6959 arg3
= (int) SWIG_AsInt(obj2
);
6960 if (PyErr_Occurred()) SWIG_fail
;
6962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6963 result
= (int)((wxCheckListBox
const *)arg1
)->HitTest(arg2
,arg3
);
6965 wxPyEndAllowThreads(__tstate
);
6966 if (PyErr_Occurred()) SWIG_fail
;
6968 resultobj
= SWIG_FromInt((int)result
);
6975 static PyObject
* CheckListBox_swigregister(PyObject
*self
, PyObject
*args
) {
6977 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6978 SWIG_TypeClientData(SWIGTYPE_p_wxCheckListBox
, obj
);
6980 return Py_BuildValue((char *)"");
6982 static int _wrap_TextCtrlNameStr_set(PyObject
*_val
) {
6983 PyErr_SetString(PyExc_TypeError
,"Variable TextCtrlNameStr is read-only.");
6988 static PyObject
*_wrap_TextCtrlNameStr_get() {
6993 pyobj
= PyUnicode_FromWideChar((&wxPyTextCtrlNameStr
)->c_str(), (&wxPyTextCtrlNameStr
)->Len());
6995 pyobj
= PyString_FromStringAndSize((&wxPyTextCtrlNameStr
)->c_str(), (&wxPyTextCtrlNameStr
)->Len());
7002 static PyObject
*_wrap_new_TextAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7003 PyObject
*resultobj
;
7004 wxColour
const &arg1_defvalue
= wxNullColour
;
7005 wxColour
*arg1
= (wxColour
*) &arg1_defvalue
;
7006 wxColour
const &arg2_defvalue
= wxNullColour
;
7007 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
7008 wxFont
const &arg3_defvalue
= wxNullFont
;
7009 wxFont
*arg3
= (wxFont
*) &arg3_defvalue
;
7010 int arg4
= (int) wxTEXT_ALIGNMENT_DEFAULT
;
7014 PyObject
* obj0
= 0 ;
7015 PyObject
* obj1
= 0 ;
7016 PyObject
* obj2
= 0 ;
7017 PyObject
* obj3
= 0 ;
7019 (char *) "colText",(char *) "colBack",(char *) "font",(char *) "alignment", NULL
7022 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_TextAttr",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
7026 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
7032 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
7036 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxFont
,
7037 SWIG_POINTER_EXCEPTION
| 0)) == -1)
7040 PyErr_SetString(PyExc_TypeError
,"null reference");
7045 arg4
= (wxTextAttrAlignment
) SWIG_AsInt(obj3
);
7046 if (PyErr_Occurred()) SWIG_fail
;
7049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7050 result
= (wxTextAttr
*)new wxTextAttr((wxColour
const &)*arg1
,(wxColour
const &)*arg2
,(wxFont
const &)*arg3
,(wxTextAttrAlignment
)arg4
);
7052 wxPyEndAllowThreads(__tstate
);
7053 if (PyErr_Occurred()) SWIG_fail
;
7055 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextAttr
, 1);
7062 static PyObject
*_wrap_delete_TextAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7063 PyObject
*resultobj
;
7064 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7065 PyObject
* obj0
= 0 ;
7067 (char *) "self", NULL
7070 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TextAttr",kwnames
,&obj0
)) goto fail
;
7071 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7072 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7077 wxPyEndAllowThreads(__tstate
);
7078 if (PyErr_Occurred()) SWIG_fail
;
7080 Py_INCREF(Py_None
); resultobj
= Py_None
;
7087 static PyObject
*_wrap_TextAttr_Init(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7088 PyObject
*resultobj
;
7089 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7090 PyObject
* obj0
= 0 ;
7092 (char *) "self", NULL
7095 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_Init",kwnames
,&obj0
)) goto fail
;
7096 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7097 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7102 wxPyEndAllowThreads(__tstate
);
7103 if (PyErr_Occurred()) SWIG_fail
;
7105 Py_INCREF(Py_None
); resultobj
= Py_None
;
7112 static PyObject
*_wrap_TextAttr_SetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7113 PyObject
*resultobj
;
7114 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7115 wxColour
*arg2
= 0 ;
7117 PyObject
* obj0
= 0 ;
7118 PyObject
* obj1
= 0 ;
7120 (char *) "self",(char *) "colText", NULL
7123 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
7124 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7125 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7128 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
7131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7132 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
7134 wxPyEndAllowThreads(__tstate
);
7135 if (PyErr_Occurred()) SWIG_fail
;
7137 Py_INCREF(Py_None
); resultobj
= Py_None
;
7144 static PyObject
*_wrap_TextAttr_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7145 PyObject
*resultobj
;
7146 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7147 wxColour
*arg2
= 0 ;
7149 PyObject
* obj0
= 0 ;
7150 PyObject
* obj1
= 0 ;
7152 (char *) "self",(char *) "colBack", NULL
7155 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
7156 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7157 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7160 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
7163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7164 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
7166 wxPyEndAllowThreads(__tstate
);
7167 if (PyErr_Occurred()) SWIG_fail
;
7169 Py_INCREF(Py_None
); resultobj
= Py_None
;
7176 static PyObject
*_wrap_TextAttr_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7177 PyObject
*resultobj
;
7178 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7180 long arg3
= (long) wxTEXT_ATTR_FONT
;
7181 PyObject
* obj0
= 0 ;
7182 PyObject
* obj1
= 0 ;
7183 PyObject
* obj2
= 0 ;
7185 (char *) "self",(char *) "font",(char *) "flags", NULL
7188 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TextAttr_SetFont",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7189 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7190 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7191 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
7192 SWIG_POINTER_EXCEPTION
| 0)) == -1)
7195 PyErr_SetString(PyExc_TypeError
,"null reference");
7199 arg3
= (long) SWIG_AsLong(obj2
);
7200 if (PyErr_Occurred()) SWIG_fail
;
7203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7204 (arg1
)->SetFont((wxFont
const &)*arg2
,arg3
);
7206 wxPyEndAllowThreads(__tstate
);
7207 if (PyErr_Occurred()) SWIG_fail
;
7209 Py_INCREF(Py_None
); resultobj
= Py_None
;
7216 static PyObject
*_wrap_TextAttr_SetAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7217 PyObject
*resultobj
;
7218 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7220 PyObject
* obj0
= 0 ;
7221 PyObject
* obj1
= 0 ;
7223 (char *) "self",(char *) "alignment", NULL
7226 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetAlignment",kwnames
,&obj0
,&obj1
)) goto fail
;
7227 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7228 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7229 arg2
= (wxTextAttrAlignment
) SWIG_AsInt(obj1
);
7230 if (PyErr_Occurred()) SWIG_fail
;
7232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7233 (arg1
)->SetAlignment((wxTextAttrAlignment
)arg2
);
7235 wxPyEndAllowThreads(__tstate
);
7236 if (PyErr_Occurred()) SWIG_fail
;
7238 Py_INCREF(Py_None
); resultobj
= Py_None
;
7245 static PyObject
*_wrap_TextAttr_SetTabs(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7246 PyObject
*resultobj
;
7247 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7248 wxArrayInt
*arg2
= 0 ;
7249 bool temp2
= False
;
7250 PyObject
* obj0
= 0 ;
7251 PyObject
* obj1
= 0 ;
7253 (char *) "self",(char *) "tabs", NULL
7256 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetTabs",kwnames
,&obj0
,&obj1
)) goto fail
;
7257 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7258 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7260 if (! PySequence_Check(obj1
)) {
7261 PyErr_SetString(PyExc_TypeError
, "Sequence of integers expected.");
7264 arg2
= new wxArrayInt
;
7266 int i
, len
=PySequence_Length(obj1
);
7267 for (i
=0; i
<len
; i
++) {
7268 PyObject
* item
= PySequence_GetItem(obj1
, i
);
7269 PyObject
* number
= PyNumber_Int(item
);
7270 arg2
->Add(PyInt_AS_LONG(number
));
7276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7277 (arg1
)->SetTabs((wxArrayInt
const &)*arg2
);
7279 wxPyEndAllowThreads(__tstate
);
7280 if (PyErr_Occurred()) SWIG_fail
;
7282 Py_INCREF(Py_None
); resultobj
= Py_None
;
7284 if (temp2
) delete arg2
;
7289 if (temp2
) delete arg2
;
7295 static PyObject
*_wrap_TextAttr_SetLeftIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7296 PyObject
*resultobj
;
7297 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7299 int arg3
= (int) 0 ;
7300 PyObject
* obj0
= 0 ;
7301 PyObject
* obj1
= 0 ;
7302 PyObject
* obj2
= 0 ;
7304 (char *) "self",(char *) "indent",(char *) "subIndent", NULL
7307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TextAttr_SetLeftIndent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7308 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7309 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7310 arg2
= (int) SWIG_AsInt(obj1
);
7311 if (PyErr_Occurred()) SWIG_fail
;
7313 arg3
= (int) SWIG_AsInt(obj2
);
7314 if (PyErr_Occurred()) SWIG_fail
;
7317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7318 (arg1
)->SetLeftIndent(arg2
,arg3
);
7320 wxPyEndAllowThreads(__tstate
);
7321 if (PyErr_Occurred()) SWIG_fail
;
7323 Py_INCREF(Py_None
); resultobj
= Py_None
;
7330 static PyObject
*_wrap_TextAttr_SetRightIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7331 PyObject
*resultobj
;
7332 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7334 PyObject
* obj0
= 0 ;
7335 PyObject
* obj1
= 0 ;
7337 (char *) "self",(char *) "indent", NULL
7340 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetRightIndent",kwnames
,&obj0
,&obj1
)) goto fail
;
7341 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7342 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7343 arg2
= (int) SWIG_AsInt(obj1
);
7344 if (PyErr_Occurred()) SWIG_fail
;
7346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7347 (arg1
)->SetRightIndent(arg2
);
7349 wxPyEndAllowThreads(__tstate
);
7350 if (PyErr_Occurred()) SWIG_fail
;
7352 Py_INCREF(Py_None
); resultobj
= Py_None
;
7359 static PyObject
*_wrap_TextAttr_SetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7360 PyObject
*resultobj
;
7361 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7363 PyObject
* obj0
= 0 ;
7364 PyObject
* obj1
= 0 ;
7366 (char *) "self",(char *) "flags", NULL
7369 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetFlags",kwnames
,&obj0
,&obj1
)) goto fail
;
7370 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7371 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7372 arg2
= (long) SWIG_AsLong(obj1
);
7373 if (PyErr_Occurred()) SWIG_fail
;
7375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7376 (arg1
)->SetFlags(arg2
);
7378 wxPyEndAllowThreads(__tstate
);
7379 if (PyErr_Occurred()) SWIG_fail
;
7381 Py_INCREF(Py_None
); resultobj
= Py_None
;
7388 static PyObject
*_wrap_TextAttr_HasTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7389 PyObject
*resultobj
;
7390 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7392 PyObject
* obj0
= 0 ;
7394 (char *) "self", NULL
7397 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasTextColour",kwnames
,&obj0
)) goto fail
;
7398 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7399 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7402 result
= (bool)((wxTextAttr
const *)arg1
)->HasTextColour();
7404 wxPyEndAllowThreads(__tstate
);
7405 if (PyErr_Occurred()) SWIG_fail
;
7408 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7416 static PyObject
*_wrap_TextAttr_HasBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7417 PyObject
*resultobj
;
7418 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7420 PyObject
* obj0
= 0 ;
7422 (char *) "self", NULL
7425 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasBackgroundColour",kwnames
,&obj0
)) goto fail
;
7426 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7427 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7430 result
= (bool)((wxTextAttr
const *)arg1
)->HasBackgroundColour();
7432 wxPyEndAllowThreads(__tstate
);
7433 if (PyErr_Occurred()) SWIG_fail
;
7436 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7444 static PyObject
*_wrap_TextAttr_HasFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7445 PyObject
*resultobj
;
7446 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7448 PyObject
* obj0
= 0 ;
7450 (char *) "self", NULL
7453 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasFont",kwnames
,&obj0
)) goto fail
;
7454 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7455 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7458 result
= (bool)((wxTextAttr
const *)arg1
)->HasFont();
7460 wxPyEndAllowThreads(__tstate
);
7461 if (PyErr_Occurred()) SWIG_fail
;
7464 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7472 static PyObject
*_wrap_TextAttr_HasAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7473 PyObject
*resultobj
;
7474 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7476 PyObject
* obj0
= 0 ;
7478 (char *) "self", NULL
7481 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasAlignment",kwnames
,&obj0
)) goto fail
;
7482 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7483 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7486 result
= (bool)((wxTextAttr
const *)arg1
)->HasAlignment();
7488 wxPyEndAllowThreads(__tstate
);
7489 if (PyErr_Occurred()) SWIG_fail
;
7492 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7500 static PyObject
*_wrap_TextAttr_HasTabs(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7501 PyObject
*resultobj
;
7502 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7504 PyObject
* obj0
= 0 ;
7506 (char *) "self", NULL
7509 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasTabs",kwnames
,&obj0
)) goto fail
;
7510 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7511 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7514 result
= (bool)((wxTextAttr
const *)arg1
)->HasTabs();
7516 wxPyEndAllowThreads(__tstate
);
7517 if (PyErr_Occurred()) SWIG_fail
;
7520 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7528 static PyObject
*_wrap_TextAttr_HasLeftIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7529 PyObject
*resultobj
;
7530 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7532 PyObject
* obj0
= 0 ;
7534 (char *) "self", NULL
7537 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasLeftIndent",kwnames
,&obj0
)) goto fail
;
7538 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7539 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7542 result
= (bool)((wxTextAttr
const *)arg1
)->HasLeftIndent();
7544 wxPyEndAllowThreads(__tstate
);
7545 if (PyErr_Occurred()) SWIG_fail
;
7548 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7556 static PyObject
*_wrap_TextAttr_HasRightIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7557 PyObject
*resultobj
;
7558 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7560 PyObject
* obj0
= 0 ;
7562 (char *) "self", NULL
7565 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasRightIndent",kwnames
,&obj0
)) goto fail
;
7566 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7567 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7570 result
= (bool)((wxTextAttr
const *)arg1
)->HasRightIndent();
7572 wxPyEndAllowThreads(__tstate
);
7573 if (PyErr_Occurred()) SWIG_fail
;
7576 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7584 static PyObject
*_wrap_TextAttr_HasFlag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7585 PyObject
*resultobj
;
7586 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7589 PyObject
* obj0
= 0 ;
7590 PyObject
* obj1
= 0 ;
7592 (char *) "self",(char *) "flag", NULL
7595 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_HasFlag",kwnames
,&obj0
,&obj1
)) goto fail
;
7596 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7597 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7598 arg2
= (long) SWIG_AsLong(obj1
);
7599 if (PyErr_Occurred()) SWIG_fail
;
7601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7602 result
= (bool)((wxTextAttr
const *)arg1
)->HasFlag(arg2
);
7604 wxPyEndAllowThreads(__tstate
);
7605 if (PyErr_Occurred()) SWIG_fail
;
7608 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7616 static PyObject
*_wrap_TextAttr_GetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7617 PyObject
*resultobj
;
7618 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7620 PyObject
* obj0
= 0 ;
7622 (char *) "self", NULL
7625 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetTextColour",kwnames
,&obj0
)) goto fail
;
7626 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7627 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7631 wxColour
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetTextColour();
7632 result
= (wxColour
*) &_result_ref
;
7635 wxPyEndAllowThreads(__tstate
);
7636 if (PyErr_Occurred()) SWIG_fail
;
7638 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0);
7645 static PyObject
*_wrap_TextAttr_GetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7646 PyObject
*resultobj
;
7647 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7649 PyObject
* obj0
= 0 ;
7651 (char *) "self", NULL
7654 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
7655 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7656 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7660 wxColour
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetBackgroundColour();
7661 result
= (wxColour
*) &_result_ref
;
7664 wxPyEndAllowThreads(__tstate
);
7665 if (PyErr_Occurred()) SWIG_fail
;
7667 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0);
7674 static PyObject
*_wrap_TextAttr_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7675 PyObject
*resultobj
;
7676 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7678 PyObject
* obj0
= 0 ;
7680 (char *) "self", NULL
7683 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetFont",kwnames
,&obj0
)) goto fail
;
7684 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7685 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7689 wxFont
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetFont();
7690 result
= (wxFont
*) &_result_ref
;
7693 wxPyEndAllowThreads(__tstate
);
7694 if (PyErr_Occurred()) SWIG_fail
;
7697 wxFont
* resultptr
= new wxFont(*result
);
7698 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxFont
, 1);
7706 static PyObject
*_wrap_TextAttr_GetAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7707 PyObject
*resultobj
;
7708 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7710 PyObject
* obj0
= 0 ;
7712 (char *) "self", NULL
7715 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetAlignment",kwnames
,&obj0
)) goto fail
;
7716 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7717 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7720 result
= (int)((wxTextAttr
const *)arg1
)->GetAlignment();
7722 wxPyEndAllowThreads(__tstate
);
7723 if (PyErr_Occurred()) SWIG_fail
;
7725 resultobj
= SWIG_FromInt((int)result
);
7732 static PyObject
*_wrap_TextAttr_GetTabs(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7733 PyObject
*resultobj
;
7734 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7736 PyObject
* obj0
= 0 ;
7738 (char *) "self", NULL
7741 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetTabs",kwnames
,&obj0
)) goto fail
;
7742 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7743 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7747 wxArrayInt
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetTabs();
7748 result
= (wxArrayInt
*) &_result_ref
;
7751 wxPyEndAllowThreads(__tstate
);
7752 if (PyErr_Occurred()) SWIG_fail
;
7755 resultobj
= PyList_New(0);
7757 for (idx
= 0; idx
< result
->GetCount(); idx
+= 1) {
7758 PyObject
* val
= PyInt_FromLong( result
->Item(idx
) );
7759 PyList_Append(resultobj
, val
);
7769 static PyObject
*_wrap_TextAttr_GetLeftIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7770 PyObject
*resultobj
;
7771 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7773 PyObject
* obj0
= 0 ;
7775 (char *) "self", NULL
7778 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetLeftIndent",kwnames
,&obj0
)) goto fail
;
7779 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7780 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7783 result
= (long)((wxTextAttr
const *)arg1
)->GetLeftIndent();
7785 wxPyEndAllowThreads(__tstate
);
7786 if (PyErr_Occurred()) SWIG_fail
;
7788 resultobj
= SWIG_FromLong((long)result
);
7795 static PyObject
*_wrap_TextAttr_GetLeftSubIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7796 PyObject
*resultobj
;
7797 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7799 PyObject
* obj0
= 0 ;
7801 (char *) "self", NULL
7804 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetLeftSubIndent",kwnames
,&obj0
)) goto fail
;
7805 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7806 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7809 result
= (long)((wxTextAttr
const *)arg1
)->GetLeftSubIndent();
7811 wxPyEndAllowThreads(__tstate
);
7812 if (PyErr_Occurred()) SWIG_fail
;
7814 resultobj
= SWIG_FromLong((long)result
);
7821 static PyObject
*_wrap_TextAttr_GetRightIndent(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_GetRightIndent",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
)->GetRightIndent();
7837 wxPyEndAllowThreads(__tstate
);
7838 if (PyErr_Occurred()) SWIG_fail
;
7840 resultobj
= SWIG_FromLong((long)result
);
7847 static PyObject
*_wrap_TextAttr_GetFlags(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_GetFlags",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
)->GetFlags();
7863 wxPyEndAllowThreads(__tstate
);
7864 if (PyErr_Occurred()) SWIG_fail
;
7866 resultobj
= SWIG_FromLong((long)result
);
7873 static PyObject
*_wrap_TextAttr_IsDefault(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_IsDefault",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
= (bool)((wxTextAttr
const *)arg1
)->IsDefault();
7889 wxPyEndAllowThreads(__tstate
);
7890 if (PyErr_Occurred()) SWIG_fail
;
7893 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7901 static PyObject
*_wrap_TextAttr_Combine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7902 PyObject
*resultobj
;
7903 wxTextAttr
*arg1
= 0 ;
7904 wxTextAttr
*arg2
= 0 ;
7905 wxTextCtrl
*arg3
= (wxTextCtrl
*) 0 ;
7907 PyObject
* obj0
= 0 ;
7908 PyObject
* obj1
= 0 ;
7909 PyObject
* obj2
= 0 ;
7911 (char *) "attr",(char *) "attrDef",(char *) "text", NULL
7914 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextAttr_Combine",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7915 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7916 SWIG_POINTER_EXCEPTION
| 0)) == -1)
7919 PyErr_SetString(PyExc_TypeError
,"null reference");
7922 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTextAttr
,
7923 SWIG_POINTER_EXCEPTION
| 0)) == -1)
7926 PyErr_SetString(PyExc_TypeError
,"null reference");
7929 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxTextCtrl
,
7930 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7933 result
= wxTextAttr::Combine((wxTextAttr
const &)*arg1
,(wxTextAttr
const &)*arg2
,(wxTextCtrl
const *)arg3
);
7935 wxPyEndAllowThreads(__tstate
);
7936 if (PyErr_Occurred()) SWIG_fail
;
7939 wxTextAttr
* resultptr
;
7940 resultptr
= new wxTextAttr((wxTextAttr
&) result
);
7941 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTextAttr
, 1);
7949 static PyObject
* TextAttr_swigregister(PyObject
*self
, PyObject
*args
) {
7951 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7952 SWIG_TypeClientData(SWIGTYPE_p_wxTextAttr
, obj
);
7954 return Py_BuildValue((char *)"");
7956 static PyObject
*_wrap_new_TextCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7957 PyObject
*resultobj
;
7958 wxWindow
*arg1
= (wxWindow
*) 0 ;
7959 int arg2
= (int) -1 ;
7960 wxString
const &arg3_defvalue
= wxPyEmptyString
;
7961 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
7962 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
7963 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
7964 wxSize
const &arg5_defvalue
= wxDefaultSize
;
7965 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
7966 long arg6
= (long) 0 ;
7967 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
7968 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
7969 wxString
const &arg8_defvalue
= wxPyTextCtrlNameStr
;
7970 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
7972 bool temp3
= False
;
7975 bool temp8
= False
;
7976 PyObject
* obj0
= 0 ;
7977 PyObject
* obj1
= 0 ;
7978 PyObject
* obj2
= 0 ;
7979 PyObject
* obj3
= 0 ;
7980 PyObject
* obj4
= 0 ;
7981 PyObject
* obj5
= 0 ;
7982 PyObject
* obj6
= 0 ;
7983 PyObject
* obj7
= 0 ;
7985 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
7988 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_TextCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
7989 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
7990 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7992 arg2
= (int) SWIG_AsInt(obj1
);
7993 if (PyErr_Occurred()) SWIG_fail
;
7997 arg3
= wxString_in_helper(obj2
);
7998 if (arg3
== NULL
) SWIG_fail
;
8005 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
8011 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
8015 arg6
= (long) SWIG_AsLong(obj5
);
8016 if (PyErr_Occurred()) SWIG_fail
;
8019 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
8020 SWIG_POINTER_EXCEPTION
| 0)) == -1)
8023 PyErr_SetString(PyExc_TypeError
,"null reference");
8029 arg8
= wxString_in_helper(obj7
);
8030 if (arg8
== NULL
) SWIG_fail
;
8035 if (!wxPyCheckForApp()) SWIG_fail
;
8036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8037 result
= (wxTextCtrl
*)new wxTextCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
8039 wxPyEndAllowThreads(__tstate
);
8040 if (PyErr_Occurred()) SWIG_fail
;
8043 resultobj
= wxPyMake_wxObject(result
);
8067 static PyObject
*_wrap_new_PreTextCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8068 PyObject
*resultobj
;
8074 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreTextCtrl",kwnames
)) goto fail
;
8076 if (!wxPyCheckForApp()) SWIG_fail
;
8077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8078 result
= (wxTextCtrl
*)new wxTextCtrl();
8080 wxPyEndAllowThreads(__tstate
);
8081 if (PyErr_Occurred()) SWIG_fail
;
8084 resultobj
= wxPyMake_wxObject(result
);
8092 static PyObject
*_wrap_TextCtrl_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8093 PyObject
*resultobj
;
8094 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8095 wxWindow
*arg2
= (wxWindow
*) 0 ;
8096 int arg3
= (int) -1 ;
8097 wxString
const &arg4_defvalue
= wxPyEmptyString
;
8098 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
8099 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
8100 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
8101 wxSize
const &arg6_defvalue
= wxDefaultSize
;
8102 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
8103 long arg7
= (long) 0 ;
8104 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
8105 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
8106 wxString
const &arg9_defvalue
= wxPyTextCtrlNameStr
;
8107 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
8109 bool temp4
= False
;
8112 bool temp9
= False
;
8113 PyObject
* obj0
= 0 ;
8114 PyObject
* obj1
= 0 ;
8115 PyObject
* obj2
= 0 ;
8116 PyObject
* obj3
= 0 ;
8117 PyObject
* obj4
= 0 ;
8118 PyObject
* obj5
= 0 ;
8119 PyObject
* obj6
= 0 ;
8120 PyObject
* obj7
= 0 ;
8121 PyObject
* obj8
= 0 ;
8123 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
8126 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:TextCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
8127 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8128 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8129 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
8130 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8132 arg3
= (int) SWIG_AsInt(obj2
);
8133 if (PyErr_Occurred()) SWIG_fail
;
8137 arg4
= wxString_in_helper(obj3
);
8138 if (arg4
== NULL
) SWIG_fail
;
8145 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
8151 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
8155 arg7
= (long) SWIG_AsLong(obj6
);
8156 if (PyErr_Occurred()) SWIG_fail
;
8159 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
8160 SWIG_POINTER_EXCEPTION
| 0)) == -1)
8163 PyErr_SetString(PyExc_TypeError
,"null reference");
8169 arg9
= wxString_in_helper(obj8
);
8170 if (arg9
== NULL
) SWIG_fail
;
8175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8176 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
8178 wxPyEndAllowThreads(__tstate
);
8179 if (PyErr_Occurred()) SWIG_fail
;
8182 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8206 static PyObject
*_wrap_TextCtrl_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8207 PyObject
*resultobj
;
8208 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8210 PyObject
* obj0
= 0 ;
8212 (char *) "self", NULL
8215 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetValue",kwnames
,&obj0
)) goto fail
;
8216 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8217 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8220 result
= ((wxTextCtrl
const *)arg1
)->GetValue();
8222 wxPyEndAllowThreads(__tstate
);
8223 if (PyErr_Occurred()) SWIG_fail
;
8227 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8229 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8238 static PyObject
*_wrap_TextCtrl_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8239 PyObject
*resultobj
;
8240 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8241 wxString
*arg2
= 0 ;
8242 bool temp2
= False
;
8243 PyObject
* obj0
= 0 ;
8244 PyObject
* obj1
= 0 ;
8246 (char *) "self",(char *) "value", NULL
8249 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
8250 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8251 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8253 arg2
= wxString_in_helper(obj1
);
8254 if (arg2
== NULL
) SWIG_fail
;
8258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8259 (arg1
)->SetValue((wxString
const &)*arg2
);
8261 wxPyEndAllowThreads(__tstate
);
8262 if (PyErr_Occurred()) SWIG_fail
;
8264 Py_INCREF(Py_None
); resultobj
= Py_None
;
8279 static PyObject
*_wrap_TextCtrl_GetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8280 PyObject
*resultobj
;
8281 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8285 PyObject
* obj0
= 0 ;
8286 PyObject
* obj1
= 0 ;
8287 PyObject
* obj2
= 0 ;
8289 (char *) "self",(char *) "from",(char *) "to", NULL
8292 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_GetRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8293 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8294 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8295 arg2
= (long) SWIG_AsLong(obj1
);
8296 if (PyErr_Occurred()) SWIG_fail
;
8297 arg3
= (long) SWIG_AsLong(obj2
);
8298 if (PyErr_Occurred()) SWIG_fail
;
8300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8301 result
= ((wxTextCtrl
const *)arg1
)->GetRange(arg2
,arg3
);
8303 wxPyEndAllowThreads(__tstate
);
8304 if (PyErr_Occurred()) SWIG_fail
;
8308 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8310 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8319 static PyObject
*_wrap_TextCtrl_GetLineLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8320 PyObject
*resultobj
;
8321 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8324 PyObject
* obj0
= 0 ;
8325 PyObject
* obj1
= 0 ;
8327 (char *) "self",(char *) "lineNo", NULL
8330 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_GetLineLength",kwnames
,&obj0
,&obj1
)) goto fail
;
8331 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8332 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8333 arg2
= (long) SWIG_AsLong(obj1
);
8334 if (PyErr_Occurred()) SWIG_fail
;
8336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8337 result
= (int)((wxTextCtrl
const *)arg1
)->GetLineLength(arg2
);
8339 wxPyEndAllowThreads(__tstate
);
8340 if (PyErr_Occurred()) SWIG_fail
;
8342 resultobj
= SWIG_FromInt((int)result
);
8349 static PyObject
*_wrap_TextCtrl_GetLineText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8350 PyObject
*resultobj
;
8351 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8354 PyObject
* obj0
= 0 ;
8355 PyObject
* obj1
= 0 ;
8357 (char *) "self",(char *) "lineNo", NULL
8360 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_GetLineText",kwnames
,&obj0
,&obj1
)) goto fail
;
8361 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8362 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8363 arg2
= (long) SWIG_AsLong(obj1
);
8364 if (PyErr_Occurred()) SWIG_fail
;
8366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8367 result
= ((wxTextCtrl
const *)arg1
)->GetLineText(arg2
);
8369 wxPyEndAllowThreads(__tstate
);
8370 if (PyErr_Occurred()) SWIG_fail
;
8374 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8376 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8385 static PyObject
*_wrap_TextCtrl_GetNumberOfLines(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8386 PyObject
*resultobj
;
8387 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8389 PyObject
* obj0
= 0 ;
8391 (char *) "self", NULL
8394 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetNumberOfLines",kwnames
,&obj0
)) goto fail
;
8395 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8396 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8399 result
= (int)((wxTextCtrl
const *)arg1
)->GetNumberOfLines();
8401 wxPyEndAllowThreads(__tstate
);
8402 if (PyErr_Occurred()) SWIG_fail
;
8404 resultobj
= SWIG_FromInt((int)result
);
8411 static PyObject
*_wrap_TextCtrl_IsModified(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8412 PyObject
*resultobj
;
8413 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8415 PyObject
* obj0
= 0 ;
8417 (char *) "self", NULL
8420 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_IsModified",kwnames
,&obj0
)) goto fail
;
8421 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8422 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8425 result
= (bool)((wxTextCtrl
const *)arg1
)->IsModified();
8427 wxPyEndAllowThreads(__tstate
);
8428 if (PyErr_Occurred()) SWIG_fail
;
8431 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8439 static PyObject
*_wrap_TextCtrl_IsEditable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8440 PyObject
*resultobj
;
8441 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8443 PyObject
* obj0
= 0 ;
8445 (char *) "self", NULL
8448 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_IsEditable",kwnames
,&obj0
)) goto fail
;
8449 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8450 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8453 result
= (bool)((wxTextCtrl
const *)arg1
)->IsEditable();
8455 wxPyEndAllowThreads(__tstate
);
8456 if (PyErr_Occurred()) SWIG_fail
;
8459 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8467 static PyObject
*_wrap_TextCtrl_IsSingleLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8468 PyObject
*resultobj
;
8469 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8471 PyObject
* obj0
= 0 ;
8473 (char *) "self", NULL
8476 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_IsSingleLine",kwnames
,&obj0
)) goto fail
;
8477 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8478 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8481 result
= (bool)((wxTextCtrl
const *)arg1
)->IsSingleLine();
8483 wxPyEndAllowThreads(__tstate
);
8484 if (PyErr_Occurred()) SWIG_fail
;
8487 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8495 static PyObject
*_wrap_TextCtrl_IsMultiLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8496 PyObject
*resultobj
;
8497 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8499 PyObject
* obj0
= 0 ;
8501 (char *) "self", NULL
8504 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_IsMultiLine",kwnames
,&obj0
)) goto fail
;
8505 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8506 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8509 result
= (bool)((wxTextCtrl
const *)arg1
)->IsMultiLine();
8511 wxPyEndAllowThreads(__tstate
);
8512 if (PyErr_Occurred()) SWIG_fail
;
8515 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8523 static PyObject
*_wrap_TextCtrl_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8524 PyObject
*resultobj
;
8525 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8526 long *arg2
= (long *) 0 ;
8527 long *arg3
= (long *) 0 ;
8530 PyObject
* obj0
= 0 ;
8532 (char *) "self", NULL
8537 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetSelection",kwnames
,&obj0
)) goto fail
;
8538 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8539 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8542 ((wxTextCtrl
const *)arg1
)->GetSelection(arg2
,arg3
);
8544 wxPyEndAllowThreads(__tstate
);
8545 if (PyErr_Occurred()) SWIG_fail
;
8547 Py_INCREF(Py_None
); resultobj
= Py_None
;
8549 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
8550 resultobj
= t_output_helper(resultobj
,o
);
8553 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
8554 resultobj
= t_output_helper(resultobj
,o
);
8562 static PyObject
*_wrap_TextCtrl_GetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8563 PyObject
*resultobj
;
8564 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8566 PyObject
* obj0
= 0 ;
8568 (char *) "self", NULL
8571 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetStringSelection",kwnames
,&obj0
)) goto fail
;
8572 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8573 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8576 result
= ((wxTextCtrl
const *)arg1
)->GetStringSelection();
8578 wxPyEndAllowThreads(__tstate
);
8579 if (PyErr_Occurred()) SWIG_fail
;
8583 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8585 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8594 static PyObject
*_wrap_TextCtrl_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8595 PyObject
*resultobj
;
8596 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8597 PyObject
* obj0
= 0 ;
8599 (char *) "self", NULL
8602 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Clear",kwnames
,&obj0
)) goto fail
;
8603 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8604 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8609 wxPyEndAllowThreads(__tstate
);
8610 if (PyErr_Occurred()) SWIG_fail
;
8612 Py_INCREF(Py_None
); resultobj
= Py_None
;
8619 static PyObject
*_wrap_TextCtrl_Replace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8620 PyObject
*resultobj
;
8621 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8624 wxString
*arg4
= 0 ;
8625 bool temp4
= False
;
8626 PyObject
* obj0
= 0 ;
8627 PyObject
* obj1
= 0 ;
8628 PyObject
* obj2
= 0 ;
8629 PyObject
* obj3
= 0 ;
8631 (char *) "self",(char *) "from",(char *) "to",(char *) "value", NULL
8634 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextCtrl_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
8635 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8636 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8637 arg2
= (long) SWIG_AsLong(obj1
);
8638 if (PyErr_Occurred()) SWIG_fail
;
8639 arg3
= (long) SWIG_AsLong(obj2
);
8640 if (PyErr_Occurred()) SWIG_fail
;
8642 arg4
= wxString_in_helper(obj3
);
8643 if (arg4
== NULL
) SWIG_fail
;
8647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8648 (arg1
)->Replace(arg2
,arg3
,(wxString
const &)*arg4
);
8650 wxPyEndAllowThreads(__tstate
);
8651 if (PyErr_Occurred()) SWIG_fail
;
8653 Py_INCREF(Py_None
); resultobj
= Py_None
;
8668 static PyObject
*_wrap_TextCtrl_Remove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8669 PyObject
*resultobj
;
8670 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8673 PyObject
* obj0
= 0 ;
8674 PyObject
* obj1
= 0 ;
8675 PyObject
* obj2
= 0 ;
8677 (char *) "self",(char *) "from",(char *) "to", NULL
8680 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_Remove",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8681 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8682 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8683 arg2
= (long) SWIG_AsLong(obj1
);
8684 if (PyErr_Occurred()) SWIG_fail
;
8685 arg3
= (long) SWIG_AsLong(obj2
);
8686 if (PyErr_Occurred()) SWIG_fail
;
8688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8689 (arg1
)->Remove(arg2
,arg3
);
8691 wxPyEndAllowThreads(__tstate
);
8692 if (PyErr_Occurred()) SWIG_fail
;
8694 Py_INCREF(Py_None
); resultobj
= Py_None
;
8701 static PyObject
*_wrap_TextCtrl_LoadFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8702 PyObject
*resultobj
;
8703 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8704 wxString
*arg2
= 0 ;
8706 bool temp2
= False
;
8707 PyObject
* obj0
= 0 ;
8708 PyObject
* obj1
= 0 ;
8710 (char *) "self",(char *) "file", NULL
8713 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_LoadFile",kwnames
,&obj0
,&obj1
)) goto fail
;
8714 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8715 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8717 arg2
= wxString_in_helper(obj1
);
8718 if (arg2
== NULL
) SWIG_fail
;
8722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8723 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
);
8725 wxPyEndAllowThreads(__tstate
);
8726 if (PyErr_Occurred()) SWIG_fail
;
8729 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8745 static PyObject
*_wrap_TextCtrl_SaveFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8746 PyObject
*resultobj
;
8747 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8748 wxString
const &arg2_defvalue
= wxPyEmptyString
;
8749 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
8751 bool temp2
= False
;
8752 PyObject
* obj0
= 0 ;
8753 PyObject
* obj1
= 0 ;
8755 (char *) "self",(char *) "file", NULL
8758 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TextCtrl_SaveFile",kwnames
,&obj0
,&obj1
)) goto fail
;
8759 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8760 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8763 arg2
= wxString_in_helper(obj1
);
8764 if (arg2
== NULL
) SWIG_fail
;
8769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8770 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
);
8772 wxPyEndAllowThreads(__tstate
);
8773 if (PyErr_Occurred()) SWIG_fail
;
8776 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8792 static PyObject
*_wrap_TextCtrl_MarkDirty(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8793 PyObject
*resultobj
;
8794 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8795 PyObject
* obj0
= 0 ;
8797 (char *) "self", NULL
8800 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_MarkDirty",kwnames
,&obj0
)) goto fail
;
8801 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8802 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8805 (arg1
)->MarkDirty();
8807 wxPyEndAllowThreads(__tstate
);
8808 if (PyErr_Occurred()) SWIG_fail
;
8810 Py_INCREF(Py_None
); resultobj
= Py_None
;
8817 static PyObject
*_wrap_TextCtrl_DiscardEdits(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8818 PyObject
*resultobj
;
8819 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8820 PyObject
* obj0
= 0 ;
8822 (char *) "self", NULL
8825 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_DiscardEdits",kwnames
,&obj0
)) goto fail
;
8826 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8827 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8830 (arg1
)->DiscardEdits();
8832 wxPyEndAllowThreads(__tstate
);
8833 if (PyErr_Occurred()) SWIG_fail
;
8835 Py_INCREF(Py_None
); resultobj
= Py_None
;
8842 static PyObject
*_wrap_TextCtrl_SetMaxLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8843 PyObject
*resultobj
;
8844 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8845 unsigned long arg2
;
8846 PyObject
* obj0
= 0 ;
8847 PyObject
* obj1
= 0 ;
8849 (char *) "self",(char *) "len", NULL
8852 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetMaxLength",kwnames
,&obj0
,&obj1
)) goto fail
;
8853 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8854 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8855 arg2
= (unsigned long) SWIG_AsUnsignedLong(obj1
);
8856 if (PyErr_Occurred()) SWIG_fail
;
8858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8859 (arg1
)->SetMaxLength(arg2
);
8861 wxPyEndAllowThreads(__tstate
);
8862 if (PyErr_Occurred()) SWIG_fail
;
8864 Py_INCREF(Py_None
); resultobj
= Py_None
;
8871 static PyObject
*_wrap_TextCtrl_WriteText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8872 PyObject
*resultobj
;
8873 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8874 wxString
*arg2
= 0 ;
8875 bool temp2
= False
;
8876 PyObject
* obj0
= 0 ;
8877 PyObject
* obj1
= 0 ;
8879 (char *) "self",(char *) "text", NULL
8882 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_WriteText",kwnames
,&obj0
,&obj1
)) goto fail
;
8883 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8884 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8886 arg2
= wxString_in_helper(obj1
);
8887 if (arg2
== NULL
) SWIG_fail
;
8891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8892 (arg1
)->WriteText((wxString
const &)*arg2
);
8894 wxPyEndAllowThreads(__tstate
);
8895 if (PyErr_Occurred()) SWIG_fail
;
8897 Py_INCREF(Py_None
); resultobj
= Py_None
;
8912 static PyObject
*_wrap_TextCtrl_AppendText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8913 PyObject
*resultobj
;
8914 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8915 wxString
*arg2
= 0 ;
8916 bool temp2
= False
;
8917 PyObject
* obj0
= 0 ;
8918 PyObject
* obj1
= 0 ;
8920 (char *) "self",(char *) "text", NULL
8923 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_AppendText",kwnames
,&obj0
,&obj1
)) goto fail
;
8924 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8925 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8927 arg2
= wxString_in_helper(obj1
);
8928 if (arg2
== NULL
) SWIG_fail
;
8932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8933 (arg1
)->AppendText((wxString
const &)*arg2
);
8935 wxPyEndAllowThreads(__tstate
);
8936 if (PyErr_Occurred()) SWIG_fail
;
8938 Py_INCREF(Py_None
); resultobj
= Py_None
;
8953 static PyObject
*_wrap_TextCtrl_EmulateKeyPress(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8954 PyObject
*resultobj
;
8955 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8956 wxKeyEvent
*arg2
= 0 ;
8958 PyObject
* obj0
= 0 ;
8959 PyObject
* obj1
= 0 ;
8961 (char *) "self",(char *) "event", NULL
8964 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_EmulateKeyPress",kwnames
,&obj0
,&obj1
)) goto fail
;
8965 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8966 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8967 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxKeyEvent
,
8968 SWIG_POINTER_EXCEPTION
| 0)) == -1)
8971 PyErr_SetString(PyExc_TypeError
,"null reference");
8975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8976 result
= (bool)(arg1
)->EmulateKeyPress((wxKeyEvent
const &)*arg2
);
8978 wxPyEndAllowThreads(__tstate
);
8979 if (PyErr_Occurred()) SWIG_fail
;
8982 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8990 static PyObject
*_wrap_TextCtrl_SetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8991 PyObject
*resultobj
;
8992 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8995 wxTextAttr
*arg4
= 0 ;
8997 PyObject
* obj0
= 0 ;
8998 PyObject
* obj1
= 0 ;
8999 PyObject
* obj2
= 0 ;
9000 PyObject
* obj3
= 0 ;
9002 (char *) "self",(char *) "start",(char *) "end",(char *) "style", NULL
9005 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextCtrl_SetStyle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9006 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9007 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9008 arg2
= (long) SWIG_AsLong(obj1
);
9009 if (PyErr_Occurred()) SWIG_fail
;
9010 arg3
= (long) SWIG_AsLong(obj2
);
9011 if (PyErr_Occurred()) SWIG_fail
;
9012 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxTextAttr
,
9013 SWIG_POINTER_EXCEPTION
| 0)) == -1)
9016 PyErr_SetString(PyExc_TypeError
,"null reference");
9020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9021 result
= (bool)(arg1
)->SetStyle(arg2
,arg3
,(wxTextAttr
const &)*arg4
);
9023 wxPyEndAllowThreads(__tstate
);
9024 if (PyErr_Occurred()) SWIG_fail
;
9027 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9035 static PyObject
*_wrap_TextCtrl_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9036 PyObject
*resultobj
;
9037 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9039 wxTextAttr
*arg3
= 0 ;
9041 PyObject
* obj0
= 0 ;
9042 PyObject
* obj1
= 0 ;
9043 PyObject
* obj2
= 0 ;
9045 (char *) "self",(char *) "position",(char *) "style", NULL
9048 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_GetStyle",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9049 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9050 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9051 arg2
= (long) SWIG_AsLong(obj1
);
9052 if (PyErr_Occurred()) SWIG_fail
;
9053 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxTextAttr
,
9054 SWIG_POINTER_EXCEPTION
| 0)) == -1)
9057 PyErr_SetString(PyExc_TypeError
,"null reference");
9061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9062 result
= (bool)(arg1
)->GetStyle(arg2
,*arg3
);
9064 wxPyEndAllowThreads(__tstate
);
9065 if (PyErr_Occurred()) SWIG_fail
;
9068 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9076 static PyObject
*_wrap_TextCtrl_SetDefaultStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9077 PyObject
*resultobj
;
9078 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9079 wxTextAttr
*arg2
= 0 ;
9081 PyObject
* obj0
= 0 ;
9082 PyObject
* obj1
= 0 ;
9084 (char *) "self",(char *) "style", NULL
9087 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetDefaultStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
9088 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9089 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9090 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTextAttr
,
9091 SWIG_POINTER_EXCEPTION
| 0)) == -1)
9094 PyErr_SetString(PyExc_TypeError
,"null reference");
9098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9099 result
= (bool)(arg1
)->SetDefaultStyle((wxTextAttr
const &)*arg2
);
9101 wxPyEndAllowThreads(__tstate
);
9102 if (PyErr_Occurred()) SWIG_fail
;
9105 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9113 static PyObject
*_wrap_TextCtrl_GetDefaultStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9114 PyObject
*resultobj
;
9115 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9117 PyObject
* obj0
= 0 ;
9119 (char *) "self", NULL
9122 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetDefaultStyle",kwnames
,&obj0
)) goto fail
;
9123 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9124 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9128 wxTextAttr
const &_result_ref
= ((wxTextCtrl
const *)arg1
)->GetDefaultStyle();
9129 result
= (wxTextAttr
*) &_result_ref
;
9132 wxPyEndAllowThreads(__tstate
);
9133 if (PyErr_Occurred()) SWIG_fail
;
9135 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextAttr
, 0);
9142 static PyObject
*_wrap_TextCtrl_XYToPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9143 PyObject
*resultobj
;
9144 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9148 PyObject
* obj0
= 0 ;
9149 PyObject
* obj1
= 0 ;
9150 PyObject
* obj2
= 0 ;
9152 (char *) "self",(char *) "x",(char *) "y", NULL
9155 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_XYToPosition",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9156 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9157 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9158 arg2
= (long) SWIG_AsLong(obj1
);
9159 if (PyErr_Occurred()) SWIG_fail
;
9160 arg3
= (long) SWIG_AsLong(obj2
);
9161 if (PyErr_Occurred()) SWIG_fail
;
9163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9164 result
= (long)((wxTextCtrl
const *)arg1
)->XYToPosition(arg2
,arg3
);
9166 wxPyEndAllowThreads(__tstate
);
9167 if (PyErr_Occurred()) SWIG_fail
;
9169 resultobj
= SWIG_FromLong((long)result
);
9176 static PyObject
*_wrap_TextCtrl_PositionToXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9177 PyObject
*resultobj
;
9178 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9180 long *arg3
= (long *) 0 ;
9181 long *arg4
= (long *) 0 ;
9184 PyObject
* obj0
= 0 ;
9185 PyObject
* obj1
= 0 ;
9187 (char *) "self",(char *) "pos", NULL
9192 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_PositionToXY",kwnames
,&obj0
,&obj1
)) goto fail
;
9193 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9194 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9195 arg2
= (long) SWIG_AsLong(obj1
);
9196 if (PyErr_Occurred()) SWIG_fail
;
9198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9199 ((wxTextCtrl
const *)arg1
)->PositionToXY(arg2
,arg3
,arg4
);
9201 wxPyEndAllowThreads(__tstate
);
9202 if (PyErr_Occurred()) SWIG_fail
;
9204 Py_INCREF(Py_None
); resultobj
= Py_None
;
9206 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
9207 resultobj
= t_output_helper(resultobj
,o
);
9210 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
9211 resultobj
= t_output_helper(resultobj
,o
);
9219 static PyObject
*_wrap_TextCtrl_ShowPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9220 PyObject
*resultobj
;
9221 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9223 PyObject
* obj0
= 0 ;
9224 PyObject
* obj1
= 0 ;
9226 (char *) "self",(char *) "pos", NULL
9229 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_ShowPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
9230 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9231 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9232 arg2
= (long) SWIG_AsLong(obj1
);
9233 if (PyErr_Occurred()) SWIG_fail
;
9235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9236 (arg1
)->ShowPosition(arg2
);
9238 wxPyEndAllowThreads(__tstate
);
9239 if (PyErr_Occurred()) SWIG_fail
;
9241 Py_INCREF(Py_None
); resultobj
= Py_None
;
9248 static PyObject
*_wrap_TextCtrl_HitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9249 PyObject
*resultobj
;
9250 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9252 long *arg3
= (long *) 0 ;
9253 long *arg4
= (long *) 0 ;
9258 PyObject
* obj0
= 0 ;
9259 PyObject
* obj1
= 0 ;
9261 (char *) "self",(char *) "pt", NULL
9266 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
9267 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9268 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9271 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
9274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9275 result
= (int)((wxTextCtrl
const *)arg1
)->HitTest((wxPoint
const &)*arg2
,arg3
,arg4
);
9277 wxPyEndAllowThreads(__tstate
);
9278 if (PyErr_Occurred()) SWIG_fail
;
9280 resultobj
= SWIG_FromInt((int)result
);
9282 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
9283 resultobj
= t_output_helper(resultobj
,o
);
9286 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
9287 resultobj
= t_output_helper(resultobj
,o
);
9295 static PyObject
*_wrap_TextCtrl_Copy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9296 PyObject
*resultobj
;
9297 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9298 PyObject
* obj0
= 0 ;
9300 (char *) "self", NULL
9303 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Copy",kwnames
,&obj0
)) goto fail
;
9304 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9305 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9310 wxPyEndAllowThreads(__tstate
);
9311 if (PyErr_Occurred()) SWIG_fail
;
9313 Py_INCREF(Py_None
); resultobj
= Py_None
;
9320 static PyObject
*_wrap_TextCtrl_Cut(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9321 PyObject
*resultobj
;
9322 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9323 PyObject
* obj0
= 0 ;
9325 (char *) "self", NULL
9328 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Cut",kwnames
,&obj0
)) goto fail
;
9329 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9330 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9335 wxPyEndAllowThreads(__tstate
);
9336 if (PyErr_Occurred()) SWIG_fail
;
9338 Py_INCREF(Py_None
); resultobj
= Py_None
;
9345 static PyObject
*_wrap_TextCtrl_Paste(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9346 PyObject
*resultobj
;
9347 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9348 PyObject
* obj0
= 0 ;
9350 (char *) "self", NULL
9353 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Paste",kwnames
,&obj0
)) goto fail
;
9354 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9355 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9360 wxPyEndAllowThreads(__tstate
);
9361 if (PyErr_Occurred()) SWIG_fail
;
9363 Py_INCREF(Py_None
); resultobj
= Py_None
;
9370 static PyObject
*_wrap_TextCtrl_CanCopy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9371 PyObject
*resultobj
;
9372 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9374 PyObject
* obj0
= 0 ;
9376 (char *) "self", NULL
9379 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanCopy",kwnames
,&obj0
)) goto fail
;
9380 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9381 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9384 result
= (bool)((wxTextCtrl
const *)arg1
)->CanCopy();
9386 wxPyEndAllowThreads(__tstate
);
9387 if (PyErr_Occurred()) SWIG_fail
;
9390 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9398 static PyObject
*_wrap_TextCtrl_CanCut(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9399 PyObject
*resultobj
;
9400 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9402 PyObject
* obj0
= 0 ;
9404 (char *) "self", NULL
9407 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanCut",kwnames
,&obj0
)) goto fail
;
9408 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9409 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9412 result
= (bool)((wxTextCtrl
const *)arg1
)->CanCut();
9414 wxPyEndAllowThreads(__tstate
);
9415 if (PyErr_Occurred()) SWIG_fail
;
9418 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9426 static PyObject
*_wrap_TextCtrl_CanPaste(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9427 PyObject
*resultobj
;
9428 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9430 PyObject
* obj0
= 0 ;
9432 (char *) "self", NULL
9435 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanPaste",kwnames
,&obj0
)) goto fail
;
9436 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9437 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9440 result
= (bool)((wxTextCtrl
const *)arg1
)->CanPaste();
9442 wxPyEndAllowThreads(__tstate
);
9443 if (PyErr_Occurred()) SWIG_fail
;
9446 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9454 static PyObject
*_wrap_TextCtrl_Undo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9455 PyObject
*resultobj
;
9456 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9457 PyObject
* obj0
= 0 ;
9459 (char *) "self", NULL
9462 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Undo",kwnames
,&obj0
)) goto fail
;
9463 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9464 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9469 wxPyEndAllowThreads(__tstate
);
9470 if (PyErr_Occurred()) SWIG_fail
;
9472 Py_INCREF(Py_None
); resultobj
= Py_None
;
9479 static PyObject
*_wrap_TextCtrl_Redo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9480 PyObject
*resultobj
;
9481 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9482 PyObject
* obj0
= 0 ;
9484 (char *) "self", NULL
9487 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Redo",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();
9494 wxPyEndAllowThreads(__tstate
);
9495 if (PyErr_Occurred()) SWIG_fail
;
9497 Py_INCREF(Py_None
); resultobj
= Py_None
;
9504 static PyObject
*_wrap_TextCtrl_CanUndo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9505 PyObject
*resultobj
;
9506 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9508 PyObject
* obj0
= 0 ;
9510 (char *) "self", NULL
9513 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanUndo",kwnames
,&obj0
)) goto fail
;
9514 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9515 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9518 result
= (bool)((wxTextCtrl
const *)arg1
)->CanUndo();
9520 wxPyEndAllowThreads(__tstate
);
9521 if (PyErr_Occurred()) SWIG_fail
;
9524 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9532 static PyObject
*_wrap_TextCtrl_CanRedo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9533 PyObject
*resultobj
;
9534 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9536 PyObject
* obj0
= 0 ;
9538 (char *) "self", NULL
9541 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanRedo",kwnames
,&obj0
)) goto fail
;
9542 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9543 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9546 result
= (bool)((wxTextCtrl
const *)arg1
)->CanRedo();
9548 wxPyEndAllowThreads(__tstate
);
9549 if (PyErr_Occurred()) SWIG_fail
;
9552 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9560 static PyObject
*_wrap_TextCtrl_SetInsertionPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9561 PyObject
*resultobj
;
9562 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9564 PyObject
* obj0
= 0 ;
9565 PyObject
* obj1
= 0 ;
9567 (char *) "self",(char *) "pos", NULL
9570 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetInsertionPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
9571 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9572 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9573 arg2
= (long) SWIG_AsLong(obj1
);
9574 if (PyErr_Occurred()) SWIG_fail
;
9576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9577 (arg1
)->SetInsertionPoint(arg2
);
9579 wxPyEndAllowThreads(__tstate
);
9580 if (PyErr_Occurred()) SWIG_fail
;
9582 Py_INCREF(Py_None
); resultobj
= Py_None
;
9589 static PyObject
*_wrap_TextCtrl_SetInsertionPointEnd(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9590 PyObject
*resultobj
;
9591 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9592 PyObject
* obj0
= 0 ;
9594 (char *) "self", NULL
9597 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_SetInsertionPointEnd",kwnames
,&obj0
)) goto fail
;
9598 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9599 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9602 (arg1
)->SetInsertionPointEnd();
9604 wxPyEndAllowThreads(__tstate
);
9605 if (PyErr_Occurred()) SWIG_fail
;
9607 Py_INCREF(Py_None
); resultobj
= Py_None
;
9614 static PyObject
*_wrap_TextCtrl_GetInsertionPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9615 PyObject
*resultobj
;
9616 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9618 PyObject
* obj0
= 0 ;
9620 (char *) "self", NULL
9623 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetInsertionPoint",kwnames
,&obj0
)) goto fail
;
9624 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9625 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9628 result
= (long)((wxTextCtrl
const *)arg1
)->GetInsertionPoint();
9630 wxPyEndAllowThreads(__tstate
);
9631 if (PyErr_Occurred()) SWIG_fail
;
9633 resultobj
= SWIG_FromLong((long)result
);
9640 static PyObject
*_wrap_TextCtrl_GetLastPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9641 PyObject
*resultobj
;
9642 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9644 PyObject
* obj0
= 0 ;
9646 (char *) "self", NULL
9649 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetLastPosition",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 result
= (long)((wxTextCtrl
const *)arg1
)->GetLastPosition();
9656 wxPyEndAllowThreads(__tstate
);
9657 if (PyErr_Occurred()) SWIG_fail
;
9659 resultobj
= SWIG_FromLong((long)result
);
9666 static PyObject
*_wrap_TextCtrl_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9667 PyObject
*resultobj
;
9668 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9671 PyObject
* obj0
= 0 ;
9672 PyObject
* obj1
= 0 ;
9673 PyObject
* obj2
= 0 ;
9675 (char *) "self",(char *) "from",(char *) "to", NULL
9678 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9679 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9680 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9681 arg2
= (long) SWIG_AsLong(obj1
);
9682 if (PyErr_Occurred()) SWIG_fail
;
9683 arg3
= (long) SWIG_AsLong(obj2
);
9684 if (PyErr_Occurred()) SWIG_fail
;
9686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9687 (arg1
)->SetSelection(arg2
,arg3
);
9689 wxPyEndAllowThreads(__tstate
);
9690 if (PyErr_Occurred()) SWIG_fail
;
9692 Py_INCREF(Py_None
); resultobj
= Py_None
;
9699 static PyObject
*_wrap_TextCtrl_SelectAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9700 PyObject
*resultobj
;
9701 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9702 PyObject
* obj0
= 0 ;
9704 (char *) "self", NULL
9707 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_SelectAll",kwnames
,&obj0
)) goto fail
;
9708 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9709 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9712 (arg1
)->SelectAll();
9714 wxPyEndAllowThreads(__tstate
);
9715 if (PyErr_Occurred()) SWIG_fail
;
9717 Py_INCREF(Py_None
); resultobj
= Py_None
;
9724 static PyObject
*_wrap_TextCtrl_SetEditable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9725 PyObject
*resultobj
;
9726 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9728 PyObject
* obj0
= 0 ;
9729 PyObject
* obj1
= 0 ;
9731 (char *) "self",(char *) "editable", NULL
9734 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetEditable",kwnames
,&obj0
,&obj1
)) goto fail
;
9735 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9736 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9737 arg2
= (bool) SWIG_AsBool(obj1
);
9738 if (PyErr_Occurred()) SWIG_fail
;
9740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9741 (arg1
)->SetEditable(arg2
);
9743 wxPyEndAllowThreads(__tstate
);
9744 if (PyErr_Occurred()) SWIG_fail
;
9746 Py_INCREF(Py_None
); resultobj
= Py_None
;
9753 static PyObject
*_wrap_TextCtrl_ShowNativeCaret(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9754 PyObject
*resultobj
;
9755 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9756 bool arg2
= (bool) True
;
9758 PyObject
* obj0
= 0 ;
9759 PyObject
* obj1
= 0 ;
9761 (char *) "self",(char *) "show", NULL
9764 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TextCtrl_ShowNativeCaret",kwnames
,&obj0
,&obj1
)) goto fail
;
9765 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9766 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9768 arg2
= (bool) SWIG_AsBool(obj1
);
9769 if (PyErr_Occurred()) SWIG_fail
;
9772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9773 result
= (bool)(arg1
)->ShowNativeCaret(arg2
);
9775 wxPyEndAllowThreads(__tstate
);
9776 if (PyErr_Occurred()) SWIG_fail
;
9779 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9787 static PyObject
*_wrap_TextCtrl_HideNativeCaret(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9788 PyObject
*resultobj
;
9789 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9791 PyObject
* obj0
= 0 ;
9793 (char *) "self", NULL
9796 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_HideNativeCaret",kwnames
,&obj0
)) goto fail
;
9797 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9798 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9801 result
= (bool)(arg1
)->HideNativeCaret();
9803 wxPyEndAllowThreads(__tstate
);
9804 if (PyErr_Occurred()) SWIG_fail
;
9807 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9815 static PyObject
*_wrap_TextCtrl_write(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9816 PyObject
*resultobj
;
9817 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9818 wxString
*arg2
= 0 ;
9819 bool temp2
= False
;
9820 PyObject
* obj0
= 0 ;
9821 PyObject
* obj1
= 0 ;
9823 (char *) "self",(char *) "text", NULL
9826 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_write",kwnames
,&obj0
,&obj1
)) goto fail
;
9827 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9828 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9830 arg2
= wxString_in_helper(obj1
);
9831 if (arg2
== NULL
) SWIG_fail
;
9835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9836 wxTextCtrl_write(arg1
,(wxString
const &)*arg2
);
9838 wxPyEndAllowThreads(__tstate
);
9839 if (PyErr_Occurred()) SWIG_fail
;
9841 Py_INCREF(Py_None
); resultobj
= Py_None
;
9856 static PyObject
*_wrap_TextCtrl_GetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9857 PyObject
*resultobj
;
9858 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9862 PyObject
* obj0
= 0 ;
9863 PyObject
* obj1
= 0 ;
9864 PyObject
* obj2
= 0 ;
9866 (char *) "self",(char *) "from",(char *) "to", NULL
9869 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_GetString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9870 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9871 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9872 arg2
= (long) SWIG_AsLong(obj1
);
9873 if (PyErr_Occurred()) SWIG_fail
;
9874 arg3
= (long) SWIG_AsLong(obj2
);
9875 if (PyErr_Occurred()) SWIG_fail
;
9877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9878 result
= wxTextCtrl_GetString(arg1
,arg2
,arg3
);
9880 wxPyEndAllowThreads(__tstate
);
9881 if (PyErr_Occurred()) SWIG_fail
;
9885 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9887 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9896 static PyObject
*_wrap_TextCtrl_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9897 PyObject
*resultobj
;
9898 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
9899 wxVisualAttributes result
;
9900 PyObject
* obj0
= 0 ;
9902 (char *) "variant", NULL
9905 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:TextCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
9907 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
9908 if (PyErr_Occurred()) SWIG_fail
;
9911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9912 result
= wxTextCtrl::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
9914 wxPyEndAllowThreads(__tstate
);
9915 if (PyErr_Occurred()) SWIG_fail
;
9918 wxVisualAttributes
* resultptr
;
9919 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
9920 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
9928 static PyObject
* TextCtrl_swigregister(PyObject
*self
, PyObject
*args
) {
9930 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9931 SWIG_TypeClientData(SWIGTYPE_p_wxTextCtrl
, obj
);
9933 return Py_BuildValue((char *)"");
9935 static PyObject
*_wrap_new_TextUrlEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9936 PyObject
*resultobj
;
9938 wxMouseEvent
*arg2
= 0 ;
9941 wxTextUrlEvent
*result
;
9942 PyObject
* obj0
= 0 ;
9943 PyObject
* obj1
= 0 ;
9944 PyObject
* obj2
= 0 ;
9945 PyObject
* obj3
= 0 ;
9947 (char *) "winid",(char *) "evtMouse",(char *) "start",(char *) "end", NULL
9950 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_TextUrlEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9951 arg1
= (int) SWIG_AsInt(obj0
);
9952 if (PyErr_Occurred()) SWIG_fail
;
9953 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMouseEvent
,
9954 SWIG_POINTER_EXCEPTION
| 0)) == -1)
9957 PyErr_SetString(PyExc_TypeError
,"null reference");
9960 arg3
= (long) SWIG_AsLong(obj2
);
9961 if (PyErr_Occurred()) SWIG_fail
;
9962 arg4
= (long) SWIG_AsLong(obj3
);
9963 if (PyErr_Occurred()) SWIG_fail
;
9965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9966 result
= (wxTextUrlEvent
*)new wxTextUrlEvent(arg1
,(wxMouseEvent
const &)*arg2
,arg3
,arg4
);
9968 wxPyEndAllowThreads(__tstate
);
9969 if (PyErr_Occurred()) SWIG_fail
;
9971 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextUrlEvent
, 1);
9978 static PyObject
*_wrap_TextUrlEvent_GetMouseEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9979 PyObject
*resultobj
;
9980 wxTextUrlEvent
*arg1
= (wxTextUrlEvent
*) 0 ;
9981 wxMouseEvent
*result
;
9982 PyObject
* obj0
= 0 ;
9984 (char *) "self", NULL
9987 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextUrlEvent_GetMouseEvent",kwnames
,&obj0
)) goto fail
;
9988 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextUrlEvent
,
9989 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9993 wxMouseEvent
const &_result_ref
= (arg1
)->GetMouseEvent();
9994 result
= (wxMouseEvent
*) &_result_ref
;
9997 wxPyEndAllowThreads(__tstate
);
9998 if (PyErr_Occurred()) SWIG_fail
;
10000 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMouseEvent
, 0);
10007 static PyObject
*_wrap_TextUrlEvent_GetURLStart(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10008 PyObject
*resultobj
;
10009 wxTextUrlEvent
*arg1
= (wxTextUrlEvent
*) 0 ;
10011 PyObject
* obj0
= 0 ;
10012 char *kwnames
[] = {
10013 (char *) "self", NULL
10016 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextUrlEvent_GetURLStart",kwnames
,&obj0
)) goto fail
;
10017 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextUrlEvent
,
10018 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10021 result
= (long)((wxTextUrlEvent
const *)arg1
)->GetURLStart();
10023 wxPyEndAllowThreads(__tstate
);
10024 if (PyErr_Occurred()) SWIG_fail
;
10026 resultobj
= SWIG_FromLong((long)result
);
10033 static PyObject
*_wrap_TextUrlEvent_GetURLEnd(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10034 PyObject
*resultobj
;
10035 wxTextUrlEvent
*arg1
= (wxTextUrlEvent
*) 0 ;
10037 PyObject
* obj0
= 0 ;
10038 char *kwnames
[] = {
10039 (char *) "self", NULL
10042 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextUrlEvent_GetURLEnd",kwnames
,&obj0
)) goto fail
;
10043 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextUrlEvent
,
10044 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10047 result
= (long)((wxTextUrlEvent
const *)arg1
)->GetURLEnd();
10049 wxPyEndAllowThreads(__tstate
);
10050 if (PyErr_Occurred()) SWIG_fail
;
10052 resultobj
= SWIG_FromLong((long)result
);
10059 static PyObject
* TextUrlEvent_swigregister(PyObject
*self
, PyObject
*args
) {
10061 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10062 SWIG_TypeClientData(SWIGTYPE_p_wxTextUrlEvent
, obj
);
10064 return Py_BuildValue((char *)"");
10066 static int _wrap_ScrollBarNameStr_set(PyObject
*_val
) {
10067 PyErr_SetString(PyExc_TypeError
,"Variable ScrollBarNameStr is read-only.");
10072 static PyObject
*_wrap_ScrollBarNameStr_get() {
10077 pyobj
= PyUnicode_FromWideChar((&wxPyScrollBarNameStr
)->c_str(), (&wxPyScrollBarNameStr
)->Len());
10079 pyobj
= PyString_FromStringAndSize((&wxPyScrollBarNameStr
)->c_str(), (&wxPyScrollBarNameStr
)->Len());
10086 static PyObject
*_wrap_new_ScrollBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10087 PyObject
*resultobj
;
10088 wxWindow
*arg1
= (wxWindow
*) 0 ;
10089 int arg2
= (int) -1 ;
10090 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
10091 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
10092 wxSize
const &arg4_defvalue
= wxDefaultSize
;
10093 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
10094 long arg5
= (long) wxSB_HORIZONTAL
;
10095 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
10096 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
10097 wxString
const &arg7_defvalue
= wxPyScrollBarNameStr
;
10098 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
10099 wxScrollBar
*result
;
10102 bool temp7
= False
;
10103 PyObject
* obj0
= 0 ;
10104 PyObject
* obj1
= 0 ;
10105 PyObject
* obj2
= 0 ;
10106 PyObject
* obj3
= 0 ;
10107 PyObject
* obj4
= 0 ;
10108 PyObject
* obj5
= 0 ;
10109 PyObject
* obj6
= 0 ;
10110 char *kwnames
[] = {
10111 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
10114 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_ScrollBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
10115 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
10116 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10118 arg2
= (int) SWIG_AsInt(obj1
);
10119 if (PyErr_Occurred()) SWIG_fail
;
10124 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
10130 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
10134 arg5
= (long) SWIG_AsLong(obj4
);
10135 if (PyErr_Occurred()) SWIG_fail
;
10138 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxValidator
,
10139 SWIG_POINTER_EXCEPTION
| 0)) == -1)
10141 if (arg6
== NULL
) {
10142 PyErr_SetString(PyExc_TypeError
,"null reference");
10148 arg7
= wxString_in_helper(obj6
);
10149 if (arg7
== NULL
) SWIG_fail
;
10154 if (!wxPyCheckForApp()) SWIG_fail
;
10155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10156 result
= (wxScrollBar
*)new wxScrollBar(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
10158 wxPyEndAllowThreads(__tstate
);
10159 if (PyErr_Occurred()) SWIG_fail
;
10161 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScrollBar
, 1);
10176 static PyObject
*_wrap_new_PreScrollBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10177 PyObject
*resultobj
;
10178 wxScrollBar
*result
;
10179 char *kwnames
[] = {
10183 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreScrollBar",kwnames
)) goto fail
;
10185 if (!wxPyCheckForApp()) SWIG_fail
;
10186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10187 result
= (wxScrollBar
*)new wxScrollBar();
10189 wxPyEndAllowThreads(__tstate
);
10190 if (PyErr_Occurred()) SWIG_fail
;
10192 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScrollBar
, 1);
10199 static PyObject
*_wrap_ScrollBar_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10200 PyObject
*resultobj
;
10201 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
10202 wxWindow
*arg2
= (wxWindow
*) 0 ;
10203 int arg3
= (int) -1 ;
10204 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
10205 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
10206 wxSize
const &arg5_defvalue
= wxDefaultSize
;
10207 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
10208 long arg6
= (long) wxSB_HORIZONTAL
;
10209 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
10210 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
10211 wxString
const &arg8_defvalue
= wxPyScrollBarNameStr
;
10212 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
10216 bool temp8
= False
;
10217 PyObject
* obj0
= 0 ;
10218 PyObject
* obj1
= 0 ;
10219 PyObject
* obj2
= 0 ;
10220 PyObject
* obj3
= 0 ;
10221 PyObject
* obj4
= 0 ;
10222 PyObject
* obj5
= 0 ;
10223 PyObject
* obj6
= 0 ;
10224 PyObject
* obj7
= 0 ;
10225 char *kwnames
[] = {
10226 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
10229 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:ScrollBar_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
10230 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollBar
,
10231 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10232 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
10233 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10235 arg3
= (int) SWIG_AsInt(obj2
);
10236 if (PyErr_Occurred()) SWIG_fail
;
10241 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
10247 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
10251 arg6
= (long) SWIG_AsLong(obj5
);
10252 if (PyErr_Occurred()) SWIG_fail
;
10255 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
10256 SWIG_POINTER_EXCEPTION
| 0)) == -1)
10258 if (arg7
== NULL
) {
10259 PyErr_SetString(PyExc_TypeError
,"null reference");
10265 arg8
= wxString_in_helper(obj7
);
10266 if (arg8
== NULL
) SWIG_fail
;
10271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10272 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
10274 wxPyEndAllowThreads(__tstate
);
10275 if (PyErr_Occurred()) SWIG_fail
;
10278 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10294 static PyObject
*_wrap_ScrollBar_GetThumbPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10295 PyObject
*resultobj
;
10296 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
10298 PyObject
* obj0
= 0 ;
10299 char *kwnames
[] = {
10300 (char *) "self", NULL
10303 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_GetThumbPosition",kwnames
,&obj0
)) goto fail
;
10304 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollBar
,
10305 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10308 result
= (int)((wxScrollBar
const *)arg1
)->GetThumbPosition();
10310 wxPyEndAllowThreads(__tstate
);
10311 if (PyErr_Occurred()) SWIG_fail
;
10313 resultobj
= SWIG_FromInt((int)result
);
10320 static PyObject
*_wrap_ScrollBar_GetThumbSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10321 PyObject
*resultobj
;
10322 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
10324 PyObject
* obj0
= 0 ;
10325 char *kwnames
[] = {
10326 (char *) "self", NULL
10329 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_GetThumbSize",kwnames
,&obj0
)) goto fail
;
10330 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollBar
,
10331 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10334 result
= (int)((wxScrollBar
const *)arg1
)->GetThumbSize();
10336 wxPyEndAllowThreads(__tstate
);
10337 if (PyErr_Occurred()) SWIG_fail
;
10339 resultobj
= SWIG_FromInt((int)result
);
10346 static PyObject
*_wrap_ScrollBar_GetPageSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10347 PyObject
*resultobj
;
10348 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
10350 PyObject
* obj0
= 0 ;
10351 char *kwnames
[] = {
10352 (char *) "self", NULL
10355 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_GetPageSize",kwnames
,&obj0
)) goto fail
;
10356 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollBar
,
10357 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10360 result
= (int)((wxScrollBar
const *)arg1
)->GetPageSize();
10362 wxPyEndAllowThreads(__tstate
);
10363 if (PyErr_Occurred()) SWIG_fail
;
10365 resultobj
= SWIG_FromInt((int)result
);
10372 static PyObject
*_wrap_ScrollBar_GetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10373 PyObject
*resultobj
;
10374 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
10376 PyObject
* obj0
= 0 ;
10377 char *kwnames
[] = {
10378 (char *) "self", NULL
10381 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_GetRange",kwnames
,&obj0
)) goto fail
;
10382 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollBar
,
10383 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10386 result
= (int)((wxScrollBar
const *)arg1
)->GetRange();
10388 wxPyEndAllowThreads(__tstate
);
10389 if (PyErr_Occurred()) SWIG_fail
;
10391 resultobj
= SWIG_FromInt((int)result
);
10398 static PyObject
*_wrap_ScrollBar_IsVertical(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10399 PyObject
*resultobj
;
10400 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
10402 PyObject
* obj0
= 0 ;
10403 char *kwnames
[] = {
10404 (char *) "self", NULL
10407 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_IsVertical",kwnames
,&obj0
)) goto fail
;
10408 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollBar
,
10409 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10412 result
= (bool)((wxScrollBar
const *)arg1
)->IsVertical();
10414 wxPyEndAllowThreads(__tstate
);
10415 if (PyErr_Occurred()) SWIG_fail
;
10418 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10426 static PyObject
*_wrap_ScrollBar_SetThumbPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10427 PyObject
*resultobj
;
10428 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
10430 PyObject
* obj0
= 0 ;
10431 PyObject
* obj1
= 0 ;
10432 char *kwnames
[] = {
10433 (char *) "self",(char *) "viewStart", NULL
10436 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollBar_SetThumbPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
10437 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollBar
,
10438 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10439 arg2
= (int) SWIG_AsInt(obj1
);
10440 if (PyErr_Occurred()) SWIG_fail
;
10442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10443 (arg1
)->SetThumbPosition(arg2
);
10445 wxPyEndAllowThreads(__tstate
);
10446 if (PyErr_Occurred()) SWIG_fail
;
10448 Py_INCREF(Py_None
); resultobj
= Py_None
;
10455 static PyObject
*_wrap_ScrollBar_SetScrollbar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10456 PyObject
*resultobj
;
10457 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
10462 bool arg6
= (bool) True
;
10463 PyObject
* obj0
= 0 ;
10464 PyObject
* obj1
= 0 ;
10465 PyObject
* obj2
= 0 ;
10466 PyObject
* obj3
= 0 ;
10467 PyObject
* obj4
= 0 ;
10468 PyObject
* obj5
= 0 ;
10469 char *kwnames
[] = {
10470 (char *) "self",(char *) "position",(char *) "thumbSize",(char *) "range",(char *) "pageSize",(char *) "refresh", NULL
10473 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:ScrollBar_SetScrollbar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
10474 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollBar
,
10475 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10476 arg2
= (int) SWIG_AsInt(obj1
);
10477 if (PyErr_Occurred()) SWIG_fail
;
10478 arg3
= (int) SWIG_AsInt(obj2
);
10479 if (PyErr_Occurred()) SWIG_fail
;
10480 arg4
= (int) SWIG_AsInt(obj3
);
10481 if (PyErr_Occurred()) SWIG_fail
;
10482 arg5
= (int) SWIG_AsInt(obj4
);
10483 if (PyErr_Occurred()) SWIG_fail
;
10485 arg6
= (bool) SWIG_AsBool(obj5
);
10486 if (PyErr_Occurred()) SWIG_fail
;
10489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10490 (arg1
)->SetScrollbar(arg2
,arg3
,arg4
,arg5
,arg6
);
10492 wxPyEndAllowThreads(__tstate
);
10493 if (PyErr_Occurred()) SWIG_fail
;
10495 Py_INCREF(Py_None
); resultobj
= Py_None
;
10502 static PyObject
*_wrap_ScrollBar_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10503 PyObject
*resultobj
;
10504 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
10505 wxVisualAttributes result
;
10506 PyObject
* obj0
= 0 ;
10507 char *kwnames
[] = {
10508 (char *) "variant", NULL
10511 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ScrollBar_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
10513 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
10514 if (PyErr_Occurred()) SWIG_fail
;
10517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10518 result
= wxScrollBar::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
10520 wxPyEndAllowThreads(__tstate
);
10521 if (PyErr_Occurred()) SWIG_fail
;
10524 wxVisualAttributes
* resultptr
;
10525 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
10526 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
10534 static PyObject
* ScrollBar_swigregister(PyObject
*self
, PyObject
*args
) {
10536 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10537 SWIG_TypeClientData(SWIGTYPE_p_wxScrollBar
, obj
);
10539 return Py_BuildValue((char *)"");
10541 static int _wrap_SPIN_BUTTON_NAME_set(PyObject
*_val
) {
10542 PyErr_SetString(PyExc_TypeError
,"Variable SPIN_BUTTON_NAME is read-only.");
10547 static PyObject
*_wrap_SPIN_BUTTON_NAME_get() {
10552 pyobj
= PyUnicode_FromWideChar((&wxPySPIN_BUTTON_NAME
)->c_str(), (&wxPySPIN_BUTTON_NAME
)->Len());
10554 pyobj
= PyString_FromStringAndSize((&wxPySPIN_BUTTON_NAME
)->c_str(), (&wxPySPIN_BUTTON_NAME
)->Len());
10561 static int _wrap_SpinCtrlNameStr_set(PyObject
*_val
) {
10562 PyErr_SetString(PyExc_TypeError
,"Variable SpinCtrlNameStr is read-only.");
10567 static PyObject
*_wrap_SpinCtrlNameStr_get() {
10572 pyobj
= PyUnicode_FromWideChar((&wxPySpinCtrlNameStr
)->c_str(), (&wxPySpinCtrlNameStr
)->Len());
10574 pyobj
= PyString_FromStringAndSize((&wxPySpinCtrlNameStr
)->c_str(), (&wxPySpinCtrlNameStr
)->Len());
10581 static PyObject
*_wrap_new_SpinButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10582 PyObject
*resultobj
;
10583 wxWindow
*arg1
= (wxWindow
*) 0 ;
10584 int arg2
= (int) -1 ;
10585 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
10586 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
10587 wxSize
const &arg4_defvalue
= wxDefaultSize
;
10588 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
10589 long arg5
= (long) wxSP_HORIZONTAL
;
10590 wxString
const &arg6_defvalue
= wxPySPIN_BUTTON_NAME
;
10591 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
10592 wxSpinButton
*result
;
10595 bool temp6
= False
;
10596 PyObject
* obj0
= 0 ;
10597 PyObject
* obj1
= 0 ;
10598 PyObject
* obj2
= 0 ;
10599 PyObject
* obj3
= 0 ;
10600 PyObject
* obj4
= 0 ;
10601 PyObject
* obj5
= 0 ;
10602 char *kwnames
[] = {
10603 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10606 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_SpinButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
10607 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
10608 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10610 arg2
= (int) SWIG_AsInt(obj1
);
10611 if (PyErr_Occurred()) SWIG_fail
;
10616 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
10622 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
10626 arg5
= (long) SWIG_AsLong(obj4
);
10627 if (PyErr_Occurred()) SWIG_fail
;
10631 arg6
= wxString_in_helper(obj5
);
10632 if (arg6
== NULL
) SWIG_fail
;
10637 if (!wxPyCheckForApp()) SWIG_fail
;
10638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10639 result
= (wxSpinButton
*)new wxSpinButton(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
10641 wxPyEndAllowThreads(__tstate
);
10642 if (PyErr_Occurred()) SWIG_fail
;
10644 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSpinButton
, 1);
10659 static PyObject
*_wrap_new_PreSpinButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10660 PyObject
*resultobj
;
10661 wxSpinButton
*result
;
10662 char *kwnames
[] = {
10666 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSpinButton",kwnames
)) goto fail
;
10668 if (!wxPyCheckForApp()) SWIG_fail
;
10669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10670 result
= (wxSpinButton
*)new wxSpinButton();
10672 wxPyEndAllowThreads(__tstate
);
10673 if (PyErr_Occurred()) SWIG_fail
;
10675 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSpinButton
, 1);
10682 static PyObject
*_wrap_SpinButton_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10683 PyObject
*resultobj
;
10684 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
10685 wxWindow
*arg2
= (wxWindow
*) 0 ;
10686 int arg3
= (int) -1 ;
10687 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
10688 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
10689 wxSize
const &arg5_defvalue
= wxDefaultSize
;
10690 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
10691 long arg6
= (long) wxSP_HORIZONTAL
;
10692 wxString
const &arg7_defvalue
= wxPySPIN_BUTTON_NAME
;
10693 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
10697 bool temp7
= False
;
10698 PyObject
* obj0
= 0 ;
10699 PyObject
* obj1
= 0 ;
10700 PyObject
* obj2
= 0 ;
10701 PyObject
* obj3
= 0 ;
10702 PyObject
* obj4
= 0 ;
10703 PyObject
* obj5
= 0 ;
10704 PyObject
* obj6
= 0 ;
10705 char *kwnames
[] = {
10706 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10709 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:SpinButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
10710 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinButton
,
10711 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10712 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
10713 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10715 arg3
= (int) SWIG_AsInt(obj2
);
10716 if (PyErr_Occurred()) SWIG_fail
;
10721 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
10727 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
10731 arg6
= (long) SWIG_AsLong(obj5
);
10732 if (PyErr_Occurred()) SWIG_fail
;
10736 arg7
= wxString_in_helper(obj6
);
10737 if (arg7
== NULL
) SWIG_fail
;
10742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10743 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
10745 wxPyEndAllowThreads(__tstate
);
10746 if (PyErr_Occurred()) SWIG_fail
;
10749 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10765 static PyObject
*_wrap_SpinButton_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10766 PyObject
*resultobj
;
10767 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
10769 PyObject
* obj0
= 0 ;
10770 char *kwnames
[] = {
10771 (char *) "self", NULL
10774 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinButton_GetValue",kwnames
,&obj0
)) goto fail
;
10775 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinButton
,
10776 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10779 result
= (int)((wxSpinButton
const *)arg1
)->GetValue();
10781 wxPyEndAllowThreads(__tstate
);
10782 if (PyErr_Occurred()) SWIG_fail
;
10784 resultobj
= SWIG_FromInt((int)result
);
10791 static PyObject
*_wrap_SpinButton_GetMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10792 PyObject
*resultobj
;
10793 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
10795 PyObject
* obj0
= 0 ;
10796 char *kwnames
[] = {
10797 (char *) "self", NULL
10800 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinButton_GetMin",kwnames
,&obj0
)) goto fail
;
10801 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinButton
,
10802 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10805 result
= (int)((wxSpinButton
const *)arg1
)->GetMin();
10807 wxPyEndAllowThreads(__tstate
);
10808 if (PyErr_Occurred()) SWIG_fail
;
10810 resultobj
= SWIG_FromInt((int)result
);
10817 static PyObject
*_wrap_SpinButton_GetMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10818 PyObject
*resultobj
;
10819 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
10821 PyObject
* obj0
= 0 ;
10822 char *kwnames
[] = {
10823 (char *) "self", NULL
10826 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinButton_GetMax",kwnames
,&obj0
)) goto fail
;
10827 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinButton
,
10828 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10831 result
= (int)((wxSpinButton
const *)arg1
)->GetMax();
10833 wxPyEndAllowThreads(__tstate
);
10834 if (PyErr_Occurred()) SWIG_fail
;
10836 resultobj
= SWIG_FromInt((int)result
);
10843 static PyObject
*_wrap_SpinButton_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10844 PyObject
*resultobj
;
10845 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
10847 PyObject
* obj0
= 0 ;
10848 PyObject
* obj1
= 0 ;
10849 char *kwnames
[] = {
10850 (char *) "self",(char *) "val", NULL
10853 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinButton_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
10854 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinButton
,
10855 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10856 arg2
= (int) SWIG_AsInt(obj1
);
10857 if (PyErr_Occurred()) SWIG_fail
;
10859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10860 (arg1
)->SetValue(arg2
);
10862 wxPyEndAllowThreads(__tstate
);
10863 if (PyErr_Occurred()) SWIG_fail
;
10865 Py_INCREF(Py_None
); resultobj
= Py_None
;
10872 static PyObject
*_wrap_SpinButton_SetMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10873 PyObject
*resultobj
;
10874 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
10876 PyObject
* obj0
= 0 ;
10877 PyObject
* obj1
= 0 ;
10878 char *kwnames
[] = {
10879 (char *) "self",(char *) "minVal", NULL
10882 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinButton_SetMin",kwnames
,&obj0
,&obj1
)) goto fail
;
10883 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinButton
,
10884 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10885 arg2
= (int) SWIG_AsInt(obj1
);
10886 if (PyErr_Occurred()) SWIG_fail
;
10888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10889 (arg1
)->SetMin(arg2
);
10891 wxPyEndAllowThreads(__tstate
);
10892 if (PyErr_Occurred()) SWIG_fail
;
10894 Py_INCREF(Py_None
); resultobj
= Py_None
;
10901 static PyObject
*_wrap_SpinButton_SetMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10902 PyObject
*resultobj
;
10903 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
10905 PyObject
* obj0
= 0 ;
10906 PyObject
* obj1
= 0 ;
10907 char *kwnames
[] = {
10908 (char *) "self",(char *) "maxVal", NULL
10911 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinButton_SetMax",kwnames
,&obj0
,&obj1
)) goto fail
;
10912 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinButton
,
10913 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10914 arg2
= (int) SWIG_AsInt(obj1
);
10915 if (PyErr_Occurred()) SWIG_fail
;
10917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10918 (arg1
)->SetMax(arg2
);
10920 wxPyEndAllowThreads(__tstate
);
10921 if (PyErr_Occurred()) SWIG_fail
;
10923 Py_INCREF(Py_None
); resultobj
= Py_None
;
10930 static PyObject
*_wrap_SpinButton_SetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10931 PyObject
*resultobj
;
10932 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
10935 PyObject
* obj0
= 0 ;
10936 PyObject
* obj1
= 0 ;
10937 PyObject
* obj2
= 0 ;
10938 char *kwnames
[] = {
10939 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
10942 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SpinButton_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10943 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinButton
,
10944 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10945 arg2
= (int) SWIG_AsInt(obj1
);
10946 if (PyErr_Occurred()) SWIG_fail
;
10947 arg3
= (int) SWIG_AsInt(obj2
);
10948 if (PyErr_Occurred()) SWIG_fail
;
10950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10951 (arg1
)->SetRange(arg2
,arg3
);
10953 wxPyEndAllowThreads(__tstate
);
10954 if (PyErr_Occurred()) SWIG_fail
;
10956 Py_INCREF(Py_None
); resultobj
= Py_None
;
10963 static PyObject
*_wrap_SpinButton_IsVertical(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10964 PyObject
*resultobj
;
10965 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
10967 PyObject
* obj0
= 0 ;
10968 char *kwnames
[] = {
10969 (char *) "self", NULL
10972 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinButton_IsVertical",kwnames
,&obj0
)) goto fail
;
10973 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinButton
,
10974 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10977 result
= (bool)((wxSpinButton
const *)arg1
)->IsVertical();
10979 wxPyEndAllowThreads(__tstate
);
10980 if (PyErr_Occurred()) SWIG_fail
;
10983 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10991 static PyObject
*_wrap_SpinButton_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10992 PyObject
*resultobj
;
10993 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
10994 wxVisualAttributes result
;
10995 PyObject
* obj0
= 0 ;
10996 char *kwnames
[] = {
10997 (char *) "variant", NULL
11000 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:SpinButton_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
11002 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
11003 if (PyErr_Occurred()) SWIG_fail
;
11006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11007 result
= wxSpinButton::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
11009 wxPyEndAllowThreads(__tstate
);
11010 if (PyErr_Occurred()) SWIG_fail
;
11013 wxVisualAttributes
* resultptr
;
11014 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
11015 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
11023 static PyObject
* SpinButton_swigregister(PyObject
*self
, PyObject
*args
) {
11025 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11026 SWIG_TypeClientData(SWIGTYPE_p_wxSpinButton
, obj
);
11028 return Py_BuildValue((char *)"");
11030 static PyObject
*_wrap_new_SpinCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11031 PyObject
*resultobj
;
11032 wxWindow
*arg1
= (wxWindow
*) 0 ;
11033 int arg2
= (int) -1 ;
11034 wxString
const &arg3_defvalue
= wxPyEmptyString
;
11035 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
11036 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
11037 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
11038 wxSize
const &arg5_defvalue
= wxDefaultSize
;
11039 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
11040 long arg6
= (long) wxSP_ARROW_KEYS
;
11041 int arg7
= (int) 0 ;
11042 int arg8
= (int) 100 ;
11043 int arg9
= (int) 0 ;
11044 wxString
const &arg10_defvalue
= wxPySpinCtrlNameStr
;
11045 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
11046 wxSpinCtrl
*result
;
11047 bool temp3
= False
;
11050 bool temp10
= False
;
11051 PyObject
* obj0
= 0 ;
11052 PyObject
* obj1
= 0 ;
11053 PyObject
* obj2
= 0 ;
11054 PyObject
* obj3
= 0 ;
11055 PyObject
* obj4
= 0 ;
11056 PyObject
* obj5
= 0 ;
11057 PyObject
* obj6
= 0 ;
11058 PyObject
* obj7
= 0 ;
11059 PyObject
* obj8
= 0 ;
11060 PyObject
* obj9
= 0 ;
11061 char *kwnames
[] = {
11062 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
11065 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOOO:new_SpinCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
11066 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
11067 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11069 arg2
= (int) SWIG_AsInt(obj1
);
11070 if (PyErr_Occurred()) SWIG_fail
;
11074 arg3
= wxString_in_helper(obj2
);
11075 if (arg3
== NULL
) SWIG_fail
;
11082 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
11088 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
11092 arg6
= (long) SWIG_AsLong(obj5
);
11093 if (PyErr_Occurred()) SWIG_fail
;
11096 arg7
= (int) SWIG_AsInt(obj6
);
11097 if (PyErr_Occurred()) SWIG_fail
;
11100 arg8
= (int) SWIG_AsInt(obj7
);
11101 if (PyErr_Occurred()) SWIG_fail
;
11104 arg9
= (int) SWIG_AsInt(obj8
);
11105 if (PyErr_Occurred()) SWIG_fail
;
11109 arg10
= wxString_in_helper(obj9
);
11110 if (arg10
== NULL
) SWIG_fail
;
11115 if (!wxPyCheckForApp()) SWIG_fail
;
11116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11117 result
= (wxSpinCtrl
*)new wxSpinCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,arg7
,arg8
,arg9
,(wxString
const &)*arg10
);
11119 wxPyEndAllowThreads(__tstate
);
11120 if (PyErr_Occurred()) SWIG_fail
;
11122 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSpinCtrl
, 1);
11145 static PyObject
*_wrap_new_PreSpinCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11146 PyObject
*resultobj
;
11147 wxSpinCtrl
*result
;
11148 char *kwnames
[] = {
11152 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSpinCtrl",kwnames
)) goto fail
;
11154 if (!wxPyCheckForApp()) SWIG_fail
;
11155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11156 result
= (wxSpinCtrl
*)new wxSpinCtrl();
11158 wxPyEndAllowThreads(__tstate
);
11159 if (PyErr_Occurred()) SWIG_fail
;
11161 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSpinCtrl
, 1);
11168 static PyObject
*_wrap_SpinCtrl_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11169 PyObject
*resultobj
;
11170 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
11171 wxWindow
*arg2
= (wxWindow
*) 0 ;
11172 int arg3
= (int) -1 ;
11173 wxString
const &arg4_defvalue
= wxPyEmptyString
;
11174 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
11175 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
11176 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
11177 wxSize
const &arg6_defvalue
= wxDefaultSize
;
11178 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
11179 long arg7
= (long) wxSP_ARROW_KEYS
;
11180 int arg8
= (int) 0 ;
11181 int arg9
= (int) 100 ;
11182 int arg10
= (int) 0 ;
11183 wxString
const &arg11_defvalue
= wxPySpinCtrlNameStr
;
11184 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
11186 bool temp4
= False
;
11189 bool temp11
= False
;
11190 PyObject
* obj0
= 0 ;
11191 PyObject
* obj1
= 0 ;
11192 PyObject
* obj2
= 0 ;
11193 PyObject
* obj3
= 0 ;
11194 PyObject
* obj4
= 0 ;
11195 PyObject
* obj5
= 0 ;
11196 PyObject
* obj6
= 0 ;
11197 PyObject
* obj7
= 0 ;
11198 PyObject
* obj8
= 0 ;
11199 PyObject
* obj9
= 0 ;
11200 PyObject
* obj10
= 0 ;
11201 char *kwnames
[] = {
11202 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
11205 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOOO:SpinCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) goto fail
;
11206 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinCtrl
,
11207 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11208 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
11209 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11211 arg3
= (int) SWIG_AsInt(obj2
);
11212 if (PyErr_Occurred()) SWIG_fail
;
11216 arg4
= wxString_in_helper(obj3
);
11217 if (arg4
== NULL
) SWIG_fail
;
11224 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
11230 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
11234 arg7
= (long) SWIG_AsLong(obj6
);
11235 if (PyErr_Occurred()) SWIG_fail
;
11238 arg8
= (int) SWIG_AsInt(obj7
);
11239 if (PyErr_Occurred()) SWIG_fail
;
11242 arg9
= (int) SWIG_AsInt(obj8
);
11243 if (PyErr_Occurred()) SWIG_fail
;
11246 arg10
= (int) SWIG_AsInt(obj9
);
11247 if (PyErr_Occurred()) SWIG_fail
;
11251 arg11
= wxString_in_helper(obj10
);
11252 if (arg11
== NULL
) SWIG_fail
;
11257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11258 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,arg8
,arg9
,arg10
,(wxString
const &)*arg11
);
11260 wxPyEndAllowThreads(__tstate
);
11261 if (PyErr_Occurred()) SWIG_fail
;
11264 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11288 static PyObject
*_wrap_SpinCtrl_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11289 PyObject
*resultobj
;
11290 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
11292 PyObject
* obj0
= 0 ;
11293 char *kwnames
[] = {
11294 (char *) "self", NULL
11297 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinCtrl_GetValue",kwnames
,&obj0
)) goto fail
;
11298 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinCtrl
,
11299 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11302 result
= (int)((wxSpinCtrl
const *)arg1
)->GetValue();
11304 wxPyEndAllowThreads(__tstate
);
11305 if (PyErr_Occurred()) SWIG_fail
;
11307 resultobj
= SWIG_FromInt((int)result
);
11314 static PyObject
*_wrap_SpinCtrl_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11315 PyObject
*resultobj
;
11316 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
11318 PyObject
* obj0
= 0 ;
11319 PyObject
* obj1
= 0 ;
11320 char *kwnames
[] = {
11321 (char *) "self",(char *) "value", NULL
11324 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinCtrl_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
11325 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinCtrl
,
11326 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11327 arg2
= (int) SWIG_AsInt(obj1
);
11328 if (PyErr_Occurred()) SWIG_fail
;
11330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11331 (arg1
)->SetValue(arg2
);
11333 wxPyEndAllowThreads(__tstate
);
11334 if (PyErr_Occurred()) SWIG_fail
;
11336 Py_INCREF(Py_None
); resultobj
= Py_None
;
11343 static PyObject
*_wrap_SpinCtrl_SetValueString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11344 PyObject
*resultobj
;
11345 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
11346 wxString
*arg2
= 0 ;
11347 bool temp2
= False
;
11348 PyObject
* obj0
= 0 ;
11349 PyObject
* obj1
= 0 ;
11350 char *kwnames
[] = {
11351 (char *) "self",(char *) "text", NULL
11354 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinCtrl_SetValueString",kwnames
,&obj0
,&obj1
)) goto fail
;
11355 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinCtrl
,
11356 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11358 arg2
= wxString_in_helper(obj1
);
11359 if (arg2
== NULL
) SWIG_fail
;
11363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11364 (arg1
)->SetValue((wxString
const &)*arg2
);
11366 wxPyEndAllowThreads(__tstate
);
11367 if (PyErr_Occurred()) SWIG_fail
;
11369 Py_INCREF(Py_None
); resultobj
= Py_None
;
11384 static PyObject
*_wrap_SpinCtrl_SetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11385 PyObject
*resultobj
;
11386 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
11389 PyObject
* obj0
= 0 ;
11390 PyObject
* obj1
= 0 ;
11391 PyObject
* obj2
= 0 ;
11392 char *kwnames
[] = {
11393 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
11396 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SpinCtrl_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11397 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinCtrl
,
11398 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11399 arg2
= (int) SWIG_AsInt(obj1
);
11400 if (PyErr_Occurred()) SWIG_fail
;
11401 arg3
= (int) SWIG_AsInt(obj2
);
11402 if (PyErr_Occurred()) SWIG_fail
;
11404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11405 (arg1
)->SetRange(arg2
,arg3
);
11407 wxPyEndAllowThreads(__tstate
);
11408 if (PyErr_Occurred()) SWIG_fail
;
11410 Py_INCREF(Py_None
); resultobj
= Py_None
;
11417 static PyObject
*_wrap_SpinCtrl_GetMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11418 PyObject
*resultobj
;
11419 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
11421 PyObject
* obj0
= 0 ;
11422 char *kwnames
[] = {
11423 (char *) "self", NULL
11426 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinCtrl_GetMin",kwnames
,&obj0
)) goto fail
;
11427 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinCtrl
,
11428 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11431 result
= (int)((wxSpinCtrl
const *)arg1
)->GetMin();
11433 wxPyEndAllowThreads(__tstate
);
11434 if (PyErr_Occurred()) SWIG_fail
;
11436 resultobj
= SWIG_FromInt((int)result
);
11443 static PyObject
*_wrap_SpinCtrl_GetMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11444 PyObject
*resultobj
;
11445 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
11447 PyObject
* obj0
= 0 ;
11448 char *kwnames
[] = {
11449 (char *) "self", NULL
11452 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinCtrl_GetMax",kwnames
,&obj0
)) goto fail
;
11453 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinCtrl
,
11454 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11457 result
= (int)((wxSpinCtrl
const *)arg1
)->GetMax();
11459 wxPyEndAllowThreads(__tstate
);
11460 if (PyErr_Occurred()) SWIG_fail
;
11462 resultobj
= SWIG_FromInt((int)result
);
11469 static PyObject
*_wrap_SpinCtrl_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11470 PyObject
*resultobj
;
11471 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
11474 PyObject
* obj0
= 0 ;
11475 PyObject
* obj1
= 0 ;
11476 PyObject
* obj2
= 0 ;
11477 char *kwnames
[] = {
11478 (char *) "self",(char *) "from",(char *) "to", NULL
11481 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SpinCtrl_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11482 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinCtrl
,
11483 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11484 arg2
= (long) SWIG_AsLong(obj1
);
11485 if (PyErr_Occurred()) SWIG_fail
;
11486 arg3
= (long) SWIG_AsLong(obj2
);
11487 if (PyErr_Occurred()) SWIG_fail
;
11489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11490 (arg1
)->SetSelection(arg2
,arg3
);
11492 wxPyEndAllowThreads(__tstate
);
11493 if (PyErr_Occurred()) SWIG_fail
;
11495 Py_INCREF(Py_None
); resultobj
= Py_None
;
11502 static PyObject
*_wrap_SpinCtrl_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11503 PyObject
*resultobj
;
11504 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
11505 wxVisualAttributes result
;
11506 PyObject
* obj0
= 0 ;
11507 char *kwnames
[] = {
11508 (char *) "variant", NULL
11511 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:SpinCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
11513 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
11514 if (PyErr_Occurred()) SWIG_fail
;
11517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11518 result
= wxSpinCtrl::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
11520 wxPyEndAllowThreads(__tstate
);
11521 if (PyErr_Occurred()) SWIG_fail
;
11524 wxVisualAttributes
* resultptr
;
11525 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
11526 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
11534 static PyObject
* SpinCtrl_swigregister(PyObject
*self
, PyObject
*args
) {
11536 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11537 SWIG_TypeClientData(SWIGTYPE_p_wxSpinCtrl
, obj
);
11539 return Py_BuildValue((char *)"");
11541 static PyObject
*_wrap_new_SpinEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11542 PyObject
*resultobj
;
11543 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
11544 int arg2
= (int) 0 ;
11545 wxSpinEvent
*result
;
11546 PyObject
* obj0
= 0 ;
11547 PyObject
* obj1
= 0 ;
11548 char *kwnames
[] = {
11549 (char *) "commandType",(char *) "winid", NULL
11552 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SpinEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
11554 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
11555 if (PyErr_Occurred()) SWIG_fail
;
11558 arg2
= (int) SWIG_AsInt(obj1
);
11559 if (PyErr_Occurred()) SWIG_fail
;
11562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11563 result
= (wxSpinEvent
*)new wxSpinEvent(arg1
,arg2
);
11565 wxPyEndAllowThreads(__tstate
);
11566 if (PyErr_Occurred()) SWIG_fail
;
11568 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSpinEvent
, 1);
11575 static PyObject
*_wrap_SpinEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11576 PyObject
*resultobj
;
11577 wxSpinEvent
*arg1
= (wxSpinEvent
*) 0 ;
11579 PyObject
* obj0
= 0 ;
11580 char *kwnames
[] = {
11581 (char *) "self", NULL
11584 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
11585 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinEvent
,
11586 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11589 result
= (int)((wxSpinEvent
const *)arg1
)->GetPosition();
11591 wxPyEndAllowThreads(__tstate
);
11592 if (PyErr_Occurred()) SWIG_fail
;
11594 resultobj
= SWIG_FromInt((int)result
);
11601 static PyObject
*_wrap_SpinEvent_SetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11602 PyObject
*resultobj
;
11603 wxSpinEvent
*arg1
= (wxSpinEvent
*) 0 ;
11605 PyObject
* obj0
= 0 ;
11606 PyObject
* obj1
= 0 ;
11607 char *kwnames
[] = {
11608 (char *) "self",(char *) "pos", NULL
11611 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
11612 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinEvent
,
11613 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11614 arg2
= (int) SWIG_AsInt(obj1
);
11615 if (PyErr_Occurred()) SWIG_fail
;
11617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11618 (arg1
)->SetPosition(arg2
);
11620 wxPyEndAllowThreads(__tstate
);
11621 if (PyErr_Occurred()) SWIG_fail
;
11623 Py_INCREF(Py_None
); resultobj
= Py_None
;
11630 static PyObject
* SpinEvent_swigregister(PyObject
*self
, PyObject
*args
) {
11632 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11633 SWIG_TypeClientData(SWIGTYPE_p_wxSpinEvent
, obj
);
11635 return Py_BuildValue((char *)"");
11637 static int _wrap_RadioBoxNameStr_set(PyObject
*_val
) {
11638 PyErr_SetString(PyExc_TypeError
,"Variable RadioBoxNameStr is read-only.");
11643 static PyObject
*_wrap_RadioBoxNameStr_get() {
11648 pyobj
= PyUnicode_FromWideChar((&wxPyRadioBoxNameStr
)->c_str(), (&wxPyRadioBoxNameStr
)->Len());
11650 pyobj
= PyString_FromStringAndSize((&wxPyRadioBoxNameStr
)->c_str(), (&wxPyRadioBoxNameStr
)->Len());
11657 static int _wrap_RadioButtonNameStr_set(PyObject
*_val
) {
11658 PyErr_SetString(PyExc_TypeError
,"Variable RadioButtonNameStr is read-only.");
11663 static PyObject
*_wrap_RadioButtonNameStr_get() {
11668 pyobj
= PyUnicode_FromWideChar((&wxPyRadioButtonNameStr
)->c_str(), (&wxPyRadioButtonNameStr
)->Len());
11670 pyobj
= PyString_FromStringAndSize((&wxPyRadioButtonNameStr
)->c_str(), (&wxPyRadioButtonNameStr
)->Len());
11677 static PyObject
*_wrap_new_RadioBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11678 PyObject
*resultobj
;
11679 wxWindow
*arg1
= (wxWindow
*) 0 ;
11680 int arg2
= (int) -1 ;
11681 wxString
const &arg3_defvalue
= wxPyEmptyString
;
11682 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
11683 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
11684 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
11685 wxSize
const &arg5_defvalue
= wxDefaultSize
;
11686 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
11687 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
11688 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
11689 int arg7
= (int) 0 ;
11690 long arg8
= (long) wxRA_HORIZONTAL
;
11691 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
11692 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
11693 wxString
const &arg10_defvalue
= wxPyRadioBoxNameStr
;
11694 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
11695 wxRadioBox
*result
;
11696 bool temp3
= False
;
11699 bool temp6
= False
;
11700 bool temp10
= False
;
11701 PyObject
* obj0
= 0 ;
11702 PyObject
* obj1
= 0 ;
11703 PyObject
* obj2
= 0 ;
11704 PyObject
* obj3
= 0 ;
11705 PyObject
* obj4
= 0 ;
11706 PyObject
* obj5
= 0 ;
11707 PyObject
* obj6
= 0 ;
11708 PyObject
* obj7
= 0 ;
11709 PyObject
* obj8
= 0 ;
11710 PyObject
* obj9
= 0 ;
11711 char *kwnames
[] = {
11712 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
11715 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOOO:new_RadioBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
11716 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
11717 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11719 arg2
= (int) SWIG_AsInt(obj1
);
11720 if (PyErr_Occurred()) SWIG_fail
;
11724 arg3
= wxString_in_helper(obj2
);
11725 if (arg3
== NULL
) SWIG_fail
;
11732 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
11738 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
11743 if (! PySequence_Check(obj5
)) {
11744 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
11747 arg6
= new wxArrayString
;
11749 int i
, len
=PySequence_Length(obj5
);
11750 for (i
=0; i
<len
; i
++) {
11751 PyObject
* item
= PySequence_GetItem(obj5
, i
);
11753 PyObject
* str
= PyObject_Unicode(item
);
11755 PyObject
* str
= PyObject_Str(item
);
11757 if (PyErr_Occurred()) SWIG_fail
;
11758 arg6
->Add(Py2wxString(str
));
11765 arg7
= (int) SWIG_AsInt(obj6
);
11766 if (PyErr_Occurred()) SWIG_fail
;
11769 arg8
= (long) SWIG_AsLong(obj7
);
11770 if (PyErr_Occurred()) SWIG_fail
;
11773 if ((SWIG_ConvertPtr(obj8
,(void **)(&arg9
),SWIGTYPE_p_wxValidator
,
11774 SWIG_POINTER_EXCEPTION
| 0)) == -1)
11776 if (arg9
== NULL
) {
11777 PyErr_SetString(PyExc_TypeError
,"null reference");
11783 arg10
= wxString_in_helper(obj9
);
11784 if (arg10
== NULL
) SWIG_fail
;
11789 if (!wxPyCheckForApp()) SWIG_fail
;
11790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11791 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
);
11793 wxPyEndAllowThreads(__tstate
);
11794 if (PyErr_Occurred()) SWIG_fail
;
11796 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRadioBox
, 1);
11802 if (temp6
) delete arg6
;
11815 if (temp6
) delete arg6
;
11825 static PyObject
*_wrap_new_PreRadioBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11826 PyObject
*resultobj
;
11827 wxRadioBox
*result
;
11828 char *kwnames
[] = {
11832 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreRadioBox",kwnames
)) goto fail
;
11834 if (!wxPyCheckForApp()) SWIG_fail
;
11835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11836 result
= (wxRadioBox
*)new wxRadioBox();
11838 wxPyEndAllowThreads(__tstate
);
11839 if (PyErr_Occurred()) SWIG_fail
;
11841 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRadioBox
, 1);
11848 static PyObject
*_wrap_RadioBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11849 PyObject
*resultobj
;
11850 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
11851 wxWindow
*arg2
= (wxWindow
*) 0 ;
11852 int arg3
= (int) -1 ;
11853 wxString
const &arg4_defvalue
= wxPyEmptyString
;
11854 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
11855 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
11856 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
11857 wxSize
const &arg6_defvalue
= wxDefaultSize
;
11858 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
11859 wxArrayString
const &arg7_defvalue
= wxPyEmptyStringArray
;
11860 wxArrayString
*arg7
= (wxArrayString
*) &arg7_defvalue
;
11861 int arg8
= (int) 0 ;
11862 long arg9
= (long) wxRA_HORIZONTAL
;
11863 wxValidator
const &arg10_defvalue
= wxDefaultValidator
;
11864 wxValidator
*arg10
= (wxValidator
*) &arg10_defvalue
;
11865 wxString
const &arg11_defvalue
= wxPyRadioBoxNameStr
;
11866 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
11868 bool temp4
= False
;
11871 bool temp7
= False
;
11872 bool temp11
= False
;
11873 PyObject
* obj0
= 0 ;
11874 PyObject
* obj1
= 0 ;
11875 PyObject
* obj2
= 0 ;
11876 PyObject
* obj3
= 0 ;
11877 PyObject
* obj4
= 0 ;
11878 PyObject
* obj5
= 0 ;
11879 PyObject
* obj6
= 0 ;
11880 PyObject
* obj7
= 0 ;
11881 PyObject
* obj8
= 0 ;
11882 PyObject
* obj9
= 0 ;
11883 PyObject
* obj10
= 0 ;
11884 char *kwnames
[] = {
11885 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
11888 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOOO:RadioBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) goto fail
;
11889 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
11890 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11891 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
11892 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11894 arg3
= (int) SWIG_AsInt(obj2
);
11895 if (PyErr_Occurred()) SWIG_fail
;
11899 arg4
= wxString_in_helper(obj3
);
11900 if (arg4
== NULL
) SWIG_fail
;
11907 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
11913 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
11918 if (! PySequence_Check(obj6
)) {
11919 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
11922 arg7
= new wxArrayString
;
11924 int i
, len
=PySequence_Length(obj6
);
11925 for (i
=0; i
<len
; i
++) {
11926 PyObject
* item
= PySequence_GetItem(obj6
, i
);
11928 PyObject
* str
= PyObject_Unicode(item
);
11930 PyObject
* str
= PyObject_Str(item
);
11932 if (PyErr_Occurred()) SWIG_fail
;
11933 arg7
->Add(Py2wxString(str
));
11940 arg8
= (int) SWIG_AsInt(obj7
);
11941 if (PyErr_Occurred()) SWIG_fail
;
11944 arg9
= (long) SWIG_AsLong(obj8
);
11945 if (PyErr_Occurred()) SWIG_fail
;
11948 if ((SWIG_ConvertPtr(obj9
,(void **)(&arg10
),SWIGTYPE_p_wxValidator
,
11949 SWIG_POINTER_EXCEPTION
| 0)) == -1)
11951 if (arg10
== NULL
) {
11952 PyErr_SetString(PyExc_TypeError
,"null reference");
11958 arg11
= wxString_in_helper(obj10
);
11959 if (arg11
== NULL
) SWIG_fail
;
11964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11965 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
);
11967 wxPyEndAllowThreads(__tstate
);
11968 if (PyErr_Occurred()) SWIG_fail
;
11971 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11978 if (temp7
) delete arg7
;
11991 if (temp7
) delete arg7
;
12001 static PyObject
*_wrap_RadioBox_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12002 PyObject
*resultobj
;
12003 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
12005 PyObject
* obj0
= 0 ;
12006 PyObject
* obj1
= 0 ;
12007 char *kwnames
[] = {
12008 (char *) "self",(char *) "n", NULL
12011 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
12012 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
12013 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12014 arg2
= (int) SWIG_AsInt(obj1
);
12015 if (PyErr_Occurred()) SWIG_fail
;
12017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12018 (arg1
)->SetSelection(arg2
);
12020 wxPyEndAllowThreads(__tstate
);
12021 if (PyErr_Occurred()) SWIG_fail
;
12023 Py_INCREF(Py_None
); resultobj
= Py_None
;
12030 static PyObject
*_wrap_RadioBox_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12031 PyObject
*resultobj
;
12032 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
12034 PyObject
* obj0
= 0 ;
12035 char *kwnames
[] = {
12036 (char *) "self", NULL
12039 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetSelection",kwnames
,&obj0
)) goto fail
;
12040 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
12041 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12044 result
= (int)((wxRadioBox
const *)arg1
)->GetSelection();
12046 wxPyEndAllowThreads(__tstate
);
12047 if (PyErr_Occurred()) SWIG_fail
;
12049 resultobj
= SWIG_FromInt((int)result
);
12056 static PyObject
*_wrap_RadioBox_GetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12057 PyObject
*resultobj
;
12058 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
12060 PyObject
* obj0
= 0 ;
12061 char *kwnames
[] = {
12062 (char *) "self", NULL
12065 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetStringSelection",kwnames
,&obj0
)) goto fail
;
12066 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
12067 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12070 result
= ((wxRadioBox
const *)arg1
)->GetStringSelection();
12072 wxPyEndAllowThreads(__tstate
);
12073 if (PyErr_Occurred()) SWIG_fail
;
12077 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12079 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12088 static PyObject
*_wrap_RadioBox_SetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12089 PyObject
*resultobj
;
12090 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
12091 wxString
*arg2
= 0 ;
12093 bool temp2
= False
;
12094 PyObject
* obj0
= 0 ;
12095 PyObject
* obj1
= 0 ;
12096 char *kwnames
[] = {
12097 (char *) "self",(char *) "s", NULL
12100 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_SetStringSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
12101 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
12102 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12104 arg2
= wxString_in_helper(obj1
);
12105 if (arg2
== NULL
) SWIG_fail
;
12109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12110 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
);
12112 wxPyEndAllowThreads(__tstate
);
12113 if (PyErr_Occurred()) SWIG_fail
;
12116 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12132 static PyObject
*_wrap_RadioBox_GetCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12133 PyObject
*resultobj
;
12134 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
12136 PyObject
* obj0
= 0 ;
12137 char *kwnames
[] = {
12138 (char *) "self", NULL
12141 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetCount",kwnames
,&obj0
)) goto fail
;
12142 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
12143 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12146 result
= (int)((wxRadioBox
const *)arg1
)->GetCount();
12148 wxPyEndAllowThreads(__tstate
);
12149 if (PyErr_Occurred()) SWIG_fail
;
12151 resultobj
= SWIG_FromInt((int)result
);
12158 static PyObject
*_wrap_RadioBox_FindString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12159 PyObject
*resultobj
;
12160 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
12161 wxString
*arg2
= 0 ;
12163 bool temp2
= False
;
12164 PyObject
* obj0
= 0 ;
12165 PyObject
* obj1
= 0 ;
12166 char *kwnames
[] = {
12167 (char *) "self",(char *) "s", NULL
12170 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_FindString",kwnames
,&obj0
,&obj1
)) goto fail
;
12171 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
12172 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12174 arg2
= wxString_in_helper(obj1
);
12175 if (arg2
== NULL
) SWIG_fail
;
12179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12180 result
= (int)((wxRadioBox
const *)arg1
)->FindString((wxString
const &)*arg2
);
12182 wxPyEndAllowThreads(__tstate
);
12183 if (PyErr_Occurred()) SWIG_fail
;
12185 resultobj
= SWIG_FromInt((int)result
);
12200 static PyObject
*_wrap_RadioBox_GetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12201 PyObject
*resultobj
;
12202 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
12205 PyObject
* obj0
= 0 ;
12206 PyObject
* obj1
= 0 ;
12207 char *kwnames
[] = {
12208 (char *) "self",(char *) "n", NULL
12211 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_GetString",kwnames
,&obj0
,&obj1
)) goto fail
;
12212 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
12213 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12214 arg2
= (int) SWIG_AsInt(obj1
);
12215 if (PyErr_Occurred()) SWIG_fail
;
12217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12218 result
= ((wxRadioBox
const *)arg1
)->GetString(arg2
);
12220 wxPyEndAllowThreads(__tstate
);
12221 if (PyErr_Occurred()) SWIG_fail
;
12225 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12227 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12236 static PyObject
*_wrap_RadioBox_SetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12237 PyObject
*resultobj
;
12238 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
12240 wxString
*arg3
= 0 ;
12241 bool temp3
= False
;
12242 PyObject
* obj0
= 0 ;
12243 PyObject
* obj1
= 0 ;
12244 PyObject
* obj2
= 0 ;
12245 char *kwnames
[] = {
12246 (char *) "self",(char *) "n",(char *) "label", NULL
12249 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:RadioBox_SetString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12250 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
12251 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12252 arg2
= (int) SWIG_AsInt(obj1
);
12253 if (PyErr_Occurred()) SWIG_fail
;
12255 arg3
= wxString_in_helper(obj2
);
12256 if (arg3
== NULL
) SWIG_fail
;
12260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12261 (arg1
)->SetString(arg2
,(wxString
const &)*arg3
);
12263 wxPyEndAllowThreads(__tstate
);
12264 if (PyErr_Occurred()) SWIG_fail
;
12266 Py_INCREF(Py_None
); resultobj
= Py_None
;
12281 static PyObject
*_wrap_RadioBox_EnableItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12282 PyObject
*resultobj
;
12283 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
12285 bool arg3
= (bool) True
;
12286 PyObject
* obj0
= 0 ;
12287 PyObject
* obj1
= 0 ;
12288 PyObject
* obj2
= 0 ;
12289 char *kwnames
[] = {
12290 (char *) "self",(char *) "n",(char *) "enable", NULL
12293 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:RadioBox_EnableItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12294 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
12295 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12296 arg2
= (int) SWIG_AsInt(obj1
);
12297 if (PyErr_Occurred()) SWIG_fail
;
12299 arg3
= (bool) SWIG_AsBool(obj2
);
12300 if (PyErr_Occurred()) SWIG_fail
;
12303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12304 (arg1
)->Enable(arg2
,arg3
);
12306 wxPyEndAllowThreads(__tstate
);
12307 if (PyErr_Occurred()) SWIG_fail
;
12309 Py_INCREF(Py_None
); resultobj
= Py_None
;
12316 static PyObject
*_wrap_RadioBox_ShowItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12317 PyObject
*resultobj
;
12318 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
12320 bool arg3
= (bool) True
;
12321 PyObject
* obj0
= 0 ;
12322 PyObject
* obj1
= 0 ;
12323 PyObject
* obj2
= 0 ;
12324 char *kwnames
[] = {
12325 (char *) "self",(char *) "n",(char *) "show", NULL
12328 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:RadioBox_ShowItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12329 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
12330 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12331 arg2
= (int) SWIG_AsInt(obj1
);
12332 if (PyErr_Occurred()) SWIG_fail
;
12334 arg3
= (bool) SWIG_AsBool(obj2
);
12335 if (PyErr_Occurred()) SWIG_fail
;
12338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12339 (arg1
)->Show(arg2
,arg3
);
12341 wxPyEndAllowThreads(__tstate
);
12342 if (PyErr_Occurred()) SWIG_fail
;
12344 Py_INCREF(Py_None
); resultobj
= Py_None
;
12351 static PyObject
*_wrap_RadioBox_GetColumnCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12352 PyObject
*resultobj
;
12353 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
12355 PyObject
* obj0
= 0 ;
12356 char *kwnames
[] = {
12357 (char *) "self", NULL
12360 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetColumnCount",kwnames
,&obj0
)) goto fail
;
12361 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
12362 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12365 result
= (int)((wxRadioBox
const *)arg1
)->GetColumnCount();
12367 wxPyEndAllowThreads(__tstate
);
12368 if (PyErr_Occurred()) SWIG_fail
;
12370 resultobj
= SWIG_FromInt((int)result
);
12377 static PyObject
*_wrap_RadioBox_GetRowCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12378 PyObject
*resultobj
;
12379 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
12381 PyObject
* obj0
= 0 ;
12382 char *kwnames
[] = {
12383 (char *) "self", NULL
12386 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetRowCount",kwnames
,&obj0
)) goto fail
;
12387 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
12388 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12391 result
= (int)((wxRadioBox
const *)arg1
)->GetRowCount();
12393 wxPyEndAllowThreads(__tstate
);
12394 if (PyErr_Occurred()) SWIG_fail
;
12396 resultobj
= SWIG_FromInt((int)result
);
12403 static PyObject
*_wrap_RadioBox_GetNextItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12404 PyObject
*resultobj
;
12405 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
12410 PyObject
* obj0
= 0 ;
12411 PyObject
* obj1
= 0 ;
12412 PyObject
* obj2
= 0 ;
12413 PyObject
* obj3
= 0 ;
12414 char *kwnames
[] = {
12415 (char *) "self",(char *) "item",(char *) "dir",(char *) "style", NULL
12418 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:RadioBox_GetNextItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
12419 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
12420 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12421 arg2
= (int) SWIG_AsInt(obj1
);
12422 if (PyErr_Occurred()) SWIG_fail
;
12423 arg3
= (wxDirection
) SWIG_AsInt(obj2
);
12424 if (PyErr_Occurred()) SWIG_fail
;
12425 arg4
= (long) SWIG_AsLong(obj3
);
12426 if (PyErr_Occurred()) SWIG_fail
;
12428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12429 result
= (int)((wxRadioBox
const *)arg1
)->GetNextItem(arg2
,(wxDirection
)arg3
,arg4
);
12431 wxPyEndAllowThreads(__tstate
);
12432 if (PyErr_Occurred()) SWIG_fail
;
12434 resultobj
= SWIG_FromInt((int)result
);
12441 static PyObject
*_wrap_RadioBox_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12442 PyObject
*resultobj
;
12443 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
12444 wxVisualAttributes result
;
12445 PyObject
* obj0
= 0 ;
12446 char *kwnames
[] = {
12447 (char *) "variant", NULL
12450 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:RadioBox_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
12452 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
12453 if (PyErr_Occurred()) SWIG_fail
;
12456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12457 result
= wxRadioBox::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
12459 wxPyEndAllowThreads(__tstate
);
12460 if (PyErr_Occurred()) SWIG_fail
;
12463 wxVisualAttributes
* resultptr
;
12464 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
12465 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
12473 static PyObject
* RadioBox_swigregister(PyObject
*self
, PyObject
*args
) {
12475 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12476 SWIG_TypeClientData(SWIGTYPE_p_wxRadioBox
, obj
);
12478 return Py_BuildValue((char *)"");
12480 static PyObject
*_wrap_new_RadioButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12481 PyObject
*resultobj
;
12482 wxWindow
*arg1
= (wxWindow
*) 0 ;
12483 int arg2
= (int) -1 ;
12484 wxString
const &arg3_defvalue
= wxPyEmptyString
;
12485 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
12486 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
12487 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
12488 wxSize
const &arg5_defvalue
= wxDefaultSize
;
12489 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
12490 long arg6
= (long) 0 ;
12491 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
12492 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
12493 wxString
const &arg8_defvalue
= wxPyRadioButtonNameStr
;
12494 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
12495 wxRadioButton
*result
;
12496 bool temp3
= False
;
12499 bool temp8
= False
;
12500 PyObject
* obj0
= 0 ;
12501 PyObject
* obj1
= 0 ;
12502 PyObject
* obj2
= 0 ;
12503 PyObject
* obj3
= 0 ;
12504 PyObject
* obj4
= 0 ;
12505 PyObject
* obj5
= 0 ;
12506 PyObject
* obj6
= 0 ;
12507 PyObject
* obj7
= 0 ;
12508 char *kwnames
[] = {
12509 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
12512 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_RadioButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
12513 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
12514 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12516 arg2
= (int) SWIG_AsInt(obj1
);
12517 if (PyErr_Occurred()) SWIG_fail
;
12521 arg3
= wxString_in_helper(obj2
);
12522 if (arg3
== NULL
) SWIG_fail
;
12529 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
12535 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
12539 arg6
= (long) SWIG_AsLong(obj5
);
12540 if (PyErr_Occurred()) SWIG_fail
;
12543 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
12544 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12546 if (arg7
== NULL
) {
12547 PyErr_SetString(PyExc_TypeError
,"null reference");
12553 arg8
= wxString_in_helper(obj7
);
12554 if (arg8
== NULL
) SWIG_fail
;
12559 if (!wxPyCheckForApp()) SWIG_fail
;
12560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12561 result
= (wxRadioButton
*)new wxRadioButton(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
12563 wxPyEndAllowThreads(__tstate
);
12564 if (PyErr_Occurred()) SWIG_fail
;
12566 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRadioButton
, 1);
12589 static PyObject
*_wrap_new_PreRadioButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12590 PyObject
*resultobj
;
12591 wxRadioButton
*result
;
12592 char *kwnames
[] = {
12596 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreRadioButton",kwnames
)) goto fail
;
12598 if (!wxPyCheckForApp()) SWIG_fail
;
12599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12600 result
= (wxRadioButton
*)new wxRadioButton();
12602 wxPyEndAllowThreads(__tstate
);
12603 if (PyErr_Occurred()) SWIG_fail
;
12605 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRadioButton
, 1);
12612 static PyObject
*_wrap_RadioButton_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12613 PyObject
*resultobj
;
12614 wxRadioButton
*arg1
= (wxRadioButton
*) 0 ;
12615 wxWindow
*arg2
= (wxWindow
*) 0 ;
12616 int arg3
= (int) -1 ;
12617 wxString
const &arg4_defvalue
= wxPyEmptyString
;
12618 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
12619 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
12620 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
12621 wxSize
const &arg6_defvalue
= wxDefaultSize
;
12622 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
12623 long arg7
= (long) 0 ;
12624 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
12625 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
12626 wxString
const &arg9_defvalue
= wxPyRadioButtonNameStr
;
12627 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
12629 bool temp4
= False
;
12632 bool temp9
= False
;
12633 PyObject
* obj0
= 0 ;
12634 PyObject
* obj1
= 0 ;
12635 PyObject
* obj2
= 0 ;
12636 PyObject
* obj3
= 0 ;
12637 PyObject
* obj4
= 0 ;
12638 PyObject
* obj5
= 0 ;
12639 PyObject
* obj6
= 0 ;
12640 PyObject
* obj7
= 0 ;
12641 PyObject
* obj8
= 0 ;
12642 char *kwnames
[] = {
12643 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
12646 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:RadioButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
12647 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioButton
,
12648 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12649 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
12650 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12652 arg3
= (int) SWIG_AsInt(obj2
);
12653 if (PyErr_Occurred()) SWIG_fail
;
12657 arg4
= wxString_in_helper(obj3
);
12658 if (arg4
== NULL
) SWIG_fail
;
12665 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
12671 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
12675 arg7
= (long) SWIG_AsLong(obj6
);
12676 if (PyErr_Occurred()) SWIG_fail
;
12679 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
12680 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12682 if (arg8
== NULL
) {
12683 PyErr_SetString(PyExc_TypeError
,"null reference");
12689 arg9
= wxString_in_helper(obj8
);
12690 if (arg9
== NULL
) SWIG_fail
;
12695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12696 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
12698 wxPyEndAllowThreads(__tstate
);
12699 if (PyErr_Occurred()) SWIG_fail
;
12702 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12726 static PyObject
*_wrap_RadioButton_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12727 PyObject
*resultobj
;
12728 wxRadioButton
*arg1
= (wxRadioButton
*) 0 ;
12730 PyObject
* obj0
= 0 ;
12731 char *kwnames
[] = {
12732 (char *) "self", NULL
12735 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioButton_GetValue",kwnames
,&obj0
)) goto fail
;
12736 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioButton
,
12737 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12740 result
= (bool)(arg1
)->GetValue();
12742 wxPyEndAllowThreads(__tstate
);
12743 if (PyErr_Occurred()) SWIG_fail
;
12746 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12754 static PyObject
*_wrap_RadioButton_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12755 PyObject
*resultobj
;
12756 wxRadioButton
*arg1
= (wxRadioButton
*) 0 ;
12758 PyObject
* obj0
= 0 ;
12759 PyObject
* obj1
= 0 ;
12760 char *kwnames
[] = {
12761 (char *) "self",(char *) "value", NULL
12764 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioButton_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
12765 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioButton
,
12766 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12767 arg2
= (bool) SWIG_AsBool(obj1
);
12768 if (PyErr_Occurred()) SWIG_fail
;
12770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12771 (arg1
)->SetValue(arg2
);
12773 wxPyEndAllowThreads(__tstate
);
12774 if (PyErr_Occurred()) SWIG_fail
;
12776 Py_INCREF(Py_None
); resultobj
= Py_None
;
12783 static PyObject
*_wrap_RadioButton_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12784 PyObject
*resultobj
;
12785 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
12786 wxVisualAttributes result
;
12787 PyObject
* obj0
= 0 ;
12788 char *kwnames
[] = {
12789 (char *) "variant", NULL
12792 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:RadioButton_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
12794 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
12795 if (PyErr_Occurred()) SWIG_fail
;
12798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12799 result
= wxRadioButton::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
12801 wxPyEndAllowThreads(__tstate
);
12802 if (PyErr_Occurred()) SWIG_fail
;
12805 wxVisualAttributes
* resultptr
;
12806 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
12807 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
12815 static PyObject
* RadioButton_swigregister(PyObject
*self
, PyObject
*args
) {
12817 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12818 SWIG_TypeClientData(SWIGTYPE_p_wxRadioButton
, obj
);
12820 return Py_BuildValue((char *)"");
12822 static int _wrap_SliderNameStr_set(PyObject
*_val
) {
12823 PyErr_SetString(PyExc_TypeError
,"Variable SliderNameStr is read-only.");
12828 static PyObject
*_wrap_SliderNameStr_get() {
12833 pyobj
= PyUnicode_FromWideChar((&wxPySliderNameStr
)->c_str(), (&wxPySliderNameStr
)->Len());
12835 pyobj
= PyString_FromStringAndSize((&wxPySliderNameStr
)->c_str(), (&wxPySliderNameStr
)->Len());
12842 static PyObject
*_wrap_new_Slider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12843 PyObject
*resultobj
;
12844 wxWindow
*arg1
= (wxWindow
*) 0 ;
12845 int arg2
= (int) -1 ;
12846 int arg3
= (int) 0 ;
12847 int arg4
= (int) 0 ;
12848 int arg5
= (int) 100 ;
12849 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
12850 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
12851 wxSize
const &arg7_defvalue
= wxDefaultSize
;
12852 wxSize
*arg7
= (wxSize
*) &arg7_defvalue
;
12853 long arg8
= (long) wxSL_HORIZONTAL
;
12854 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
12855 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
12856 wxString
const &arg10_defvalue
= wxPySliderNameStr
;
12857 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
12861 bool temp10
= False
;
12862 PyObject
* obj0
= 0 ;
12863 PyObject
* obj1
= 0 ;
12864 PyObject
* obj2
= 0 ;
12865 PyObject
* obj3
= 0 ;
12866 PyObject
* obj4
= 0 ;
12867 PyObject
* obj5
= 0 ;
12868 PyObject
* obj6
= 0 ;
12869 PyObject
* obj7
= 0 ;
12870 PyObject
* obj8
= 0 ;
12871 PyObject
* obj9
= 0 ;
12872 char *kwnames
[] = {
12873 (char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
12876 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOOO:new_Slider",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
12877 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
12878 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12880 arg2
= (int) SWIG_AsInt(obj1
);
12881 if (PyErr_Occurred()) SWIG_fail
;
12884 arg3
= (int) SWIG_AsInt(obj2
);
12885 if (PyErr_Occurred()) SWIG_fail
;
12888 arg4
= (int) SWIG_AsInt(obj3
);
12889 if (PyErr_Occurred()) SWIG_fail
;
12892 arg5
= (int) SWIG_AsInt(obj4
);
12893 if (PyErr_Occurred()) SWIG_fail
;
12898 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
12904 if ( ! wxSize_helper(obj6
, &arg7
)) SWIG_fail
;
12908 arg8
= (long) SWIG_AsLong(obj7
);
12909 if (PyErr_Occurred()) SWIG_fail
;
12912 if ((SWIG_ConvertPtr(obj8
,(void **)(&arg9
),SWIGTYPE_p_wxValidator
,
12913 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12915 if (arg9
== NULL
) {
12916 PyErr_SetString(PyExc_TypeError
,"null reference");
12922 arg10
= wxString_in_helper(obj9
);
12923 if (arg10
== NULL
) SWIG_fail
;
12928 if (!wxPyCheckForApp()) SWIG_fail
;
12929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12930 result
= (wxSlider
*)new wxSlider(arg1
,arg2
,arg3
,arg4
,arg5
,(wxPoint
const &)*arg6
,(wxSize
const &)*arg7
,arg8
,(wxValidator
const &)*arg9
,(wxString
const &)*arg10
);
12932 wxPyEndAllowThreads(__tstate
);
12933 if (PyErr_Occurred()) SWIG_fail
;
12935 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSlider
, 1);
12950 static PyObject
*_wrap_new_PreSlider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12951 PyObject
*resultobj
;
12953 char *kwnames
[] = {
12957 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSlider",kwnames
)) goto fail
;
12959 if (!wxPyCheckForApp()) SWIG_fail
;
12960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12961 result
= (wxSlider
*)new wxSlider();
12963 wxPyEndAllowThreads(__tstate
);
12964 if (PyErr_Occurred()) SWIG_fail
;
12966 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSlider
, 1);
12973 static PyObject
*_wrap_Slider_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12974 PyObject
*resultobj
;
12975 wxSlider
*arg1
= (wxSlider
*) 0 ;
12976 wxWindow
*arg2
= (wxWindow
*) 0 ;
12977 int arg3
= (int) -1 ;
12978 int arg4
= (int) 0 ;
12979 int arg5
= (int) 0 ;
12980 int arg6
= (int) 100 ;
12981 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
12982 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
12983 wxSize
const &arg8_defvalue
= wxDefaultSize
;
12984 wxSize
*arg8
= (wxSize
*) &arg8_defvalue
;
12985 long arg9
= (long) wxSL_HORIZONTAL
;
12986 wxValidator
const &arg10_defvalue
= wxDefaultValidator
;
12987 wxValidator
*arg10
= (wxValidator
*) &arg10_defvalue
;
12988 wxString
const &arg11_defvalue
= wxPySliderNameStr
;
12989 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
12993 bool temp11
= False
;
12994 PyObject
* obj0
= 0 ;
12995 PyObject
* obj1
= 0 ;
12996 PyObject
* obj2
= 0 ;
12997 PyObject
* obj3
= 0 ;
12998 PyObject
* obj4
= 0 ;
12999 PyObject
* obj5
= 0 ;
13000 PyObject
* obj6
= 0 ;
13001 PyObject
* obj7
= 0 ;
13002 PyObject
* obj8
= 0 ;
13003 PyObject
* obj9
= 0 ;
13004 PyObject
* obj10
= 0 ;
13005 char *kwnames
[] = {
13006 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
13009 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOOO:Slider_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) goto fail
;
13010 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13011 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13012 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
13013 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13015 arg3
= (int) SWIG_AsInt(obj2
);
13016 if (PyErr_Occurred()) SWIG_fail
;
13019 arg4
= (int) SWIG_AsInt(obj3
);
13020 if (PyErr_Occurred()) SWIG_fail
;
13023 arg5
= (int) SWIG_AsInt(obj4
);
13024 if (PyErr_Occurred()) SWIG_fail
;
13027 arg6
= (int) SWIG_AsInt(obj5
);
13028 if (PyErr_Occurred()) SWIG_fail
;
13033 if ( ! wxPoint_helper(obj6
, &arg7
)) SWIG_fail
;
13039 if ( ! wxSize_helper(obj7
, &arg8
)) SWIG_fail
;
13043 arg9
= (long) SWIG_AsLong(obj8
);
13044 if (PyErr_Occurred()) SWIG_fail
;
13047 if ((SWIG_ConvertPtr(obj9
,(void **)(&arg10
),SWIGTYPE_p_wxValidator
,
13048 SWIG_POINTER_EXCEPTION
| 0)) == -1)
13050 if (arg10
== NULL
) {
13051 PyErr_SetString(PyExc_TypeError
,"null reference");
13057 arg11
= wxString_in_helper(obj10
);
13058 if (arg11
== NULL
) SWIG_fail
;
13063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13064 result
= (bool)(arg1
)->Create(arg2
,arg3
,arg4
,arg5
,arg6
,(wxPoint
const &)*arg7
,(wxSize
const &)*arg8
,arg9
,(wxValidator
const &)*arg10
,(wxString
const &)*arg11
);
13066 wxPyEndAllowThreads(__tstate
);
13067 if (PyErr_Occurred()) SWIG_fail
;
13070 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13086 static PyObject
*_wrap_Slider_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13087 PyObject
*resultobj
;
13088 wxSlider
*arg1
= (wxSlider
*) 0 ;
13090 PyObject
* obj0
= 0 ;
13091 char *kwnames
[] = {
13092 (char *) "self", NULL
13095 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetValue",kwnames
,&obj0
)) goto fail
;
13096 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13097 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13100 result
= (int)((wxSlider
const *)arg1
)->GetValue();
13102 wxPyEndAllowThreads(__tstate
);
13103 if (PyErr_Occurred()) SWIG_fail
;
13105 resultobj
= SWIG_FromInt((int)result
);
13112 static PyObject
*_wrap_Slider_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13113 PyObject
*resultobj
;
13114 wxSlider
*arg1
= (wxSlider
*) 0 ;
13116 PyObject
* obj0
= 0 ;
13117 PyObject
* obj1
= 0 ;
13118 char *kwnames
[] = {
13119 (char *) "self",(char *) "value", NULL
13122 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
13123 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13124 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13125 arg2
= (int) SWIG_AsInt(obj1
);
13126 if (PyErr_Occurred()) SWIG_fail
;
13128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13129 (arg1
)->SetValue(arg2
);
13131 wxPyEndAllowThreads(__tstate
);
13132 if (PyErr_Occurred()) SWIG_fail
;
13134 Py_INCREF(Py_None
); resultobj
= Py_None
;
13141 static PyObject
*_wrap_Slider_SetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13142 PyObject
*resultobj
;
13143 wxSlider
*arg1
= (wxSlider
*) 0 ;
13146 PyObject
* obj0
= 0 ;
13147 PyObject
* obj1
= 0 ;
13148 PyObject
* obj2
= 0 ;
13149 char *kwnames
[] = {
13150 (char *) "self",(char *) "minValue",(char *) "maxValue", NULL
13153 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Slider_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13154 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13155 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13156 arg2
= (int) SWIG_AsInt(obj1
);
13157 if (PyErr_Occurred()) SWIG_fail
;
13158 arg3
= (int) SWIG_AsInt(obj2
);
13159 if (PyErr_Occurred()) SWIG_fail
;
13161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13162 (arg1
)->SetRange(arg2
,arg3
);
13164 wxPyEndAllowThreads(__tstate
);
13165 if (PyErr_Occurred()) SWIG_fail
;
13167 Py_INCREF(Py_None
); resultobj
= Py_None
;
13174 static PyObject
*_wrap_Slider_GetMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13175 PyObject
*resultobj
;
13176 wxSlider
*arg1
= (wxSlider
*) 0 ;
13178 PyObject
* obj0
= 0 ;
13179 char *kwnames
[] = {
13180 (char *) "self", NULL
13183 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetMin",kwnames
,&obj0
)) goto fail
;
13184 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13185 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13188 result
= (int)((wxSlider
const *)arg1
)->GetMin();
13190 wxPyEndAllowThreads(__tstate
);
13191 if (PyErr_Occurred()) SWIG_fail
;
13193 resultobj
= SWIG_FromInt((int)result
);
13200 static PyObject
*_wrap_Slider_GetMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13201 PyObject
*resultobj
;
13202 wxSlider
*arg1
= (wxSlider
*) 0 ;
13204 PyObject
* obj0
= 0 ;
13205 char *kwnames
[] = {
13206 (char *) "self", NULL
13209 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetMax",kwnames
,&obj0
)) goto fail
;
13210 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13211 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13214 result
= (int)((wxSlider
const *)arg1
)->GetMax();
13216 wxPyEndAllowThreads(__tstate
);
13217 if (PyErr_Occurred()) SWIG_fail
;
13219 resultobj
= SWIG_FromInt((int)result
);
13226 static PyObject
*_wrap_Slider_SetMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13227 PyObject
*resultobj
;
13228 wxSlider
*arg1
= (wxSlider
*) 0 ;
13230 PyObject
* obj0
= 0 ;
13231 PyObject
* obj1
= 0 ;
13232 char *kwnames
[] = {
13233 (char *) "self",(char *) "minValue", NULL
13236 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetMin",kwnames
,&obj0
,&obj1
)) goto fail
;
13237 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13238 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13239 arg2
= (int) SWIG_AsInt(obj1
);
13240 if (PyErr_Occurred()) SWIG_fail
;
13242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13243 (arg1
)->SetMin(arg2
);
13245 wxPyEndAllowThreads(__tstate
);
13246 if (PyErr_Occurred()) SWIG_fail
;
13248 Py_INCREF(Py_None
); resultobj
= Py_None
;
13255 static PyObject
*_wrap_Slider_SetMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13256 PyObject
*resultobj
;
13257 wxSlider
*arg1
= (wxSlider
*) 0 ;
13259 PyObject
* obj0
= 0 ;
13260 PyObject
* obj1
= 0 ;
13261 char *kwnames
[] = {
13262 (char *) "self",(char *) "maxValue", NULL
13265 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetMax",kwnames
,&obj0
,&obj1
)) goto fail
;
13266 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13267 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13268 arg2
= (int) SWIG_AsInt(obj1
);
13269 if (PyErr_Occurred()) SWIG_fail
;
13271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13272 (arg1
)->SetMax(arg2
);
13274 wxPyEndAllowThreads(__tstate
);
13275 if (PyErr_Occurred()) SWIG_fail
;
13277 Py_INCREF(Py_None
); resultobj
= Py_None
;
13284 static PyObject
*_wrap_Slider_SetLineSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13285 PyObject
*resultobj
;
13286 wxSlider
*arg1
= (wxSlider
*) 0 ;
13288 PyObject
* obj0
= 0 ;
13289 PyObject
* obj1
= 0 ;
13290 char *kwnames
[] = {
13291 (char *) "self",(char *) "lineSize", NULL
13294 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetLineSize",kwnames
,&obj0
,&obj1
)) goto fail
;
13295 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13296 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13297 arg2
= (int) SWIG_AsInt(obj1
);
13298 if (PyErr_Occurred()) SWIG_fail
;
13300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13301 (arg1
)->SetLineSize(arg2
);
13303 wxPyEndAllowThreads(__tstate
);
13304 if (PyErr_Occurred()) SWIG_fail
;
13306 Py_INCREF(Py_None
); resultobj
= Py_None
;
13313 static PyObject
*_wrap_Slider_SetPageSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13314 PyObject
*resultobj
;
13315 wxSlider
*arg1
= (wxSlider
*) 0 ;
13317 PyObject
* obj0
= 0 ;
13318 PyObject
* obj1
= 0 ;
13319 char *kwnames
[] = {
13320 (char *) "self",(char *) "pageSize", NULL
13323 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetPageSize",kwnames
,&obj0
,&obj1
)) goto fail
;
13324 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13325 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13326 arg2
= (int) SWIG_AsInt(obj1
);
13327 if (PyErr_Occurred()) SWIG_fail
;
13329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13330 (arg1
)->SetPageSize(arg2
);
13332 wxPyEndAllowThreads(__tstate
);
13333 if (PyErr_Occurred()) SWIG_fail
;
13335 Py_INCREF(Py_None
); resultobj
= Py_None
;
13342 static PyObject
*_wrap_Slider_GetLineSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13343 PyObject
*resultobj
;
13344 wxSlider
*arg1
= (wxSlider
*) 0 ;
13346 PyObject
* obj0
= 0 ;
13347 char *kwnames
[] = {
13348 (char *) "self", NULL
13351 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetLineSize",kwnames
,&obj0
)) goto fail
;
13352 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13353 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13356 result
= (int)((wxSlider
const *)arg1
)->GetLineSize();
13358 wxPyEndAllowThreads(__tstate
);
13359 if (PyErr_Occurred()) SWIG_fail
;
13361 resultobj
= SWIG_FromInt((int)result
);
13368 static PyObject
*_wrap_Slider_GetPageSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13369 PyObject
*resultobj
;
13370 wxSlider
*arg1
= (wxSlider
*) 0 ;
13372 PyObject
* obj0
= 0 ;
13373 char *kwnames
[] = {
13374 (char *) "self", NULL
13377 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetPageSize",kwnames
,&obj0
)) goto fail
;
13378 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13379 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13382 result
= (int)((wxSlider
const *)arg1
)->GetPageSize();
13384 wxPyEndAllowThreads(__tstate
);
13385 if (PyErr_Occurred()) SWIG_fail
;
13387 resultobj
= SWIG_FromInt((int)result
);
13394 static PyObject
*_wrap_Slider_SetThumbLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13395 PyObject
*resultobj
;
13396 wxSlider
*arg1
= (wxSlider
*) 0 ;
13398 PyObject
* obj0
= 0 ;
13399 PyObject
* obj1
= 0 ;
13400 char *kwnames
[] = {
13401 (char *) "self",(char *) "lenPixels", NULL
13404 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetThumbLength",kwnames
,&obj0
,&obj1
)) goto fail
;
13405 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13406 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13407 arg2
= (int) SWIG_AsInt(obj1
);
13408 if (PyErr_Occurred()) SWIG_fail
;
13410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13411 (arg1
)->SetThumbLength(arg2
);
13413 wxPyEndAllowThreads(__tstate
);
13414 if (PyErr_Occurred()) SWIG_fail
;
13416 Py_INCREF(Py_None
); resultobj
= Py_None
;
13423 static PyObject
*_wrap_Slider_GetThumbLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13424 PyObject
*resultobj
;
13425 wxSlider
*arg1
= (wxSlider
*) 0 ;
13427 PyObject
* obj0
= 0 ;
13428 char *kwnames
[] = {
13429 (char *) "self", NULL
13432 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetThumbLength",kwnames
,&obj0
)) goto fail
;
13433 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13434 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13437 result
= (int)((wxSlider
const *)arg1
)->GetThumbLength();
13439 wxPyEndAllowThreads(__tstate
);
13440 if (PyErr_Occurred()) SWIG_fail
;
13442 resultobj
= SWIG_FromInt((int)result
);
13449 static PyObject
*_wrap_Slider_SetTickFreq(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13450 PyObject
*resultobj
;
13451 wxSlider
*arg1
= (wxSlider
*) 0 ;
13453 int arg3
= (int) 1 ;
13454 PyObject
* obj0
= 0 ;
13455 PyObject
* obj1
= 0 ;
13456 PyObject
* obj2
= 0 ;
13457 char *kwnames
[] = {
13458 (char *) "self",(char *) "n",(char *) "pos", NULL
13461 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Slider_SetTickFreq",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13462 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13463 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13464 arg2
= (int) SWIG_AsInt(obj1
);
13465 if (PyErr_Occurred()) SWIG_fail
;
13467 arg3
= (int) SWIG_AsInt(obj2
);
13468 if (PyErr_Occurred()) SWIG_fail
;
13471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13472 (arg1
)->SetTickFreq(arg2
,arg3
);
13474 wxPyEndAllowThreads(__tstate
);
13475 if (PyErr_Occurred()) SWIG_fail
;
13477 Py_INCREF(Py_None
); resultobj
= Py_None
;
13484 static PyObject
*_wrap_Slider_GetTickFreq(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13485 PyObject
*resultobj
;
13486 wxSlider
*arg1
= (wxSlider
*) 0 ;
13488 PyObject
* obj0
= 0 ;
13489 char *kwnames
[] = {
13490 (char *) "self", NULL
13493 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetTickFreq",kwnames
,&obj0
)) goto fail
;
13494 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13495 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13498 result
= (int)((wxSlider
const *)arg1
)->GetTickFreq();
13500 wxPyEndAllowThreads(__tstate
);
13501 if (PyErr_Occurred()) SWIG_fail
;
13503 resultobj
= SWIG_FromInt((int)result
);
13510 static PyObject
*_wrap_Slider_ClearTicks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13511 PyObject
*resultobj
;
13512 wxSlider
*arg1
= (wxSlider
*) 0 ;
13513 PyObject
* obj0
= 0 ;
13514 char *kwnames
[] = {
13515 (char *) "self", NULL
13518 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_ClearTicks",kwnames
,&obj0
)) goto fail
;
13519 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13520 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13523 (arg1
)->ClearTicks();
13525 wxPyEndAllowThreads(__tstate
);
13526 if (PyErr_Occurred()) SWIG_fail
;
13528 Py_INCREF(Py_None
); resultobj
= Py_None
;
13535 static PyObject
*_wrap_Slider_SetTick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13536 PyObject
*resultobj
;
13537 wxSlider
*arg1
= (wxSlider
*) 0 ;
13539 PyObject
* obj0
= 0 ;
13540 PyObject
* obj1
= 0 ;
13541 char *kwnames
[] = {
13542 (char *) "self",(char *) "tickPos", NULL
13545 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetTick",kwnames
,&obj0
,&obj1
)) goto fail
;
13546 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13547 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13548 arg2
= (int) SWIG_AsInt(obj1
);
13549 if (PyErr_Occurred()) SWIG_fail
;
13551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13552 (arg1
)->SetTick(arg2
);
13554 wxPyEndAllowThreads(__tstate
);
13555 if (PyErr_Occurred()) SWIG_fail
;
13557 Py_INCREF(Py_None
); resultobj
= Py_None
;
13564 static PyObject
*_wrap_Slider_ClearSel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13565 PyObject
*resultobj
;
13566 wxSlider
*arg1
= (wxSlider
*) 0 ;
13567 PyObject
* obj0
= 0 ;
13568 char *kwnames
[] = {
13569 (char *) "self", NULL
13572 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_ClearSel",kwnames
,&obj0
)) goto fail
;
13573 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13574 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13577 (arg1
)->ClearSel();
13579 wxPyEndAllowThreads(__tstate
);
13580 if (PyErr_Occurred()) SWIG_fail
;
13582 Py_INCREF(Py_None
); resultobj
= Py_None
;
13589 static PyObject
*_wrap_Slider_GetSelEnd(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13590 PyObject
*resultobj
;
13591 wxSlider
*arg1
= (wxSlider
*) 0 ;
13593 PyObject
* obj0
= 0 ;
13594 char *kwnames
[] = {
13595 (char *) "self", NULL
13598 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetSelEnd",kwnames
,&obj0
)) goto fail
;
13599 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13600 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13603 result
= (int)((wxSlider
const *)arg1
)->GetSelEnd();
13605 wxPyEndAllowThreads(__tstate
);
13606 if (PyErr_Occurred()) SWIG_fail
;
13608 resultobj
= SWIG_FromInt((int)result
);
13615 static PyObject
*_wrap_Slider_GetSelStart(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13616 PyObject
*resultobj
;
13617 wxSlider
*arg1
= (wxSlider
*) 0 ;
13619 PyObject
* obj0
= 0 ;
13620 char *kwnames
[] = {
13621 (char *) "self", NULL
13624 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetSelStart",kwnames
,&obj0
)) goto fail
;
13625 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13626 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13629 result
= (int)((wxSlider
const *)arg1
)->GetSelStart();
13631 wxPyEndAllowThreads(__tstate
);
13632 if (PyErr_Occurred()) SWIG_fail
;
13634 resultobj
= SWIG_FromInt((int)result
);
13641 static PyObject
*_wrap_Slider_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13642 PyObject
*resultobj
;
13643 wxSlider
*arg1
= (wxSlider
*) 0 ;
13646 PyObject
* obj0
= 0 ;
13647 PyObject
* obj1
= 0 ;
13648 PyObject
* obj2
= 0 ;
13649 char *kwnames
[] = {
13650 (char *) "self",(char *) "min",(char *) "max", NULL
13653 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Slider_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13654 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13655 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13656 arg2
= (int) SWIG_AsInt(obj1
);
13657 if (PyErr_Occurred()) SWIG_fail
;
13658 arg3
= (int) SWIG_AsInt(obj2
);
13659 if (PyErr_Occurred()) SWIG_fail
;
13661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13662 (arg1
)->SetSelection(arg2
,arg3
);
13664 wxPyEndAllowThreads(__tstate
);
13665 if (PyErr_Occurred()) SWIG_fail
;
13667 Py_INCREF(Py_None
); resultobj
= Py_None
;
13674 static PyObject
*_wrap_Slider_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13675 PyObject
*resultobj
;
13676 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
13677 wxVisualAttributes result
;
13678 PyObject
* obj0
= 0 ;
13679 char *kwnames
[] = {
13680 (char *) "variant", NULL
13683 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Slider_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
13685 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
13686 if (PyErr_Occurred()) SWIG_fail
;
13689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13690 result
= wxSlider::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
13692 wxPyEndAllowThreads(__tstate
);
13693 if (PyErr_Occurred()) SWIG_fail
;
13696 wxVisualAttributes
* resultptr
;
13697 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
13698 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
13706 static PyObject
* Slider_swigregister(PyObject
*self
, PyObject
*args
) {
13708 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13709 SWIG_TypeClientData(SWIGTYPE_p_wxSlider
, obj
);
13711 return Py_BuildValue((char *)"");
13713 static int _wrap_ToggleButtonNameStr_set(PyObject
*_val
) {
13714 PyErr_SetString(PyExc_TypeError
,"Variable ToggleButtonNameStr is read-only.");
13719 static PyObject
*_wrap_ToggleButtonNameStr_get() {
13724 pyobj
= PyUnicode_FromWideChar((&wxPyToggleButtonNameStr
)->c_str(), (&wxPyToggleButtonNameStr
)->Len());
13726 pyobj
= PyString_FromStringAndSize((&wxPyToggleButtonNameStr
)->c_str(), (&wxPyToggleButtonNameStr
)->Len());
13733 static PyObject
*_wrap_new_ToggleButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13734 PyObject
*resultobj
;
13735 wxWindow
*arg1
= (wxWindow
*) 0 ;
13736 int arg2
= (int) -1 ;
13737 wxString
const &arg3_defvalue
= wxPyEmptyString
;
13738 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
13739 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
13740 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
13741 wxSize
const &arg5_defvalue
= wxDefaultSize
;
13742 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
13743 long arg6
= (long) 0 ;
13744 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
13745 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
13746 wxString
const &arg8_defvalue
= wxPyToggleButtonNameStr
;
13747 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
13748 wxToggleButton
*result
;
13749 bool temp3
= False
;
13752 bool temp8
= False
;
13753 PyObject
* obj0
= 0 ;
13754 PyObject
* obj1
= 0 ;
13755 PyObject
* obj2
= 0 ;
13756 PyObject
* obj3
= 0 ;
13757 PyObject
* obj4
= 0 ;
13758 PyObject
* obj5
= 0 ;
13759 PyObject
* obj6
= 0 ;
13760 PyObject
* obj7
= 0 ;
13761 char *kwnames
[] = {
13762 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
13765 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_ToggleButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
13766 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
13767 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13769 arg2
= (int) SWIG_AsInt(obj1
);
13770 if (PyErr_Occurred()) SWIG_fail
;
13774 arg3
= wxString_in_helper(obj2
);
13775 if (arg3
== NULL
) SWIG_fail
;
13782 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
13788 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
13792 arg6
= (long) SWIG_AsLong(obj5
);
13793 if (PyErr_Occurred()) SWIG_fail
;
13796 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
13797 SWIG_POINTER_EXCEPTION
| 0)) == -1)
13799 if (arg7
== NULL
) {
13800 PyErr_SetString(PyExc_TypeError
,"null reference");
13806 arg8
= wxString_in_helper(obj7
);
13807 if (arg8
== NULL
) SWIG_fail
;
13812 if (!wxPyCheckForApp()) SWIG_fail
;
13813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13814 result
= (wxToggleButton
*)new wxToggleButton(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
13816 wxPyEndAllowThreads(__tstate
);
13817 if (PyErr_Occurred()) SWIG_fail
;
13819 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxToggleButton
, 1);
13842 static PyObject
*_wrap_new_PreToggleButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13843 PyObject
*resultobj
;
13844 wxToggleButton
*result
;
13845 char *kwnames
[] = {
13849 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreToggleButton",kwnames
)) goto fail
;
13851 if (!wxPyCheckForApp()) SWIG_fail
;
13852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13853 result
= (wxToggleButton
*)new wxToggleButton();
13855 wxPyEndAllowThreads(__tstate
);
13856 if (PyErr_Occurred()) SWIG_fail
;
13858 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxToggleButton
, 1);
13865 static PyObject
*_wrap_ToggleButton_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13866 PyObject
*resultobj
;
13867 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
13868 wxWindow
*arg2
= (wxWindow
*) 0 ;
13869 int arg3
= (int) -1 ;
13870 wxString
const &arg4_defvalue
= wxPyEmptyString
;
13871 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
13872 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
13873 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
13874 wxSize
const &arg6_defvalue
= wxDefaultSize
;
13875 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
13876 long arg7
= (long) 0 ;
13877 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
13878 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
13879 wxString
const &arg9_defvalue
= wxPyToggleButtonNameStr
;
13880 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
13882 bool temp4
= False
;
13885 bool temp9
= False
;
13886 PyObject
* obj0
= 0 ;
13887 PyObject
* obj1
= 0 ;
13888 PyObject
* obj2
= 0 ;
13889 PyObject
* obj3
= 0 ;
13890 PyObject
* obj4
= 0 ;
13891 PyObject
* obj5
= 0 ;
13892 PyObject
* obj6
= 0 ;
13893 PyObject
* obj7
= 0 ;
13894 PyObject
* obj8
= 0 ;
13895 char *kwnames
[] = {
13896 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
13899 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:ToggleButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
13900 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToggleButton
,
13901 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13902 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
13903 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13905 arg3
= (int) SWIG_AsInt(obj2
);
13906 if (PyErr_Occurred()) SWIG_fail
;
13910 arg4
= wxString_in_helper(obj3
);
13911 if (arg4
== NULL
) SWIG_fail
;
13918 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
13924 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
13928 arg7
= (long) SWIG_AsLong(obj6
);
13929 if (PyErr_Occurred()) SWIG_fail
;
13932 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
13933 SWIG_POINTER_EXCEPTION
| 0)) == -1)
13935 if (arg8
== NULL
) {
13936 PyErr_SetString(PyExc_TypeError
,"null reference");
13942 arg9
= wxString_in_helper(obj8
);
13943 if (arg9
== NULL
) SWIG_fail
;
13948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13949 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
13951 wxPyEndAllowThreads(__tstate
);
13952 if (PyErr_Occurred()) SWIG_fail
;
13955 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13979 static PyObject
*_wrap_ToggleButton_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13980 PyObject
*resultobj
;
13981 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
13983 PyObject
* obj0
= 0 ;
13984 PyObject
* obj1
= 0 ;
13985 char *kwnames
[] = {
13986 (char *) "self",(char *) "value", NULL
13989 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToggleButton_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
13990 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToggleButton
,
13991 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13992 arg2
= (bool) SWIG_AsBool(obj1
);
13993 if (PyErr_Occurred()) SWIG_fail
;
13995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13996 (arg1
)->SetValue(arg2
);
13998 wxPyEndAllowThreads(__tstate
);
13999 if (PyErr_Occurred()) SWIG_fail
;
14001 Py_INCREF(Py_None
); resultobj
= Py_None
;
14008 static PyObject
*_wrap_ToggleButton_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14009 PyObject
*resultobj
;
14010 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
14012 PyObject
* obj0
= 0 ;
14013 char *kwnames
[] = {
14014 (char *) "self", NULL
14017 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToggleButton_GetValue",kwnames
,&obj0
)) goto fail
;
14018 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToggleButton
,
14019 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14022 result
= (bool)((wxToggleButton
const *)arg1
)->GetValue();
14024 wxPyEndAllowThreads(__tstate
);
14025 if (PyErr_Occurred()) SWIG_fail
;
14028 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14036 static PyObject
*_wrap_ToggleButton_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14037 PyObject
*resultobj
;
14038 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
14039 wxString
*arg2
= 0 ;
14040 bool temp2
= False
;
14041 PyObject
* obj0
= 0 ;
14042 PyObject
* obj1
= 0 ;
14043 char *kwnames
[] = {
14044 (char *) "self",(char *) "label", NULL
14047 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToggleButton_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
14048 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToggleButton
,
14049 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14051 arg2
= wxString_in_helper(obj1
);
14052 if (arg2
== NULL
) SWIG_fail
;
14056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14057 (arg1
)->SetLabel((wxString
const &)*arg2
);
14059 wxPyEndAllowThreads(__tstate
);
14060 if (PyErr_Occurred()) SWIG_fail
;
14062 Py_INCREF(Py_None
); resultobj
= Py_None
;
14077 static PyObject
*_wrap_ToggleButton_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14078 PyObject
*resultobj
;
14079 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
14080 wxVisualAttributes result
;
14081 PyObject
* obj0
= 0 ;
14082 char *kwnames
[] = {
14083 (char *) "variant", NULL
14086 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ToggleButton_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
14088 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
14089 if (PyErr_Occurred()) SWIG_fail
;
14092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14093 result
= wxToggleButton::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
14095 wxPyEndAllowThreads(__tstate
);
14096 if (PyErr_Occurred()) SWIG_fail
;
14099 wxVisualAttributes
* resultptr
;
14100 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
14101 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
14109 static PyObject
* ToggleButton_swigregister(PyObject
*self
, PyObject
*args
) {
14111 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14112 SWIG_TypeClientData(SWIGTYPE_p_wxToggleButton
, obj
);
14114 return Py_BuildValue((char *)"");
14116 static int _wrap_NOTEBOOK_NAME_set(PyObject
*_val
) {
14117 PyErr_SetString(PyExc_TypeError
,"Variable NOTEBOOK_NAME is read-only.");
14122 static PyObject
*_wrap_NOTEBOOK_NAME_get() {
14127 pyobj
= PyUnicode_FromWideChar((&wxPyNOTEBOOK_NAME
)->c_str(), (&wxPyNOTEBOOK_NAME
)->Len());
14129 pyobj
= PyString_FromStringAndSize((&wxPyNOTEBOOK_NAME
)->c_str(), (&wxPyNOTEBOOK_NAME
)->Len());
14136 static PyObject
*_wrap_BookCtrl_GetPageCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14137 PyObject
*resultobj
;
14138 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14140 PyObject
* obj0
= 0 ;
14141 char *kwnames
[] = {
14142 (char *) "self", NULL
14145 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrl_GetPageCount",kwnames
,&obj0
)) goto fail
;
14146 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14147 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14150 result
= (size_t)((wxBookCtrl
const *)arg1
)->GetPageCount();
14152 wxPyEndAllowThreads(__tstate
);
14153 if (PyErr_Occurred()) SWIG_fail
;
14155 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
14162 static PyObject
*_wrap_BookCtrl_GetPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14163 PyObject
*resultobj
;
14164 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14167 PyObject
* obj0
= 0 ;
14168 PyObject
* obj1
= 0 ;
14169 char *kwnames
[] = {
14170 (char *) "self",(char *) "n", NULL
14173 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_GetPage",kwnames
,&obj0
,&obj1
)) goto fail
;
14174 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14175 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14176 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
14177 if (PyErr_Occurred()) SWIG_fail
;
14179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14180 result
= (wxWindow
*)(arg1
)->GetPage(arg2
);
14182 wxPyEndAllowThreads(__tstate
);
14183 if (PyErr_Occurred()) SWIG_fail
;
14186 resultobj
= wxPyMake_wxObject(result
);
14194 static PyObject
*_wrap_BookCtrl_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14195 PyObject
*resultobj
;
14196 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14198 PyObject
* obj0
= 0 ;
14199 char *kwnames
[] = {
14200 (char *) "self", NULL
14203 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrl_GetSelection",kwnames
,&obj0
)) goto fail
;
14204 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14205 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14208 result
= (int)((wxBookCtrl
const *)arg1
)->GetSelection();
14210 wxPyEndAllowThreads(__tstate
);
14211 if (PyErr_Occurred()) SWIG_fail
;
14213 resultobj
= SWIG_FromInt((int)result
);
14220 static PyObject
*_wrap_BookCtrl_SetPageText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14221 PyObject
*resultobj
;
14222 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14224 wxString
*arg3
= 0 ;
14226 bool temp3
= False
;
14227 PyObject
* obj0
= 0 ;
14228 PyObject
* obj1
= 0 ;
14229 PyObject
* obj2
= 0 ;
14230 char *kwnames
[] = {
14231 (char *) "self",(char *) "n",(char *) "strText", NULL
14234 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BookCtrl_SetPageText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14235 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14236 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14237 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
14238 if (PyErr_Occurred()) SWIG_fail
;
14240 arg3
= wxString_in_helper(obj2
);
14241 if (arg3
== NULL
) SWIG_fail
;
14245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14246 result
= (bool)(arg1
)->SetPageText(arg2
,(wxString
const &)*arg3
);
14248 wxPyEndAllowThreads(__tstate
);
14249 if (PyErr_Occurred()) SWIG_fail
;
14252 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14268 static PyObject
*_wrap_BookCtrl_GetPageText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14269 PyObject
*resultobj
;
14270 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14273 PyObject
* obj0
= 0 ;
14274 PyObject
* obj1
= 0 ;
14275 char *kwnames
[] = {
14276 (char *) "self",(char *) "n", NULL
14279 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_GetPageText",kwnames
,&obj0
,&obj1
)) goto fail
;
14280 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14281 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14282 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
14283 if (PyErr_Occurred()) SWIG_fail
;
14285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14286 result
= ((wxBookCtrl
const *)arg1
)->GetPageText(arg2
);
14288 wxPyEndAllowThreads(__tstate
);
14289 if (PyErr_Occurred()) SWIG_fail
;
14293 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14295 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14304 static PyObject
*_wrap_BookCtrl_SetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14305 PyObject
*resultobj
;
14306 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14307 wxImageList
*arg2
= (wxImageList
*) 0 ;
14308 PyObject
* obj0
= 0 ;
14309 PyObject
* obj1
= 0 ;
14310 char *kwnames
[] = {
14311 (char *) "self",(char *) "imageList", NULL
14314 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_SetImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
14315 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14316 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14317 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImageList
,
14318 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14321 (arg1
)->SetImageList(arg2
);
14323 wxPyEndAllowThreads(__tstate
);
14324 if (PyErr_Occurred()) SWIG_fail
;
14326 Py_INCREF(Py_None
); resultobj
= Py_None
;
14333 static PyObject
*_wrap_BookCtrl_AssignImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14334 PyObject
*resultobj
;
14335 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14336 wxImageList
*arg2
= (wxImageList
*) 0 ;
14337 PyObject
* obj0
= 0 ;
14338 PyObject
* obj1
= 0 ;
14339 char *kwnames
[] = {
14340 (char *) "self",(char *) "imageList", NULL
14343 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_AssignImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
14344 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14345 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14346 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImageList
,
14347 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
14349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14350 (arg1
)->AssignImageList(arg2
);
14352 wxPyEndAllowThreads(__tstate
);
14353 if (PyErr_Occurred()) SWIG_fail
;
14355 Py_INCREF(Py_None
); resultobj
= Py_None
;
14362 static PyObject
*_wrap_BookCtrl_GetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14363 PyObject
*resultobj
;
14364 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14365 wxImageList
*result
;
14366 PyObject
* obj0
= 0 ;
14367 char *kwnames
[] = {
14368 (char *) "self", NULL
14371 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrl_GetImageList",kwnames
,&obj0
)) goto fail
;
14372 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14373 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14376 result
= (wxImageList
*)((wxBookCtrl
const *)arg1
)->GetImageList();
14378 wxPyEndAllowThreads(__tstate
);
14379 if (PyErr_Occurred()) SWIG_fail
;
14382 resultobj
= wxPyMake_wxObject(result
);
14390 static PyObject
*_wrap_BookCtrl_GetPageImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14391 PyObject
*resultobj
;
14392 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14395 PyObject
* obj0
= 0 ;
14396 PyObject
* obj1
= 0 ;
14397 char *kwnames
[] = {
14398 (char *) "self",(char *) "n", NULL
14401 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_GetPageImage",kwnames
,&obj0
,&obj1
)) goto fail
;
14402 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14403 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14404 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
14405 if (PyErr_Occurred()) SWIG_fail
;
14407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14408 result
= (int)((wxBookCtrl
const *)arg1
)->GetPageImage(arg2
);
14410 wxPyEndAllowThreads(__tstate
);
14411 if (PyErr_Occurred()) SWIG_fail
;
14413 resultobj
= SWIG_FromInt((int)result
);
14420 static PyObject
*_wrap_BookCtrl_SetPageImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14421 PyObject
*resultobj
;
14422 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14426 PyObject
* obj0
= 0 ;
14427 PyObject
* obj1
= 0 ;
14428 PyObject
* obj2
= 0 ;
14429 char *kwnames
[] = {
14430 (char *) "self",(char *) "n",(char *) "imageId", NULL
14433 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BookCtrl_SetPageImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14434 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14435 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14436 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
14437 if (PyErr_Occurred()) SWIG_fail
;
14438 arg3
= (int) SWIG_AsInt(obj2
);
14439 if (PyErr_Occurred()) SWIG_fail
;
14441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14442 result
= (bool)(arg1
)->SetPageImage(arg2
,arg3
);
14444 wxPyEndAllowThreads(__tstate
);
14445 if (PyErr_Occurred()) SWIG_fail
;
14448 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14456 static PyObject
*_wrap_BookCtrl_SetPageSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14457 PyObject
*resultobj
;
14458 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14461 PyObject
* obj0
= 0 ;
14462 PyObject
* obj1
= 0 ;
14463 char *kwnames
[] = {
14464 (char *) "self",(char *) "size", NULL
14467 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_SetPageSize",kwnames
,&obj0
,&obj1
)) goto fail
;
14468 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14469 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14472 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
14475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14476 (arg1
)->SetPageSize((wxSize
const &)*arg2
);
14478 wxPyEndAllowThreads(__tstate
);
14479 if (PyErr_Occurred()) SWIG_fail
;
14481 Py_INCREF(Py_None
); resultobj
= Py_None
;
14488 static PyObject
*_wrap_BookCtrl_CalcSizeFromPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14489 PyObject
*resultobj
;
14490 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14494 PyObject
* obj0
= 0 ;
14495 PyObject
* obj1
= 0 ;
14496 char *kwnames
[] = {
14497 (char *) "self",(char *) "sizePage", NULL
14500 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_CalcSizeFromPage",kwnames
,&obj0
,&obj1
)) goto fail
;
14501 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14502 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14505 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
14508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14509 result
= ((wxBookCtrl
const *)arg1
)->CalcSizeFromPage((wxSize
const &)*arg2
);
14511 wxPyEndAllowThreads(__tstate
);
14512 if (PyErr_Occurred()) SWIG_fail
;
14515 wxSize
* resultptr
;
14516 resultptr
= new wxSize((wxSize
&) result
);
14517 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
14525 static PyObject
*_wrap_BookCtrl_DeletePage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14526 PyObject
*resultobj
;
14527 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14530 PyObject
* obj0
= 0 ;
14531 PyObject
* obj1
= 0 ;
14532 char *kwnames
[] = {
14533 (char *) "self",(char *) "n", NULL
14536 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_DeletePage",kwnames
,&obj0
,&obj1
)) goto fail
;
14537 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14538 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14539 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
14540 if (PyErr_Occurred()) SWIG_fail
;
14542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14543 result
= (bool)(arg1
)->DeletePage(arg2
);
14545 wxPyEndAllowThreads(__tstate
);
14546 if (PyErr_Occurred()) SWIG_fail
;
14549 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14557 static PyObject
*_wrap_BookCtrl_RemovePage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14558 PyObject
*resultobj
;
14559 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14562 PyObject
* obj0
= 0 ;
14563 PyObject
* obj1
= 0 ;
14564 char *kwnames
[] = {
14565 (char *) "self",(char *) "n", NULL
14568 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_RemovePage",kwnames
,&obj0
,&obj1
)) goto fail
;
14569 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14570 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14571 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
14572 if (PyErr_Occurred()) SWIG_fail
;
14574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14575 result
= (bool)(arg1
)->RemovePage(arg2
);
14577 wxPyEndAllowThreads(__tstate
);
14578 if (PyErr_Occurred()) SWIG_fail
;
14581 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14589 static PyObject
*_wrap_BookCtrl_DeleteAllPages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14590 PyObject
*resultobj
;
14591 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14593 PyObject
* obj0
= 0 ;
14594 char *kwnames
[] = {
14595 (char *) "self", NULL
14598 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrl_DeleteAllPages",kwnames
,&obj0
)) goto fail
;
14599 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14600 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14603 result
= (bool)(arg1
)->DeleteAllPages();
14605 wxPyEndAllowThreads(__tstate
);
14606 if (PyErr_Occurred()) SWIG_fail
;
14609 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14617 static PyObject
*_wrap_BookCtrl_AddPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14618 PyObject
*resultobj
;
14619 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14620 wxWindow
*arg2
= (wxWindow
*) 0 ;
14621 wxString
*arg3
= 0 ;
14622 bool arg4
= (bool) False
;
14623 int arg5
= (int) -1 ;
14625 bool temp3
= False
;
14626 PyObject
* obj0
= 0 ;
14627 PyObject
* obj1
= 0 ;
14628 PyObject
* obj2
= 0 ;
14629 PyObject
* obj3
= 0 ;
14630 PyObject
* obj4
= 0 ;
14631 char *kwnames
[] = {
14632 (char *) "self",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
14635 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:BookCtrl_AddPage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
14636 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14637 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14638 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
14639 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14641 arg3
= wxString_in_helper(obj2
);
14642 if (arg3
== NULL
) SWIG_fail
;
14646 arg4
= (bool) SWIG_AsBool(obj3
);
14647 if (PyErr_Occurred()) SWIG_fail
;
14650 arg5
= (int) SWIG_AsInt(obj4
);
14651 if (PyErr_Occurred()) SWIG_fail
;
14654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14655 result
= (bool)(arg1
)->AddPage(arg2
,(wxString
const &)*arg3
,arg4
,arg5
);
14657 wxPyEndAllowThreads(__tstate
);
14658 if (PyErr_Occurred()) SWIG_fail
;
14661 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14677 static PyObject
*_wrap_BookCtrl_InsertPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14678 PyObject
*resultobj
;
14679 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14681 wxWindow
*arg3
= (wxWindow
*) 0 ;
14682 wxString
*arg4
= 0 ;
14683 bool arg5
= (bool) False
;
14684 int arg6
= (int) -1 ;
14686 bool temp4
= False
;
14687 PyObject
* obj0
= 0 ;
14688 PyObject
* obj1
= 0 ;
14689 PyObject
* obj2
= 0 ;
14690 PyObject
* obj3
= 0 ;
14691 PyObject
* obj4
= 0 ;
14692 PyObject
* obj5
= 0 ;
14693 char *kwnames
[] = {
14694 (char *) "self",(char *) "n",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
14697 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:BookCtrl_InsertPage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
14698 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14699 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14700 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
14701 if (PyErr_Occurred()) SWIG_fail
;
14702 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
14703 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14705 arg4
= wxString_in_helper(obj3
);
14706 if (arg4
== NULL
) SWIG_fail
;
14710 arg5
= (bool) SWIG_AsBool(obj4
);
14711 if (PyErr_Occurred()) SWIG_fail
;
14714 arg6
= (int) SWIG_AsInt(obj5
);
14715 if (PyErr_Occurred()) SWIG_fail
;
14718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14719 result
= (bool)(arg1
)->InsertPage(arg2
,arg3
,(wxString
const &)*arg4
,arg5
,arg6
);
14721 wxPyEndAllowThreads(__tstate
);
14722 if (PyErr_Occurred()) SWIG_fail
;
14725 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14741 static PyObject
*_wrap_BookCtrl_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14742 PyObject
*resultobj
;
14743 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14746 PyObject
* obj0
= 0 ;
14747 PyObject
* obj1
= 0 ;
14748 char *kwnames
[] = {
14749 (char *) "self",(char *) "n", NULL
14752 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
14753 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14754 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14755 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
14756 if (PyErr_Occurred()) SWIG_fail
;
14758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14759 result
= (int)(arg1
)->SetSelection(arg2
);
14761 wxPyEndAllowThreads(__tstate
);
14762 if (PyErr_Occurred()) SWIG_fail
;
14764 resultobj
= SWIG_FromInt((int)result
);
14771 static PyObject
*_wrap_BookCtrl_AdvanceSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14772 PyObject
*resultobj
;
14773 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14774 bool arg2
= (bool) True
;
14775 PyObject
* obj0
= 0 ;
14776 PyObject
* obj1
= 0 ;
14777 char *kwnames
[] = {
14778 (char *) "self",(char *) "forward", NULL
14781 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:BookCtrl_AdvanceSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
14782 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14783 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14785 arg2
= (bool) SWIG_AsBool(obj1
);
14786 if (PyErr_Occurred()) SWIG_fail
;
14789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14790 (arg1
)->AdvanceSelection(arg2
);
14792 wxPyEndAllowThreads(__tstate
);
14793 if (PyErr_Occurred()) SWIG_fail
;
14795 Py_INCREF(Py_None
); resultobj
= Py_None
;
14802 static PyObject
*_wrap_BookCtrl_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14803 PyObject
*resultobj
;
14804 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
14805 wxVisualAttributes result
;
14806 PyObject
* obj0
= 0 ;
14807 char *kwnames
[] = {
14808 (char *) "variant", NULL
14811 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:BookCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
14813 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
14814 if (PyErr_Occurred()) SWIG_fail
;
14817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14818 result
= wxBookCtrl::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
14820 wxPyEndAllowThreads(__tstate
);
14821 if (PyErr_Occurred()) SWIG_fail
;
14824 wxVisualAttributes
* resultptr
;
14825 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
14826 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
14834 static PyObject
* BookCtrl_swigregister(PyObject
*self
, PyObject
*args
) {
14836 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14837 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrl
, obj
);
14839 return Py_BuildValue((char *)"");
14841 static PyObject
*_wrap_new_BookCtrlEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14842 PyObject
*resultobj
;
14843 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
14844 int arg2
= (int) 0 ;
14845 int arg3
= (int) -1 ;
14846 int arg4
= (int) -1 ;
14847 wxBookCtrlEvent
*result
;
14848 PyObject
* obj0
= 0 ;
14849 PyObject
* obj1
= 0 ;
14850 PyObject
* obj2
= 0 ;
14851 PyObject
* obj3
= 0 ;
14852 char *kwnames
[] = {
14853 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
14856 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_BookCtrlEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
14858 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
14859 if (PyErr_Occurred()) SWIG_fail
;
14862 arg2
= (int) SWIG_AsInt(obj1
);
14863 if (PyErr_Occurred()) SWIG_fail
;
14866 arg3
= (int) SWIG_AsInt(obj2
);
14867 if (PyErr_Occurred()) SWIG_fail
;
14870 arg4
= (int) SWIG_AsInt(obj3
);
14871 if (PyErr_Occurred()) SWIG_fail
;
14874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14875 result
= (wxBookCtrlEvent
*)new wxBookCtrlEvent(arg1
,arg2
,arg3
,arg4
);
14877 wxPyEndAllowThreads(__tstate
);
14878 if (PyErr_Occurred()) SWIG_fail
;
14880 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBookCtrlEvent
, 1);
14887 static PyObject
*_wrap_BookCtrlEvent_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14888 PyObject
*resultobj
;
14889 wxBookCtrlEvent
*arg1
= (wxBookCtrlEvent
*) 0 ;
14891 PyObject
* obj0
= 0 ;
14892 char *kwnames
[] = {
14893 (char *) "self", NULL
14896 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlEvent_GetSelection",kwnames
,&obj0
)) goto fail
;
14897 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrlEvent
,
14898 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14901 result
= (int)((wxBookCtrlEvent
const *)arg1
)->GetSelection();
14903 wxPyEndAllowThreads(__tstate
);
14904 if (PyErr_Occurred()) SWIG_fail
;
14906 resultobj
= SWIG_FromInt((int)result
);
14913 static PyObject
*_wrap_BookCtrlEvent_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14914 PyObject
*resultobj
;
14915 wxBookCtrlEvent
*arg1
= (wxBookCtrlEvent
*) 0 ;
14917 PyObject
* obj0
= 0 ;
14918 PyObject
* obj1
= 0 ;
14919 char *kwnames
[] = {
14920 (char *) "self",(char *) "nSel", NULL
14923 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlEvent_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
14924 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrlEvent
,
14925 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14926 arg2
= (int) SWIG_AsInt(obj1
);
14927 if (PyErr_Occurred()) SWIG_fail
;
14929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14930 (arg1
)->SetSelection(arg2
);
14932 wxPyEndAllowThreads(__tstate
);
14933 if (PyErr_Occurred()) SWIG_fail
;
14935 Py_INCREF(Py_None
); resultobj
= Py_None
;
14942 static PyObject
*_wrap_BookCtrlEvent_GetOldSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14943 PyObject
*resultobj
;
14944 wxBookCtrlEvent
*arg1
= (wxBookCtrlEvent
*) 0 ;
14946 PyObject
* obj0
= 0 ;
14947 char *kwnames
[] = {
14948 (char *) "self", NULL
14951 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlEvent_GetOldSelection",kwnames
,&obj0
)) goto fail
;
14952 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrlEvent
,
14953 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14956 result
= (int)((wxBookCtrlEvent
const *)arg1
)->GetOldSelection();
14958 wxPyEndAllowThreads(__tstate
);
14959 if (PyErr_Occurred()) SWIG_fail
;
14961 resultobj
= SWIG_FromInt((int)result
);
14968 static PyObject
*_wrap_BookCtrlEvent_SetOldSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14969 PyObject
*resultobj
;
14970 wxBookCtrlEvent
*arg1
= (wxBookCtrlEvent
*) 0 ;
14972 PyObject
* obj0
= 0 ;
14973 PyObject
* obj1
= 0 ;
14974 char *kwnames
[] = {
14975 (char *) "self",(char *) "nOldSel", NULL
14978 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlEvent_SetOldSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
14979 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrlEvent
,
14980 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14981 arg2
= (int) SWIG_AsInt(obj1
);
14982 if (PyErr_Occurred()) SWIG_fail
;
14984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14985 (arg1
)->SetOldSelection(arg2
);
14987 wxPyEndAllowThreads(__tstate
);
14988 if (PyErr_Occurred()) SWIG_fail
;
14990 Py_INCREF(Py_None
); resultobj
= Py_None
;
14997 static PyObject
* BookCtrlEvent_swigregister(PyObject
*self
, PyObject
*args
) {
14999 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15000 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrlEvent
, obj
);
15002 return Py_BuildValue((char *)"");
15004 static PyObject
*_wrap_new_Notebook(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15005 PyObject
*resultobj
;
15006 wxWindow
*arg1
= (wxWindow
*) 0 ;
15007 int arg2
= (int) -1 ;
15008 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
15009 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
15010 wxSize
const &arg4_defvalue
= wxDefaultSize
;
15011 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
15012 long arg5
= (long) 0 ;
15013 wxString
const &arg6_defvalue
= wxPyNOTEBOOK_NAME
;
15014 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
15015 wxNotebook
*result
;
15018 bool temp6
= False
;
15019 PyObject
* obj0
= 0 ;
15020 PyObject
* obj1
= 0 ;
15021 PyObject
* obj2
= 0 ;
15022 PyObject
* obj3
= 0 ;
15023 PyObject
* obj4
= 0 ;
15024 PyObject
* obj5
= 0 ;
15025 char *kwnames
[] = {
15026 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15029 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_Notebook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
15030 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
15031 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15033 arg2
= (int) SWIG_AsInt(obj1
);
15034 if (PyErr_Occurred()) SWIG_fail
;
15039 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
15045 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
15049 arg5
= (long) SWIG_AsLong(obj4
);
15050 if (PyErr_Occurred()) SWIG_fail
;
15054 arg6
= wxString_in_helper(obj5
);
15055 if (arg6
== NULL
) SWIG_fail
;
15060 if (!wxPyCheckForApp()) SWIG_fail
;
15061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15062 result
= (wxNotebook
*)new wxNotebook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
15064 wxPyEndAllowThreads(__tstate
);
15065 if (PyErr_Occurred()) SWIG_fail
;
15068 resultobj
= wxPyMake_wxObject(result
);
15084 static PyObject
*_wrap_new_PreNotebook(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15085 PyObject
*resultobj
;
15086 wxNotebook
*result
;
15087 char *kwnames
[] = {
15091 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreNotebook",kwnames
)) goto fail
;
15093 if (!wxPyCheckForApp()) SWIG_fail
;
15094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15095 result
= (wxNotebook
*)new wxNotebook();
15097 wxPyEndAllowThreads(__tstate
);
15098 if (PyErr_Occurred()) SWIG_fail
;
15101 resultobj
= wxPyMake_wxObject(result
);
15109 static PyObject
*_wrap_Notebook_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15110 PyObject
*resultobj
;
15111 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
15112 wxWindow
*arg2
= (wxWindow
*) 0 ;
15113 int arg3
= (int) -1 ;
15114 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
15115 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
15116 wxSize
const &arg5_defvalue
= wxDefaultSize
;
15117 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
15118 long arg6
= (long) 0 ;
15119 wxString
const &arg7_defvalue
= wxPyNOTEBOOK_NAME
;
15120 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
15124 bool temp7
= False
;
15125 PyObject
* obj0
= 0 ;
15126 PyObject
* obj1
= 0 ;
15127 PyObject
* obj2
= 0 ;
15128 PyObject
* obj3
= 0 ;
15129 PyObject
* obj4
= 0 ;
15130 PyObject
* obj5
= 0 ;
15131 PyObject
* obj6
= 0 ;
15132 char *kwnames
[] = {
15133 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15136 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:Notebook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
15137 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebook
,
15138 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15139 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
15140 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15142 arg3
= (int) SWIG_AsInt(obj2
);
15143 if (PyErr_Occurred()) SWIG_fail
;
15148 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
15154 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
15158 arg6
= (long) SWIG_AsLong(obj5
);
15159 if (PyErr_Occurred()) SWIG_fail
;
15163 arg7
= wxString_in_helper(obj6
);
15164 if (arg7
== NULL
) SWIG_fail
;
15169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15170 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
15172 wxPyEndAllowThreads(__tstate
);
15173 if (PyErr_Occurred()) SWIG_fail
;
15176 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15192 static PyObject
*_wrap_Notebook_GetRowCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15193 PyObject
*resultobj
;
15194 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
15196 PyObject
* obj0
= 0 ;
15197 char *kwnames
[] = {
15198 (char *) "self", NULL
15201 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Notebook_GetRowCount",kwnames
,&obj0
)) goto fail
;
15202 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebook
,
15203 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15206 result
= (int)((wxNotebook
const *)arg1
)->GetRowCount();
15208 wxPyEndAllowThreads(__tstate
);
15209 if (PyErr_Occurred()) SWIG_fail
;
15211 resultobj
= SWIG_FromInt((int)result
);
15218 static PyObject
*_wrap_Notebook_SetPadding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15219 PyObject
*resultobj
;
15220 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
15223 PyObject
* obj0
= 0 ;
15224 PyObject
* obj1
= 0 ;
15225 char *kwnames
[] = {
15226 (char *) "self",(char *) "padding", NULL
15229 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_SetPadding",kwnames
,&obj0
,&obj1
)) goto fail
;
15230 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebook
,
15231 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15234 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
15237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15238 (arg1
)->SetPadding((wxSize
const &)*arg2
);
15240 wxPyEndAllowThreads(__tstate
);
15241 if (PyErr_Occurred()) SWIG_fail
;
15243 Py_INCREF(Py_None
); resultobj
= Py_None
;
15250 static PyObject
*_wrap_Notebook_SetTabSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15251 PyObject
*resultobj
;
15252 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
15255 PyObject
* obj0
= 0 ;
15256 PyObject
* obj1
= 0 ;
15257 char *kwnames
[] = {
15258 (char *) "self",(char *) "sz", NULL
15261 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_SetTabSize",kwnames
,&obj0
,&obj1
)) goto fail
;
15262 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebook
,
15263 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15266 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
15269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15270 (arg1
)->SetTabSize((wxSize
const &)*arg2
);
15272 wxPyEndAllowThreads(__tstate
);
15273 if (PyErr_Occurred()) SWIG_fail
;
15275 Py_INCREF(Py_None
); resultobj
= Py_None
;
15282 static PyObject
*_wrap_Notebook_HitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15283 PyObject
*resultobj
;
15284 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
15285 wxPoint
*arg2
= 0 ;
15286 long *arg3
= (long *) 0 ;
15290 PyObject
* obj0
= 0 ;
15291 PyObject
* obj1
= 0 ;
15292 char *kwnames
[] = {
15293 (char *) "self",(char *) "pt", NULL
15297 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
15298 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebook
,
15299 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15302 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
15305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15306 result
= (int)((wxNotebook
const *)arg1
)->HitTest((wxPoint
const &)*arg2
,arg3
);
15308 wxPyEndAllowThreads(__tstate
);
15309 if (PyErr_Occurred()) SWIG_fail
;
15311 resultobj
= SWIG_FromInt((int)result
);
15313 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
15314 resultobj
= t_output_helper(resultobj
,o
);
15322 static PyObject
*_wrap_Notebook_CalcSizeFromPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15323 PyObject
*resultobj
;
15324 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
15328 PyObject
* obj0
= 0 ;
15329 PyObject
* obj1
= 0 ;
15330 char *kwnames
[] = {
15331 (char *) "self",(char *) "sizePage", NULL
15334 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_CalcSizeFromPage",kwnames
,&obj0
,&obj1
)) goto fail
;
15335 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebook
,
15336 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15339 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
15342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15343 result
= ((wxNotebook
const *)arg1
)->CalcSizeFromPage((wxSize
const &)*arg2
);
15345 wxPyEndAllowThreads(__tstate
);
15346 if (PyErr_Occurred()) SWIG_fail
;
15349 wxSize
* resultptr
;
15350 resultptr
= new wxSize((wxSize
&) result
);
15351 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
15359 static PyObject
*_wrap_Notebook_ApplyThemeBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15360 PyObject
*resultobj
;
15361 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
15362 wxWindow
*arg2
= (wxWindow
*) 0 ;
15363 wxColour
*arg3
= 0 ;
15365 PyObject
* obj0
= 0 ;
15366 PyObject
* obj1
= 0 ;
15367 PyObject
* obj2
= 0 ;
15368 char *kwnames
[] = {
15369 (char *) "self",(char *) "window",(char *) "colour", NULL
15372 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Notebook_ApplyThemeBackground",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15373 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebook
,
15374 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15375 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
15376 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15379 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
15382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15383 (arg1
)->ApplyThemeBackground(arg2
,(wxColour
const &)*arg3
);
15385 wxPyEndAllowThreads(__tstate
);
15386 if (PyErr_Occurred()) SWIG_fail
;
15388 Py_INCREF(Py_None
); resultobj
= Py_None
;
15395 static PyObject
*_wrap_Notebook_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15396 PyObject
*resultobj
;
15397 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
15398 wxVisualAttributes result
;
15399 PyObject
* obj0
= 0 ;
15400 char *kwnames
[] = {
15401 (char *) "variant", NULL
15404 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Notebook_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
15406 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
15407 if (PyErr_Occurred()) SWIG_fail
;
15410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15411 result
= wxNotebook::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
15413 wxPyEndAllowThreads(__tstate
);
15414 if (PyErr_Occurred()) SWIG_fail
;
15417 wxVisualAttributes
* resultptr
;
15418 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
15419 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
15427 static PyObject
* Notebook_swigregister(PyObject
*self
, PyObject
*args
) {
15429 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15430 SWIG_TypeClientData(SWIGTYPE_p_wxNotebook
, obj
);
15432 return Py_BuildValue((char *)"");
15434 static PyObject
*_wrap_new_NotebookEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15435 PyObject
*resultobj
;
15436 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
15437 int arg2
= (int) 0 ;
15438 int arg3
= (int) -1 ;
15439 int arg4
= (int) -1 ;
15440 wxNotebookEvent
*result
;
15441 PyObject
* obj0
= 0 ;
15442 PyObject
* obj1
= 0 ;
15443 PyObject
* obj2
= 0 ;
15444 PyObject
* obj3
= 0 ;
15445 char *kwnames
[] = {
15446 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
15449 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_NotebookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
15451 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
15452 if (PyErr_Occurred()) SWIG_fail
;
15455 arg2
= (int) SWIG_AsInt(obj1
);
15456 if (PyErr_Occurred()) SWIG_fail
;
15459 arg3
= (int) SWIG_AsInt(obj2
);
15460 if (PyErr_Occurred()) SWIG_fail
;
15463 arg4
= (int) SWIG_AsInt(obj3
);
15464 if (PyErr_Occurred()) SWIG_fail
;
15467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15468 result
= (wxNotebookEvent
*)new wxNotebookEvent(arg1
,arg2
,arg3
,arg4
);
15470 wxPyEndAllowThreads(__tstate
);
15471 if (PyErr_Occurred()) SWIG_fail
;
15473 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNotebookEvent
, 1);
15480 static PyObject
* NotebookEvent_swigregister(PyObject
*self
, PyObject
*args
) {
15482 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15483 SWIG_TypeClientData(SWIGTYPE_p_wxNotebookEvent
, obj
);
15485 return Py_BuildValue((char *)"");
15487 static PyObject
*_wrap_new_Listbook(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15488 PyObject
*resultobj
;
15489 wxWindow
*arg1
= (wxWindow
*) 0 ;
15490 int arg2
= (int) -1 ;
15491 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
15492 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
15493 wxSize
const &arg4_defvalue
= wxDefaultSize
;
15494 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
15495 long arg5
= (long) 0 ;
15496 wxString
const &arg6_defvalue
= wxPyEmptyString
;
15497 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
15498 wxListbook
*result
;
15501 bool temp6
= False
;
15502 PyObject
* obj0
= 0 ;
15503 PyObject
* obj1
= 0 ;
15504 PyObject
* obj2
= 0 ;
15505 PyObject
* obj3
= 0 ;
15506 PyObject
* obj4
= 0 ;
15507 PyObject
* obj5
= 0 ;
15508 char *kwnames
[] = {
15509 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15512 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_Listbook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
15513 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
15514 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15516 arg2
= (int) SWIG_AsInt(obj1
);
15517 if (PyErr_Occurred()) SWIG_fail
;
15522 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
15528 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
15532 arg5
= (long) SWIG_AsLong(obj4
);
15533 if (PyErr_Occurred()) SWIG_fail
;
15537 arg6
= wxString_in_helper(obj5
);
15538 if (arg6
== NULL
) SWIG_fail
;
15543 if (!wxPyCheckForApp()) SWIG_fail
;
15544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15545 result
= (wxListbook
*)new wxListbook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
15547 wxPyEndAllowThreads(__tstate
);
15548 if (PyErr_Occurred()) SWIG_fail
;
15550 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListbook
, 1);
15565 static PyObject
*_wrap_new_PreListbook(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15566 PyObject
*resultobj
;
15567 wxListbook
*result
;
15568 char *kwnames
[] = {
15572 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreListbook",kwnames
)) goto fail
;
15574 if (!wxPyCheckForApp()) SWIG_fail
;
15575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15576 result
= (wxListbook
*)new wxListbook();
15578 wxPyEndAllowThreads(__tstate
);
15579 if (PyErr_Occurred()) SWIG_fail
;
15581 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListbook
, 1);
15588 static PyObject
*_wrap_Listbook_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15589 PyObject
*resultobj
;
15590 wxListbook
*arg1
= (wxListbook
*) 0 ;
15591 wxWindow
*arg2
= (wxWindow
*) 0 ;
15592 int arg3
= (int) -1 ;
15593 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
15594 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
15595 wxSize
const &arg5_defvalue
= wxDefaultSize
;
15596 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
15597 long arg6
= (long) 0 ;
15598 wxString
const &arg7_defvalue
= wxPyEmptyString
;
15599 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
15603 bool temp7
= False
;
15604 PyObject
* obj0
= 0 ;
15605 PyObject
* obj1
= 0 ;
15606 PyObject
* obj2
= 0 ;
15607 PyObject
* obj3
= 0 ;
15608 PyObject
* obj4
= 0 ;
15609 PyObject
* obj5
= 0 ;
15610 PyObject
* obj6
= 0 ;
15611 char *kwnames
[] = {
15612 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15615 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:Listbook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
15616 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListbook
,
15617 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15618 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
15619 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15621 arg3
= (int) SWIG_AsInt(obj2
);
15622 if (PyErr_Occurred()) SWIG_fail
;
15627 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
15633 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
15637 arg6
= (long) SWIG_AsLong(obj5
);
15638 if (PyErr_Occurred()) SWIG_fail
;
15642 arg7
= wxString_in_helper(obj6
);
15643 if (arg7
== NULL
) SWIG_fail
;
15648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15649 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
15651 wxPyEndAllowThreads(__tstate
);
15652 if (PyErr_Occurred()) SWIG_fail
;
15655 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15671 static PyObject
*_wrap_Listbook_IsVertical(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15672 PyObject
*resultobj
;
15673 wxListbook
*arg1
= (wxListbook
*) 0 ;
15675 PyObject
* obj0
= 0 ;
15676 char *kwnames
[] = {
15677 (char *) "self", NULL
15680 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Listbook_IsVertical",kwnames
,&obj0
)) goto fail
;
15681 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListbook
,
15682 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15685 result
= (bool)((wxListbook
const *)arg1
)->IsVertical();
15687 wxPyEndAllowThreads(__tstate
);
15688 if (PyErr_Occurred()) SWIG_fail
;
15691 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15699 static PyObject
* Listbook_swigregister(PyObject
*self
, PyObject
*args
) {
15701 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15702 SWIG_TypeClientData(SWIGTYPE_p_wxListbook
, obj
);
15704 return Py_BuildValue((char *)"");
15706 static PyObject
*_wrap_new_ListbookEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15707 PyObject
*resultobj
;
15708 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
15709 int arg2
= (int) 0 ;
15710 int arg3
= (int) -1 ;
15711 int arg4
= (int) -1 ;
15712 wxListbookEvent
*result
;
15713 PyObject
* obj0
= 0 ;
15714 PyObject
* obj1
= 0 ;
15715 PyObject
* obj2
= 0 ;
15716 PyObject
* obj3
= 0 ;
15717 char *kwnames
[] = {
15718 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
15721 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_ListbookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
15723 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
15724 if (PyErr_Occurred()) SWIG_fail
;
15727 arg2
= (int) SWIG_AsInt(obj1
);
15728 if (PyErr_Occurred()) SWIG_fail
;
15731 arg3
= (int) SWIG_AsInt(obj2
);
15732 if (PyErr_Occurred()) SWIG_fail
;
15735 arg4
= (int) SWIG_AsInt(obj3
);
15736 if (PyErr_Occurred()) SWIG_fail
;
15739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15740 result
= (wxListbookEvent
*)new wxListbookEvent(arg1
,arg2
,arg3
,arg4
);
15742 wxPyEndAllowThreads(__tstate
);
15743 if (PyErr_Occurred()) SWIG_fail
;
15745 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListbookEvent
, 1);
15752 static PyObject
* ListbookEvent_swigregister(PyObject
*self
, PyObject
*args
) {
15754 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15755 SWIG_TypeClientData(SWIGTYPE_p_wxListbookEvent
, obj
);
15757 return Py_BuildValue((char *)"");
15759 static PyObject
*_wrap_new_BookCtrlSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15760 PyObject
*resultobj
;
15761 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
15762 wxBookCtrlSizer
*result
;
15763 PyObject
* obj0
= 0 ;
15764 char *kwnames
[] = {
15765 (char *) "nb", NULL
15768 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BookCtrlSizer",kwnames
,&obj0
)) goto fail
;
15769 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
15770 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15773 result
= (wxBookCtrlSizer
*)new wxBookCtrlSizer(arg1
);
15775 wxPyEndAllowThreads(__tstate
);
15776 if (PyErr_Occurred()) SWIG_fail
;
15778 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBookCtrlSizer
, 1);
15785 static PyObject
*_wrap_BookCtrlSizer_RecalcSizes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15786 PyObject
*resultobj
;
15787 wxBookCtrlSizer
*arg1
= (wxBookCtrlSizer
*) 0 ;
15788 PyObject
* obj0
= 0 ;
15789 char *kwnames
[] = {
15790 (char *) "self", NULL
15793 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlSizer_RecalcSizes",kwnames
,&obj0
)) goto fail
;
15794 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrlSizer
,
15795 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15797 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15798 (arg1
)->RecalcSizes();
15800 wxPyEndAllowThreads(__tstate
);
15801 if (PyErr_Occurred()) SWIG_fail
;
15803 Py_INCREF(Py_None
); resultobj
= Py_None
;
15810 static PyObject
*_wrap_BookCtrlSizer_CalcMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15811 PyObject
*resultobj
;
15812 wxBookCtrlSizer
*arg1
= (wxBookCtrlSizer
*) 0 ;
15814 PyObject
* obj0
= 0 ;
15815 char *kwnames
[] = {
15816 (char *) "self", NULL
15819 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlSizer_CalcMin",kwnames
,&obj0
)) goto fail
;
15820 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrlSizer
,
15821 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15824 result
= (arg1
)->CalcMin();
15826 wxPyEndAllowThreads(__tstate
);
15827 if (PyErr_Occurred()) SWIG_fail
;
15830 wxSize
* resultptr
;
15831 resultptr
= new wxSize((wxSize
&) result
);
15832 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
15840 static PyObject
*_wrap_BookCtrlSizer_GetControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15841 PyObject
*resultobj
;
15842 wxBookCtrlSizer
*arg1
= (wxBookCtrlSizer
*) 0 ;
15843 wxBookCtrl
*result
;
15844 PyObject
* obj0
= 0 ;
15845 char *kwnames
[] = {
15846 (char *) "self", NULL
15849 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlSizer_GetControl",kwnames
,&obj0
)) goto fail
;
15850 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrlSizer
,
15851 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15854 result
= (wxBookCtrl
*)(arg1
)->GetControl();
15856 wxPyEndAllowThreads(__tstate
);
15857 if (PyErr_Occurred()) SWIG_fail
;
15859 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBookCtrl
, 0);
15866 static PyObject
* BookCtrlSizer_swigregister(PyObject
*self
, PyObject
*args
) {
15868 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15869 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrlSizer
, obj
);
15871 return Py_BuildValue((char *)"");
15873 static PyObject
*_wrap_new_NotebookSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15874 PyObject
*resultobj
;
15875 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
15876 wxNotebookSizer
*result
;
15877 PyObject
* obj0
= 0 ;
15878 char *kwnames
[] = {
15879 (char *) "nb", NULL
15882 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_NotebookSizer",kwnames
,&obj0
)) goto fail
;
15883 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebook
,
15884 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15887 result
= (wxNotebookSizer
*)new wxNotebookSizer(arg1
);
15889 wxPyEndAllowThreads(__tstate
);
15890 if (PyErr_Occurred()) SWIG_fail
;
15892 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNotebookSizer
, 1);
15899 static PyObject
*_wrap_NotebookSizer_RecalcSizes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15900 PyObject
*resultobj
;
15901 wxNotebookSizer
*arg1
= (wxNotebookSizer
*) 0 ;
15902 PyObject
* obj0
= 0 ;
15903 char *kwnames
[] = {
15904 (char *) "self", NULL
15907 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotebookSizer_RecalcSizes",kwnames
,&obj0
)) goto fail
;
15908 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebookSizer
,
15909 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15912 (arg1
)->RecalcSizes();
15914 wxPyEndAllowThreads(__tstate
);
15915 if (PyErr_Occurred()) SWIG_fail
;
15917 Py_INCREF(Py_None
); resultobj
= Py_None
;
15924 static PyObject
*_wrap_NotebookSizer_CalcMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15925 PyObject
*resultobj
;
15926 wxNotebookSizer
*arg1
= (wxNotebookSizer
*) 0 ;
15928 PyObject
* obj0
= 0 ;
15929 char *kwnames
[] = {
15930 (char *) "self", NULL
15933 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotebookSizer_CalcMin",kwnames
,&obj0
)) goto fail
;
15934 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebookSizer
,
15935 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15938 result
= (arg1
)->CalcMin();
15940 wxPyEndAllowThreads(__tstate
);
15941 if (PyErr_Occurred()) SWIG_fail
;
15944 wxSize
* resultptr
;
15945 resultptr
= new wxSize((wxSize
&) result
);
15946 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
15954 static PyObject
*_wrap_NotebookSizer_GetNotebook(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15955 PyObject
*resultobj
;
15956 wxNotebookSizer
*arg1
= (wxNotebookSizer
*) 0 ;
15957 wxNotebook
*result
;
15958 PyObject
* obj0
= 0 ;
15959 char *kwnames
[] = {
15960 (char *) "self", NULL
15963 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotebookSizer_GetNotebook",kwnames
,&obj0
)) goto fail
;
15964 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebookSizer
,
15965 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15968 result
= (wxNotebook
*)(arg1
)->GetNotebook();
15970 wxPyEndAllowThreads(__tstate
);
15971 if (PyErr_Occurred()) SWIG_fail
;
15974 resultobj
= wxPyMake_wxObject(result
);
15982 static PyObject
* NotebookSizer_swigregister(PyObject
*self
, PyObject
*args
) {
15984 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15985 SWIG_TypeClientData(SWIGTYPE_p_wxNotebookSizer
, obj
);
15987 return Py_BuildValue((char *)"");
15989 static PyObject
*_wrap_ToolBarToolBase_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15990 PyObject
*resultobj
;
15991 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15993 PyObject
* obj0
= 0 ;
15994 char *kwnames
[] = {
15995 (char *) "self", NULL
15998 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetId",kwnames
,&obj0
)) goto fail
;
15999 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16000 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16003 result
= (int)(arg1
)->GetId();
16005 wxPyEndAllowThreads(__tstate
);
16006 if (PyErr_Occurred()) SWIG_fail
;
16008 resultobj
= SWIG_FromInt((int)result
);
16015 static PyObject
*_wrap_ToolBarToolBase_GetControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16016 PyObject
*resultobj
;
16017 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16019 PyObject
* obj0
= 0 ;
16020 char *kwnames
[] = {
16021 (char *) "self", NULL
16024 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetControl",kwnames
,&obj0
)) goto fail
;
16025 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16026 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16029 result
= (wxControl
*)(arg1
)->GetControl();
16031 wxPyEndAllowThreads(__tstate
);
16032 if (PyErr_Occurred()) SWIG_fail
;
16035 resultobj
= wxPyMake_wxObject(result
);
16043 static PyObject
*_wrap_ToolBarToolBase_GetToolBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16044 PyObject
*resultobj
;
16045 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16046 wxToolBarBase
*result
;
16047 PyObject
* obj0
= 0 ;
16048 char *kwnames
[] = {
16049 (char *) "self", NULL
16052 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetToolBar",kwnames
,&obj0
)) goto fail
;
16053 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16054 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16057 result
= (wxToolBarBase
*)(arg1
)->GetToolBar();
16059 wxPyEndAllowThreads(__tstate
);
16060 if (PyErr_Occurred()) SWIG_fail
;
16063 resultobj
= wxPyMake_wxObject(result
);
16071 static PyObject
*_wrap_ToolBarToolBase_IsButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16072 PyObject
*resultobj
;
16073 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16075 PyObject
* obj0
= 0 ;
16076 char *kwnames
[] = {
16077 (char *) "self", NULL
16080 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsButton",kwnames
,&obj0
)) goto fail
;
16081 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16082 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16085 result
= (int)(arg1
)->IsButton();
16087 wxPyEndAllowThreads(__tstate
);
16088 if (PyErr_Occurred()) SWIG_fail
;
16090 resultobj
= SWIG_FromInt((int)result
);
16097 static PyObject
*_wrap_ToolBarToolBase_IsControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16098 PyObject
*resultobj
;
16099 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16101 PyObject
* obj0
= 0 ;
16102 char *kwnames
[] = {
16103 (char *) "self", NULL
16106 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsControl",kwnames
,&obj0
)) goto fail
;
16107 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16108 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16111 result
= (int)(arg1
)->IsControl();
16113 wxPyEndAllowThreads(__tstate
);
16114 if (PyErr_Occurred()) SWIG_fail
;
16116 resultobj
= SWIG_FromInt((int)result
);
16123 static PyObject
*_wrap_ToolBarToolBase_IsSeparator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16124 PyObject
*resultobj
;
16125 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16127 PyObject
* obj0
= 0 ;
16128 char *kwnames
[] = {
16129 (char *) "self", NULL
16132 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsSeparator",kwnames
,&obj0
)) goto fail
;
16133 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16134 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16137 result
= (int)(arg1
)->IsSeparator();
16139 wxPyEndAllowThreads(__tstate
);
16140 if (PyErr_Occurred()) SWIG_fail
;
16142 resultobj
= SWIG_FromInt((int)result
);
16149 static PyObject
*_wrap_ToolBarToolBase_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16150 PyObject
*resultobj
;
16151 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16153 PyObject
* obj0
= 0 ;
16154 char *kwnames
[] = {
16155 (char *) "self", NULL
16158 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetStyle",kwnames
,&obj0
)) goto fail
;
16159 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16160 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16163 result
= (int)(arg1
)->GetStyle();
16165 wxPyEndAllowThreads(__tstate
);
16166 if (PyErr_Occurred()) SWIG_fail
;
16168 resultobj
= SWIG_FromInt((int)result
);
16175 static PyObject
*_wrap_ToolBarToolBase_GetKind(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16176 PyObject
*resultobj
;
16177 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16179 PyObject
* obj0
= 0 ;
16180 char *kwnames
[] = {
16181 (char *) "self", NULL
16184 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetKind",kwnames
,&obj0
)) goto fail
;
16185 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16186 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16189 result
= (int)(arg1
)->GetKind();
16191 wxPyEndAllowThreads(__tstate
);
16192 if (PyErr_Occurred()) SWIG_fail
;
16194 resultobj
= SWIG_FromInt((int)result
);
16201 static PyObject
*_wrap_ToolBarToolBase_IsEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16202 PyObject
*resultobj
;
16203 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16205 PyObject
* obj0
= 0 ;
16206 char *kwnames
[] = {
16207 (char *) "self", NULL
16210 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsEnabled",kwnames
,&obj0
)) goto fail
;
16211 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16212 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16215 result
= (bool)(arg1
)->IsEnabled();
16217 wxPyEndAllowThreads(__tstate
);
16218 if (PyErr_Occurred()) SWIG_fail
;
16221 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16229 static PyObject
*_wrap_ToolBarToolBase_IsToggled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16230 PyObject
*resultobj
;
16231 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16233 PyObject
* obj0
= 0 ;
16234 char *kwnames
[] = {
16235 (char *) "self", NULL
16238 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsToggled",kwnames
,&obj0
)) goto fail
;
16239 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16240 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16243 result
= (bool)(arg1
)->IsToggled();
16245 wxPyEndAllowThreads(__tstate
);
16246 if (PyErr_Occurred()) SWIG_fail
;
16249 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16257 static PyObject
*_wrap_ToolBarToolBase_CanBeToggled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16258 PyObject
*resultobj
;
16259 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16261 PyObject
* obj0
= 0 ;
16262 char *kwnames
[] = {
16263 (char *) "self", NULL
16266 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_CanBeToggled",kwnames
,&obj0
)) goto fail
;
16267 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16268 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16271 result
= (bool)(arg1
)->CanBeToggled();
16273 wxPyEndAllowThreads(__tstate
);
16274 if (PyErr_Occurred()) SWIG_fail
;
16277 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16285 static PyObject
*_wrap_ToolBarToolBase_GetNormalBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16286 PyObject
*resultobj
;
16287 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16289 PyObject
* obj0
= 0 ;
16290 char *kwnames
[] = {
16291 (char *) "self", NULL
16294 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetNormalBitmap",kwnames
,&obj0
)) goto fail
;
16295 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16296 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16300 wxBitmap
const &_result_ref
= (arg1
)->GetNormalBitmap();
16301 result
= (wxBitmap
*) &_result_ref
;
16304 wxPyEndAllowThreads(__tstate
);
16305 if (PyErr_Occurred()) SWIG_fail
;
16308 wxBitmap
* resultptr
= new wxBitmap(*result
);
16309 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
16317 static PyObject
*_wrap_ToolBarToolBase_GetDisabledBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16318 PyObject
*resultobj
;
16319 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16321 PyObject
* obj0
= 0 ;
16322 char *kwnames
[] = {
16323 (char *) "self", NULL
16326 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetDisabledBitmap",kwnames
,&obj0
)) goto fail
;
16327 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16328 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16332 wxBitmap
const &_result_ref
= (arg1
)->GetDisabledBitmap();
16333 result
= (wxBitmap
*) &_result_ref
;
16336 wxPyEndAllowThreads(__tstate
);
16337 if (PyErr_Occurred()) SWIG_fail
;
16340 wxBitmap
* resultptr
= new wxBitmap(*result
);
16341 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
16349 static PyObject
*_wrap_ToolBarToolBase_GetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16350 PyObject
*resultobj
;
16351 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16353 PyObject
* obj0
= 0 ;
16354 char *kwnames
[] = {
16355 (char *) "self", NULL
16358 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetBitmap",kwnames
,&obj0
)) goto fail
;
16359 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16360 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16363 result
= (arg1
)->GetBitmap();
16365 wxPyEndAllowThreads(__tstate
);
16366 if (PyErr_Occurred()) SWIG_fail
;
16369 wxBitmap
* resultptr
;
16370 resultptr
= new wxBitmap((wxBitmap
&) result
);
16371 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
16379 static PyObject
*_wrap_ToolBarToolBase_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16380 PyObject
*resultobj
;
16381 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16383 PyObject
* obj0
= 0 ;
16384 char *kwnames
[] = {
16385 (char *) "self", NULL
16388 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetLabel",kwnames
,&obj0
)) goto fail
;
16389 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16390 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16393 result
= (arg1
)->GetLabel();
16395 wxPyEndAllowThreads(__tstate
);
16396 if (PyErr_Occurred()) SWIG_fail
;
16400 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16402 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16411 static PyObject
*_wrap_ToolBarToolBase_GetShortHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16412 PyObject
*resultobj
;
16413 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16415 PyObject
* obj0
= 0 ;
16416 char *kwnames
[] = {
16417 (char *) "self", NULL
16420 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetShortHelp",kwnames
,&obj0
)) goto fail
;
16421 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16422 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16425 result
= (arg1
)->GetShortHelp();
16427 wxPyEndAllowThreads(__tstate
);
16428 if (PyErr_Occurred()) SWIG_fail
;
16432 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16434 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16443 static PyObject
*_wrap_ToolBarToolBase_GetLongHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16444 PyObject
*resultobj
;
16445 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16447 PyObject
* obj0
= 0 ;
16448 char *kwnames
[] = {
16449 (char *) "self", NULL
16452 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetLongHelp",kwnames
,&obj0
)) goto fail
;
16453 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16454 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16457 result
= (arg1
)->GetLongHelp();
16459 wxPyEndAllowThreads(__tstate
);
16460 if (PyErr_Occurred()) SWIG_fail
;
16464 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16466 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16475 static PyObject
*_wrap_ToolBarToolBase_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16476 PyObject
*resultobj
;
16477 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16480 PyObject
* obj0
= 0 ;
16481 PyObject
* obj1
= 0 ;
16482 char *kwnames
[] = {
16483 (char *) "self",(char *) "enable", NULL
16486 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_Enable",kwnames
,&obj0
,&obj1
)) goto fail
;
16487 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16488 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16489 arg2
= (bool) SWIG_AsBool(obj1
);
16490 if (PyErr_Occurred()) SWIG_fail
;
16492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16493 result
= (bool)(arg1
)->Enable(arg2
);
16495 wxPyEndAllowThreads(__tstate
);
16496 if (PyErr_Occurred()) SWIG_fail
;
16499 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16507 static PyObject
*_wrap_ToolBarToolBase_Toggle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16508 PyObject
*resultobj
;
16509 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16510 PyObject
* obj0
= 0 ;
16511 char *kwnames
[] = {
16512 (char *) "self", NULL
16515 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_Toggle",kwnames
,&obj0
)) goto fail
;
16516 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16517 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16522 wxPyEndAllowThreads(__tstate
);
16523 if (PyErr_Occurred()) SWIG_fail
;
16525 Py_INCREF(Py_None
); resultobj
= Py_None
;
16532 static PyObject
*_wrap_ToolBarToolBase_SetToggle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16533 PyObject
*resultobj
;
16534 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16537 PyObject
* obj0
= 0 ;
16538 PyObject
* obj1
= 0 ;
16539 char *kwnames
[] = {
16540 (char *) "self",(char *) "toggle", NULL
16543 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetToggle",kwnames
,&obj0
,&obj1
)) goto fail
;
16544 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16545 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16546 arg2
= (bool) SWIG_AsBool(obj1
);
16547 if (PyErr_Occurred()) SWIG_fail
;
16549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16550 result
= (bool)(arg1
)->SetToggle(arg2
);
16552 wxPyEndAllowThreads(__tstate
);
16553 if (PyErr_Occurred()) SWIG_fail
;
16556 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16564 static PyObject
*_wrap_ToolBarToolBase_SetShortHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16565 PyObject
*resultobj
;
16566 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16567 wxString
*arg2
= 0 ;
16569 bool temp2
= False
;
16570 PyObject
* obj0
= 0 ;
16571 PyObject
* obj1
= 0 ;
16572 char *kwnames
[] = {
16573 (char *) "self",(char *) "help", NULL
16576 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetShortHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
16577 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16578 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16580 arg2
= wxString_in_helper(obj1
);
16581 if (arg2
== NULL
) SWIG_fail
;
16585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16586 result
= (bool)(arg1
)->SetShortHelp((wxString
const &)*arg2
);
16588 wxPyEndAllowThreads(__tstate
);
16589 if (PyErr_Occurred()) SWIG_fail
;
16592 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16608 static PyObject
*_wrap_ToolBarToolBase_SetLongHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16609 PyObject
*resultobj
;
16610 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16611 wxString
*arg2
= 0 ;
16613 bool temp2
= False
;
16614 PyObject
* obj0
= 0 ;
16615 PyObject
* obj1
= 0 ;
16616 char *kwnames
[] = {
16617 (char *) "self",(char *) "help", NULL
16620 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetLongHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
16621 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16622 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16624 arg2
= wxString_in_helper(obj1
);
16625 if (arg2
== NULL
) SWIG_fail
;
16629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16630 result
= (bool)(arg1
)->SetLongHelp((wxString
const &)*arg2
);
16632 wxPyEndAllowThreads(__tstate
);
16633 if (PyErr_Occurred()) SWIG_fail
;
16636 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16652 static PyObject
*_wrap_ToolBarToolBase_SetNormalBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16653 PyObject
*resultobj
;
16654 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16655 wxBitmap
*arg2
= 0 ;
16656 PyObject
* obj0
= 0 ;
16657 PyObject
* obj1
= 0 ;
16658 char *kwnames
[] = {
16659 (char *) "self",(char *) "bmp", NULL
16662 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetNormalBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
16663 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16664 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16665 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
16666 SWIG_POINTER_EXCEPTION
| 0)) == -1)
16668 if (arg2
== NULL
) {
16669 PyErr_SetString(PyExc_TypeError
,"null reference");
16673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16674 (arg1
)->SetNormalBitmap((wxBitmap
const &)*arg2
);
16676 wxPyEndAllowThreads(__tstate
);
16677 if (PyErr_Occurred()) SWIG_fail
;
16679 Py_INCREF(Py_None
); resultobj
= Py_None
;
16686 static PyObject
*_wrap_ToolBarToolBase_SetDisabledBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16687 PyObject
*resultobj
;
16688 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16689 wxBitmap
*arg2
= 0 ;
16690 PyObject
* obj0
= 0 ;
16691 PyObject
* obj1
= 0 ;
16692 char *kwnames
[] = {
16693 (char *) "self",(char *) "bmp", NULL
16696 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetDisabledBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
16697 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16698 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16699 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
16700 SWIG_POINTER_EXCEPTION
| 0)) == -1)
16702 if (arg2
== NULL
) {
16703 PyErr_SetString(PyExc_TypeError
,"null reference");
16707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16708 (arg1
)->SetDisabledBitmap((wxBitmap
const &)*arg2
);
16710 wxPyEndAllowThreads(__tstate
);
16711 if (PyErr_Occurred()) SWIG_fail
;
16713 Py_INCREF(Py_None
); resultobj
= Py_None
;
16720 static PyObject
*_wrap_ToolBarToolBase_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16721 PyObject
*resultobj
;
16722 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16723 wxString
*arg2
= 0 ;
16724 bool temp2
= False
;
16725 PyObject
* obj0
= 0 ;
16726 PyObject
* obj1
= 0 ;
16727 char *kwnames
[] = {
16728 (char *) "self",(char *) "label", NULL
16731 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
16732 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16733 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16735 arg2
= wxString_in_helper(obj1
);
16736 if (arg2
== NULL
) SWIG_fail
;
16740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16741 (arg1
)->SetLabel((wxString
const &)*arg2
);
16743 wxPyEndAllowThreads(__tstate
);
16744 if (PyErr_Occurred()) SWIG_fail
;
16746 Py_INCREF(Py_None
); resultobj
= Py_None
;
16761 static PyObject
*_wrap_ToolBarToolBase_Detach(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16762 PyObject
*resultobj
;
16763 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16764 PyObject
* obj0
= 0 ;
16765 char *kwnames
[] = {
16766 (char *) "self", NULL
16769 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_Detach",kwnames
,&obj0
)) goto fail
;
16770 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16771 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16776 wxPyEndAllowThreads(__tstate
);
16777 if (PyErr_Occurred()) SWIG_fail
;
16779 Py_INCREF(Py_None
); resultobj
= Py_None
;
16786 static PyObject
*_wrap_ToolBarToolBase_Attach(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16787 PyObject
*resultobj
;
16788 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16789 wxToolBarBase
*arg2
= (wxToolBarBase
*) 0 ;
16790 PyObject
* obj0
= 0 ;
16791 PyObject
* obj1
= 0 ;
16792 char *kwnames
[] = {
16793 (char *) "self",(char *) "tbar", NULL
16796 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_Attach",kwnames
,&obj0
,&obj1
)) goto fail
;
16797 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16798 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16799 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxToolBarBase
,
16800 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16803 (arg1
)->Attach(arg2
);
16805 wxPyEndAllowThreads(__tstate
);
16806 if (PyErr_Occurred()) SWIG_fail
;
16808 Py_INCREF(Py_None
); resultobj
= Py_None
;
16815 static PyObject
*_wrap_ToolBarToolBase_GetClientData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16816 PyObject
*resultobj
;
16817 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16819 PyObject
* obj0
= 0 ;
16820 char *kwnames
[] = {
16821 (char *) "self", NULL
16824 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetClientData",kwnames
,&obj0
)) goto fail
;
16825 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16826 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16829 result
= (PyObject
*)wxToolBarToolBase_GetClientData(arg1
);
16831 wxPyEndAllowThreads(__tstate
);
16832 if (PyErr_Occurred()) SWIG_fail
;
16834 resultobj
= result
;
16841 static PyObject
*_wrap_ToolBarToolBase_SetClientData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16842 PyObject
*resultobj
;
16843 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16844 PyObject
*arg2
= (PyObject
*) 0 ;
16845 PyObject
* obj0
= 0 ;
16846 PyObject
* obj1
= 0 ;
16847 char *kwnames
[] = {
16848 (char *) "self",(char *) "clientData", NULL
16851 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetClientData",kwnames
,&obj0
,&obj1
)) goto fail
;
16852 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16853 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16857 wxToolBarToolBase_SetClientData(arg1
,arg2
);
16859 wxPyEndAllowThreads(__tstate
);
16860 if (PyErr_Occurred()) SWIG_fail
;
16862 Py_INCREF(Py_None
); resultobj
= Py_None
;
16869 static PyObject
* ToolBarToolBase_swigregister(PyObject
*self
, PyObject
*args
) {
16871 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16872 SWIG_TypeClientData(SWIGTYPE_p_wxToolBarToolBase
, obj
);
16874 return Py_BuildValue((char *)"");
16876 static PyObject
*_wrap_ToolBarBase_DoAddTool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16877 PyObject
*resultobj
;
16878 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16880 wxString
*arg3
= 0 ;
16881 wxBitmap
*arg4
= 0 ;
16882 wxBitmap
const &arg5_defvalue
= wxNullBitmap
;
16883 wxBitmap
*arg5
= (wxBitmap
*) &arg5_defvalue
;
16884 int arg6
= (int) wxITEM_NORMAL
;
16885 wxString
const &arg7_defvalue
= wxPyEmptyString
;
16886 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
16887 wxString
const &arg8_defvalue
= wxPyEmptyString
;
16888 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
16889 PyObject
*arg9
= (PyObject
*) NULL
;
16890 wxToolBarToolBase
*result
;
16891 bool temp3
= False
;
16892 bool temp7
= False
;
16893 bool temp8
= False
;
16894 PyObject
* obj0
= 0 ;
16895 PyObject
* obj1
= 0 ;
16896 PyObject
* obj2
= 0 ;
16897 PyObject
* obj3
= 0 ;
16898 PyObject
* obj4
= 0 ;
16899 PyObject
* obj5
= 0 ;
16900 PyObject
* obj6
= 0 ;
16901 PyObject
* obj7
= 0 ;
16902 PyObject
* obj8
= 0 ;
16903 char *kwnames
[] = {
16904 (char *) "self",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
16907 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOOO:ToolBarBase_DoAddTool",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
16908 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16909 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16910 arg2
= (int) SWIG_AsInt(obj1
);
16911 if (PyErr_Occurred()) SWIG_fail
;
16913 arg3
= wxString_in_helper(obj2
);
16914 if (arg3
== NULL
) SWIG_fail
;
16917 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxBitmap
,
16918 SWIG_POINTER_EXCEPTION
| 0)) == -1)
16920 if (arg4
== NULL
) {
16921 PyErr_SetString(PyExc_TypeError
,"null reference");
16925 if ((SWIG_ConvertPtr(obj4
,(void **)(&arg5
),SWIGTYPE_p_wxBitmap
,
16926 SWIG_POINTER_EXCEPTION
| 0)) == -1)
16928 if (arg5
== NULL
) {
16929 PyErr_SetString(PyExc_TypeError
,"null reference");
16934 arg6
= (wxItemKind
) SWIG_AsInt(obj5
);
16935 if (PyErr_Occurred()) SWIG_fail
;
16939 arg7
= wxString_in_helper(obj6
);
16940 if (arg7
== NULL
) SWIG_fail
;
16946 arg8
= wxString_in_helper(obj7
);
16947 if (arg8
== NULL
) SWIG_fail
;
16955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16956 result
= (wxToolBarToolBase
*)wxToolBarBase_DoAddTool(arg1
,arg2
,(wxString
const &)*arg3
,(wxBitmap
const &)*arg4
,(wxBitmap
const &)*arg5
,(wxItemKind
)arg6
,(wxString
const &)*arg7
,(wxString
const &)*arg8
,arg9
);
16958 wxPyEndAllowThreads(__tstate
);
16959 if (PyErr_Occurred()) SWIG_fail
;
16962 resultobj
= wxPyMake_wxObject(result
);
16994 static PyObject
*_wrap_ToolBarBase_DoInsertTool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16995 PyObject
*resultobj
;
16996 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16999 wxString
*arg4
= 0 ;
17000 wxBitmap
*arg5
= 0 ;
17001 wxBitmap
const &arg6_defvalue
= wxNullBitmap
;
17002 wxBitmap
*arg6
= (wxBitmap
*) &arg6_defvalue
;
17003 int arg7
= (int) wxITEM_NORMAL
;
17004 wxString
const &arg8_defvalue
= wxPyEmptyString
;
17005 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
17006 wxString
const &arg9_defvalue
= wxPyEmptyString
;
17007 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
17008 PyObject
*arg10
= (PyObject
*) NULL
;
17009 wxToolBarToolBase
*result
;
17010 bool temp4
= False
;
17011 bool temp8
= False
;
17012 bool temp9
= False
;
17013 PyObject
* obj0
= 0 ;
17014 PyObject
* obj1
= 0 ;
17015 PyObject
* obj2
= 0 ;
17016 PyObject
* obj3
= 0 ;
17017 PyObject
* obj4
= 0 ;
17018 PyObject
* obj5
= 0 ;
17019 PyObject
* obj6
= 0 ;
17020 PyObject
* obj7
= 0 ;
17021 PyObject
* obj8
= 0 ;
17022 PyObject
* obj9
= 0 ;
17023 char *kwnames
[] = {
17024 (char *) "self",(char *) "pos",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
17027 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOOOO:ToolBarBase_DoInsertTool",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
17028 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17029 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17030 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
17031 if (PyErr_Occurred()) SWIG_fail
;
17032 arg3
= (int) SWIG_AsInt(obj2
);
17033 if (PyErr_Occurred()) SWIG_fail
;
17035 arg4
= wxString_in_helper(obj3
);
17036 if (arg4
== NULL
) SWIG_fail
;
17039 if ((SWIG_ConvertPtr(obj4
,(void **)(&arg5
),SWIGTYPE_p_wxBitmap
,
17040 SWIG_POINTER_EXCEPTION
| 0)) == -1)
17042 if (arg5
== NULL
) {
17043 PyErr_SetString(PyExc_TypeError
,"null reference");
17047 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxBitmap
,
17048 SWIG_POINTER_EXCEPTION
| 0)) == -1)
17050 if (arg6
== NULL
) {
17051 PyErr_SetString(PyExc_TypeError
,"null reference");
17056 arg7
= (wxItemKind
) SWIG_AsInt(obj6
);
17057 if (PyErr_Occurred()) SWIG_fail
;
17061 arg8
= wxString_in_helper(obj7
);
17062 if (arg8
== NULL
) SWIG_fail
;
17068 arg9
= wxString_in_helper(obj8
);
17069 if (arg9
== NULL
) SWIG_fail
;
17077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17078 result
= (wxToolBarToolBase
*)wxToolBarBase_DoInsertTool(arg1
,arg2
,arg3
,(wxString
const &)*arg4
,(wxBitmap
const &)*arg5
,(wxBitmap
const &)*arg6
,(wxItemKind
)arg7
,(wxString
const &)*arg8
,(wxString
const &)*arg9
,arg10
);
17080 wxPyEndAllowThreads(__tstate
);
17081 if (PyErr_Occurred()) SWIG_fail
;
17084 resultobj
= wxPyMake_wxObject(result
);
17116 static PyObject
*_wrap_ToolBarBase_AddToolItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17117 PyObject
*resultobj
;
17118 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17119 wxToolBarToolBase
*arg2
= (wxToolBarToolBase
*) 0 ;
17120 wxToolBarToolBase
*result
;
17121 PyObject
* obj0
= 0 ;
17122 PyObject
* obj1
= 0 ;
17123 char *kwnames
[] = {
17124 (char *) "self",(char *) "tool", NULL
17127 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_AddToolItem",kwnames
,&obj0
,&obj1
)) goto fail
;
17128 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17129 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17130 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxToolBarToolBase
,
17131 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17134 result
= (wxToolBarToolBase
*)(arg1
)->AddTool(arg2
);
17136 wxPyEndAllowThreads(__tstate
);
17137 if (PyErr_Occurred()) SWIG_fail
;
17140 resultobj
= wxPyMake_wxObject(result
);
17148 static PyObject
*_wrap_ToolBarBase_InsertToolItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17149 PyObject
*resultobj
;
17150 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17152 wxToolBarToolBase
*arg3
= (wxToolBarToolBase
*) 0 ;
17153 wxToolBarToolBase
*result
;
17154 PyObject
* obj0
= 0 ;
17155 PyObject
* obj1
= 0 ;
17156 PyObject
* obj2
= 0 ;
17157 char *kwnames
[] = {
17158 (char *) "self",(char *) "pos",(char *) "tool", NULL
17161 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_InsertToolItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17162 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17163 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17164 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
17165 if (PyErr_Occurred()) SWIG_fail
;
17166 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxToolBarToolBase
,
17167 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17170 result
= (wxToolBarToolBase
*)(arg1
)->InsertTool(arg2
,arg3
);
17172 wxPyEndAllowThreads(__tstate
);
17173 if (PyErr_Occurred()) SWIG_fail
;
17176 resultobj
= wxPyMake_wxObject(result
);
17184 static PyObject
*_wrap_ToolBarBase_AddControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17185 PyObject
*resultobj
;
17186 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17187 wxControl
*arg2
= (wxControl
*) 0 ;
17188 wxToolBarToolBase
*result
;
17189 PyObject
* obj0
= 0 ;
17190 PyObject
* obj1
= 0 ;
17191 char *kwnames
[] = {
17192 (char *) "self",(char *) "control", NULL
17195 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_AddControl",kwnames
,&obj0
,&obj1
)) goto fail
;
17196 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17197 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17198 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxControl
,
17199 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17202 result
= (wxToolBarToolBase
*)(arg1
)->AddControl(arg2
);
17204 wxPyEndAllowThreads(__tstate
);
17205 if (PyErr_Occurred()) SWIG_fail
;
17208 resultobj
= wxPyMake_wxObject(result
);
17216 static PyObject
*_wrap_ToolBarBase_InsertControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17217 PyObject
*resultobj
;
17218 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17220 wxControl
*arg3
= (wxControl
*) 0 ;
17221 wxToolBarToolBase
*result
;
17222 PyObject
* obj0
= 0 ;
17223 PyObject
* obj1
= 0 ;
17224 PyObject
* obj2
= 0 ;
17225 char *kwnames
[] = {
17226 (char *) "self",(char *) "pos",(char *) "control", NULL
17229 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_InsertControl",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17230 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17231 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17232 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
17233 if (PyErr_Occurred()) SWIG_fail
;
17234 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxControl
,
17235 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17238 result
= (wxToolBarToolBase
*)(arg1
)->InsertControl(arg2
,arg3
);
17240 wxPyEndAllowThreads(__tstate
);
17241 if (PyErr_Occurred()) SWIG_fail
;
17244 resultobj
= wxPyMake_wxObject(result
);
17252 static PyObject
*_wrap_ToolBarBase_FindControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17253 PyObject
*resultobj
;
17254 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17257 PyObject
* obj0
= 0 ;
17258 PyObject
* obj1
= 0 ;
17259 char *kwnames
[] = {
17260 (char *) "self",(char *) "id", NULL
17263 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_FindControl",kwnames
,&obj0
,&obj1
)) goto fail
;
17264 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17265 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17266 arg2
= (int) SWIG_AsInt(obj1
);
17267 if (PyErr_Occurred()) SWIG_fail
;
17269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17270 result
= (wxControl
*)(arg1
)->FindControl(arg2
);
17272 wxPyEndAllowThreads(__tstate
);
17273 if (PyErr_Occurred()) SWIG_fail
;
17276 resultobj
= wxPyMake_wxObject(result
);
17284 static PyObject
*_wrap_ToolBarBase_AddSeparator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17285 PyObject
*resultobj
;
17286 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17287 wxToolBarToolBase
*result
;
17288 PyObject
* obj0
= 0 ;
17289 char *kwnames
[] = {
17290 (char *) "self", NULL
17293 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_AddSeparator",kwnames
,&obj0
)) goto fail
;
17294 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17295 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17298 result
= (wxToolBarToolBase
*)(arg1
)->AddSeparator();
17300 wxPyEndAllowThreads(__tstate
);
17301 if (PyErr_Occurred()) SWIG_fail
;
17304 resultobj
= wxPyMake_wxObject(result
);
17312 static PyObject
*_wrap_ToolBarBase_InsertSeparator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17313 PyObject
*resultobj
;
17314 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17316 wxToolBarToolBase
*result
;
17317 PyObject
* obj0
= 0 ;
17318 PyObject
* obj1
= 0 ;
17319 char *kwnames
[] = {
17320 (char *) "self",(char *) "pos", NULL
17323 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_InsertSeparator",kwnames
,&obj0
,&obj1
)) goto fail
;
17324 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17325 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17326 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
17327 if (PyErr_Occurred()) SWIG_fail
;
17329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17330 result
= (wxToolBarToolBase
*)(arg1
)->InsertSeparator(arg2
);
17332 wxPyEndAllowThreads(__tstate
);
17333 if (PyErr_Occurred()) SWIG_fail
;
17336 resultobj
= wxPyMake_wxObject(result
);
17344 static PyObject
*_wrap_ToolBarBase_RemoveTool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17345 PyObject
*resultobj
;
17346 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17348 wxToolBarToolBase
*result
;
17349 PyObject
* obj0
= 0 ;
17350 PyObject
* obj1
= 0 ;
17351 char *kwnames
[] = {
17352 (char *) "self",(char *) "id", NULL
17355 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_RemoveTool",kwnames
,&obj0
,&obj1
)) goto fail
;
17356 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17357 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17358 arg2
= (int) SWIG_AsInt(obj1
);
17359 if (PyErr_Occurred()) SWIG_fail
;
17361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17362 result
= (wxToolBarToolBase
*)(arg1
)->RemoveTool(arg2
);
17364 wxPyEndAllowThreads(__tstate
);
17365 if (PyErr_Occurred()) SWIG_fail
;
17368 resultobj
= wxPyMake_wxObject(result
);
17376 static PyObject
*_wrap_ToolBarBase_DeleteToolByPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17377 PyObject
*resultobj
;
17378 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17381 PyObject
* obj0
= 0 ;
17382 PyObject
* obj1
= 0 ;
17383 char *kwnames
[] = {
17384 (char *) "self",(char *) "pos", NULL
17387 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_DeleteToolByPos",kwnames
,&obj0
,&obj1
)) goto fail
;
17388 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17389 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17390 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
17391 if (PyErr_Occurred()) SWIG_fail
;
17393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17394 result
= (bool)(arg1
)->DeleteToolByPos(arg2
);
17396 wxPyEndAllowThreads(__tstate
);
17397 if (PyErr_Occurred()) SWIG_fail
;
17400 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17408 static PyObject
*_wrap_ToolBarBase_DeleteTool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17409 PyObject
*resultobj
;
17410 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17413 PyObject
* obj0
= 0 ;
17414 PyObject
* obj1
= 0 ;
17415 char *kwnames
[] = {
17416 (char *) "self",(char *) "id", NULL
17419 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_DeleteTool",kwnames
,&obj0
,&obj1
)) goto fail
;
17420 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17421 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17422 arg2
= (int) SWIG_AsInt(obj1
);
17423 if (PyErr_Occurred()) SWIG_fail
;
17425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17426 result
= (bool)(arg1
)->DeleteTool(arg2
);
17428 wxPyEndAllowThreads(__tstate
);
17429 if (PyErr_Occurred()) SWIG_fail
;
17432 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17440 static PyObject
*_wrap_ToolBarBase_ClearTools(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17441 PyObject
*resultobj
;
17442 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17443 PyObject
* obj0
= 0 ;
17444 char *kwnames
[] = {
17445 (char *) "self", NULL
17448 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_ClearTools",kwnames
,&obj0
)) goto fail
;
17449 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17450 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17453 (arg1
)->ClearTools();
17455 wxPyEndAllowThreads(__tstate
);
17456 if (PyErr_Occurred()) SWIG_fail
;
17458 Py_INCREF(Py_None
); resultobj
= Py_None
;
17465 static PyObject
*_wrap_ToolBarBase_Realize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17466 PyObject
*resultobj
;
17467 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17469 PyObject
* obj0
= 0 ;
17470 char *kwnames
[] = {
17471 (char *) "self", NULL
17474 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_Realize",kwnames
,&obj0
)) goto fail
;
17475 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17476 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17479 result
= (bool)(arg1
)->Realize();
17481 wxPyEndAllowThreads(__tstate
);
17482 if (PyErr_Occurred()) SWIG_fail
;
17485 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17493 static PyObject
*_wrap_ToolBarBase_EnableTool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17494 PyObject
*resultobj
;
17495 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17498 PyObject
* obj0
= 0 ;
17499 PyObject
* obj1
= 0 ;
17500 PyObject
* obj2
= 0 ;
17501 char *kwnames
[] = {
17502 (char *) "self",(char *) "id",(char *) "enable", NULL
17505 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_EnableTool",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17506 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17507 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17508 arg2
= (int) SWIG_AsInt(obj1
);
17509 if (PyErr_Occurred()) SWIG_fail
;
17510 arg3
= (bool) SWIG_AsBool(obj2
);
17511 if (PyErr_Occurred()) SWIG_fail
;
17513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17514 (arg1
)->EnableTool(arg2
,arg3
);
17516 wxPyEndAllowThreads(__tstate
);
17517 if (PyErr_Occurred()) SWIG_fail
;
17519 Py_INCREF(Py_None
); resultobj
= Py_None
;
17526 static PyObject
*_wrap_ToolBarBase_ToggleTool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17527 PyObject
*resultobj
;
17528 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17531 PyObject
* obj0
= 0 ;
17532 PyObject
* obj1
= 0 ;
17533 PyObject
* obj2
= 0 ;
17534 char *kwnames
[] = {
17535 (char *) "self",(char *) "id",(char *) "toggle", NULL
17538 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_ToggleTool",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17539 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17540 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17541 arg2
= (int) SWIG_AsInt(obj1
);
17542 if (PyErr_Occurred()) SWIG_fail
;
17543 arg3
= (bool) SWIG_AsBool(obj2
);
17544 if (PyErr_Occurred()) SWIG_fail
;
17546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17547 (arg1
)->ToggleTool(arg2
,arg3
);
17549 wxPyEndAllowThreads(__tstate
);
17550 if (PyErr_Occurred()) SWIG_fail
;
17552 Py_INCREF(Py_None
); resultobj
= Py_None
;
17559 static PyObject
*_wrap_ToolBarBase_SetToggle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17560 PyObject
*resultobj
;
17561 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17564 PyObject
* obj0
= 0 ;
17565 PyObject
* obj1
= 0 ;
17566 PyObject
* obj2
= 0 ;
17567 char *kwnames
[] = {
17568 (char *) "self",(char *) "id",(char *) "toggle", NULL
17571 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToggle",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17572 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17573 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17574 arg2
= (int) SWIG_AsInt(obj1
);
17575 if (PyErr_Occurred()) SWIG_fail
;
17576 arg3
= (bool) SWIG_AsBool(obj2
);
17577 if (PyErr_Occurred()) SWIG_fail
;
17579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17580 (arg1
)->SetToggle(arg2
,arg3
);
17582 wxPyEndAllowThreads(__tstate
);
17583 if (PyErr_Occurred()) SWIG_fail
;
17585 Py_INCREF(Py_None
); resultobj
= Py_None
;
17592 static PyObject
*_wrap_ToolBarBase_GetToolClientData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17593 PyObject
*resultobj
;
17594 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17597 PyObject
* obj0
= 0 ;
17598 PyObject
* obj1
= 0 ;
17599 char *kwnames
[] = {
17600 (char *) "self",(char *) "id", NULL
17603 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolClientData",kwnames
,&obj0
,&obj1
)) goto fail
;
17604 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17605 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17606 arg2
= (int) SWIG_AsInt(obj1
);
17607 if (PyErr_Occurred()) SWIG_fail
;
17609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17610 result
= (PyObject
*)wxToolBarBase_GetToolClientData(arg1
,arg2
);
17612 wxPyEndAllowThreads(__tstate
);
17613 if (PyErr_Occurred()) SWIG_fail
;
17615 resultobj
= result
;
17622 static PyObject
*_wrap_ToolBarBase_SetToolClientData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17623 PyObject
*resultobj
;
17624 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17626 PyObject
*arg3
= (PyObject
*) 0 ;
17627 PyObject
* obj0
= 0 ;
17628 PyObject
* obj1
= 0 ;
17629 PyObject
* obj2
= 0 ;
17630 char *kwnames
[] = {
17631 (char *) "self",(char *) "id",(char *) "clientData", NULL
17634 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToolClientData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17635 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17636 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17637 arg2
= (int) SWIG_AsInt(obj1
);
17638 if (PyErr_Occurred()) SWIG_fail
;
17641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17642 wxToolBarBase_SetToolClientData(arg1
,arg2
,arg3
);
17644 wxPyEndAllowThreads(__tstate
);
17645 if (PyErr_Occurred()) SWIG_fail
;
17647 Py_INCREF(Py_None
); resultobj
= Py_None
;
17654 static PyObject
*_wrap_ToolBarBase_GetToolPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17655 PyObject
*resultobj
;
17656 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17659 PyObject
* obj0
= 0 ;
17660 PyObject
* obj1
= 0 ;
17661 char *kwnames
[] = {
17662 (char *) "self",(char *) "id", NULL
17665 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolPos",kwnames
,&obj0
,&obj1
)) goto fail
;
17666 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17667 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17668 arg2
= (int) SWIG_AsInt(obj1
);
17669 if (PyErr_Occurred()) SWIG_fail
;
17671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17672 result
= (int)((wxToolBarBase
const *)arg1
)->GetToolPos(arg2
);
17674 wxPyEndAllowThreads(__tstate
);
17675 if (PyErr_Occurred()) SWIG_fail
;
17677 resultobj
= SWIG_FromInt((int)result
);
17684 static PyObject
*_wrap_ToolBarBase_GetToolState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17685 PyObject
*resultobj
;
17686 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17689 PyObject
* obj0
= 0 ;
17690 PyObject
* obj1
= 0 ;
17691 char *kwnames
[] = {
17692 (char *) "self",(char *) "id", NULL
17695 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolState",kwnames
,&obj0
,&obj1
)) goto fail
;
17696 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17697 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17698 arg2
= (int) SWIG_AsInt(obj1
);
17699 if (PyErr_Occurred()) SWIG_fail
;
17701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17702 result
= (bool)(arg1
)->GetToolState(arg2
);
17704 wxPyEndAllowThreads(__tstate
);
17705 if (PyErr_Occurred()) SWIG_fail
;
17708 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17716 static PyObject
*_wrap_ToolBarBase_GetToolEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17717 PyObject
*resultobj
;
17718 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17721 PyObject
* obj0
= 0 ;
17722 PyObject
* obj1
= 0 ;
17723 char *kwnames
[] = {
17724 (char *) "self",(char *) "id", NULL
17727 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolEnabled",kwnames
,&obj0
,&obj1
)) goto fail
;
17728 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17729 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17730 arg2
= (int) SWIG_AsInt(obj1
);
17731 if (PyErr_Occurred()) SWIG_fail
;
17733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17734 result
= (bool)(arg1
)->GetToolEnabled(arg2
);
17736 wxPyEndAllowThreads(__tstate
);
17737 if (PyErr_Occurred()) SWIG_fail
;
17740 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17748 static PyObject
*_wrap_ToolBarBase_SetToolShortHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17749 PyObject
*resultobj
;
17750 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17752 wxString
*arg3
= 0 ;
17753 bool temp3
= False
;
17754 PyObject
* obj0
= 0 ;
17755 PyObject
* obj1
= 0 ;
17756 PyObject
* obj2
= 0 ;
17757 char *kwnames
[] = {
17758 (char *) "self",(char *) "id",(char *) "helpString", NULL
17761 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToolShortHelp",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17762 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17763 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17764 arg2
= (int) SWIG_AsInt(obj1
);
17765 if (PyErr_Occurred()) SWIG_fail
;
17767 arg3
= wxString_in_helper(obj2
);
17768 if (arg3
== NULL
) SWIG_fail
;
17772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17773 (arg1
)->SetToolShortHelp(arg2
,(wxString
const &)*arg3
);
17775 wxPyEndAllowThreads(__tstate
);
17776 if (PyErr_Occurred()) SWIG_fail
;
17778 Py_INCREF(Py_None
); resultobj
= Py_None
;
17793 static PyObject
*_wrap_ToolBarBase_GetToolShortHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17794 PyObject
*resultobj
;
17795 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17798 PyObject
* obj0
= 0 ;
17799 PyObject
* obj1
= 0 ;
17800 char *kwnames
[] = {
17801 (char *) "self",(char *) "id", NULL
17804 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolShortHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
17805 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17806 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17807 arg2
= (int) SWIG_AsInt(obj1
);
17808 if (PyErr_Occurred()) SWIG_fail
;
17810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17811 result
= (arg1
)->GetToolShortHelp(arg2
);
17813 wxPyEndAllowThreads(__tstate
);
17814 if (PyErr_Occurred()) SWIG_fail
;
17818 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17820 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17829 static PyObject
*_wrap_ToolBarBase_SetToolLongHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17830 PyObject
*resultobj
;
17831 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17833 wxString
*arg3
= 0 ;
17834 bool temp3
= False
;
17835 PyObject
* obj0
= 0 ;
17836 PyObject
* obj1
= 0 ;
17837 PyObject
* obj2
= 0 ;
17838 char *kwnames
[] = {
17839 (char *) "self",(char *) "id",(char *) "helpString", NULL
17842 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToolLongHelp",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17843 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17844 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17845 arg2
= (int) SWIG_AsInt(obj1
);
17846 if (PyErr_Occurred()) SWIG_fail
;
17848 arg3
= wxString_in_helper(obj2
);
17849 if (arg3
== NULL
) SWIG_fail
;
17853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17854 (arg1
)->SetToolLongHelp(arg2
,(wxString
const &)*arg3
);
17856 wxPyEndAllowThreads(__tstate
);
17857 if (PyErr_Occurred()) SWIG_fail
;
17859 Py_INCREF(Py_None
); resultobj
= Py_None
;
17874 static PyObject
*_wrap_ToolBarBase_GetToolLongHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17875 PyObject
*resultobj
;
17876 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17879 PyObject
* obj0
= 0 ;
17880 PyObject
* obj1
= 0 ;
17881 char *kwnames
[] = {
17882 (char *) "self",(char *) "id", NULL
17885 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolLongHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
17886 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17887 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17888 arg2
= (int) SWIG_AsInt(obj1
);
17889 if (PyErr_Occurred()) SWIG_fail
;
17891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17892 result
= (arg1
)->GetToolLongHelp(arg2
);
17894 wxPyEndAllowThreads(__tstate
);
17895 if (PyErr_Occurred()) SWIG_fail
;
17899 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17901 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17910 static PyObject
*_wrap_ToolBarBase_SetMarginsXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17911 PyObject
*resultobj
;
17912 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17915 PyObject
* obj0
= 0 ;
17916 PyObject
* obj1
= 0 ;
17917 PyObject
* obj2
= 0 ;
17918 char *kwnames
[] = {
17919 (char *) "self",(char *) "x",(char *) "y", NULL
17922 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetMarginsXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17923 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17924 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17925 arg2
= (int) SWIG_AsInt(obj1
);
17926 if (PyErr_Occurred()) SWIG_fail
;
17927 arg3
= (int) SWIG_AsInt(obj2
);
17928 if (PyErr_Occurred()) SWIG_fail
;
17930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17931 (arg1
)->SetMargins(arg2
,arg3
);
17933 wxPyEndAllowThreads(__tstate
);
17934 if (PyErr_Occurred()) SWIG_fail
;
17936 Py_INCREF(Py_None
); resultobj
= Py_None
;
17943 static PyObject
*_wrap_ToolBarBase_SetMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17944 PyObject
*resultobj
;
17945 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17948 PyObject
* obj0
= 0 ;
17949 PyObject
* obj1
= 0 ;
17950 char *kwnames
[] = {
17951 (char *) "self",(char *) "size", NULL
17954 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetMargins",kwnames
,&obj0
,&obj1
)) goto fail
;
17955 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17956 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17959 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
17962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17963 (arg1
)->SetMargins((wxSize
const &)*arg2
);
17965 wxPyEndAllowThreads(__tstate
);
17966 if (PyErr_Occurred()) SWIG_fail
;
17968 Py_INCREF(Py_None
); resultobj
= Py_None
;
17975 static PyObject
*_wrap_ToolBarBase_SetToolPacking(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17976 PyObject
*resultobj
;
17977 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17979 PyObject
* obj0
= 0 ;
17980 PyObject
* obj1
= 0 ;
17981 char *kwnames
[] = {
17982 (char *) "self",(char *) "packing", NULL
17985 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetToolPacking",kwnames
,&obj0
,&obj1
)) goto fail
;
17986 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17987 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17988 arg2
= (int) SWIG_AsInt(obj1
);
17989 if (PyErr_Occurred()) SWIG_fail
;
17991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17992 (arg1
)->SetToolPacking(arg2
);
17994 wxPyEndAllowThreads(__tstate
);
17995 if (PyErr_Occurred()) SWIG_fail
;
17997 Py_INCREF(Py_None
); resultobj
= Py_None
;
18004 static PyObject
*_wrap_ToolBarBase_SetToolSeparation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18005 PyObject
*resultobj
;
18006 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18008 PyObject
* obj0
= 0 ;
18009 PyObject
* obj1
= 0 ;
18010 char *kwnames
[] = {
18011 (char *) "self",(char *) "separation", NULL
18014 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetToolSeparation",kwnames
,&obj0
,&obj1
)) goto fail
;
18015 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18016 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18017 arg2
= (int) SWIG_AsInt(obj1
);
18018 if (PyErr_Occurred()) SWIG_fail
;
18020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18021 (arg1
)->SetToolSeparation(arg2
);
18023 wxPyEndAllowThreads(__tstate
);
18024 if (PyErr_Occurred()) SWIG_fail
;
18026 Py_INCREF(Py_None
); resultobj
= Py_None
;
18033 static PyObject
*_wrap_ToolBarBase_GetToolMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18034 PyObject
*resultobj
;
18035 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18037 PyObject
* obj0
= 0 ;
18038 char *kwnames
[] = {
18039 (char *) "self", NULL
18042 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolMargins",kwnames
,&obj0
)) goto fail
;
18043 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18044 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18047 result
= (arg1
)->GetToolMargins();
18049 wxPyEndAllowThreads(__tstate
);
18050 if (PyErr_Occurred()) SWIG_fail
;
18053 wxSize
* resultptr
;
18054 resultptr
= new wxSize((wxSize
&) result
);
18055 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
18063 static PyObject
*_wrap_ToolBarBase_GetMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18064 PyObject
*resultobj
;
18065 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18067 PyObject
* obj0
= 0 ;
18068 char *kwnames
[] = {
18069 (char *) "self", NULL
18072 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetMargins",kwnames
,&obj0
)) goto fail
;
18073 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18074 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18077 result
= (arg1
)->GetMargins();
18079 wxPyEndAllowThreads(__tstate
);
18080 if (PyErr_Occurred()) SWIG_fail
;
18083 wxSize
* resultptr
;
18084 resultptr
= new wxSize((wxSize
&) result
);
18085 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
18093 static PyObject
*_wrap_ToolBarBase_GetToolPacking(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18094 PyObject
*resultobj
;
18095 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18097 PyObject
* obj0
= 0 ;
18098 char *kwnames
[] = {
18099 (char *) "self", NULL
18102 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolPacking",kwnames
,&obj0
)) goto fail
;
18103 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18104 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18107 result
= (int)(arg1
)->GetToolPacking();
18109 wxPyEndAllowThreads(__tstate
);
18110 if (PyErr_Occurred()) SWIG_fail
;
18112 resultobj
= SWIG_FromInt((int)result
);
18119 static PyObject
*_wrap_ToolBarBase_GetToolSeparation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18120 PyObject
*resultobj
;
18121 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18123 PyObject
* obj0
= 0 ;
18124 char *kwnames
[] = {
18125 (char *) "self", NULL
18128 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolSeparation",kwnames
,&obj0
)) goto fail
;
18129 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18130 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18133 result
= (int)(arg1
)->GetToolSeparation();
18135 wxPyEndAllowThreads(__tstate
);
18136 if (PyErr_Occurred()) SWIG_fail
;
18138 resultobj
= SWIG_FromInt((int)result
);
18145 static PyObject
*_wrap_ToolBarBase_SetRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18146 PyObject
*resultobj
;
18147 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18149 PyObject
* obj0
= 0 ;
18150 PyObject
* obj1
= 0 ;
18151 char *kwnames
[] = {
18152 (char *) "self",(char *) "nRows", NULL
18155 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetRows",kwnames
,&obj0
,&obj1
)) goto fail
;
18156 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18157 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18158 arg2
= (int) SWIG_AsInt(obj1
);
18159 if (PyErr_Occurred()) SWIG_fail
;
18161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18162 (arg1
)->SetRows(arg2
);
18164 wxPyEndAllowThreads(__tstate
);
18165 if (PyErr_Occurred()) SWIG_fail
;
18167 Py_INCREF(Py_None
); resultobj
= Py_None
;
18174 static PyObject
*_wrap_ToolBarBase_SetMaxRowsCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18175 PyObject
*resultobj
;
18176 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18179 PyObject
* obj0
= 0 ;
18180 PyObject
* obj1
= 0 ;
18181 PyObject
* obj2
= 0 ;
18182 char *kwnames
[] = {
18183 (char *) "self",(char *) "rows",(char *) "cols", NULL
18186 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetMaxRowsCols",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18187 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18188 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18189 arg2
= (int) SWIG_AsInt(obj1
);
18190 if (PyErr_Occurred()) SWIG_fail
;
18191 arg3
= (int) SWIG_AsInt(obj2
);
18192 if (PyErr_Occurred()) SWIG_fail
;
18194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18195 (arg1
)->SetMaxRowsCols(arg2
,arg3
);
18197 wxPyEndAllowThreads(__tstate
);
18198 if (PyErr_Occurred()) SWIG_fail
;
18200 Py_INCREF(Py_None
); resultobj
= Py_None
;
18207 static PyObject
*_wrap_ToolBarBase_GetMaxRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18208 PyObject
*resultobj
;
18209 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18211 PyObject
* obj0
= 0 ;
18212 char *kwnames
[] = {
18213 (char *) "self", NULL
18216 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetMaxRows",kwnames
,&obj0
)) goto fail
;
18217 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18218 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18221 result
= (int)(arg1
)->GetMaxRows();
18223 wxPyEndAllowThreads(__tstate
);
18224 if (PyErr_Occurred()) SWIG_fail
;
18226 resultobj
= SWIG_FromInt((int)result
);
18233 static PyObject
*_wrap_ToolBarBase_GetMaxCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18234 PyObject
*resultobj
;
18235 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18237 PyObject
* obj0
= 0 ;
18238 char *kwnames
[] = {
18239 (char *) "self", NULL
18242 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetMaxCols",kwnames
,&obj0
)) goto fail
;
18243 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18244 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18247 result
= (int)(arg1
)->GetMaxCols();
18249 wxPyEndAllowThreads(__tstate
);
18250 if (PyErr_Occurred()) SWIG_fail
;
18252 resultobj
= SWIG_FromInt((int)result
);
18259 static PyObject
*_wrap_ToolBarBase_SetToolBitmapSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18260 PyObject
*resultobj
;
18261 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18264 PyObject
* obj0
= 0 ;
18265 PyObject
* obj1
= 0 ;
18266 char *kwnames
[] = {
18267 (char *) "self",(char *) "size", NULL
18270 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetToolBitmapSize",kwnames
,&obj0
,&obj1
)) goto fail
;
18271 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18272 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18275 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
18278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18279 (arg1
)->SetToolBitmapSize((wxSize
const &)*arg2
);
18281 wxPyEndAllowThreads(__tstate
);
18282 if (PyErr_Occurred()) SWIG_fail
;
18284 Py_INCREF(Py_None
); resultobj
= Py_None
;
18291 static PyObject
*_wrap_ToolBarBase_GetToolBitmapSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18292 PyObject
*resultobj
;
18293 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18295 PyObject
* obj0
= 0 ;
18296 char *kwnames
[] = {
18297 (char *) "self", NULL
18300 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolBitmapSize",kwnames
,&obj0
)) goto fail
;
18301 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18302 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18305 result
= (arg1
)->GetToolBitmapSize();
18307 wxPyEndAllowThreads(__tstate
);
18308 if (PyErr_Occurred()) SWIG_fail
;
18311 wxSize
* resultptr
;
18312 resultptr
= new wxSize((wxSize
&) result
);
18313 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
18321 static PyObject
*_wrap_ToolBarBase_GetToolSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18322 PyObject
*resultobj
;
18323 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18325 PyObject
* obj0
= 0 ;
18326 char *kwnames
[] = {
18327 (char *) "self", NULL
18330 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolSize",kwnames
,&obj0
)) goto fail
;
18331 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18332 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18335 result
= (arg1
)->GetToolSize();
18337 wxPyEndAllowThreads(__tstate
);
18338 if (PyErr_Occurred()) SWIG_fail
;
18341 wxSize
* resultptr
;
18342 resultptr
= new wxSize((wxSize
&) result
);
18343 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
18351 static PyObject
*_wrap_ToolBarBase_FindToolForPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18352 PyObject
*resultobj
;
18353 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18356 wxToolBarToolBase
*result
;
18357 PyObject
* obj0
= 0 ;
18358 PyObject
* obj1
= 0 ;
18359 PyObject
* obj2
= 0 ;
18360 char *kwnames
[] = {
18361 (char *) "self",(char *) "x",(char *) "y", NULL
18364 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_FindToolForPosition",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18365 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18366 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18367 arg2
= (int) SWIG_AsInt(obj1
);
18368 if (PyErr_Occurred()) SWIG_fail
;
18369 arg3
= (int) SWIG_AsInt(obj2
);
18370 if (PyErr_Occurred()) SWIG_fail
;
18372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18373 result
= (wxToolBarToolBase
*)(arg1
)->FindToolForPosition(arg2
,arg3
);
18375 wxPyEndAllowThreads(__tstate
);
18376 if (PyErr_Occurred()) SWIG_fail
;
18379 resultobj
= wxPyMake_wxObject(result
);
18387 static PyObject
*_wrap_ToolBarBase_FindById(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18388 PyObject
*resultobj
;
18389 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18391 wxToolBarToolBase
*result
;
18392 PyObject
* obj0
= 0 ;
18393 PyObject
* obj1
= 0 ;
18394 char *kwnames
[] = {
18395 (char *) "self",(char *) "toolid", NULL
18398 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_FindById",kwnames
,&obj0
,&obj1
)) goto fail
;
18399 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18400 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18401 arg2
= (int) SWIG_AsInt(obj1
);
18402 if (PyErr_Occurred()) SWIG_fail
;
18404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18405 result
= (wxToolBarToolBase
*)((wxToolBarBase
const *)arg1
)->FindById(arg2
);
18407 wxPyEndAllowThreads(__tstate
);
18408 if (PyErr_Occurred()) SWIG_fail
;
18411 resultobj
= wxPyMake_wxObject(result
);
18419 static PyObject
*_wrap_ToolBarBase_IsVertical(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18420 PyObject
*resultobj
;
18421 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18423 PyObject
* obj0
= 0 ;
18424 char *kwnames
[] = {
18425 (char *) "self", NULL
18428 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_IsVertical",kwnames
,&obj0
)) goto fail
;
18429 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18430 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18433 result
= (bool)(arg1
)->IsVertical();
18435 wxPyEndAllowThreads(__tstate
);
18436 if (PyErr_Occurred()) SWIG_fail
;
18439 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18447 static PyObject
* ToolBarBase_swigregister(PyObject
*self
, PyObject
*args
) {
18449 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18450 SWIG_TypeClientData(SWIGTYPE_p_wxToolBarBase
, obj
);
18452 return Py_BuildValue((char *)"");
18454 static PyObject
*_wrap_new_ToolBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18455 PyObject
*resultobj
;
18456 wxWindow
*arg1
= (wxWindow
*) 0 ;
18457 int arg2
= (int) -1 ;
18458 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
18459 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
18460 wxSize
const &arg4_defvalue
= wxDefaultSize
;
18461 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
18462 long arg5
= (long) wxNO_BORDER
|wxTB_HORIZONTAL
;
18463 wxString
const &arg6_defvalue
= wxPyToolBarNameStr
;
18464 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
18468 bool temp6
= False
;
18469 PyObject
* obj0
= 0 ;
18470 PyObject
* obj1
= 0 ;
18471 PyObject
* obj2
= 0 ;
18472 PyObject
* obj3
= 0 ;
18473 PyObject
* obj4
= 0 ;
18474 PyObject
* obj5
= 0 ;
18475 char *kwnames
[] = {
18476 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
18479 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_ToolBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
18480 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
18481 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18483 arg2
= (int) SWIG_AsInt(obj1
);
18484 if (PyErr_Occurred()) SWIG_fail
;
18489 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
18495 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
18499 arg5
= (long) SWIG_AsLong(obj4
);
18500 if (PyErr_Occurred()) SWIG_fail
;
18504 arg6
= wxString_in_helper(obj5
);
18505 if (arg6
== NULL
) SWIG_fail
;
18510 if (!wxPyCheckForApp()) SWIG_fail
;
18511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18512 result
= (wxToolBar
*)new wxToolBar(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
18514 wxPyEndAllowThreads(__tstate
);
18515 if (PyErr_Occurred()) SWIG_fail
;
18518 resultobj
= wxPyMake_wxObject(result
);
18534 static PyObject
*_wrap_new_PreToolBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18535 PyObject
*resultobj
;
18537 char *kwnames
[] = {
18541 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreToolBar",kwnames
)) goto fail
;
18543 if (!wxPyCheckForApp()) SWIG_fail
;
18544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18545 result
= (wxToolBar
*)new wxToolBar();
18547 wxPyEndAllowThreads(__tstate
);
18548 if (PyErr_Occurred()) SWIG_fail
;
18551 resultobj
= wxPyMake_wxObject(result
);
18559 static PyObject
*_wrap_ToolBar_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18560 PyObject
*resultobj
;
18561 wxToolBar
*arg1
= (wxToolBar
*) 0 ;
18562 wxWindow
*arg2
= (wxWindow
*) 0 ;
18563 int arg3
= (int) -1 ;
18564 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
18565 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
18566 wxSize
const &arg5_defvalue
= wxDefaultSize
;
18567 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
18568 long arg6
= (long) wxNO_BORDER
|wxTB_HORIZONTAL
;
18569 wxString
const &arg7_defvalue
= wxPyToolBarNameStr
;
18570 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
18574 bool temp7
= False
;
18575 PyObject
* obj0
= 0 ;
18576 PyObject
* obj1
= 0 ;
18577 PyObject
* obj2
= 0 ;
18578 PyObject
* obj3
= 0 ;
18579 PyObject
* obj4
= 0 ;
18580 PyObject
* obj5
= 0 ;
18581 PyObject
* obj6
= 0 ;
18582 char *kwnames
[] = {
18583 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
18586 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:ToolBar_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
18587 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBar
,
18588 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18589 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
18590 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18592 arg3
= (int) SWIG_AsInt(obj2
);
18593 if (PyErr_Occurred()) SWIG_fail
;
18598 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
18604 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
18608 arg6
= (long) SWIG_AsLong(obj5
);
18609 if (PyErr_Occurred()) SWIG_fail
;
18613 arg7
= wxString_in_helper(obj6
);
18614 if (arg7
== NULL
) SWIG_fail
;
18619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18620 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
18622 wxPyEndAllowThreads(__tstate
);
18623 if (PyErr_Occurred()) SWIG_fail
;
18626 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18642 static PyObject
*_wrap_ToolBar_FindToolForPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18643 PyObject
*resultobj
;
18644 wxToolBar
*arg1
= (wxToolBar
*) 0 ;
18647 wxToolBarToolBase
*result
;
18648 PyObject
* obj0
= 0 ;
18649 PyObject
* obj1
= 0 ;
18650 PyObject
* obj2
= 0 ;
18651 char *kwnames
[] = {
18652 (char *) "self",(char *) "x",(char *) "y", NULL
18655 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBar_FindToolForPosition",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18656 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBar
,
18657 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18658 arg2
= (int) SWIG_AsInt(obj1
);
18659 if (PyErr_Occurred()) SWIG_fail
;
18660 arg3
= (int) SWIG_AsInt(obj2
);
18661 if (PyErr_Occurred()) SWIG_fail
;
18663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18664 result
= (wxToolBarToolBase
*)(arg1
)->FindToolForPosition(arg2
,arg3
);
18666 wxPyEndAllowThreads(__tstate
);
18667 if (PyErr_Occurred()) SWIG_fail
;
18670 resultobj
= wxPyMake_wxObject(result
);
18678 static PyObject
*_wrap_ToolBar_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18679 PyObject
*resultobj
;
18680 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
18681 wxVisualAttributes result
;
18682 PyObject
* obj0
= 0 ;
18683 char *kwnames
[] = {
18684 (char *) "variant", NULL
18687 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ToolBar_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
18689 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
18690 if (PyErr_Occurred()) SWIG_fail
;
18693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18694 result
= wxToolBar::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
18696 wxPyEndAllowThreads(__tstate
);
18697 if (PyErr_Occurred()) SWIG_fail
;
18700 wxVisualAttributes
* resultptr
;
18701 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
18702 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
18710 static PyObject
* ToolBar_swigregister(PyObject
*self
, PyObject
*args
) {
18712 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18713 SWIG_TypeClientData(SWIGTYPE_p_wxToolBar
, obj
);
18715 return Py_BuildValue((char *)"");
18717 static int _wrap_ListCtrlNameStr_set(PyObject
*_val
) {
18718 PyErr_SetString(PyExc_TypeError
,"Variable ListCtrlNameStr is read-only.");
18723 static PyObject
*_wrap_ListCtrlNameStr_get() {
18728 pyobj
= PyUnicode_FromWideChar((&wxPyListCtrlNameStr
)->c_str(), (&wxPyListCtrlNameStr
)->Len());
18730 pyobj
= PyString_FromStringAndSize((&wxPyListCtrlNameStr
)->c_str(), (&wxPyListCtrlNameStr
)->Len());
18737 static PyObject
*_wrap_new_ListItemAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18738 PyObject
*resultobj
;
18739 wxColour
const &arg1_defvalue
= wxNullColour
;
18740 wxColour
*arg1
= (wxColour
*) &arg1_defvalue
;
18741 wxColour
const &arg2_defvalue
= wxNullColour
;
18742 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
18743 wxFont
const &arg3_defvalue
= wxNullFont
;
18744 wxFont
*arg3
= (wxFont
*) &arg3_defvalue
;
18745 wxListItemAttr
*result
;
18748 PyObject
* obj0
= 0 ;
18749 PyObject
* obj1
= 0 ;
18750 PyObject
* obj2
= 0 ;
18751 char *kwnames
[] = {
18752 (char *) "colText",(char *) "colBack",(char *) "font", NULL
18755 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ListItemAttr",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18759 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
18765 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
18769 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxFont
,
18770 SWIG_POINTER_EXCEPTION
| 0)) == -1)
18772 if (arg3
== NULL
) {
18773 PyErr_SetString(PyExc_TypeError
,"null reference");
18778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18779 result
= (wxListItemAttr
*)new wxListItemAttr((wxColour
const &)*arg1
,(wxColour
const &)*arg2
,(wxFont
const &)*arg3
);
18781 wxPyEndAllowThreads(__tstate
);
18782 if (PyErr_Occurred()) SWIG_fail
;
18784 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListItemAttr
, 1);
18791 static PyObject
*_wrap_ListItemAttr_SetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18792 PyObject
*resultobj
;
18793 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
18794 wxColour
*arg2
= 0 ;
18796 PyObject
* obj0
= 0 ;
18797 PyObject
* obj1
= 0 ;
18798 char *kwnames
[] = {
18799 (char *) "self",(char *) "colText", NULL
18802 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
18803 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
18804 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18807 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
18810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18811 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
18813 wxPyEndAllowThreads(__tstate
);
18814 if (PyErr_Occurred()) SWIG_fail
;
18816 Py_INCREF(Py_None
); resultobj
= Py_None
;
18823 static PyObject
*_wrap_ListItemAttr_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18824 PyObject
*resultobj
;
18825 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
18826 wxColour
*arg2
= 0 ;
18828 PyObject
* obj0
= 0 ;
18829 PyObject
* obj1
= 0 ;
18830 char *kwnames
[] = {
18831 (char *) "self",(char *) "colBack", NULL
18834 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
18835 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
18836 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18839 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
18842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18843 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
18845 wxPyEndAllowThreads(__tstate
);
18846 if (PyErr_Occurred()) SWIG_fail
;
18848 Py_INCREF(Py_None
); resultobj
= Py_None
;
18855 static PyObject
*_wrap_ListItemAttr_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18856 PyObject
*resultobj
;
18857 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
18859 PyObject
* obj0
= 0 ;
18860 PyObject
* obj1
= 0 ;
18861 char *kwnames
[] = {
18862 (char *) "self",(char *) "font", NULL
18865 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
;
18866 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
18867 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18868 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
18869 SWIG_POINTER_EXCEPTION
| 0)) == -1)
18871 if (arg2
== NULL
) {
18872 PyErr_SetString(PyExc_TypeError
,"null reference");
18876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18877 (arg1
)->SetFont((wxFont
const &)*arg2
);
18879 wxPyEndAllowThreads(__tstate
);
18880 if (PyErr_Occurred()) SWIG_fail
;
18882 Py_INCREF(Py_None
); resultobj
= Py_None
;
18889 static PyObject
*_wrap_ListItemAttr_HasTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18890 PyObject
*resultobj
;
18891 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
18893 PyObject
* obj0
= 0 ;
18894 char *kwnames
[] = {
18895 (char *) "self", NULL
18898 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_HasTextColour",kwnames
,&obj0
)) goto fail
;
18899 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
18900 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18903 result
= (bool)(arg1
)->HasTextColour();
18905 wxPyEndAllowThreads(__tstate
);
18906 if (PyErr_Occurred()) SWIG_fail
;
18909 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18917 static PyObject
*_wrap_ListItemAttr_HasBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18918 PyObject
*resultobj
;
18919 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
18921 PyObject
* obj0
= 0 ;
18922 char *kwnames
[] = {
18923 (char *) "self", NULL
18926 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_HasBackgroundColour",kwnames
,&obj0
)) goto fail
;
18927 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
18928 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18931 result
= (bool)(arg1
)->HasBackgroundColour();
18933 wxPyEndAllowThreads(__tstate
);
18934 if (PyErr_Occurred()) SWIG_fail
;
18937 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18945 static PyObject
*_wrap_ListItemAttr_HasFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18946 PyObject
*resultobj
;
18947 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
18949 PyObject
* obj0
= 0 ;
18950 char *kwnames
[] = {
18951 (char *) "self", NULL
18954 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_HasFont",kwnames
,&obj0
)) goto fail
;
18955 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
18956 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18959 result
= (bool)(arg1
)->HasFont();
18961 wxPyEndAllowThreads(__tstate
);
18962 if (PyErr_Occurred()) SWIG_fail
;
18965 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18973 static PyObject
*_wrap_ListItemAttr_GetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18974 PyObject
*resultobj
;
18975 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
18977 PyObject
* obj0
= 0 ;
18978 char *kwnames
[] = {
18979 (char *) "self", NULL
18982 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_GetTextColour",kwnames
,&obj0
)) goto fail
;
18983 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
18984 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18987 result
= (arg1
)->GetTextColour();
18989 wxPyEndAllowThreads(__tstate
);
18990 if (PyErr_Occurred()) SWIG_fail
;
18993 wxColour
* resultptr
;
18994 resultptr
= new wxColour((wxColour
&) result
);
18995 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
19003 static PyObject
*_wrap_ListItemAttr_GetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19004 PyObject
*resultobj
;
19005 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
19007 PyObject
* obj0
= 0 ;
19008 char *kwnames
[] = {
19009 (char *) "self", NULL
19012 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
19013 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
19014 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19017 result
= (arg1
)->GetBackgroundColour();
19019 wxPyEndAllowThreads(__tstate
);
19020 if (PyErr_Occurred()) SWIG_fail
;
19023 wxColour
* resultptr
;
19024 resultptr
= new wxColour((wxColour
&) result
);
19025 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
19033 static PyObject
*_wrap_ListItemAttr_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19034 PyObject
*resultobj
;
19035 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
19037 PyObject
* obj0
= 0 ;
19038 char *kwnames
[] = {
19039 (char *) "self", NULL
19042 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_GetFont",kwnames
,&obj0
)) goto fail
;
19043 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
19044 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19047 result
= (arg1
)->GetFont();
19049 wxPyEndAllowThreads(__tstate
);
19050 if (PyErr_Occurred()) SWIG_fail
;
19053 wxFont
* resultptr
;
19054 resultptr
= new wxFont((wxFont
&) result
);
19055 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
19063 static PyObject
*_wrap_ListItemAttr_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19064 PyObject
*resultobj
;
19065 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
19066 PyObject
* obj0
= 0 ;
19067 char *kwnames
[] = {
19068 (char *) "self", NULL
19071 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_Destroy",kwnames
,&obj0
)) goto fail
;
19072 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
19073 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19076 wxListItemAttr_Destroy(arg1
);
19078 wxPyEndAllowThreads(__tstate
);
19079 if (PyErr_Occurred()) SWIG_fail
;
19081 Py_INCREF(Py_None
); resultobj
= Py_None
;
19088 static PyObject
* ListItemAttr_swigregister(PyObject
*self
, PyObject
*args
) {
19090 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19091 SWIG_TypeClientData(SWIGTYPE_p_wxListItemAttr
, obj
);
19093 return Py_BuildValue((char *)"");
19095 static PyObject
*_wrap_new_ListItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19096 PyObject
*resultobj
;
19097 wxListItem
*result
;
19098 char *kwnames
[] = {
19102 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ListItem",kwnames
)) goto fail
;
19104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19105 result
= (wxListItem
*)new wxListItem();
19107 wxPyEndAllowThreads(__tstate
);
19108 if (PyErr_Occurred()) SWIG_fail
;
19111 resultobj
= wxPyMake_wxObject(result
);
19119 static PyObject
*_wrap_delete_ListItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19120 PyObject
*resultobj
;
19121 wxListItem
*arg1
= (wxListItem
*) 0 ;
19122 PyObject
* obj0
= 0 ;
19123 char *kwnames
[] = {
19124 (char *) "self", NULL
19127 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ListItem",kwnames
,&obj0
)) goto fail
;
19128 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19129 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19134 wxPyEndAllowThreads(__tstate
);
19135 if (PyErr_Occurred()) SWIG_fail
;
19137 Py_INCREF(Py_None
); resultobj
= Py_None
;
19144 static PyObject
*_wrap_ListItem_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19145 PyObject
*resultobj
;
19146 wxListItem
*arg1
= (wxListItem
*) 0 ;
19147 PyObject
* obj0
= 0 ;
19148 char *kwnames
[] = {
19149 (char *) "self", NULL
19152 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_Clear",kwnames
,&obj0
)) goto fail
;
19153 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19154 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19159 wxPyEndAllowThreads(__tstate
);
19160 if (PyErr_Occurred()) SWIG_fail
;
19162 Py_INCREF(Py_None
); resultobj
= Py_None
;
19169 static PyObject
*_wrap_ListItem_ClearAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19170 PyObject
*resultobj
;
19171 wxListItem
*arg1
= (wxListItem
*) 0 ;
19172 PyObject
* obj0
= 0 ;
19173 char *kwnames
[] = {
19174 (char *) "self", NULL
19177 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_ClearAttributes",kwnames
,&obj0
)) goto fail
;
19178 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19179 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19182 (arg1
)->ClearAttributes();
19184 wxPyEndAllowThreads(__tstate
);
19185 if (PyErr_Occurred()) SWIG_fail
;
19187 Py_INCREF(Py_None
); resultobj
= Py_None
;
19194 static PyObject
*_wrap_ListItem_SetMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19195 PyObject
*resultobj
;
19196 wxListItem
*arg1
= (wxListItem
*) 0 ;
19198 PyObject
* obj0
= 0 ;
19199 PyObject
* obj1
= 0 ;
19200 char *kwnames
[] = {
19201 (char *) "self",(char *) "mask", NULL
19204 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetMask",kwnames
,&obj0
,&obj1
)) goto fail
;
19205 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19206 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19207 arg2
= (long) SWIG_AsLong(obj1
);
19208 if (PyErr_Occurred()) SWIG_fail
;
19210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19211 (arg1
)->SetMask(arg2
);
19213 wxPyEndAllowThreads(__tstate
);
19214 if (PyErr_Occurred()) SWIG_fail
;
19216 Py_INCREF(Py_None
); resultobj
= Py_None
;
19223 static PyObject
*_wrap_ListItem_SetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19224 PyObject
*resultobj
;
19225 wxListItem
*arg1
= (wxListItem
*) 0 ;
19227 PyObject
* obj0
= 0 ;
19228 PyObject
* obj1
= 0 ;
19229 char *kwnames
[] = {
19230 (char *) "self",(char *) "id", NULL
19233 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
19234 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19235 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19236 arg2
= (long) SWIG_AsLong(obj1
);
19237 if (PyErr_Occurred()) SWIG_fail
;
19239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19240 (arg1
)->SetId(arg2
);
19242 wxPyEndAllowThreads(__tstate
);
19243 if (PyErr_Occurred()) SWIG_fail
;
19245 Py_INCREF(Py_None
); resultobj
= Py_None
;
19252 static PyObject
*_wrap_ListItem_SetColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19253 PyObject
*resultobj
;
19254 wxListItem
*arg1
= (wxListItem
*) 0 ;
19256 PyObject
* obj0
= 0 ;
19257 PyObject
* obj1
= 0 ;
19258 char *kwnames
[] = {
19259 (char *) "self",(char *) "col", NULL
19262 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetColumn",kwnames
,&obj0
,&obj1
)) goto fail
;
19263 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19264 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19265 arg2
= (int) SWIG_AsInt(obj1
);
19266 if (PyErr_Occurred()) SWIG_fail
;
19268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19269 (arg1
)->SetColumn(arg2
);
19271 wxPyEndAllowThreads(__tstate
);
19272 if (PyErr_Occurred()) SWIG_fail
;
19274 Py_INCREF(Py_None
); resultobj
= Py_None
;
19281 static PyObject
*_wrap_ListItem_SetState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19282 PyObject
*resultobj
;
19283 wxListItem
*arg1
= (wxListItem
*) 0 ;
19285 PyObject
* obj0
= 0 ;
19286 PyObject
* obj1
= 0 ;
19287 char *kwnames
[] = {
19288 (char *) "self",(char *) "state", NULL
19291 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetState",kwnames
,&obj0
,&obj1
)) goto fail
;
19292 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19293 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19294 arg2
= (long) SWIG_AsLong(obj1
);
19295 if (PyErr_Occurred()) SWIG_fail
;
19297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19298 (arg1
)->SetState(arg2
);
19300 wxPyEndAllowThreads(__tstate
);
19301 if (PyErr_Occurred()) SWIG_fail
;
19303 Py_INCREF(Py_None
); resultobj
= Py_None
;
19310 static PyObject
*_wrap_ListItem_SetStateMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19311 PyObject
*resultobj
;
19312 wxListItem
*arg1
= (wxListItem
*) 0 ;
19314 PyObject
* obj0
= 0 ;
19315 PyObject
* obj1
= 0 ;
19316 char *kwnames
[] = {
19317 (char *) "self",(char *) "stateMask", NULL
19320 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetStateMask",kwnames
,&obj0
,&obj1
)) goto fail
;
19321 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19322 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19323 arg2
= (long) SWIG_AsLong(obj1
);
19324 if (PyErr_Occurred()) SWIG_fail
;
19326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19327 (arg1
)->SetStateMask(arg2
);
19329 wxPyEndAllowThreads(__tstate
);
19330 if (PyErr_Occurred()) SWIG_fail
;
19332 Py_INCREF(Py_None
); resultobj
= Py_None
;
19339 static PyObject
*_wrap_ListItem_SetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19340 PyObject
*resultobj
;
19341 wxListItem
*arg1
= (wxListItem
*) 0 ;
19342 wxString
*arg2
= 0 ;
19343 bool temp2
= False
;
19344 PyObject
* obj0
= 0 ;
19345 PyObject
* obj1
= 0 ;
19346 char *kwnames
[] = {
19347 (char *) "self",(char *) "text", NULL
19350 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetText",kwnames
,&obj0
,&obj1
)) goto fail
;
19351 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19352 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19354 arg2
= wxString_in_helper(obj1
);
19355 if (arg2
== NULL
) SWIG_fail
;
19359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19360 (arg1
)->SetText((wxString
const &)*arg2
);
19362 wxPyEndAllowThreads(__tstate
);
19363 if (PyErr_Occurred()) SWIG_fail
;
19365 Py_INCREF(Py_None
); resultobj
= Py_None
;
19380 static PyObject
*_wrap_ListItem_SetImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19381 PyObject
*resultobj
;
19382 wxListItem
*arg1
= (wxListItem
*) 0 ;
19384 PyObject
* obj0
= 0 ;
19385 PyObject
* obj1
= 0 ;
19386 char *kwnames
[] = {
19387 (char *) "self",(char *) "image", NULL
19390 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetImage",kwnames
,&obj0
,&obj1
)) goto fail
;
19391 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19392 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19393 arg2
= (int) SWIG_AsInt(obj1
);
19394 if (PyErr_Occurred()) SWIG_fail
;
19396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19397 (arg1
)->SetImage(arg2
);
19399 wxPyEndAllowThreads(__tstate
);
19400 if (PyErr_Occurred()) SWIG_fail
;
19402 Py_INCREF(Py_None
); resultobj
= Py_None
;
19409 static PyObject
*_wrap_ListItem_SetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19410 PyObject
*resultobj
;
19411 wxListItem
*arg1
= (wxListItem
*) 0 ;
19413 PyObject
* obj0
= 0 ;
19414 PyObject
* obj1
= 0 ;
19415 char *kwnames
[] = {
19416 (char *) "self",(char *) "data", NULL
19419 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
19420 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19421 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19422 arg2
= (long) SWIG_AsLong(obj1
);
19423 if (PyErr_Occurred()) SWIG_fail
;
19425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19426 (arg1
)->SetData(arg2
);
19428 wxPyEndAllowThreads(__tstate
);
19429 if (PyErr_Occurred()) SWIG_fail
;
19431 Py_INCREF(Py_None
); resultobj
= Py_None
;
19438 static PyObject
*_wrap_ListItem_SetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19439 PyObject
*resultobj
;
19440 wxListItem
*arg1
= (wxListItem
*) 0 ;
19442 PyObject
* obj0
= 0 ;
19443 PyObject
* obj1
= 0 ;
19444 char *kwnames
[] = {
19445 (char *) "self",(char *) "width", NULL
19448 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
19449 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19450 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19451 arg2
= (int) SWIG_AsInt(obj1
);
19452 if (PyErr_Occurred()) SWIG_fail
;
19454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19455 (arg1
)->SetWidth(arg2
);
19457 wxPyEndAllowThreads(__tstate
);
19458 if (PyErr_Occurred()) SWIG_fail
;
19460 Py_INCREF(Py_None
); resultobj
= Py_None
;
19467 static PyObject
*_wrap_ListItem_SetAlign(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19468 PyObject
*resultobj
;
19469 wxListItem
*arg1
= (wxListItem
*) 0 ;
19471 PyObject
* obj0
= 0 ;
19472 PyObject
* obj1
= 0 ;
19473 char *kwnames
[] = {
19474 (char *) "self",(char *) "align", NULL
19477 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetAlign",kwnames
,&obj0
,&obj1
)) goto fail
;
19478 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19479 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19480 arg2
= (wxListColumnFormat
) SWIG_AsInt(obj1
);
19481 if (PyErr_Occurred()) SWIG_fail
;
19483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19484 (arg1
)->SetAlign((wxListColumnFormat
)arg2
);
19486 wxPyEndAllowThreads(__tstate
);
19487 if (PyErr_Occurred()) SWIG_fail
;
19489 Py_INCREF(Py_None
); resultobj
= Py_None
;
19496 static PyObject
*_wrap_ListItem_SetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19497 PyObject
*resultobj
;
19498 wxListItem
*arg1
= (wxListItem
*) 0 ;
19499 wxColour
*arg2
= 0 ;
19501 PyObject
* obj0
= 0 ;
19502 PyObject
* obj1
= 0 ;
19503 char *kwnames
[] = {
19504 (char *) "self",(char *) "colText", NULL
19507 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
19508 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19509 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19512 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
19515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19516 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
19518 wxPyEndAllowThreads(__tstate
);
19519 if (PyErr_Occurred()) SWIG_fail
;
19521 Py_INCREF(Py_None
); resultobj
= Py_None
;
19528 static PyObject
*_wrap_ListItem_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19529 PyObject
*resultobj
;
19530 wxListItem
*arg1
= (wxListItem
*) 0 ;
19531 wxColour
*arg2
= 0 ;
19533 PyObject
* obj0
= 0 ;
19534 PyObject
* obj1
= 0 ;
19535 char *kwnames
[] = {
19536 (char *) "self",(char *) "colBack", NULL
19539 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
19540 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19541 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19544 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
19547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19548 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
19550 wxPyEndAllowThreads(__tstate
);
19551 if (PyErr_Occurred()) SWIG_fail
;
19553 Py_INCREF(Py_None
); resultobj
= Py_None
;
19560 static PyObject
*_wrap_ListItem_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19561 PyObject
*resultobj
;
19562 wxListItem
*arg1
= (wxListItem
*) 0 ;
19564 PyObject
* obj0
= 0 ;
19565 PyObject
* obj1
= 0 ;
19566 char *kwnames
[] = {
19567 (char *) "self",(char *) "font", NULL
19570 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
;
19571 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19572 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19573 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
19574 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19576 if (arg2
== NULL
) {
19577 PyErr_SetString(PyExc_TypeError
,"null reference");
19581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19582 (arg1
)->SetFont((wxFont
const &)*arg2
);
19584 wxPyEndAllowThreads(__tstate
);
19585 if (PyErr_Occurred()) SWIG_fail
;
19587 Py_INCREF(Py_None
); resultobj
= Py_None
;
19594 static PyObject
*_wrap_ListItem_GetMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19595 PyObject
*resultobj
;
19596 wxListItem
*arg1
= (wxListItem
*) 0 ;
19598 PyObject
* obj0
= 0 ;
19599 char *kwnames
[] = {
19600 (char *) "self", NULL
19603 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetMask",kwnames
,&obj0
)) goto fail
;
19604 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19605 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19608 result
= (long)(arg1
)->GetMask();
19610 wxPyEndAllowThreads(__tstate
);
19611 if (PyErr_Occurred()) SWIG_fail
;
19613 resultobj
= SWIG_FromLong((long)result
);
19620 static PyObject
*_wrap_ListItem_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19621 PyObject
*resultobj
;
19622 wxListItem
*arg1
= (wxListItem
*) 0 ;
19624 PyObject
* obj0
= 0 ;
19625 char *kwnames
[] = {
19626 (char *) "self", NULL
19629 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetId",kwnames
,&obj0
)) goto fail
;
19630 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19631 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19634 result
= (long)(arg1
)->GetId();
19636 wxPyEndAllowThreads(__tstate
);
19637 if (PyErr_Occurred()) SWIG_fail
;
19639 resultobj
= SWIG_FromLong((long)result
);
19646 static PyObject
*_wrap_ListItem_GetColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19647 PyObject
*resultobj
;
19648 wxListItem
*arg1
= (wxListItem
*) 0 ;
19650 PyObject
* obj0
= 0 ;
19651 char *kwnames
[] = {
19652 (char *) "self", NULL
19655 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetColumn",kwnames
,&obj0
)) goto fail
;
19656 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19657 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19660 result
= (int)(arg1
)->GetColumn();
19662 wxPyEndAllowThreads(__tstate
);
19663 if (PyErr_Occurred()) SWIG_fail
;
19665 resultobj
= SWIG_FromInt((int)result
);
19672 static PyObject
*_wrap_ListItem_GetState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19673 PyObject
*resultobj
;
19674 wxListItem
*arg1
= (wxListItem
*) 0 ;
19676 PyObject
* obj0
= 0 ;
19677 char *kwnames
[] = {
19678 (char *) "self", NULL
19681 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetState",kwnames
,&obj0
)) goto fail
;
19682 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19683 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19686 result
= (long)(arg1
)->GetState();
19688 wxPyEndAllowThreads(__tstate
);
19689 if (PyErr_Occurred()) SWIG_fail
;
19691 resultobj
= SWIG_FromLong((long)result
);
19698 static PyObject
*_wrap_ListItem_GetText(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_GetText",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();
19713 wxString
const &_result_ref
= (arg1
)->GetText();
19714 result
= (wxString
*) &_result_ref
;
19717 wxPyEndAllowThreads(__tstate
);
19718 if (PyErr_Occurred()) SWIG_fail
;
19722 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
19724 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
19733 static PyObject
*_wrap_ListItem_GetImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19734 PyObject
*resultobj
;
19735 wxListItem
*arg1
= (wxListItem
*) 0 ;
19737 PyObject
* obj0
= 0 ;
19738 char *kwnames
[] = {
19739 (char *) "self", NULL
19742 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetImage",kwnames
,&obj0
)) goto fail
;
19743 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19744 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19747 result
= (int)(arg1
)->GetImage();
19749 wxPyEndAllowThreads(__tstate
);
19750 if (PyErr_Occurred()) SWIG_fail
;
19752 resultobj
= SWIG_FromInt((int)result
);
19759 static PyObject
*_wrap_ListItem_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19760 PyObject
*resultobj
;
19761 wxListItem
*arg1
= (wxListItem
*) 0 ;
19763 PyObject
* obj0
= 0 ;
19764 char *kwnames
[] = {
19765 (char *) "self", NULL
19768 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetData",kwnames
,&obj0
)) goto fail
;
19769 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19770 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19773 result
= (long)(arg1
)->GetData();
19775 wxPyEndAllowThreads(__tstate
);
19776 if (PyErr_Occurred()) SWIG_fail
;
19778 resultobj
= SWIG_FromLong((long)result
);
19785 static PyObject
*_wrap_ListItem_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19786 PyObject
*resultobj
;
19787 wxListItem
*arg1
= (wxListItem
*) 0 ;
19789 PyObject
* obj0
= 0 ;
19790 char *kwnames
[] = {
19791 (char *) "self", NULL
19794 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetWidth",kwnames
,&obj0
)) goto fail
;
19795 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19796 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19799 result
= (int)(arg1
)->GetWidth();
19801 wxPyEndAllowThreads(__tstate
);
19802 if (PyErr_Occurred()) SWIG_fail
;
19804 resultobj
= SWIG_FromInt((int)result
);
19811 static PyObject
*_wrap_ListItem_GetAlign(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19812 PyObject
*resultobj
;
19813 wxListItem
*arg1
= (wxListItem
*) 0 ;
19815 PyObject
* obj0
= 0 ;
19816 char *kwnames
[] = {
19817 (char *) "self", NULL
19820 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetAlign",kwnames
,&obj0
)) goto fail
;
19821 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19822 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19825 result
= (int)(arg1
)->GetAlign();
19827 wxPyEndAllowThreads(__tstate
);
19828 if (PyErr_Occurred()) SWIG_fail
;
19830 resultobj
= SWIG_FromInt((int)result
);
19837 static PyObject
*_wrap_ListItem_GetAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19838 PyObject
*resultobj
;
19839 wxListItem
*arg1
= (wxListItem
*) 0 ;
19840 wxListItemAttr
*result
;
19841 PyObject
* obj0
= 0 ;
19842 char *kwnames
[] = {
19843 (char *) "self", NULL
19846 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetAttributes",kwnames
,&obj0
)) goto fail
;
19847 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19848 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19851 result
= (wxListItemAttr
*)(arg1
)->GetAttributes();
19853 wxPyEndAllowThreads(__tstate
);
19854 if (PyErr_Occurred()) SWIG_fail
;
19856 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListItemAttr
, 0);
19863 static PyObject
*_wrap_ListItem_HasAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19864 PyObject
*resultobj
;
19865 wxListItem
*arg1
= (wxListItem
*) 0 ;
19867 PyObject
* obj0
= 0 ;
19868 char *kwnames
[] = {
19869 (char *) "self", NULL
19872 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_HasAttributes",kwnames
,&obj0
)) goto fail
;
19873 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19874 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19877 result
= (bool)(arg1
)->HasAttributes();
19879 wxPyEndAllowThreads(__tstate
);
19880 if (PyErr_Occurred()) SWIG_fail
;
19883 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19891 static PyObject
*_wrap_ListItem_GetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19892 PyObject
*resultobj
;
19893 wxListItem
*arg1
= (wxListItem
*) 0 ;
19895 PyObject
* obj0
= 0 ;
19896 char *kwnames
[] = {
19897 (char *) "self", NULL
19900 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetTextColour",kwnames
,&obj0
)) goto fail
;
19901 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19902 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19905 result
= ((wxListItem
const *)arg1
)->GetTextColour();
19907 wxPyEndAllowThreads(__tstate
);
19908 if (PyErr_Occurred()) SWIG_fail
;
19911 wxColour
* resultptr
;
19912 resultptr
= new wxColour((wxColour
&) result
);
19913 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
19921 static PyObject
*_wrap_ListItem_GetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19922 PyObject
*resultobj
;
19923 wxListItem
*arg1
= (wxListItem
*) 0 ;
19925 PyObject
* obj0
= 0 ;
19926 char *kwnames
[] = {
19927 (char *) "self", NULL
19930 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
19931 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19932 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19935 result
= ((wxListItem
const *)arg1
)->GetBackgroundColour();
19937 wxPyEndAllowThreads(__tstate
);
19938 if (PyErr_Occurred()) SWIG_fail
;
19941 wxColour
* resultptr
;
19942 resultptr
= new wxColour((wxColour
&) result
);
19943 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
19951 static PyObject
*_wrap_ListItem_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19952 PyObject
*resultobj
;
19953 wxListItem
*arg1
= (wxListItem
*) 0 ;
19955 PyObject
* obj0
= 0 ;
19956 char *kwnames
[] = {
19957 (char *) "self", NULL
19960 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetFont",kwnames
,&obj0
)) goto fail
;
19961 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19962 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19965 result
= ((wxListItem
const *)arg1
)->GetFont();
19967 wxPyEndAllowThreads(__tstate
);
19968 if (PyErr_Occurred()) SWIG_fail
;
19971 wxFont
* resultptr
;
19972 resultptr
= new wxFont((wxFont
&) result
);
19973 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
19981 static PyObject
*_wrap_ListItem_m_mask_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19982 PyObject
*resultobj
;
19983 wxListItem
*arg1
= (wxListItem
*) 0 ;
19985 PyObject
* obj0
= 0 ;
19986 PyObject
* obj1
= 0 ;
19987 char *kwnames
[] = {
19988 (char *) "self",(char *) "m_mask", NULL
19991 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_mask_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19992 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19993 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19994 arg2
= (long) SWIG_AsLong(obj1
);
19995 if (PyErr_Occurred()) SWIG_fail
;
19996 if (arg1
) (arg1
)->m_mask
= arg2
;
19998 Py_INCREF(Py_None
); resultobj
= Py_None
;
20005 static PyObject
*_wrap_ListItem_m_mask_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20006 PyObject
*resultobj
;
20007 wxListItem
*arg1
= (wxListItem
*) 0 ;
20009 PyObject
* obj0
= 0 ;
20010 char *kwnames
[] = {
20011 (char *) "self", NULL
20014 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_mask_get",kwnames
,&obj0
)) goto fail
;
20015 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20016 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20017 result
= (long) ((arg1
)->m_mask
);
20019 resultobj
= SWIG_FromLong((long)result
);
20026 static PyObject
*_wrap_ListItem_m_itemId_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20027 PyObject
*resultobj
;
20028 wxListItem
*arg1
= (wxListItem
*) 0 ;
20030 PyObject
* obj0
= 0 ;
20031 PyObject
* obj1
= 0 ;
20032 char *kwnames
[] = {
20033 (char *) "self",(char *) "m_itemId", NULL
20036 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_itemId_set",kwnames
,&obj0
,&obj1
)) goto fail
;
20037 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20038 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20039 arg2
= (long) SWIG_AsLong(obj1
);
20040 if (PyErr_Occurred()) SWIG_fail
;
20041 if (arg1
) (arg1
)->m_itemId
= arg2
;
20043 Py_INCREF(Py_None
); resultobj
= Py_None
;
20050 static PyObject
*_wrap_ListItem_m_itemId_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20051 PyObject
*resultobj
;
20052 wxListItem
*arg1
= (wxListItem
*) 0 ;
20054 PyObject
* obj0
= 0 ;
20055 char *kwnames
[] = {
20056 (char *) "self", NULL
20059 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_itemId_get",kwnames
,&obj0
)) goto fail
;
20060 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20061 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20062 result
= (long) ((arg1
)->m_itemId
);
20064 resultobj
= SWIG_FromLong((long)result
);
20071 static PyObject
*_wrap_ListItem_m_col_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20072 PyObject
*resultobj
;
20073 wxListItem
*arg1
= (wxListItem
*) 0 ;
20075 PyObject
* obj0
= 0 ;
20076 PyObject
* obj1
= 0 ;
20077 char *kwnames
[] = {
20078 (char *) "self",(char *) "m_col", NULL
20081 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_col_set",kwnames
,&obj0
,&obj1
)) goto fail
;
20082 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20083 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20084 arg2
= (int) SWIG_AsInt(obj1
);
20085 if (PyErr_Occurred()) SWIG_fail
;
20086 if (arg1
) (arg1
)->m_col
= arg2
;
20088 Py_INCREF(Py_None
); resultobj
= Py_None
;
20095 static PyObject
*_wrap_ListItem_m_col_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20096 PyObject
*resultobj
;
20097 wxListItem
*arg1
= (wxListItem
*) 0 ;
20099 PyObject
* obj0
= 0 ;
20100 char *kwnames
[] = {
20101 (char *) "self", NULL
20104 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_col_get",kwnames
,&obj0
)) goto fail
;
20105 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20106 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20107 result
= (int) ((arg1
)->m_col
);
20109 resultobj
= SWIG_FromInt((int)result
);
20116 static PyObject
*_wrap_ListItem_m_state_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20117 PyObject
*resultobj
;
20118 wxListItem
*arg1
= (wxListItem
*) 0 ;
20120 PyObject
* obj0
= 0 ;
20121 PyObject
* obj1
= 0 ;
20122 char *kwnames
[] = {
20123 (char *) "self",(char *) "m_state", NULL
20126 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_state_set",kwnames
,&obj0
,&obj1
)) goto fail
;
20127 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20128 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20129 arg2
= (long) SWIG_AsLong(obj1
);
20130 if (PyErr_Occurred()) SWIG_fail
;
20131 if (arg1
) (arg1
)->m_state
= arg2
;
20133 Py_INCREF(Py_None
); resultobj
= Py_None
;
20140 static PyObject
*_wrap_ListItem_m_state_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20141 PyObject
*resultobj
;
20142 wxListItem
*arg1
= (wxListItem
*) 0 ;
20144 PyObject
* obj0
= 0 ;
20145 char *kwnames
[] = {
20146 (char *) "self", NULL
20149 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_state_get",kwnames
,&obj0
)) goto fail
;
20150 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20151 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20152 result
= (long) ((arg1
)->m_state
);
20154 resultobj
= SWIG_FromLong((long)result
);
20161 static PyObject
*_wrap_ListItem_m_stateMask_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20162 PyObject
*resultobj
;
20163 wxListItem
*arg1
= (wxListItem
*) 0 ;
20165 PyObject
* obj0
= 0 ;
20166 PyObject
* obj1
= 0 ;
20167 char *kwnames
[] = {
20168 (char *) "self",(char *) "m_stateMask", NULL
20171 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_stateMask_set",kwnames
,&obj0
,&obj1
)) goto fail
;
20172 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20173 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20174 arg2
= (long) SWIG_AsLong(obj1
);
20175 if (PyErr_Occurred()) SWIG_fail
;
20176 if (arg1
) (arg1
)->m_stateMask
= arg2
;
20178 Py_INCREF(Py_None
); resultobj
= Py_None
;
20185 static PyObject
*_wrap_ListItem_m_stateMask_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20186 PyObject
*resultobj
;
20187 wxListItem
*arg1
= (wxListItem
*) 0 ;
20189 PyObject
* obj0
= 0 ;
20190 char *kwnames
[] = {
20191 (char *) "self", NULL
20194 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_stateMask_get",kwnames
,&obj0
)) goto fail
;
20195 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20196 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20197 result
= (long) ((arg1
)->m_stateMask
);
20199 resultobj
= SWIG_FromLong((long)result
);
20206 static PyObject
*_wrap_ListItem_m_text_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20207 PyObject
*resultobj
;
20208 wxListItem
*arg1
= (wxListItem
*) 0 ;
20209 wxString
*arg2
= (wxString
*) 0 ;
20210 bool temp2
= False
;
20211 PyObject
* obj0
= 0 ;
20212 PyObject
* obj1
= 0 ;
20213 char *kwnames
[] = {
20214 (char *) "self",(char *) "m_text", NULL
20217 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_text_set",kwnames
,&obj0
,&obj1
)) goto fail
;
20218 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20219 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20221 arg2
= wxString_in_helper(obj1
);
20222 if (arg2
== NULL
) SWIG_fail
;
20225 if (arg1
) (arg1
)->m_text
= *arg2
;
20227 Py_INCREF(Py_None
); resultobj
= Py_None
;
20242 static PyObject
*_wrap_ListItem_m_text_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20243 PyObject
*resultobj
;
20244 wxListItem
*arg1
= (wxListItem
*) 0 ;
20246 PyObject
* obj0
= 0 ;
20247 char *kwnames
[] = {
20248 (char *) "self", NULL
20251 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_text_get",kwnames
,&obj0
)) goto fail
;
20252 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20253 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20254 result
= (wxString
*)& ((arg1
)->m_text
);
20258 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
20260 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
20269 static PyObject
*_wrap_ListItem_m_image_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20270 PyObject
*resultobj
;
20271 wxListItem
*arg1
= (wxListItem
*) 0 ;
20273 PyObject
* obj0
= 0 ;
20274 PyObject
* obj1
= 0 ;
20275 char *kwnames
[] = {
20276 (char *) "self",(char *) "m_image", NULL
20279 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_image_set",kwnames
,&obj0
,&obj1
)) goto fail
;
20280 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20281 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20282 arg2
= (int) SWIG_AsInt(obj1
);
20283 if (PyErr_Occurred()) SWIG_fail
;
20284 if (arg1
) (arg1
)->m_image
= arg2
;
20286 Py_INCREF(Py_None
); resultobj
= Py_None
;
20293 static PyObject
*_wrap_ListItem_m_image_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20294 PyObject
*resultobj
;
20295 wxListItem
*arg1
= (wxListItem
*) 0 ;
20297 PyObject
* obj0
= 0 ;
20298 char *kwnames
[] = {
20299 (char *) "self", NULL
20302 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_image_get",kwnames
,&obj0
)) goto fail
;
20303 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20304 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20305 result
= (int) ((arg1
)->m_image
);
20307 resultobj
= SWIG_FromInt((int)result
);
20314 static PyObject
*_wrap_ListItem_m_data_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20315 PyObject
*resultobj
;
20316 wxListItem
*arg1
= (wxListItem
*) 0 ;
20318 PyObject
* obj0
= 0 ;
20319 PyObject
* obj1
= 0 ;
20320 char *kwnames
[] = {
20321 (char *) "self",(char *) "m_data", NULL
20324 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_data_set",kwnames
,&obj0
,&obj1
)) goto fail
;
20325 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20326 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20327 arg2
= (long) SWIG_AsLong(obj1
);
20328 if (PyErr_Occurred()) SWIG_fail
;
20329 if (arg1
) (arg1
)->m_data
= arg2
;
20331 Py_INCREF(Py_None
); resultobj
= Py_None
;
20338 static PyObject
*_wrap_ListItem_m_data_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20339 PyObject
*resultobj
;
20340 wxListItem
*arg1
= (wxListItem
*) 0 ;
20342 PyObject
* obj0
= 0 ;
20343 char *kwnames
[] = {
20344 (char *) "self", NULL
20347 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_data_get",kwnames
,&obj0
)) goto fail
;
20348 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20349 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20350 result
= (long) ((arg1
)->m_data
);
20352 resultobj
= SWIG_FromLong((long)result
);
20359 static PyObject
*_wrap_ListItem_m_format_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20360 PyObject
*resultobj
;
20361 wxListItem
*arg1
= (wxListItem
*) 0 ;
20363 PyObject
* obj0
= 0 ;
20364 PyObject
* obj1
= 0 ;
20365 char *kwnames
[] = {
20366 (char *) "self",(char *) "m_format", NULL
20369 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_format_set",kwnames
,&obj0
,&obj1
)) goto fail
;
20370 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20371 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20372 arg2
= (int) SWIG_AsInt(obj1
);
20373 if (PyErr_Occurred()) SWIG_fail
;
20374 if (arg1
) (arg1
)->m_format
= arg2
;
20376 Py_INCREF(Py_None
); resultobj
= Py_None
;
20383 static PyObject
*_wrap_ListItem_m_format_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20384 PyObject
*resultobj
;
20385 wxListItem
*arg1
= (wxListItem
*) 0 ;
20387 PyObject
* obj0
= 0 ;
20388 char *kwnames
[] = {
20389 (char *) "self", NULL
20392 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_format_get",kwnames
,&obj0
)) goto fail
;
20393 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20394 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20395 result
= (int) ((arg1
)->m_format
);
20397 resultobj
= SWIG_FromInt((int)result
);
20404 static PyObject
*_wrap_ListItem_m_width_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20405 PyObject
*resultobj
;
20406 wxListItem
*arg1
= (wxListItem
*) 0 ;
20408 PyObject
* obj0
= 0 ;
20409 PyObject
* obj1
= 0 ;
20410 char *kwnames
[] = {
20411 (char *) "self",(char *) "m_width", NULL
20414 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_width_set",kwnames
,&obj0
,&obj1
)) goto fail
;
20415 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20416 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20417 arg2
= (int) SWIG_AsInt(obj1
);
20418 if (PyErr_Occurred()) SWIG_fail
;
20419 if (arg1
) (arg1
)->m_width
= arg2
;
20421 Py_INCREF(Py_None
); resultobj
= Py_None
;
20428 static PyObject
*_wrap_ListItem_m_width_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20429 PyObject
*resultobj
;
20430 wxListItem
*arg1
= (wxListItem
*) 0 ;
20432 PyObject
* obj0
= 0 ;
20433 char *kwnames
[] = {
20434 (char *) "self", NULL
20437 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_width_get",kwnames
,&obj0
)) goto fail
;
20438 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20439 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20440 result
= (int) ((arg1
)->m_width
);
20442 resultobj
= SWIG_FromInt((int)result
);
20449 static PyObject
* ListItem_swigregister(PyObject
*self
, PyObject
*args
) {
20451 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20452 SWIG_TypeClientData(SWIGTYPE_p_wxListItem
, obj
);
20454 return Py_BuildValue((char *)"");
20456 static PyObject
*_wrap_new_ListEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20457 PyObject
*resultobj
;
20458 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
20459 int arg2
= (int) 0 ;
20460 wxListEvent
*result
;
20461 PyObject
* obj0
= 0 ;
20462 PyObject
* obj1
= 0 ;
20463 char *kwnames
[] = {
20464 (char *) "commandType",(char *) "id", NULL
20467 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_ListEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
20469 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
20470 if (PyErr_Occurred()) SWIG_fail
;
20473 arg2
= (int) SWIG_AsInt(obj1
);
20474 if (PyErr_Occurred()) SWIG_fail
;
20477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20478 result
= (wxListEvent
*)new wxListEvent(arg1
,arg2
);
20480 wxPyEndAllowThreads(__tstate
);
20481 if (PyErr_Occurred()) SWIG_fail
;
20483 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListEvent
, 1);
20490 static PyObject
*_wrap_ListEvent_m_code_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20491 PyObject
*resultobj
;
20492 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20494 PyObject
* obj0
= 0 ;
20495 PyObject
* obj1
= 0 ;
20496 char *kwnames
[] = {
20497 (char *) "self",(char *) "m_code", NULL
20500 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_code_set",kwnames
,&obj0
,&obj1
)) goto fail
;
20501 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20502 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20503 arg2
= (int) SWIG_AsInt(obj1
);
20504 if (PyErr_Occurred()) SWIG_fail
;
20505 if (arg1
) (arg1
)->m_code
= arg2
;
20507 Py_INCREF(Py_None
); resultobj
= Py_None
;
20514 static PyObject
*_wrap_ListEvent_m_code_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20515 PyObject
*resultobj
;
20516 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20518 PyObject
* obj0
= 0 ;
20519 char *kwnames
[] = {
20520 (char *) "self", NULL
20523 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_code_get",kwnames
,&obj0
)) goto fail
;
20524 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20525 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20526 result
= (int) ((arg1
)->m_code
);
20528 resultobj
= SWIG_FromInt((int)result
);
20535 static PyObject
*_wrap_ListEvent_m_oldItemIndex_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20536 PyObject
*resultobj
;
20537 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20539 PyObject
* obj0
= 0 ;
20540 PyObject
* obj1
= 0 ;
20541 char *kwnames
[] = {
20542 (char *) "self",(char *) "m_oldItemIndex", NULL
20545 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_oldItemIndex_set",kwnames
,&obj0
,&obj1
)) goto fail
;
20546 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20547 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20548 arg2
= (long) SWIG_AsLong(obj1
);
20549 if (PyErr_Occurred()) SWIG_fail
;
20550 if (arg1
) (arg1
)->m_oldItemIndex
= arg2
;
20552 Py_INCREF(Py_None
); resultobj
= Py_None
;
20559 static PyObject
*_wrap_ListEvent_m_oldItemIndex_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20560 PyObject
*resultobj
;
20561 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20563 PyObject
* obj0
= 0 ;
20564 char *kwnames
[] = {
20565 (char *) "self", NULL
20568 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_oldItemIndex_get",kwnames
,&obj0
)) goto fail
;
20569 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20570 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20571 result
= (long) ((arg1
)->m_oldItemIndex
);
20573 resultobj
= SWIG_FromLong((long)result
);
20580 static PyObject
*_wrap_ListEvent_m_itemIndex_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20581 PyObject
*resultobj
;
20582 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20584 PyObject
* obj0
= 0 ;
20585 PyObject
* obj1
= 0 ;
20586 char *kwnames
[] = {
20587 (char *) "self",(char *) "m_itemIndex", NULL
20590 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_itemIndex_set",kwnames
,&obj0
,&obj1
)) goto fail
;
20591 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20592 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20593 arg2
= (long) SWIG_AsLong(obj1
);
20594 if (PyErr_Occurred()) SWIG_fail
;
20595 if (arg1
) (arg1
)->m_itemIndex
= arg2
;
20597 Py_INCREF(Py_None
); resultobj
= Py_None
;
20604 static PyObject
*_wrap_ListEvent_m_itemIndex_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20605 PyObject
*resultobj
;
20606 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20608 PyObject
* obj0
= 0 ;
20609 char *kwnames
[] = {
20610 (char *) "self", NULL
20613 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_itemIndex_get",kwnames
,&obj0
)) goto fail
;
20614 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20615 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20616 result
= (long) ((arg1
)->m_itemIndex
);
20618 resultobj
= SWIG_FromLong((long)result
);
20625 static PyObject
*_wrap_ListEvent_m_col_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20626 PyObject
*resultobj
;
20627 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20629 PyObject
* obj0
= 0 ;
20630 PyObject
* obj1
= 0 ;
20631 char *kwnames
[] = {
20632 (char *) "self",(char *) "m_col", NULL
20635 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_col_set",kwnames
,&obj0
,&obj1
)) goto fail
;
20636 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20637 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20638 arg2
= (int) SWIG_AsInt(obj1
);
20639 if (PyErr_Occurred()) SWIG_fail
;
20640 if (arg1
) (arg1
)->m_col
= arg2
;
20642 Py_INCREF(Py_None
); resultobj
= Py_None
;
20649 static PyObject
*_wrap_ListEvent_m_col_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20650 PyObject
*resultobj
;
20651 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20653 PyObject
* obj0
= 0 ;
20654 char *kwnames
[] = {
20655 (char *) "self", NULL
20658 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_col_get",kwnames
,&obj0
)) goto fail
;
20659 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20660 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20661 result
= (int) ((arg1
)->m_col
);
20663 resultobj
= SWIG_FromInt((int)result
);
20670 static PyObject
*_wrap_ListEvent_m_pointDrag_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20671 PyObject
*resultobj
;
20672 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20673 wxPoint
*arg2
= (wxPoint
*) 0 ;
20674 PyObject
* obj0
= 0 ;
20675 PyObject
* obj1
= 0 ;
20676 char *kwnames
[] = {
20677 (char *) "self",(char *) "m_pointDrag", NULL
20680 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_pointDrag_set",kwnames
,&obj0
,&obj1
)) goto fail
;
20681 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20682 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20683 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPoint
,
20684 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20685 if (arg1
) (arg1
)->m_pointDrag
= *arg2
;
20687 Py_INCREF(Py_None
); resultobj
= Py_None
;
20694 static PyObject
*_wrap_ListEvent_m_pointDrag_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20695 PyObject
*resultobj
;
20696 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20698 PyObject
* obj0
= 0 ;
20699 char *kwnames
[] = {
20700 (char *) "self", NULL
20703 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_pointDrag_get",kwnames
,&obj0
)) goto fail
;
20704 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20705 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20706 result
= (wxPoint
*)& ((arg1
)->m_pointDrag
);
20708 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 0);
20715 static PyObject
*_wrap_ListEvent_m_item_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20716 PyObject
*resultobj
;
20717 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20718 wxListItem
*result
;
20719 PyObject
* obj0
= 0 ;
20720 char *kwnames
[] = {
20721 (char *) "self", NULL
20724 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_item_get",kwnames
,&obj0
)) goto fail
;
20725 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20726 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20727 result
= (wxListItem
*)& ((arg1
)->m_item
);
20730 resultobj
= wxPyMake_wxObject(result
);
20738 static PyObject
*_wrap_ListEvent_GetKeyCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20739 PyObject
*resultobj
;
20740 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20742 PyObject
* obj0
= 0 ;
20743 char *kwnames
[] = {
20744 (char *) "self", NULL
20747 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetKeyCode",kwnames
,&obj0
)) goto fail
;
20748 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20749 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20752 result
= (int)(arg1
)->GetKeyCode();
20754 wxPyEndAllowThreads(__tstate
);
20755 if (PyErr_Occurred()) SWIG_fail
;
20757 resultobj
= SWIG_FromInt((int)result
);
20764 static PyObject
*_wrap_ListEvent_GetIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20765 PyObject
*resultobj
;
20766 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20768 PyObject
* obj0
= 0 ;
20769 char *kwnames
[] = {
20770 (char *) "self", NULL
20773 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetIndex",kwnames
,&obj0
)) goto fail
;
20774 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20775 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20778 result
= (long)(arg1
)->GetIndex();
20780 wxPyEndAllowThreads(__tstate
);
20781 if (PyErr_Occurred()) SWIG_fail
;
20783 resultobj
= SWIG_FromLong((long)result
);
20790 static PyObject
*_wrap_ListEvent_GetColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20791 PyObject
*resultobj
;
20792 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20794 PyObject
* obj0
= 0 ;
20795 char *kwnames
[] = {
20796 (char *) "self", NULL
20799 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetColumn",kwnames
,&obj0
)) goto fail
;
20800 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20801 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20804 result
= (int)(arg1
)->GetColumn();
20806 wxPyEndAllowThreads(__tstate
);
20807 if (PyErr_Occurred()) SWIG_fail
;
20809 resultobj
= SWIG_FromInt((int)result
);
20816 static PyObject
*_wrap_ListEvent_GetPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20817 PyObject
*resultobj
;
20818 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20820 PyObject
* obj0
= 0 ;
20821 char *kwnames
[] = {
20822 (char *) "self", NULL
20825 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetPoint",kwnames
,&obj0
)) goto fail
;
20826 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20827 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20830 result
= (arg1
)->GetPoint();
20832 wxPyEndAllowThreads(__tstate
);
20833 if (PyErr_Occurred()) SWIG_fail
;
20836 wxPoint
* resultptr
;
20837 resultptr
= new wxPoint((wxPoint
&) result
);
20838 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
20846 static PyObject
*_wrap_ListEvent_GetLabel(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_GetLabel",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
)->GetLabel();
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_GetText(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_GetText",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();
20896 wxString
const &_result_ref
= (arg1
)->GetText();
20897 result
= (wxString
*) &_result_ref
;
20900 wxPyEndAllowThreads(__tstate
);
20901 if (PyErr_Occurred()) SWIG_fail
;
20905 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
20907 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
20916 static PyObject
*_wrap_ListEvent_GetImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20917 PyObject
*resultobj
;
20918 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20920 PyObject
* obj0
= 0 ;
20921 char *kwnames
[] = {
20922 (char *) "self", NULL
20925 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetImage",kwnames
,&obj0
)) goto fail
;
20926 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20927 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20930 result
= (int)(arg1
)->GetImage();
20932 wxPyEndAllowThreads(__tstate
);
20933 if (PyErr_Occurred()) SWIG_fail
;
20935 resultobj
= SWIG_FromInt((int)result
);
20942 static PyObject
*_wrap_ListEvent_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20943 PyObject
*resultobj
;
20944 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20946 PyObject
* obj0
= 0 ;
20947 char *kwnames
[] = {
20948 (char *) "self", NULL
20951 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetData",kwnames
,&obj0
)) goto fail
;
20952 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20953 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20956 result
= (long)(arg1
)->GetData();
20958 wxPyEndAllowThreads(__tstate
);
20959 if (PyErr_Occurred()) SWIG_fail
;
20961 resultobj
= SWIG_FromLong((long)result
);
20968 static PyObject
*_wrap_ListEvent_GetMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20969 PyObject
*resultobj
;
20970 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20972 PyObject
* obj0
= 0 ;
20973 char *kwnames
[] = {
20974 (char *) "self", NULL
20977 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetMask",kwnames
,&obj0
)) goto fail
;
20978 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20979 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20982 result
= (long)(arg1
)->GetMask();
20984 wxPyEndAllowThreads(__tstate
);
20985 if (PyErr_Occurred()) SWIG_fail
;
20987 resultobj
= SWIG_FromLong((long)result
);
20994 static PyObject
*_wrap_ListEvent_GetItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20995 PyObject
*resultobj
;
20996 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20997 wxListItem
*result
;
20998 PyObject
* obj0
= 0 ;
20999 char *kwnames
[] = {
21000 (char *) "self", NULL
21003 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetItem",kwnames
,&obj0
)) goto fail
;
21004 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
21005 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21009 wxListItem
const &_result_ref
= (arg1
)->GetItem();
21010 result
= (wxListItem
*) &_result_ref
;
21013 wxPyEndAllowThreads(__tstate
);
21014 if (PyErr_Occurred()) SWIG_fail
;
21016 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListItem
, 0);
21023 static PyObject
*_wrap_ListEvent_GetCacheFrom(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21024 PyObject
*resultobj
;
21025 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
21027 PyObject
* obj0
= 0 ;
21028 char *kwnames
[] = {
21029 (char *) "self", NULL
21032 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetCacheFrom",kwnames
,&obj0
)) goto fail
;
21033 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
21034 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21037 result
= (long)(arg1
)->GetCacheFrom();
21039 wxPyEndAllowThreads(__tstate
);
21040 if (PyErr_Occurred()) SWIG_fail
;
21042 resultobj
= SWIG_FromLong((long)result
);
21049 static PyObject
*_wrap_ListEvent_GetCacheTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21050 PyObject
*resultobj
;
21051 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
21053 PyObject
* obj0
= 0 ;
21054 char *kwnames
[] = {
21055 (char *) "self", NULL
21058 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetCacheTo",kwnames
,&obj0
)) goto fail
;
21059 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
21060 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21063 result
= (long)(arg1
)->GetCacheTo();
21065 wxPyEndAllowThreads(__tstate
);
21066 if (PyErr_Occurred()) SWIG_fail
;
21068 resultobj
= SWIG_FromLong((long)result
);
21075 static PyObject
*_wrap_ListEvent_IsEditCancelled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21076 PyObject
*resultobj
;
21077 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
21079 PyObject
* obj0
= 0 ;
21080 char *kwnames
[] = {
21081 (char *) "self", NULL
21084 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_IsEditCancelled",kwnames
,&obj0
)) goto fail
;
21085 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
21086 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21089 result
= (bool)((wxListEvent
const *)arg1
)->IsEditCancelled();
21091 wxPyEndAllowThreads(__tstate
);
21092 if (PyErr_Occurred()) SWIG_fail
;
21095 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21103 static PyObject
*_wrap_ListEvent_SetEditCanceled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21104 PyObject
*resultobj
;
21105 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
21107 PyObject
* obj0
= 0 ;
21108 PyObject
* obj1
= 0 ;
21109 char *kwnames
[] = {
21110 (char *) "self",(char *) "editCancelled", NULL
21113 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_SetEditCanceled",kwnames
,&obj0
,&obj1
)) goto fail
;
21114 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
21115 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21116 arg2
= (bool) SWIG_AsBool(obj1
);
21117 if (PyErr_Occurred()) SWIG_fail
;
21119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21120 (arg1
)->SetEditCanceled(arg2
);
21122 wxPyEndAllowThreads(__tstate
);
21123 if (PyErr_Occurred()) SWIG_fail
;
21125 Py_INCREF(Py_None
); resultobj
= Py_None
;
21132 static PyObject
* ListEvent_swigregister(PyObject
*self
, PyObject
*args
) {
21134 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21135 SWIG_TypeClientData(SWIGTYPE_p_wxListEvent
, obj
);
21137 return Py_BuildValue((char *)"");
21139 static PyObject
*_wrap_new_ListCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21140 PyObject
*resultobj
;
21141 wxWindow
*arg1
= (wxWindow
*) 0 ;
21142 int arg2
= (int) -1 ;
21143 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
21144 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
21145 wxSize
const &arg4_defvalue
= wxDefaultSize
;
21146 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
21147 long arg5
= (long) wxLC_ICON
;
21148 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
21149 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
21150 wxString
const &arg7_defvalue
= wxPyListCtrlNameStr
;
21151 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
21152 wxPyListCtrl
*result
;
21155 bool temp7
= False
;
21156 PyObject
* obj0
= 0 ;
21157 PyObject
* obj1
= 0 ;
21158 PyObject
* obj2
= 0 ;
21159 PyObject
* obj3
= 0 ;
21160 PyObject
* obj4
= 0 ;
21161 PyObject
* obj5
= 0 ;
21162 PyObject
* obj6
= 0 ;
21163 char *kwnames
[] = {
21164 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
21167 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_ListCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
21168 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21169 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21171 arg2
= (int) SWIG_AsInt(obj1
);
21172 if (PyErr_Occurred()) SWIG_fail
;
21177 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
21183 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
21187 arg5
= (long) SWIG_AsLong(obj4
);
21188 if (PyErr_Occurred()) SWIG_fail
;
21191 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxValidator
,
21192 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21194 if (arg6
== NULL
) {
21195 PyErr_SetString(PyExc_TypeError
,"null reference");
21201 arg7
= wxString_in_helper(obj6
);
21202 if (arg7
== NULL
) SWIG_fail
;
21207 if (!wxPyCheckForApp()) SWIG_fail
;
21208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21209 result
= (wxPyListCtrl
*)new wxPyListCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
21211 wxPyEndAllowThreads(__tstate
);
21212 if (PyErr_Occurred()) SWIG_fail
;
21214 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyListCtrl
, 1);
21229 static PyObject
*_wrap_new_PreListCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21230 PyObject
*resultobj
;
21231 wxPyListCtrl
*result
;
21232 char *kwnames
[] = {
21236 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreListCtrl",kwnames
)) goto fail
;
21238 if (!wxPyCheckForApp()) SWIG_fail
;
21239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21240 result
= (wxPyListCtrl
*)new wxPyListCtrl();
21242 wxPyEndAllowThreads(__tstate
);
21243 if (PyErr_Occurred()) SWIG_fail
;
21245 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyListCtrl
, 1);
21252 static PyObject
*_wrap_ListCtrl_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21253 PyObject
*resultobj
;
21254 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21255 wxWindow
*arg2
= (wxWindow
*) 0 ;
21256 int arg3
= (int) -1 ;
21257 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
21258 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
21259 wxSize
const &arg5_defvalue
= wxDefaultSize
;
21260 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
21261 long arg6
= (long) wxLC_ICON
;
21262 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
21263 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
21264 wxString
const &arg8_defvalue
= wxPyListCtrlNameStr
;
21265 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
21269 bool temp8
= False
;
21270 PyObject
* obj0
= 0 ;
21271 PyObject
* obj1
= 0 ;
21272 PyObject
* obj2
= 0 ;
21273 PyObject
* obj3
= 0 ;
21274 PyObject
* obj4
= 0 ;
21275 PyObject
* obj5
= 0 ;
21276 PyObject
* obj6
= 0 ;
21277 PyObject
* obj7
= 0 ;
21278 char *kwnames
[] = {
21279 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
21282 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:ListCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
21283 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21284 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21285 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
21286 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21288 arg3
= (int) SWIG_AsInt(obj2
);
21289 if (PyErr_Occurred()) SWIG_fail
;
21294 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
21300 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
21304 arg6
= (long) SWIG_AsLong(obj5
);
21305 if (PyErr_Occurred()) SWIG_fail
;
21308 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
21309 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21311 if (arg7
== NULL
) {
21312 PyErr_SetString(PyExc_TypeError
,"null reference");
21318 arg8
= wxString_in_helper(obj7
);
21319 if (arg8
== NULL
) SWIG_fail
;
21324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21325 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
21327 wxPyEndAllowThreads(__tstate
);
21328 if (PyErr_Occurred()) SWIG_fail
;
21331 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21347 static PyObject
*_wrap_ListCtrl__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21348 PyObject
*resultobj
;
21349 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21350 PyObject
*arg2
= (PyObject
*) 0 ;
21351 PyObject
*arg3
= (PyObject
*) 0 ;
21352 PyObject
* obj0
= 0 ;
21353 PyObject
* obj1
= 0 ;
21354 PyObject
* obj2
= 0 ;
21355 char *kwnames
[] = {
21356 (char *) "self",(char *) "self",(char *) "_class", NULL
21359 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21360 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21361 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21366 (arg1
)->_setCallbackInfo(arg2
,arg3
);
21368 wxPyEndAllowThreads(__tstate
);
21369 if (PyErr_Occurred()) SWIG_fail
;
21371 Py_INCREF(Py_None
); resultobj
= Py_None
;
21378 static PyObject
*_wrap_ListCtrl_SetForegroundColour(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_SetForegroundColour",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
)->SetForegroundColour((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_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21414 PyObject
*resultobj
;
21415 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21416 wxColour
*arg2
= 0 ;
21419 PyObject
* obj0
= 0 ;
21420 PyObject
* obj1
= 0 ;
21421 char *kwnames
[] = {
21422 (char *) "self",(char *) "col", NULL
21425 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
21426 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21427 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21430 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
21433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21434 result
= (bool)(arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
21436 wxPyEndAllowThreads(__tstate
);
21437 if (PyErr_Occurred()) SWIG_fail
;
21440 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21448 static PyObject
*_wrap_ListCtrl_GetColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21449 PyObject
*resultobj
;
21450 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21452 wxListItem
*result
;
21453 PyObject
* obj0
= 0 ;
21454 PyObject
* obj1
= 0 ;
21455 char *kwnames
[] = {
21456 (char *) "self",(char *) "col", NULL
21459 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetColumn",kwnames
,&obj0
,&obj1
)) goto fail
;
21460 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21461 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21462 arg2
= (int) SWIG_AsInt(obj1
);
21463 if (PyErr_Occurred()) SWIG_fail
;
21465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21466 result
= (wxListItem
*)wxPyListCtrl_GetColumn(arg1
,arg2
);
21468 wxPyEndAllowThreads(__tstate
);
21469 if (PyErr_Occurred()) SWIG_fail
;
21472 resultobj
= wxPyMake_wxObject(result
);
21480 static PyObject
*_wrap_ListCtrl_SetColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21481 PyObject
*resultobj
;
21482 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21484 wxListItem
*arg3
= 0 ;
21486 PyObject
* obj0
= 0 ;
21487 PyObject
* obj1
= 0 ;
21488 PyObject
* obj2
= 0 ;
21489 char *kwnames
[] = {
21490 (char *) "self",(char *) "col",(char *) "item", NULL
21493 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetColumn",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21494 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21495 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21496 arg2
= (int) SWIG_AsInt(obj1
);
21497 if (PyErr_Occurred()) SWIG_fail
;
21498 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxListItem
,
21499 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21501 if (arg3
== NULL
) {
21502 PyErr_SetString(PyExc_TypeError
,"null reference");
21506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21507 result
= (bool)(arg1
)->SetColumn(arg2
,*arg3
);
21509 wxPyEndAllowThreads(__tstate
);
21510 if (PyErr_Occurred()) SWIG_fail
;
21513 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21521 static PyObject
*_wrap_ListCtrl_GetColumnWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21522 PyObject
*resultobj
;
21523 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21526 PyObject
* obj0
= 0 ;
21527 PyObject
* obj1
= 0 ;
21528 char *kwnames
[] = {
21529 (char *) "self",(char *) "col", NULL
21532 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetColumnWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
21533 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21534 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21535 arg2
= (int) SWIG_AsInt(obj1
);
21536 if (PyErr_Occurred()) SWIG_fail
;
21538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21539 result
= (int)((wxPyListCtrl
const *)arg1
)->GetColumnWidth(arg2
);
21541 wxPyEndAllowThreads(__tstate
);
21542 if (PyErr_Occurred()) SWIG_fail
;
21544 resultobj
= SWIG_FromInt((int)result
);
21551 static PyObject
*_wrap_ListCtrl_SetColumnWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21552 PyObject
*resultobj
;
21553 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21557 PyObject
* obj0
= 0 ;
21558 PyObject
* obj1
= 0 ;
21559 PyObject
* obj2
= 0 ;
21560 char *kwnames
[] = {
21561 (char *) "self",(char *) "col",(char *) "width", NULL
21564 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetColumnWidth",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21565 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21566 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21567 arg2
= (int) SWIG_AsInt(obj1
);
21568 if (PyErr_Occurred()) SWIG_fail
;
21569 arg3
= (int) SWIG_AsInt(obj2
);
21570 if (PyErr_Occurred()) SWIG_fail
;
21572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21573 result
= (bool)(arg1
)->SetColumnWidth(arg2
,arg3
);
21575 wxPyEndAllowThreads(__tstate
);
21576 if (PyErr_Occurred()) SWIG_fail
;
21579 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21587 static PyObject
*_wrap_ListCtrl_GetCountPerPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21588 PyObject
*resultobj
;
21589 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21591 PyObject
* obj0
= 0 ;
21592 char *kwnames
[] = {
21593 (char *) "self", NULL
21596 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetCountPerPage",kwnames
,&obj0
)) goto fail
;
21597 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21598 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21601 result
= (int)((wxPyListCtrl
const *)arg1
)->GetCountPerPage();
21603 wxPyEndAllowThreads(__tstate
);
21604 if (PyErr_Occurred()) SWIG_fail
;
21606 resultobj
= SWIG_FromInt((int)result
);
21613 static PyObject
*_wrap_ListCtrl_GetViewRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21614 PyObject
*resultobj
;
21615 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21617 PyObject
* obj0
= 0 ;
21618 char *kwnames
[] = {
21619 (char *) "self", NULL
21622 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetViewRect",kwnames
,&obj0
)) goto fail
;
21623 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21624 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21627 result
= ((wxPyListCtrl
const *)arg1
)->GetViewRect();
21629 wxPyEndAllowThreads(__tstate
);
21630 if (PyErr_Occurred()) SWIG_fail
;
21633 wxRect
* resultptr
;
21634 resultptr
= new wxRect((wxRect
&) result
);
21635 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
21643 static PyObject
*_wrap_ListCtrl_GetEditControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21644 PyObject
*resultobj
;
21645 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21646 wxTextCtrl
*result
;
21647 PyObject
* obj0
= 0 ;
21648 char *kwnames
[] = {
21649 (char *) "self", NULL
21652 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetEditControl",kwnames
,&obj0
)) goto fail
;
21653 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21654 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21657 result
= (wxTextCtrl
*)((wxPyListCtrl
const *)arg1
)->GetEditControl();
21659 wxPyEndAllowThreads(__tstate
);
21660 if (PyErr_Occurred()) SWIG_fail
;
21663 resultobj
= wxPyMake_wxObject(result
);
21671 static PyObject
*_wrap_ListCtrl_GetItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21672 PyObject
*resultobj
;
21673 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21675 int arg3
= (int) 0 ;
21676 wxListItem
*result
;
21677 PyObject
* obj0
= 0 ;
21678 PyObject
* obj1
= 0 ;
21679 PyObject
* obj2
= 0 ;
21680 char *kwnames
[] = {
21681 (char *) "self",(char *) "itemId",(char *) "col", NULL
21684 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_GetItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21685 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21686 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21687 arg2
= (long) SWIG_AsLong(obj1
);
21688 if (PyErr_Occurred()) SWIG_fail
;
21690 arg3
= (int) SWIG_AsInt(obj2
);
21691 if (PyErr_Occurred()) SWIG_fail
;
21694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21695 result
= (wxListItem
*)wxPyListCtrl_GetItem(arg1
,arg2
,arg3
);
21697 wxPyEndAllowThreads(__tstate
);
21698 if (PyErr_Occurred()) SWIG_fail
;
21701 resultobj
= wxPyMake_wxObject(result
);
21709 static PyObject
*_wrap_ListCtrl_SetItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21710 PyObject
*resultobj
;
21711 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21712 wxListItem
*arg2
= 0 ;
21714 PyObject
* obj0
= 0 ;
21715 PyObject
* obj1
= 0 ;
21716 char *kwnames
[] = {
21717 (char *) "self",(char *) "info", NULL
21720 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetItem",kwnames
,&obj0
,&obj1
)) goto fail
;
21721 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21722 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21723 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxListItem
,
21724 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21726 if (arg2
== NULL
) {
21727 PyErr_SetString(PyExc_TypeError
,"null reference");
21731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21732 result
= (bool)(arg1
)->SetItem(*arg2
);
21734 wxPyEndAllowThreads(__tstate
);
21735 if (PyErr_Occurred()) SWIG_fail
;
21738 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21746 static PyObject
*_wrap_ListCtrl_SetStringItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21747 PyObject
*resultobj
;
21748 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21751 wxString
*arg4
= 0 ;
21752 int arg5
= (int) -1 ;
21754 bool temp4
= False
;
21755 PyObject
* obj0
= 0 ;
21756 PyObject
* obj1
= 0 ;
21757 PyObject
* obj2
= 0 ;
21758 PyObject
* obj3
= 0 ;
21759 PyObject
* obj4
= 0 ;
21760 char *kwnames
[] = {
21761 (char *) "self",(char *) "index",(char *) "col",(char *) "label",(char *) "imageId", NULL
21764 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:ListCtrl_SetStringItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
21765 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21766 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21767 arg2
= (long) SWIG_AsLong(obj1
);
21768 if (PyErr_Occurred()) SWIG_fail
;
21769 arg3
= (int) SWIG_AsInt(obj2
);
21770 if (PyErr_Occurred()) SWIG_fail
;
21772 arg4
= wxString_in_helper(obj3
);
21773 if (arg4
== NULL
) SWIG_fail
;
21777 arg5
= (int) SWIG_AsInt(obj4
);
21778 if (PyErr_Occurred()) SWIG_fail
;
21781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21782 result
= (long)(arg1
)->SetItem(arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
21784 wxPyEndAllowThreads(__tstate
);
21785 if (PyErr_Occurred()) SWIG_fail
;
21787 resultobj
= SWIG_FromLong((long)result
);
21802 static PyObject
*_wrap_ListCtrl_GetItemState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21803 PyObject
*resultobj
;
21804 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21808 PyObject
* obj0
= 0 ;
21809 PyObject
* obj1
= 0 ;
21810 PyObject
* obj2
= 0 ;
21811 char *kwnames
[] = {
21812 (char *) "self",(char *) "item",(char *) "stateMask", NULL
21815 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_GetItemState",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21816 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21817 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21818 arg2
= (long) SWIG_AsLong(obj1
);
21819 if (PyErr_Occurred()) SWIG_fail
;
21820 arg3
= (long) SWIG_AsLong(obj2
);
21821 if (PyErr_Occurred()) SWIG_fail
;
21823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21824 result
= (int)((wxPyListCtrl
const *)arg1
)->GetItemState(arg2
,arg3
);
21826 wxPyEndAllowThreads(__tstate
);
21827 if (PyErr_Occurred()) SWIG_fail
;
21829 resultobj
= SWIG_FromInt((int)result
);
21836 static PyObject
*_wrap_ListCtrl_SetItemState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21837 PyObject
*resultobj
;
21838 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21843 PyObject
* obj0
= 0 ;
21844 PyObject
* obj1
= 0 ;
21845 PyObject
* obj2
= 0 ;
21846 PyObject
* obj3
= 0 ;
21847 char *kwnames
[] = {
21848 (char *) "self",(char *) "item",(char *) "state",(char *) "stateMask", NULL
21851 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_SetItemState",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
21852 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21853 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21854 arg2
= (long) SWIG_AsLong(obj1
);
21855 if (PyErr_Occurred()) SWIG_fail
;
21856 arg3
= (long) SWIG_AsLong(obj2
);
21857 if (PyErr_Occurred()) SWIG_fail
;
21858 arg4
= (long) SWIG_AsLong(obj3
);
21859 if (PyErr_Occurred()) SWIG_fail
;
21861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21862 result
= (bool)(arg1
)->SetItemState(arg2
,arg3
,arg4
);
21864 wxPyEndAllowThreads(__tstate
);
21865 if (PyErr_Occurred()) SWIG_fail
;
21868 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21876 static PyObject
*_wrap_ListCtrl_SetItemImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21877 PyObject
*resultobj
;
21878 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21883 PyObject
* obj0
= 0 ;
21884 PyObject
* obj1
= 0 ;
21885 PyObject
* obj2
= 0 ;
21886 PyObject
* obj3
= 0 ;
21887 char *kwnames
[] = {
21888 (char *) "self",(char *) "item",(char *) "image",(char *) "selImage", NULL
21891 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_SetItemImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
21892 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21893 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21894 arg2
= (long) SWIG_AsLong(obj1
);
21895 if (PyErr_Occurred()) SWIG_fail
;
21896 arg3
= (int) SWIG_AsInt(obj2
);
21897 if (PyErr_Occurred()) SWIG_fail
;
21898 arg4
= (int) SWIG_AsInt(obj3
);
21899 if (PyErr_Occurred()) SWIG_fail
;
21901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21902 result
= (bool)(arg1
)->SetItemImage(arg2
,arg3
,arg4
);
21904 wxPyEndAllowThreads(__tstate
);
21905 if (PyErr_Occurred()) SWIG_fail
;
21908 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21916 static PyObject
*_wrap_ListCtrl_GetItemText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21917 PyObject
*resultobj
;
21918 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21921 PyObject
* obj0
= 0 ;
21922 PyObject
* obj1
= 0 ;
21923 char *kwnames
[] = {
21924 (char *) "self",(char *) "item", NULL
21927 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemText",kwnames
,&obj0
,&obj1
)) goto fail
;
21928 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21929 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21930 arg2
= (long) SWIG_AsLong(obj1
);
21931 if (PyErr_Occurred()) SWIG_fail
;
21933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21934 result
= ((wxPyListCtrl
const *)arg1
)->GetItemText(arg2
);
21936 wxPyEndAllowThreads(__tstate
);
21937 if (PyErr_Occurred()) SWIG_fail
;
21941 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
21943 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
21952 static PyObject
*_wrap_ListCtrl_SetItemText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21953 PyObject
*resultobj
;
21954 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21956 wxString
*arg3
= 0 ;
21957 bool temp3
= False
;
21958 PyObject
* obj0
= 0 ;
21959 PyObject
* obj1
= 0 ;
21960 PyObject
* obj2
= 0 ;
21961 char *kwnames
[] = {
21962 (char *) "self",(char *) "item",(char *) "str", NULL
21965 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21966 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21967 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21968 arg2
= (long) SWIG_AsLong(obj1
);
21969 if (PyErr_Occurred()) SWIG_fail
;
21971 arg3
= wxString_in_helper(obj2
);
21972 if (arg3
== NULL
) SWIG_fail
;
21976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21977 (arg1
)->SetItemText(arg2
,(wxString
const &)*arg3
);
21979 wxPyEndAllowThreads(__tstate
);
21980 if (PyErr_Occurred()) SWIG_fail
;
21982 Py_INCREF(Py_None
); resultobj
= Py_None
;
21997 static PyObject
*_wrap_ListCtrl_GetItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21998 PyObject
*resultobj
;
21999 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22002 PyObject
* obj0
= 0 ;
22003 PyObject
* obj1
= 0 ;
22004 char *kwnames
[] = {
22005 (char *) "self",(char *) "item", NULL
22008 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemData",kwnames
,&obj0
,&obj1
)) goto fail
;
22009 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22010 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22011 arg2
= (long) SWIG_AsLong(obj1
);
22012 if (PyErr_Occurred()) SWIG_fail
;
22014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22015 result
= (long)((wxPyListCtrl
const *)arg1
)->GetItemData(arg2
);
22017 wxPyEndAllowThreads(__tstate
);
22018 if (PyErr_Occurred()) SWIG_fail
;
22020 resultobj
= SWIG_FromLong((long)result
);
22027 static PyObject
*_wrap_ListCtrl_SetItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22028 PyObject
*resultobj
;
22029 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22033 PyObject
* obj0
= 0 ;
22034 PyObject
* obj1
= 0 ;
22035 PyObject
* obj2
= 0 ;
22036 char *kwnames
[] = {
22037 (char *) "self",(char *) "item",(char *) "data", NULL
22040 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22041 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22042 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22043 arg2
= (long) SWIG_AsLong(obj1
);
22044 if (PyErr_Occurred()) SWIG_fail
;
22045 arg3
= (long) SWIG_AsLong(obj2
);
22046 if (PyErr_Occurred()) SWIG_fail
;
22048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22049 result
= (bool)(arg1
)->SetItemData(arg2
,arg3
);
22051 wxPyEndAllowThreads(__tstate
);
22052 if (PyErr_Occurred()) SWIG_fail
;
22055 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22063 static PyObject
*_wrap_ListCtrl_GetItemPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22064 PyObject
*resultobj
;
22065 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22068 PyObject
* obj0
= 0 ;
22069 PyObject
* obj1
= 0 ;
22070 char *kwnames
[] = {
22071 (char *) "self",(char *) "item", NULL
22074 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
22075 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22076 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22077 arg2
= (long) SWIG_AsLong(obj1
);
22078 if (PyErr_Occurred()) SWIG_fail
;
22080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22081 result
= wxPyListCtrl_GetItemPosition(arg1
,arg2
);
22083 wxPyEndAllowThreads(__tstate
);
22084 if (PyErr_Occurred()) SWIG_fail
;
22087 wxPoint
* resultptr
;
22088 resultptr
= new wxPoint((wxPoint
&) result
);
22089 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
22097 static PyObject
*_wrap_ListCtrl_GetItemRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22098 PyObject
*resultobj
;
22099 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22101 int arg3
= (int) wxLIST_RECT_BOUNDS
;
22103 PyObject
* obj0
= 0 ;
22104 PyObject
* obj1
= 0 ;
22105 PyObject
* obj2
= 0 ;
22106 char *kwnames
[] = {
22107 (char *) "self",(char *) "item",(char *) "code", NULL
22110 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_GetItemRect",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22111 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22112 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22113 arg2
= (long) SWIG_AsLong(obj1
);
22114 if (PyErr_Occurred()) SWIG_fail
;
22116 arg3
= (int) SWIG_AsInt(obj2
);
22117 if (PyErr_Occurred()) SWIG_fail
;
22120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22121 result
= wxPyListCtrl_GetItemRect(arg1
,arg2
,arg3
);
22123 wxPyEndAllowThreads(__tstate
);
22124 if (PyErr_Occurred()) SWIG_fail
;
22127 wxRect
* resultptr
;
22128 resultptr
= new wxRect((wxRect
&) result
);
22129 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
22137 static PyObject
*_wrap_ListCtrl_SetItemPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22138 PyObject
*resultobj
;
22139 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22141 wxPoint
*arg3
= 0 ;
22144 PyObject
* obj0
= 0 ;
22145 PyObject
* obj1
= 0 ;
22146 PyObject
* obj2
= 0 ;
22147 char *kwnames
[] = {
22148 (char *) "self",(char *) "item",(char *) "pos", NULL
22151 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemPosition",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22152 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22153 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22154 arg2
= (long) SWIG_AsLong(obj1
);
22155 if (PyErr_Occurred()) SWIG_fail
;
22158 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
22161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22162 result
= (bool)(arg1
)->SetItemPosition(arg2
,(wxPoint
const &)*arg3
);
22164 wxPyEndAllowThreads(__tstate
);
22165 if (PyErr_Occurred()) SWIG_fail
;
22168 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22176 static PyObject
*_wrap_ListCtrl_GetItemCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22177 PyObject
*resultobj
;
22178 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22180 PyObject
* obj0
= 0 ;
22181 char *kwnames
[] = {
22182 (char *) "self", NULL
22185 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetItemCount",kwnames
,&obj0
)) goto fail
;
22186 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22187 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22190 result
= (int)((wxPyListCtrl
const *)arg1
)->GetItemCount();
22192 wxPyEndAllowThreads(__tstate
);
22193 if (PyErr_Occurred()) SWIG_fail
;
22195 resultobj
= SWIG_FromInt((int)result
);
22202 static PyObject
*_wrap_ListCtrl_GetColumnCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22203 PyObject
*resultobj
;
22204 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22206 PyObject
* obj0
= 0 ;
22207 char *kwnames
[] = {
22208 (char *) "self", NULL
22211 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetColumnCount",kwnames
,&obj0
)) goto fail
;
22212 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22213 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22216 result
= (int)((wxPyListCtrl
const *)arg1
)->GetColumnCount();
22218 wxPyEndAllowThreads(__tstate
);
22219 if (PyErr_Occurred()) SWIG_fail
;
22221 resultobj
= SWIG_FromInt((int)result
);
22228 static PyObject
*_wrap_ListCtrl_GetItemSpacing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22229 PyObject
*resultobj
;
22230 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22232 PyObject
* obj0
= 0 ;
22233 char *kwnames
[] = {
22234 (char *) "self", NULL
22237 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetItemSpacing",kwnames
,&obj0
)) goto fail
;
22238 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22239 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22242 result
= ((wxPyListCtrl
const *)arg1
)->GetItemSpacing();
22244 wxPyEndAllowThreads(__tstate
);
22245 if (PyErr_Occurred()) SWIG_fail
;
22248 wxSize
* resultptr
;
22249 resultptr
= new wxSize((wxSize
&) result
);
22250 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
22258 static PyObject
*_wrap_ListCtrl_GetSelectedItemCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22259 PyObject
*resultobj
;
22260 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22262 PyObject
* obj0
= 0 ;
22263 char *kwnames
[] = {
22264 (char *) "self", NULL
22267 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetSelectedItemCount",kwnames
,&obj0
)) goto fail
;
22268 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22269 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22272 result
= (int)((wxPyListCtrl
const *)arg1
)->GetSelectedItemCount();
22274 wxPyEndAllowThreads(__tstate
);
22275 if (PyErr_Occurred()) SWIG_fail
;
22277 resultobj
= SWIG_FromInt((int)result
);
22284 static PyObject
*_wrap_ListCtrl_GetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22285 PyObject
*resultobj
;
22286 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22288 PyObject
* obj0
= 0 ;
22289 char *kwnames
[] = {
22290 (char *) "self", NULL
22293 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetTextColour",kwnames
,&obj0
)) goto fail
;
22294 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22295 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22298 result
= ((wxPyListCtrl
const *)arg1
)->GetTextColour();
22300 wxPyEndAllowThreads(__tstate
);
22301 if (PyErr_Occurred()) SWIG_fail
;
22304 wxColour
* resultptr
;
22305 resultptr
= new wxColour((wxColour
&) result
);
22306 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
22314 static PyObject
*_wrap_ListCtrl_SetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22315 PyObject
*resultobj
;
22316 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22317 wxColour
*arg2
= 0 ;
22319 PyObject
* obj0
= 0 ;
22320 PyObject
* obj1
= 0 ;
22321 char *kwnames
[] = {
22322 (char *) "self",(char *) "col", NULL
22325 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
22326 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22327 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22330 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
22333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22334 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
22336 wxPyEndAllowThreads(__tstate
);
22337 if (PyErr_Occurred()) SWIG_fail
;
22339 Py_INCREF(Py_None
); resultobj
= Py_None
;
22346 static PyObject
*_wrap_ListCtrl_GetTopItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22347 PyObject
*resultobj
;
22348 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22350 PyObject
* obj0
= 0 ;
22351 char *kwnames
[] = {
22352 (char *) "self", NULL
22355 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetTopItem",kwnames
,&obj0
)) goto fail
;
22356 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22357 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22360 result
= (long)((wxPyListCtrl
const *)arg1
)->GetTopItem();
22362 wxPyEndAllowThreads(__tstate
);
22363 if (PyErr_Occurred()) SWIG_fail
;
22365 resultobj
= SWIG_FromLong((long)result
);
22372 static PyObject
*_wrap_ListCtrl_SetSingleStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22373 PyObject
*resultobj
;
22374 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22376 bool arg3
= (bool) True
;
22377 PyObject
* obj0
= 0 ;
22378 PyObject
* obj1
= 0 ;
22379 PyObject
* obj2
= 0 ;
22380 char *kwnames
[] = {
22381 (char *) "self",(char *) "style",(char *) "add", NULL
22384 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_SetSingleStyle",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22385 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22386 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22387 arg2
= (long) SWIG_AsLong(obj1
);
22388 if (PyErr_Occurred()) SWIG_fail
;
22390 arg3
= (bool) SWIG_AsBool(obj2
);
22391 if (PyErr_Occurred()) SWIG_fail
;
22394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22395 (arg1
)->SetSingleStyle(arg2
,arg3
);
22397 wxPyEndAllowThreads(__tstate
);
22398 if (PyErr_Occurred()) SWIG_fail
;
22400 Py_INCREF(Py_None
); resultobj
= Py_None
;
22407 static PyObject
*_wrap_ListCtrl_SetWindowStyleFlag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22408 PyObject
*resultobj
;
22409 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22411 PyObject
* obj0
= 0 ;
22412 PyObject
* obj1
= 0 ;
22413 char *kwnames
[] = {
22414 (char *) "self",(char *) "style", NULL
22417 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetWindowStyleFlag",kwnames
,&obj0
,&obj1
)) goto fail
;
22418 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22419 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22420 arg2
= (long) SWIG_AsLong(obj1
);
22421 if (PyErr_Occurred()) SWIG_fail
;
22423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22424 (arg1
)->SetWindowStyleFlag(arg2
);
22426 wxPyEndAllowThreads(__tstate
);
22427 if (PyErr_Occurred()) SWIG_fail
;
22429 Py_INCREF(Py_None
); resultobj
= Py_None
;
22436 static PyObject
*_wrap_ListCtrl_GetNextItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22437 PyObject
*resultobj
;
22438 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22440 int arg3
= (int) wxLIST_NEXT_ALL
;
22441 int arg4
= (int) wxLIST_STATE_DONTCARE
;
22443 PyObject
* obj0
= 0 ;
22444 PyObject
* obj1
= 0 ;
22445 PyObject
* obj2
= 0 ;
22446 PyObject
* obj3
= 0 ;
22447 char *kwnames
[] = {
22448 (char *) "self",(char *) "item",(char *) "geometry",(char *) "state", NULL
22451 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:ListCtrl_GetNextItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
22452 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22453 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22454 arg2
= (long) SWIG_AsLong(obj1
);
22455 if (PyErr_Occurred()) SWIG_fail
;
22457 arg3
= (int) SWIG_AsInt(obj2
);
22458 if (PyErr_Occurred()) SWIG_fail
;
22461 arg4
= (int) SWIG_AsInt(obj3
);
22462 if (PyErr_Occurred()) SWIG_fail
;
22465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22466 result
= (long)((wxPyListCtrl
const *)arg1
)->GetNextItem(arg2
,arg3
,arg4
);
22468 wxPyEndAllowThreads(__tstate
);
22469 if (PyErr_Occurred()) SWIG_fail
;
22471 resultobj
= SWIG_FromLong((long)result
);
22478 static PyObject
*_wrap_ListCtrl_GetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22479 PyObject
*resultobj
;
22480 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22482 wxImageList
*result
;
22483 PyObject
* obj0
= 0 ;
22484 PyObject
* obj1
= 0 ;
22485 char *kwnames
[] = {
22486 (char *) "self",(char *) "which", NULL
22489 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
22490 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22491 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22492 arg2
= (int) SWIG_AsInt(obj1
);
22493 if (PyErr_Occurred()) SWIG_fail
;
22495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22496 result
= (wxImageList
*)((wxPyListCtrl
const *)arg1
)->GetImageList(arg2
);
22498 wxPyEndAllowThreads(__tstate
);
22499 if (PyErr_Occurred()) SWIG_fail
;
22502 resultobj
= wxPyMake_wxObject(result
);
22510 static PyObject
*_wrap_ListCtrl_SetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22511 PyObject
*resultobj
;
22512 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22513 wxImageList
*arg2
= (wxImageList
*) 0 ;
22515 PyObject
* obj0
= 0 ;
22516 PyObject
* obj1
= 0 ;
22517 PyObject
* obj2
= 0 ;
22518 char *kwnames
[] = {
22519 (char *) "self",(char *) "imageList",(char *) "which", NULL
22522 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetImageList",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22523 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22524 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22525 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImageList
,
22526 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22527 arg3
= (int) SWIG_AsInt(obj2
);
22528 if (PyErr_Occurred()) SWIG_fail
;
22530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22531 (arg1
)->SetImageList(arg2
,arg3
);
22533 wxPyEndAllowThreads(__tstate
);
22534 if (PyErr_Occurred()) SWIG_fail
;
22536 Py_INCREF(Py_None
); resultobj
= Py_None
;
22543 static PyObject
*_wrap_ListCtrl_AssignImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22544 PyObject
*resultobj
;
22545 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22546 wxImageList
*arg2
= (wxImageList
*) 0 ;
22548 PyObject
* obj0
= 0 ;
22549 PyObject
* obj1
= 0 ;
22550 PyObject
* obj2
= 0 ;
22551 char *kwnames
[] = {
22552 (char *) "self",(char *) "imageList",(char *) "which", NULL
22555 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_AssignImageList",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22556 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22557 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22558 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImageList
,
22559 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
22560 arg3
= (int) SWIG_AsInt(obj2
);
22561 if (PyErr_Occurred()) SWIG_fail
;
22563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22564 (arg1
)->AssignImageList(arg2
,arg3
);
22566 wxPyEndAllowThreads(__tstate
);
22567 if (PyErr_Occurred()) SWIG_fail
;
22569 Py_INCREF(Py_None
); resultobj
= Py_None
;
22576 static PyObject
*_wrap_ListCtrl_InReportView(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_InReportView",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
)->InReportView();
22592 wxPyEndAllowThreads(__tstate
);
22593 if (PyErr_Occurred()) SWIG_fail
;
22596 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22604 static PyObject
*_wrap_ListCtrl_IsVirtual(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22605 PyObject
*resultobj
;
22606 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22608 PyObject
* obj0
= 0 ;
22609 char *kwnames
[] = {
22610 (char *) "self", NULL
22613 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_IsVirtual",kwnames
,&obj0
)) goto fail
;
22614 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22615 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22618 result
= (bool)((wxPyListCtrl
const *)arg1
)->IsVirtual();
22620 wxPyEndAllowThreads(__tstate
);
22621 if (PyErr_Occurred()) SWIG_fail
;
22624 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22632 static PyObject
*_wrap_ListCtrl_RefreshItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22633 PyObject
*resultobj
;
22634 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22636 PyObject
* obj0
= 0 ;
22637 PyObject
* obj1
= 0 ;
22638 char *kwnames
[] = {
22639 (char *) "self",(char *) "item", NULL
22642 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_RefreshItem",kwnames
,&obj0
,&obj1
)) goto fail
;
22643 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22644 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22645 arg2
= (long) SWIG_AsLong(obj1
);
22646 if (PyErr_Occurred()) SWIG_fail
;
22648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22649 (arg1
)->RefreshItem(arg2
);
22651 wxPyEndAllowThreads(__tstate
);
22652 if (PyErr_Occurred()) SWIG_fail
;
22654 Py_INCREF(Py_None
); resultobj
= Py_None
;
22661 static PyObject
*_wrap_ListCtrl_RefreshItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22662 PyObject
*resultobj
;
22663 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22666 PyObject
* obj0
= 0 ;
22667 PyObject
* obj1
= 0 ;
22668 PyObject
* obj2
= 0 ;
22669 char *kwnames
[] = {
22670 (char *) "self",(char *) "itemFrom",(char *) "itemTo", NULL
22673 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_RefreshItems",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22674 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22675 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22676 arg2
= (long) SWIG_AsLong(obj1
);
22677 if (PyErr_Occurred()) SWIG_fail
;
22678 arg3
= (long) SWIG_AsLong(obj2
);
22679 if (PyErr_Occurred()) SWIG_fail
;
22681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22682 (arg1
)->RefreshItems(arg2
,arg3
);
22684 wxPyEndAllowThreads(__tstate
);
22685 if (PyErr_Occurred()) SWIG_fail
;
22687 Py_INCREF(Py_None
); resultobj
= Py_None
;
22694 static PyObject
*_wrap_ListCtrl_Arrange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22695 PyObject
*resultobj
;
22696 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22697 int arg2
= (int) wxLIST_ALIGN_DEFAULT
;
22699 PyObject
* obj0
= 0 ;
22700 PyObject
* obj1
= 0 ;
22701 char *kwnames
[] = {
22702 (char *) "self",(char *) "flag", NULL
22705 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ListCtrl_Arrange",kwnames
,&obj0
,&obj1
)) goto fail
;
22706 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22707 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22709 arg2
= (int) SWIG_AsInt(obj1
);
22710 if (PyErr_Occurred()) SWIG_fail
;
22713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22714 result
= (bool)(arg1
)->Arrange(arg2
);
22716 wxPyEndAllowThreads(__tstate
);
22717 if (PyErr_Occurred()) SWIG_fail
;
22720 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22728 static PyObject
*_wrap_ListCtrl_DeleteItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22729 PyObject
*resultobj
;
22730 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22733 PyObject
* obj0
= 0 ;
22734 PyObject
* obj1
= 0 ;
22735 char *kwnames
[] = {
22736 (char *) "self",(char *) "item", NULL
22739 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_DeleteItem",kwnames
,&obj0
,&obj1
)) goto fail
;
22740 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22741 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22742 arg2
= (long) SWIG_AsLong(obj1
);
22743 if (PyErr_Occurred()) SWIG_fail
;
22745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22746 result
= (bool)(arg1
)->DeleteItem(arg2
);
22748 wxPyEndAllowThreads(__tstate
);
22749 if (PyErr_Occurred()) SWIG_fail
;
22752 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22760 static PyObject
*_wrap_ListCtrl_DeleteAllItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22761 PyObject
*resultobj
;
22762 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22764 PyObject
* obj0
= 0 ;
22765 char *kwnames
[] = {
22766 (char *) "self", NULL
22769 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_DeleteAllItems",kwnames
,&obj0
)) goto fail
;
22770 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22771 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22774 result
= (bool)(arg1
)->DeleteAllItems();
22776 wxPyEndAllowThreads(__tstate
);
22777 if (PyErr_Occurred()) SWIG_fail
;
22780 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22788 static PyObject
*_wrap_ListCtrl_DeleteColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22789 PyObject
*resultobj
;
22790 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22793 PyObject
* obj0
= 0 ;
22794 PyObject
* obj1
= 0 ;
22795 char *kwnames
[] = {
22796 (char *) "self",(char *) "col", NULL
22799 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_DeleteColumn",kwnames
,&obj0
,&obj1
)) goto fail
;
22800 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22801 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22802 arg2
= (int) SWIG_AsInt(obj1
);
22803 if (PyErr_Occurred()) SWIG_fail
;
22805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22806 result
= (bool)(arg1
)->DeleteColumn(arg2
);
22808 wxPyEndAllowThreads(__tstate
);
22809 if (PyErr_Occurred()) SWIG_fail
;
22812 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22820 static PyObject
*_wrap_ListCtrl_DeleteAllColumns(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22821 PyObject
*resultobj
;
22822 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22824 PyObject
* obj0
= 0 ;
22825 char *kwnames
[] = {
22826 (char *) "self", NULL
22829 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_DeleteAllColumns",kwnames
,&obj0
)) goto fail
;
22830 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22831 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22834 result
= (bool)(arg1
)->DeleteAllColumns();
22836 wxPyEndAllowThreads(__tstate
);
22837 if (PyErr_Occurred()) SWIG_fail
;
22840 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22848 static PyObject
*_wrap_ListCtrl_ClearAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22849 PyObject
*resultobj
;
22850 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22851 PyObject
* obj0
= 0 ;
22852 char *kwnames
[] = {
22853 (char *) "self", NULL
22856 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_ClearAll",kwnames
,&obj0
)) goto fail
;
22857 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22858 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22861 (arg1
)->ClearAll();
22863 wxPyEndAllowThreads(__tstate
);
22864 if (PyErr_Occurred()) SWIG_fail
;
22866 Py_INCREF(Py_None
); resultobj
= Py_None
;
22873 static PyObject
*_wrap_ListCtrl_EditLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22874 PyObject
*resultobj
;
22875 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22877 wxTextCtrl
*result
;
22878 PyObject
* obj0
= 0 ;
22879 PyObject
* obj1
= 0 ;
22880 char *kwnames
[] = {
22881 (char *) "self",(char *) "item", NULL
22884 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_EditLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
22885 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22886 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22887 arg2
= (long) SWIG_AsLong(obj1
);
22888 if (PyErr_Occurred()) SWIG_fail
;
22890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22891 result
= (wxTextCtrl
*)(arg1
)->EditLabel(arg2
);
22893 wxPyEndAllowThreads(__tstate
);
22894 if (PyErr_Occurred()) SWIG_fail
;
22897 resultobj
= wxPyMake_wxObject(result
);
22905 static PyObject
*_wrap_ListCtrl_EndEditLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22906 PyObject
*resultobj
;
22907 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22910 PyObject
* obj0
= 0 ;
22911 PyObject
* obj1
= 0 ;
22912 char *kwnames
[] = {
22913 (char *) "self",(char *) "cancel", NULL
22916 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_EndEditLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
22917 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22918 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22919 arg2
= (bool) SWIG_AsBool(obj1
);
22920 if (PyErr_Occurred()) SWIG_fail
;
22922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22923 result
= (bool)(arg1
)->EndEditLabel(arg2
);
22925 wxPyEndAllowThreads(__tstate
);
22926 if (PyErr_Occurred()) SWIG_fail
;
22929 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22937 static PyObject
*_wrap_ListCtrl_EnsureVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22938 PyObject
*resultobj
;
22939 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22942 PyObject
* obj0
= 0 ;
22943 PyObject
* obj1
= 0 ;
22944 char *kwnames
[] = {
22945 (char *) "self",(char *) "item", NULL
22948 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_EnsureVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
22949 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22950 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22951 arg2
= (long) SWIG_AsLong(obj1
);
22952 if (PyErr_Occurred()) SWIG_fail
;
22954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22955 result
= (bool)(arg1
)->EnsureVisible(arg2
);
22957 wxPyEndAllowThreads(__tstate
);
22958 if (PyErr_Occurred()) SWIG_fail
;
22961 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22969 static PyObject
*_wrap_ListCtrl_FindItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22970 PyObject
*resultobj
;
22971 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22973 wxString
*arg3
= 0 ;
22974 bool arg4
= (bool) False
;
22976 bool temp3
= False
;
22977 PyObject
* obj0
= 0 ;
22978 PyObject
* obj1
= 0 ;
22979 PyObject
* obj2
= 0 ;
22980 PyObject
* obj3
= 0 ;
22981 char *kwnames
[] = {
22982 (char *) "self",(char *) "start",(char *) "str",(char *) "partial", NULL
22985 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ListCtrl_FindItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
22986 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22987 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22988 arg2
= (long) SWIG_AsLong(obj1
);
22989 if (PyErr_Occurred()) SWIG_fail
;
22991 arg3
= wxString_in_helper(obj2
);
22992 if (arg3
== NULL
) SWIG_fail
;
22996 arg4
= (bool) SWIG_AsBool(obj3
);
22997 if (PyErr_Occurred()) SWIG_fail
;
23000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23001 result
= (long)(arg1
)->FindItem(arg2
,(wxString
const &)*arg3
,arg4
);
23003 wxPyEndAllowThreads(__tstate
);
23004 if (PyErr_Occurred()) SWIG_fail
;
23006 resultobj
= SWIG_FromLong((long)result
);
23021 static PyObject
*_wrap_ListCtrl_FindItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23022 PyObject
*resultobj
;
23023 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23027 PyObject
* obj0
= 0 ;
23028 PyObject
* obj1
= 0 ;
23029 PyObject
* obj2
= 0 ;
23030 char *kwnames
[] = {
23031 (char *) "self",(char *) "start",(char *) "data", NULL
23034 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_FindItemData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23035 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23036 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23037 arg2
= (long) SWIG_AsLong(obj1
);
23038 if (PyErr_Occurred()) SWIG_fail
;
23039 arg3
= (long) SWIG_AsLong(obj2
);
23040 if (PyErr_Occurred()) SWIG_fail
;
23042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23043 result
= (long)(arg1
)->FindItem(arg2
,arg3
);
23045 wxPyEndAllowThreads(__tstate
);
23046 if (PyErr_Occurred()) SWIG_fail
;
23048 resultobj
= SWIG_FromLong((long)result
);
23055 static PyObject
*_wrap_ListCtrl_FindItemAtPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23056 PyObject
*resultobj
;
23057 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23059 wxPoint
*arg3
= 0 ;
23063 PyObject
* obj0
= 0 ;
23064 PyObject
* obj1
= 0 ;
23065 PyObject
* obj2
= 0 ;
23066 PyObject
* obj3
= 0 ;
23067 char *kwnames
[] = {
23068 (char *) "self",(char *) "start",(char *) "pt",(char *) "direction", NULL
23071 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_FindItemAtPos",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
23072 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23073 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23074 arg2
= (long) SWIG_AsLong(obj1
);
23075 if (PyErr_Occurred()) SWIG_fail
;
23078 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
23080 arg4
= (int) SWIG_AsInt(obj3
);
23081 if (PyErr_Occurred()) SWIG_fail
;
23083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23084 result
= (long)(arg1
)->FindItem(arg2
,(wxPoint
const &)*arg3
,arg4
);
23086 wxPyEndAllowThreads(__tstate
);
23087 if (PyErr_Occurred()) SWIG_fail
;
23089 resultobj
= SWIG_FromLong((long)result
);
23096 static PyObject
*_wrap_ListCtrl_HitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23097 PyObject
*resultobj
;
23098 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23099 wxPoint
*arg2
= 0 ;
23104 PyObject
* obj0
= 0 ;
23105 PyObject
* obj1
= 0 ;
23106 char *kwnames
[] = {
23107 (char *) "self",(char *) "point", NULL
23111 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
23112 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23113 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23116 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
23119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23120 result
= (long)(arg1
)->HitTest((wxPoint
const &)*arg2
,*arg3
);
23122 wxPyEndAllowThreads(__tstate
);
23123 if (PyErr_Occurred()) SWIG_fail
;
23125 resultobj
= SWIG_FromLong((long)result
);
23127 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
23128 resultobj
= t_output_helper(resultobj
,o
);
23136 static PyObject
*_wrap_ListCtrl_InsertItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23137 PyObject
*resultobj
;
23138 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23139 wxListItem
*arg2
= 0 ;
23141 PyObject
* obj0
= 0 ;
23142 PyObject
* obj1
= 0 ;
23143 char *kwnames
[] = {
23144 (char *) "self",(char *) "info", NULL
23147 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_InsertItem",kwnames
,&obj0
,&obj1
)) goto fail
;
23148 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23149 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23150 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxListItem
,
23151 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23153 if (arg2
== NULL
) {
23154 PyErr_SetString(PyExc_TypeError
,"null reference");
23158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23159 result
= (long)(arg1
)->InsertItem(*arg2
);
23161 wxPyEndAllowThreads(__tstate
);
23162 if (PyErr_Occurred()) SWIG_fail
;
23164 resultobj
= SWIG_FromLong((long)result
);
23171 static PyObject
*_wrap_ListCtrl_InsertStringItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23172 PyObject
*resultobj
;
23173 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23175 wxString
*arg3
= 0 ;
23177 bool temp3
= False
;
23178 PyObject
* obj0
= 0 ;
23179 PyObject
* obj1
= 0 ;
23180 PyObject
* obj2
= 0 ;
23181 char *kwnames
[] = {
23182 (char *) "self",(char *) "index",(char *) "label", NULL
23185 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_InsertStringItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23186 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23187 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23188 arg2
= (long) SWIG_AsLong(obj1
);
23189 if (PyErr_Occurred()) SWIG_fail
;
23191 arg3
= wxString_in_helper(obj2
);
23192 if (arg3
== NULL
) SWIG_fail
;
23196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23197 result
= (long)(arg1
)->InsertItem(arg2
,(wxString
const &)*arg3
);
23199 wxPyEndAllowThreads(__tstate
);
23200 if (PyErr_Occurred()) SWIG_fail
;
23202 resultobj
= SWIG_FromLong((long)result
);
23217 static PyObject
*_wrap_ListCtrl_InsertImageItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23218 PyObject
*resultobj
;
23219 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23223 PyObject
* obj0
= 0 ;
23224 PyObject
* obj1
= 0 ;
23225 PyObject
* obj2
= 0 ;
23226 char *kwnames
[] = {
23227 (char *) "self",(char *) "index",(char *) "imageIndex", NULL
23230 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_InsertImageItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23231 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23232 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23233 arg2
= (long) SWIG_AsLong(obj1
);
23234 if (PyErr_Occurred()) SWIG_fail
;
23235 arg3
= (int) SWIG_AsInt(obj2
);
23236 if (PyErr_Occurred()) SWIG_fail
;
23238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23239 result
= (long)(arg1
)->InsertItem(arg2
,arg3
);
23241 wxPyEndAllowThreads(__tstate
);
23242 if (PyErr_Occurred()) SWIG_fail
;
23244 resultobj
= SWIG_FromLong((long)result
);
23251 static PyObject
*_wrap_ListCtrl_InsertImageStringItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23252 PyObject
*resultobj
;
23253 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23255 wxString
*arg3
= 0 ;
23258 bool temp3
= False
;
23259 PyObject
* obj0
= 0 ;
23260 PyObject
* obj1
= 0 ;
23261 PyObject
* obj2
= 0 ;
23262 PyObject
* obj3
= 0 ;
23263 char *kwnames
[] = {
23264 (char *) "self",(char *) "index",(char *) "label",(char *) "imageIndex", NULL
23267 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_InsertImageStringItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
23268 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23269 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23270 arg2
= (long) SWIG_AsLong(obj1
);
23271 if (PyErr_Occurred()) SWIG_fail
;
23273 arg3
= wxString_in_helper(obj2
);
23274 if (arg3
== NULL
) SWIG_fail
;
23277 arg4
= (int) SWIG_AsInt(obj3
);
23278 if (PyErr_Occurred()) SWIG_fail
;
23280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23281 result
= (long)(arg1
)->InsertItem(arg2
,(wxString
const &)*arg3
,arg4
);
23283 wxPyEndAllowThreads(__tstate
);
23284 if (PyErr_Occurred()) SWIG_fail
;
23286 resultobj
= SWIG_FromLong((long)result
);
23301 static PyObject
*_wrap_ListCtrl_InsertColumnInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23302 PyObject
*resultobj
;
23303 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23305 wxListItem
*arg3
= 0 ;
23307 PyObject
* obj0
= 0 ;
23308 PyObject
* obj1
= 0 ;
23309 PyObject
* obj2
= 0 ;
23310 char *kwnames
[] = {
23311 (char *) "self",(char *) "col",(char *) "info", NULL
23314 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_InsertColumnInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23315 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23316 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23317 arg2
= (long) SWIG_AsLong(obj1
);
23318 if (PyErr_Occurred()) SWIG_fail
;
23319 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxListItem
,
23320 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23322 if (arg3
== NULL
) {
23323 PyErr_SetString(PyExc_TypeError
,"null reference");
23327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23328 result
= (long)(arg1
)->InsertColumn(arg2
,*arg3
);
23330 wxPyEndAllowThreads(__tstate
);
23331 if (PyErr_Occurred()) SWIG_fail
;
23333 resultobj
= SWIG_FromLong((long)result
);
23340 static PyObject
*_wrap_ListCtrl_InsertColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23341 PyObject
*resultobj
;
23342 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23344 wxString
*arg3
= 0 ;
23345 int arg4
= (int) wxLIST_FORMAT_LEFT
;
23346 int arg5
= (int) -1 ;
23348 bool temp3
= False
;
23349 PyObject
* obj0
= 0 ;
23350 PyObject
* obj1
= 0 ;
23351 PyObject
* obj2
= 0 ;
23352 PyObject
* obj3
= 0 ;
23353 PyObject
* obj4
= 0 ;
23354 char *kwnames
[] = {
23355 (char *) "self",(char *) "col",(char *) "heading",(char *) "format",(char *) "width", NULL
23358 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:ListCtrl_InsertColumn",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
23359 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23360 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23361 arg2
= (long) SWIG_AsLong(obj1
);
23362 if (PyErr_Occurred()) SWIG_fail
;
23364 arg3
= wxString_in_helper(obj2
);
23365 if (arg3
== NULL
) SWIG_fail
;
23369 arg4
= (int) SWIG_AsInt(obj3
);
23370 if (PyErr_Occurred()) SWIG_fail
;
23373 arg5
= (int) SWIG_AsInt(obj4
);
23374 if (PyErr_Occurred()) SWIG_fail
;
23377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23378 result
= (long)(arg1
)->InsertColumn(arg2
,(wxString
const &)*arg3
,arg4
,arg5
);
23380 wxPyEndAllowThreads(__tstate
);
23381 if (PyErr_Occurred()) SWIG_fail
;
23383 resultobj
= SWIG_FromLong((long)result
);
23398 static PyObject
*_wrap_ListCtrl_SetItemCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23399 PyObject
*resultobj
;
23400 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23402 PyObject
* obj0
= 0 ;
23403 PyObject
* obj1
= 0 ;
23404 char *kwnames
[] = {
23405 (char *) "self",(char *) "count", NULL
23408 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetItemCount",kwnames
,&obj0
,&obj1
)) goto fail
;
23409 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23410 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23411 arg2
= (long) SWIG_AsLong(obj1
);
23412 if (PyErr_Occurred()) SWIG_fail
;
23414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23415 (arg1
)->SetItemCount(arg2
);
23417 wxPyEndAllowThreads(__tstate
);
23418 if (PyErr_Occurred()) SWIG_fail
;
23420 Py_INCREF(Py_None
); resultobj
= Py_None
;
23427 static PyObject
*_wrap_ListCtrl_ScrollList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23428 PyObject
*resultobj
;
23429 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23433 PyObject
* obj0
= 0 ;
23434 PyObject
* obj1
= 0 ;
23435 PyObject
* obj2
= 0 ;
23436 char *kwnames
[] = {
23437 (char *) "self",(char *) "dx",(char *) "dy", NULL
23440 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_ScrollList",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23441 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23442 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23443 arg2
= (int) SWIG_AsInt(obj1
);
23444 if (PyErr_Occurred()) SWIG_fail
;
23445 arg3
= (int) SWIG_AsInt(obj2
);
23446 if (PyErr_Occurred()) SWIG_fail
;
23448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23449 result
= (bool)(arg1
)->ScrollList(arg2
,arg3
);
23451 wxPyEndAllowThreads(__tstate
);
23452 if (PyErr_Occurred()) SWIG_fail
;
23455 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23463 static PyObject
*_wrap_ListCtrl_SetItemTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23464 PyObject
*resultobj
;
23465 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23467 wxColour
*arg3
= 0 ;
23469 PyObject
* obj0
= 0 ;
23470 PyObject
* obj1
= 0 ;
23471 PyObject
* obj2
= 0 ;
23472 char *kwnames
[] = {
23473 (char *) "self",(char *) "item",(char *) "col", NULL
23476 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemTextColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23477 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23478 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23479 arg2
= (long) SWIG_AsLong(obj1
);
23480 if (PyErr_Occurred()) SWIG_fail
;
23483 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
23486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23487 (arg1
)->SetItemTextColour(arg2
,(wxColour
const &)*arg3
);
23489 wxPyEndAllowThreads(__tstate
);
23490 if (PyErr_Occurred()) SWIG_fail
;
23492 Py_INCREF(Py_None
); resultobj
= Py_None
;
23499 static PyObject
*_wrap_ListCtrl_GetItemTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23500 PyObject
*resultobj
;
23501 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23504 PyObject
* obj0
= 0 ;
23505 PyObject
* obj1
= 0 ;
23506 char *kwnames
[] = {
23507 (char *) "self",(char *) "item", NULL
23510 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
23511 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23512 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23513 arg2
= (long) SWIG_AsLong(obj1
);
23514 if (PyErr_Occurred()) SWIG_fail
;
23516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23517 result
= ((wxPyListCtrl
const *)arg1
)->GetItemTextColour(arg2
);
23519 wxPyEndAllowThreads(__tstate
);
23520 if (PyErr_Occurred()) SWIG_fail
;
23523 wxColour
* resultptr
;
23524 resultptr
= new wxColour((wxColour
&) result
);
23525 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
23533 static PyObject
*_wrap_ListCtrl_SetItemBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23534 PyObject
*resultobj
;
23535 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23537 wxColour
*arg3
= 0 ;
23539 PyObject
* obj0
= 0 ;
23540 PyObject
* obj1
= 0 ;
23541 PyObject
* obj2
= 0 ;
23542 char *kwnames
[] = {
23543 (char *) "self",(char *) "item",(char *) "col", NULL
23546 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23547 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23548 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23549 arg2
= (long) SWIG_AsLong(obj1
);
23550 if (PyErr_Occurred()) SWIG_fail
;
23553 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
23556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23557 (arg1
)->SetItemBackgroundColour(arg2
,(wxColour
const &)*arg3
);
23559 wxPyEndAllowThreads(__tstate
);
23560 if (PyErr_Occurred()) SWIG_fail
;
23562 Py_INCREF(Py_None
); resultobj
= Py_None
;
23569 static PyObject
*_wrap_ListCtrl_GetItemBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23570 PyObject
*resultobj
;
23571 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23574 PyObject
* obj0
= 0 ;
23575 PyObject
* obj1
= 0 ;
23576 char *kwnames
[] = {
23577 (char *) "self",(char *) "item", NULL
23580 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
23581 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23582 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23583 arg2
= (long) SWIG_AsLong(obj1
);
23584 if (PyErr_Occurred()) SWIG_fail
;
23586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23587 result
= ((wxPyListCtrl
const *)arg1
)->GetItemBackgroundColour(arg2
);
23589 wxPyEndAllowThreads(__tstate
);
23590 if (PyErr_Occurred()) SWIG_fail
;
23593 wxColour
* resultptr
;
23594 resultptr
= new wxColour((wxColour
&) result
);
23595 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
23603 static PyObject
*_wrap_ListCtrl_SortItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23604 PyObject
*resultobj
;
23605 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23606 PyObject
*arg2
= (PyObject
*) 0 ;
23608 PyObject
* obj0
= 0 ;
23609 PyObject
* obj1
= 0 ;
23610 char *kwnames
[] = {
23611 (char *) "self",(char *) "func", NULL
23614 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SortItems",kwnames
,&obj0
,&obj1
)) goto fail
;
23615 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23616 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23620 result
= (bool)wxPyListCtrl_SortItems(arg1
,arg2
);
23622 wxPyEndAllowThreads(__tstate
);
23623 if (PyErr_Occurred()) SWIG_fail
;
23626 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23634 static PyObject
*_wrap_ListCtrl_GetMainWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23635 PyObject
*resultobj
;
23636 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23638 PyObject
* obj0
= 0 ;
23639 char *kwnames
[] = {
23640 (char *) "self", NULL
23643 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetMainWindow",kwnames
,&obj0
)) goto fail
;
23644 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23645 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23648 result
= (wxWindow
*)wxPyListCtrl_GetMainWindow(arg1
);
23650 wxPyEndAllowThreads(__tstate
);
23651 if (PyErr_Occurred()) SWIG_fail
;
23654 resultobj
= wxPyMake_wxObject(result
);
23662 static PyObject
*_wrap_ListCtrl_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23663 PyObject
*resultobj
;
23664 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
23665 wxVisualAttributes result
;
23666 PyObject
* obj0
= 0 ;
23667 char *kwnames
[] = {
23668 (char *) "variant", NULL
23671 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ListCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
23673 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
23674 if (PyErr_Occurred()) SWIG_fail
;
23677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23678 result
= wxPyListCtrl::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
23680 wxPyEndAllowThreads(__tstate
);
23681 if (PyErr_Occurred()) SWIG_fail
;
23684 wxVisualAttributes
* resultptr
;
23685 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
23686 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
23694 static PyObject
* ListCtrl_swigregister(PyObject
*self
, PyObject
*args
) {
23696 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23697 SWIG_TypeClientData(SWIGTYPE_p_wxPyListCtrl
, obj
);
23699 return Py_BuildValue((char *)"");
23701 static PyObject
*_wrap_new_ListView(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23702 PyObject
*resultobj
;
23703 wxWindow
*arg1
= (wxWindow
*) 0 ;
23704 int arg2
= (int) -1 ;
23705 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
23706 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
23707 wxSize
const &arg4_defvalue
= wxDefaultSize
;
23708 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
23709 long arg5
= (long) wxLC_REPORT
;
23710 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
23711 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
23712 wxString
const &arg7_defvalue
= wxPyListCtrlNameStr
;
23713 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
23714 wxListView
*result
;
23717 bool temp7
= False
;
23718 PyObject
* obj0
= 0 ;
23719 PyObject
* obj1
= 0 ;
23720 PyObject
* obj2
= 0 ;
23721 PyObject
* obj3
= 0 ;
23722 PyObject
* obj4
= 0 ;
23723 PyObject
* obj5
= 0 ;
23724 PyObject
* obj6
= 0 ;
23725 char *kwnames
[] = {
23726 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
23729 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_ListView",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
23730 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23731 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23733 arg2
= (int) SWIG_AsInt(obj1
);
23734 if (PyErr_Occurred()) SWIG_fail
;
23739 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
23745 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
23749 arg5
= (long) SWIG_AsLong(obj4
);
23750 if (PyErr_Occurred()) SWIG_fail
;
23753 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxValidator
,
23754 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23756 if (arg6
== NULL
) {
23757 PyErr_SetString(PyExc_TypeError
,"null reference");
23763 arg7
= wxString_in_helper(obj6
);
23764 if (arg7
== NULL
) SWIG_fail
;
23769 if (!wxPyCheckForApp()) SWIG_fail
;
23770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23771 result
= (wxListView
*)new wxListView(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
23773 wxPyEndAllowThreads(__tstate
);
23774 if (PyErr_Occurred()) SWIG_fail
;
23776 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListView
, 1);
23791 static PyObject
*_wrap_new_PreListView(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23792 PyObject
*resultobj
;
23793 wxListView
*result
;
23794 char *kwnames
[] = {
23798 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreListView",kwnames
)) goto fail
;
23800 if (!wxPyCheckForApp()) SWIG_fail
;
23801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23802 result
= (wxListView
*)new wxListView();
23804 wxPyEndAllowThreads(__tstate
);
23805 if (PyErr_Occurred()) SWIG_fail
;
23807 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListView
, 1);
23814 static PyObject
*_wrap_ListView_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23815 PyObject
*resultobj
;
23816 wxListView
*arg1
= (wxListView
*) 0 ;
23817 wxWindow
*arg2
= (wxWindow
*) 0 ;
23818 int arg3
= (int) -1 ;
23819 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
23820 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
23821 wxSize
const &arg5_defvalue
= wxDefaultSize
;
23822 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
23823 long arg6
= (long) wxLC_REPORT
;
23824 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
23825 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
23826 wxString
const &arg8_defvalue
= wxPyListCtrlNameStr
;
23827 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
23831 bool temp8
= False
;
23832 PyObject
* obj0
= 0 ;
23833 PyObject
* obj1
= 0 ;
23834 PyObject
* obj2
= 0 ;
23835 PyObject
* obj3
= 0 ;
23836 PyObject
* obj4
= 0 ;
23837 PyObject
* obj5
= 0 ;
23838 PyObject
* obj6
= 0 ;
23839 PyObject
* obj7
= 0 ;
23840 char *kwnames
[] = {
23841 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
23844 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:ListView_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
23845 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListView
,
23846 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23847 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
23848 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23850 arg3
= (int) SWIG_AsInt(obj2
);
23851 if (PyErr_Occurred()) SWIG_fail
;
23856 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
23862 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
23866 arg6
= (long) SWIG_AsLong(obj5
);
23867 if (PyErr_Occurred()) SWIG_fail
;
23870 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
23871 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23873 if (arg7
== NULL
) {
23874 PyErr_SetString(PyExc_TypeError
,"null reference");
23880 arg8
= wxString_in_helper(obj7
);
23881 if (arg8
== NULL
) SWIG_fail
;
23886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23887 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
23889 wxPyEndAllowThreads(__tstate
);
23890 if (PyErr_Occurred()) SWIG_fail
;
23893 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23909 static PyObject
*_wrap_ListView_Select(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23910 PyObject
*resultobj
;
23911 wxListView
*arg1
= (wxListView
*) 0 ;
23913 bool arg3
= (bool) True
;
23914 PyObject
* obj0
= 0 ;
23915 PyObject
* obj1
= 0 ;
23916 PyObject
* obj2
= 0 ;
23917 char *kwnames
[] = {
23918 (char *) "self",(char *) "n",(char *) "on", NULL
23921 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListView_Select",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23922 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListView
,
23923 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23924 arg2
= (long) SWIG_AsLong(obj1
);
23925 if (PyErr_Occurred()) SWIG_fail
;
23927 arg3
= (bool) SWIG_AsBool(obj2
);
23928 if (PyErr_Occurred()) SWIG_fail
;
23931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23932 (arg1
)->Select(arg2
,arg3
);
23934 wxPyEndAllowThreads(__tstate
);
23935 if (PyErr_Occurred()) SWIG_fail
;
23937 Py_INCREF(Py_None
); resultobj
= Py_None
;
23944 static PyObject
*_wrap_ListView_Focus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23945 PyObject
*resultobj
;
23946 wxListView
*arg1
= (wxListView
*) 0 ;
23948 PyObject
* obj0
= 0 ;
23949 PyObject
* obj1
= 0 ;
23950 char *kwnames
[] = {
23951 (char *) "self",(char *) "index", NULL
23954 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_Focus",kwnames
,&obj0
,&obj1
)) goto fail
;
23955 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListView
,
23956 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23957 arg2
= (long) SWIG_AsLong(obj1
);
23958 if (PyErr_Occurred()) SWIG_fail
;
23960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23961 (arg1
)->Focus(arg2
);
23963 wxPyEndAllowThreads(__tstate
);
23964 if (PyErr_Occurred()) SWIG_fail
;
23966 Py_INCREF(Py_None
); resultobj
= Py_None
;
23973 static PyObject
*_wrap_ListView_GetFocusedItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23974 PyObject
*resultobj
;
23975 wxListView
*arg1
= (wxListView
*) 0 ;
23977 PyObject
* obj0
= 0 ;
23978 char *kwnames
[] = {
23979 (char *) "self", NULL
23982 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListView_GetFocusedItem",kwnames
,&obj0
)) goto fail
;
23983 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListView
,
23984 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23987 result
= (long)((wxListView
const *)arg1
)->GetFocusedItem();
23989 wxPyEndAllowThreads(__tstate
);
23990 if (PyErr_Occurred()) SWIG_fail
;
23992 resultobj
= SWIG_FromLong((long)result
);
23999 static PyObject
*_wrap_ListView_GetNextSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24000 PyObject
*resultobj
;
24001 wxListView
*arg1
= (wxListView
*) 0 ;
24004 PyObject
* obj0
= 0 ;
24005 PyObject
* obj1
= 0 ;
24006 char *kwnames
[] = {
24007 (char *) "self",(char *) "item", NULL
24010 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_GetNextSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
24011 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListView
,
24012 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24013 arg2
= (long) SWIG_AsLong(obj1
);
24014 if (PyErr_Occurred()) SWIG_fail
;
24016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24017 result
= (long)((wxListView
const *)arg1
)->GetNextSelected(arg2
);
24019 wxPyEndAllowThreads(__tstate
);
24020 if (PyErr_Occurred()) SWIG_fail
;
24022 resultobj
= SWIG_FromLong((long)result
);
24029 static PyObject
*_wrap_ListView_GetFirstSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24030 PyObject
*resultobj
;
24031 wxListView
*arg1
= (wxListView
*) 0 ;
24033 PyObject
* obj0
= 0 ;
24034 char *kwnames
[] = {
24035 (char *) "self", NULL
24038 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListView_GetFirstSelected",kwnames
,&obj0
)) goto fail
;
24039 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListView
,
24040 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24043 result
= (long)((wxListView
const *)arg1
)->GetFirstSelected();
24045 wxPyEndAllowThreads(__tstate
);
24046 if (PyErr_Occurred()) SWIG_fail
;
24048 resultobj
= SWIG_FromLong((long)result
);
24055 static PyObject
*_wrap_ListView_IsSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24056 PyObject
*resultobj
;
24057 wxListView
*arg1
= (wxListView
*) 0 ;
24060 PyObject
* obj0
= 0 ;
24061 PyObject
* obj1
= 0 ;
24062 char *kwnames
[] = {
24063 (char *) "self",(char *) "index", NULL
24066 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_IsSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
24067 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListView
,
24068 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24069 arg2
= (long) SWIG_AsLong(obj1
);
24070 if (PyErr_Occurred()) SWIG_fail
;
24072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24073 result
= (bool)(arg1
)->IsSelected(arg2
);
24075 wxPyEndAllowThreads(__tstate
);
24076 if (PyErr_Occurred()) SWIG_fail
;
24079 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24087 static PyObject
*_wrap_ListView_SetColumnImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24088 PyObject
*resultobj
;
24089 wxListView
*arg1
= (wxListView
*) 0 ;
24092 PyObject
* obj0
= 0 ;
24093 PyObject
* obj1
= 0 ;
24094 PyObject
* obj2
= 0 ;
24095 char *kwnames
[] = {
24096 (char *) "self",(char *) "col",(char *) "image", NULL
24099 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListView_SetColumnImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24100 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListView
,
24101 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24102 arg2
= (int) SWIG_AsInt(obj1
);
24103 if (PyErr_Occurred()) SWIG_fail
;
24104 arg3
= (int) SWIG_AsInt(obj2
);
24105 if (PyErr_Occurred()) SWIG_fail
;
24107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24108 (arg1
)->SetColumnImage(arg2
,arg3
);
24110 wxPyEndAllowThreads(__tstate
);
24111 if (PyErr_Occurred()) SWIG_fail
;
24113 Py_INCREF(Py_None
); resultobj
= Py_None
;
24120 static PyObject
*_wrap_ListView_ClearColumnImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24121 PyObject
*resultobj
;
24122 wxListView
*arg1
= (wxListView
*) 0 ;
24124 PyObject
* obj0
= 0 ;
24125 PyObject
* obj1
= 0 ;
24126 char *kwnames
[] = {
24127 (char *) "self",(char *) "col", NULL
24130 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_ClearColumnImage",kwnames
,&obj0
,&obj1
)) goto fail
;
24131 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListView
,
24132 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24133 arg2
= (int) SWIG_AsInt(obj1
);
24134 if (PyErr_Occurred()) SWIG_fail
;
24136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24137 (arg1
)->ClearColumnImage(arg2
);
24139 wxPyEndAllowThreads(__tstate
);
24140 if (PyErr_Occurred()) SWIG_fail
;
24142 Py_INCREF(Py_None
); resultobj
= Py_None
;
24149 static PyObject
* ListView_swigregister(PyObject
*self
, PyObject
*args
) {
24151 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24152 SWIG_TypeClientData(SWIGTYPE_p_wxListView
, obj
);
24154 return Py_BuildValue((char *)"");
24156 static int _wrap_TreeCtrlNameStr_set(PyObject
*_val
) {
24157 PyErr_SetString(PyExc_TypeError
,"Variable TreeCtrlNameStr is read-only.");
24162 static PyObject
*_wrap_TreeCtrlNameStr_get() {
24167 pyobj
= PyUnicode_FromWideChar((&wxPyTreeCtrlNameStr
)->c_str(), (&wxPyTreeCtrlNameStr
)->Len());
24169 pyobj
= PyString_FromStringAndSize((&wxPyTreeCtrlNameStr
)->c_str(), (&wxPyTreeCtrlNameStr
)->Len());
24176 static PyObject
*_wrap_new_TreeItemId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24177 PyObject
*resultobj
;
24178 wxTreeItemId
*result
;
24179 char *kwnames
[] = {
24183 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_TreeItemId",kwnames
)) goto fail
;
24185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24186 result
= (wxTreeItemId
*)new wxTreeItemId();
24188 wxPyEndAllowThreads(__tstate
);
24189 if (PyErr_Occurred()) SWIG_fail
;
24191 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTreeItemId
, 1);
24198 static PyObject
*_wrap_delete_TreeItemId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24199 PyObject
*resultobj
;
24200 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
24201 PyObject
* obj0
= 0 ;
24202 char *kwnames
[] = {
24203 (char *) "self", NULL
24206 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TreeItemId",kwnames
,&obj0
)) goto fail
;
24207 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeItemId
,
24208 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24213 wxPyEndAllowThreads(__tstate
);
24214 if (PyErr_Occurred()) SWIG_fail
;
24216 Py_INCREF(Py_None
); resultobj
= Py_None
;
24223 static PyObject
*_wrap_TreeItemId_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24224 PyObject
*resultobj
;
24225 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
24227 PyObject
* obj0
= 0 ;
24228 char *kwnames
[] = {
24229 (char *) "self", NULL
24232 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemId_IsOk",kwnames
,&obj0
)) goto fail
;
24233 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeItemId
,
24234 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24237 result
= (bool)((wxTreeItemId
const *)arg1
)->IsOk();
24239 wxPyEndAllowThreads(__tstate
);
24240 if (PyErr_Occurred()) SWIG_fail
;
24243 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24251 static PyObject
*_wrap_TreeItemId___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24252 PyObject
*resultobj
;
24253 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
24254 wxTreeItemId
*arg2
= (wxTreeItemId
*) 0 ;
24256 PyObject
* obj0
= 0 ;
24257 PyObject
* obj1
= 0 ;
24258 char *kwnames
[] = {
24259 (char *) "self",(char *) "other", NULL
24262 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemId___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
24263 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeItemId
,
24264 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24265 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
24266 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24269 result
= (bool)wxTreeItemId___eq__(arg1
,(wxTreeItemId
const *)arg2
);
24271 wxPyEndAllowThreads(__tstate
);
24272 if (PyErr_Occurred()) SWIG_fail
;
24275 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24283 static PyObject
*_wrap_TreeItemId___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24284 PyObject
*resultobj
;
24285 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
24286 wxTreeItemId
*arg2
= (wxTreeItemId
*) 0 ;
24288 PyObject
* obj0
= 0 ;
24289 PyObject
* obj1
= 0 ;
24290 char *kwnames
[] = {
24291 (char *) "self",(char *) "other", NULL
24294 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemId___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
24295 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeItemId
,
24296 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24297 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
24298 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24301 result
= (bool)wxTreeItemId___ne__(arg1
,(wxTreeItemId
const *)arg2
);
24303 wxPyEndAllowThreads(__tstate
);
24304 if (PyErr_Occurred()) SWIG_fail
;
24307 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24315 static PyObject
*_wrap_TreeItemId_m_pItem_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24316 PyObject
*resultobj
;
24317 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
24318 void *arg2
= (void *) 0 ;
24319 PyObject
* obj0
= 0 ;
24320 PyObject
* obj1
= 0 ;
24321 char *kwnames
[] = {
24322 (char *) "self",(char *) "m_pItem", NULL
24325 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemId_m_pItem_set",kwnames
,&obj0
,&obj1
)) goto fail
;
24326 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeItemId
,
24327 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24328 if ((SWIG_ConvertPtr(obj1
,&arg2
,0,SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
24329 if (arg1
) (arg1
)->m_pItem
= arg2
;
24331 Py_INCREF(Py_None
); resultobj
= Py_None
;
24338 static PyObject
*_wrap_TreeItemId_m_pItem_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24339 PyObject
*resultobj
;
24340 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
24342 PyObject
* obj0
= 0 ;
24343 char *kwnames
[] = {
24344 (char *) "self", NULL
24347 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemId_m_pItem_get",kwnames
,&obj0
)) goto fail
;
24348 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeItemId
,
24349 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24350 result
= (void *) ((arg1
)->m_pItem
);
24352 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_void
, 0);
24359 static PyObject
* TreeItemId_swigregister(PyObject
*self
, PyObject
*args
) {
24361 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24362 SWIG_TypeClientData(SWIGTYPE_p_wxTreeItemId
, obj
);
24364 return Py_BuildValue((char *)"");
24366 static PyObject
*_wrap_new_TreeItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24367 PyObject
*resultobj
;
24368 PyObject
*arg1
= (PyObject
*) NULL
;
24369 wxPyTreeItemData
*result
;
24370 PyObject
* obj0
= 0 ;
24371 char *kwnames
[] = {
24372 (char *) "obj", NULL
24375 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_TreeItemData",kwnames
,&obj0
)) goto fail
;
24380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24381 result
= (wxPyTreeItemData
*)new wxPyTreeItemData(arg1
);
24383 wxPyEndAllowThreads(__tstate
);
24384 if (PyErr_Occurred()) SWIG_fail
;
24386 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTreeItemData
, 1);
24393 static PyObject
*_wrap_TreeItemData_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24394 PyObject
*resultobj
;
24395 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
24397 PyObject
* obj0
= 0 ;
24398 char *kwnames
[] = {
24399 (char *) "self", NULL
24402 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemData_GetData",kwnames
,&obj0
)) goto fail
;
24403 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeItemData
,
24404 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24407 result
= (PyObject
*)(arg1
)->GetData();
24409 wxPyEndAllowThreads(__tstate
);
24410 if (PyErr_Occurred()) SWIG_fail
;
24412 resultobj
= result
;
24419 static PyObject
*_wrap_TreeItemData_SetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24420 PyObject
*resultobj
;
24421 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
24422 PyObject
*arg2
= (PyObject
*) 0 ;
24423 PyObject
* obj0
= 0 ;
24424 PyObject
* obj1
= 0 ;
24425 char *kwnames
[] = {
24426 (char *) "self",(char *) "obj", NULL
24429 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemData_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
24430 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeItemData
,
24431 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24435 (arg1
)->SetData(arg2
);
24437 wxPyEndAllowThreads(__tstate
);
24438 if (PyErr_Occurred()) SWIG_fail
;
24440 Py_INCREF(Py_None
); resultobj
= Py_None
;
24447 static PyObject
*_wrap_TreeItemData_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24448 PyObject
*resultobj
;
24449 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
24450 wxTreeItemId
*result
;
24451 PyObject
* obj0
= 0 ;
24452 char *kwnames
[] = {
24453 (char *) "self", NULL
24456 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemData_GetId",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();
24462 wxTreeItemId
const &_result_ref
= (arg1
)->GetId();
24463 result
= (wxTreeItemId
*) &_result_ref
;
24466 wxPyEndAllowThreads(__tstate
);
24467 if (PyErr_Occurred()) SWIG_fail
;
24469 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTreeItemId
, 0);
24476 static PyObject
*_wrap_TreeItemData_SetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24477 PyObject
*resultobj
;
24478 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
24479 wxTreeItemId
*arg2
= 0 ;
24480 PyObject
* obj0
= 0 ;
24481 PyObject
* obj1
= 0 ;
24482 char *kwnames
[] = {
24483 (char *) "self",(char *) "id", NULL
24486 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemData_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
24487 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeItemData
,
24488 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24489 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
24490 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24492 if (arg2
== NULL
) {
24493 PyErr_SetString(PyExc_TypeError
,"null reference");
24497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24498 (arg1
)->SetId((wxTreeItemId
const &)*arg2
);
24500 wxPyEndAllowThreads(__tstate
);
24501 if (PyErr_Occurred()) SWIG_fail
;
24503 Py_INCREF(Py_None
); resultobj
= Py_None
;
24510 static PyObject
*_wrap_TreeItemData_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24511 PyObject
*resultobj
;
24512 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
24513 PyObject
* obj0
= 0 ;
24514 char *kwnames
[] = {
24515 (char *) "self", NULL
24518 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemData_Destroy",kwnames
,&obj0
)) goto fail
;
24519 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeItemData
,
24520 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24523 wxPyTreeItemData_Destroy(arg1
);
24525 wxPyEndAllowThreads(__tstate
);
24526 if (PyErr_Occurred()) SWIG_fail
;
24528 Py_INCREF(Py_None
); resultobj
= Py_None
;
24535 static PyObject
* TreeItemData_swigregister(PyObject
*self
, PyObject
*args
) {
24537 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24538 SWIG_TypeClientData(SWIGTYPE_p_wxPyTreeItemData
, obj
);
24540 return Py_BuildValue((char *)"");
24542 static PyObject
*_wrap_new_TreeEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24543 PyObject
*resultobj
;
24544 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
24545 int arg2
= (int) 0 ;
24546 wxTreeEvent
*result
;
24547 PyObject
* obj0
= 0 ;
24548 PyObject
* obj1
= 0 ;
24549 char *kwnames
[] = {
24550 (char *) "commandType",(char *) "id", NULL
24553 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_TreeEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
24555 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
24556 if (PyErr_Occurred()) SWIG_fail
;
24559 arg2
= (int) SWIG_AsInt(obj1
);
24560 if (PyErr_Occurred()) SWIG_fail
;
24563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24564 result
= (wxTreeEvent
*)new wxTreeEvent(arg1
,arg2
);
24566 wxPyEndAllowThreads(__tstate
);
24567 if (PyErr_Occurred()) SWIG_fail
;
24569 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTreeEvent
, 1);
24576 static PyObject
*_wrap_TreeEvent_GetItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24577 PyObject
*resultobj
;
24578 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
24579 wxTreeItemId result
;
24580 PyObject
* obj0
= 0 ;
24581 char *kwnames
[] = {
24582 (char *) "self", NULL
24585 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetItem",kwnames
,&obj0
)) goto fail
;
24586 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
24587 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24590 result
= ((wxTreeEvent
const *)arg1
)->GetItem();
24592 wxPyEndAllowThreads(__tstate
);
24593 if (PyErr_Occurred()) SWIG_fail
;
24596 wxTreeItemId
* resultptr
;
24597 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
24598 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
24606 static PyObject
*_wrap_TreeEvent_SetItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24607 PyObject
*resultobj
;
24608 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
24609 wxTreeItemId
*arg2
= 0 ;
24610 PyObject
* obj0
= 0 ;
24611 PyObject
* obj1
= 0 ;
24612 char *kwnames
[] = {
24613 (char *) "self",(char *) "item", NULL
24616 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetItem",kwnames
,&obj0
,&obj1
)) goto fail
;
24617 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
24618 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24619 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
24620 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24622 if (arg2
== NULL
) {
24623 PyErr_SetString(PyExc_TypeError
,"null reference");
24627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24628 (arg1
)->SetItem((wxTreeItemId
const &)*arg2
);
24630 wxPyEndAllowThreads(__tstate
);
24631 if (PyErr_Occurred()) SWIG_fail
;
24633 Py_INCREF(Py_None
); resultobj
= Py_None
;
24640 static PyObject
*_wrap_TreeEvent_GetOldItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24641 PyObject
*resultobj
;
24642 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
24643 wxTreeItemId result
;
24644 PyObject
* obj0
= 0 ;
24645 char *kwnames
[] = {
24646 (char *) "self", NULL
24649 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetOldItem",kwnames
,&obj0
)) goto fail
;
24650 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
24651 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24654 result
= ((wxTreeEvent
const *)arg1
)->GetOldItem();
24656 wxPyEndAllowThreads(__tstate
);
24657 if (PyErr_Occurred()) SWIG_fail
;
24660 wxTreeItemId
* resultptr
;
24661 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
24662 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
24670 static PyObject
*_wrap_TreeEvent_SetOldItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24671 PyObject
*resultobj
;
24672 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
24673 wxTreeItemId
*arg2
= 0 ;
24674 PyObject
* obj0
= 0 ;
24675 PyObject
* obj1
= 0 ;
24676 char *kwnames
[] = {
24677 (char *) "self",(char *) "item", NULL
24680 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetOldItem",kwnames
,&obj0
,&obj1
)) goto fail
;
24681 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
24682 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24683 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
24684 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24686 if (arg2
== NULL
) {
24687 PyErr_SetString(PyExc_TypeError
,"null reference");
24691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24692 (arg1
)->SetOldItem((wxTreeItemId
const &)*arg2
);
24694 wxPyEndAllowThreads(__tstate
);
24695 if (PyErr_Occurred()) SWIG_fail
;
24697 Py_INCREF(Py_None
); resultobj
= Py_None
;
24704 static PyObject
*_wrap_TreeEvent_GetPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24705 PyObject
*resultobj
;
24706 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
24708 PyObject
* obj0
= 0 ;
24709 char *kwnames
[] = {
24710 (char *) "self", NULL
24713 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetPoint",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();
24718 result
= ((wxTreeEvent
const *)arg1
)->GetPoint();
24720 wxPyEndAllowThreads(__tstate
);
24721 if (PyErr_Occurred()) SWIG_fail
;
24724 wxPoint
* resultptr
;
24725 resultptr
= new wxPoint((wxPoint
&) result
);
24726 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
24734 static PyObject
*_wrap_TreeEvent_SetPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24735 PyObject
*resultobj
;
24736 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
24737 wxPoint
*arg2
= 0 ;
24739 PyObject
* obj0
= 0 ;
24740 PyObject
* obj1
= 0 ;
24741 char *kwnames
[] = {
24742 (char *) "self",(char *) "pt", NULL
24745 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
24746 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
24747 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24750 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
24753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24754 (arg1
)->SetPoint((wxPoint
const &)*arg2
);
24756 wxPyEndAllowThreads(__tstate
);
24757 if (PyErr_Occurred()) SWIG_fail
;
24759 Py_INCREF(Py_None
); resultobj
= Py_None
;
24766 static PyObject
*_wrap_TreeEvent_GetKeyEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24767 PyObject
*resultobj
;
24768 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
24769 wxKeyEvent
*result
;
24770 PyObject
* obj0
= 0 ;
24771 char *kwnames
[] = {
24772 (char *) "self", NULL
24775 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetKeyEvent",kwnames
,&obj0
)) goto fail
;
24776 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
24777 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24781 wxKeyEvent
const &_result_ref
= ((wxTreeEvent
const *)arg1
)->GetKeyEvent();
24782 result
= (wxKeyEvent
*) &_result_ref
;
24785 wxPyEndAllowThreads(__tstate
);
24786 if (PyErr_Occurred()) SWIG_fail
;
24788 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxKeyEvent
, 0);
24795 static PyObject
*_wrap_TreeEvent_GetKeyCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24796 PyObject
*resultobj
;
24797 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
24799 PyObject
* obj0
= 0 ;
24800 char *kwnames
[] = {
24801 (char *) "self", NULL
24804 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetKeyCode",kwnames
,&obj0
)) goto fail
;
24805 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
24806 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24809 result
= (int)((wxTreeEvent
const *)arg1
)->GetKeyCode();
24811 wxPyEndAllowThreads(__tstate
);
24812 if (PyErr_Occurred()) SWIG_fail
;
24814 resultobj
= SWIG_FromInt((int)result
);
24821 static PyObject
*_wrap_TreeEvent_SetKeyEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24822 PyObject
*resultobj
;
24823 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
24824 wxKeyEvent
*arg2
= 0 ;
24825 PyObject
* obj0
= 0 ;
24826 PyObject
* obj1
= 0 ;
24827 char *kwnames
[] = {
24828 (char *) "self",(char *) "evt", NULL
24831 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetKeyEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
24832 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
24833 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24834 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxKeyEvent
,
24835 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24837 if (arg2
== NULL
) {
24838 PyErr_SetString(PyExc_TypeError
,"null reference");
24842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24843 (arg1
)->SetKeyEvent((wxKeyEvent
const &)*arg2
);
24845 wxPyEndAllowThreads(__tstate
);
24846 if (PyErr_Occurred()) SWIG_fail
;
24848 Py_INCREF(Py_None
); resultobj
= Py_None
;
24855 static PyObject
*_wrap_TreeEvent_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24856 PyObject
*resultobj
;
24857 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
24859 PyObject
* obj0
= 0 ;
24860 char *kwnames
[] = {
24861 (char *) "self", NULL
24864 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetLabel",kwnames
,&obj0
)) goto fail
;
24865 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
24866 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24870 wxString
const &_result_ref
= ((wxTreeEvent
const *)arg1
)->GetLabel();
24871 result
= (wxString
*) &_result_ref
;
24874 wxPyEndAllowThreads(__tstate
);
24875 if (PyErr_Occurred()) SWIG_fail
;
24879 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
24881 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
24890 static PyObject
*_wrap_TreeEvent_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24891 PyObject
*resultobj
;
24892 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
24893 wxString
*arg2
= 0 ;
24894 bool temp2
= False
;
24895 PyObject
* obj0
= 0 ;
24896 PyObject
* obj1
= 0 ;
24897 char *kwnames
[] = {
24898 (char *) "self",(char *) "label", NULL
24901 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
24902 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
24903 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24905 arg2
= wxString_in_helper(obj1
);
24906 if (arg2
== NULL
) SWIG_fail
;
24910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24911 (arg1
)->SetLabel((wxString
const &)*arg2
);
24913 wxPyEndAllowThreads(__tstate
);
24914 if (PyErr_Occurred()) SWIG_fail
;
24916 Py_INCREF(Py_None
); resultobj
= Py_None
;
24931 static PyObject
*_wrap_TreeEvent_IsEditCancelled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24932 PyObject
*resultobj
;
24933 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
24935 PyObject
* obj0
= 0 ;
24936 char *kwnames
[] = {
24937 (char *) "self", NULL
24940 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_IsEditCancelled",kwnames
,&obj0
)) goto fail
;
24941 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
24942 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24945 result
= (bool)((wxTreeEvent
const *)arg1
)->IsEditCancelled();
24947 wxPyEndAllowThreads(__tstate
);
24948 if (PyErr_Occurred()) SWIG_fail
;
24951 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24959 static PyObject
*_wrap_TreeEvent_SetEditCanceled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24960 PyObject
*resultobj
;
24961 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
24963 PyObject
* obj0
= 0 ;
24964 PyObject
* obj1
= 0 ;
24965 char *kwnames
[] = {
24966 (char *) "self",(char *) "editCancelled", NULL
24969 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetEditCanceled",kwnames
,&obj0
,&obj1
)) goto fail
;
24970 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
24971 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24972 arg2
= (bool) SWIG_AsBool(obj1
);
24973 if (PyErr_Occurred()) SWIG_fail
;
24975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24976 (arg1
)->SetEditCanceled(arg2
);
24978 wxPyEndAllowThreads(__tstate
);
24979 if (PyErr_Occurred()) SWIG_fail
;
24981 Py_INCREF(Py_None
); resultobj
= Py_None
;
24988 static PyObject
*_wrap_TreeEvent_SetToolTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24989 PyObject
*resultobj
;
24990 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
24991 wxString
*arg2
= 0 ;
24992 bool temp2
= False
;
24993 PyObject
* obj0
= 0 ;
24994 PyObject
* obj1
= 0 ;
24995 char *kwnames
[] = {
24996 (char *) "self",(char *) "toolTip", NULL
24999 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetToolTip",kwnames
,&obj0
,&obj1
)) goto fail
;
25000 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
25001 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25003 arg2
= wxString_in_helper(obj1
);
25004 if (arg2
== NULL
) SWIG_fail
;
25008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25009 (arg1
)->SetToolTip((wxString
const &)*arg2
);
25011 wxPyEndAllowThreads(__tstate
);
25012 if (PyErr_Occurred()) SWIG_fail
;
25014 Py_INCREF(Py_None
); resultobj
= Py_None
;
25029 static PyObject
* TreeEvent_swigregister(PyObject
*self
, PyObject
*args
) {
25031 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25032 SWIG_TypeClientData(SWIGTYPE_p_wxTreeEvent
, obj
);
25034 return Py_BuildValue((char *)"");
25036 static PyObject
*_wrap_new_TreeCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25037 PyObject
*resultobj
;
25038 wxWindow
*arg1
= (wxWindow
*) 0 ;
25039 int arg2
= (int) -1 ;
25040 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
25041 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
25042 wxSize
const &arg4_defvalue
= wxDefaultSize
;
25043 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
25044 long arg5
= (long) wxTR_DEFAULT_STYLE
;
25045 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
25046 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
25047 wxString
const &arg7_defvalue
= wxPyTreeCtrlNameStr
;
25048 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
25049 wxPyTreeCtrl
*result
;
25052 bool temp7
= False
;
25053 PyObject
* obj0
= 0 ;
25054 PyObject
* obj1
= 0 ;
25055 PyObject
* obj2
= 0 ;
25056 PyObject
* obj3
= 0 ;
25057 PyObject
* obj4
= 0 ;
25058 PyObject
* obj5
= 0 ;
25059 PyObject
* obj6
= 0 ;
25060 char *kwnames
[] = {
25061 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
25064 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_TreeCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
25065 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25066 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25068 arg2
= (int) SWIG_AsInt(obj1
);
25069 if (PyErr_Occurred()) SWIG_fail
;
25074 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
25080 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
25084 arg5
= (long) SWIG_AsLong(obj4
);
25085 if (PyErr_Occurred()) SWIG_fail
;
25088 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxValidator
,
25089 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25091 if (arg6
== NULL
) {
25092 PyErr_SetString(PyExc_TypeError
,"null reference");
25098 arg7
= wxString_in_helper(obj6
);
25099 if (arg7
== NULL
) SWIG_fail
;
25104 if (!wxPyCheckForApp()) SWIG_fail
;
25105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25106 result
= (wxPyTreeCtrl
*)new wxPyTreeCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
25108 wxPyEndAllowThreads(__tstate
);
25109 if (PyErr_Occurred()) SWIG_fail
;
25112 resultobj
= wxPyMake_wxObject(result
);
25128 static PyObject
*_wrap_new_PreTreeCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25129 PyObject
*resultobj
;
25130 wxPyTreeCtrl
*result
;
25131 char *kwnames
[] = {
25135 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreTreeCtrl",kwnames
)) goto fail
;
25137 if (!wxPyCheckForApp()) SWIG_fail
;
25138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25139 result
= (wxPyTreeCtrl
*)new wxPyTreeCtrl();
25141 wxPyEndAllowThreads(__tstate
);
25142 if (PyErr_Occurred()) SWIG_fail
;
25145 resultobj
= wxPyMake_wxObject(result
);
25153 static PyObject
*_wrap_TreeCtrl_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25154 PyObject
*resultobj
;
25155 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25156 wxWindow
*arg2
= (wxWindow
*) 0 ;
25157 int arg3
= (int) -1 ;
25158 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
25159 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
25160 wxSize
const &arg5_defvalue
= wxDefaultSize
;
25161 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
25162 long arg6
= (long) wxTR_DEFAULT_STYLE
;
25163 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
25164 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
25165 wxString
const &arg8_defvalue
= wxPyTreeCtrlNameStr
;
25166 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
25170 bool temp8
= False
;
25171 PyObject
* obj0
= 0 ;
25172 PyObject
* obj1
= 0 ;
25173 PyObject
* obj2
= 0 ;
25174 PyObject
* obj3
= 0 ;
25175 PyObject
* obj4
= 0 ;
25176 PyObject
* obj5
= 0 ;
25177 PyObject
* obj6
= 0 ;
25178 PyObject
* obj7
= 0 ;
25179 char *kwnames
[] = {
25180 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
25183 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:TreeCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
25184 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25185 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25186 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
25187 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25189 arg3
= (int) SWIG_AsInt(obj2
);
25190 if (PyErr_Occurred()) SWIG_fail
;
25195 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
25201 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
25205 arg6
= (long) SWIG_AsLong(obj5
);
25206 if (PyErr_Occurred()) SWIG_fail
;
25209 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
25210 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25212 if (arg7
== NULL
) {
25213 PyErr_SetString(PyExc_TypeError
,"null reference");
25219 arg8
= wxString_in_helper(obj7
);
25220 if (arg8
== NULL
) SWIG_fail
;
25225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25226 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
25228 wxPyEndAllowThreads(__tstate
);
25229 if (PyErr_Occurred()) SWIG_fail
;
25232 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25248 static PyObject
*_wrap_TreeCtrl__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25249 PyObject
*resultobj
;
25250 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25251 PyObject
*arg2
= (PyObject
*) 0 ;
25252 PyObject
*arg3
= (PyObject
*) 0 ;
25253 PyObject
* obj0
= 0 ;
25254 PyObject
* obj1
= 0 ;
25255 PyObject
* obj2
= 0 ;
25256 char *kwnames
[] = {
25257 (char *) "self",(char *) "self",(char *) "_class", NULL
25260 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25261 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25262 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25267 (arg1
)->_setCallbackInfo(arg2
,arg3
);
25269 wxPyEndAllowThreads(__tstate
);
25270 if (PyErr_Occurred()) SWIG_fail
;
25272 Py_INCREF(Py_None
); resultobj
= Py_None
;
25279 static PyObject
*_wrap_TreeCtrl_GetCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25280 PyObject
*resultobj
;
25281 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25283 PyObject
* obj0
= 0 ;
25284 char *kwnames
[] = {
25285 (char *) "self", NULL
25288 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetCount",kwnames
,&obj0
)) goto fail
;
25289 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25290 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25293 result
= (size_t)((wxPyTreeCtrl
const *)arg1
)->GetCount();
25295 wxPyEndAllowThreads(__tstate
);
25296 if (PyErr_Occurred()) SWIG_fail
;
25298 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
25305 static PyObject
*_wrap_TreeCtrl_GetIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25306 PyObject
*resultobj
;
25307 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25308 unsigned int result
;
25309 PyObject
* obj0
= 0 ;
25310 char *kwnames
[] = {
25311 (char *) "self", NULL
25314 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetIndent",kwnames
,&obj0
)) goto fail
;
25315 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25316 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25319 result
= (unsigned int)((wxPyTreeCtrl
const *)arg1
)->GetIndent();
25321 wxPyEndAllowThreads(__tstate
);
25322 if (PyErr_Occurred()) SWIG_fail
;
25324 resultobj
= SWIG_FromUnsignedInt((unsigned int)result
);
25331 static PyObject
*_wrap_TreeCtrl_SetIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25332 PyObject
*resultobj
;
25333 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25334 unsigned int arg2
;
25335 PyObject
* obj0
= 0 ;
25336 PyObject
* obj1
= 0 ;
25337 char *kwnames
[] = {
25338 (char *) "self",(char *) "indent", NULL
25341 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetIndent",kwnames
,&obj0
,&obj1
)) goto fail
;
25342 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25343 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25344 arg2
= (unsigned int) SWIG_AsUnsignedInt(obj1
);
25345 if (PyErr_Occurred()) SWIG_fail
;
25347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25348 (arg1
)->SetIndent(arg2
);
25350 wxPyEndAllowThreads(__tstate
);
25351 if (PyErr_Occurred()) SWIG_fail
;
25353 Py_INCREF(Py_None
); resultobj
= Py_None
;
25360 static PyObject
*_wrap_TreeCtrl_GetSpacing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25361 PyObject
*resultobj
;
25362 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25363 unsigned int result
;
25364 PyObject
* obj0
= 0 ;
25365 char *kwnames
[] = {
25366 (char *) "self", NULL
25369 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetSpacing",kwnames
,&obj0
)) goto fail
;
25370 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25371 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25374 result
= (unsigned int)((wxPyTreeCtrl
const *)arg1
)->GetSpacing();
25376 wxPyEndAllowThreads(__tstate
);
25377 if (PyErr_Occurred()) SWIG_fail
;
25379 resultobj
= SWIG_FromUnsignedInt((unsigned int)result
);
25386 static PyObject
*_wrap_TreeCtrl_SetSpacing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25387 PyObject
*resultobj
;
25388 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25389 unsigned int arg2
;
25390 PyObject
* obj0
= 0 ;
25391 PyObject
* obj1
= 0 ;
25392 char *kwnames
[] = {
25393 (char *) "self",(char *) "spacing", NULL
25396 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetSpacing",kwnames
,&obj0
,&obj1
)) goto fail
;
25397 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25398 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25399 arg2
= (unsigned int) SWIG_AsUnsignedInt(obj1
);
25400 if (PyErr_Occurred()) SWIG_fail
;
25402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25403 (arg1
)->SetSpacing(arg2
);
25405 wxPyEndAllowThreads(__tstate
);
25406 if (PyErr_Occurred()) SWIG_fail
;
25408 Py_INCREF(Py_None
); resultobj
= Py_None
;
25415 static PyObject
*_wrap_TreeCtrl_GetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25416 PyObject
*resultobj
;
25417 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25418 wxImageList
*result
;
25419 PyObject
* obj0
= 0 ;
25420 char *kwnames
[] = {
25421 (char *) "self", NULL
25424 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetImageList",kwnames
,&obj0
)) goto fail
;
25425 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25426 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25429 result
= (wxImageList
*)((wxPyTreeCtrl
const *)arg1
)->GetImageList();
25431 wxPyEndAllowThreads(__tstate
);
25432 if (PyErr_Occurred()) SWIG_fail
;
25435 resultobj
= wxPyMake_wxObject(result
);
25443 static PyObject
*_wrap_TreeCtrl_GetStateImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25444 PyObject
*resultobj
;
25445 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25446 wxImageList
*result
;
25447 PyObject
* obj0
= 0 ;
25448 char *kwnames
[] = {
25449 (char *) "self", NULL
25452 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetStateImageList",kwnames
,&obj0
)) goto fail
;
25453 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25454 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25457 result
= (wxImageList
*)((wxPyTreeCtrl
const *)arg1
)->GetStateImageList();
25459 wxPyEndAllowThreads(__tstate
);
25460 if (PyErr_Occurred()) SWIG_fail
;
25463 resultobj
= wxPyMake_wxObject(result
);
25471 static PyObject
*_wrap_TreeCtrl_SetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25472 PyObject
*resultobj
;
25473 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25474 wxImageList
*arg2
= (wxImageList
*) 0 ;
25475 PyObject
* obj0
= 0 ;
25476 PyObject
* obj1
= 0 ;
25477 char *kwnames
[] = {
25478 (char *) "self",(char *) "imageList", NULL
25481 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
25482 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25483 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25484 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImageList
,
25485 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25488 (arg1
)->SetImageList(arg2
);
25490 wxPyEndAllowThreads(__tstate
);
25491 if (PyErr_Occurred()) SWIG_fail
;
25493 Py_INCREF(Py_None
); resultobj
= Py_None
;
25500 static PyObject
*_wrap_TreeCtrl_SetStateImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25501 PyObject
*resultobj
;
25502 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25503 wxImageList
*arg2
= (wxImageList
*) 0 ;
25504 PyObject
* obj0
= 0 ;
25505 PyObject
* obj1
= 0 ;
25506 char *kwnames
[] = {
25507 (char *) "self",(char *) "imageList", NULL
25510 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetStateImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
25511 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25512 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25513 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImageList
,
25514 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25517 (arg1
)->SetStateImageList(arg2
);
25519 wxPyEndAllowThreads(__tstate
);
25520 if (PyErr_Occurred()) SWIG_fail
;
25522 Py_INCREF(Py_None
); resultobj
= Py_None
;
25529 static PyObject
*_wrap_TreeCtrl_AssignImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25530 PyObject
*resultobj
;
25531 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25532 wxImageList
*arg2
= (wxImageList
*) 0 ;
25533 PyObject
* obj0
= 0 ;
25534 PyObject
* obj1
= 0 ;
25535 char *kwnames
[] = {
25536 (char *) "self",(char *) "imageList", NULL
25539 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_AssignImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
25540 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25541 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25542 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImageList
,
25543 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
25545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25546 (arg1
)->AssignImageList(arg2
);
25548 wxPyEndAllowThreads(__tstate
);
25549 if (PyErr_Occurred()) SWIG_fail
;
25551 Py_INCREF(Py_None
); resultobj
= Py_None
;
25558 static PyObject
*_wrap_TreeCtrl_AssignStateImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25559 PyObject
*resultobj
;
25560 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25561 wxImageList
*arg2
= (wxImageList
*) 0 ;
25562 PyObject
* obj0
= 0 ;
25563 PyObject
* obj1
= 0 ;
25564 char *kwnames
[] = {
25565 (char *) "self",(char *) "imageList", NULL
25568 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_AssignStateImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
25569 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25570 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25571 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImageList
,
25572 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
25574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25575 (arg1
)->AssignStateImageList(arg2
);
25577 wxPyEndAllowThreads(__tstate
);
25578 if (PyErr_Occurred()) SWIG_fail
;
25580 Py_INCREF(Py_None
); resultobj
= Py_None
;
25587 static PyObject
*_wrap_TreeCtrl_GetItemText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25588 PyObject
*resultobj
;
25589 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25590 wxTreeItemId
*arg2
= 0 ;
25592 PyObject
* obj0
= 0 ;
25593 PyObject
* obj1
= 0 ;
25594 char *kwnames
[] = {
25595 (char *) "self",(char *) "item", NULL
25598 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemText",kwnames
,&obj0
,&obj1
)) goto fail
;
25599 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25600 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25601 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25602 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25604 if (arg2
== NULL
) {
25605 PyErr_SetString(PyExc_TypeError
,"null reference");
25609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25610 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemText((wxTreeItemId
const &)*arg2
);
25612 wxPyEndAllowThreads(__tstate
);
25613 if (PyErr_Occurred()) SWIG_fail
;
25617 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
25619 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
25628 static PyObject
*_wrap_TreeCtrl_GetItemImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25629 PyObject
*resultobj
;
25630 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25631 wxTreeItemId
*arg2
= 0 ;
25632 int arg3
= (int) wxTreeItemIcon_Normal
;
25634 PyObject
* obj0
= 0 ;
25635 PyObject
* obj1
= 0 ;
25636 PyObject
* obj2
= 0 ;
25637 char *kwnames
[] = {
25638 (char *) "self",(char *) "item",(char *) "which", NULL
25641 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_GetItemImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25642 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25643 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25644 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25645 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25647 if (arg2
== NULL
) {
25648 PyErr_SetString(PyExc_TypeError
,"null reference");
25652 arg3
= (wxTreeItemIcon
) SWIG_AsInt(obj2
);
25653 if (PyErr_Occurred()) SWIG_fail
;
25656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25657 result
= (int)((wxPyTreeCtrl
const *)arg1
)->GetItemImage((wxTreeItemId
const &)*arg2
,(wxTreeItemIcon
)arg3
);
25659 wxPyEndAllowThreads(__tstate
);
25660 if (PyErr_Occurred()) SWIG_fail
;
25662 resultobj
= SWIG_FromInt((int)result
);
25669 static PyObject
*_wrap_TreeCtrl_GetItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25670 PyObject
*resultobj
;
25671 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25672 wxTreeItemId
*arg2
= 0 ;
25673 wxPyTreeItemData
*result
;
25674 PyObject
* obj0
= 0 ;
25675 PyObject
* obj1
= 0 ;
25676 char *kwnames
[] = {
25677 (char *) "self",(char *) "item", NULL
25680 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemData",kwnames
,&obj0
,&obj1
)) goto fail
;
25681 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25682 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25683 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25684 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25686 if (arg2
== NULL
) {
25687 PyErr_SetString(PyExc_TypeError
,"null reference");
25691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25692 result
= (wxPyTreeItemData
*)wxPyTreeCtrl_GetItemData(arg1
,(wxTreeItemId
const &)*arg2
);
25694 wxPyEndAllowThreads(__tstate
);
25695 if (PyErr_Occurred()) SWIG_fail
;
25697 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTreeItemData
, 0);
25704 static PyObject
*_wrap_TreeCtrl_GetItemPyData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25705 PyObject
*resultobj
;
25706 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25707 wxTreeItemId
*arg2
= 0 ;
25709 PyObject
* obj0
= 0 ;
25710 PyObject
* obj1
= 0 ;
25711 char *kwnames
[] = {
25712 (char *) "self",(char *) "item", NULL
25715 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemPyData",kwnames
,&obj0
,&obj1
)) goto fail
;
25716 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25717 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25718 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25719 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25721 if (arg2
== NULL
) {
25722 PyErr_SetString(PyExc_TypeError
,"null reference");
25726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25727 result
= (PyObject
*)wxPyTreeCtrl_GetItemPyData(arg1
,(wxTreeItemId
const &)*arg2
);
25729 wxPyEndAllowThreads(__tstate
);
25730 if (PyErr_Occurred()) SWIG_fail
;
25732 resultobj
= result
;
25739 static PyObject
*_wrap_TreeCtrl_GetItemTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25740 PyObject
*resultobj
;
25741 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25742 wxTreeItemId
*arg2
= 0 ;
25744 PyObject
* obj0
= 0 ;
25745 PyObject
* obj1
= 0 ;
25746 char *kwnames
[] = {
25747 (char *) "self",(char *) "item", NULL
25750 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
25751 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25752 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25753 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25754 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25756 if (arg2
== NULL
) {
25757 PyErr_SetString(PyExc_TypeError
,"null reference");
25761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25762 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemTextColour((wxTreeItemId
const &)*arg2
);
25764 wxPyEndAllowThreads(__tstate
);
25765 if (PyErr_Occurred()) SWIG_fail
;
25768 wxColour
* resultptr
;
25769 resultptr
= new wxColour((wxColour
&) result
);
25770 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
25778 static PyObject
*_wrap_TreeCtrl_GetItemBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25779 PyObject
*resultobj
;
25780 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25781 wxTreeItemId
*arg2
= 0 ;
25783 PyObject
* obj0
= 0 ;
25784 PyObject
* obj1
= 0 ;
25785 char *kwnames
[] = {
25786 (char *) "self",(char *) "item", NULL
25789 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
25790 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25791 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25792 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25793 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25795 if (arg2
== NULL
) {
25796 PyErr_SetString(PyExc_TypeError
,"null reference");
25800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25801 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemBackgroundColour((wxTreeItemId
const &)*arg2
);
25803 wxPyEndAllowThreads(__tstate
);
25804 if (PyErr_Occurred()) SWIG_fail
;
25807 wxColour
* resultptr
;
25808 resultptr
= new wxColour((wxColour
&) result
);
25809 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
25817 static PyObject
*_wrap_TreeCtrl_GetItemFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25818 PyObject
*resultobj
;
25819 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25820 wxTreeItemId
*arg2
= 0 ;
25822 PyObject
* obj0
= 0 ;
25823 PyObject
* obj1
= 0 ;
25824 char *kwnames
[] = {
25825 (char *) "self",(char *) "item", NULL
25828 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemFont",kwnames
,&obj0
,&obj1
)) goto fail
;
25829 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25830 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25831 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25832 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25834 if (arg2
== NULL
) {
25835 PyErr_SetString(PyExc_TypeError
,"null reference");
25839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25840 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemFont((wxTreeItemId
const &)*arg2
);
25842 wxPyEndAllowThreads(__tstate
);
25843 if (PyErr_Occurred()) SWIG_fail
;
25846 wxFont
* resultptr
;
25847 resultptr
= new wxFont((wxFont
&) result
);
25848 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
25856 static PyObject
*_wrap_TreeCtrl_SetItemText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25857 PyObject
*resultobj
;
25858 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25859 wxTreeItemId
*arg2
= 0 ;
25860 wxString
*arg3
= 0 ;
25861 bool temp3
= False
;
25862 PyObject
* obj0
= 0 ;
25863 PyObject
* obj1
= 0 ;
25864 PyObject
* obj2
= 0 ;
25865 char *kwnames
[] = {
25866 (char *) "self",(char *) "item",(char *) "text", NULL
25869 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25870 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25871 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25872 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25873 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25875 if (arg2
== NULL
) {
25876 PyErr_SetString(PyExc_TypeError
,"null reference");
25880 arg3
= wxString_in_helper(obj2
);
25881 if (arg3
== NULL
) SWIG_fail
;
25885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25886 (arg1
)->SetItemText((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
);
25888 wxPyEndAllowThreads(__tstate
);
25889 if (PyErr_Occurred()) SWIG_fail
;
25891 Py_INCREF(Py_None
); resultobj
= Py_None
;
25906 static PyObject
*_wrap_TreeCtrl_SetItemImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25907 PyObject
*resultobj
;
25908 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25909 wxTreeItemId
*arg2
= 0 ;
25911 int arg4
= (int) wxTreeItemIcon_Normal
;
25912 PyObject
* obj0
= 0 ;
25913 PyObject
* obj1
= 0 ;
25914 PyObject
* obj2
= 0 ;
25915 PyObject
* obj3
= 0 ;
25916 char *kwnames
[] = {
25917 (char *) "self",(char *) "item",(char *) "image",(char *) "which", NULL
25920 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:TreeCtrl_SetItemImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
25921 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25922 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25923 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25924 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25926 if (arg2
== NULL
) {
25927 PyErr_SetString(PyExc_TypeError
,"null reference");
25930 arg3
= (int) SWIG_AsInt(obj2
);
25931 if (PyErr_Occurred()) SWIG_fail
;
25933 arg4
= (wxTreeItemIcon
) SWIG_AsInt(obj3
);
25934 if (PyErr_Occurred()) SWIG_fail
;
25937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25938 (arg1
)->SetItemImage((wxTreeItemId
const &)*arg2
,arg3
,(wxTreeItemIcon
)arg4
);
25940 wxPyEndAllowThreads(__tstate
);
25941 if (PyErr_Occurred()) SWIG_fail
;
25943 Py_INCREF(Py_None
); resultobj
= Py_None
;
25950 static PyObject
*_wrap_TreeCtrl_SetItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25951 PyObject
*resultobj
;
25952 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25953 wxTreeItemId
*arg2
= 0 ;
25954 wxPyTreeItemData
*arg3
= (wxPyTreeItemData
*) 0 ;
25955 PyObject
* obj0
= 0 ;
25956 PyObject
* obj1
= 0 ;
25957 PyObject
* obj2
= 0 ;
25958 char *kwnames
[] = {
25959 (char *) "self",(char *) "item",(char *) "data", NULL
25962 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25963 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25964 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25965 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25966 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25968 if (arg2
== NULL
) {
25969 PyErr_SetString(PyExc_TypeError
,"null reference");
25972 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPyTreeItemData
,
25973 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25976 wxPyTreeCtrl_SetItemData(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
25978 wxPyEndAllowThreads(__tstate
);
25979 if (PyErr_Occurred()) SWIG_fail
;
25981 Py_INCREF(Py_None
); resultobj
= Py_None
;
25988 static PyObject
*_wrap_TreeCtrl_SetItemPyData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25989 PyObject
*resultobj
;
25990 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25991 wxTreeItemId
*arg2
= 0 ;
25992 PyObject
*arg3
= (PyObject
*) 0 ;
25993 PyObject
* obj0
= 0 ;
25994 PyObject
* obj1
= 0 ;
25995 PyObject
* obj2
= 0 ;
25996 char *kwnames
[] = {
25997 (char *) "self",(char *) "item",(char *) "obj", NULL
26000 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemPyData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26001 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26002 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26003 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26004 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26006 if (arg2
== NULL
) {
26007 PyErr_SetString(PyExc_TypeError
,"null reference");
26012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26013 wxPyTreeCtrl_SetItemPyData(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
26015 wxPyEndAllowThreads(__tstate
);
26016 if (PyErr_Occurred()) SWIG_fail
;
26018 Py_INCREF(Py_None
); resultobj
= Py_None
;
26025 static PyObject
*_wrap_TreeCtrl_SetItemHasChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26026 PyObject
*resultobj
;
26027 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26028 wxTreeItemId
*arg2
= 0 ;
26029 bool arg3
= (bool) True
;
26030 PyObject
* obj0
= 0 ;
26031 PyObject
* obj1
= 0 ;
26032 PyObject
* obj2
= 0 ;
26033 char *kwnames
[] = {
26034 (char *) "self",(char *) "item",(char *) "has", NULL
26037 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SetItemHasChildren",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26038 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26039 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26040 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26041 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26043 if (arg2
== NULL
) {
26044 PyErr_SetString(PyExc_TypeError
,"null reference");
26048 arg3
= (bool) SWIG_AsBool(obj2
);
26049 if (PyErr_Occurred()) SWIG_fail
;
26052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26053 (arg1
)->SetItemHasChildren((wxTreeItemId
const &)*arg2
,arg3
);
26055 wxPyEndAllowThreads(__tstate
);
26056 if (PyErr_Occurred()) SWIG_fail
;
26058 Py_INCREF(Py_None
); resultobj
= Py_None
;
26065 static PyObject
*_wrap_TreeCtrl_SetItemBold(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26066 PyObject
*resultobj
;
26067 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26068 wxTreeItemId
*arg2
= 0 ;
26069 bool arg3
= (bool) True
;
26070 PyObject
* obj0
= 0 ;
26071 PyObject
* obj1
= 0 ;
26072 PyObject
* obj2
= 0 ;
26073 char *kwnames
[] = {
26074 (char *) "self",(char *) "item",(char *) "bold", NULL
26077 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SetItemBold",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26078 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26079 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26080 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26081 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26083 if (arg2
== NULL
) {
26084 PyErr_SetString(PyExc_TypeError
,"null reference");
26088 arg3
= (bool) SWIG_AsBool(obj2
);
26089 if (PyErr_Occurred()) SWIG_fail
;
26092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26093 (arg1
)->SetItemBold((wxTreeItemId
const &)*arg2
,arg3
);
26095 wxPyEndAllowThreads(__tstate
);
26096 if (PyErr_Occurred()) SWIG_fail
;
26098 Py_INCREF(Py_None
); resultobj
= Py_None
;
26105 static PyObject
*_wrap_TreeCtrl_SetItemDropHighlight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26106 PyObject
*resultobj
;
26107 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26108 wxTreeItemId
*arg2
= 0 ;
26109 bool arg3
= (bool) True
;
26110 PyObject
* obj0
= 0 ;
26111 PyObject
* obj1
= 0 ;
26112 PyObject
* obj2
= 0 ;
26113 char *kwnames
[] = {
26114 (char *) "self",(char *) "item",(char *) "highlight", NULL
26117 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SetItemDropHighlight",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26118 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26119 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26120 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26121 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26123 if (arg2
== NULL
) {
26124 PyErr_SetString(PyExc_TypeError
,"null reference");
26128 arg3
= (bool) SWIG_AsBool(obj2
);
26129 if (PyErr_Occurred()) SWIG_fail
;
26132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26133 (arg1
)->SetItemDropHighlight((wxTreeItemId
const &)*arg2
,arg3
);
26135 wxPyEndAllowThreads(__tstate
);
26136 if (PyErr_Occurred()) SWIG_fail
;
26138 Py_INCREF(Py_None
); resultobj
= Py_None
;
26145 static PyObject
*_wrap_TreeCtrl_SetItemTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26146 PyObject
*resultobj
;
26147 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26148 wxTreeItemId
*arg2
= 0 ;
26149 wxColour
*arg3
= 0 ;
26151 PyObject
* obj0
= 0 ;
26152 PyObject
* obj1
= 0 ;
26153 PyObject
* obj2
= 0 ;
26154 char *kwnames
[] = {
26155 (char *) "self",(char *) "item",(char *) "col", NULL
26158 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemTextColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26159 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26160 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26161 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26162 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26164 if (arg2
== NULL
) {
26165 PyErr_SetString(PyExc_TypeError
,"null reference");
26170 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
26173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26174 (arg1
)->SetItemTextColour((wxTreeItemId
const &)*arg2
,(wxColour
const &)*arg3
);
26176 wxPyEndAllowThreads(__tstate
);
26177 if (PyErr_Occurred()) SWIG_fail
;
26179 Py_INCREF(Py_None
); resultobj
= Py_None
;
26186 static PyObject
*_wrap_TreeCtrl_SetItemBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26187 PyObject
*resultobj
;
26188 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26189 wxTreeItemId
*arg2
= 0 ;
26190 wxColour
*arg3
= 0 ;
26192 PyObject
* obj0
= 0 ;
26193 PyObject
* obj1
= 0 ;
26194 PyObject
* obj2
= 0 ;
26195 char *kwnames
[] = {
26196 (char *) "self",(char *) "item",(char *) "col", NULL
26199 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26200 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26201 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26202 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26203 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26205 if (arg2
== NULL
) {
26206 PyErr_SetString(PyExc_TypeError
,"null reference");
26211 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
26214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26215 (arg1
)->SetItemBackgroundColour((wxTreeItemId
const &)*arg2
,(wxColour
const &)*arg3
);
26217 wxPyEndAllowThreads(__tstate
);
26218 if (PyErr_Occurred()) SWIG_fail
;
26220 Py_INCREF(Py_None
); resultobj
= Py_None
;
26227 static PyObject
*_wrap_TreeCtrl_SetItemFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26228 PyObject
*resultobj
;
26229 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26230 wxTreeItemId
*arg2
= 0 ;
26232 PyObject
* obj0
= 0 ;
26233 PyObject
* obj1
= 0 ;
26234 PyObject
* obj2
= 0 ;
26235 char *kwnames
[] = {
26236 (char *) "self",(char *) "item",(char *) "font", NULL
26239 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemFont",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26240 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26241 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26242 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26243 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26245 if (arg2
== NULL
) {
26246 PyErr_SetString(PyExc_TypeError
,"null reference");
26249 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxFont
,
26250 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26252 if (arg3
== NULL
) {
26253 PyErr_SetString(PyExc_TypeError
,"null reference");
26257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26258 (arg1
)->SetItemFont((wxTreeItemId
const &)*arg2
,(wxFont
const &)*arg3
);
26260 wxPyEndAllowThreads(__tstate
);
26261 if (PyErr_Occurred()) SWIG_fail
;
26263 Py_INCREF(Py_None
); resultobj
= Py_None
;
26270 static PyObject
*_wrap_TreeCtrl_IsVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26271 PyObject
*resultobj
;
26272 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26273 wxTreeItemId
*arg2
= 0 ;
26275 PyObject
* obj0
= 0 ;
26276 PyObject
* obj1
= 0 ;
26277 char *kwnames
[] = {
26278 (char *) "self",(char *) "item", NULL
26281 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
26282 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26283 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26284 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26285 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26287 if (arg2
== NULL
) {
26288 PyErr_SetString(PyExc_TypeError
,"null reference");
26292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26293 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsVisible((wxTreeItemId
const &)*arg2
);
26295 wxPyEndAllowThreads(__tstate
);
26296 if (PyErr_Occurred()) SWIG_fail
;
26299 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26307 static PyObject
*_wrap_TreeCtrl_ItemHasChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26308 PyObject
*resultobj
;
26309 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26310 wxTreeItemId
*arg2
= 0 ;
26312 PyObject
* obj0
= 0 ;
26313 PyObject
* obj1
= 0 ;
26314 char *kwnames
[] = {
26315 (char *) "self",(char *) "item", NULL
26318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ItemHasChildren",kwnames
,&obj0
,&obj1
)) goto fail
;
26319 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26320 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26321 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26322 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26324 if (arg2
== NULL
) {
26325 PyErr_SetString(PyExc_TypeError
,"null reference");
26329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26330 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->ItemHasChildren((wxTreeItemId
const &)*arg2
);
26332 wxPyEndAllowThreads(__tstate
);
26333 if (PyErr_Occurred()) SWIG_fail
;
26336 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26344 static PyObject
*_wrap_TreeCtrl_IsExpanded(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26345 PyObject
*resultobj
;
26346 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26347 wxTreeItemId
*arg2
= 0 ;
26349 PyObject
* obj0
= 0 ;
26350 PyObject
* obj1
= 0 ;
26351 char *kwnames
[] = {
26352 (char *) "self",(char *) "item", NULL
26355 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsExpanded",kwnames
,&obj0
,&obj1
)) goto fail
;
26356 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26357 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26358 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26359 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26361 if (arg2
== NULL
) {
26362 PyErr_SetString(PyExc_TypeError
,"null reference");
26366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26367 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsExpanded((wxTreeItemId
const &)*arg2
);
26369 wxPyEndAllowThreads(__tstate
);
26370 if (PyErr_Occurred()) SWIG_fail
;
26373 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26381 static PyObject
*_wrap_TreeCtrl_IsSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26382 PyObject
*resultobj
;
26383 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26384 wxTreeItemId
*arg2
= 0 ;
26386 PyObject
* obj0
= 0 ;
26387 PyObject
* obj1
= 0 ;
26388 char *kwnames
[] = {
26389 (char *) "self",(char *) "item", NULL
26392 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
26393 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26394 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26395 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26396 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26398 if (arg2
== NULL
) {
26399 PyErr_SetString(PyExc_TypeError
,"null reference");
26403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26404 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsSelected((wxTreeItemId
const &)*arg2
);
26406 wxPyEndAllowThreads(__tstate
);
26407 if (PyErr_Occurred()) SWIG_fail
;
26410 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26418 static PyObject
*_wrap_TreeCtrl_IsBold(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26419 PyObject
*resultobj
;
26420 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26421 wxTreeItemId
*arg2
= 0 ;
26423 PyObject
* obj0
= 0 ;
26424 PyObject
* obj1
= 0 ;
26425 char *kwnames
[] = {
26426 (char *) "self",(char *) "item", NULL
26429 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsBold",kwnames
,&obj0
,&obj1
)) goto fail
;
26430 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26431 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26432 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26433 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26435 if (arg2
== NULL
) {
26436 PyErr_SetString(PyExc_TypeError
,"null reference");
26440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26441 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsBold((wxTreeItemId
const &)*arg2
);
26443 wxPyEndAllowThreads(__tstate
);
26444 if (PyErr_Occurred()) SWIG_fail
;
26447 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26455 static PyObject
*_wrap_TreeCtrl_GetChildrenCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26456 PyObject
*resultobj
;
26457 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26458 wxTreeItemId
*arg2
= 0 ;
26459 bool arg3
= (bool) True
;
26461 PyObject
* obj0
= 0 ;
26462 PyObject
* obj1
= 0 ;
26463 PyObject
* obj2
= 0 ;
26464 char *kwnames
[] = {
26465 (char *) "self",(char *) "item",(char *) "recursively", NULL
26468 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_GetChildrenCount",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26469 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26470 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26471 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26472 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26474 if (arg2
== NULL
) {
26475 PyErr_SetString(PyExc_TypeError
,"null reference");
26479 arg3
= (bool) SWIG_AsBool(obj2
);
26480 if (PyErr_Occurred()) SWIG_fail
;
26483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26484 result
= (size_t)(arg1
)->GetChildrenCount((wxTreeItemId
const &)*arg2
,arg3
);
26486 wxPyEndAllowThreads(__tstate
);
26487 if (PyErr_Occurred()) SWIG_fail
;
26489 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
26496 static PyObject
*_wrap_TreeCtrl_GetRootItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26497 PyObject
*resultobj
;
26498 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26499 wxTreeItemId result
;
26500 PyObject
* obj0
= 0 ;
26501 char *kwnames
[] = {
26502 (char *) "self", NULL
26505 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetRootItem",kwnames
,&obj0
)) goto fail
;
26506 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26507 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26510 result
= ((wxPyTreeCtrl
const *)arg1
)->GetRootItem();
26512 wxPyEndAllowThreads(__tstate
);
26513 if (PyErr_Occurred()) SWIG_fail
;
26516 wxTreeItemId
* resultptr
;
26517 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
26518 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
26526 static PyObject
*_wrap_TreeCtrl_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26527 PyObject
*resultobj
;
26528 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26529 wxTreeItemId result
;
26530 PyObject
* obj0
= 0 ;
26531 char *kwnames
[] = {
26532 (char *) "self", NULL
26535 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetSelection",kwnames
,&obj0
)) goto fail
;
26536 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26537 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26540 result
= ((wxPyTreeCtrl
const *)arg1
)->GetSelection();
26542 wxPyEndAllowThreads(__tstate
);
26543 if (PyErr_Occurred()) SWIG_fail
;
26546 wxTreeItemId
* resultptr
;
26547 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
26548 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
26556 static PyObject
*_wrap_TreeCtrl_GetSelections(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26557 PyObject
*resultobj
;
26558 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26560 PyObject
* obj0
= 0 ;
26561 char *kwnames
[] = {
26562 (char *) "self", NULL
26565 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetSelections",kwnames
,&obj0
)) goto fail
;
26566 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26567 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26570 result
= (PyObject
*)wxPyTreeCtrl_GetSelections(arg1
);
26572 wxPyEndAllowThreads(__tstate
);
26573 if (PyErr_Occurred()) SWIG_fail
;
26575 resultobj
= result
;
26582 static PyObject
*_wrap_TreeCtrl_GetItemParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26583 PyObject
*resultobj
;
26584 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26585 wxTreeItemId
*arg2
= 0 ;
26586 wxTreeItemId result
;
26587 PyObject
* obj0
= 0 ;
26588 PyObject
* obj1
= 0 ;
26589 char *kwnames
[] = {
26590 (char *) "self",(char *) "item", NULL
26593 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemParent",kwnames
,&obj0
,&obj1
)) goto fail
;
26594 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26595 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26596 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26597 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26599 if (arg2
== NULL
) {
26600 PyErr_SetString(PyExc_TypeError
,"null reference");
26604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26605 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemParent((wxTreeItemId
const &)*arg2
);
26607 wxPyEndAllowThreads(__tstate
);
26608 if (PyErr_Occurred()) SWIG_fail
;
26611 wxTreeItemId
* resultptr
;
26612 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
26613 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
26621 static PyObject
*_wrap_TreeCtrl_GetFirstChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26622 PyObject
*resultobj
;
26623 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26624 wxTreeItemId
*arg2
= 0 ;
26626 PyObject
* obj0
= 0 ;
26627 PyObject
* obj1
= 0 ;
26628 char *kwnames
[] = {
26629 (char *) "self",(char *) "item", NULL
26632 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetFirstChild",kwnames
,&obj0
,&obj1
)) goto fail
;
26633 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26634 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26635 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26636 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26638 if (arg2
== NULL
) {
26639 PyErr_SetString(PyExc_TypeError
,"null reference");
26643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26644 result
= (PyObject
*)wxPyTreeCtrl_GetFirstChild(arg1
,(wxTreeItemId
const &)*arg2
);
26646 wxPyEndAllowThreads(__tstate
);
26647 if (PyErr_Occurred()) SWIG_fail
;
26649 resultobj
= result
;
26656 static PyObject
*_wrap_TreeCtrl_GetNextChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26657 PyObject
*resultobj
;
26658 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26659 wxTreeItemId
*arg2
= 0 ;
26660 void *arg3
= (void *) 0 ;
26662 PyObject
* obj0
= 0 ;
26663 PyObject
* obj1
= 0 ;
26664 PyObject
* obj2
= 0 ;
26665 char *kwnames
[] = {
26666 (char *) "self",(char *) "item",(char *) "cookie", NULL
26669 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_GetNextChild",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26670 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26671 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26672 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26673 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26675 if (arg2
== NULL
) {
26676 PyErr_SetString(PyExc_TypeError
,"null reference");
26679 if ((SWIG_ConvertPtr(obj2
,&arg3
,0,SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26682 result
= (PyObject
*)wxPyTreeCtrl_GetNextChild(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
26684 wxPyEndAllowThreads(__tstate
);
26685 if (PyErr_Occurred()) SWIG_fail
;
26687 resultobj
= result
;
26694 static PyObject
*_wrap_TreeCtrl_GetLastChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26695 PyObject
*resultobj
;
26696 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26697 wxTreeItemId
*arg2
= 0 ;
26698 wxTreeItemId result
;
26699 PyObject
* obj0
= 0 ;
26700 PyObject
* obj1
= 0 ;
26701 char *kwnames
[] = {
26702 (char *) "self",(char *) "item", NULL
26705 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetLastChild",kwnames
,&obj0
,&obj1
)) goto fail
;
26706 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26707 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26708 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26709 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26711 if (arg2
== NULL
) {
26712 PyErr_SetString(PyExc_TypeError
,"null reference");
26716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26717 result
= ((wxPyTreeCtrl
const *)arg1
)->GetLastChild((wxTreeItemId
const &)*arg2
);
26719 wxPyEndAllowThreads(__tstate
);
26720 if (PyErr_Occurred()) SWIG_fail
;
26723 wxTreeItemId
* resultptr
;
26724 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
26725 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
26733 static PyObject
*_wrap_TreeCtrl_GetNextSibling(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26734 PyObject
*resultobj
;
26735 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26736 wxTreeItemId
*arg2
= 0 ;
26737 wxTreeItemId result
;
26738 PyObject
* obj0
= 0 ;
26739 PyObject
* obj1
= 0 ;
26740 char *kwnames
[] = {
26741 (char *) "self",(char *) "item", NULL
26744 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetNextSibling",kwnames
,&obj0
,&obj1
)) goto fail
;
26745 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26746 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26747 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26748 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26750 if (arg2
== NULL
) {
26751 PyErr_SetString(PyExc_TypeError
,"null reference");
26755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26756 result
= ((wxPyTreeCtrl
const *)arg1
)->GetNextSibling((wxTreeItemId
const &)*arg2
);
26758 wxPyEndAllowThreads(__tstate
);
26759 if (PyErr_Occurred()) SWIG_fail
;
26762 wxTreeItemId
* resultptr
;
26763 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
26764 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
26772 static PyObject
*_wrap_TreeCtrl_GetPrevSibling(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26773 PyObject
*resultobj
;
26774 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26775 wxTreeItemId
*arg2
= 0 ;
26776 wxTreeItemId result
;
26777 PyObject
* obj0
= 0 ;
26778 PyObject
* obj1
= 0 ;
26779 char *kwnames
[] = {
26780 (char *) "self",(char *) "item", NULL
26783 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetPrevSibling",kwnames
,&obj0
,&obj1
)) goto fail
;
26784 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26785 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26786 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26787 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26789 if (arg2
== NULL
) {
26790 PyErr_SetString(PyExc_TypeError
,"null reference");
26794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26795 result
= ((wxPyTreeCtrl
const *)arg1
)->GetPrevSibling((wxTreeItemId
const &)*arg2
);
26797 wxPyEndAllowThreads(__tstate
);
26798 if (PyErr_Occurred()) SWIG_fail
;
26801 wxTreeItemId
* resultptr
;
26802 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
26803 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
26811 static PyObject
*_wrap_TreeCtrl_GetFirstVisibleItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26812 PyObject
*resultobj
;
26813 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26814 wxTreeItemId result
;
26815 PyObject
* obj0
= 0 ;
26816 char *kwnames
[] = {
26817 (char *) "self", NULL
26820 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetFirstVisibleItem",kwnames
,&obj0
)) goto fail
;
26821 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26822 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26825 result
= ((wxPyTreeCtrl
const *)arg1
)->GetFirstVisibleItem();
26827 wxPyEndAllowThreads(__tstate
);
26828 if (PyErr_Occurred()) SWIG_fail
;
26831 wxTreeItemId
* resultptr
;
26832 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
26833 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
26841 static PyObject
*_wrap_TreeCtrl_GetNextVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26842 PyObject
*resultobj
;
26843 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26844 wxTreeItemId
*arg2
= 0 ;
26845 wxTreeItemId result
;
26846 PyObject
* obj0
= 0 ;
26847 PyObject
* obj1
= 0 ;
26848 char *kwnames
[] = {
26849 (char *) "self",(char *) "item", NULL
26852 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetNextVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
26853 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26854 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26855 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26856 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26858 if (arg2
== NULL
) {
26859 PyErr_SetString(PyExc_TypeError
,"null reference");
26863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26864 result
= ((wxPyTreeCtrl
const *)arg1
)->GetNextVisible((wxTreeItemId
const &)*arg2
);
26866 wxPyEndAllowThreads(__tstate
);
26867 if (PyErr_Occurred()) SWIG_fail
;
26870 wxTreeItemId
* resultptr
;
26871 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
26872 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
26880 static PyObject
*_wrap_TreeCtrl_GetPrevVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26881 PyObject
*resultobj
;
26882 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26883 wxTreeItemId
*arg2
= 0 ;
26884 wxTreeItemId result
;
26885 PyObject
* obj0
= 0 ;
26886 PyObject
* obj1
= 0 ;
26887 char *kwnames
[] = {
26888 (char *) "self",(char *) "item", NULL
26891 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetPrevVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
26892 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26893 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26894 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26895 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26897 if (arg2
== NULL
) {
26898 PyErr_SetString(PyExc_TypeError
,"null reference");
26902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26903 result
= ((wxPyTreeCtrl
const *)arg1
)->GetPrevVisible((wxTreeItemId
const &)*arg2
);
26905 wxPyEndAllowThreads(__tstate
);
26906 if (PyErr_Occurred()) SWIG_fail
;
26909 wxTreeItemId
* resultptr
;
26910 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
26911 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
26919 static PyObject
*_wrap_TreeCtrl_AddRoot(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26920 PyObject
*resultobj
;
26921 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26922 wxString
*arg2
= 0 ;
26923 int arg3
= (int) -1 ;
26924 int arg4
= (int) -1 ;
26925 wxPyTreeItemData
*arg5
= (wxPyTreeItemData
*) NULL
;
26926 wxTreeItemId result
;
26927 bool temp2
= False
;
26928 PyObject
* obj0
= 0 ;
26929 PyObject
* obj1
= 0 ;
26930 PyObject
* obj2
= 0 ;
26931 PyObject
* obj3
= 0 ;
26932 PyObject
* obj4
= 0 ;
26933 char *kwnames
[] = {
26934 (char *) "self",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
26937 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:TreeCtrl_AddRoot",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
26938 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26939 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26941 arg2
= wxString_in_helper(obj1
);
26942 if (arg2
== NULL
) SWIG_fail
;
26946 arg3
= (int) SWIG_AsInt(obj2
);
26947 if (PyErr_Occurred()) SWIG_fail
;
26950 arg4
= (int) SWIG_AsInt(obj3
);
26951 if (PyErr_Occurred()) SWIG_fail
;
26954 if ((SWIG_ConvertPtr(obj4
,(void **)(&arg5
),SWIGTYPE_p_wxPyTreeItemData
,
26955 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26959 result
= (arg1
)->AddRoot((wxString
const &)*arg2
,arg3
,arg4
,arg5
);
26961 wxPyEndAllowThreads(__tstate
);
26962 if (PyErr_Occurred()) SWIG_fail
;
26965 wxTreeItemId
* resultptr
;
26966 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
26967 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
26983 static PyObject
*_wrap_TreeCtrl_PrependItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26984 PyObject
*resultobj
;
26985 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26986 wxTreeItemId
*arg2
= 0 ;
26987 wxString
*arg3
= 0 ;
26988 int arg4
= (int) -1 ;
26989 int arg5
= (int) -1 ;
26990 wxPyTreeItemData
*arg6
= (wxPyTreeItemData
*) NULL
;
26991 wxTreeItemId result
;
26992 bool temp3
= False
;
26993 PyObject
* obj0
= 0 ;
26994 PyObject
* obj1
= 0 ;
26995 PyObject
* obj2
= 0 ;
26996 PyObject
* obj3
= 0 ;
26997 PyObject
* obj4
= 0 ;
26998 PyObject
* obj5
= 0 ;
26999 char *kwnames
[] = {
27000 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
27003 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:TreeCtrl_PrependItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
27004 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27005 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27006 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27007 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27009 if (arg2
== NULL
) {
27010 PyErr_SetString(PyExc_TypeError
,"null reference");
27014 arg3
= wxString_in_helper(obj2
);
27015 if (arg3
== NULL
) SWIG_fail
;
27019 arg4
= (int) SWIG_AsInt(obj3
);
27020 if (PyErr_Occurred()) SWIG_fail
;
27023 arg5
= (int) SWIG_AsInt(obj4
);
27024 if (PyErr_Occurred()) SWIG_fail
;
27027 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxPyTreeItemData
,
27028 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27032 result
= (arg1
)->PrependItem((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
);
27034 wxPyEndAllowThreads(__tstate
);
27035 if (PyErr_Occurred()) SWIG_fail
;
27038 wxTreeItemId
* resultptr
;
27039 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
27040 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
27056 static PyObject
*_wrap_TreeCtrl_InsertItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27057 PyObject
*resultobj
;
27058 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27059 wxTreeItemId
*arg2
= 0 ;
27060 wxTreeItemId
*arg3
= 0 ;
27061 wxString
*arg4
= 0 ;
27062 int arg5
= (int) -1 ;
27063 int arg6
= (int) -1 ;
27064 wxPyTreeItemData
*arg7
= (wxPyTreeItemData
*) NULL
;
27065 wxTreeItemId result
;
27066 bool temp4
= False
;
27067 PyObject
* obj0
= 0 ;
27068 PyObject
* obj1
= 0 ;
27069 PyObject
* obj2
= 0 ;
27070 PyObject
* obj3
= 0 ;
27071 PyObject
* obj4
= 0 ;
27072 PyObject
* obj5
= 0 ;
27073 PyObject
* obj6
= 0 ;
27074 char *kwnames
[] = {
27075 (char *) "self",(char *) "parent",(char *) "idPrevious",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
27078 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:TreeCtrl_InsertItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
27079 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27080 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27081 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27082 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27084 if (arg2
== NULL
) {
27085 PyErr_SetString(PyExc_TypeError
,"null reference");
27088 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxTreeItemId
,
27089 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27091 if (arg3
== NULL
) {
27092 PyErr_SetString(PyExc_TypeError
,"null reference");
27096 arg4
= wxString_in_helper(obj3
);
27097 if (arg4
== NULL
) SWIG_fail
;
27101 arg5
= (int) SWIG_AsInt(obj4
);
27102 if (PyErr_Occurred()) SWIG_fail
;
27105 arg6
= (int) SWIG_AsInt(obj5
);
27106 if (PyErr_Occurred()) SWIG_fail
;
27109 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxPyTreeItemData
,
27110 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27114 result
= (arg1
)->InsertItem((wxTreeItemId
const &)*arg2
,(wxTreeItemId
const &)*arg3
,(wxString
const &)*arg4
,arg5
,arg6
,arg7
);
27116 wxPyEndAllowThreads(__tstate
);
27117 if (PyErr_Occurred()) SWIG_fail
;
27120 wxTreeItemId
* resultptr
;
27121 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
27122 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
27138 static PyObject
*_wrap_TreeCtrl_InsertItemBefore(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27139 PyObject
*resultobj
;
27140 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27141 wxTreeItemId
*arg2
= 0 ;
27143 wxString
*arg4
= 0 ;
27144 int arg5
= (int) -1 ;
27145 int arg6
= (int) -1 ;
27146 wxPyTreeItemData
*arg7
= (wxPyTreeItemData
*) NULL
;
27147 wxTreeItemId result
;
27148 bool temp4
= False
;
27149 PyObject
* obj0
= 0 ;
27150 PyObject
* obj1
= 0 ;
27151 PyObject
* obj2
= 0 ;
27152 PyObject
* obj3
= 0 ;
27153 PyObject
* obj4
= 0 ;
27154 PyObject
* obj5
= 0 ;
27155 PyObject
* obj6
= 0 ;
27156 char *kwnames
[] = {
27157 (char *) "self",(char *) "parent",(char *) "index",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
27160 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:TreeCtrl_InsertItemBefore",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
27161 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27162 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27163 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27164 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27166 if (arg2
== NULL
) {
27167 PyErr_SetString(PyExc_TypeError
,"null reference");
27170 arg3
= (size_t) SWIG_AsUnsignedLong(obj2
);
27171 if (PyErr_Occurred()) SWIG_fail
;
27173 arg4
= wxString_in_helper(obj3
);
27174 if (arg4
== NULL
) SWIG_fail
;
27178 arg5
= (int) SWIG_AsInt(obj4
);
27179 if (PyErr_Occurred()) SWIG_fail
;
27182 arg6
= (int) SWIG_AsInt(obj5
);
27183 if (PyErr_Occurred()) SWIG_fail
;
27186 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxPyTreeItemData
,
27187 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27191 result
= (arg1
)->InsertItem((wxTreeItemId
const &)*arg2
,arg3
,(wxString
const &)*arg4
,arg5
,arg6
,arg7
);
27193 wxPyEndAllowThreads(__tstate
);
27194 if (PyErr_Occurred()) SWIG_fail
;
27197 wxTreeItemId
* resultptr
;
27198 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
27199 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
27215 static PyObject
*_wrap_TreeCtrl_AppendItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27216 PyObject
*resultobj
;
27217 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27218 wxTreeItemId
*arg2
= 0 ;
27219 wxString
*arg3
= 0 ;
27220 int arg4
= (int) -1 ;
27221 int arg5
= (int) -1 ;
27222 wxPyTreeItemData
*arg6
= (wxPyTreeItemData
*) NULL
;
27223 wxTreeItemId result
;
27224 bool temp3
= False
;
27225 PyObject
* obj0
= 0 ;
27226 PyObject
* obj1
= 0 ;
27227 PyObject
* obj2
= 0 ;
27228 PyObject
* obj3
= 0 ;
27229 PyObject
* obj4
= 0 ;
27230 PyObject
* obj5
= 0 ;
27231 char *kwnames
[] = {
27232 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
27235 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:TreeCtrl_AppendItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
27236 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27237 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27238 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27239 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27241 if (arg2
== NULL
) {
27242 PyErr_SetString(PyExc_TypeError
,"null reference");
27246 arg3
= wxString_in_helper(obj2
);
27247 if (arg3
== NULL
) SWIG_fail
;
27251 arg4
= (int) SWIG_AsInt(obj3
);
27252 if (PyErr_Occurred()) SWIG_fail
;
27255 arg5
= (int) SWIG_AsInt(obj4
);
27256 if (PyErr_Occurred()) SWIG_fail
;
27259 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxPyTreeItemData
,
27260 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27264 result
= (arg1
)->AppendItem((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
);
27266 wxPyEndAllowThreads(__tstate
);
27267 if (PyErr_Occurred()) SWIG_fail
;
27270 wxTreeItemId
* resultptr
;
27271 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
27272 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
27288 static PyObject
*_wrap_TreeCtrl_Delete(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27289 PyObject
*resultobj
;
27290 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27291 wxTreeItemId
*arg2
= 0 ;
27292 PyObject
* obj0
= 0 ;
27293 PyObject
* obj1
= 0 ;
27294 char *kwnames
[] = {
27295 (char *) "self",(char *) "item", NULL
27298 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Delete",kwnames
,&obj0
,&obj1
)) goto fail
;
27299 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27300 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27301 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27302 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27304 if (arg2
== NULL
) {
27305 PyErr_SetString(PyExc_TypeError
,"null reference");
27309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27310 (arg1
)->Delete((wxTreeItemId
const &)*arg2
);
27312 wxPyEndAllowThreads(__tstate
);
27313 if (PyErr_Occurred()) SWIG_fail
;
27315 Py_INCREF(Py_None
); resultobj
= Py_None
;
27322 static PyObject
*_wrap_TreeCtrl_DeleteChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27323 PyObject
*resultobj
;
27324 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27325 wxTreeItemId
*arg2
= 0 ;
27326 PyObject
* obj0
= 0 ;
27327 PyObject
* obj1
= 0 ;
27328 char *kwnames
[] = {
27329 (char *) "self",(char *) "item", NULL
27332 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_DeleteChildren",kwnames
,&obj0
,&obj1
)) goto fail
;
27333 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27334 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27335 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27336 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27338 if (arg2
== NULL
) {
27339 PyErr_SetString(PyExc_TypeError
,"null reference");
27343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27344 (arg1
)->DeleteChildren((wxTreeItemId
const &)*arg2
);
27346 wxPyEndAllowThreads(__tstate
);
27347 if (PyErr_Occurred()) SWIG_fail
;
27349 Py_INCREF(Py_None
); resultobj
= Py_None
;
27356 static PyObject
*_wrap_TreeCtrl_DeleteAllItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27357 PyObject
*resultobj
;
27358 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27359 PyObject
* obj0
= 0 ;
27360 char *kwnames
[] = {
27361 (char *) "self", NULL
27364 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_DeleteAllItems",kwnames
,&obj0
)) goto fail
;
27365 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27366 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27369 (arg1
)->DeleteAllItems();
27371 wxPyEndAllowThreads(__tstate
);
27372 if (PyErr_Occurred()) SWIG_fail
;
27374 Py_INCREF(Py_None
); resultobj
= Py_None
;
27381 static PyObject
*_wrap_TreeCtrl_Expand(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_Expand",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
)->Expand((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_Collapse(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27416 PyObject
*resultobj
;
27417 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27418 wxTreeItemId
*arg2
= 0 ;
27419 PyObject
* obj0
= 0 ;
27420 PyObject
* obj1
= 0 ;
27421 char *kwnames
[] = {
27422 (char *) "self",(char *) "item", NULL
27425 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Collapse",kwnames
,&obj0
,&obj1
)) goto fail
;
27426 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27427 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27428 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27429 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27431 if (arg2
== NULL
) {
27432 PyErr_SetString(PyExc_TypeError
,"null reference");
27436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27437 (arg1
)->Collapse((wxTreeItemId
const &)*arg2
);
27439 wxPyEndAllowThreads(__tstate
);
27440 if (PyErr_Occurred()) SWIG_fail
;
27442 Py_INCREF(Py_None
); resultobj
= Py_None
;
27449 static PyObject
*_wrap_TreeCtrl_CollapseAndReset(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27450 PyObject
*resultobj
;
27451 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27452 wxTreeItemId
*arg2
= 0 ;
27453 PyObject
* obj0
= 0 ;
27454 PyObject
* obj1
= 0 ;
27455 char *kwnames
[] = {
27456 (char *) "self",(char *) "item", NULL
27459 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_CollapseAndReset",kwnames
,&obj0
,&obj1
)) goto fail
;
27460 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27461 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27462 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27463 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27465 if (arg2
== NULL
) {
27466 PyErr_SetString(PyExc_TypeError
,"null reference");
27470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27471 (arg1
)->CollapseAndReset((wxTreeItemId
const &)*arg2
);
27473 wxPyEndAllowThreads(__tstate
);
27474 if (PyErr_Occurred()) SWIG_fail
;
27476 Py_INCREF(Py_None
); resultobj
= Py_None
;
27483 static PyObject
*_wrap_TreeCtrl_Toggle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27484 PyObject
*resultobj
;
27485 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27486 wxTreeItemId
*arg2
= 0 ;
27487 PyObject
* obj0
= 0 ;
27488 PyObject
* obj1
= 0 ;
27489 char *kwnames
[] = {
27490 (char *) "self",(char *) "item", NULL
27493 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Toggle",kwnames
,&obj0
,&obj1
)) goto fail
;
27494 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27495 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27496 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27497 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27499 if (arg2
== NULL
) {
27500 PyErr_SetString(PyExc_TypeError
,"null reference");
27504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27505 (arg1
)->Toggle((wxTreeItemId
const &)*arg2
);
27507 wxPyEndAllowThreads(__tstate
);
27508 if (PyErr_Occurred()) SWIG_fail
;
27510 Py_INCREF(Py_None
); resultobj
= Py_None
;
27517 static PyObject
*_wrap_TreeCtrl_Unselect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27518 PyObject
*resultobj
;
27519 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27520 PyObject
* obj0
= 0 ;
27521 char *kwnames
[] = {
27522 (char *) "self", NULL
27525 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_Unselect",kwnames
,&obj0
)) goto fail
;
27526 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27527 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27530 (arg1
)->Unselect();
27532 wxPyEndAllowThreads(__tstate
);
27533 if (PyErr_Occurred()) SWIG_fail
;
27535 Py_INCREF(Py_None
); resultobj
= Py_None
;
27542 static PyObject
*_wrap_TreeCtrl_UnselectItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27543 PyObject
*resultobj
;
27544 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27545 wxTreeItemId
*arg2
= 0 ;
27546 PyObject
* obj0
= 0 ;
27547 PyObject
* obj1
= 0 ;
27548 char *kwnames
[] = {
27549 (char *) "self",(char *) "item", NULL
27552 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_UnselectItem",kwnames
,&obj0
,&obj1
)) goto fail
;
27553 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27554 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27555 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27556 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27558 if (arg2
== NULL
) {
27559 PyErr_SetString(PyExc_TypeError
,"null reference");
27563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27564 (arg1
)->UnselectItem((wxTreeItemId
const &)*arg2
);
27566 wxPyEndAllowThreads(__tstate
);
27567 if (PyErr_Occurred()) SWIG_fail
;
27569 Py_INCREF(Py_None
); resultobj
= Py_None
;
27576 static PyObject
*_wrap_TreeCtrl_UnselectAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27577 PyObject
*resultobj
;
27578 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27579 PyObject
* obj0
= 0 ;
27580 char *kwnames
[] = {
27581 (char *) "self", NULL
27584 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_UnselectAll",kwnames
,&obj0
)) goto fail
;
27585 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27586 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27589 (arg1
)->UnselectAll();
27591 wxPyEndAllowThreads(__tstate
);
27592 if (PyErr_Occurred()) SWIG_fail
;
27594 Py_INCREF(Py_None
); resultobj
= Py_None
;
27601 static PyObject
*_wrap_TreeCtrl_SelectItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27602 PyObject
*resultobj
;
27603 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27604 wxTreeItemId
*arg2
= 0 ;
27605 bool arg3
= (bool) True
;
27606 PyObject
* obj0
= 0 ;
27607 PyObject
* obj1
= 0 ;
27608 PyObject
* obj2
= 0 ;
27609 char *kwnames
[] = {
27610 (char *) "self",(char *) "item",(char *) "select", NULL
27613 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SelectItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27614 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27615 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27616 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27617 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27619 if (arg2
== NULL
) {
27620 PyErr_SetString(PyExc_TypeError
,"null reference");
27624 arg3
= (bool) SWIG_AsBool(obj2
);
27625 if (PyErr_Occurred()) SWIG_fail
;
27628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27629 (arg1
)->SelectItem((wxTreeItemId
const &)*arg2
,arg3
);
27631 wxPyEndAllowThreads(__tstate
);
27632 if (PyErr_Occurred()) SWIG_fail
;
27634 Py_INCREF(Py_None
); resultobj
= Py_None
;
27641 static PyObject
*_wrap_TreeCtrl_ToggleItemSelection(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_ToggleItemSelection",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
)->ToggleItemSelection((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_EnsureVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27676 PyObject
*resultobj
;
27677 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27678 wxTreeItemId
*arg2
= 0 ;
27679 PyObject
* obj0
= 0 ;
27680 PyObject
* obj1
= 0 ;
27681 char *kwnames
[] = {
27682 (char *) "self",(char *) "item", NULL
27685 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_EnsureVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
27686 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27687 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27688 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27689 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27691 if (arg2
== NULL
) {
27692 PyErr_SetString(PyExc_TypeError
,"null reference");
27696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27697 (arg1
)->EnsureVisible((wxTreeItemId
const &)*arg2
);
27699 wxPyEndAllowThreads(__tstate
);
27700 if (PyErr_Occurred()) SWIG_fail
;
27702 Py_INCREF(Py_None
); resultobj
= Py_None
;
27709 static PyObject
*_wrap_TreeCtrl_ScrollTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27710 PyObject
*resultobj
;
27711 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27712 wxTreeItemId
*arg2
= 0 ;
27713 PyObject
* obj0
= 0 ;
27714 PyObject
* obj1
= 0 ;
27715 char *kwnames
[] = {
27716 (char *) "self",(char *) "item", NULL
27719 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ScrollTo",kwnames
,&obj0
,&obj1
)) goto fail
;
27720 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27721 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27722 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27723 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27725 if (arg2
== NULL
) {
27726 PyErr_SetString(PyExc_TypeError
,"null reference");
27730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27731 (arg1
)->ScrollTo((wxTreeItemId
const &)*arg2
);
27733 wxPyEndAllowThreads(__tstate
);
27734 if (PyErr_Occurred()) SWIG_fail
;
27736 Py_INCREF(Py_None
); resultobj
= Py_None
;
27743 static PyObject
*_wrap_TreeCtrl_EditLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27744 PyObject
*resultobj
;
27745 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27746 wxTreeItemId
*arg2
= 0 ;
27747 PyObject
* obj0
= 0 ;
27748 PyObject
* obj1
= 0 ;
27749 char *kwnames
[] = {
27750 (char *) "self",(char *) "item", NULL
27753 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_EditLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
27754 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27755 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27756 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27757 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27759 if (arg2
== NULL
) {
27760 PyErr_SetString(PyExc_TypeError
,"null reference");
27764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27765 (arg1
)->EditLabel((wxTreeItemId
const &)*arg2
);
27767 wxPyEndAllowThreads(__tstate
);
27768 if (PyErr_Occurred()) SWIG_fail
;
27770 Py_INCREF(Py_None
); resultobj
= Py_None
;
27777 static PyObject
*_wrap_TreeCtrl_GetEditControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27778 PyObject
*resultobj
;
27779 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27780 wxTextCtrl
*result
;
27781 PyObject
* obj0
= 0 ;
27782 char *kwnames
[] = {
27783 (char *) "self", NULL
27786 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetEditControl",kwnames
,&obj0
)) goto fail
;
27787 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27788 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27791 result
= (wxTextCtrl
*)((wxPyTreeCtrl
const *)arg1
)->GetEditControl();
27793 wxPyEndAllowThreads(__tstate
);
27794 if (PyErr_Occurred()) SWIG_fail
;
27797 resultobj
= wxPyMake_wxObject(result
);
27805 static PyObject
*_wrap_TreeCtrl_EndEditLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27806 PyObject
*resultobj
;
27807 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27808 wxTreeItemId
*arg2
= 0 ;
27809 bool arg3
= (bool) False
;
27810 PyObject
* obj0
= 0 ;
27811 PyObject
* obj1
= 0 ;
27812 PyObject
* obj2
= 0 ;
27813 char *kwnames
[] = {
27814 (char *) "self",(char *) "item",(char *) "discardChanges", NULL
27817 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_EndEditLabel",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27818 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27819 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27820 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27821 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27823 if (arg2
== NULL
) {
27824 PyErr_SetString(PyExc_TypeError
,"null reference");
27828 arg3
= (bool) SWIG_AsBool(obj2
);
27829 if (PyErr_Occurred()) SWIG_fail
;
27832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27833 (arg1
)->EndEditLabel((wxTreeItemId
const &)*arg2
,arg3
);
27835 wxPyEndAllowThreads(__tstate
);
27836 if (PyErr_Occurred()) SWIG_fail
;
27838 Py_INCREF(Py_None
); resultobj
= Py_None
;
27845 static PyObject
*_wrap_TreeCtrl_SortChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27846 PyObject
*resultobj
;
27847 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27848 wxTreeItemId
*arg2
= 0 ;
27849 PyObject
* obj0
= 0 ;
27850 PyObject
* obj1
= 0 ;
27851 char *kwnames
[] = {
27852 (char *) "self",(char *) "item", NULL
27855 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SortChildren",kwnames
,&obj0
,&obj1
)) goto fail
;
27856 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27857 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27858 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27859 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27861 if (arg2
== NULL
) {
27862 PyErr_SetString(PyExc_TypeError
,"null reference");
27866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27867 (arg1
)->SortChildren((wxTreeItemId
const &)*arg2
);
27869 wxPyEndAllowThreads(__tstate
);
27870 if (PyErr_Occurred()) SWIG_fail
;
27872 Py_INCREF(Py_None
); resultobj
= Py_None
;
27879 static PyObject
*_wrap_TreeCtrl_HitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27880 PyObject
*resultobj
;
27881 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27882 wxPoint
*arg2
= 0 ;
27884 wxTreeItemId result
;
27887 PyObject
* obj0
= 0 ;
27888 PyObject
* obj1
= 0 ;
27889 char *kwnames
[] = {
27890 (char *) "self",(char *) "point", NULL
27894 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
27895 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27896 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27899 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
27902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27903 result
= (arg1
)->HitTest((wxPoint
const &)*arg2
,*arg3
);
27905 wxPyEndAllowThreads(__tstate
);
27906 if (PyErr_Occurred()) SWIG_fail
;
27909 wxTreeItemId
* resultptr
;
27910 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
27911 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
27914 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
27915 resultobj
= t_output_helper(resultobj
,o
);
27923 static PyObject
*_wrap_TreeCtrl_GetBoundingRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27924 PyObject
*resultobj
;
27925 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27926 wxTreeItemId
*arg2
= 0 ;
27927 bool arg3
= (bool) False
;
27929 PyObject
* obj0
= 0 ;
27930 PyObject
* obj1
= 0 ;
27931 PyObject
* obj2
= 0 ;
27932 char *kwnames
[] = {
27933 (char *) "self",(char *) "item",(char *) "textOnly", NULL
27936 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_GetBoundingRect",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27937 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27938 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27939 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27940 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27942 if (arg2
== NULL
) {
27943 PyErr_SetString(PyExc_TypeError
,"null reference");
27947 arg3
= (bool) SWIG_AsBool(obj2
);
27948 if (PyErr_Occurred()) SWIG_fail
;
27951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27952 result
= (PyObject
*)wxPyTreeCtrl_GetBoundingRect(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
27954 wxPyEndAllowThreads(__tstate
);
27955 if (PyErr_Occurred()) SWIG_fail
;
27957 resultobj
= result
;
27964 static PyObject
*_wrap_TreeCtrl_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27965 PyObject
*resultobj
;
27966 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
27967 wxVisualAttributes result
;
27968 PyObject
* obj0
= 0 ;
27969 char *kwnames
[] = {
27970 (char *) "variant", NULL
27973 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:TreeCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
27975 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
27976 if (PyErr_Occurred()) SWIG_fail
;
27979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27980 result
= wxPyTreeCtrl::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
27982 wxPyEndAllowThreads(__tstate
);
27983 if (PyErr_Occurred()) SWIG_fail
;
27986 wxVisualAttributes
* resultptr
;
27987 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
27988 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
27996 static PyObject
* TreeCtrl_swigregister(PyObject
*self
, PyObject
*args
) {
27998 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27999 SWIG_TypeClientData(SWIGTYPE_p_wxPyTreeCtrl
, obj
);
28001 return Py_BuildValue((char *)"");
28003 static int _wrap_DirDialogDefaultFolderStr_set(PyObject
*_val
) {
28004 PyErr_SetString(PyExc_TypeError
,"Variable DirDialogDefaultFolderStr is read-only.");
28009 static PyObject
*_wrap_DirDialogDefaultFolderStr_get() {
28014 pyobj
= PyUnicode_FromWideChar((&wxPyDirDialogDefaultFolderStr
)->c_str(), (&wxPyDirDialogDefaultFolderStr
)->Len());
28016 pyobj
= PyString_FromStringAndSize((&wxPyDirDialogDefaultFolderStr
)->c_str(), (&wxPyDirDialogDefaultFolderStr
)->Len());
28023 static PyObject
*_wrap_new_GenericDirCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28024 PyObject
*resultobj
;
28025 wxWindow
*arg1
= (wxWindow
*) 0 ;
28026 int arg2
= (int) (int)-1 ;
28027 wxString
const &arg3_defvalue
= wxPyDirDialogDefaultFolderStr
;
28028 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
28029 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
28030 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
28031 wxSize
const &arg5_defvalue
= wxDefaultSize
;
28032 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
28033 long arg6
= (long) wxDIRCTRL_3D_INTERNAL
|wxSUNKEN_BORDER
;
28034 wxString
const &arg7_defvalue
= wxPyEmptyString
;
28035 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
28036 int arg8
= (int) 0 ;
28037 wxString
const &arg9_defvalue
= wxPyTreeCtrlNameStr
;
28038 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
28039 wxGenericDirCtrl
*result
;
28040 bool temp3
= False
;
28043 bool temp7
= False
;
28044 bool temp9
= False
;
28045 PyObject
* obj0
= 0 ;
28046 PyObject
* obj1
= 0 ;
28047 PyObject
* obj2
= 0 ;
28048 PyObject
* obj3
= 0 ;
28049 PyObject
* obj4
= 0 ;
28050 PyObject
* obj5
= 0 ;
28051 PyObject
* obj6
= 0 ;
28052 PyObject
* obj7
= 0 ;
28053 PyObject
* obj8
= 0 ;
28054 char *kwnames
[] = {
28055 (char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
28058 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOO:new_GenericDirCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
28059 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28060 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28062 arg2
= (int const) SWIG_AsInt(obj1
);
28063 if (PyErr_Occurred()) SWIG_fail
;
28067 arg3
= wxString_in_helper(obj2
);
28068 if (arg3
== NULL
) SWIG_fail
;
28075 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
28081 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
28085 arg6
= (long) SWIG_AsLong(obj5
);
28086 if (PyErr_Occurred()) SWIG_fail
;
28090 arg7
= wxString_in_helper(obj6
);
28091 if (arg7
== NULL
) SWIG_fail
;
28096 arg8
= (int) SWIG_AsInt(obj7
);
28097 if (PyErr_Occurred()) SWIG_fail
;
28101 arg9
= wxString_in_helper(obj8
);
28102 if (arg9
== NULL
) SWIG_fail
;
28107 if (!wxPyCheckForApp()) SWIG_fail
;
28108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28109 result
= (wxGenericDirCtrl
*)new wxGenericDirCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
,arg8
,(wxString
const &)*arg9
);
28111 wxPyEndAllowThreads(__tstate
);
28112 if (PyErr_Occurred()) SWIG_fail
;
28114 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDirCtrl
, 1);
28145 static PyObject
*_wrap_new_PreGenericDirCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28146 PyObject
*resultobj
;
28147 wxGenericDirCtrl
*result
;
28148 char *kwnames
[] = {
28152 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreGenericDirCtrl",kwnames
)) goto fail
;
28154 if (!wxPyCheckForApp()) SWIG_fail
;
28155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28156 result
= (wxGenericDirCtrl
*)new wxGenericDirCtrl();
28158 wxPyEndAllowThreads(__tstate
);
28159 if (PyErr_Occurred()) SWIG_fail
;
28161 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDirCtrl
, 1);
28168 static PyObject
*_wrap_GenericDirCtrl_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28169 PyObject
*resultobj
;
28170 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28171 wxWindow
*arg2
= (wxWindow
*) 0 ;
28172 int arg3
= (int) (int)-1 ;
28173 wxString
const &arg4_defvalue
= wxPyDirDialogDefaultFolderStr
;
28174 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
28175 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
28176 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
28177 wxSize
const &arg6_defvalue
= wxDefaultSize
;
28178 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
28179 long arg7
= (long) wxDIRCTRL_3D_INTERNAL
|wxSUNKEN_BORDER
;
28180 wxString
const &arg8_defvalue
= wxPyEmptyString
;
28181 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
28182 int arg9
= (int) 0 ;
28183 wxString
const &arg10_defvalue
= wxPyTreeCtrlNameStr
;
28184 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
28186 bool temp4
= False
;
28189 bool temp8
= False
;
28190 bool temp10
= False
;
28191 PyObject
* obj0
= 0 ;
28192 PyObject
* obj1
= 0 ;
28193 PyObject
* obj2
= 0 ;
28194 PyObject
* obj3
= 0 ;
28195 PyObject
* obj4
= 0 ;
28196 PyObject
* obj5
= 0 ;
28197 PyObject
* obj6
= 0 ;
28198 PyObject
* obj7
= 0 ;
28199 PyObject
* obj8
= 0 ;
28200 PyObject
* obj9
= 0 ;
28201 char *kwnames
[] = {
28202 (char *) "self",(char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
28205 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOO:GenericDirCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
28206 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28207 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28208 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
28209 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28211 arg3
= (int const) SWIG_AsInt(obj2
);
28212 if (PyErr_Occurred()) SWIG_fail
;
28216 arg4
= wxString_in_helper(obj3
);
28217 if (arg4
== NULL
) SWIG_fail
;
28224 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
28230 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
28234 arg7
= (long) SWIG_AsLong(obj6
);
28235 if (PyErr_Occurred()) SWIG_fail
;
28239 arg8
= wxString_in_helper(obj7
);
28240 if (arg8
== NULL
) SWIG_fail
;
28245 arg9
= (int) SWIG_AsInt(obj8
);
28246 if (PyErr_Occurred()) SWIG_fail
;
28250 arg10
= wxString_in_helper(obj9
);
28251 if (arg10
== NULL
) SWIG_fail
;
28256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28257 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
,arg9
,(wxString
const &)*arg10
);
28259 wxPyEndAllowThreads(__tstate
);
28260 if (PyErr_Occurred()) SWIG_fail
;
28263 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28295 static PyObject
*_wrap_GenericDirCtrl_ExpandPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28296 PyObject
*resultobj
;
28297 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28298 wxString
*arg2
= 0 ;
28300 bool temp2
= False
;
28301 PyObject
* obj0
= 0 ;
28302 PyObject
* obj1
= 0 ;
28303 char *kwnames
[] = {
28304 (char *) "self",(char *) "path", NULL
28307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_ExpandPath",kwnames
,&obj0
,&obj1
)) goto fail
;
28308 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28309 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28311 arg2
= wxString_in_helper(obj1
);
28312 if (arg2
== NULL
) SWIG_fail
;
28316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28317 result
= (bool)(arg1
)->ExpandPath((wxString
const &)*arg2
);
28319 wxPyEndAllowThreads(__tstate
);
28320 if (PyErr_Occurred()) SWIG_fail
;
28323 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28339 static PyObject
*_wrap_GenericDirCtrl_GetDefaultPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28340 PyObject
*resultobj
;
28341 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28343 PyObject
* obj0
= 0 ;
28344 char *kwnames
[] = {
28345 (char *) "self", NULL
28348 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetDefaultPath",kwnames
,&obj0
)) goto fail
;
28349 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28350 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28353 result
= ((wxGenericDirCtrl
const *)arg1
)->GetDefaultPath();
28355 wxPyEndAllowThreads(__tstate
);
28356 if (PyErr_Occurred()) SWIG_fail
;
28360 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
28362 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
28371 static PyObject
*_wrap_GenericDirCtrl_SetDefaultPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28372 PyObject
*resultobj
;
28373 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28374 wxString
*arg2
= 0 ;
28375 bool temp2
= False
;
28376 PyObject
* obj0
= 0 ;
28377 PyObject
* obj1
= 0 ;
28378 char *kwnames
[] = {
28379 (char *) "self",(char *) "path", NULL
28382 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetDefaultPath",kwnames
,&obj0
,&obj1
)) goto fail
;
28383 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28384 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28386 arg2
= wxString_in_helper(obj1
);
28387 if (arg2
== NULL
) SWIG_fail
;
28391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28392 (arg1
)->SetDefaultPath((wxString
const &)*arg2
);
28394 wxPyEndAllowThreads(__tstate
);
28395 if (PyErr_Occurred()) SWIG_fail
;
28397 Py_INCREF(Py_None
); resultobj
= Py_None
;
28412 static PyObject
*_wrap_GenericDirCtrl_GetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28413 PyObject
*resultobj
;
28414 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28416 PyObject
* obj0
= 0 ;
28417 char *kwnames
[] = {
28418 (char *) "self", NULL
28421 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetPath",kwnames
,&obj0
)) goto fail
;
28422 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28423 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28426 result
= ((wxGenericDirCtrl
const *)arg1
)->GetPath();
28428 wxPyEndAllowThreads(__tstate
);
28429 if (PyErr_Occurred()) SWIG_fail
;
28433 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
28435 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
28444 static PyObject
*_wrap_GenericDirCtrl_GetFilePath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28445 PyObject
*resultobj
;
28446 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28448 PyObject
* obj0
= 0 ;
28449 char *kwnames
[] = {
28450 (char *) "self", NULL
28453 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetFilePath",kwnames
,&obj0
)) goto fail
;
28454 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28455 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28458 result
= ((wxGenericDirCtrl
const *)arg1
)->GetFilePath();
28460 wxPyEndAllowThreads(__tstate
);
28461 if (PyErr_Occurred()) SWIG_fail
;
28465 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
28467 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
28476 static PyObject
*_wrap_GenericDirCtrl_SetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28477 PyObject
*resultobj
;
28478 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28479 wxString
*arg2
= 0 ;
28480 bool temp2
= False
;
28481 PyObject
* obj0
= 0 ;
28482 PyObject
* obj1
= 0 ;
28483 char *kwnames
[] = {
28484 (char *) "self",(char *) "path", NULL
28487 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetPath",kwnames
,&obj0
,&obj1
)) goto fail
;
28488 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28489 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28491 arg2
= wxString_in_helper(obj1
);
28492 if (arg2
== NULL
) SWIG_fail
;
28496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28497 (arg1
)->SetPath((wxString
const &)*arg2
);
28499 wxPyEndAllowThreads(__tstate
);
28500 if (PyErr_Occurred()) SWIG_fail
;
28502 Py_INCREF(Py_None
); resultobj
= Py_None
;
28517 static PyObject
*_wrap_GenericDirCtrl_ShowHidden(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28518 PyObject
*resultobj
;
28519 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28521 PyObject
* obj0
= 0 ;
28522 PyObject
* obj1
= 0 ;
28523 char *kwnames
[] = {
28524 (char *) "self",(char *) "show", NULL
28527 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_ShowHidden",kwnames
,&obj0
,&obj1
)) goto fail
;
28528 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28529 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28530 arg2
= (bool) SWIG_AsBool(obj1
);
28531 if (PyErr_Occurred()) SWIG_fail
;
28533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28534 (arg1
)->ShowHidden(arg2
);
28536 wxPyEndAllowThreads(__tstate
);
28537 if (PyErr_Occurred()) SWIG_fail
;
28539 Py_INCREF(Py_None
); resultobj
= Py_None
;
28546 static PyObject
*_wrap_GenericDirCtrl_GetShowHidden(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28547 PyObject
*resultobj
;
28548 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28550 PyObject
* obj0
= 0 ;
28551 char *kwnames
[] = {
28552 (char *) "self", NULL
28555 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetShowHidden",kwnames
,&obj0
)) goto fail
;
28556 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28557 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28560 result
= (bool)(arg1
)->GetShowHidden();
28562 wxPyEndAllowThreads(__tstate
);
28563 if (PyErr_Occurred()) SWIG_fail
;
28566 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28574 static PyObject
*_wrap_GenericDirCtrl_GetFilter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28575 PyObject
*resultobj
;
28576 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28578 PyObject
* obj0
= 0 ;
28579 char *kwnames
[] = {
28580 (char *) "self", NULL
28583 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetFilter",kwnames
,&obj0
)) goto fail
;
28584 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28585 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28588 result
= ((wxGenericDirCtrl
const *)arg1
)->GetFilter();
28590 wxPyEndAllowThreads(__tstate
);
28591 if (PyErr_Occurred()) SWIG_fail
;
28595 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
28597 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
28606 static PyObject
*_wrap_GenericDirCtrl_SetFilter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28607 PyObject
*resultobj
;
28608 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28609 wxString
*arg2
= 0 ;
28610 bool temp2
= False
;
28611 PyObject
* obj0
= 0 ;
28612 PyObject
* obj1
= 0 ;
28613 char *kwnames
[] = {
28614 (char *) "self",(char *) "filter", NULL
28617 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetFilter",kwnames
,&obj0
,&obj1
)) goto fail
;
28618 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28619 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28621 arg2
= wxString_in_helper(obj1
);
28622 if (arg2
== NULL
) SWIG_fail
;
28626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28627 (arg1
)->SetFilter((wxString
const &)*arg2
);
28629 wxPyEndAllowThreads(__tstate
);
28630 if (PyErr_Occurred()) SWIG_fail
;
28632 Py_INCREF(Py_None
); resultobj
= Py_None
;
28647 static PyObject
*_wrap_GenericDirCtrl_GetFilterIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28648 PyObject
*resultobj
;
28649 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28651 PyObject
* obj0
= 0 ;
28652 char *kwnames
[] = {
28653 (char *) "self", NULL
28656 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetFilterIndex",kwnames
,&obj0
)) goto fail
;
28657 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28658 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28661 result
= (int)((wxGenericDirCtrl
const *)arg1
)->GetFilterIndex();
28663 wxPyEndAllowThreads(__tstate
);
28664 if (PyErr_Occurred()) SWIG_fail
;
28666 resultobj
= SWIG_FromInt((int)result
);
28673 static PyObject
*_wrap_GenericDirCtrl_SetFilterIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28674 PyObject
*resultobj
;
28675 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28677 PyObject
* obj0
= 0 ;
28678 PyObject
* obj1
= 0 ;
28679 char *kwnames
[] = {
28680 (char *) "self",(char *) "n", NULL
28683 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetFilterIndex",kwnames
,&obj0
,&obj1
)) goto fail
;
28684 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28685 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28686 arg2
= (int) SWIG_AsInt(obj1
);
28687 if (PyErr_Occurred()) SWIG_fail
;
28689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28690 (arg1
)->SetFilterIndex(arg2
);
28692 wxPyEndAllowThreads(__tstate
);
28693 if (PyErr_Occurred()) SWIG_fail
;
28695 Py_INCREF(Py_None
); resultobj
= Py_None
;
28702 static PyObject
*_wrap_GenericDirCtrl_GetRootId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28703 PyObject
*resultobj
;
28704 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28705 wxTreeItemId result
;
28706 PyObject
* obj0
= 0 ;
28707 char *kwnames
[] = {
28708 (char *) "self", NULL
28711 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetRootId",kwnames
,&obj0
)) goto fail
;
28712 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28713 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28716 result
= (arg1
)->GetRootId();
28718 wxPyEndAllowThreads(__tstate
);
28719 if (PyErr_Occurred()) SWIG_fail
;
28722 wxTreeItemId
* resultptr
;
28723 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
28724 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
28732 static PyObject
*_wrap_GenericDirCtrl_GetTreeCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28733 PyObject
*resultobj
;
28734 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28735 wxPyTreeCtrl
*result
;
28736 PyObject
* obj0
= 0 ;
28737 char *kwnames
[] = {
28738 (char *) "self", NULL
28741 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetTreeCtrl",kwnames
,&obj0
)) goto fail
;
28742 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28743 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28746 result
= (wxPyTreeCtrl
*)((wxGenericDirCtrl
const *)arg1
)->GetTreeCtrl();
28748 wxPyEndAllowThreads(__tstate
);
28749 if (PyErr_Occurred()) SWIG_fail
;
28752 resultobj
= wxPyMake_wxObject(result
);
28760 static PyObject
*_wrap_GenericDirCtrl_GetFilterListCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28761 PyObject
*resultobj
;
28762 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28763 wxDirFilterListCtrl
*result
;
28764 PyObject
* obj0
= 0 ;
28765 char *kwnames
[] = {
28766 (char *) "self", NULL
28769 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetFilterListCtrl",kwnames
,&obj0
)) goto fail
;
28770 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28771 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28774 result
= (wxDirFilterListCtrl
*)((wxGenericDirCtrl
const *)arg1
)->GetFilterListCtrl();
28776 wxPyEndAllowThreads(__tstate
);
28777 if (PyErr_Occurred()) SWIG_fail
;
28779 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDirFilterListCtrl
, 0);
28786 static PyObject
*_wrap_GenericDirCtrl_FindChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28787 PyObject
*resultobj
;
28788 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28789 wxTreeItemId arg2
;
28790 wxString
*arg3
= 0 ;
28792 wxTreeItemId result
;
28793 wxTreeItemId
*argp2
;
28794 bool temp3
= False
;
28796 PyObject
* obj0
= 0 ;
28797 PyObject
* obj1
= 0 ;
28798 PyObject
* obj2
= 0 ;
28799 char *kwnames
[] = {
28800 (char *) "self",(char *) "parentId",(char *) "path", NULL
28804 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GenericDirCtrl_FindChild",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28805 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28806 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28807 if ((SWIG_ConvertPtr(obj1
,(void **)(&argp2
),SWIGTYPE_p_wxTreeItemId
,
28808 SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
28811 arg3
= wxString_in_helper(obj2
);
28812 if (arg3
== NULL
) SWIG_fail
;
28816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28817 result
= (arg1
)->FindChild(arg2
,(wxString
const &)*arg3
,*arg4
);
28819 wxPyEndAllowThreads(__tstate
);
28820 if (PyErr_Occurred()) SWIG_fail
;
28823 wxTreeItemId
* resultptr
;
28824 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
28825 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
28828 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
28829 resultobj
= t_output_helper(resultobj
,o
);
28845 static PyObject
*_wrap_GenericDirCtrl_DoResize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28846 PyObject
*resultobj
;
28847 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28848 PyObject
* obj0
= 0 ;
28849 char *kwnames
[] = {
28850 (char *) "self", NULL
28853 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_DoResize",kwnames
,&obj0
)) goto fail
;
28854 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28855 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28858 (arg1
)->DoResize();
28860 wxPyEndAllowThreads(__tstate
);
28861 if (PyErr_Occurred()) SWIG_fail
;
28863 Py_INCREF(Py_None
); resultobj
= Py_None
;
28870 static PyObject
*_wrap_GenericDirCtrl_ReCreateTree(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28871 PyObject
*resultobj
;
28872 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28873 PyObject
* obj0
= 0 ;
28874 char *kwnames
[] = {
28875 (char *) "self", NULL
28878 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_ReCreateTree",kwnames
,&obj0
)) goto fail
;
28879 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28880 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28883 (arg1
)->ReCreateTree();
28885 wxPyEndAllowThreads(__tstate
);
28886 if (PyErr_Occurred()) SWIG_fail
;
28888 Py_INCREF(Py_None
); resultobj
= Py_None
;
28895 static PyObject
* GenericDirCtrl_swigregister(PyObject
*self
, PyObject
*args
) {
28897 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28898 SWIG_TypeClientData(SWIGTYPE_p_wxGenericDirCtrl
, obj
);
28900 return Py_BuildValue((char *)"");
28902 static PyObject
*_wrap_new_DirFilterListCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28903 PyObject
*resultobj
;
28904 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28905 int arg2
= (int) (int)-1 ;
28906 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
28907 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
28908 wxSize
const &arg4_defvalue
= wxDefaultSize
;
28909 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
28910 long arg5
= (long) 0 ;
28911 wxDirFilterListCtrl
*result
;
28914 PyObject
* obj0
= 0 ;
28915 PyObject
* obj1
= 0 ;
28916 PyObject
* obj2
= 0 ;
28917 PyObject
* obj3
= 0 ;
28918 PyObject
* obj4
= 0 ;
28919 char *kwnames
[] = {
28920 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
28923 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:new_DirFilterListCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
28924 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28925 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28927 arg2
= (int const) SWIG_AsInt(obj1
);
28928 if (PyErr_Occurred()) SWIG_fail
;
28933 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
28939 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
28943 arg5
= (long) SWIG_AsLong(obj4
);
28944 if (PyErr_Occurred()) SWIG_fail
;
28947 if (!wxPyCheckForApp()) SWIG_fail
;
28948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28949 result
= (wxDirFilterListCtrl
*)new wxDirFilterListCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
);
28951 wxPyEndAllowThreads(__tstate
);
28952 if (PyErr_Occurred()) SWIG_fail
;
28954 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDirFilterListCtrl
, 1);
28961 static PyObject
*_wrap_new_PreDirFilterListCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28962 PyObject
*resultobj
;
28963 wxDirFilterListCtrl
*result
;
28964 char *kwnames
[] = {
28968 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreDirFilterListCtrl",kwnames
)) goto fail
;
28970 if (!wxPyCheckForApp()) SWIG_fail
;
28971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28972 result
= (wxDirFilterListCtrl
*)new wxDirFilterListCtrl();
28974 wxPyEndAllowThreads(__tstate
);
28975 if (PyErr_Occurred()) SWIG_fail
;
28977 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDirFilterListCtrl
, 1);
28984 static PyObject
*_wrap_DirFilterListCtrl_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28985 PyObject
*resultobj
;
28986 wxDirFilterListCtrl
*arg1
= (wxDirFilterListCtrl
*) 0 ;
28987 wxGenericDirCtrl
*arg2
= (wxGenericDirCtrl
*) 0 ;
28988 int arg3
= (int) (int)-1 ;
28989 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
28990 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
28991 wxSize
const &arg5_defvalue
= wxDefaultSize
;
28992 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
28993 long arg6
= (long) 0 ;
28997 PyObject
* obj0
= 0 ;
28998 PyObject
* obj1
= 0 ;
28999 PyObject
* obj2
= 0 ;
29000 PyObject
* obj3
= 0 ;
29001 PyObject
* obj4
= 0 ;
29002 PyObject
* obj5
= 0 ;
29003 char *kwnames
[] = {
29004 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
29007 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:DirFilterListCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
29008 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDirFilterListCtrl
,
29009 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29010 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxGenericDirCtrl
,
29011 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29013 arg3
= (int const) SWIG_AsInt(obj2
);
29014 if (PyErr_Occurred()) SWIG_fail
;
29019 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
29025 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
29029 arg6
= (long) SWIG_AsLong(obj5
);
29030 if (PyErr_Occurred()) SWIG_fail
;
29033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29034 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
);
29036 wxPyEndAllowThreads(__tstate
);
29037 if (PyErr_Occurred()) SWIG_fail
;
29040 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29048 static PyObject
*_wrap_DirFilterListCtrl_FillFilterList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29049 PyObject
*resultobj
;
29050 wxDirFilterListCtrl
*arg1
= (wxDirFilterListCtrl
*) 0 ;
29051 wxString
*arg2
= 0 ;
29053 bool temp2
= False
;
29054 PyObject
* obj0
= 0 ;
29055 PyObject
* obj1
= 0 ;
29056 PyObject
* obj2
= 0 ;
29057 char *kwnames
[] = {
29058 (char *) "self",(char *) "filter",(char *) "defaultFilter", NULL
29061 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DirFilterListCtrl_FillFilterList",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29062 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDirFilterListCtrl
,
29063 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29065 arg2
= wxString_in_helper(obj1
);
29066 if (arg2
== NULL
) SWIG_fail
;
29069 arg3
= (int) SWIG_AsInt(obj2
);
29070 if (PyErr_Occurred()) SWIG_fail
;
29072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29073 (arg1
)->FillFilterList((wxString
const &)*arg2
,arg3
);
29075 wxPyEndAllowThreads(__tstate
);
29076 if (PyErr_Occurred()) SWIG_fail
;
29078 Py_INCREF(Py_None
); resultobj
= Py_None
;
29093 static PyObject
* DirFilterListCtrl_swigregister(PyObject
*self
, PyObject
*args
) {
29095 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
29096 SWIG_TypeClientData(SWIGTYPE_p_wxDirFilterListCtrl
, obj
);
29098 return Py_BuildValue((char *)"");
29100 static PyObject
*_wrap_new_PyControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29101 PyObject
*resultobj
;
29102 wxWindow
*arg1
= (wxWindow
*) 0 ;
29103 int arg2
= (int) (int)-1 ;
29104 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
29105 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
29106 wxSize
const &arg4_defvalue
= wxDefaultSize
;
29107 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
29108 long arg5
= (long) 0 ;
29109 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
29110 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
29111 wxString
const &arg7_defvalue
= wxPyControlNameStr
;
29112 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
29113 wxPyControl
*result
;
29116 bool temp7
= False
;
29117 PyObject
* obj0
= 0 ;
29118 PyObject
* obj1
= 0 ;
29119 PyObject
* obj2
= 0 ;
29120 PyObject
* obj3
= 0 ;
29121 PyObject
* obj4
= 0 ;
29122 PyObject
* obj5
= 0 ;
29123 PyObject
* obj6
= 0 ;
29124 char *kwnames
[] = {
29125 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
29128 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_PyControl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
29129 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
29130 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29132 arg2
= (int const) SWIG_AsInt(obj1
);
29133 if (PyErr_Occurred()) SWIG_fail
;
29138 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
29144 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
29148 arg5
= (long) SWIG_AsLong(obj4
);
29149 if (PyErr_Occurred()) SWIG_fail
;
29152 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxValidator
,
29153 SWIG_POINTER_EXCEPTION
| 0)) == -1)
29155 if (arg6
== NULL
) {
29156 PyErr_SetString(PyExc_TypeError
,"null reference");
29162 arg7
= wxString_in_helper(obj6
);
29163 if (arg7
== NULL
) SWIG_fail
;
29168 if (!wxPyCheckForApp()) SWIG_fail
;
29169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29170 result
= (wxPyControl
*)new wxPyControl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
29172 wxPyEndAllowThreads(__tstate
);
29173 if (PyErr_Occurred()) SWIG_fail
;
29175 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyControl
, 1);
29190 static PyObject
*_wrap_new_PrePyControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29191 PyObject
*resultobj
;
29192 wxPyControl
*result
;
29193 char *kwnames
[] = {
29197 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePyControl",kwnames
)) goto fail
;
29199 if (!wxPyCheckForApp()) SWIG_fail
;
29200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29201 result
= (wxPyControl
*)new wxPyControl();
29203 wxPyEndAllowThreads(__tstate
);
29204 if (PyErr_Occurred()) SWIG_fail
;
29206 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyControl
, 1);
29213 static PyObject
*_wrap_PyControl__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29214 PyObject
*resultobj
;
29215 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29216 PyObject
*arg2
= (PyObject
*) 0 ;
29217 PyObject
*arg3
= (PyObject
*) 0 ;
29218 PyObject
* obj0
= 0 ;
29219 PyObject
* obj1
= 0 ;
29220 PyObject
* obj2
= 0 ;
29221 char *kwnames
[] = {
29222 (char *) "self",(char *) "self",(char *) "_class", NULL
29225 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29226 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29227 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29232 (arg1
)->_setCallbackInfo(arg2
,arg3
);
29234 wxPyEndAllowThreads(__tstate
);
29235 if (PyErr_Occurred()) SWIG_fail
;
29237 Py_INCREF(Py_None
); resultobj
= Py_None
;
29244 static PyObject
*_wrap_PyControl_SetBestSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29245 PyObject
*resultobj
;
29246 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29249 PyObject
* obj0
= 0 ;
29250 PyObject
* obj1
= 0 ;
29251 char *kwnames
[] = {
29252 (char *) "self",(char *) "size", NULL
29255 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControl_SetBestSize",kwnames
,&obj0
,&obj1
)) goto fail
;
29256 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29257 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29260 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
29263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29264 (arg1
)->SetBestSize((wxSize
const &)*arg2
);
29266 wxPyEndAllowThreads(__tstate
);
29267 if (PyErr_Occurred()) SWIG_fail
;
29269 Py_INCREF(Py_None
); resultobj
= Py_None
;
29276 static PyObject
*_wrap_PyControl_base_DoMoveWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29277 PyObject
*resultobj
;
29278 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29283 PyObject
* obj0
= 0 ;
29284 PyObject
* obj1
= 0 ;
29285 PyObject
* obj2
= 0 ;
29286 PyObject
* obj3
= 0 ;
29287 PyObject
* obj4
= 0 ;
29288 char *kwnames
[] = {
29289 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
29292 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyControl_base_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
29293 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29294 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29295 arg2
= (int) SWIG_AsInt(obj1
);
29296 if (PyErr_Occurred()) SWIG_fail
;
29297 arg3
= (int) SWIG_AsInt(obj2
);
29298 if (PyErr_Occurred()) SWIG_fail
;
29299 arg4
= (int) SWIG_AsInt(obj3
);
29300 if (PyErr_Occurred()) SWIG_fail
;
29301 arg5
= (int) SWIG_AsInt(obj4
);
29302 if (PyErr_Occurred()) SWIG_fail
;
29304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29305 (arg1
)->base_DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
29307 wxPyEndAllowThreads(__tstate
);
29308 if (PyErr_Occurred()) SWIG_fail
;
29310 Py_INCREF(Py_None
); resultobj
= Py_None
;
29317 static PyObject
*_wrap_PyControl_base_DoSetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29318 PyObject
*resultobj
;
29319 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29324 int arg6
= (int) wxSIZE_AUTO
;
29325 PyObject
* obj0
= 0 ;
29326 PyObject
* obj1
= 0 ;
29327 PyObject
* obj2
= 0 ;
29328 PyObject
* obj3
= 0 ;
29329 PyObject
* obj4
= 0 ;
29330 PyObject
* obj5
= 0 ;
29331 char *kwnames
[] = {
29332 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
29335 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyControl_base_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
29336 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29337 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29338 arg2
= (int) SWIG_AsInt(obj1
);
29339 if (PyErr_Occurred()) SWIG_fail
;
29340 arg3
= (int) SWIG_AsInt(obj2
);
29341 if (PyErr_Occurred()) SWIG_fail
;
29342 arg4
= (int) SWIG_AsInt(obj3
);
29343 if (PyErr_Occurred()) SWIG_fail
;
29344 arg5
= (int) SWIG_AsInt(obj4
);
29345 if (PyErr_Occurred()) SWIG_fail
;
29347 arg6
= (int) SWIG_AsInt(obj5
);
29348 if (PyErr_Occurred()) SWIG_fail
;
29351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29352 (arg1
)->base_DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
29354 wxPyEndAllowThreads(__tstate
);
29355 if (PyErr_Occurred()) SWIG_fail
;
29357 Py_INCREF(Py_None
); resultobj
= Py_None
;
29364 static PyObject
*_wrap_PyControl_base_DoSetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29365 PyObject
*resultobj
;
29366 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29369 PyObject
* obj0
= 0 ;
29370 PyObject
* obj1
= 0 ;
29371 PyObject
* obj2
= 0 ;
29372 char *kwnames
[] = {
29373 (char *) "self",(char *) "width",(char *) "height", NULL
29376 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControl_base_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29377 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29378 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29379 arg2
= (int) SWIG_AsInt(obj1
);
29380 if (PyErr_Occurred()) SWIG_fail
;
29381 arg3
= (int) SWIG_AsInt(obj2
);
29382 if (PyErr_Occurred()) SWIG_fail
;
29384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29385 (arg1
)->base_DoSetClientSize(arg2
,arg3
);
29387 wxPyEndAllowThreads(__tstate
);
29388 if (PyErr_Occurred()) SWIG_fail
;
29390 Py_INCREF(Py_None
); resultobj
= Py_None
;
29397 static PyObject
*_wrap_PyControl_base_DoSetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29398 PyObject
*resultobj
;
29399 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29402 PyObject
* obj0
= 0 ;
29403 PyObject
* obj1
= 0 ;
29404 PyObject
* obj2
= 0 ;
29405 char *kwnames
[] = {
29406 (char *) "self",(char *) "x",(char *) "y", NULL
29409 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControl_base_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29410 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29411 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29412 arg2
= (int) SWIG_AsInt(obj1
);
29413 if (PyErr_Occurred()) SWIG_fail
;
29414 arg3
= (int) SWIG_AsInt(obj2
);
29415 if (PyErr_Occurred()) SWIG_fail
;
29417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29418 (arg1
)->base_DoSetVirtualSize(arg2
,arg3
);
29420 wxPyEndAllowThreads(__tstate
);
29421 if (PyErr_Occurred()) SWIG_fail
;
29423 Py_INCREF(Py_None
); resultobj
= Py_None
;
29430 static PyObject
*_wrap_PyControl_base_DoGetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29431 PyObject
*resultobj
;
29432 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29433 int *arg2
= (int *) 0 ;
29434 int *arg3
= (int *) 0 ;
29437 PyObject
* obj0
= 0 ;
29438 char *kwnames
[] = {
29439 (char *) "self", NULL
29444 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetSize",kwnames
,&obj0
)) goto fail
;
29445 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29446 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29449 ((wxPyControl
const *)arg1
)->base_DoGetSize(arg2
,arg3
);
29451 wxPyEndAllowThreads(__tstate
);
29452 if (PyErr_Occurred()) SWIG_fail
;
29454 Py_INCREF(Py_None
); resultobj
= Py_None
;
29456 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
29457 resultobj
= t_output_helper(resultobj
,o
);
29460 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
29461 resultobj
= t_output_helper(resultobj
,o
);
29469 static PyObject
*_wrap_PyControl_base_DoGetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29470 PyObject
*resultobj
;
29471 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29472 int *arg2
= (int *) 0 ;
29473 int *arg3
= (int *) 0 ;
29476 PyObject
* obj0
= 0 ;
29477 char *kwnames
[] = {
29478 (char *) "self", NULL
29483 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetClientSize",kwnames
,&obj0
)) goto fail
;
29484 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29485 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29488 ((wxPyControl
const *)arg1
)->base_DoGetClientSize(arg2
,arg3
);
29490 wxPyEndAllowThreads(__tstate
);
29491 if (PyErr_Occurred()) SWIG_fail
;
29493 Py_INCREF(Py_None
); resultobj
= Py_None
;
29495 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
29496 resultobj
= t_output_helper(resultobj
,o
);
29499 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
29500 resultobj
= t_output_helper(resultobj
,o
);
29508 static PyObject
*_wrap_PyControl_base_DoGetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29509 PyObject
*resultobj
;
29510 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29511 int *arg2
= (int *) 0 ;
29512 int *arg3
= (int *) 0 ;
29515 PyObject
* obj0
= 0 ;
29516 char *kwnames
[] = {
29517 (char *) "self", NULL
29522 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetPosition",kwnames
,&obj0
)) goto fail
;
29523 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29524 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29527 ((wxPyControl
const *)arg1
)->base_DoGetPosition(arg2
,arg3
);
29529 wxPyEndAllowThreads(__tstate
);
29530 if (PyErr_Occurred()) SWIG_fail
;
29532 Py_INCREF(Py_None
); resultobj
= Py_None
;
29534 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
29535 resultobj
= t_output_helper(resultobj
,o
);
29538 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
29539 resultobj
= t_output_helper(resultobj
,o
);
29547 static PyObject
*_wrap_PyControl_base_DoGetVirtualSize(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_DoGetVirtualSize",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
= ((wxPyControl
const *)arg1
)->base_DoGetVirtualSize();
29563 wxPyEndAllowThreads(__tstate
);
29564 if (PyErr_Occurred()) SWIG_fail
;
29567 wxSize
* resultptr
;
29568 resultptr
= new wxSize((wxSize
&) result
);
29569 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
29577 static PyObject
*_wrap_PyControl_base_DoGetBestSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29578 PyObject
*resultobj
;
29579 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29581 PyObject
* obj0
= 0 ;
29582 char *kwnames
[] = {
29583 (char *) "self", NULL
29586 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetBestSize",kwnames
,&obj0
)) goto fail
;
29587 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29588 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29591 result
= ((wxPyControl
const *)arg1
)->base_DoGetBestSize();
29593 wxPyEndAllowThreads(__tstate
);
29594 if (PyErr_Occurred()) SWIG_fail
;
29597 wxSize
* resultptr
;
29598 resultptr
= new wxSize((wxSize
&) result
);
29599 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
29607 static PyObject
*_wrap_PyControl_base_InitDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29608 PyObject
*resultobj
;
29609 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29610 PyObject
* obj0
= 0 ;
29611 char *kwnames
[] = {
29612 (char *) "self", NULL
29615 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_InitDialog",kwnames
,&obj0
)) goto fail
;
29616 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29617 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29620 (arg1
)->base_InitDialog();
29622 wxPyEndAllowThreads(__tstate
);
29623 if (PyErr_Occurred()) SWIG_fail
;
29625 Py_INCREF(Py_None
); resultobj
= Py_None
;
29632 static PyObject
*_wrap_PyControl_base_TransferDataToWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29633 PyObject
*resultobj
;
29634 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29636 PyObject
* obj0
= 0 ;
29637 char *kwnames
[] = {
29638 (char *) "self", NULL
29641 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_TransferDataToWindow",kwnames
,&obj0
)) goto fail
;
29642 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29643 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29646 result
= (bool)(arg1
)->base_TransferDataToWindow();
29648 wxPyEndAllowThreads(__tstate
);
29649 if (PyErr_Occurred()) SWIG_fail
;
29652 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29660 static PyObject
*_wrap_PyControl_base_TransferDataFromWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29661 PyObject
*resultobj
;
29662 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29664 PyObject
* obj0
= 0 ;
29665 char *kwnames
[] = {
29666 (char *) "self", NULL
29669 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_TransferDataFromWindow",kwnames
,&obj0
)) goto fail
;
29670 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29671 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29674 result
= (bool)(arg1
)->base_TransferDataFromWindow();
29676 wxPyEndAllowThreads(__tstate
);
29677 if (PyErr_Occurred()) SWIG_fail
;
29680 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29688 static PyObject
*_wrap_PyControl_base_Validate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29689 PyObject
*resultobj
;
29690 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29692 PyObject
* obj0
= 0 ;
29693 char *kwnames
[] = {
29694 (char *) "self", NULL
29697 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_Validate",kwnames
,&obj0
)) goto fail
;
29698 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29699 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29702 result
= (bool)(arg1
)->base_Validate();
29704 wxPyEndAllowThreads(__tstate
);
29705 if (PyErr_Occurred()) SWIG_fail
;
29708 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29716 static PyObject
*_wrap_PyControl_base_AcceptsFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29717 PyObject
*resultobj
;
29718 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29720 PyObject
* obj0
= 0 ;
29721 char *kwnames
[] = {
29722 (char *) "self", NULL
29725 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_AcceptsFocus",kwnames
,&obj0
)) goto fail
;
29726 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29727 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29730 result
= (bool)((wxPyControl
const *)arg1
)->base_AcceptsFocus();
29732 wxPyEndAllowThreads(__tstate
);
29733 if (PyErr_Occurred()) SWIG_fail
;
29736 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29744 static PyObject
*_wrap_PyControl_base_AcceptsFocusFromKeyboard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29745 PyObject
*resultobj
;
29746 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29748 PyObject
* obj0
= 0 ;
29749 char *kwnames
[] = {
29750 (char *) "self", NULL
29753 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_AcceptsFocusFromKeyboard",kwnames
,&obj0
)) goto fail
;
29754 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29755 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29758 result
= (bool)((wxPyControl
const *)arg1
)->base_AcceptsFocusFromKeyboard();
29760 wxPyEndAllowThreads(__tstate
);
29761 if (PyErr_Occurred()) SWIG_fail
;
29764 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29772 static PyObject
*_wrap_PyControl_base_GetMaxSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29773 PyObject
*resultobj
;
29774 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29776 PyObject
* obj0
= 0 ;
29777 char *kwnames
[] = {
29778 (char *) "self", NULL
29781 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_GetMaxSize",kwnames
,&obj0
)) goto fail
;
29782 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29783 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29786 result
= ((wxPyControl
const *)arg1
)->base_GetMaxSize();
29788 wxPyEndAllowThreads(__tstate
);
29789 if (PyErr_Occurred()) SWIG_fail
;
29792 wxSize
* resultptr
;
29793 resultptr
= new wxSize((wxSize
&) result
);
29794 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
29802 static PyObject
*_wrap_PyControl_base_AddChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29803 PyObject
*resultobj
;
29804 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29805 wxWindow
*arg2
= (wxWindow
*) 0 ;
29806 PyObject
* obj0
= 0 ;
29807 PyObject
* obj1
= 0 ;
29808 char *kwnames
[] = {
29809 (char *) "self",(char *) "child", NULL
29812 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControl_base_AddChild",kwnames
,&obj0
,&obj1
)) goto fail
;
29813 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29814 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29815 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
29816 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29819 (arg1
)->base_AddChild(arg2
);
29821 wxPyEndAllowThreads(__tstate
);
29822 if (PyErr_Occurred()) SWIG_fail
;
29824 Py_INCREF(Py_None
); resultobj
= Py_None
;
29831 static PyObject
*_wrap_PyControl_base_RemoveChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29832 PyObject
*resultobj
;
29833 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29834 wxWindow
*arg2
= (wxWindow
*) 0 ;
29835 PyObject
* obj0
= 0 ;
29836 PyObject
* obj1
= 0 ;
29837 char *kwnames
[] = {
29838 (char *) "self",(char *) "child", NULL
29841 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControl_base_RemoveChild",kwnames
,&obj0
,&obj1
)) goto fail
;
29842 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29843 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29844 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
29845 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29848 (arg1
)->base_RemoveChild(arg2
);
29850 wxPyEndAllowThreads(__tstate
);
29851 if (PyErr_Occurred()) SWIG_fail
;
29853 Py_INCREF(Py_None
); resultobj
= Py_None
;
29860 static PyObject
*_wrap_PyControl_base_ShouldInheritColours(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29861 PyObject
*resultobj
;
29862 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29864 PyObject
* obj0
= 0 ;
29865 char *kwnames
[] = {
29866 (char *) "self", NULL
29869 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_ShouldInheritColours",kwnames
,&obj0
)) goto fail
;
29870 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29871 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29874 result
= (bool)((wxPyControl
const *)arg1
)->base_ShouldInheritColours();
29876 wxPyEndAllowThreads(__tstate
);
29877 if (PyErr_Occurred()) SWIG_fail
;
29880 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29888 static PyObject
*_wrap_PyControl_base_ApplyParentThemeBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29889 PyObject
*resultobj
;
29890 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29891 wxColour
*arg2
= 0 ;
29893 PyObject
* obj0
= 0 ;
29894 PyObject
* obj1
= 0 ;
29895 char *kwnames
[] = {
29896 (char *) "self",(char *) "c", NULL
29899 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControl_base_ApplyParentThemeBackground",kwnames
,&obj0
,&obj1
)) goto fail
;
29900 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29901 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29904 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
29907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29908 (arg1
)->base_ApplyParentThemeBackground((wxColour
const &)*arg2
);
29910 wxPyEndAllowThreads(__tstate
);
29911 if (PyErr_Occurred()) SWIG_fail
;
29913 Py_INCREF(Py_None
); resultobj
= Py_None
;
29920 static PyObject
*_wrap_PyControl_base_GetDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29921 PyObject
*resultobj
;
29922 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29923 wxVisualAttributes result
;
29924 PyObject
* obj0
= 0 ;
29925 char *kwnames
[] = {
29926 (char *) "self", NULL
29929 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_GetDefaultAttributes",kwnames
,&obj0
)) goto fail
;
29930 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29931 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29934 result
= (arg1
)->base_GetDefaultAttributes();
29936 wxPyEndAllowThreads(__tstate
);
29937 if (PyErr_Occurred()) SWIG_fail
;
29940 wxVisualAttributes
* resultptr
;
29941 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
29942 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
29950 static PyObject
* PyControl_swigregister(PyObject
*self
, PyObject
*args
) {
29952 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
29953 SWIG_TypeClientData(SWIGTYPE_p_wxPyControl
, obj
);
29955 return Py_BuildValue((char *)"");
29957 static PyObject
*_wrap_new_HelpEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29958 PyObject
*resultobj
;
29959 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
29960 int arg2
= (int) 0 ;
29961 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
29962 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
29963 wxHelpEvent
*result
;
29965 PyObject
* obj0
= 0 ;
29966 PyObject
* obj1
= 0 ;
29967 PyObject
* obj2
= 0 ;
29968 char *kwnames
[] = {
29969 (char *) "type",(char *) "winid",(char *) "pt", NULL
29972 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_HelpEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29974 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
29975 if (PyErr_Occurred()) SWIG_fail
;
29978 arg2
= (int) SWIG_AsInt(obj1
);
29979 if (PyErr_Occurred()) SWIG_fail
;
29984 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
29988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29989 result
= (wxHelpEvent
*)new wxHelpEvent(arg1
,arg2
,(wxPoint
const &)*arg3
);
29991 wxPyEndAllowThreads(__tstate
);
29992 if (PyErr_Occurred()) SWIG_fail
;
29994 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHelpEvent
, 1);
30001 static PyObject
*_wrap_HelpEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30002 PyObject
*resultobj
;
30003 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
30005 PyObject
* obj0
= 0 ;
30006 char *kwnames
[] = {
30007 (char *) "self", NULL
30010 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
30011 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpEvent
,
30012 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30015 result
= ((wxHelpEvent
const *)arg1
)->GetPosition();
30017 wxPyEndAllowThreads(__tstate
);
30018 if (PyErr_Occurred()) SWIG_fail
;
30021 wxPoint
* resultptr
;
30022 resultptr
= new wxPoint((wxPoint
&) result
);
30023 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
30031 static PyObject
*_wrap_HelpEvent_SetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30032 PyObject
*resultobj
;
30033 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
30034 wxPoint
*arg2
= 0 ;
30036 PyObject
* obj0
= 0 ;
30037 PyObject
* obj1
= 0 ;
30038 char *kwnames
[] = {
30039 (char *) "self",(char *) "pos", NULL
30042 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
30043 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpEvent
,
30044 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30047 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
30050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30051 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
30053 wxPyEndAllowThreads(__tstate
);
30054 if (PyErr_Occurred()) SWIG_fail
;
30056 Py_INCREF(Py_None
); resultobj
= Py_None
;
30063 static PyObject
*_wrap_HelpEvent_GetLink(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30064 PyObject
*resultobj
;
30065 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
30067 PyObject
* obj0
= 0 ;
30068 char *kwnames
[] = {
30069 (char *) "self", NULL
30072 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpEvent_GetLink",kwnames
,&obj0
)) goto fail
;
30073 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpEvent
,
30074 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30078 wxString
const &_result_ref
= ((wxHelpEvent
const *)arg1
)->GetLink();
30079 result
= (wxString
*) &_result_ref
;
30082 wxPyEndAllowThreads(__tstate
);
30083 if (PyErr_Occurred()) SWIG_fail
;
30087 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
30089 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
30098 static PyObject
*_wrap_HelpEvent_SetLink(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30099 PyObject
*resultobj
;
30100 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
30101 wxString
*arg2
= 0 ;
30102 bool temp2
= False
;
30103 PyObject
* obj0
= 0 ;
30104 PyObject
* obj1
= 0 ;
30105 char *kwnames
[] = {
30106 (char *) "self",(char *) "link", NULL
30109 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetLink",kwnames
,&obj0
,&obj1
)) goto fail
;
30110 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpEvent
,
30111 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30113 arg2
= wxString_in_helper(obj1
);
30114 if (arg2
== NULL
) SWIG_fail
;
30118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30119 (arg1
)->SetLink((wxString
const &)*arg2
);
30121 wxPyEndAllowThreads(__tstate
);
30122 if (PyErr_Occurred()) SWIG_fail
;
30124 Py_INCREF(Py_None
); resultobj
= Py_None
;
30139 static PyObject
*_wrap_HelpEvent_GetTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30140 PyObject
*resultobj
;
30141 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
30143 PyObject
* obj0
= 0 ;
30144 char *kwnames
[] = {
30145 (char *) "self", NULL
30148 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpEvent_GetTarget",kwnames
,&obj0
)) goto fail
;
30149 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpEvent
,
30150 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30154 wxString
const &_result_ref
= ((wxHelpEvent
const *)arg1
)->GetTarget();
30155 result
= (wxString
*) &_result_ref
;
30158 wxPyEndAllowThreads(__tstate
);
30159 if (PyErr_Occurred()) SWIG_fail
;
30163 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
30165 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
30174 static PyObject
*_wrap_HelpEvent_SetTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30175 PyObject
*resultobj
;
30176 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
30177 wxString
*arg2
= 0 ;
30178 bool temp2
= False
;
30179 PyObject
* obj0
= 0 ;
30180 PyObject
* obj1
= 0 ;
30181 char *kwnames
[] = {
30182 (char *) "self",(char *) "target", NULL
30185 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetTarget",kwnames
,&obj0
,&obj1
)) goto fail
;
30186 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpEvent
,
30187 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30189 arg2
= wxString_in_helper(obj1
);
30190 if (arg2
== NULL
) SWIG_fail
;
30194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30195 (arg1
)->SetTarget((wxString
const &)*arg2
);
30197 wxPyEndAllowThreads(__tstate
);
30198 if (PyErr_Occurred()) SWIG_fail
;
30200 Py_INCREF(Py_None
); resultobj
= Py_None
;
30215 static PyObject
* HelpEvent_swigregister(PyObject
*self
, PyObject
*args
) {
30217 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
30218 SWIG_TypeClientData(SWIGTYPE_p_wxHelpEvent
, obj
);
30220 return Py_BuildValue((char *)"");
30222 static PyObject
*_wrap_new_ContextHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30223 PyObject
*resultobj
;
30224 wxWindow
*arg1
= (wxWindow
*) NULL
;
30225 bool arg2
= (bool) True
;
30226 wxContextHelp
*result
;
30227 PyObject
* obj0
= 0 ;
30228 PyObject
* obj1
= 0 ;
30229 char *kwnames
[] = {
30230 (char *) "window",(char *) "doNow", NULL
30233 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_ContextHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
30235 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
30236 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30239 arg2
= (bool) SWIG_AsBool(obj1
);
30240 if (PyErr_Occurred()) SWIG_fail
;
30243 if (!wxPyCheckForApp()) SWIG_fail
;
30244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30245 result
= (wxContextHelp
*)new wxContextHelp(arg1
,arg2
);
30247 wxPyEndAllowThreads(__tstate
);
30248 if (PyErr_Occurred()) SWIG_fail
;
30250 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxContextHelp
, 1);
30257 static PyObject
*_wrap_delete_ContextHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30258 PyObject
*resultobj
;
30259 wxContextHelp
*arg1
= (wxContextHelp
*) 0 ;
30260 PyObject
* obj0
= 0 ;
30261 char *kwnames
[] = {
30262 (char *) "self", NULL
30265 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ContextHelp",kwnames
,&obj0
)) goto fail
;
30266 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxContextHelp
,
30267 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30272 wxPyEndAllowThreads(__tstate
);
30273 if (PyErr_Occurred()) SWIG_fail
;
30275 Py_INCREF(Py_None
); resultobj
= Py_None
;
30282 static PyObject
*_wrap_ContextHelp_BeginContextHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30283 PyObject
*resultobj
;
30284 wxContextHelp
*arg1
= (wxContextHelp
*) 0 ;
30285 wxWindow
*arg2
= (wxWindow
*) NULL
;
30287 PyObject
* obj0
= 0 ;
30288 PyObject
* obj1
= 0 ;
30289 char *kwnames
[] = {
30290 (char *) "self",(char *) "window", NULL
30293 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ContextHelp_BeginContextHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
30294 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxContextHelp
,
30295 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30297 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
30298 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30302 result
= (bool)(arg1
)->BeginContextHelp(arg2
);
30304 wxPyEndAllowThreads(__tstate
);
30305 if (PyErr_Occurred()) SWIG_fail
;
30308 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30316 static PyObject
*_wrap_ContextHelp_EndContextHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30317 PyObject
*resultobj
;
30318 wxContextHelp
*arg1
= (wxContextHelp
*) 0 ;
30320 PyObject
* obj0
= 0 ;
30321 char *kwnames
[] = {
30322 (char *) "self", NULL
30325 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ContextHelp_EndContextHelp",kwnames
,&obj0
)) goto fail
;
30326 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxContextHelp
,
30327 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30330 result
= (bool)(arg1
)->EndContextHelp();
30332 wxPyEndAllowThreads(__tstate
);
30333 if (PyErr_Occurred()) SWIG_fail
;
30336 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30344 static PyObject
* ContextHelp_swigregister(PyObject
*self
, PyObject
*args
) {
30346 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
30347 SWIG_TypeClientData(SWIGTYPE_p_wxContextHelp
, obj
);
30349 return Py_BuildValue((char *)"");
30351 static PyObject
*_wrap_new_ContextHelpButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30352 PyObject
*resultobj
;
30353 wxWindow
*arg1
= (wxWindow
*) 0 ;
30354 int arg2
= (int) wxID_CONTEXT_HELP
;
30355 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
30356 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
30357 wxSize
const &arg4_defvalue
= wxDefaultSize
;
30358 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
30359 long arg5
= (long) wxBU_AUTODRAW
;
30360 wxContextHelpButton
*result
;
30363 PyObject
* obj0
= 0 ;
30364 PyObject
* obj1
= 0 ;
30365 PyObject
* obj2
= 0 ;
30366 PyObject
* obj3
= 0 ;
30367 PyObject
* obj4
= 0 ;
30368 char *kwnames
[] = {
30369 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
30372 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:new_ContextHelpButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
30373 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
30374 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30376 arg2
= (int) SWIG_AsInt(obj1
);
30377 if (PyErr_Occurred()) SWIG_fail
;
30382 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
30388 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
30392 arg5
= (long) SWIG_AsLong(obj4
);
30393 if (PyErr_Occurred()) SWIG_fail
;
30396 if (!wxPyCheckForApp()) SWIG_fail
;
30397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30398 result
= (wxContextHelpButton
*)new wxContextHelpButton(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
);
30400 wxPyEndAllowThreads(__tstate
);
30401 if (PyErr_Occurred()) SWIG_fail
;
30403 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxContextHelpButton
, 1);
30410 static PyObject
* ContextHelpButton_swigregister(PyObject
*self
, PyObject
*args
) {
30412 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
30413 SWIG_TypeClientData(SWIGTYPE_p_wxContextHelpButton
, obj
);
30415 return Py_BuildValue((char *)"");
30417 static PyObject
*_wrap_HelpProvider_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30418 PyObject
*resultobj
;
30419 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
30420 wxHelpProvider
*result
;
30421 PyObject
* obj0
= 0 ;
30422 char *kwnames
[] = {
30423 (char *) "helpProvider", NULL
30426 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpProvider_Set",kwnames
,&obj0
)) goto fail
;
30427 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpProvider
,
30428 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30431 result
= (wxHelpProvider
*)wxHelpProvider::Set(arg1
);
30433 wxPyEndAllowThreads(__tstate
);
30434 if (PyErr_Occurred()) SWIG_fail
;
30436 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHelpProvider
, 0);
30443 static PyObject
*_wrap_HelpProvider_Get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30444 PyObject
*resultobj
;
30445 wxHelpProvider
*result
;
30446 char *kwnames
[] = {
30450 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":HelpProvider_Get",kwnames
)) goto fail
;
30452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30453 result
= (wxHelpProvider
*)wxHelpProvider::Get();
30455 wxPyEndAllowThreads(__tstate
);
30456 if (PyErr_Occurred()) SWIG_fail
;
30458 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHelpProvider
, 0);
30465 static PyObject
*_wrap_HelpProvider_GetHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30466 PyObject
*resultobj
;
30467 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
30468 wxWindow
*arg2
= (wxWindow
*) 0 ;
30470 PyObject
* obj0
= 0 ;
30471 PyObject
* obj1
= 0 ;
30472 char *kwnames
[] = {
30473 (char *) "self",(char *) "window", NULL
30476 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpProvider_GetHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
30477 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpProvider
,
30478 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30479 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
30480 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30483 result
= (arg1
)->GetHelp((wxWindow
const *)arg2
);
30485 wxPyEndAllowThreads(__tstate
);
30486 if (PyErr_Occurred()) SWIG_fail
;
30490 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
30492 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
30501 static PyObject
*_wrap_HelpProvider_ShowHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30502 PyObject
*resultobj
;
30503 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
30504 wxWindow
*arg2
= (wxWindow
*) 0 ;
30506 PyObject
* obj0
= 0 ;
30507 PyObject
* obj1
= 0 ;
30508 char *kwnames
[] = {
30509 (char *) "self",(char *) "window", NULL
30512 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpProvider_ShowHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
30513 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpProvider
,
30514 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30515 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
30516 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30519 result
= (bool)(arg1
)->ShowHelp(arg2
);
30521 wxPyEndAllowThreads(__tstate
);
30522 if (PyErr_Occurred()) SWIG_fail
;
30525 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30533 static PyObject
*_wrap_HelpProvider_AddHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30534 PyObject
*resultobj
;
30535 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
30536 wxWindow
*arg2
= (wxWindow
*) 0 ;
30537 wxString
*arg3
= 0 ;
30538 bool temp3
= False
;
30539 PyObject
* obj0
= 0 ;
30540 PyObject
* obj1
= 0 ;
30541 PyObject
* obj2
= 0 ;
30542 char *kwnames
[] = {
30543 (char *) "self",(char *) "window",(char *) "text", NULL
30546 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HelpProvider_AddHelp",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30547 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpProvider
,
30548 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30549 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
30550 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30552 arg3
= wxString_in_helper(obj2
);
30553 if (arg3
== NULL
) SWIG_fail
;
30557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30558 (arg1
)->AddHelp(arg2
,(wxString
const &)*arg3
);
30560 wxPyEndAllowThreads(__tstate
);
30561 if (PyErr_Occurred()) SWIG_fail
;
30563 Py_INCREF(Py_None
); resultobj
= Py_None
;
30578 static PyObject
*_wrap_HelpProvider_AddHelpById(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30579 PyObject
*resultobj
;
30580 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
30582 wxString
*arg3
= 0 ;
30583 bool temp3
= False
;
30584 PyObject
* obj0
= 0 ;
30585 PyObject
* obj1
= 0 ;
30586 PyObject
* obj2
= 0 ;
30587 char *kwnames
[] = {
30588 (char *) "self",(char *) "id",(char *) "text", NULL
30591 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HelpProvider_AddHelpById",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30592 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpProvider
,
30593 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30594 arg2
= (int) SWIG_AsInt(obj1
);
30595 if (PyErr_Occurred()) SWIG_fail
;
30597 arg3
= wxString_in_helper(obj2
);
30598 if (arg3
== NULL
) SWIG_fail
;
30602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30603 (arg1
)->AddHelp(arg2
,(wxString
const &)*arg3
);
30605 wxPyEndAllowThreads(__tstate
);
30606 if (PyErr_Occurred()) SWIG_fail
;
30608 Py_INCREF(Py_None
); resultobj
= Py_None
;
30623 static PyObject
*_wrap_HelpProvider_RemoveHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30624 PyObject
*resultobj
;
30625 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
30626 wxWindow
*arg2
= (wxWindow
*) 0 ;
30627 PyObject
* obj0
= 0 ;
30628 PyObject
* obj1
= 0 ;
30629 char *kwnames
[] = {
30630 (char *) "self",(char *) "window", NULL
30633 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpProvider_RemoveHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
30634 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpProvider
,
30635 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30636 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
30637 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30640 (arg1
)->RemoveHelp(arg2
);
30642 wxPyEndAllowThreads(__tstate
);
30643 if (PyErr_Occurred()) SWIG_fail
;
30645 Py_INCREF(Py_None
); resultobj
= Py_None
;
30652 static PyObject
*_wrap_HelpProvider_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30653 PyObject
*resultobj
;
30654 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
30655 PyObject
* obj0
= 0 ;
30656 char *kwnames
[] = {
30657 (char *) "self", NULL
30660 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpProvider_Destroy",kwnames
,&obj0
)) goto fail
;
30661 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpProvider
,
30662 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30665 wxHelpProvider_Destroy(arg1
);
30667 wxPyEndAllowThreads(__tstate
);
30668 if (PyErr_Occurred()) SWIG_fail
;
30670 Py_INCREF(Py_None
); resultobj
= Py_None
;
30677 static PyObject
* HelpProvider_swigregister(PyObject
*self
, PyObject
*args
) {
30679 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
30680 SWIG_TypeClientData(SWIGTYPE_p_wxHelpProvider
, obj
);
30682 return Py_BuildValue((char *)"");
30684 static PyObject
*_wrap_new_SimpleHelpProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30685 PyObject
*resultobj
;
30686 wxSimpleHelpProvider
*result
;
30687 char *kwnames
[] = {
30691 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_SimpleHelpProvider",kwnames
)) goto fail
;
30693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30694 result
= (wxSimpleHelpProvider
*)new wxSimpleHelpProvider();
30696 wxPyEndAllowThreads(__tstate
);
30697 if (PyErr_Occurred()) SWIG_fail
;
30699 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSimpleHelpProvider
, 1);
30706 static PyObject
* SimpleHelpProvider_swigregister(PyObject
*self
, PyObject
*args
) {
30708 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
30709 SWIG_TypeClientData(SWIGTYPE_p_wxSimpleHelpProvider
, obj
);
30711 return Py_BuildValue((char *)"");
30713 static PyObject
*_wrap_new_DragImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30714 PyObject
*resultobj
;
30715 wxBitmap
*arg1
= 0 ;
30716 wxCursor
const &arg2_defvalue
= wxNullCursor
;
30717 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
30718 wxGenericDragImage
*result
;
30719 PyObject
* obj0
= 0 ;
30720 PyObject
* obj1
= 0 ;
30721 char *kwnames
[] = {
30722 (char *) "image",(char *) "cursor", NULL
30725 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragImage",kwnames
,&obj0
,&obj1
)) goto fail
;
30726 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
30727 SWIG_POINTER_EXCEPTION
| 0)) == -1)
30729 if (arg1
== NULL
) {
30730 PyErr_SetString(PyExc_TypeError
,"null reference");
30734 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxCursor
,
30735 SWIG_POINTER_EXCEPTION
| 0)) == -1)
30737 if (arg2
== NULL
) {
30738 PyErr_SetString(PyExc_TypeError
,"null reference");
30743 if (!wxPyCheckForApp()) SWIG_fail
;
30744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30745 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxBitmap
const &)*arg1
,(wxCursor
const &)*arg2
);
30747 wxPyEndAllowThreads(__tstate
);
30748 if (PyErr_Occurred()) SWIG_fail
;
30750 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDragImage
, 1);
30757 static PyObject
*_wrap_new_DragIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30758 PyObject
*resultobj
;
30760 wxCursor
const &arg2_defvalue
= wxNullCursor
;
30761 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
30762 wxGenericDragImage
*result
;
30763 PyObject
* obj0
= 0 ;
30764 PyObject
* obj1
= 0 ;
30765 char *kwnames
[] = {
30766 (char *) "image",(char *) "cursor", NULL
30769 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
30770 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
30771 SWIG_POINTER_EXCEPTION
| 0)) == -1)
30773 if (arg1
== NULL
) {
30774 PyErr_SetString(PyExc_TypeError
,"null reference");
30778 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxCursor
,
30779 SWIG_POINTER_EXCEPTION
| 0)) == -1)
30781 if (arg2
== NULL
) {
30782 PyErr_SetString(PyExc_TypeError
,"null reference");
30787 if (!wxPyCheckForApp()) SWIG_fail
;
30788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30789 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxIcon
const &)*arg1
,(wxCursor
const &)*arg2
);
30791 wxPyEndAllowThreads(__tstate
);
30792 if (PyErr_Occurred()) SWIG_fail
;
30794 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDragImage
, 1);
30801 static PyObject
*_wrap_new_DragString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30802 PyObject
*resultobj
;
30803 wxString
*arg1
= 0 ;
30804 wxCursor
const &arg2_defvalue
= wxNullCursor
;
30805 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
30806 wxGenericDragImage
*result
;
30807 bool temp1
= False
;
30808 PyObject
* obj0
= 0 ;
30809 PyObject
* obj1
= 0 ;
30810 char *kwnames
[] = {
30811 (char *) "str",(char *) "cursor", NULL
30814 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragString",kwnames
,&obj0
,&obj1
)) goto fail
;
30816 arg1
= wxString_in_helper(obj0
);
30817 if (arg1
== NULL
) SWIG_fail
;
30821 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxCursor
,
30822 SWIG_POINTER_EXCEPTION
| 0)) == -1)
30824 if (arg2
== NULL
) {
30825 PyErr_SetString(PyExc_TypeError
,"null reference");
30830 if (!wxPyCheckForApp()) SWIG_fail
;
30831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30832 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxString
const &)*arg1
,(wxCursor
const &)*arg2
);
30834 wxPyEndAllowThreads(__tstate
);
30835 if (PyErr_Occurred()) SWIG_fail
;
30837 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDragImage
, 1);
30852 static PyObject
*_wrap_new_DragTreeItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30853 PyObject
*resultobj
;
30854 wxPyTreeCtrl
*arg1
= 0 ;
30855 wxTreeItemId
*arg2
= 0 ;
30856 wxGenericDragImage
*result
;
30857 PyObject
* obj0
= 0 ;
30858 PyObject
* obj1
= 0 ;
30859 char *kwnames
[] = {
30860 (char *) "treeCtrl",(char *) "id", NULL
30863 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_DragTreeItem",kwnames
,&obj0
,&obj1
)) goto fail
;
30864 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
30865 SWIG_POINTER_EXCEPTION
| 0)) == -1)
30867 if (arg1
== NULL
) {
30868 PyErr_SetString(PyExc_TypeError
,"null reference");
30871 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
30872 SWIG_POINTER_EXCEPTION
| 0)) == -1)
30874 if (arg2
== NULL
) {
30875 PyErr_SetString(PyExc_TypeError
,"null reference");
30879 if (!wxPyCheckForApp()) SWIG_fail
;
30880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30881 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxPyTreeCtrl
const &)*arg1
,*arg2
);
30883 wxPyEndAllowThreads(__tstate
);
30884 if (PyErr_Occurred()) SWIG_fail
;
30886 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDragImage
, 1);
30893 static PyObject
*_wrap_new_DragListItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30894 PyObject
*resultobj
;
30895 wxPyListCtrl
*arg1
= 0 ;
30897 wxGenericDragImage
*result
;
30898 PyObject
* obj0
= 0 ;
30899 PyObject
* obj1
= 0 ;
30900 char *kwnames
[] = {
30901 (char *) "listCtrl",(char *) "id", NULL
30904 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_DragListItem",kwnames
,&obj0
,&obj1
)) goto fail
;
30905 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
30906 SWIG_POINTER_EXCEPTION
| 0)) == -1)
30908 if (arg1
== NULL
) {
30909 PyErr_SetString(PyExc_TypeError
,"null reference");
30912 arg2
= (long) SWIG_AsLong(obj1
);
30913 if (PyErr_Occurred()) SWIG_fail
;
30915 if (!wxPyCheckForApp()) SWIG_fail
;
30916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30917 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxPyListCtrl
const &)*arg1
,arg2
);
30919 wxPyEndAllowThreads(__tstate
);
30920 if (PyErr_Occurred()) SWIG_fail
;
30922 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDragImage
, 1);
30929 static PyObject
*_wrap_delete_DragImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30930 PyObject
*resultobj
;
30931 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
30932 PyObject
* obj0
= 0 ;
30933 char *kwnames
[] = {
30934 (char *) "self", NULL
30937 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DragImage",kwnames
,&obj0
)) goto fail
;
30938 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
30939 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30944 wxPyEndAllowThreads(__tstate
);
30945 if (PyErr_Occurred()) SWIG_fail
;
30947 Py_INCREF(Py_None
); resultobj
= Py_None
;
30954 static PyObject
*_wrap_DragImage_SetBackingBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30955 PyObject
*resultobj
;
30956 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
30957 wxBitmap
*arg2
= (wxBitmap
*) 0 ;
30958 PyObject
* obj0
= 0 ;
30959 PyObject
* obj1
= 0 ;
30960 char *kwnames
[] = {
30961 (char *) "self",(char *) "bitmap", NULL
30964 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_SetBackingBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
30965 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
30966 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30967 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
30968 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30971 (arg1
)->SetBackingBitmap(arg2
);
30973 wxPyEndAllowThreads(__tstate
);
30974 if (PyErr_Occurred()) SWIG_fail
;
30976 Py_INCREF(Py_None
); resultobj
= Py_None
;
30983 static PyObject
*_wrap_DragImage_BeginDrag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30984 PyObject
*resultobj
;
30985 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
30986 wxPoint
*arg2
= 0 ;
30987 wxWindow
*arg3
= (wxWindow
*) 0 ;
30988 bool arg4
= (bool) False
;
30989 wxRect
*arg5
= (wxRect
*) NULL
;
30992 PyObject
* obj0
= 0 ;
30993 PyObject
* obj1
= 0 ;
30994 PyObject
* obj2
= 0 ;
30995 PyObject
* obj3
= 0 ;
30996 PyObject
* obj4
= 0 ;
30997 char *kwnames
[] = {
30998 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "fullScreen",(char *) "rect", NULL
31001 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:DragImage_BeginDrag",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
31002 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
31003 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31006 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
31008 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
31009 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31011 arg4
= (bool) SWIG_AsBool(obj3
);
31012 if (PyErr_Occurred()) SWIG_fail
;
31015 if ((SWIG_ConvertPtr(obj4
,(void **)(&arg5
),SWIGTYPE_p_wxRect
,
31016 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31020 result
= (bool)(arg1
)->BeginDrag((wxPoint
const &)*arg2
,arg3
,arg4
,arg5
);
31022 wxPyEndAllowThreads(__tstate
);
31023 if (PyErr_Occurred()) SWIG_fail
;
31026 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31034 static PyObject
*_wrap_DragImage_BeginDragBounded(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31035 PyObject
*resultobj
;
31036 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
31037 wxPoint
*arg2
= 0 ;
31038 wxWindow
*arg3
= (wxWindow
*) 0 ;
31039 wxWindow
*arg4
= (wxWindow
*) 0 ;
31042 PyObject
* obj0
= 0 ;
31043 PyObject
* obj1
= 0 ;
31044 PyObject
* obj2
= 0 ;
31045 PyObject
* obj3
= 0 ;
31046 char *kwnames
[] = {
31047 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "boundingWindow", NULL
31050 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DragImage_BeginDragBounded",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
31051 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
31052 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31055 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
31057 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
31058 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31059 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxWindow
,
31060 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31063 result
= (bool)(arg1
)->BeginDrag((wxPoint
const &)*arg2
,arg3
,arg4
);
31065 wxPyEndAllowThreads(__tstate
);
31066 if (PyErr_Occurred()) SWIG_fail
;
31069 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31077 static PyObject
*_wrap_DragImage_EndDrag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31078 PyObject
*resultobj
;
31079 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
31081 PyObject
* obj0
= 0 ;
31082 char *kwnames
[] = {
31083 (char *) "self", NULL
31086 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DragImage_EndDrag",kwnames
,&obj0
)) goto fail
;
31087 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
31088 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31091 result
= (bool)(arg1
)->EndDrag();
31093 wxPyEndAllowThreads(__tstate
);
31094 if (PyErr_Occurred()) SWIG_fail
;
31097 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31105 static PyObject
*_wrap_DragImage_Move(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31106 PyObject
*resultobj
;
31107 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
31108 wxPoint
*arg2
= 0 ;
31111 PyObject
* obj0
= 0 ;
31112 PyObject
* obj1
= 0 ;
31113 char *kwnames
[] = {
31114 (char *) "self",(char *) "pt", NULL
31117 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_Move",kwnames
,&obj0
,&obj1
)) goto fail
;
31118 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
31119 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31122 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
31125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31126 result
= (bool)(arg1
)->Move((wxPoint
const &)*arg2
);
31128 wxPyEndAllowThreads(__tstate
);
31129 if (PyErr_Occurred()) SWIG_fail
;
31132 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31140 static PyObject
*_wrap_DragImage_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31141 PyObject
*resultobj
;
31142 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
31144 PyObject
* obj0
= 0 ;
31145 char *kwnames
[] = {
31146 (char *) "self", NULL
31149 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DragImage_Show",kwnames
,&obj0
)) goto fail
;
31150 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
31151 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31154 result
= (bool)(arg1
)->Show();
31156 wxPyEndAllowThreads(__tstate
);
31157 if (PyErr_Occurred()) SWIG_fail
;
31160 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31168 static PyObject
*_wrap_DragImage_Hide(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31169 PyObject
*resultobj
;
31170 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
31172 PyObject
* obj0
= 0 ;
31173 char *kwnames
[] = {
31174 (char *) "self", NULL
31177 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DragImage_Hide",kwnames
,&obj0
)) goto fail
;
31178 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
31179 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31182 result
= (bool)(arg1
)->Hide();
31184 wxPyEndAllowThreads(__tstate
);
31185 if (PyErr_Occurred()) SWIG_fail
;
31188 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31196 static PyObject
*_wrap_DragImage_GetImageRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31197 PyObject
*resultobj
;
31198 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
31199 wxPoint
*arg2
= 0 ;
31202 PyObject
* obj0
= 0 ;
31203 PyObject
* obj1
= 0 ;
31204 char *kwnames
[] = {
31205 (char *) "self",(char *) "pos", NULL
31208 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_GetImageRect",kwnames
,&obj0
,&obj1
)) goto fail
;
31209 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
31210 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31213 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
31216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31217 result
= ((wxGenericDragImage
const *)arg1
)->GetImageRect((wxPoint
const &)*arg2
);
31219 wxPyEndAllowThreads(__tstate
);
31220 if (PyErr_Occurred()) SWIG_fail
;
31223 wxRect
* resultptr
;
31224 resultptr
= new wxRect((wxRect
&) result
);
31225 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
31233 static PyObject
*_wrap_DragImage_DoDrawImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31234 PyObject
*resultobj
;
31235 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
31237 wxPoint
*arg3
= 0 ;
31240 PyObject
* obj0
= 0 ;
31241 PyObject
* obj1
= 0 ;
31242 PyObject
* obj2
= 0 ;
31243 char *kwnames
[] = {
31244 (char *) "self",(char *) "dc",(char *) "pos", NULL
31247 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DragImage_DoDrawImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
31248 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
31249 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31250 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
31251 SWIG_POINTER_EXCEPTION
| 0)) == -1)
31253 if (arg2
== NULL
) {
31254 PyErr_SetString(PyExc_TypeError
,"null reference");
31259 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
31262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31263 result
= (bool)((wxGenericDragImage
const *)arg1
)->DoDrawImage(*arg2
,(wxPoint
const &)*arg3
);
31265 wxPyEndAllowThreads(__tstate
);
31266 if (PyErr_Occurred()) SWIG_fail
;
31269 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31277 static PyObject
*_wrap_DragImage_UpdateBackingFromWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31278 PyObject
*resultobj
;
31279 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
31281 wxMemoryDC
*arg3
= 0 ;
31287 PyObject
* obj0
= 0 ;
31288 PyObject
* obj1
= 0 ;
31289 PyObject
* obj2
= 0 ;
31290 PyObject
* obj3
= 0 ;
31291 PyObject
* obj4
= 0 ;
31292 char *kwnames
[] = {
31293 (char *) "self",(char *) "windowDC",(char *) "destDC",(char *) "sourceRect",(char *) "destRect", NULL
31296 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DragImage_UpdateBackingFromWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
31297 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
31298 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31299 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
31300 SWIG_POINTER_EXCEPTION
| 0)) == -1)
31302 if (arg2
== NULL
) {
31303 PyErr_SetString(PyExc_TypeError
,"null reference");
31306 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxMemoryDC
,
31307 SWIG_POINTER_EXCEPTION
| 0)) == -1)
31309 if (arg3
== NULL
) {
31310 PyErr_SetString(PyExc_TypeError
,"null reference");
31315 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
31319 if ( ! wxRect_helper(obj4
, &arg5
)) SWIG_fail
;
31322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31323 result
= (bool)((wxGenericDragImage
const *)arg1
)->UpdateBackingFromWindow(*arg2
,*arg3
,(wxRect
const &)*arg4
,(wxRect
const &)*arg5
);
31325 wxPyEndAllowThreads(__tstate
);
31326 if (PyErr_Occurred()) SWIG_fail
;
31329 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31337 static PyObject
*_wrap_DragImage_RedrawImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31338 PyObject
*resultobj
;
31339 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
31340 wxPoint
*arg2
= 0 ;
31341 wxPoint
*arg3
= 0 ;
31347 PyObject
* obj0
= 0 ;
31348 PyObject
* obj1
= 0 ;
31349 PyObject
* obj2
= 0 ;
31350 PyObject
* obj3
= 0 ;
31351 PyObject
* obj4
= 0 ;
31352 char *kwnames
[] = {
31353 (char *) "self",(char *) "oldPos",(char *) "newPos",(char *) "eraseOld",(char *) "drawNew", NULL
31356 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DragImage_RedrawImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
31357 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
31358 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31361 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
31365 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
31367 arg4
= (bool) SWIG_AsBool(obj3
);
31368 if (PyErr_Occurred()) SWIG_fail
;
31369 arg5
= (bool) SWIG_AsBool(obj4
);
31370 if (PyErr_Occurred()) SWIG_fail
;
31372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31373 result
= (bool)(arg1
)->RedrawImage((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
,arg5
);
31375 wxPyEndAllowThreads(__tstate
);
31376 if (PyErr_Occurred()) SWIG_fail
;
31379 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31387 static PyObject
* DragImage_swigregister(PyObject
*self
, PyObject
*args
) {
31389 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
31390 SWIG_TypeClientData(SWIGTYPE_p_wxGenericDragImage
, obj
);
31392 return Py_BuildValue((char *)"");
31394 static PyMethodDef SwigMethods
[] = {
31395 { (char *)"new_Button", (PyCFunction
) _wrap_new_Button
, METH_VARARGS
| METH_KEYWORDS
},
31396 { (char *)"new_PreButton", (PyCFunction
) _wrap_new_PreButton
, METH_VARARGS
| METH_KEYWORDS
},
31397 { (char *)"Button_Create", (PyCFunction
) _wrap_Button_Create
, METH_VARARGS
| METH_KEYWORDS
},
31398 { (char *)"Button_SetDefault", (PyCFunction
) _wrap_Button_SetDefault
, METH_VARARGS
| METH_KEYWORDS
},
31399 { (char *)"Button_GetDefaultSize", (PyCFunction
) _wrap_Button_GetDefaultSize
, METH_VARARGS
| METH_KEYWORDS
},
31400 { (char *)"Button_GetClassDefaultAttributes", (PyCFunction
) _wrap_Button_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31401 { (char *)"Button_swigregister", Button_swigregister
, METH_VARARGS
},
31402 { (char *)"new_BitmapButton", (PyCFunction
) _wrap_new_BitmapButton
, METH_VARARGS
| METH_KEYWORDS
},
31403 { (char *)"new_PreBitmapButton", (PyCFunction
) _wrap_new_PreBitmapButton
, METH_VARARGS
| METH_KEYWORDS
},
31404 { (char *)"BitmapButton_Create", (PyCFunction
) _wrap_BitmapButton_Create
, METH_VARARGS
| METH_KEYWORDS
},
31405 { (char *)"BitmapButton_GetBitmapLabel", (PyCFunction
) _wrap_BitmapButton_GetBitmapLabel
, METH_VARARGS
| METH_KEYWORDS
},
31406 { (char *)"BitmapButton_GetBitmapDisabled", (PyCFunction
) _wrap_BitmapButton_GetBitmapDisabled
, METH_VARARGS
| METH_KEYWORDS
},
31407 { (char *)"BitmapButton_GetBitmapFocus", (PyCFunction
) _wrap_BitmapButton_GetBitmapFocus
, METH_VARARGS
| METH_KEYWORDS
},
31408 { (char *)"BitmapButton_GetBitmapSelected", (PyCFunction
) _wrap_BitmapButton_GetBitmapSelected
, METH_VARARGS
| METH_KEYWORDS
},
31409 { (char *)"BitmapButton_SetBitmapDisabled", (PyCFunction
) _wrap_BitmapButton_SetBitmapDisabled
, METH_VARARGS
| METH_KEYWORDS
},
31410 { (char *)"BitmapButton_SetBitmapFocus", (PyCFunction
) _wrap_BitmapButton_SetBitmapFocus
, METH_VARARGS
| METH_KEYWORDS
},
31411 { (char *)"BitmapButton_SetBitmapSelected", (PyCFunction
) _wrap_BitmapButton_SetBitmapSelected
, METH_VARARGS
| METH_KEYWORDS
},
31412 { (char *)"BitmapButton_SetBitmapLabel", (PyCFunction
) _wrap_BitmapButton_SetBitmapLabel
, METH_VARARGS
| METH_KEYWORDS
},
31413 { (char *)"BitmapButton_SetMargins", (PyCFunction
) _wrap_BitmapButton_SetMargins
, METH_VARARGS
| METH_KEYWORDS
},
31414 { (char *)"BitmapButton_GetMarginX", (PyCFunction
) _wrap_BitmapButton_GetMarginX
, METH_VARARGS
| METH_KEYWORDS
},
31415 { (char *)"BitmapButton_GetMarginY", (PyCFunction
) _wrap_BitmapButton_GetMarginY
, METH_VARARGS
| METH_KEYWORDS
},
31416 { (char *)"BitmapButton_swigregister", BitmapButton_swigregister
, METH_VARARGS
},
31417 { (char *)"new_CheckBox", (PyCFunction
) _wrap_new_CheckBox
, METH_VARARGS
| METH_KEYWORDS
},
31418 { (char *)"new_PreCheckBox", (PyCFunction
) _wrap_new_PreCheckBox
, METH_VARARGS
| METH_KEYWORDS
},
31419 { (char *)"CheckBox_Create", (PyCFunction
) _wrap_CheckBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
31420 { (char *)"CheckBox_GetValue", (PyCFunction
) _wrap_CheckBox_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
31421 { (char *)"CheckBox_IsChecked", (PyCFunction
) _wrap_CheckBox_IsChecked
, METH_VARARGS
| METH_KEYWORDS
},
31422 { (char *)"CheckBox_SetValue", (PyCFunction
) _wrap_CheckBox_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
31423 { (char *)"CheckBox_Get3StateValue", (PyCFunction
) _wrap_CheckBox_Get3StateValue
, METH_VARARGS
| METH_KEYWORDS
},
31424 { (char *)"CheckBox_Set3StateValue", (PyCFunction
) _wrap_CheckBox_Set3StateValue
, METH_VARARGS
| METH_KEYWORDS
},
31425 { (char *)"CheckBox_Is3State", (PyCFunction
) _wrap_CheckBox_Is3State
, METH_VARARGS
| METH_KEYWORDS
},
31426 { (char *)"CheckBox_Is3rdStateAllowedForUser", (PyCFunction
) _wrap_CheckBox_Is3rdStateAllowedForUser
, METH_VARARGS
| METH_KEYWORDS
},
31427 { (char *)"CheckBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_CheckBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31428 { (char *)"CheckBox_swigregister", CheckBox_swigregister
, METH_VARARGS
},
31429 { (char *)"new_Choice", (PyCFunction
) _wrap_new_Choice
, METH_VARARGS
| METH_KEYWORDS
},
31430 { (char *)"new_PreChoice", (PyCFunction
) _wrap_new_PreChoice
, METH_VARARGS
| METH_KEYWORDS
},
31431 { (char *)"Choice_Create", (PyCFunction
) _wrap_Choice_Create
, METH_VARARGS
| METH_KEYWORDS
},
31432 { (char *)"Choice_SetSelection", (PyCFunction
) _wrap_Choice_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
31433 { (char *)"Choice_SetStringSelection", (PyCFunction
) _wrap_Choice_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
31434 { (char *)"Choice_SetString", (PyCFunction
) _wrap_Choice_SetString
, METH_VARARGS
| METH_KEYWORDS
},
31435 { (char *)"Choice_GetClassDefaultAttributes", (PyCFunction
) _wrap_Choice_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31436 { (char *)"Choice_swigregister", Choice_swigregister
, METH_VARARGS
},
31437 { (char *)"new_ComboBox", (PyCFunction
) _wrap_new_ComboBox
, METH_VARARGS
| METH_KEYWORDS
},
31438 { (char *)"new_PreComboBox", (PyCFunction
) _wrap_new_PreComboBox
, METH_VARARGS
| METH_KEYWORDS
},
31439 { (char *)"ComboBox_Create", (PyCFunction
) _wrap_ComboBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
31440 { (char *)"ComboBox_GetValue", (PyCFunction
) _wrap_ComboBox_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
31441 { (char *)"ComboBox_SetValue", (PyCFunction
) _wrap_ComboBox_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
31442 { (char *)"ComboBox_Copy", (PyCFunction
) _wrap_ComboBox_Copy
, METH_VARARGS
| METH_KEYWORDS
},
31443 { (char *)"ComboBox_Cut", (PyCFunction
) _wrap_ComboBox_Cut
, METH_VARARGS
| METH_KEYWORDS
},
31444 { (char *)"ComboBox_Paste", (PyCFunction
) _wrap_ComboBox_Paste
, METH_VARARGS
| METH_KEYWORDS
},
31445 { (char *)"ComboBox_SetInsertionPoint", (PyCFunction
) _wrap_ComboBox_SetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
},
31446 { (char *)"ComboBox_GetInsertionPoint", (PyCFunction
) _wrap_ComboBox_GetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
},
31447 { (char *)"ComboBox_GetLastPosition", (PyCFunction
) _wrap_ComboBox_GetLastPosition
, METH_VARARGS
| METH_KEYWORDS
},
31448 { (char *)"ComboBox_Replace", (PyCFunction
) _wrap_ComboBox_Replace
, METH_VARARGS
| METH_KEYWORDS
},
31449 { (char *)"ComboBox_SetSelection", (PyCFunction
) _wrap_ComboBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
31450 { (char *)"ComboBox_SetMark", (PyCFunction
) _wrap_ComboBox_SetMark
, METH_VARARGS
| METH_KEYWORDS
},
31451 { (char *)"ComboBox_SetStringSelection", (PyCFunction
) _wrap_ComboBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
31452 { (char *)"ComboBox_SetString", (PyCFunction
) _wrap_ComboBox_SetString
, METH_VARARGS
| METH_KEYWORDS
},
31453 { (char *)"ComboBox_SetEditable", (PyCFunction
) _wrap_ComboBox_SetEditable
, METH_VARARGS
| METH_KEYWORDS
},
31454 { (char *)"ComboBox_SetInsertionPointEnd", (PyCFunction
) _wrap_ComboBox_SetInsertionPointEnd
, METH_VARARGS
| METH_KEYWORDS
},
31455 { (char *)"ComboBox_Remove", (PyCFunction
) _wrap_ComboBox_Remove
, METH_VARARGS
| METH_KEYWORDS
},
31456 { (char *)"ComboBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_ComboBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31457 { (char *)"ComboBox_swigregister", ComboBox_swigregister
, METH_VARARGS
},
31458 { (char *)"new_Gauge", (PyCFunction
) _wrap_new_Gauge
, METH_VARARGS
| METH_KEYWORDS
},
31459 { (char *)"new_PreGauge", (PyCFunction
) _wrap_new_PreGauge
, METH_VARARGS
| METH_KEYWORDS
},
31460 { (char *)"Gauge_Create", (PyCFunction
) _wrap_Gauge_Create
, METH_VARARGS
| METH_KEYWORDS
},
31461 { (char *)"Gauge_SetRange", (PyCFunction
) _wrap_Gauge_SetRange
, METH_VARARGS
| METH_KEYWORDS
},
31462 { (char *)"Gauge_GetRange", (PyCFunction
) _wrap_Gauge_GetRange
, METH_VARARGS
| METH_KEYWORDS
},
31463 { (char *)"Gauge_SetValue", (PyCFunction
) _wrap_Gauge_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
31464 { (char *)"Gauge_GetValue", (PyCFunction
) _wrap_Gauge_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
31465 { (char *)"Gauge_IsVertical", (PyCFunction
) _wrap_Gauge_IsVertical
, METH_VARARGS
| METH_KEYWORDS
},
31466 { (char *)"Gauge_SetShadowWidth", (PyCFunction
) _wrap_Gauge_SetShadowWidth
, METH_VARARGS
| METH_KEYWORDS
},
31467 { (char *)"Gauge_GetShadowWidth", (PyCFunction
) _wrap_Gauge_GetShadowWidth
, METH_VARARGS
| METH_KEYWORDS
},
31468 { (char *)"Gauge_SetBezelFace", (PyCFunction
) _wrap_Gauge_SetBezelFace
, METH_VARARGS
| METH_KEYWORDS
},
31469 { (char *)"Gauge_GetBezelFace", (PyCFunction
) _wrap_Gauge_GetBezelFace
, METH_VARARGS
| METH_KEYWORDS
},
31470 { (char *)"Gauge_GetClassDefaultAttributes", (PyCFunction
) _wrap_Gauge_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31471 { (char *)"Gauge_swigregister", Gauge_swigregister
, METH_VARARGS
},
31472 { (char *)"new_StaticBox", (PyCFunction
) _wrap_new_StaticBox
, METH_VARARGS
| METH_KEYWORDS
},
31473 { (char *)"new_PreStaticBox", (PyCFunction
) _wrap_new_PreStaticBox
, METH_VARARGS
| METH_KEYWORDS
},
31474 { (char *)"StaticBox_Create", (PyCFunction
) _wrap_StaticBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
31475 { (char *)"StaticBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_StaticBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31476 { (char *)"StaticBox_swigregister", StaticBox_swigregister
, METH_VARARGS
},
31477 { (char *)"new_StaticLine", (PyCFunction
) _wrap_new_StaticLine
, METH_VARARGS
| METH_KEYWORDS
},
31478 { (char *)"new_PreStaticLine", (PyCFunction
) _wrap_new_PreStaticLine
, METH_VARARGS
| METH_KEYWORDS
},
31479 { (char *)"StaticLine_Create", (PyCFunction
) _wrap_StaticLine_Create
, METH_VARARGS
| METH_KEYWORDS
},
31480 { (char *)"StaticLine_IsVertical", (PyCFunction
) _wrap_StaticLine_IsVertical
, METH_VARARGS
| METH_KEYWORDS
},
31481 { (char *)"StaticLine_GetDefaultSize", (PyCFunction
) _wrap_StaticLine_GetDefaultSize
, METH_VARARGS
| METH_KEYWORDS
},
31482 { (char *)"StaticLine_GetClassDefaultAttributes", (PyCFunction
) _wrap_StaticLine_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31483 { (char *)"StaticLine_swigregister", StaticLine_swigregister
, METH_VARARGS
},
31484 { (char *)"new_StaticText", (PyCFunction
) _wrap_new_StaticText
, METH_VARARGS
| METH_KEYWORDS
},
31485 { (char *)"new_PreStaticText", (PyCFunction
) _wrap_new_PreStaticText
, METH_VARARGS
| METH_KEYWORDS
},
31486 { (char *)"StaticText_Create", (PyCFunction
) _wrap_StaticText_Create
, METH_VARARGS
| METH_KEYWORDS
},
31487 { (char *)"StaticText_GetClassDefaultAttributes", (PyCFunction
) _wrap_StaticText_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31488 { (char *)"StaticText_swigregister", StaticText_swigregister
, METH_VARARGS
},
31489 { (char *)"new_StaticBitmap", (PyCFunction
) _wrap_new_StaticBitmap
, METH_VARARGS
| METH_KEYWORDS
},
31490 { (char *)"new_PreStaticBitmap", (PyCFunction
) _wrap_new_PreStaticBitmap
, METH_VARARGS
| METH_KEYWORDS
},
31491 { (char *)"StaticBitmap_Create", (PyCFunction
) _wrap_StaticBitmap_Create
, METH_VARARGS
| METH_KEYWORDS
},
31492 { (char *)"StaticBitmap_GetBitmap", (PyCFunction
) _wrap_StaticBitmap_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
31493 { (char *)"StaticBitmap_SetBitmap", (PyCFunction
) _wrap_StaticBitmap_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
31494 { (char *)"StaticBitmap_SetIcon", (PyCFunction
) _wrap_StaticBitmap_SetIcon
, METH_VARARGS
| METH_KEYWORDS
},
31495 { (char *)"StaticBitmap_GetClassDefaultAttributes", (PyCFunction
) _wrap_StaticBitmap_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31496 { (char *)"StaticBitmap_swigregister", StaticBitmap_swigregister
, METH_VARARGS
},
31497 { (char *)"new_ListBox", (PyCFunction
) _wrap_new_ListBox
, METH_VARARGS
| METH_KEYWORDS
},
31498 { (char *)"new_PreListBox", (PyCFunction
) _wrap_new_PreListBox
, METH_VARARGS
| METH_KEYWORDS
},
31499 { (char *)"ListBox_Create", (PyCFunction
) _wrap_ListBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
31500 { (char *)"ListBox_Insert", (PyCFunction
) _wrap_ListBox_Insert
, METH_VARARGS
| METH_KEYWORDS
},
31501 { (char *)"ListBox_InsertItems", (PyCFunction
) _wrap_ListBox_InsertItems
, METH_VARARGS
| METH_KEYWORDS
},
31502 { (char *)"ListBox_Set", (PyCFunction
) _wrap_ListBox_Set
, METH_VARARGS
| METH_KEYWORDS
},
31503 { (char *)"ListBox_IsSelected", (PyCFunction
) _wrap_ListBox_IsSelected
, METH_VARARGS
| METH_KEYWORDS
},
31504 { (char *)"ListBox_SetSelection", (PyCFunction
) _wrap_ListBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
31505 { (char *)"ListBox_Select", (PyCFunction
) _wrap_ListBox_Select
, METH_VARARGS
| METH_KEYWORDS
},
31506 { (char *)"ListBox_Deselect", (PyCFunction
) _wrap_ListBox_Deselect
, METH_VARARGS
| METH_KEYWORDS
},
31507 { (char *)"ListBox_DeselectAll", (PyCFunction
) _wrap_ListBox_DeselectAll
, METH_VARARGS
| METH_KEYWORDS
},
31508 { (char *)"ListBox_SetStringSelection", (PyCFunction
) _wrap_ListBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
31509 { (char *)"ListBox_GetSelections", (PyCFunction
) _wrap_ListBox_GetSelections
, METH_VARARGS
| METH_KEYWORDS
},
31510 { (char *)"ListBox_SetFirstItem", (PyCFunction
) _wrap_ListBox_SetFirstItem
, METH_VARARGS
| METH_KEYWORDS
},
31511 { (char *)"ListBox_SetFirstItemStr", (PyCFunction
) _wrap_ListBox_SetFirstItemStr
, METH_VARARGS
| METH_KEYWORDS
},
31512 { (char *)"ListBox_EnsureVisible", (PyCFunction
) _wrap_ListBox_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
},
31513 { (char *)"ListBox_AppendAndEnsureVisible", (PyCFunction
) _wrap_ListBox_AppendAndEnsureVisible
, METH_VARARGS
| METH_KEYWORDS
},
31514 { (char *)"ListBox_IsSorted", (PyCFunction
) _wrap_ListBox_IsSorted
, METH_VARARGS
| METH_KEYWORDS
},
31515 { (char *)"ListBox_SetItemForegroundColour", (PyCFunction
) _wrap_ListBox_SetItemForegroundColour
, METH_VARARGS
| METH_KEYWORDS
},
31516 { (char *)"ListBox_SetItemBackgroundColour", (PyCFunction
) _wrap_ListBox_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
31517 { (char *)"ListBox_SetItemFont", (PyCFunction
) _wrap_ListBox_SetItemFont
, METH_VARARGS
| METH_KEYWORDS
},
31518 { (char *)"ListBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_ListBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31519 { (char *)"ListBox_swigregister", ListBox_swigregister
, METH_VARARGS
},
31520 { (char *)"new_CheckListBox", (PyCFunction
) _wrap_new_CheckListBox
, METH_VARARGS
| METH_KEYWORDS
},
31521 { (char *)"new_PreCheckListBox", (PyCFunction
) _wrap_new_PreCheckListBox
, METH_VARARGS
| METH_KEYWORDS
},
31522 { (char *)"CheckListBox_Create", (PyCFunction
) _wrap_CheckListBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
31523 { (char *)"CheckListBox_IsChecked", (PyCFunction
) _wrap_CheckListBox_IsChecked
, METH_VARARGS
| METH_KEYWORDS
},
31524 { (char *)"CheckListBox_Check", (PyCFunction
) _wrap_CheckListBox_Check
, METH_VARARGS
| METH_KEYWORDS
},
31525 { (char *)"CheckListBox_GetItemHeight", (PyCFunction
) _wrap_CheckListBox_GetItemHeight
, METH_VARARGS
| METH_KEYWORDS
},
31526 { (char *)"CheckListBox_HitTest", (PyCFunction
) _wrap_CheckListBox_HitTest
, METH_VARARGS
| METH_KEYWORDS
},
31527 { (char *)"CheckListBox_HitTestXY", (PyCFunction
) _wrap_CheckListBox_HitTestXY
, METH_VARARGS
| METH_KEYWORDS
},
31528 { (char *)"CheckListBox_swigregister", CheckListBox_swigregister
, METH_VARARGS
},
31529 { (char *)"new_TextAttr", (PyCFunction
) _wrap_new_TextAttr
, METH_VARARGS
| METH_KEYWORDS
},
31530 { (char *)"delete_TextAttr", (PyCFunction
) _wrap_delete_TextAttr
, METH_VARARGS
| METH_KEYWORDS
},
31531 { (char *)"TextAttr_Init", (PyCFunction
) _wrap_TextAttr_Init
, METH_VARARGS
| METH_KEYWORDS
},
31532 { (char *)"TextAttr_SetTextColour", (PyCFunction
) _wrap_TextAttr_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
31533 { (char *)"TextAttr_SetBackgroundColour", (PyCFunction
) _wrap_TextAttr_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
31534 { (char *)"TextAttr_SetFont", (PyCFunction
) _wrap_TextAttr_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
31535 { (char *)"TextAttr_SetAlignment", (PyCFunction
) _wrap_TextAttr_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
},
31536 { (char *)"TextAttr_SetTabs", (PyCFunction
) _wrap_TextAttr_SetTabs
, METH_VARARGS
| METH_KEYWORDS
},
31537 { (char *)"TextAttr_SetLeftIndent", (PyCFunction
) _wrap_TextAttr_SetLeftIndent
, METH_VARARGS
| METH_KEYWORDS
},
31538 { (char *)"TextAttr_SetRightIndent", (PyCFunction
) _wrap_TextAttr_SetRightIndent
, METH_VARARGS
| METH_KEYWORDS
},
31539 { (char *)"TextAttr_SetFlags", (PyCFunction
) _wrap_TextAttr_SetFlags
, METH_VARARGS
| METH_KEYWORDS
},
31540 { (char *)"TextAttr_HasTextColour", (PyCFunction
) _wrap_TextAttr_HasTextColour
, METH_VARARGS
| METH_KEYWORDS
},
31541 { (char *)"TextAttr_HasBackgroundColour", (PyCFunction
) _wrap_TextAttr_HasBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
31542 { (char *)"TextAttr_HasFont", (PyCFunction
) _wrap_TextAttr_HasFont
, METH_VARARGS
| METH_KEYWORDS
},
31543 { (char *)"TextAttr_HasAlignment", (PyCFunction
) _wrap_TextAttr_HasAlignment
, METH_VARARGS
| METH_KEYWORDS
},
31544 { (char *)"TextAttr_HasTabs", (PyCFunction
) _wrap_TextAttr_HasTabs
, METH_VARARGS
| METH_KEYWORDS
},
31545 { (char *)"TextAttr_HasLeftIndent", (PyCFunction
) _wrap_TextAttr_HasLeftIndent
, METH_VARARGS
| METH_KEYWORDS
},
31546 { (char *)"TextAttr_HasRightIndent", (PyCFunction
) _wrap_TextAttr_HasRightIndent
, METH_VARARGS
| METH_KEYWORDS
},
31547 { (char *)"TextAttr_HasFlag", (PyCFunction
) _wrap_TextAttr_HasFlag
, METH_VARARGS
| METH_KEYWORDS
},
31548 { (char *)"TextAttr_GetTextColour", (PyCFunction
) _wrap_TextAttr_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
31549 { (char *)"TextAttr_GetBackgroundColour", (PyCFunction
) _wrap_TextAttr_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
31550 { (char *)"TextAttr_GetFont", (PyCFunction
) _wrap_TextAttr_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
31551 { (char *)"TextAttr_GetAlignment", (PyCFunction
) _wrap_TextAttr_GetAlignment
, METH_VARARGS
| METH_KEYWORDS
},
31552 { (char *)"TextAttr_GetTabs", (PyCFunction
) _wrap_TextAttr_GetTabs
, METH_VARARGS
| METH_KEYWORDS
},
31553 { (char *)"TextAttr_GetLeftIndent", (PyCFunction
) _wrap_TextAttr_GetLeftIndent
, METH_VARARGS
| METH_KEYWORDS
},
31554 { (char *)"TextAttr_GetLeftSubIndent", (PyCFunction
) _wrap_TextAttr_GetLeftSubIndent
, METH_VARARGS
| METH_KEYWORDS
},
31555 { (char *)"TextAttr_GetRightIndent", (PyCFunction
) _wrap_TextAttr_GetRightIndent
, METH_VARARGS
| METH_KEYWORDS
},
31556 { (char *)"TextAttr_GetFlags", (PyCFunction
) _wrap_TextAttr_GetFlags
, METH_VARARGS
| METH_KEYWORDS
},
31557 { (char *)"TextAttr_IsDefault", (PyCFunction
) _wrap_TextAttr_IsDefault
, METH_VARARGS
| METH_KEYWORDS
},
31558 { (char *)"TextAttr_Combine", (PyCFunction
) _wrap_TextAttr_Combine
, METH_VARARGS
| METH_KEYWORDS
},
31559 { (char *)"TextAttr_swigregister", TextAttr_swigregister
, METH_VARARGS
},
31560 { (char *)"new_TextCtrl", (PyCFunction
) _wrap_new_TextCtrl
, METH_VARARGS
| METH_KEYWORDS
},
31561 { (char *)"new_PreTextCtrl", (PyCFunction
) _wrap_new_PreTextCtrl
, METH_VARARGS
| METH_KEYWORDS
},
31562 { (char *)"TextCtrl_Create", (PyCFunction
) _wrap_TextCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
},
31563 { (char *)"TextCtrl_GetValue", (PyCFunction
) _wrap_TextCtrl_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
31564 { (char *)"TextCtrl_SetValue", (PyCFunction
) _wrap_TextCtrl_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
31565 { (char *)"TextCtrl_GetRange", (PyCFunction
) _wrap_TextCtrl_GetRange
, METH_VARARGS
| METH_KEYWORDS
},
31566 { (char *)"TextCtrl_GetLineLength", (PyCFunction
) _wrap_TextCtrl_GetLineLength
, METH_VARARGS
| METH_KEYWORDS
},
31567 { (char *)"TextCtrl_GetLineText", (PyCFunction
) _wrap_TextCtrl_GetLineText
, METH_VARARGS
| METH_KEYWORDS
},
31568 { (char *)"TextCtrl_GetNumberOfLines", (PyCFunction
) _wrap_TextCtrl_GetNumberOfLines
, METH_VARARGS
| METH_KEYWORDS
},
31569 { (char *)"TextCtrl_IsModified", (PyCFunction
) _wrap_TextCtrl_IsModified
, METH_VARARGS
| METH_KEYWORDS
},
31570 { (char *)"TextCtrl_IsEditable", (PyCFunction
) _wrap_TextCtrl_IsEditable
, METH_VARARGS
| METH_KEYWORDS
},
31571 { (char *)"TextCtrl_IsSingleLine", (PyCFunction
) _wrap_TextCtrl_IsSingleLine
, METH_VARARGS
| METH_KEYWORDS
},
31572 { (char *)"TextCtrl_IsMultiLine", (PyCFunction
) _wrap_TextCtrl_IsMultiLine
, METH_VARARGS
| METH_KEYWORDS
},
31573 { (char *)"TextCtrl_GetSelection", (PyCFunction
) _wrap_TextCtrl_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
31574 { (char *)"TextCtrl_GetStringSelection", (PyCFunction
) _wrap_TextCtrl_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
31575 { (char *)"TextCtrl_Clear", (PyCFunction
) _wrap_TextCtrl_Clear
, METH_VARARGS
| METH_KEYWORDS
},
31576 { (char *)"TextCtrl_Replace", (PyCFunction
) _wrap_TextCtrl_Replace
, METH_VARARGS
| METH_KEYWORDS
},
31577 { (char *)"TextCtrl_Remove", (PyCFunction
) _wrap_TextCtrl_Remove
, METH_VARARGS
| METH_KEYWORDS
},
31578 { (char *)"TextCtrl_LoadFile", (PyCFunction
) _wrap_TextCtrl_LoadFile
, METH_VARARGS
| METH_KEYWORDS
},
31579 { (char *)"TextCtrl_SaveFile", (PyCFunction
) _wrap_TextCtrl_SaveFile
, METH_VARARGS
| METH_KEYWORDS
},
31580 { (char *)"TextCtrl_MarkDirty", (PyCFunction
) _wrap_TextCtrl_MarkDirty
, METH_VARARGS
| METH_KEYWORDS
},
31581 { (char *)"TextCtrl_DiscardEdits", (PyCFunction
) _wrap_TextCtrl_DiscardEdits
, METH_VARARGS
| METH_KEYWORDS
},
31582 { (char *)"TextCtrl_SetMaxLength", (PyCFunction
) _wrap_TextCtrl_SetMaxLength
, METH_VARARGS
| METH_KEYWORDS
},
31583 { (char *)"TextCtrl_WriteText", (PyCFunction
) _wrap_TextCtrl_WriteText
, METH_VARARGS
| METH_KEYWORDS
},
31584 { (char *)"TextCtrl_AppendText", (PyCFunction
) _wrap_TextCtrl_AppendText
, METH_VARARGS
| METH_KEYWORDS
},
31585 { (char *)"TextCtrl_EmulateKeyPress", (PyCFunction
) _wrap_TextCtrl_EmulateKeyPress
, METH_VARARGS
| METH_KEYWORDS
},
31586 { (char *)"TextCtrl_SetStyle", (PyCFunction
) _wrap_TextCtrl_SetStyle
, METH_VARARGS
| METH_KEYWORDS
},
31587 { (char *)"TextCtrl_GetStyle", (PyCFunction
) _wrap_TextCtrl_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
31588 { (char *)"TextCtrl_SetDefaultStyle", (PyCFunction
) _wrap_TextCtrl_SetDefaultStyle
, METH_VARARGS
| METH_KEYWORDS
},
31589 { (char *)"TextCtrl_GetDefaultStyle", (PyCFunction
) _wrap_TextCtrl_GetDefaultStyle
, METH_VARARGS
| METH_KEYWORDS
},
31590 { (char *)"TextCtrl_XYToPosition", (PyCFunction
) _wrap_TextCtrl_XYToPosition
, METH_VARARGS
| METH_KEYWORDS
},
31591 { (char *)"TextCtrl_PositionToXY", (PyCFunction
) _wrap_TextCtrl_PositionToXY
, METH_VARARGS
| METH_KEYWORDS
},
31592 { (char *)"TextCtrl_ShowPosition", (PyCFunction
) _wrap_TextCtrl_ShowPosition
, METH_VARARGS
| METH_KEYWORDS
},
31593 { (char *)"TextCtrl_HitTest", (PyCFunction
) _wrap_TextCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
},
31594 { (char *)"TextCtrl_Copy", (PyCFunction
) _wrap_TextCtrl_Copy
, METH_VARARGS
| METH_KEYWORDS
},
31595 { (char *)"TextCtrl_Cut", (PyCFunction
) _wrap_TextCtrl_Cut
, METH_VARARGS
| METH_KEYWORDS
},
31596 { (char *)"TextCtrl_Paste", (PyCFunction
) _wrap_TextCtrl_Paste
, METH_VARARGS
| METH_KEYWORDS
},
31597 { (char *)"TextCtrl_CanCopy", (PyCFunction
) _wrap_TextCtrl_CanCopy
, METH_VARARGS
| METH_KEYWORDS
},
31598 { (char *)"TextCtrl_CanCut", (PyCFunction
) _wrap_TextCtrl_CanCut
, METH_VARARGS
| METH_KEYWORDS
},
31599 { (char *)"TextCtrl_CanPaste", (PyCFunction
) _wrap_TextCtrl_CanPaste
, METH_VARARGS
| METH_KEYWORDS
},
31600 { (char *)"TextCtrl_Undo", (PyCFunction
) _wrap_TextCtrl_Undo
, METH_VARARGS
| METH_KEYWORDS
},
31601 { (char *)"TextCtrl_Redo", (PyCFunction
) _wrap_TextCtrl_Redo
, METH_VARARGS
| METH_KEYWORDS
},
31602 { (char *)"TextCtrl_CanUndo", (PyCFunction
) _wrap_TextCtrl_CanUndo
, METH_VARARGS
| METH_KEYWORDS
},
31603 { (char *)"TextCtrl_CanRedo", (PyCFunction
) _wrap_TextCtrl_CanRedo
, METH_VARARGS
| METH_KEYWORDS
},
31604 { (char *)"TextCtrl_SetInsertionPoint", (PyCFunction
) _wrap_TextCtrl_SetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
},
31605 { (char *)"TextCtrl_SetInsertionPointEnd", (PyCFunction
) _wrap_TextCtrl_SetInsertionPointEnd
, METH_VARARGS
| METH_KEYWORDS
},
31606 { (char *)"TextCtrl_GetInsertionPoint", (PyCFunction
) _wrap_TextCtrl_GetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
},
31607 { (char *)"TextCtrl_GetLastPosition", (PyCFunction
) _wrap_TextCtrl_GetLastPosition
, METH_VARARGS
| METH_KEYWORDS
},
31608 { (char *)"TextCtrl_SetSelection", (PyCFunction
) _wrap_TextCtrl_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
31609 { (char *)"TextCtrl_SelectAll", (PyCFunction
) _wrap_TextCtrl_SelectAll
, METH_VARARGS
| METH_KEYWORDS
},
31610 { (char *)"TextCtrl_SetEditable", (PyCFunction
) _wrap_TextCtrl_SetEditable
, METH_VARARGS
| METH_KEYWORDS
},
31611 { (char *)"TextCtrl_ShowNativeCaret", (PyCFunction
) _wrap_TextCtrl_ShowNativeCaret
, METH_VARARGS
| METH_KEYWORDS
},
31612 { (char *)"TextCtrl_HideNativeCaret", (PyCFunction
) _wrap_TextCtrl_HideNativeCaret
, METH_VARARGS
| METH_KEYWORDS
},
31613 { (char *)"TextCtrl_write", (PyCFunction
) _wrap_TextCtrl_write
, METH_VARARGS
| METH_KEYWORDS
},
31614 { (char *)"TextCtrl_GetString", (PyCFunction
) _wrap_TextCtrl_GetString
, METH_VARARGS
| METH_KEYWORDS
},
31615 { (char *)"TextCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_TextCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31616 { (char *)"TextCtrl_swigregister", TextCtrl_swigregister
, METH_VARARGS
},
31617 { (char *)"new_TextUrlEvent", (PyCFunction
) _wrap_new_TextUrlEvent
, METH_VARARGS
| METH_KEYWORDS
},
31618 { (char *)"TextUrlEvent_GetMouseEvent", (PyCFunction
) _wrap_TextUrlEvent_GetMouseEvent
, METH_VARARGS
| METH_KEYWORDS
},
31619 { (char *)"TextUrlEvent_GetURLStart", (PyCFunction
) _wrap_TextUrlEvent_GetURLStart
, METH_VARARGS
| METH_KEYWORDS
},
31620 { (char *)"TextUrlEvent_GetURLEnd", (PyCFunction
) _wrap_TextUrlEvent_GetURLEnd
, METH_VARARGS
| METH_KEYWORDS
},
31621 { (char *)"TextUrlEvent_swigregister", TextUrlEvent_swigregister
, METH_VARARGS
},
31622 { (char *)"new_ScrollBar", (PyCFunction
) _wrap_new_ScrollBar
, METH_VARARGS
| METH_KEYWORDS
},
31623 { (char *)"new_PreScrollBar", (PyCFunction
) _wrap_new_PreScrollBar
, METH_VARARGS
| METH_KEYWORDS
},
31624 { (char *)"ScrollBar_Create", (PyCFunction
) _wrap_ScrollBar_Create
, METH_VARARGS
| METH_KEYWORDS
},
31625 { (char *)"ScrollBar_GetThumbPosition", (PyCFunction
) _wrap_ScrollBar_GetThumbPosition
, METH_VARARGS
| METH_KEYWORDS
},
31626 { (char *)"ScrollBar_GetThumbSize", (PyCFunction
) _wrap_ScrollBar_GetThumbSize
, METH_VARARGS
| METH_KEYWORDS
},
31627 { (char *)"ScrollBar_GetPageSize", (PyCFunction
) _wrap_ScrollBar_GetPageSize
, METH_VARARGS
| METH_KEYWORDS
},
31628 { (char *)"ScrollBar_GetRange", (PyCFunction
) _wrap_ScrollBar_GetRange
, METH_VARARGS
| METH_KEYWORDS
},
31629 { (char *)"ScrollBar_IsVertical", (PyCFunction
) _wrap_ScrollBar_IsVertical
, METH_VARARGS
| METH_KEYWORDS
},
31630 { (char *)"ScrollBar_SetThumbPosition", (PyCFunction
) _wrap_ScrollBar_SetThumbPosition
, METH_VARARGS
| METH_KEYWORDS
},
31631 { (char *)"ScrollBar_SetScrollbar", (PyCFunction
) _wrap_ScrollBar_SetScrollbar
, METH_VARARGS
| METH_KEYWORDS
},
31632 { (char *)"ScrollBar_GetClassDefaultAttributes", (PyCFunction
) _wrap_ScrollBar_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31633 { (char *)"ScrollBar_swigregister", ScrollBar_swigregister
, METH_VARARGS
},
31634 { (char *)"new_SpinButton", (PyCFunction
) _wrap_new_SpinButton
, METH_VARARGS
| METH_KEYWORDS
},
31635 { (char *)"new_PreSpinButton", (PyCFunction
) _wrap_new_PreSpinButton
, METH_VARARGS
| METH_KEYWORDS
},
31636 { (char *)"SpinButton_Create", (PyCFunction
) _wrap_SpinButton_Create
, METH_VARARGS
| METH_KEYWORDS
},
31637 { (char *)"SpinButton_GetValue", (PyCFunction
) _wrap_SpinButton_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
31638 { (char *)"SpinButton_GetMin", (PyCFunction
) _wrap_SpinButton_GetMin
, METH_VARARGS
| METH_KEYWORDS
},
31639 { (char *)"SpinButton_GetMax", (PyCFunction
) _wrap_SpinButton_GetMax
, METH_VARARGS
| METH_KEYWORDS
},
31640 { (char *)"SpinButton_SetValue", (PyCFunction
) _wrap_SpinButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
31641 { (char *)"SpinButton_SetMin", (PyCFunction
) _wrap_SpinButton_SetMin
, METH_VARARGS
| METH_KEYWORDS
},
31642 { (char *)"SpinButton_SetMax", (PyCFunction
) _wrap_SpinButton_SetMax
, METH_VARARGS
| METH_KEYWORDS
},
31643 { (char *)"SpinButton_SetRange", (PyCFunction
) _wrap_SpinButton_SetRange
, METH_VARARGS
| METH_KEYWORDS
},
31644 { (char *)"SpinButton_IsVertical", (PyCFunction
) _wrap_SpinButton_IsVertical
, METH_VARARGS
| METH_KEYWORDS
},
31645 { (char *)"SpinButton_GetClassDefaultAttributes", (PyCFunction
) _wrap_SpinButton_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31646 { (char *)"SpinButton_swigregister", SpinButton_swigregister
, METH_VARARGS
},
31647 { (char *)"new_SpinCtrl", (PyCFunction
) _wrap_new_SpinCtrl
, METH_VARARGS
| METH_KEYWORDS
},
31648 { (char *)"new_PreSpinCtrl", (PyCFunction
) _wrap_new_PreSpinCtrl
, METH_VARARGS
| METH_KEYWORDS
},
31649 { (char *)"SpinCtrl_Create", (PyCFunction
) _wrap_SpinCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
},
31650 { (char *)"SpinCtrl_GetValue", (PyCFunction
) _wrap_SpinCtrl_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
31651 { (char *)"SpinCtrl_SetValue", (PyCFunction
) _wrap_SpinCtrl_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
31652 { (char *)"SpinCtrl_SetValueString", (PyCFunction
) _wrap_SpinCtrl_SetValueString
, METH_VARARGS
| METH_KEYWORDS
},
31653 { (char *)"SpinCtrl_SetRange", (PyCFunction
) _wrap_SpinCtrl_SetRange
, METH_VARARGS
| METH_KEYWORDS
},
31654 { (char *)"SpinCtrl_GetMin", (PyCFunction
) _wrap_SpinCtrl_GetMin
, METH_VARARGS
| METH_KEYWORDS
},
31655 { (char *)"SpinCtrl_GetMax", (PyCFunction
) _wrap_SpinCtrl_GetMax
, METH_VARARGS
| METH_KEYWORDS
},
31656 { (char *)"SpinCtrl_SetSelection", (PyCFunction
) _wrap_SpinCtrl_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
31657 { (char *)"SpinCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_SpinCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31658 { (char *)"SpinCtrl_swigregister", SpinCtrl_swigregister
, METH_VARARGS
},
31659 { (char *)"new_SpinEvent", (PyCFunction
) _wrap_new_SpinEvent
, METH_VARARGS
| METH_KEYWORDS
},
31660 { (char *)"SpinEvent_GetPosition", (PyCFunction
) _wrap_SpinEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
31661 { (char *)"SpinEvent_SetPosition", (PyCFunction
) _wrap_SpinEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
},
31662 { (char *)"SpinEvent_swigregister", SpinEvent_swigregister
, METH_VARARGS
},
31663 { (char *)"new_RadioBox", (PyCFunction
) _wrap_new_RadioBox
, METH_VARARGS
| METH_KEYWORDS
},
31664 { (char *)"new_PreRadioBox", (PyCFunction
) _wrap_new_PreRadioBox
, METH_VARARGS
| METH_KEYWORDS
},
31665 { (char *)"RadioBox_Create", (PyCFunction
) _wrap_RadioBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
31666 { (char *)"RadioBox_SetSelection", (PyCFunction
) _wrap_RadioBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
31667 { (char *)"RadioBox_GetSelection", (PyCFunction
) _wrap_RadioBox_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
31668 { (char *)"RadioBox_GetStringSelection", (PyCFunction
) _wrap_RadioBox_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
31669 { (char *)"RadioBox_SetStringSelection", (PyCFunction
) _wrap_RadioBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
31670 { (char *)"RadioBox_GetCount", (PyCFunction
) _wrap_RadioBox_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
31671 { (char *)"RadioBox_FindString", (PyCFunction
) _wrap_RadioBox_FindString
, METH_VARARGS
| METH_KEYWORDS
},
31672 { (char *)"RadioBox_GetString", (PyCFunction
) _wrap_RadioBox_GetString
, METH_VARARGS
| METH_KEYWORDS
},
31673 { (char *)"RadioBox_SetString", (PyCFunction
) _wrap_RadioBox_SetString
, METH_VARARGS
| METH_KEYWORDS
},
31674 { (char *)"RadioBox_EnableItem", (PyCFunction
) _wrap_RadioBox_EnableItem
, METH_VARARGS
| METH_KEYWORDS
},
31675 { (char *)"RadioBox_ShowItem", (PyCFunction
) _wrap_RadioBox_ShowItem
, METH_VARARGS
| METH_KEYWORDS
},
31676 { (char *)"RadioBox_GetColumnCount", (PyCFunction
) _wrap_RadioBox_GetColumnCount
, METH_VARARGS
| METH_KEYWORDS
},
31677 { (char *)"RadioBox_GetRowCount", (PyCFunction
) _wrap_RadioBox_GetRowCount
, METH_VARARGS
| METH_KEYWORDS
},
31678 { (char *)"RadioBox_GetNextItem", (PyCFunction
) _wrap_RadioBox_GetNextItem
, METH_VARARGS
| METH_KEYWORDS
},
31679 { (char *)"RadioBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_RadioBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31680 { (char *)"RadioBox_swigregister", RadioBox_swigregister
, METH_VARARGS
},
31681 { (char *)"new_RadioButton", (PyCFunction
) _wrap_new_RadioButton
, METH_VARARGS
| METH_KEYWORDS
},
31682 { (char *)"new_PreRadioButton", (PyCFunction
) _wrap_new_PreRadioButton
, METH_VARARGS
| METH_KEYWORDS
},
31683 { (char *)"RadioButton_Create", (PyCFunction
) _wrap_RadioButton_Create
, METH_VARARGS
| METH_KEYWORDS
},
31684 { (char *)"RadioButton_GetValue", (PyCFunction
) _wrap_RadioButton_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
31685 { (char *)"RadioButton_SetValue", (PyCFunction
) _wrap_RadioButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
31686 { (char *)"RadioButton_GetClassDefaultAttributes", (PyCFunction
) _wrap_RadioButton_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31687 { (char *)"RadioButton_swigregister", RadioButton_swigregister
, METH_VARARGS
},
31688 { (char *)"new_Slider", (PyCFunction
) _wrap_new_Slider
, METH_VARARGS
| METH_KEYWORDS
},
31689 { (char *)"new_PreSlider", (PyCFunction
) _wrap_new_PreSlider
, METH_VARARGS
| METH_KEYWORDS
},
31690 { (char *)"Slider_Create", (PyCFunction
) _wrap_Slider_Create
, METH_VARARGS
| METH_KEYWORDS
},
31691 { (char *)"Slider_GetValue", (PyCFunction
) _wrap_Slider_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
31692 { (char *)"Slider_SetValue", (PyCFunction
) _wrap_Slider_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
31693 { (char *)"Slider_SetRange", (PyCFunction
) _wrap_Slider_SetRange
, METH_VARARGS
| METH_KEYWORDS
},
31694 { (char *)"Slider_GetMin", (PyCFunction
) _wrap_Slider_GetMin
, METH_VARARGS
| METH_KEYWORDS
},
31695 { (char *)"Slider_GetMax", (PyCFunction
) _wrap_Slider_GetMax
, METH_VARARGS
| METH_KEYWORDS
},
31696 { (char *)"Slider_SetMin", (PyCFunction
) _wrap_Slider_SetMin
, METH_VARARGS
| METH_KEYWORDS
},
31697 { (char *)"Slider_SetMax", (PyCFunction
) _wrap_Slider_SetMax
, METH_VARARGS
| METH_KEYWORDS
},
31698 { (char *)"Slider_SetLineSize", (PyCFunction
) _wrap_Slider_SetLineSize
, METH_VARARGS
| METH_KEYWORDS
},
31699 { (char *)"Slider_SetPageSize", (PyCFunction
) _wrap_Slider_SetPageSize
, METH_VARARGS
| METH_KEYWORDS
},
31700 { (char *)"Slider_GetLineSize", (PyCFunction
) _wrap_Slider_GetLineSize
, METH_VARARGS
| METH_KEYWORDS
},
31701 { (char *)"Slider_GetPageSize", (PyCFunction
) _wrap_Slider_GetPageSize
, METH_VARARGS
| METH_KEYWORDS
},
31702 { (char *)"Slider_SetThumbLength", (PyCFunction
) _wrap_Slider_SetThumbLength
, METH_VARARGS
| METH_KEYWORDS
},
31703 { (char *)"Slider_GetThumbLength", (PyCFunction
) _wrap_Slider_GetThumbLength
, METH_VARARGS
| METH_KEYWORDS
},
31704 { (char *)"Slider_SetTickFreq", (PyCFunction
) _wrap_Slider_SetTickFreq
, METH_VARARGS
| METH_KEYWORDS
},
31705 { (char *)"Slider_GetTickFreq", (PyCFunction
) _wrap_Slider_GetTickFreq
, METH_VARARGS
| METH_KEYWORDS
},
31706 { (char *)"Slider_ClearTicks", (PyCFunction
) _wrap_Slider_ClearTicks
, METH_VARARGS
| METH_KEYWORDS
},
31707 { (char *)"Slider_SetTick", (PyCFunction
) _wrap_Slider_SetTick
, METH_VARARGS
| METH_KEYWORDS
},
31708 { (char *)"Slider_ClearSel", (PyCFunction
) _wrap_Slider_ClearSel
, METH_VARARGS
| METH_KEYWORDS
},
31709 { (char *)"Slider_GetSelEnd", (PyCFunction
) _wrap_Slider_GetSelEnd
, METH_VARARGS
| METH_KEYWORDS
},
31710 { (char *)"Slider_GetSelStart", (PyCFunction
) _wrap_Slider_GetSelStart
, METH_VARARGS
| METH_KEYWORDS
},
31711 { (char *)"Slider_SetSelection", (PyCFunction
) _wrap_Slider_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
31712 { (char *)"Slider_GetClassDefaultAttributes", (PyCFunction
) _wrap_Slider_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31713 { (char *)"Slider_swigregister", Slider_swigregister
, METH_VARARGS
},
31714 { (char *)"new_ToggleButton", (PyCFunction
) _wrap_new_ToggleButton
, METH_VARARGS
| METH_KEYWORDS
},
31715 { (char *)"new_PreToggleButton", (PyCFunction
) _wrap_new_PreToggleButton
, METH_VARARGS
| METH_KEYWORDS
},
31716 { (char *)"ToggleButton_Create", (PyCFunction
) _wrap_ToggleButton_Create
, METH_VARARGS
| METH_KEYWORDS
},
31717 { (char *)"ToggleButton_SetValue", (PyCFunction
) _wrap_ToggleButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
31718 { (char *)"ToggleButton_GetValue", (PyCFunction
) _wrap_ToggleButton_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
31719 { (char *)"ToggleButton_SetLabel", (PyCFunction
) _wrap_ToggleButton_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
31720 { (char *)"ToggleButton_GetClassDefaultAttributes", (PyCFunction
) _wrap_ToggleButton_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31721 { (char *)"ToggleButton_swigregister", ToggleButton_swigregister
, METH_VARARGS
},
31722 { (char *)"BookCtrl_GetPageCount", (PyCFunction
) _wrap_BookCtrl_GetPageCount
, METH_VARARGS
| METH_KEYWORDS
},
31723 { (char *)"BookCtrl_GetPage", (PyCFunction
) _wrap_BookCtrl_GetPage
, METH_VARARGS
| METH_KEYWORDS
},
31724 { (char *)"BookCtrl_GetSelection", (PyCFunction
) _wrap_BookCtrl_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
31725 { (char *)"BookCtrl_SetPageText", (PyCFunction
) _wrap_BookCtrl_SetPageText
, METH_VARARGS
| METH_KEYWORDS
},
31726 { (char *)"BookCtrl_GetPageText", (PyCFunction
) _wrap_BookCtrl_GetPageText
, METH_VARARGS
| METH_KEYWORDS
},
31727 { (char *)"BookCtrl_SetImageList", (PyCFunction
) _wrap_BookCtrl_SetImageList
, METH_VARARGS
| METH_KEYWORDS
},
31728 { (char *)"BookCtrl_AssignImageList", (PyCFunction
) _wrap_BookCtrl_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
},
31729 { (char *)"BookCtrl_GetImageList", (PyCFunction
) _wrap_BookCtrl_GetImageList
, METH_VARARGS
| METH_KEYWORDS
},
31730 { (char *)"BookCtrl_GetPageImage", (PyCFunction
) _wrap_BookCtrl_GetPageImage
, METH_VARARGS
| METH_KEYWORDS
},
31731 { (char *)"BookCtrl_SetPageImage", (PyCFunction
) _wrap_BookCtrl_SetPageImage
, METH_VARARGS
| METH_KEYWORDS
},
31732 { (char *)"BookCtrl_SetPageSize", (PyCFunction
) _wrap_BookCtrl_SetPageSize
, METH_VARARGS
| METH_KEYWORDS
},
31733 { (char *)"BookCtrl_CalcSizeFromPage", (PyCFunction
) _wrap_BookCtrl_CalcSizeFromPage
, METH_VARARGS
| METH_KEYWORDS
},
31734 { (char *)"BookCtrl_DeletePage", (PyCFunction
) _wrap_BookCtrl_DeletePage
, METH_VARARGS
| METH_KEYWORDS
},
31735 { (char *)"BookCtrl_RemovePage", (PyCFunction
) _wrap_BookCtrl_RemovePage
, METH_VARARGS
| METH_KEYWORDS
},
31736 { (char *)"BookCtrl_DeleteAllPages", (PyCFunction
) _wrap_BookCtrl_DeleteAllPages
, METH_VARARGS
| METH_KEYWORDS
},
31737 { (char *)"BookCtrl_AddPage", (PyCFunction
) _wrap_BookCtrl_AddPage
, METH_VARARGS
| METH_KEYWORDS
},
31738 { (char *)"BookCtrl_InsertPage", (PyCFunction
) _wrap_BookCtrl_InsertPage
, METH_VARARGS
| METH_KEYWORDS
},
31739 { (char *)"BookCtrl_SetSelection", (PyCFunction
) _wrap_BookCtrl_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
31740 { (char *)"BookCtrl_AdvanceSelection", (PyCFunction
) _wrap_BookCtrl_AdvanceSelection
, METH_VARARGS
| METH_KEYWORDS
},
31741 { (char *)"BookCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_BookCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31742 { (char *)"BookCtrl_swigregister", BookCtrl_swigregister
, METH_VARARGS
},
31743 { (char *)"new_BookCtrlEvent", (PyCFunction
) _wrap_new_BookCtrlEvent
, METH_VARARGS
| METH_KEYWORDS
},
31744 { (char *)"BookCtrlEvent_GetSelection", (PyCFunction
) _wrap_BookCtrlEvent_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
31745 { (char *)"BookCtrlEvent_SetSelection", (PyCFunction
) _wrap_BookCtrlEvent_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
31746 { (char *)"BookCtrlEvent_GetOldSelection", (PyCFunction
) _wrap_BookCtrlEvent_GetOldSelection
, METH_VARARGS
| METH_KEYWORDS
},
31747 { (char *)"BookCtrlEvent_SetOldSelection", (PyCFunction
) _wrap_BookCtrlEvent_SetOldSelection
, METH_VARARGS
| METH_KEYWORDS
},
31748 { (char *)"BookCtrlEvent_swigregister", BookCtrlEvent_swigregister
, METH_VARARGS
},
31749 { (char *)"new_Notebook", (PyCFunction
) _wrap_new_Notebook
, METH_VARARGS
| METH_KEYWORDS
},
31750 { (char *)"new_PreNotebook", (PyCFunction
) _wrap_new_PreNotebook
, METH_VARARGS
| METH_KEYWORDS
},
31751 { (char *)"Notebook_Create", (PyCFunction
) _wrap_Notebook_Create
, METH_VARARGS
| METH_KEYWORDS
},
31752 { (char *)"Notebook_GetRowCount", (PyCFunction
) _wrap_Notebook_GetRowCount
, METH_VARARGS
| METH_KEYWORDS
},
31753 { (char *)"Notebook_SetPadding", (PyCFunction
) _wrap_Notebook_SetPadding
, METH_VARARGS
| METH_KEYWORDS
},
31754 { (char *)"Notebook_SetTabSize", (PyCFunction
) _wrap_Notebook_SetTabSize
, METH_VARARGS
| METH_KEYWORDS
},
31755 { (char *)"Notebook_HitTest", (PyCFunction
) _wrap_Notebook_HitTest
, METH_VARARGS
| METH_KEYWORDS
},
31756 { (char *)"Notebook_CalcSizeFromPage", (PyCFunction
) _wrap_Notebook_CalcSizeFromPage
, METH_VARARGS
| METH_KEYWORDS
},
31757 { (char *)"Notebook_ApplyThemeBackground", (PyCFunction
) _wrap_Notebook_ApplyThemeBackground
, METH_VARARGS
| METH_KEYWORDS
},
31758 { (char *)"Notebook_GetClassDefaultAttributes", (PyCFunction
) _wrap_Notebook_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31759 { (char *)"Notebook_swigregister", Notebook_swigregister
, METH_VARARGS
},
31760 { (char *)"new_NotebookEvent", (PyCFunction
) _wrap_new_NotebookEvent
, METH_VARARGS
| METH_KEYWORDS
},
31761 { (char *)"NotebookEvent_swigregister", NotebookEvent_swigregister
, METH_VARARGS
},
31762 { (char *)"new_Listbook", (PyCFunction
) _wrap_new_Listbook
, METH_VARARGS
| METH_KEYWORDS
},
31763 { (char *)"new_PreListbook", (PyCFunction
) _wrap_new_PreListbook
, METH_VARARGS
| METH_KEYWORDS
},
31764 { (char *)"Listbook_Create", (PyCFunction
) _wrap_Listbook_Create
, METH_VARARGS
| METH_KEYWORDS
},
31765 { (char *)"Listbook_IsVertical", (PyCFunction
) _wrap_Listbook_IsVertical
, METH_VARARGS
| METH_KEYWORDS
},
31766 { (char *)"Listbook_swigregister", Listbook_swigregister
, METH_VARARGS
},
31767 { (char *)"new_ListbookEvent", (PyCFunction
) _wrap_new_ListbookEvent
, METH_VARARGS
| METH_KEYWORDS
},
31768 { (char *)"ListbookEvent_swigregister", ListbookEvent_swigregister
, METH_VARARGS
},
31769 { (char *)"new_BookCtrlSizer", (PyCFunction
) _wrap_new_BookCtrlSizer
, METH_VARARGS
| METH_KEYWORDS
},
31770 { (char *)"BookCtrlSizer_RecalcSizes", (PyCFunction
) _wrap_BookCtrlSizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
},
31771 { (char *)"BookCtrlSizer_CalcMin", (PyCFunction
) _wrap_BookCtrlSizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
},
31772 { (char *)"BookCtrlSizer_GetControl", (PyCFunction
) _wrap_BookCtrlSizer_GetControl
, METH_VARARGS
| METH_KEYWORDS
},
31773 { (char *)"BookCtrlSizer_swigregister", BookCtrlSizer_swigregister
, METH_VARARGS
},
31774 { (char *)"new_NotebookSizer", (PyCFunction
) _wrap_new_NotebookSizer
, METH_VARARGS
| METH_KEYWORDS
},
31775 { (char *)"NotebookSizer_RecalcSizes", (PyCFunction
) _wrap_NotebookSizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
},
31776 { (char *)"NotebookSizer_CalcMin", (PyCFunction
) _wrap_NotebookSizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
},
31777 { (char *)"NotebookSizer_GetNotebook", (PyCFunction
) _wrap_NotebookSizer_GetNotebook
, METH_VARARGS
| METH_KEYWORDS
},
31778 { (char *)"NotebookSizer_swigregister", NotebookSizer_swigregister
, METH_VARARGS
},
31779 { (char *)"ToolBarToolBase_GetId", (PyCFunction
) _wrap_ToolBarToolBase_GetId
, METH_VARARGS
| METH_KEYWORDS
},
31780 { (char *)"ToolBarToolBase_GetControl", (PyCFunction
) _wrap_ToolBarToolBase_GetControl
, METH_VARARGS
| METH_KEYWORDS
},
31781 { (char *)"ToolBarToolBase_GetToolBar", (PyCFunction
) _wrap_ToolBarToolBase_GetToolBar
, METH_VARARGS
| METH_KEYWORDS
},
31782 { (char *)"ToolBarToolBase_IsButton", (PyCFunction
) _wrap_ToolBarToolBase_IsButton
, METH_VARARGS
| METH_KEYWORDS
},
31783 { (char *)"ToolBarToolBase_IsControl", (PyCFunction
) _wrap_ToolBarToolBase_IsControl
, METH_VARARGS
| METH_KEYWORDS
},
31784 { (char *)"ToolBarToolBase_IsSeparator", (PyCFunction
) _wrap_ToolBarToolBase_IsSeparator
, METH_VARARGS
| METH_KEYWORDS
},
31785 { (char *)"ToolBarToolBase_GetStyle", (PyCFunction
) _wrap_ToolBarToolBase_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
31786 { (char *)"ToolBarToolBase_GetKind", (PyCFunction
) _wrap_ToolBarToolBase_GetKind
, METH_VARARGS
| METH_KEYWORDS
},
31787 { (char *)"ToolBarToolBase_IsEnabled", (PyCFunction
) _wrap_ToolBarToolBase_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
},
31788 { (char *)"ToolBarToolBase_IsToggled", (PyCFunction
) _wrap_ToolBarToolBase_IsToggled
, METH_VARARGS
| METH_KEYWORDS
},
31789 { (char *)"ToolBarToolBase_CanBeToggled", (PyCFunction
) _wrap_ToolBarToolBase_CanBeToggled
, METH_VARARGS
| METH_KEYWORDS
},
31790 { (char *)"ToolBarToolBase_GetNormalBitmap", (PyCFunction
) _wrap_ToolBarToolBase_GetNormalBitmap
, METH_VARARGS
| METH_KEYWORDS
},
31791 { (char *)"ToolBarToolBase_GetDisabledBitmap", (PyCFunction
) _wrap_ToolBarToolBase_GetDisabledBitmap
, METH_VARARGS
| METH_KEYWORDS
},
31792 { (char *)"ToolBarToolBase_GetBitmap", (PyCFunction
) _wrap_ToolBarToolBase_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
31793 { (char *)"ToolBarToolBase_GetLabel", (PyCFunction
) _wrap_ToolBarToolBase_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
31794 { (char *)"ToolBarToolBase_GetShortHelp", (PyCFunction
) _wrap_ToolBarToolBase_GetShortHelp
, METH_VARARGS
| METH_KEYWORDS
},
31795 { (char *)"ToolBarToolBase_GetLongHelp", (PyCFunction
) _wrap_ToolBarToolBase_GetLongHelp
, METH_VARARGS
| METH_KEYWORDS
},
31796 { (char *)"ToolBarToolBase_Enable", (PyCFunction
) _wrap_ToolBarToolBase_Enable
, METH_VARARGS
| METH_KEYWORDS
},
31797 { (char *)"ToolBarToolBase_Toggle", (PyCFunction
) _wrap_ToolBarToolBase_Toggle
, METH_VARARGS
| METH_KEYWORDS
},
31798 { (char *)"ToolBarToolBase_SetToggle", (PyCFunction
) _wrap_ToolBarToolBase_SetToggle
, METH_VARARGS
| METH_KEYWORDS
},
31799 { (char *)"ToolBarToolBase_SetShortHelp", (PyCFunction
) _wrap_ToolBarToolBase_SetShortHelp
, METH_VARARGS
| METH_KEYWORDS
},
31800 { (char *)"ToolBarToolBase_SetLongHelp", (PyCFunction
) _wrap_ToolBarToolBase_SetLongHelp
, METH_VARARGS
| METH_KEYWORDS
},
31801 { (char *)"ToolBarToolBase_SetNormalBitmap", (PyCFunction
) _wrap_ToolBarToolBase_SetNormalBitmap
, METH_VARARGS
| METH_KEYWORDS
},
31802 { (char *)"ToolBarToolBase_SetDisabledBitmap", (PyCFunction
) _wrap_ToolBarToolBase_SetDisabledBitmap
, METH_VARARGS
| METH_KEYWORDS
},
31803 { (char *)"ToolBarToolBase_SetLabel", (PyCFunction
) _wrap_ToolBarToolBase_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
31804 { (char *)"ToolBarToolBase_Detach", (PyCFunction
) _wrap_ToolBarToolBase_Detach
, METH_VARARGS
| METH_KEYWORDS
},
31805 { (char *)"ToolBarToolBase_Attach", (PyCFunction
) _wrap_ToolBarToolBase_Attach
, METH_VARARGS
| METH_KEYWORDS
},
31806 { (char *)"ToolBarToolBase_GetClientData", (PyCFunction
) _wrap_ToolBarToolBase_GetClientData
, METH_VARARGS
| METH_KEYWORDS
},
31807 { (char *)"ToolBarToolBase_SetClientData", (PyCFunction
) _wrap_ToolBarToolBase_SetClientData
, METH_VARARGS
| METH_KEYWORDS
},
31808 { (char *)"ToolBarToolBase_swigregister", ToolBarToolBase_swigregister
, METH_VARARGS
},
31809 { (char *)"ToolBarBase_DoAddTool", (PyCFunction
) _wrap_ToolBarBase_DoAddTool
, METH_VARARGS
| METH_KEYWORDS
},
31810 { (char *)"ToolBarBase_DoInsertTool", (PyCFunction
) _wrap_ToolBarBase_DoInsertTool
, METH_VARARGS
| METH_KEYWORDS
},
31811 { (char *)"ToolBarBase_AddToolItem", (PyCFunction
) _wrap_ToolBarBase_AddToolItem
, METH_VARARGS
| METH_KEYWORDS
},
31812 { (char *)"ToolBarBase_InsertToolItem", (PyCFunction
) _wrap_ToolBarBase_InsertToolItem
, METH_VARARGS
| METH_KEYWORDS
},
31813 { (char *)"ToolBarBase_AddControl", (PyCFunction
) _wrap_ToolBarBase_AddControl
, METH_VARARGS
| METH_KEYWORDS
},
31814 { (char *)"ToolBarBase_InsertControl", (PyCFunction
) _wrap_ToolBarBase_InsertControl
, METH_VARARGS
| METH_KEYWORDS
},
31815 { (char *)"ToolBarBase_FindControl", (PyCFunction
) _wrap_ToolBarBase_FindControl
, METH_VARARGS
| METH_KEYWORDS
},
31816 { (char *)"ToolBarBase_AddSeparator", (PyCFunction
) _wrap_ToolBarBase_AddSeparator
, METH_VARARGS
| METH_KEYWORDS
},
31817 { (char *)"ToolBarBase_InsertSeparator", (PyCFunction
) _wrap_ToolBarBase_InsertSeparator
, METH_VARARGS
| METH_KEYWORDS
},
31818 { (char *)"ToolBarBase_RemoveTool", (PyCFunction
) _wrap_ToolBarBase_RemoveTool
, METH_VARARGS
| METH_KEYWORDS
},
31819 { (char *)"ToolBarBase_DeleteToolByPos", (PyCFunction
) _wrap_ToolBarBase_DeleteToolByPos
, METH_VARARGS
| METH_KEYWORDS
},
31820 { (char *)"ToolBarBase_DeleteTool", (PyCFunction
) _wrap_ToolBarBase_DeleteTool
, METH_VARARGS
| METH_KEYWORDS
},
31821 { (char *)"ToolBarBase_ClearTools", (PyCFunction
) _wrap_ToolBarBase_ClearTools
, METH_VARARGS
| METH_KEYWORDS
},
31822 { (char *)"ToolBarBase_Realize", (PyCFunction
) _wrap_ToolBarBase_Realize
, METH_VARARGS
| METH_KEYWORDS
},
31823 { (char *)"ToolBarBase_EnableTool", (PyCFunction
) _wrap_ToolBarBase_EnableTool
, METH_VARARGS
| METH_KEYWORDS
},
31824 { (char *)"ToolBarBase_ToggleTool", (PyCFunction
) _wrap_ToolBarBase_ToggleTool
, METH_VARARGS
| METH_KEYWORDS
},
31825 { (char *)"ToolBarBase_SetToggle", (PyCFunction
) _wrap_ToolBarBase_SetToggle
, METH_VARARGS
| METH_KEYWORDS
},
31826 { (char *)"ToolBarBase_GetToolClientData", (PyCFunction
) _wrap_ToolBarBase_GetToolClientData
, METH_VARARGS
| METH_KEYWORDS
},
31827 { (char *)"ToolBarBase_SetToolClientData", (PyCFunction
) _wrap_ToolBarBase_SetToolClientData
, METH_VARARGS
| METH_KEYWORDS
},
31828 { (char *)"ToolBarBase_GetToolPos", (PyCFunction
) _wrap_ToolBarBase_GetToolPos
, METH_VARARGS
| METH_KEYWORDS
},
31829 { (char *)"ToolBarBase_GetToolState", (PyCFunction
) _wrap_ToolBarBase_GetToolState
, METH_VARARGS
| METH_KEYWORDS
},
31830 { (char *)"ToolBarBase_GetToolEnabled", (PyCFunction
) _wrap_ToolBarBase_GetToolEnabled
, METH_VARARGS
| METH_KEYWORDS
},
31831 { (char *)"ToolBarBase_SetToolShortHelp", (PyCFunction
) _wrap_ToolBarBase_SetToolShortHelp
, METH_VARARGS
| METH_KEYWORDS
},
31832 { (char *)"ToolBarBase_GetToolShortHelp", (PyCFunction
) _wrap_ToolBarBase_GetToolShortHelp
, METH_VARARGS
| METH_KEYWORDS
},
31833 { (char *)"ToolBarBase_SetToolLongHelp", (PyCFunction
) _wrap_ToolBarBase_SetToolLongHelp
, METH_VARARGS
| METH_KEYWORDS
},
31834 { (char *)"ToolBarBase_GetToolLongHelp", (PyCFunction
) _wrap_ToolBarBase_GetToolLongHelp
, METH_VARARGS
| METH_KEYWORDS
},
31835 { (char *)"ToolBarBase_SetMarginsXY", (PyCFunction
) _wrap_ToolBarBase_SetMarginsXY
, METH_VARARGS
| METH_KEYWORDS
},
31836 { (char *)"ToolBarBase_SetMargins", (PyCFunction
) _wrap_ToolBarBase_SetMargins
, METH_VARARGS
| METH_KEYWORDS
},
31837 { (char *)"ToolBarBase_SetToolPacking", (PyCFunction
) _wrap_ToolBarBase_SetToolPacking
, METH_VARARGS
| METH_KEYWORDS
},
31838 { (char *)"ToolBarBase_SetToolSeparation", (PyCFunction
) _wrap_ToolBarBase_SetToolSeparation
, METH_VARARGS
| METH_KEYWORDS
},
31839 { (char *)"ToolBarBase_GetToolMargins", (PyCFunction
) _wrap_ToolBarBase_GetToolMargins
, METH_VARARGS
| METH_KEYWORDS
},
31840 { (char *)"ToolBarBase_GetMargins", (PyCFunction
) _wrap_ToolBarBase_GetMargins
, METH_VARARGS
| METH_KEYWORDS
},
31841 { (char *)"ToolBarBase_GetToolPacking", (PyCFunction
) _wrap_ToolBarBase_GetToolPacking
, METH_VARARGS
| METH_KEYWORDS
},
31842 { (char *)"ToolBarBase_GetToolSeparation", (PyCFunction
) _wrap_ToolBarBase_GetToolSeparation
, METH_VARARGS
| METH_KEYWORDS
},
31843 { (char *)"ToolBarBase_SetRows", (PyCFunction
) _wrap_ToolBarBase_SetRows
, METH_VARARGS
| METH_KEYWORDS
},
31844 { (char *)"ToolBarBase_SetMaxRowsCols", (PyCFunction
) _wrap_ToolBarBase_SetMaxRowsCols
, METH_VARARGS
| METH_KEYWORDS
},
31845 { (char *)"ToolBarBase_GetMaxRows", (PyCFunction
) _wrap_ToolBarBase_GetMaxRows
, METH_VARARGS
| METH_KEYWORDS
},
31846 { (char *)"ToolBarBase_GetMaxCols", (PyCFunction
) _wrap_ToolBarBase_GetMaxCols
, METH_VARARGS
| METH_KEYWORDS
},
31847 { (char *)"ToolBarBase_SetToolBitmapSize", (PyCFunction
) _wrap_ToolBarBase_SetToolBitmapSize
, METH_VARARGS
| METH_KEYWORDS
},
31848 { (char *)"ToolBarBase_GetToolBitmapSize", (PyCFunction
) _wrap_ToolBarBase_GetToolBitmapSize
, METH_VARARGS
| METH_KEYWORDS
},
31849 { (char *)"ToolBarBase_GetToolSize", (PyCFunction
) _wrap_ToolBarBase_GetToolSize
, METH_VARARGS
| METH_KEYWORDS
},
31850 { (char *)"ToolBarBase_FindToolForPosition", (PyCFunction
) _wrap_ToolBarBase_FindToolForPosition
, METH_VARARGS
| METH_KEYWORDS
},
31851 { (char *)"ToolBarBase_FindById", (PyCFunction
) _wrap_ToolBarBase_FindById
, METH_VARARGS
| METH_KEYWORDS
},
31852 { (char *)"ToolBarBase_IsVertical", (PyCFunction
) _wrap_ToolBarBase_IsVertical
, METH_VARARGS
| METH_KEYWORDS
},
31853 { (char *)"ToolBarBase_swigregister", ToolBarBase_swigregister
, METH_VARARGS
},
31854 { (char *)"new_ToolBar", (PyCFunction
) _wrap_new_ToolBar
, METH_VARARGS
| METH_KEYWORDS
},
31855 { (char *)"new_PreToolBar", (PyCFunction
) _wrap_new_PreToolBar
, METH_VARARGS
| METH_KEYWORDS
},
31856 { (char *)"ToolBar_Create", (PyCFunction
) _wrap_ToolBar_Create
, METH_VARARGS
| METH_KEYWORDS
},
31857 { (char *)"ToolBar_FindToolForPosition", (PyCFunction
) _wrap_ToolBar_FindToolForPosition
, METH_VARARGS
| METH_KEYWORDS
},
31858 { (char *)"ToolBar_GetClassDefaultAttributes", (PyCFunction
) _wrap_ToolBar_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31859 { (char *)"ToolBar_swigregister", ToolBar_swigregister
, METH_VARARGS
},
31860 { (char *)"new_ListItemAttr", (PyCFunction
) _wrap_new_ListItemAttr
, METH_VARARGS
| METH_KEYWORDS
},
31861 { (char *)"ListItemAttr_SetTextColour", (PyCFunction
) _wrap_ListItemAttr_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
31862 { (char *)"ListItemAttr_SetBackgroundColour", (PyCFunction
) _wrap_ListItemAttr_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
31863 { (char *)"ListItemAttr_SetFont", (PyCFunction
) _wrap_ListItemAttr_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
31864 { (char *)"ListItemAttr_HasTextColour", (PyCFunction
) _wrap_ListItemAttr_HasTextColour
, METH_VARARGS
| METH_KEYWORDS
},
31865 { (char *)"ListItemAttr_HasBackgroundColour", (PyCFunction
) _wrap_ListItemAttr_HasBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
31866 { (char *)"ListItemAttr_HasFont", (PyCFunction
) _wrap_ListItemAttr_HasFont
, METH_VARARGS
| METH_KEYWORDS
},
31867 { (char *)"ListItemAttr_GetTextColour", (PyCFunction
) _wrap_ListItemAttr_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
31868 { (char *)"ListItemAttr_GetBackgroundColour", (PyCFunction
) _wrap_ListItemAttr_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
31869 { (char *)"ListItemAttr_GetFont", (PyCFunction
) _wrap_ListItemAttr_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
31870 { (char *)"ListItemAttr_Destroy", (PyCFunction
) _wrap_ListItemAttr_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
31871 { (char *)"ListItemAttr_swigregister", ListItemAttr_swigregister
, METH_VARARGS
},
31872 { (char *)"new_ListItem", (PyCFunction
) _wrap_new_ListItem
, METH_VARARGS
| METH_KEYWORDS
},
31873 { (char *)"delete_ListItem", (PyCFunction
) _wrap_delete_ListItem
, METH_VARARGS
| METH_KEYWORDS
},
31874 { (char *)"ListItem_Clear", (PyCFunction
) _wrap_ListItem_Clear
, METH_VARARGS
| METH_KEYWORDS
},
31875 { (char *)"ListItem_ClearAttributes", (PyCFunction
) _wrap_ListItem_ClearAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31876 { (char *)"ListItem_SetMask", (PyCFunction
) _wrap_ListItem_SetMask
, METH_VARARGS
| METH_KEYWORDS
},
31877 { (char *)"ListItem_SetId", (PyCFunction
) _wrap_ListItem_SetId
, METH_VARARGS
| METH_KEYWORDS
},
31878 { (char *)"ListItem_SetColumn", (PyCFunction
) _wrap_ListItem_SetColumn
, METH_VARARGS
| METH_KEYWORDS
},
31879 { (char *)"ListItem_SetState", (PyCFunction
) _wrap_ListItem_SetState
, METH_VARARGS
| METH_KEYWORDS
},
31880 { (char *)"ListItem_SetStateMask", (PyCFunction
) _wrap_ListItem_SetStateMask
, METH_VARARGS
| METH_KEYWORDS
},
31881 { (char *)"ListItem_SetText", (PyCFunction
) _wrap_ListItem_SetText
, METH_VARARGS
| METH_KEYWORDS
},
31882 { (char *)"ListItem_SetImage", (PyCFunction
) _wrap_ListItem_SetImage
, METH_VARARGS
| METH_KEYWORDS
},
31883 { (char *)"ListItem_SetData", (PyCFunction
) _wrap_ListItem_SetData
, METH_VARARGS
| METH_KEYWORDS
},
31884 { (char *)"ListItem_SetWidth", (PyCFunction
) _wrap_ListItem_SetWidth
, METH_VARARGS
| METH_KEYWORDS
},
31885 { (char *)"ListItem_SetAlign", (PyCFunction
) _wrap_ListItem_SetAlign
, METH_VARARGS
| METH_KEYWORDS
},
31886 { (char *)"ListItem_SetTextColour", (PyCFunction
) _wrap_ListItem_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
31887 { (char *)"ListItem_SetBackgroundColour", (PyCFunction
) _wrap_ListItem_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
31888 { (char *)"ListItem_SetFont", (PyCFunction
) _wrap_ListItem_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
31889 { (char *)"ListItem_GetMask", (PyCFunction
) _wrap_ListItem_GetMask
, METH_VARARGS
| METH_KEYWORDS
},
31890 { (char *)"ListItem_GetId", (PyCFunction
) _wrap_ListItem_GetId
, METH_VARARGS
| METH_KEYWORDS
},
31891 { (char *)"ListItem_GetColumn", (PyCFunction
) _wrap_ListItem_GetColumn
, METH_VARARGS
| METH_KEYWORDS
},
31892 { (char *)"ListItem_GetState", (PyCFunction
) _wrap_ListItem_GetState
, METH_VARARGS
| METH_KEYWORDS
},
31893 { (char *)"ListItem_GetText", (PyCFunction
) _wrap_ListItem_GetText
, METH_VARARGS
| METH_KEYWORDS
},
31894 { (char *)"ListItem_GetImage", (PyCFunction
) _wrap_ListItem_GetImage
, METH_VARARGS
| METH_KEYWORDS
},
31895 { (char *)"ListItem_GetData", (PyCFunction
) _wrap_ListItem_GetData
, METH_VARARGS
| METH_KEYWORDS
},
31896 { (char *)"ListItem_GetWidth", (PyCFunction
) _wrap_ListItem_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
31897 { (char *)"ListItem_GetAlign", (PyCFunction
) _wrap_ListItem_GetAlign
, METH_VARARGS
| METH_KEYWORDS
},
31898 { (char *)"ListItem_GetAttributes", (PyCFunction
) _wrap_ListItem_GetAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31899 { (char *)"ListItem_HasAttributes", (PyCFunction
) _wrap_ListItem_HasAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31900 { (char *)"ListItem_GetTextColour", (PyCFunction
) _wrap_ListItem_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
31901 { (char *)"ListItem_GetBackgroundColour", (PyCFunction
) _wrap_ListItem_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
31902 { (char *)"ListItem_GetFont", (PyCFunction
) _wrap_ListItem_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
31903 { (char *)"ListItem_m_mask_set", (PyCFunction
) _wrap_ListItem_m_mask_set
, METH_VARARGS
| METH_KEYWORDS
},
31904 { (char *)"ListItem_m_mask_get", (PyCFunction
) _wrap_ListItem_m_mask_get
, METH_VARARGS
| METH_KEYWORDS
},
31905 { (char *)"ListItem_m_itemId_set", (PyCFunction
) _wrap_ListItem_m_itemId_set
, METH_VARARGS
| METH_KEYWORDS
},
31906 { (char *)"ListItem_m_itemId_get", (PyCFunction
) _wrap_ListItem_m_itemId_get
, METH_VARARGS
| METH_KEYWORDS
},
31907 { (char *)"ListItem_m_col_set", (PyCFunction
) _wrap_ListItem_m_col_set
, METH_VARARGS
| METH_KEYWORDS
},
31908 { (char *)"ListItem_m_col_get", (PyCFunction
) _wrap_ListItem_m_col_get
, METH_VARARGS
| METH_KEYWORDS
},
31909 { (char *)"ListItem_m_state_set", (PyCFunction
) _wrap_ListItem_m_state_set
, METH_VARARGS
| METH_KEYWORDS
},
31910 { (char *)"ListItem_m_state_get", (PyCFunction
) _wrap_ListItem_m_state_get
, METH_VARARGS
| METH_KEYWORDS
},
31911 { (char *)"ListItem_m_stateMask_set", (PyCFunction
) _wrap_ListItem_m_stateMask_set
, METH_VARARGS
| METH_KEYWORDS
},
31912 { (char *)"ListItem_m_stateMask_get", (PyCFunction
) _wrap_ListItem_m_stateMask_get
, METH_VARARGS
| METH_KEYWORDS
},
31913 { (char *)"ListItem_m_text_set", (PyCFunction
) _wrap_ListItem_m_text_set
, METH_VARARGS
| METH_KEYWORDS
},
31914 { (char *)"ListItem_m_text_get", (PyCFunction
) _wrap_ListItem_m_text_get
, METH_VARARGS
| METH_KEYWORDS
},
31915 { (char *)"ListItem_m_image_set", (PyCFunction
) _wrap_ListItem_m_image_set
, METH_VARARGS
| METH_KEYWORDS
},
31916 { (char *)"ListItem_m_image_get", (PyCFunction
) _wrap_ListItem_m_image_get
, METH_VARARGS
| METH_KEYWORDS
},
31917 { (char *)"ListItem_m_data_set", (PyCFunction
) _wrap_ListItem_m_data_set
, METH_VARARGS
| METH_KEYWORDS
},
31918 { (char *)"ListItem_m_data_get", (PyCFunction
) _wrap_ListItem_m_data_get
, METH_VARARGS
| METH_KEYWORDS
},
31919 { (char *)"ListItem_m_format_set", (PyCFunction
) _wrap_ListItem_m_format_set
, METH_VARARGS
| METH_KEYWORDS
},
31920 { (char *)"ListItem_m_format_get", (PyCFunction
) _wrap_ListItem_m_format_get
, METH_VARARGS
| METH_KEYWORDS
},
31921 { (char *)"ListItem_m_width_set", (PyCFunction
) _wrap_ListItem_m_width_set
, METH_VARARGS
| METH_KEYWORDS
},
31922 { (char *)"ListItem_m_width_get", (PyCFunction
) _wrap_ListItem_m_width_get
, METH_VARARGS
| METH_KEYWORDS
},
31923 { (char *)"ListItem_swigregister", ListItem_swigregister
, METH_VARARGS
},
31924 { (char *)"new_ListEvent", (PyCFunction
) _wrap_new_ListEvent
, METH_VARARGS
| METH_KEYWORDS
},
31925 { (char *)"ListEvent_m_code_set", (PyCFunction
) _wrap_ListEvent_m_code_set
, METH_VARARGS
| METH_KEYWORDS
},
31926 { (char *)"ListEvent_m_code_get", (PyCFunction
) _wrap_ListEvent_m_code_get
, METH_VARARGS
| METH_KEYWORDS
},
31927 { (char *)"ListEvent_m_oldItemIndex_set", (PyCFunction
) _wrap_ListEvent_m_oldItemIndex_set
, METH_VARARGS
| METH_KEYWORDS
},
31928 { (char *)"ListEvent_m_oldItemIndex_get", (PyCFunction
) _wrap_ListEvent_m_oldItemIndex_get
, METH_VARARGS
| METH_KEYWORDS
},
31929 { (char *)"ListEvent_m_itemIndex_set", (PyCFunction
) _wrap_ListEvent_m_itemIndex_set
, METH_VARARGS
| METH_KEYWORDS
},
31930 { (char *)"ListEvent_m_itemIndex_get", (PyCFunction
) _wrap_ListEvent_m_itemIndex_get
, METH_VARARGS
| METH_KEYWORDS
},
31931 { (char *)"ListEvent_m_col_set", (PyCFunction
) _wrap_ListEvent_m_col_set
, METH_VARARGS
| METH_KEYWORDS
},
31932 { (char *)"ListEvent_m_col_get", (PyCFunction
) _wrap_ListEvent_m_col_get
, METH_VARARGS
| METH_KEYWORDS
},
31933 { (char *)"ListEvent_m_pointDrag_set", (PyCFunction
) _wrap_ListEvent_m_pointDrag_set
, METH_VARARGS
| METH_KEYWORDS
},
31934 { (char *)"ListEvent_m_pointDrag_get", (PyCFunction
) _wrap_ListEvent_m_pointDrag_get
, METH_VARARGS
| METH_KEYWORDS
},
31935 { (char *)"ListEvent_m_item_get", (PyCFunction
) _wrap_ListEvent_m_item_get
, METH_VARARGS
| METH_KEYWORDS
},
31936 { (char *)"ListEvent_GetKeyCode", (PyCFunction
) _wrap_ListEvent_GetKeyCode
, METH_VARARGS
| METH_KEYWORDS
},
31937 { (char *)"ListEvent_GetIndex", (PyCFunction
) _wrap_ListEvent_GetIndex
, METH_VARARGS
| METH_KEYWORDS
},
31938 { (char *)"ListEvent_GetColumn", (PyCFunction
) _wrap_ListEvent_GetColumn
, METH_VARARGS
| METH_KEYWORDS
},
31939 { (char *)"ListEvent_GetPoint", (PyCFunction
) _wrap_ListEvent_GetPoint
, METH_VARARGS
| METH_KEYWORDS
},
31940 { (char *)"ListEvent_GetLabel", (PyCFunction
) _wrap_ListEvent_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
31941 { (char *)"ListEvent_GetText", (PyCFunction
) _wrap_ListEvent_GetText
, METH_VARARGS
| METH_KEYWORDS
},
31942 { (char *)"ListEvent_GetImage", (PyCFunction
) _wrap_ListEvent_GetImage
, METH_VARARGS
| METH_KEYWORDS
},
31943 { (char *)"ListEvent_GetData", (PyCFunction
) _wrap_ListEvent_GetData
, METH_VARARGS
| METH_KEYWORDS
},
31944 { (char *)"ListEvent_GetMask", (PyCFunction
) _wrap_ListEvent_GetMask
, METH_VARARGS
| METH_KEYWORDS
},
31945 { (char *)"ListEvent_GetItem", (PyCFunction
) _wrap_ListEvent_GetItem
, METH_VARARGS
| METH_KEYWORDS
},
31946 { (char *)"ListEvent_GetCacheFrom", (PyCFunction
) _wrap_ListEvent_GetCacheFrom
, METH_VARARGS
| METH_KEYWORDS
},
31947 { (char *)"ListEvent_GetCacheTo", (PyCFunction
) _wrap_ListEvent_GetCacheTo
, METH_VARARGS
| METH_KEYWORDS
},
31948 { (char *)"ListEvent_IsEditCancelled", (PyCFunction
) _wrap_ListEvent_IsEditCancelled
, METH_VARARGS
| METH_KEYWORDS
},
31949 { (char *)"ListEvent_SetEditCanceled", (PyCFunction
) _wrap_ListEvent_SetEditCanceled
, METH_VARARGS
| METH_KEYWORDS
},
31950 { (char *)"ListEvent_swigregister", ListEvent_swigregister
, METH_VARARGS
},
31951 { (char *)"new_ListCtrl", (PyCFunction
) _wrap_new_ListCtrl
, METH_VARARGS
| METH_KEYWORDS
},
31952 { (char *)"new_PreListCtrl", (PyCFunction
) _wrap_new_PreListCtrl
, METH_VARARGS
| METH_KEYWORDS
},
31953 { (char *)"ListCtrl_Create", (PyCFunction
) _wrap_ListCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
},
31954 { (char *)"ListCtrl__setCallbackInfo", (PyCFunction
) _wrap_ListCtrl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
31955 { (char *)"ListCtrl_SetForegroundColour", (PyCFunction
) _wrap_ListCtrl_SetForegroundColour
, METH_VARARGS
| METH_KEYWORDS
},
31956 { (char *)"ListCtrl_SetBackgroundColour", (PyCFunction
) _wrap_ListCtrl_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
31957 { (char *)"ListCtrl_GetColumn", (PyCFunction
) _wrap_ListCtrl_GetColumn
, METH_VARARGS
| METH_KEYWORDS
},
31958 { (char *)"ListCtrl_SetColumn", (PyCFunction
) _wrap_ListCtrl_SetColumn
, METH_VARARGS
| METH_KEYWORDS
},
31959 { (char *)"ListCtrl_GetColumnWidth", (PyCFunction
) _wrap_ListCtrl_GetColumnWidth
, METH_VARARGS
| METH_KEYWORDS
},
31960 { (char *)"ListCtrl_SetColumnWidth", (PyCFunction
) _wrap_ListCtrl_SetColumnWidth
, METH_VARARGS
| METH_KEYWORDS
},
31961 { (char *)"ListCtrl_GetCountPerPage", (PyCFunction
) _wrap_ListCtrl_GetCountPerPage
, METH_VARARGS
| METH_KEYWORDS
},
31962 { (char *)"ListCtrl_GetViewRect", (PyCFunction
) _wrap_ListCtrl_GetViewRect
, METH_VARARGS
| METH_KEYWORDS
},
31963 { (char *)"ListCtrl_GetEditControl", (PyCFunction
) _wrap_ListCtrl_GetEditControl
, METH_VARARGS
| METH_KEYWORDS
},
31964 { (char *)"ListCtrl_GetItem", (PyCFunction
) _wrap_ListCtrl_GetItem
, METH_VARARGS
| METH_KEYWORDS
},
31965 { (char *)"ListCtrl_SetItem", (PyCFunction
) _wrap_ListCtrl_SetItem
, METH_VARARGS
| METH_KEYWORDS
},
31966 { (char *)"ListCtrl_SetStringItem", (PyCFunction
) _wrap_ListCtrl_SetStringItem
, METH_VARARGS
| METH_KEYWORDS
},
31967 { (char *)"ListCtrl_GetItemState", (PyCFunction
) _wrap_ListCtrl_GetItemState
, METH_VARARGS
| METH_KEYWORDS
},
31968 { (char *)"ListCtrl_SetItemState", (PyCFunction
) _wrap_ListCtrl_SetItemState
, METH_VARARGS
| METH_KEYWORDS
},
31969 { (char *)"ListCtrl_SetItemImage", (PyCFunction
) _wrap_ListCtrl_SetItemImage
, METH_VARARGS
| METH_KEYWORDS
},
31970 { (char *)"ListCtrl_GetItemText", (PyCFunction
) _wrap_ListCtrl_GetItemText
, METH_VARARGS
| METH_KEYWORDS
},
31971 { (char *)"ListCtrl_SetItemText", (PyCFunction
) _wrap_ListCtrl_SetItemText
, METH_VARARGS
| METH_KEYWORDS
},
31972 { (char *)"ListCtrl_GetItemData", (PyCFunction
) _wrap_ListCtrl_GetItemData
, METH_VARARGS
| METH_KEYWORDS
},
31973 { (char *)"ListCtrl_SetItemData", (PyCFunction
) _wrap_ListCtrl_SetItemData
, METH_VARARGS
| METH_KEYWORDS
},
31974 { (char *)"ListCtrl_GetItemPosition", (PyCFunction
) _wrap_ListCtrl_GetItemPosition
, METH_VARARGS
| METH_KEYWORDS
},
31975 { (char *)"ListCtrl_GetItemRect", (PyCFunction
) _wrap_ListCtrl_GetItemRect
, METH_VARARGS
| METH_KEYWORDS
},
31976 { (char *)"ListCtrl_SetItemPosition", (PyCFunction
) _wrap_ListCtrl_SetItemPosition
, METH_VARARGS
| METH_KEYWORDS
},
31977 { (char *)"ListCtrl_GetItemCount", (PyCFunction
) _wrap_ListCtrl_GetItemCount
, METH_VARARGS
| METH_KEYWORDS
},
31978 { (char *)"ListCtrl_GetColumnCount", (PyCFunction
) _wrap_ListCtrl_GetColumnCount
, METH_VARARGS
| METH_KEYWORDS
},
31979 { (char *)"ListCtrl_GetItemSpacing", (PyCFunction
) _wrap_ListCtrl_GetItemSpacing
, METH_VARARGS
| METH_KEYWORDS
},
31980 { (char *)"ListCtrl_GetSelectedItemCount", (PyCFunction
) _wrap_ListCtrl_GetSelectedItemCount
, METH_VARARGS
| METH_KEYWORDS
},
31981 { (char *)"ListCtrl_GetTextColour", (PyCFunction
) _wrap_ListCtrl_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
31982 { (char *)"ListCtrl_SetTextColour", (PyCFunction
) _wrap_ListCtrl_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
31983 { (char *)"ListCtrl_GetTopItem", (PyCFunction
) _wrap_ListCtrl_GetTopItem
, METH_VARARGS
| METH_KEYWORDS
},
31984 { (char *)"ListCtrl_SetSingleStyle", (PyCFunction
) _wrap_ListCtrl_SetSingleStyle
, METH_VARARGS
| METH_KEYWORDS
},
31985 { (char *)"ListCtrl_SetWindowStyleFlag", (PyCFunction
) _wrap_ListCtrl_SetWindowStyleFlag
, METH_VARARGS
| METH_KEYWORDS
},
31986 { (char *)"ListCtrl_GetNextItem", (PyCFunction
) _wrap_ListCtrl_GetNextItem
, METH_VARARGS
| METH_KEYWORDS
},
31987 { (char *)"ListCtrl_GetImageList", (PyCFunction
) _wrap_ListCtrl_GetImageList
, METH_VARARGS
| METH_KEYWORDS
},
31988 { (char *)"ListCtrl_SetImageList", (PyCFunction
) _wrap_ListCtrl_SetImageList
, METH_VARARGS
| METH_KEYWORDS
},
31989 { (char *)"ListCtrl_AssignImageList", (PyCFunction
) _wrap_ListCtrl_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
},
31990 { (char *)"ListCtrl_InReportView", (PyCFunction
) _wrap_ListCtrl_InReportView
, METH_VARARGS
| METH_KEYWORDS
},
31991 { (char *)"ListCtrl_IsVirtual", (PyCFunction
) _wrap_ListCtrl_IsVirtual
, METH_VARARGS
| METH_KEYWORDS
},
31992 { (char *)"ListCtrl_RefreshItem", (PyCFunction
) _wrap_ListCtrl_RefreshItem
, METH_VARARGS
| METH_KEYWORDS
},
31993 { (char *)"ListCtrl_RefreshItems", (PyCFunction
) _wrap_ListCtrl_RefreshItems
, METH_VARARGS
| METH_KEYWORDS
},
31994 { (char *)"ListCtrl_Arrange", (PyCFunction
) _wrap_ListCtrl_Arrange
, METH_VARARGS
| METH_KEYWORDS
},
31995 { (char *)"ListCtrl_DeleteItem", (PyCFunction
) _wrap_ListCtrl_DeleteItem
, METH_VARARGS
| METH_KEYWORDS
},
31996 { (char *)"ListCtrl_DeleteAllItems", (PyCFunction
) _wrap_ListCtrl_DeleteAllItems
, METH_VARARGS
| METH_KEYWORDS
},
31997 { (char *)"ListCtrl_DeleteColumn", (PyCFunction
) _wrap_ListCtrl_DeleteColumn
, METH_VARARGS
| METH_KEYWORDS
},
31998 { (char *)"ListCtrl_DeleteAllColumns", (PyCFunction
) _wrap_ListCtrl_DeleteAllColumns
, METH_VARARGS
| METH_KEYWORDS
},
31999 { (char *)"ListCtrl_ClearAll", (PyCFunction
) _wrap_ListCtrl_ClearAll
, METH_VARARGS
| METH_KEYWORDS
},
32000 { (char *)"ListCtrl_EditLabel", (PyCFunction
) _wrap_ListCtrl_EditLabel
, METH_VARARGS
| METH_KEYWORDS
},
32001 { (char *)"ListCtrl_EndEditLabel", (PyCFunction
) _wrap_ListCtrl_EndEditLabel
, METH_VARARGS
| METH_KEYWORDS
},
32002 { (char *)"ListCtrl_EnsureVisible", (PyCFunction
) _wrap_ListCtrl_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
},
32003 { (char *)"ListCtrl_FindItem", (PyCFunction
) _wrap_ListCtrl_FindItem
, METH_VARARGS
| METH_KEYWORDS
},
32004 { (char *)"ListCtrl_FindItemData", (PyCFunction
) _wrap_ListCtrl_FindItemData
, METH_VARARGS
| METH_KEYWORDS
},
32005 { (char *)"ListCtrl_FindItemAtPos", (PyCFunction
) _wrap_ListCtrl_FindItemAtPos
, METH_VARARGS
| METH_KEYWORDS
},
32006 { (char *)"ListCtrl_HitTest", (PyCFunction
) _wrap_ListCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
},
32007 { (char *)"ListCtrl_InsertItem", (PyCFunction
) _wrap_ListCtrl_InsertItem
, METH_VARARGS
| METH_KEYWORDS
},
32008 { (char *)"ListCtrl_InsertStringItem", (PyCFunction
) _wrap_ListCtrl_InsertStringItem
, METH_VARARGS
| METH_KEYWORDS
},
32009 { (char *)"ListCtrl_InsertImageItem", (PyCFunction
) _wrap_ListCtrl_InsertImageItem
, METH_VARARGS
| METH_KEYWORDS
},
32010 { (char *)"ListCtrl_InsertImageStringItem", (PyCFunction
) _wrap_ListCtrl_InsertImageStringItem
, METH_VARARGS
| METH_KEYWORDS
},
32011 { (char *)"ListCtrl_InsertColumnInfo", (PyCFunction
) _wrap_ListCtrl_InsertColumnInfo
, METH_VARARGS
| METH_KEYWORDS
},
32012 { (char *)"ListCtrl_InsertColumn", (PyCFunction
) _wrap_ListCtrl_InsertColumn
, METH_VARARGS
| METH_KEYWORDS
},
32013 { (char *)"ListCtrl_SetItemCount", (PyCFunction
) _wrap_ListCtrl_SetItemCount
, METH_VARARGS
| METH_KEYWORDS
},
32014 { (char *)"ListCtrl_ScrollList", (PyCFunction
) _wrap_ListCtrl_ScrollList
, METH_VARARGS
| METH_KEYWORDS
},
32015 { (char *)"ListCtrl_SetItemTextColour", (PyCFunction
) _wrap_ListCtrl_SetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
},
32016 { (char *)"ListCtrl_GetItemTextColour", (PyCFunction
) _wrap_ListCtrl_GetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
},
32017 { (char *)"ListCtrl_SetItemBackgroundColour", (PyCFunction
) _wrap_ListCtrl_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
32018 { (char *)"ListCtrl_GetItemBackgroundColour", (PyCFunction
) _wrap_ListCtrl_GetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
32019 { (char *)"ListCtrl_SortItems", (PyCFunction
) _wrap_ListCtrl_SortItems
, METH_VARARGS
| METH_KEYWORDS
},
32020 { (char *)"ListCtrl_GetMainWindow", (PyCFunction
) _wrap_ListCtrl_GetMainWindow
, METH_VARARGS
| METH_KEYWORDS
},
32021 { (char *)"ListCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_ListCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
32022 { (char *)"ListCtrl_swigregister", ListCtrl_swigregister
, METH_VARARGS
},
32023 { (char *)"new_ListView", (PyCFunction
) _wrap_new_ListView
, METH_VARARGS
| METH_KEYWORDS
},
32024 { (char *)"new_PreListView", (PyCFunction
) _wrap_new_PreListView
, METH_VARARGS
| METH_KEYWORDS
},
32025 { (char *)"ListView_Create", (PyCFunction
) _wrap_ListView_Create
, METH_VARARGS
| METH_KEYWORDS
},
32026 { (char *)"ListView_Select", (PyCFunction
) _wrap_ListView_Select
, METH_VARARGS
| METH_KEYWORDS
},
32027 { (char *)"ListView_Focus", (PyCFunction
) _wrap_ListView_Focus
, METH_VARARGS
| METH_KEYWORDS
},
32028 { (char *)"ListView_GetFocusedItem", (PyCFunction
) _wrap_ListView_GetFocusedItem
, METH_VARARGS
| METH_KEYWORDS
},
32029 { (char *)"ListView_GetNextSelected", (PyCFunction
) _wrap_ListView_GetNextSelected
, METH_VARARGS
| METH_KEYWORDS
},
32030 { (char *)"ListView_GetFirstSelected", (PyCFunction
) _wrap_ListView_GetFirstSelected
, METH_VARARGS
| METH_KEYWORDS
},
32031 { (char *)"ListView_IsSelected", (PyCFunction
) _wrap_ListView_IsSelected
, METH_VARARGS
| METH_KEYWORDS
},
32032 { (char *)"ListView_SetColumnImage", (PyCFunction
) _wrap_ListView_SetColumnImage
, METH_VARARGS
| METH_KEYWORDS
},
32033 { (char *)"ListView_ClearColumnImage", (PyCFunction
) _wrap_ListView_ClearColumnImage
, METH_VARARGS
| METH_KEYWORDS
},
32034 { (char *)"ListView_swigregister", ListView_swigregister
, METH_VARARGS
},
32035 { (char *)"new_TreeItemId", (PyCFunction
) _wrap_new_TreeItemId
, METH_VARARGS
| METH_KEYWORDS
},
32036 { (char *)"delete_TreeItemId", (PyCFunction
) _wrap_delete_TreeItemId
, METH_VARARGS
| METH_KEYWORDS
},
32037 { (char *)"TreeItemId_IsOk", (PyCFunction
) _wrap_TreeItemId_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
32038 { (char *)"TreeItemId___eq__", (PyCFunction
) _wrap_TreeItemId___eq__
, METH_VARARGS
| METH_KEYWORDS
},
32039 { (char *)"TreeItemId___ne__", (PyCFunction
) _wrap_TreeItemId___ne__
, METH_VARARGS
| METH_KEYWORDS
},
32040 { (char *)"TreeItemId_m_pItem_set", (PyCFunction
) _wrap_TreeItemId_m_pItem_set
, METH_VARARGS
| METH_KEYWORDS
},
32041 { (char *)"TreeItemId_m_pItem_get", (PyCFunction
) _wrap_TreeItemId_m_pItem_get
, METH_VARARGS
| METH_KEYWORDS
},
32042 { (char *)"TreeItemId_swigregister", TreeItemId_swigregister
, METH_VARARGS
},
32043 { (char *)"new_TreeItemData", (PyCFunction
) _wrap_new_TreeItemData
, METH_VARARGS
| METH_KEYWORDS
},
32044 { (char *)"TreeItemData_GetData", (PyCFunction
) _wrap_TreeItemData_GetData
, METH_VARARGS
| METH_KEYWORDS
},
32045 { (char *)"TreeItemData_SetData", (PyCFunction
) _wrap_TreeItemData_SetData
, METH_VARARGS
| METH_KEYWORDS
},
32046 { (char *)"TreeItemData_GetId", (PyCFunction
) _wrap_TreeItemData_GetId
, METH_VARARGS
| METH_KEYWORDS
},
32047 { (char *)"TreeItemData_SetId", (PyCFunction
) _wrap_TreeItemData_SetId
, METH_VARARGS
| METH_KEYWORDS
},
32048 { (char *)"TreeItemData_Destroy", (PyCFunction
) _wrap_TreeItemData_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
32049 { (char *)"TreeItemData_swigregister", TreeItemData_swigregister
, METH_VARARGS
},
32050 { (char *)"new_TreeEvent", (PyCFunction
) _wrap_new_TreeEvent
, METH_VARARGS
| METH_KEYWORDS
},
32051 { (char *)"TreeEvent_GetItem", (PyCFunction
) _wrap_TreeEvent_GetItem
, METH_VARARGS
| METH_KEYWORDS
},
32052 { (char *)"TreeEvent_SetItem", (PyCFunction
) _wrap_TreeEvent_SetItem
, METH_VARARGS
| METH_KEYWORDS
},
32053 { (char *)"TreeEvent_GetOldItem", (PyCFunction
) _wrap_TreeEvent_GetOldItem
, METH_VARARGS
| METH_KEYWORDS
},
32054 { (char *)"TreeEvent_SetOldItem", (PyCFunction
) _wrap_TreeEvent_SetOldItem
, METH_VARARGS
| METH_KEYWORDS
},
32055 { (char *)"TreeEvent_GetPoint", (PyCFunction
) _wrap_TreeEvent_GetPoint
, METH_VARARGS
| METH_KEYWORDS
},
32056 { (char *)"TreeEvent_SetPoint", (PyCFunction
) _wrap_TreeEvent_SetPoint
, METH_VARARGS
| METH_KEYWORDS
},
32057 { (char *)"TreeEvent_GetKeyEvent", (PyCFunction
) _wrap_TreeEvent_GetKeyEvent
, METH_VARARGS
| METH_KEYWORDS
},
32058 { (char *)"TreeEvent_GetKeyCode", (PyCFunction
) _wrap_TreeEvent_GetKeyCode
, METH_VARARGS
| METH_KEYWORDS
},
32059 { (char *)"TreeEvent_SetKeyEvent", (PyCFunction
) _wrap_TreeEvent_SetKeyEvent
, METH_VARARGS
| METH_KEYWORDS
},
32060 { (char *)"TreeEvent_GetLabel", (PyCFunction
) _wrap_TreeEvent_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
32061 { (char *)"TreeEvent_SetLabel", (PyCFunction
) _wrap_TreeEvent_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
32062 { (char *)"TreeEvent_IsEditCancelled", (PyCFunction
) _wrap_TreeEvent_IsEditCancelled
, METH_VARARGS
| METH_KEYWORDS
},
32063 { (char *)"TreeEvent_SetEditCanceled", (PyCFunction
) _wrap_TreeEvent_SetEditCanceled
, METH_VARARGS
| METH_KEYWORDS
},
32064 { (char *)"TreeEvent_SetToolTip", (PyCFunction
) _wrap_TreeEvent_SetToolTip
, METH_VARARGS
| METH_KEYWORDS
},
32065 { (char *)"TreeEvent_swigregister", TreeEvent_swigregister
, METH_VARARGS
},
32066 { (char *)"new_TreeCtrl", (PyCFunction
) _wrap_new_TreeCtrl
, METH_VARARGS
| METH_KEYWORDS
},
32067 { (char *)"new_PreTreeCtrl", (PyCFunction
) _wrap_new_PreTreeCtrl
, METH_VARARGS
| METH_KEYWORDS
},
32068 { (char *)"TreeCtrl_Create", (PyCFunction
) _wrap_TreeCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
},
32069 { (char *)"TreeCtrl__setCallbackInfo", (PyCFunction
) _wrap_TreeCtrl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
32070 { (char *)"TreeCtrl_GetCount", (PyCFunction
) _wrap_TreeCtrl_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
32071 { (char *)"TreeCtrl_GetIndent", (PyCFunction
) _wrap_TreeCtrl_GetIndent
, METH_VARARGS
| METH_KEYWORDS
},
32072 { (char *)"TreeCtrl_SetIndent", (PyCFunction
) _wrap_TreeCtrl_SetIndent
, METH_VARARGS
| METH_KEYWORDS
},
32073 { (char *)"TreeCtrl_GetSpacing", (PyCFunction
) _wrap_TreeCtrl_GetSpacing
, METH_VARARGS
| METH_KEYWORDS
},
32074 { (char *)"TreeCtrl_SetSpacing", (PyCFunction
) _wrap_TreeCtrl_SetSpacing
, METH_VARARGS
| METH_KEYWORDS
},
32075 { (char *)"TreeCtrl_GetImageList", (PyCFunction
) _wrap_TreeCtrl_GetImageList
, METH_VARARGS
| METH_KEYWORDS
},
32076 { (char *)"TreeCtrl_GetStateImageList", (PyCFunction
) _wrap_TreeCtrl_GetStateImageList
, METH_VARARGS
| METH_KEYWORDS
},
32077 { (char *)"TreeCtrl_SetImageList", (PyCFunction
) _wrap_TreeCtrl_SetImageList
, METH_VARARGS
| METH_KEYWORDS
},
32078 { (char *)"TreeCtrl_SetStateImageList", (PyCFunction
) _wrap_TreeCtrl_SetStateImageList
, METH_VARARGS
| METH_KEYWORDS
},
32079 { (char *)"TreeCtrl_AssignImageList", (PyCFunction
) _wrap_TreeCtrl_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
},
32080 { (char *)"TreeCtrl_AssignStateImageList", (PyCFunction
) _wrap_TreeCtrl_AssignStateImageList
, METH_VARARGS
| METH_KEYWORDS
},
32081 { (char *)"TreeCtrl_GetItemText", (PyCFunction
) _wrap_TreeCtrl_GetItemText
, METH_VARARGS
| METH_KEYWORDS
},
32082 { (char *)"TreeCtrl_GetItemImage", (PyCFunction
) _wrap_TreeCtrl_GetItemImage
, METH_VARARGS
| METH_KEYWORDS
},
32083 { (char *)"TreeCtrl_GetItemData", (PyCFunction
) _wrap_TreeCtrl_GetItemData
, METH_VARARGS
| METH_KEYWORDS
},
32084 { (char *)"TreeCtrl_GetItemPyData", (PyCFunction
) _wrap_TreeCtrl_GetItemPyData
, METH_VARARGS
| METH_KEYWORDS
},
32085 { (char *)"TreeCtrl_GetItemTextColour", (PyCFunction
) _wrap_TreeCtrl_GetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
},
32086 { (char *)"TreeCtrl_GetItemBackgroundColour", (PyCFunction
) _wrap_TreeCtrl_GetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
32087 { (char *)"TreeCtrl_GetItemFont", (PyCFunction
) _wrap_TreeCtrl_GetItemFont
, METH_VARARGS
| METH_KEYWORDS
},
32088 { (char *)"TreeCtrl_SetItemText", (PyCFunction
) _wrap_TreeCtrl_SetItemText
, METH_VARARGS
| METH_KEYWORDS
},
32089 { (char *)"TreeCtrl_SetItemImage", (PyCFunction
) _wrap_TreeCtrl_SetItemImage
, METH_VARARGS
| METH_KEYWORDS
},
32090 { (char *)"TreeCtrl_SetItemData", (PyCFunction
) _wrap_TreeCtrl_SetItemData
, METH_VARARGS
| METH_KEYWORDS
},
32091 { (char *)"TreeCtrl_SetItemPyData", (PyCFunction
) _wrap_TreeCtrl_SetItemPyData
, METH_VARARGS
| METH_KEYWORDS
},
32092 { (char *)"TreeCtrl_SetItemHasChildren", (PyCFunction
) _wrap_TreeCtrl_SetItemHasChildren
, METH_VARARGS
| METH_KEYWORDS
},
32093 { (char *)"TreeCtrl_SetItemBold", (PyCFunction
) _wrap_TreeCtrl_SetItemBold
, METH_VARARGS
| METH_KEYWORDS
},
32094 { (char *)"TreeCtrl_SetItemDropHighlight", (PyCFunction
) _wrap_TreeCtrl_SetItemDropHighlight
, METH_VARARGS
| METH_KEYWORDS
},
32095 { (char *)"TreeCtrl_SetItemTextColour", (PyCFunction
) _wrap_TreeCtrl_SetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
},
32096 { (char *)"TreeCtrl_SetItemBackgroundColour", (PyCFunction
) _wrap_TreeCtrl_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
32097 { (char *)"TreeCtrl_SetItemFont", (PyCFunction
) _wrap_TreeCtrl_SetItemFont
, METH_VARARGS
| METH_KEYWORDS
},
32098 { (char *)"TreeCtrl_IsVisible", (PyCFunction
) _wrap_TreeCtrl_IsVisible
, METH_VARARGS
| METH_KEYWORDS
},
32099 { (char *)"TreeCtrl_ItemHasChildren", (PyCFunction
) _wrap_TreeCtrl_ItemHasChildren
, METH_VARARGS
| METH_KEYWORDS
},
32100 { (char *)"TreeCtrl_IsExpanded", (PyCFunction
) _wrap_TreeCtrl_IsExpanded
, METH_VARARGS
| METH_KEYWORDS
},
32101 { (char *)"TreeCtrl_IsSelected", (PyCFunction
) _wrap_TreeCtrl_IsSelected
, METH_VARARGS
| METH_KEYWORDS
},
32102 { (char *)"TreeCtrl_IsBold", (PyCFunction
) _wrap_TreeCtrl_IsBold
, METH_VARARGS
| METH_KEYWORDS
},
32103 { (char *)"TreeCtrl_GetChildrenCount", (PyCFunction
) _wrap_TreeCtrl_GetChildrenCount
, METH_VARARGS
| METH_KEYWORDS
},
32104 { (char *)"TreeCtrl_GetRootItem", (PyCFunction
) _wrap_TreeCtrl_GetRootItem
, METH_VARARGS
| METH_KEYWORDS
},
32105 { (char *)"TreeCtrl_GetSelection", (PyCFunction
) _wrap_TreeCtrl_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
32106 { (char *)"TreeCtrl_GetSelections", (PyCFunction
) _wrap_TreeCtrl_GetSelections
, METH_VARARGS
| METH_KEYWORDS
},
32107 { (char *)"TreeCtrl_GetItemParent", (PyCFunction
) _wrap_TreeCtrl_GetItemParent
, METH_VARARGS
| METH_KEYWORDS
},
32108 { (char *)"TreeCtrl_GetFirstChild", (PyCFunction
) _wrap_TreeCtrl_GetFirstChild
, METH_VARARGS
| METH_KEYWORDS
},
32109 { (char *)"TreeCtrl_GetNextChild", (PyCFunction
) _wrap_TreeCtrl_GetNextChild
, METH_VARARGS
| METH_KEYWORDS
},
32110 { (char *)"TreeCtrl_GetLastChild", (PyCFunction
) _wrap_TreeCtrl_GetLastChild
, METH_VARARGS
| METH_KEYWORDS
},
32111 { (char *)"TreeCtrl_GetNextSibling", (PyCFunction
) _wrap_TreeCtrl_GetNextSibling
, METH_VARARGS
| METH_KEYWORDS
},
32112 { (char *)"TreeCtrl_GetPrevSibling", (PyCFunction
) _wrap_TreeCtrl_GetPrevSibling
, METH_VARARGS
| METH_KEYWORDS
},
32113 { (char *)"TreeCtrl_GetFirstVisibleItem", (PyCFunction
) _wrap_TreeCtrl_GetFirstVisibleItem
, METH_VARARGS
| METH_KEYWORDS
},
32114 { (char *)"TreeCtrl_GetNextVisible", (PyCFunction
) _wrap_TreeCtrl_GetNextVisible
, METH_VARARGS
| METH_KEYWORDS
},
32115 { (char *)"TreeCtrl_GetPrevVisible", (PyCFunction
) _wrap_TreeCtrl_GetPrevVisible
, METH_VARARGS
| METH_KEYWORDS
},
32116 { (char *)"TreeCtrl_AddRoot", (PyCFunction
) _wrap_TreeCtrl_AddRoot
, METH_VARARGS
| METH_KEYWORDS
},
32117 { (char *)"TreeCtrl_PrependItem", (PyCFunction
) _wrap_TreeCtrl_PrependItem
, METH_VARARGS
| METH_KEYWORDS
},
32118 { (char *)"TreeCtrl_InsertItem", (PyCFunction
) _wrap_TreeCtrl_InsertItem
, METH_VARARGS
| METH_KEYWORDS
},
32119 { (char *)"TreeCtrl_InsertItemBefore", (PyCFunction
) _wrap_TreeCtrl_InsertItemBefore
, METH_VARARGS
| METH_KEYWORDS
},
32120 { (char *)"TreeCtrl_AppendItem", (PyCFunction
) _wrap_TreeCtrl_AppendItem
, METH_VARARGS
| METH_KEYWORDS
},
32121 { (char *)"TreeCtrl_Delete", (PyCFunction
) _wrap_TreeCtrl_Delete
, METH_VARARGS
| METH_KEYWORDS
},
32122 { (char *)"TreeCtrl_DeleteChildren", (PyCFunction
) _wrap_TreeCtrl_DeleteChildren
, METH_VARARGS
| METH_KEYWORDS
},
32123 { (char *)"TreeCtrl_DeleteAllItems", (PyCFunction
) _wrap_TreeCtrl_DeleteAllItems
, METH_VARARGS
| METH_KEYWORDS
},
32124 { (char *)"TreeCtrl_Expand", (PyCFunction
) _wrap_TreeCtrl_Expand
, METH_VARARGS
| METH_KEYWORDS
},
32125 { (char *)"TreeCtrl_Collapse", (PyCFunction
) _wrap_TreeCtrl_Collapse
, METH_VARARGS
| METH_KEYWORDS
},
32126 { (char *)"TreeCtrl_CollapseAndReset", (PyCFunction
) _wrap_TreeCtrl_CollapseAndReset
, METH_VARARGS
| METH_KEYWORDS
},
32127 { (char *)"TreeCtrl_Toggle", (PyCFunction
) _wrap_TreeCtrl_Toggle
, METH_VARARGS
| METH_KEYWORDS
},
32128 { (char *)"TreeCtrl_Unselect", (PyCFunction
) _wrap_TreeCtrl_Unselect
, METH_VARARGS
| METH_KEYWORDS
},
32129 { (char *)"TreeCtrl_UnselectItem", (PyCFunction
) _wrap_TreeCtrl_UnselectItem
, METH_VARARGS
| METH_KEYWORDS
},
32130 { (char *)"TreeCtrl_UnselectAll", (PyCFunction
) _wrap_TreeCtrl_UnselectAll
, METH_VARARGS
| METH_KEYWORDS
},
32131 { (char *)"TreeCtrl_SelectItem", (PyCFunction
) _wrap_TreeCtrl_SelectItem
, METH_VARARGS
| METH_KEYWORDS
},
32132 { (char *)"TreeCtrl_ToggleItemSelection", (PyCFunction
) _wrap_TreeCtrl_ToggleItemSelection
, METH_VARARGS
| METH_KEYWORDS
},
32133 { (char *)"TreeCtrl_EnsureVisible", (PyCFunction
) _wrap_TreeCtrl_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
},
32134 { (char *)"TreeCtrl_ScrollTo", (PyCFunction
) _wrap_TreeCtrl_ScrollTo
, METH_VARARGS
| METH_KEYWORDS
},
32135 { (char *)"TreeCtrl_EditLabel", (PyCFunction
) _wrap_TreeCtrl_EditLabel
, METH_VARARGS
| METH_KEYWORDS
},
32136 { (char *)"TreeCtrl_GetEditControl", (PyCFunction
) _wrap_TreeCtrl_GetEditControl
, METH_VARARGS
| METH_KEYWORDS
},
32137 { (char *)"TreeCtrl_EndEditLabel", (PyCFunction
) _wrap_TreeCtrl_EndEditLabel
, METH_VARARGS
| METH_KEYWORDS
},
32138 { (char *)"TreeCtrl_SortChildren", (PyCFunction
) _wrap_TreeCtrl_SortChildren
, METH_VARARGS
| METH_KEYWORDS
},
32139 { (char *)"TreeCtrl_HitTest", (PyCFunction
) _wrap_TreeCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
},
32140 { (char *)"TreeCtrl_GetBoundingRect", (PyCFunction
) _wrap_TreeCtrl_GetBoundingRect
, METH_VARARGS
| METH_KEYWORDS
},
32141 { (char *)"TreeCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_TreeCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
32142 { (char *)"TreeCtrl_swigregister", TreeCtrl_swigregister
, METH_VARARGS
},
32143 { (char *)"new_GenericDirCtrl", (PyCFunction
) _wrap_new_GenericDirCtrl
, METH_VARARGS
| METH_KEYWORDS
},
32144 { (char *)"new_PreGenericDirCtrl", (PyCFunction
) _wrap_new_PreGenericDirCtrl
, METH_VARARGS
| METH_KEYWORDS
},
32145 { (char *)"GenericDirCtrl_Create", (PyCFunction
) _wrap_GenericDirCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
},
32146 { (char *)"GenericDirCtrl_ExpandPath", (PyCFunction
) _wrap_GenericDirCtrl_ExpandPath
, METH_VARARGS
| METH_KEYWORDS
},
32147 { (char *)"GenericDirCtrl_GetDefaultPath", (PyCFunction
) _wrap_GenericDirCtrl_GetDefaultPath
, METH_VARARGS
| METH_KEYWORDS
},
32148 { (char *)"GenericDirCtrl_SetDefaultPath", (PyCFunction
) _wrap_GenericDirCtrl_SetDefaultPath
, METH_VARARGS
| METH_KEYWORDS
},
32149 { (char *)"GenericDirCtrl_GetPath", (PyCFunction
) _wrap_GenericDirCtrl_GetPath
, METH_VARARGS
| METH_KEYWORDS
},
32150 { (char *)"GenericDirCtrl_GetFilePath", (PyCFunction
) _wrap_GenericDirCtrl_GetFilePath
, METH_VARARGS
| METH_KEYWORDS
},
32151 { (char *)"GenericDirCtrl_SetPath", (PyCFunction
) _wrap_GenericDirCtrl_SetPath
, METH_VARARGS
| METH_KEYWORDS
},
32152 { (char *)"GenericDirCtrl_ShowHidden", (PyCFunction
) _wrap_GenericDirCtrl_ShowHidden
, METH_VARARGS
| METH_KEYWORDS
},
32153 { (char *)"GenericDirCtrl_GetShowHidden", (PyCFunction
) _wrap_GenericDirCtrl_GetShowHidden
, METH_VARARGS
| METH_KEYWORDS
},
32154 { (char *)"GenericDirCtrl_GetFilter", (PyCFunction
) _wrap_GenericDirCtrl_GetFilter
, METH_VARARGS
| METH_KEYWORDS
},
32155 { (char *)"GenericDirCtrl_SetFilter", (PyCFunction
) _wrap_GenericDirCtrl_SetFilter
, METH_VARARGS
| METH_KEYWORDS
},
32156 { (char *)"GenericDirCtrl_GetFilterIndex", (PyCFunction
) _wrap_GenericDirCtrl_GetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
},
32157 { (char *)"GenericDirCtrl_SetFilterIndex", (PyCFunction
) _wrap_GenericDirCtrl_SetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
},
32158 { (char *)"GenericDirCtrl_GetRootId", (PyCFunction
) _wrap_GenericDirCtrl_GetRootId
, METH_VARARGS
| METH_KEYWORDS
},
32159 { (char *)"GenericDirCtrl_GetTreeCtrl", (PyCFunction
) _wrap_GenericDirCtrl_GetTreeCtrl
, METH_VARARGS
| METH_KEYWORDS
},
32160 { (char *)"GenericDirCtrl_GetFilterListCtrl", (PyCFunction
) _wrap_GenericDirCtrl_GetFilterListCtrl
, METH_VARARGS
| METH_KEYWORDS
},
32161 { (char *)"GenericDirCtrl_FindChild", (PyCFunction
) _wrap_GenericDirCtrl_FindChild
, METH_VARARGS
| METH_KEYWORDS
},
32162 { (char *)"GenericDirCtrl_DoResize", (PyCFunction
) _wrap_GenericDirCtrl_DoResize
, METH_VARARGS
| METH_KEYWORDS
},
32163 { (char *)"GenericDirCtrl_ReCreateTree", (PyCFunction
) _wrap_GenericDirCtrl_ReCreateTree
, METH_VARARGS
| METH_KEYWORDS
},
32164 { (char *)"GenericDirCtrl_swigregister", GenericDirCtrl_swigregister
, METH_VARARGS
},
32165 { (char *)"new_DirFilterListCtrl", (PyCFunction
) _wrap_new_DirFilterListCtrl
, METH_VARARGS
| METH_KEYWORDS
},
32166 { (char *)"new_PreDirFilterListCtrl", (PyCFunction
) _wrap_new_PreDirFilterListCtrl
, METH_VARARGS
| METH_KEYWORDS
},
32167 { (char *)"DirFilterListCtrl_Create", (PyCFunction
) _wrap_DirFilterListCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
},
32168 { (char *)"DirFilterListCtrl_FillFilterList", (PyCFunction
) _wrap_DirFilterListCtrl_FillFilterList
, METH_VARARGS
| METH_KEYWORDS
},
32169 { (char *)"DirFilterListCtrl_swigregister", DirFilterListCtrl_swigregister
, METH_VARARGS
},
32170 { (char *)"new_PyControl", (PyCFunction
) _wrap_new_PyControl
, METH_VARARGS
| METH_KEYWORDS
},
32171 { (char *)"new_PrePyControl", (PyCFunction
) _wrap_new_PrePyControl
, METH_VARARGS
| METH_KEYWORDS
},
32172 { (char *)"PyControl__setCallbackInfo", (PyCFunction
) _wrap_PyControl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
32173 { (char *)"PyControl_SetBestSize", (PyCFunction
) _wrap_PyControl_SetBestSize
, METH_VARARGS
| METH_KEYWORDS
},
32174 { (char *)"PyControl_base_DoMoveWindow", (PyCFunction
) _wrap_PyControl_base_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
},
32175 { (char *)"PyControl_base_DoSetSize", (PyCFunction
) _wrap_PyControl_base_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
},
32176 { (char *)"PyControl_base_DoSetClientSize", (PyCFunction
) _wrap_PyControl_base_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
32177 { (char *)"PyControl_base_DoSetVirtualSize", (PyCFunction
) _wrap_PyControl_base_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
32178 { (char *)"PyControl_base_DoGetSize", (PyCFunction
) _wrap_PyControl_base_DoGetSize
, METH_VARARGS
| METH_KEYWORDS
},
32179 { (char *)"PyControl_base_DoGetClientSize", (PyCFunction
) _wrap_PyControl_base_DoGetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
32180 { (char *)"PyControl_base_DoGetPosition", (PyCFunction
) _wrap_PyControl_base_DoGetPosition
, METH_VARARGS
| METH_KEYWORDS
},
32181 { (char *)"PyControl_base_DoGetVirtualSize", (PyCFunction
) _wrap_PyControl_base_DoGetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
32182 { (char *)"PyControl_base_DoGetBestSize", (PyCFunction
) _wrap_PyControl_base_DoGetBestSize
, METH_VARARGS
| METH_KEYWORDS
},
32183 { (char *)"PyControl_base_InitDialog", (PyCFunction
) _wrap_PyControl_base_InitDialog
, METH_VARARGS
| METH_KEYWORDS
},
32184 { (char *)"PyControl_base_TransferDataToWindow", (PyCFunction
) _wrap_PyControl_base_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
},
32185 { (char *)"PyControl_base_TransferDataFromWindow", (PyCFunction
) _wrap_PyControl_base_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
},
32186 { (char *)"PyControl_base_Validate", (PyCFunction
) _wrap_PyControl_base_Validate
, METH_VARARGS
| METH_KEYWORDS
},
32187 { (char *)"PyControl_base_AcceptsFocus", (PyCFunction
) _wrap_PyControl_base_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
},
32188 { (char *)"PyControl_base_AcceptsFocusFromKeyboard", (PyCFunction
) _wrap_PyControl_base_AcceptsFocusFromKeyboard
, METH_VARARGS
| METH_KEYWORDS
},
32189 { (char *)"PyControl_base_GetMaxSize", (PyCFunction
) _wrap_PyControl_base_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
},
32190 { (char *)"PyControl_base_AddChild", (PyCFunction
) _wrap_PyControl_base_AddChild
, METH_VARARGS
| METH_KEYWORDS
},
32191 { (char *)"PyControl_base_RemoveChild", (PyCFunction
) _wrap_PyControl_base_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
},
32192 { (char *)"PyControl_base_ShouldInheritColours", (PyCFunction
) _wrap_PyControl_base_ShouldInheritColours
, METH_VARARGS
| METH_KEYWORDS
},
32193 { (char *)"PyControl_base_ApplyParentThemeBackground", (PyCFunction
) _wrap_PyControl_base_ApplyParentThemeBackground
, METH_VARARGS
| METH_KEYWORDS
},
32194 { (char *)"PyControl_base_GetDefaultAttributes", (PyCFunction
) _wrap_PyControl_base_GetDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
32195 { (char *)"PyControl_swigregister", PyControl_swigregister
, METH_VARARGS
},
32196 { (char *)"new_HelpEvent", (PyCFunction
) _wrap_new_HelpEvent
, METH_VARARGS
| METH_KEYWORDS
},
32197 { (char *)"HelpEvent_GetPosition", (PyCFunction
) _wrap_HelpEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
32198 { (char *)"HelpEvent_SetPosition", (PyCFunction
) _wrap_HelpEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
},
32199 { (char *)"HelpEvent_GetLink", (PyCFunction
) _wrap_HelpEvent_GetLink
, METH_VARARGS
| METH_KEYWORDS
},
32200 { (char *)"HelpEvent_SetLink", (PyCFunction
) _wrap_HelpEvent_SetLink
, METH_VARARGS
| METH_KEYWORDS
},
32201 { (char *)"HelpEvent_GetTarget", (PyCFunction
) _wrap_HelpEvent_GetTarget
, METH_VARARGS
| METH_KEYWORDS
},
32202 { (char *)"HelpEvent_SetTarget", (PyCFunction
) _wrap_HelpEvent_SetTarget
, METH_VARARGS
| METH_KEYWORDS
},
32203 { (char *)"HelpEvent_swigregister", HelpEvent_swigregister
, METH_VARARGS
},
32204 { (char *)"new_ContextHelp", (PyCFunction
) _wrap_new_ContextHelp
, METH_VARARGS
| METH_KEYWORDS
},
32205 { (char *)"delete_ContextHelp", (PyCFunction
) _wrap_delete_ContextHelp
, METH_VARARGS
| METH_KEYWORDS
},
32206 { (char *)"ContextHelp_BeginContextHelp", (PyCFunction
) _wrap_ContextHelp_BeginContextHelp
, METH_VARARGS
| METH_KEYWORDS
},
32207 { (char *)"ContextHelp_EndContextHelp", (PyCFunction
) _wrap_ContextHelp_EndContextHelp
, METH_VARARGS
| METH_KEYWORDS
},
32208 { (char *)"ContextHelp_swigregister", ContextHelp_swigregister
, METH_VARARGS
},
32209 { (char *)"new_ContextHelpButton", (PyCFunction
) _wrap_new_ContextHelpButton
, METH_VARARGS
| METH_KEYWORDS
},
32210 { (char *)"ContextHelpButton_swigregister", ContextHelpButton_swigregister
, METH_VARARGS
},
32211 { (char *)"HelpProvider_Set", (PyCFunction
) _wrap_HelpProvider_Set
, METH_VARARGS
| METH_KEYWORDS
},
32212 { (char *)"HelpProvider_Get", (PyCFunction
) _wrap_HelpProvider_Get
, METH_VARARGS
| METH_KEYWORDS
},
32213 { (char *)"HelpProvider_GetHelp", (PyCFunction
) _wrap_HelpProvider_GetHelp
, METH_VARARGS
| METH_KEYWORDS
},
32214 { (char *)"HelpProvider_ShowHelp", (PyCFunction
) _wrap_HelpProvider_ShowHelp
, METH_VARARGS
| METH_KEYWORDS
},
32215 { (char *)"HelpProvider_AddHelp", (PyCFunction
) _wrap_HelpProvider_AddHelp
, METH_VARARGS
| METH_KEYWORDS
},
32216 { (char *)"HelpProvider_AddHelpById", (PyCFunction
) _wrap_HelpProvider_AddHelpById
, METH_VARARGS
| METH_KEYWORDS
},
32217 { (char *)"HelpProvider_RemoveHelp", (PyCFunction
) _wrap_HelpProvider_RemoveHelp
, METH_VARARGS
| METH_KEYWORDS
},
32218 { (char *)"HelpProvider_Destroy", (PyCFunction
) _wrap_HelpProvider_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
32219 { (char *)"HelpProvider_swigregister", HelpProvider_swigregister
, METH_VARARGS
},
32220 { (char *)"new_SimpleHelpProvider", (PyCFunction
) _wrap_new_SimpleHelpProvider
, METH_VARARGS
| METH_KEYWORDS
},
32221 { (char *)"SimpleHelpProvider_swigregister", SimpleHelpProvider_swigregister
, METH_VARARGS
},
32222 { (char *)"new_DragImage", (PyCFunction
) _wrap_new_DragImage
, METH_VARARGS
| METH_KEYWORDS
},
32223 { (char *)"new_DragIcon", (PyCFunction
) _wrap_new_DragIcon
, METH_VARARGS
| METH_KEYWORDS
},
32224 { (char *)"new_DragString", (PyCFunction
) _wrap_new_DragString
, METH_VARARGS
| METH_KEYWORDS
},
32225 { (char *)"new_DragTreeItem", (PyCFunction
) _wrap_new_DragTreeItem
, METH_VARARGS
| METH_KEYWORDS
},
32226 { (char *)"new_DragListItem", (PyCFunction
) _wrap_new_DragListItem
, METH_VARARGS
| METH_KEYWORDS
},
32227 { (char *)"delete_DragImage", (PyCFunction
) _wrap_delete_DragImage
, METH_VARARGS
| METH_KEYWORDS
},
32228 { (char *)"DragImage_SetBackingBitmap", (PyCFunction
) _wrap_DragImage_SetBackingBitmap
, METH_VARARGS
| METH_KEYWORDS
},
32229 { (char *)"DragImage_BeginDrag", (PyCFunction
) _wrap_DragImage_BeginDrag
, METH_VARARGS
| METH_KEYWORDS
},
32230 { (char *)"DragImage_BeginDragBounded", (PyCFunction
) _wrap_DragImage_BeginDragBounded
, METH_VARARGS
| METH_KEYWORDS
},
32231 { (char *)"DragImage_EndDrag", (PyCFunction
) _wrap_DragImage_EndDrag
, METH_VARARGS
| METH_KEYWORDS
},
32232 { (char *)"DragImage_Move", (PyCFunction
) _wrap_DragImage_Move
, METH_VARARGS
| METH_KEYWORDS
},
32233 { (char *)"DragImage_Show", (PyCFunction
) _wrap_DragImage_Show
, METH_VARARGS
| METH_KEYWORDS
},
32234 { (char *)"DragImage_Hide", (PyCFunction
) _wrap_DragImage_Hide
, METH_VARARGS
| METH_KEYWORDS
},
32235 { (char *)"DragImage_GetImageRect", (PyCFunction
) _wrap_DragImage_GetImageRect
, METH_VARARGS
| METH_KEYWORDS
},
32236 { (char *)"DragImage_DoDrawImage", (PyCFunction
) _wrap_DragImage_DoDrawImage
, METH_VARARGS
| METH_KEYWORDS
},
32237 { (char *)"DragImage_UpdateBackingFromWindow", (PyCFunction
) _wrap_DragImage_UpdateBackingFromWindow
, METH_VARARGS
| METH_KEYWORDS
},
32238 { (char *)"DragImage_RedrawImage", (PyCFunction
) _wrap_DragImage_RedrawImage
, METH_VARARGS
| METH_KEYWORDS
},
32239 { (char *)"DragImage_swigregister", DragImage_swigregister
, METH_VARARGS
},
32244 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
32246 static void *_p_wxNotebookEventTo_p_wxBookCtrlEvent(void *x
) {
32247 return (void *)((wxBookCtrlEvent
*) ((wxNotebookEvent
*) x
));
32249 static void *_p_wxListbookEventTo_p_wxBookCtrlEvent(void *x
) {
32250 return (void *)((wxBookCtrlEvent
*) ((wxListbookEvent
*) x
));
32252 static void *_p_wxBoxSizerTo_p_wxSizer(void *x
) {
32253 return (void *)((wxSizer
*) ((wxBoxSizer
*) x
));
32255 static void *_p_wxStaticBoxSizerTo_p_wxSizer(void *x
) {
32256 return (void *)((wxSizer
*) (wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
32258 static void *_p_wxGridBagSizerTo_p_wxSizer(void *x
) {
32259 return (void *)((wxSizer
*) (wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
32261 static void *_p_wxGridSizerTo_p_wxSizer(void *x
) {
32262 return (void *)((wxSizer
*) ((wxGridSizer
*) x
));
32264 static void *_p_wxFlexGridSizerTo_p_wxSizer(void *x
) {
32265 return (void *)((wxSizer
*) (wxGridSizer
*) ((wxFlexGridSizer
*) x
));
32267 static void *_p_wxNotebookSizerTo_p_wxSizer(void *x
) {
32268 return (void *)((wxSizer
*) ((wxNotebookSizer
*) x
));
32270 static void *_p_wxPySizerTo_p_wxSizer(void *x
) {
32271 return (void *)((wxSizer
*) ((wxPySizer
*) x
));
32273 static void *_p_wxBookCtrlSizerTo_p_wxSizer(void *x
) {
32274 return (void *)((wxSizer
*) ((wxBookCtrlSizer
*) x
));
32276 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
32277 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
32279 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
32280 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
32282 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
32283 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
32285 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
32286 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
32288 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
32289 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
32291 static void *_p_wxTreeEventTo_p_wxEvent(void *x
) {
32292 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxTreeEvent
*) x
));
32294 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
32295 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
32297 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
32298 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
32300 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
32301 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
32303 static void *_p_wxTextUrlEventTo_p_wxEvent(void *x
) {
32304 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
32306 static void *_p_wxBookCtrlEventTo_p_wxEvent(void *x
) {
32307 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxBookCtrlEvent
*) x
));
32309 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
32310 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
32312 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
32313 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
32315 static void *_p_wxListEventTo_p_wxEvent(void *x
) {
32316 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxListEvent
*) x
));
32318 static void *_p_wxNotebookEventTo_p_wxEvent(void *x
) {
32319 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlEvent
*) ((wxNotebookEvent
*) x
));
32321 static void *_p_wxListbookEventTo_p_wxEvent(void *x
) {
32322 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlEvent
*) ((wxListbookEvent
*) x
));
32324 static void *_p_wxHelpEventTo_p_wxEvent(void *x
) {
32325 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxHelpEvent
*) x
));
32327 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
32328 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
32330 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
32331 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
32333 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
32334 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
32336 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
32337 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
32339 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
32340 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
32342 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
32343 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
32345 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
32346 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
32348 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
32349 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
32351 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
32352 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
32354 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
32355 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
32357 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
32358 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
32360 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
32361 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
32363 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
32364 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
32366 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
32367 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
32369 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
32370 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
32372 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
32373 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
32375 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
32376 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
32378 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
32379 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
32381 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
32382 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
32384 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
32385 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
32387 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
32388 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
32390 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
32391 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
32393 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
32394 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
32396 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
32397 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
32399 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
32400 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
32402 static void *_p_wxSpinEventTo_p_wxEvent(void *x
) {
32403 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxSpinEvent
*) x
));
32405 static void *_p_wxComboBoxTo_p_wxItemContainer(void *x
) {
32406 return (void *)((wxItemContainer
*) (wxControlWithItems
*)(wxChoice
*) ((wxComboBox
*) x
));
32408 static void *_p_wxDirFilterListCtrlTo_p_wxItemContainer(void *x
) {
32409 return (void *)((wxItemContainer
*) (wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
32411 static void *_p_wxChoiceTo_p_wxItemContainer(void *x
) {
32412 return (void *)((wxItemContainer
*) (wxControlWithItems
*) ((wxChoice
*) x
));
32414 static void *_p_wxControlWithItemsTo_p_wxItemContainer(void *x
) {
32415 return (void *)((wxItemContainer
*) ((wxControlWithItems
*) x
));
32417 static void *_p_wxListBoxTo_p_wxItemContainer(void *x
) {
32418 return (void *)((wxItemContainer
*) (wxControlWithItems
*) ((wxListBox
*) x
));
32420 static void *_p_wxCheckListBoxTo_p_wxItemContainer(void *x
) {
32421 return (void *)((wxItemContainer
*) (wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
32423 static void *_p_wxListViewTo_p_wxPyListCtrl(void *x
) {
32424 return (void *)((wxPyListCtrl
*) ((wxListView
*) x
));
32426 static void *_p_wxCheckListBoxTo_p_wxControl(void *x
) {
32427 return (void *)((wxControl
*) (wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
32429 static void *_p_wxListBoxTo_p_wxControl(void *x
) {
32430 return (void *)((wxControl
*) (wxControlWithItems
*) ((wxListBox
*) x
));
32432 static void *_p_wxChoiceTo_p_wxControl(void *x
) {
32433 return (void *)((wxControl
*) (wxControlWithItems
*) ((wxChoice
*) x
));
32435 static void *_p_wxToolBarTo_p_wxControl(void *x
) {
32436 return (void *)((wxControl
*) (wxToolBarBase
*) ((wxToolBar
*) x
));
32438 static void *_p_wxStaticBitmapTo_p_wxControl(void *x
) {
32439 return (void *)((wxControl
*) ((wxStaticBitmap
*) x
));
32441 static void *_p_wxComboBoxTo_p_wxControl(void *x
) {
32442 return (void *)((wxControl
*) (wxControlWithItems
*)(wxChoice
*) ((wxComboBox
*) x
));
32444 static void *_p_wxSpinCtrlTo_p_wxControl(void *x
) {
32445 return (void *)((wxControl
*) ((wxSpinCtrl
*) x
));
32447 static void *_p_wxStaticBoxTo_p_wxControl(void *x
) {
32448 return (void *)((wxControl
*) ((wxStaticBox
*) x
));
32450 static void *_p_wxPyListCtrlTo_p_wxControl(void *x
) {
32451 return (void *)((wxControl
*) ((wxPyListCtrl
*) x
));
32453 static void *_p_wxPyTreeCtrlTo_p_wxControl(void *x
) {
32454 return (void *)((wxControl
*) ((wxPyTreeCtrl
*) x
));
32456 static void *_p_wxDirFilterListCtrlTo_p_wxControl(void *x
) {
32457 return (void *)((wxControl
*) (wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
32459 static void *_p_wxScrollBarTo_p_wxControl(void *x
) {
32460 return (void *)((wxControl
*) ((wxScrollBar
*) x
));
32462 static void *_p_wxBookCtrlTo_p_wxControl(void *x
) {
32463 return (void *)((wxControl
*) ((wxBookCtrl
*) x
));
32465 static void *_p_wxRadioButtonTo_p_wxControl(void *x
) {
32466 return (void *)((wxControl
*) ((wxRadioButton
*) x
));
32468 static void *_p_wxToggleButtonTo_p_wxControl(void *x
) {
32469 return (void *)((wxControl
*) ((wxToggleButton
*) x
));
32471 static void *_p_wxGaugeTo_p_wxControl(void *x
) {
32472 return (void *)((wxControl
*) ((wxGauge
*) x
));
32474 static void *_p_wxToolBarBaseTo_p_wxControl(void *x
) {
32475 return (void *)((wxControl
*) ((wxToolBarBase
*) x
));
32477 static void *_p_wxBitmapButtonTo_p_wxControl(void *x
) {
32478 return (void *)((wxControl
*) (wxButton
*) ((wxBitmapButton
*) x
));
32480 static void *_p_wxButtonTo_p_wxControl(void *x
) {
32481 return (void *)((wxControl
*) ((wxButton
*) x
));
32483 static void *_p_wxSpinButtonTo_p_wxControl(void *x
) {
32484 return (void *)((wxControl
*) ((wxSpinButton
*) x
));
32486 static void *_p_wxContextHelpButtonTo_p_wxControl(void *x
) {
32487 return (void *)((wxControl
*) (wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
32489 static void *_p_wxControlWithItemsTo_p_wxControl(void *x
) {
32490 return (void *)((wxControl
*) ((wxControlWithItems
*) x
));
32492 static void *_p_wxRadioBoxTo_p_wxControl(void *x
) {
32493 return (void *)((wxControl
*) ((wxRadioBox
*) x
));
32495 static void *_p_wxNotebookTo_p_wxControl(void *x
) {
32496 return (void *)((wxControl
*) (wxBookCtrl
*) ((wxNotebook
*) x
));
32498 static void *_p_wxListbookTo_p_wxControl(void *x
) {
32499 return (void *)((wxControl
*) (wxBookCtrl
*) ((wxListbook
*) x
));
32501 static void *_p_wxCheckBoxTo_p_wxControl(void *x
) {
32502 return (void *)((wxControl
*) ((wxCheckBox
*) x
));
32504 static void *_p_wxTextCtrlTo_p_wxControl(void *x
) {
32505 return (void *)((wxControl
*) ((wxTextCtrl
*) x
));
32507 static void *_p_wxListViewTo_p_wxControl(void *x
) {
32508 return (void *)((wxControl
*) (wxPyListCtrl
*) ((wxListView
*) x
));
32510 static void *_p_wxSliderTo_p_wxControl(void *x
) {
32511 return (void *)((wxControl
*) ((wxSlider
*) x
));
32513 static void *_p_wxGenericDirCtrlTo_p_wxControl(void *x
) {
32514 return (void *)((wxControl
*) ((wxGenericDirCtrl
*) x
));
32516 static void *_p_wxPyControlTo_p_wxControl(void *x
) {
32517 return (void *)((wxControl
*) ((wxPyControl
*) x
));
32519 static void *_p_wxStaticLineTo_p_wxControl(void *x
) {
32520 return (void *)((wxControl
*) ((wxStaticLine
*) x
));
32522 static void *_p_wxStaticTextTo_p_wxControl(void *x
) {
32523 return (void *)((wxControl
*) ((wxStaticText
*) x
));
32525 static void *_p_wxToolBarTo_p_wxToolBarBase(void *x
) {
32526 return (void *)((wxToolBarBase
*) ((wxToolBar
*) x
));
32528 static void *_p_wxComboBoxTo_p_wxChoice(void *x
) {
32529 return (void *)((wxChoice
*) ((wxComboBox
*) x
));
32531 static void *_p_wxDirFilterListCtrlTo_p_wxChoice(void *x
) {
32532 return (void *)((wxChoice
*) ((wxDirFilterListCtrl
*) x
));
32534 static void *_p_wxTreeEventTo_p_wxNotifyEvent(void *x
) {
32535 return (void *)((wxNotifyEvent
*) ((wxTreeEvent
*) x
));
32537 static void *_p_wxBookCtrlEventTo_p_wxNotifyEvent(void *x
) {
32538 return (void *)((wxNotifyEvent
*) ((wxBookCtrlEvent
*) x
));
32540 static void *_p_wxListEventTo_p_wxNotifyEvent(void *x
) {
32541 return (void *)((wxNotifyEvent
*) ((wxListEvent
*) x
));
32543 static void *_p_wxSpinEventTo_p_wxNotifyEvent(void *x
) {
32544 return (void *)((wxNotifyEvent
*) ((wxSpinEvent
*) x
));
32546 static void *_p_wxNotebookEventTo_p_wxNotifyEvent(void *x
) {
32547 return (void *)((wxNotifyEvent
*) (wxBookCtrlEvent
*) ((wxNotebookEvent
*) x
));
32549 static void *_p_wxListbookEventTo_p_wxNotifyEvent(void *x
) {
32550 return (void *)((wxNotifyEvent
*) (wxBookCtrlEvent
*) ((wxListbookEvent
*) x
));
32552 static void *_p_wxBookCtrlTo_p_wxEvtHandler(void *x
) {
32553 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxBookCtrl
*) x
));
32555 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
32556 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
32558 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
32559 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
32561 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
32562 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
32564 static void *_p_wxToolBarTo_p_wxEvtHandler(void *x
) {
32565 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
32567 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
32568 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
32570 static void *_p_wxToggleButtonTo_p_wxEvtHandler(void *x
) {
32571 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxToggleButton
*) x
));
32573 static void *_p_wxRadioButtonTo_p_wxEvtHandler(void *x
) {
32574 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxRadioButton
*) x
));
32576 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
32577 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
32579 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
32580 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
32582 static void *_p_wxToolBarBaseTo_p_wxEvtHandler(void *x
) {
32583 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxToolBarBase
*) x
));
32585 static void *_p_wxPyListCtrlTo_p_wxEvtHandler(void *x
) {
32586 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyListCtrl
*) x
));
32588 static void *_p_wxComboBoxTo_p_wxEvtHandler(void *x
) {
32589 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxComboBox
*) x
));
32591 static void *_p_wxDirFilterListCtrlTo_p_wxEvtHandler(void *x
) {
32592 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
32594 static void *_p_wxPyControlTo_p_wxEvtHandler(void *x
) {
32595 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyControl
*) x
));
32597 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
32598 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
32600 static void *_p_wxGenericDirCtrlTo_p_wxEvtHandler(void *x
) {
32601 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxGenericDirCtrl
*) x
));
32603 static void *_p_wxScrollBarTo_p_wxEvtHandler(void *x
) {
32604 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxScrollBar
*) x
));
32606 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
32607 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
32609 static void *_p_wxGaugeTo_p_wxEvtHandler(void *x
) {
32610 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxGauge
*) x
));
32612 static void *_p_wxStaticLineTo_p_wxEvtHandler(void *x
) {
32613 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticLine
*) x
));
32615 static void *_p_wxListbookTo_p_wxEvtHandler(void *x
) {
32616 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrl
*) ((wxListbook
*) x
));
32618 static void *_p_wxPyTreeCtrlTo_p_wxEvtHandler(void *x
) {
32619 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyTreeCtrl
*) x
));
32621 static void *_p_wxCheckBoxTo_p_wxEvtHandler(void *x
) {
32622 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxCheckBox
*) x
));
32624 static void *_p_wxRadioBoxTo_p_wxEvtHandler(void *x
) {
32625 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxRadioBox
*) x
));
32627 static void *_p_wxCheckListBoxTo_p_wxEvtHandler(void *x
) {
32628 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
32630 static void *_p_wxListBoxTo_p_wxEvtHandler(void *x
) {
32631 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
32633 static void *_p_wxChoiceTo_p_wxEvtHandler(void *x
) {
32634 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
32636 static void *_p_wxNotebookTo_p_wxEvtHandler(void *x
) {
32637 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrl
*) ((wxNotebook
*) x
));
32639 static void *_p_wxStaticBitmapTo_p_wxEvtHandler(void *x
) {
32640 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticBitmap
*) x
));
32642 static void *_p_wxListViewTo_p_wxEvtHandler(void *x
) {
32643 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
32645 static void *_p_wxSpinCtrlTo_p_wxEvtHandler(void *x
) {
32646 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSpinCtrl
*) x
));
32648 static void *_p_wxStaticTextTo_p_wxEvtHandler(void *x
) {
32649 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticText
*) x
));
32651 static void *_p_wxStaticBoxTo_p_wxEvtHandler(void *x
) {
32652 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticBox
*) x
));
32654 static void *_p_wxSliderTo_p_wxEvtHandler(void *x
) {
32655 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSlider
*) x
));
32657 static void *_p_wxSpinButtonTo_p_wxEvtHandler(void *x
) {
32658 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSpinButton
*) x
));
32660 static void *_p_wxButtonTo_p_wxEvtHandler(void *x
) {
32661 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxButton
*) x
));
32663 static void *_p_wxBitmapButtonTo_p_wxEvtHandler(void *x
) {
32664 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
32666 static void *_p_wxContextHelpButtonTo_p_wxEvtHandler(void *x
) {
32667 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
32669 static void *_p_wxTextCtrlTo_p_wxEvtHandler(void *x
) {
32670 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxTextCtrl
*) x
));
32672 static void *_p_wxCheckListBoxTo_p_wxListBox(void *x
) {
32673 return (void *)((wxListBox
*) ((wxCheckListBox
*) x
));
32675 static void *_p_wxListbookTo_p_wxBookCtrl(void *x
) {
32676 return (void *)((wxBookCtrl
*) ((wxListbook
*) x
));
32678 static void *_p_wxNotebookTo_p_wxBookCtrl(void *x
) {
32679 return (void *)((wxBookCtrl
*) ((wxNotebook
*) x
));
32681 static void *_p_wxBitmapButtonTo_p_wxButton(void *x
) {
32682 return (void *)((wxButton
*) ((wxBitmapButton
*) x
));
32684 static void *_p_wxContextHelpButtonTo_p_wxButton(void *x
) {
32685 return (void *)((wxButton
*) (wxBitmapButton
*) ((wxContextHelpButton
*) x
));
32687 static void *_p_wxContextHelpButtonTo_p_wxBitmapButton(void *x
) {
32688 return (void *)((wxBitmapButton
*) ((wxContextHelpButton
*) x
));
32690 static void *_p_wxSimpleHelpProviderTo_p_wxHelpProvider(void *x
) {
32691 return (void *)((wxHelpProvider
*) ((wxSimpleHelpProvider
*) x
));
32693 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
32694 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
32696 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
32697 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
32699 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
32700 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
32702 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
32703 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
32705 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
32706 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
32708 static void *_p_wxTextUrlEventTo_p_wxObject(void *x
) {
32709 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
32711 static void *_p_wxBookCtrlEventTo_p_wxObject(void *x
) {
32712 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxBookCtrlEvent
*) x
));
32714 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
32715 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
32717 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
32718 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
32720 static void *_p_wxSizerTo_p_wxObject(void *x
) {
32721 return (void *)((wxObject
*) ((wxSizer
*) x
));
32723 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
32724 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
32726 static void *_p_wxCheckBoxTo_p_wxObject(void *x
) {
32727 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxCheckBox
*) x
));
32729 static void *_p_wxPyTreeCtrlTo_p_wxObject(void *x
) {
32730 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyTreeCtrl
*) x
));
32732 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
32733 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
32735 static void *_p_wxEventTo_p_wxObject(void *x
) {
32736 return (void *)((wxObject
*) ((wxEvent
*) x
));
32738 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
32739 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
32741 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
32742 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
32744 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
32745 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
32747 static void *_p_wxGenericDirCtrlTo_p_wxObject(void *x
) {
32748 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxGenericDirCtrl
*) x
));
32750 static void *_p_wxPyListCtrlTo_p_wxObject(void *x
) {
32751 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyListCtrl
*) x
));
32753 static void *_p_wxDirFilterListCtrlTo_p_wxObject(void *x
) {
32754 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
32756 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
32757 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
32759 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
32760 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
32762 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
32763 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
32765 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
32766 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
32768 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
32769 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
32771 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
32772 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
32774 static void *_p_wxStaticLineTo_p_wxObject(void *x
) {
32775 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticLine
*) x
));
32777 static void *_p_wxControlTo_p_wxObject(void *x
) {
32778 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
32780 static void *_p_wxPyControlTo_p_wxObject(void *x
) {
32781 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyControl
*) x
));
32783 static void *_p_wxGaugeTo_p_wxObject(void *x
) {
32784 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxGauge
*) x
));
32786 static void *_p_wxRadioButtonTo_p_wxObject(void *x
) {
32787 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxRadioButton
*) x
));
32789 static void *_p_wxToggleButtonTo_p_wxObject(void *x
) {
32790 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxToggleButton
*) x
));
32792 static void *_p_wxToolBarBaseTo_p_wxObject(void *x
) {
32793 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxToolBarBase
*) x
));
32795 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
32796 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
32798 static void *_p_wxChoiceTo_p_wxObject(void *x
) {
32799 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
32801 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
32802 return (void *)((wxObject
*) ((wxFSFile
*) x
));
32804 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
32805 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
32807 static void *_p_wxListViewTo_p_wxObject(void *x
) {
32808 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
32810 static void *_p_wxTextCtrlTo_p_wxObject(void *x
) {
32811 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxTextCtrl
*) x
));
32813 static void *_p_wxNotebookTo_p_wxObject(void *x
) {
32814 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrl
*) ((wxNotebook
*) x
));
32816 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
32817 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
32819 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
32820 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
32822 static void *_p_wxListbookTo_p_wxObject(void *x
) {
32823 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrl
*) ((wxListbook
*) x
));
32825 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
32826 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
32828 static void *_p_wxStaticBitmapTo_p_wxObject(void *x
) {
32829 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticBitmap
*) x
));
32831 static void *_p_wxSliderTo_p_wxObject(void *x
) {
32832 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSlider
*) x
));
32834 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
32835 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
32837 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
32838 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
32840 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
32841 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
32843 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
32844 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
32846 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
32847 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
32849 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
32850 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
32852 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
32853 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
32855 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
32856 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
32858 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
32859 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
32861 static void *_p_wxStaticBoxTo_p_wxObject(void *x
) {
32862 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticBox
*) x
));
32864 static void *_p_wxContextHelpTo_p_wxObject(void *x
) {
32865 return (void *)((wxObject
*) ((wxContextHelp
*) x
));
32867 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
32868 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
32870 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
32871 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
32873 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
32874 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
32876 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
32877 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
32879 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
32880 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
32882 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
32883 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
32885 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
32886 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
32888 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
32889 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
32891 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
32892 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
32894 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
32895 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
32897 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
32898 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
32900 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
32901 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
32903 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
32904 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
32906 static void *_p_wxListEventTo_p_wxObject(void *x
) {
32907 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxListEvent
*) x
));
32909 static void *_p_wxListBoxTo_p_wxObject(void *x
) {
32910 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
32912 static void *_p_wxCheckListBoxTo_p_wxObject(void *x
) {
32913 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
32915 static void *_p_wxBookCtrlTo_p_wxObject(void *x
) {
32916 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxBookCtrl
*) x
));
32918 static void *_p_wxButtonTo_p_wxObject(void *x
) {
32919 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxButton
*) x
));
32921 static void *_p_wxBitmapButtonTo_p_wxObject(void *x
) {
32922 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
32924 static void *_p_wxSpinButtonTo_p_wxObject(void *x
) {
32925 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSpinButton
*) x
));
32927 static void *_p_wxContextHelpButtonTo_p_wxObject(void *x
) {
32928 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
32930 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
32931 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
32933 static void *_p_wxScrollBarTo_p_wxObject(void *x
) {
32934 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxScrollBar
*) x
));
32936 static void *_p_wxRadioBoxTo_p_wxObject(void *x
) {
32937 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxRadioBox
*) x
));
32939 static void *_p_wxComboBoxTo_p_wxObject(void *x
) {
32940 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxComboBox
*) x
));
32942 static void *_p_wxHelpEventTo_p_wxObject(void *x
) {
32943 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxHelpEvent
*) x
));
32945 static void *_p_wxListItemTo_p_wxObject(void *x
) {
32946 return (void *)((wxObject
*) ((wxListItem
*) x
));
32948 static void *_p_wxImageTo_p_wxObject(void *x
) {
32949 return (void *)((wxObject
*) ((wxImage
*) x
));
32951 static void *_p_wxNotebookSizerTo_p_wxObject(void *x
) {
32952 return (void *)((wxObject
*) (wxSizer
*) ((wxNotebookSizer
*) x
));
32954 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
32955 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
32957 static void *_p_wxSpinEventTo_p_wxObject(void *x
) {
32958 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxSpinEvent
*) x
));
32960 static void *_p_wxGenericDragImageTo_p_wxObject(void *x
) {
32961 return (void *)((wxObject
*) ((wxGenericDragImage
*) x
));
32963 static void *_p_wxSpinCtrlTo_p_wxObject(void *x
) {
32964 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSpinCtrl
*) x
));
32966 static void *_p_wxNotebookEventTo_p_wxObject(void *x
) {
32967 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlEvent
*) ((wxNotebookEvent
*) x
));
32969 static void *_p_wxListbookEventTo_p_wxObject(void *x
) {
32970 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlEvent
*) ((wxListbookEvent
*) x
));
32972 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
32973 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
32975 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
32976 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
32978 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
32979 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
32981 static void *_p_wxWindowTo_p_wxObject(void *x
) {
32982 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
32984 static void *_p_wxMenuTo_p_wxObject(void *x
) {
32985 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
32987 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
32988 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
32990 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
32991 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
32993 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
32994 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
32996 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
32997 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
32999 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
33000 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
33002 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
33003 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
33005 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
33006 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
33008 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
33009 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
33011 static void *_p_wxTreeEventTo_p_wxObject(void *x
) {
33012 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxTreeEvent
*) x
));
33014 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
33015 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
33017 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
33018 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
33020 static void *_p_wxStaticTextTo_p_wxObject(void *x
) {
33021 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticText
*) x
));
33023 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
33024 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
33026 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
33027 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
33029 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
33030 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
33032 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
33033 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
33035 static void *_p_wxToolBarToolBaseTo_p_wxObject(void *x
) {
33036 return (void *)((wxObject
*) ((wxToolBarToolBase
*) x
));
33038 static void *_p_wxToolBarTo_p_wxObject(void *x
) {
33039 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
33041 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
33042 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
33044 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
33045 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
33047 static void *_p_wxBookCtrlSizerTo_p_wxObject(void *x
) {
33048 return (void *)((wxObject
*) (wxSizer
*) ((wxBookCtrlSizer
*) x
));
33050 static void *_p_wxBookCtrlTo_p_wxWindow(void *x
) {
33051 return (void *)((wxWindow
*) (wxControl
*) ((wxBookCtrl
*) x
));
33053 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
33054 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
33056 static void *_p_wxToolBarTo_p_wxWindow(void *x
) {
33057 return (void *)((wxWindow
*) (wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
33059 static void *_p_wxToggleButtonTo_p_wxWindow(void *x
) {
33060 return (void *)((wxWindow
*) (wxControl
*) ((wxToggleButton
*) x
));
33062 static void *_p_wxRadioButtonTo_p_wxWindow(void *x
) {
33063 return (void *)((wxWindow
*) (wxControl
*) ((wxRadioButton
*) x
));
33065 static void *_p_wxPyControlTo_p_wxWindow(void *x
) {
33066 return (void *)((wxWindow
*) (wxControl
*) ((wxPyControl
*) x
));
33068 static void *_p_wxControlTo_p_wxWindow(void *x
) {
33069 return (void *)((wxWindow
*) ((wxControl
*) x
));
33071 static void *_p_wxToolBarBaseTo_p_wxWindow(void *x
) {
33072 return (void *)((wxWindow
*) (wxControl
*) ((wxToolBarBase
*) x
));
33074 static void *_p_wxDirFilterListCtrlTo_p_wxWindow(void *x
) {
33075 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
33077 static void *_p_wxPyListCtrlTo_p_wxWindow(void *x
) {
33078 return (void *)((wxWindow
*) (wxControl
*) ((wxPyListCtrl
*) x
));
33080 static void *_p_wxComboBoxTo_p_wxWindow(void *x
) {
33081 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxComboBox
*) x
));
33083 static void *_p_wxGenericDirCtrlTo_p_wxWindow(void *x
) {
33084 return (void *)((wxWindow
*) (wxControl
*) ((wxGenericDirCtrl
*) x
));
33086 static void *_p_wxScrollBarTo_p_wxWindow(void *x
) {
33087 return (void *)((wxWindow
*) (wxControl
*) ((wxScrollBar
*) x
));
33089 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
33090 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
33092 static void *_p_wxGaugeTo_p_wxWindow(void *x
) {
33093 return (void *)((wxWindow
*) (wxControl
*) ((wxGauge
*) x
));
33095 static void *_p_wxStaticLineTo_p_wxWindow(void *x
) {
33096 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticLine
*) x
));
33098 static void *_p_wxListbookTo_p_wxWindow(void *x
) {
33099 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrl
*) ((wxListbook
*) x
));
33101 static void *_p_wxPyTreeCtrlTo_p_wxWindow(void *x
) {
33102 return (void *)((wxWindow
*) (wxControl
*) ((wxPyTreeCtrl
*) x
));
33104 static void *_p_wxCheckBoxTo_p_wxWindow(void *x
) {
33105 return (void *)((wxWindow
*) (wxControl
*) ((wxCheckBox
*) x
));
33107 static void *_p_wxRadioBoxTo_p_wxWindow(void *x
) {
33108 return (void *)((wxWindow
*) (wxControl
*) ((wxRadioBox
*) x
));
33110 static void *_p_wxCheckListBoxTo_p_wxWindow(void *x
) {
33111 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
33113 static void *_p_wxChoiceTo_p_wxWindow(void *x
) {
33114 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
33116 static void *_p_wxListBoxTo_p_wxWindow(void *x
) {
33117 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
33119 static void *_p_wxListViewTo_p_wxWindow(void *x
) {
33120 return (void *)((wxWindow
*) (wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
33122 static void *_p_wxNotebookTo_p_wxWindow(void *x
) {
33123 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrl
*) ((wxNotebook
*) x
));
33125 static void *_p_wxStaticBitmapTo_p_wxWindow(void *x
) {
33126 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticBitmap
*) x
));
33128 static void *_p_wxSpinCtrlTo_p_wxWindow(void *x
) {
33129 return (void *)((wxWindow
*) (wxControl
*) ((wxSpinCtrl
*) x
));
33131 static void *_p_wxStaticTextTo_p_wxWindow(void *x
) {
33132 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticText
*) x
));
33134 static void *_p_wxStaticBoxTo_p_wxWindow(void *x
) {
33135 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticBox
*) x
));
33137 static void *_p_wxSliderTo_p_wxWindow(void *x
) {
33138 return (void *)((wxWindow
*) (wxControl
*) ((wxSlider
*) x
));
33140 static void *_p_wxSpinButtonTo_p_wxWindow(void *x
) {
33141 return (void *)((wxWindow
*) (wxControl
*) ((wxSpinButton
*) x
));
33143 static void *_p_wxButtonTo_p_wxWindow(void *x
) {
33144 return (void *)((wxWindow
*) (wxControl
*) ((wxButton
*) x
));
33146 static void *_p_wxBitmapButtonTo_p_wxWindow(void *x
) {
33147 return (void *)((wxWindow
*) (wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
33149 static void *_p_wxContextHelpButtonTo_p_wxWindow(void *x
) {
33150 return (void *)((wxWindow
*) (wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
33152 static void *_p_wxTextCtrlTo_p_wxWindow(void *x
) {
33153 return (void *)((wxWindow
*) (wxControl
*) ((wxTextCtrl
*) x
));
33155 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x
) {
33156 return (void *)((wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
33158 static void *_p_wxBookCtrlEventTo_p_wxCommandEvent(void *x
) {
33159 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxBookCtrlEvent
*) x
));
33161 static void *_p_wxTextUrlEventTo_p_wxCommandEvent(void *x
) {
33162 return (void *)((wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
33164 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x
) {
33165 return (void *)((wxCommandEvent
*) ((wxScrollEvent
*) x
));
33167 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x
) {
33168 return (void *)((wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
33170 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x
) {
33171 return (void *)((wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
33173 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x
) {
33174 return (void *)((wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
33176 static void *_p_wxListbookEventTo_p_wxCommandEvent(void *x
) {
33177 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlEvent
*) ((wxListbookEvent
*) x
));
33179 static void *_p_wxNotebookEventTo_p_wxCommandEvent(void *x
) {
33180 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlEvent
*) ((wxNotebookEvent
*) x
));
33182 static void *_p_wxListEventTo_p_wxCommandEvent(void *x
) {
33183 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxListEvent
*) x
));
33185 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x
) {
33186 return (void *)((wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
33188 static void *_p_wxTreeEventTo_p_wxCommandEvent(void *x
) {
33189 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxTreeEvent
*) x
));
33191 static void *_p_wxSpinEventTo_p_wxCommandEvent(void *x
) {
33192 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxSpinEvent
*) x
));
33194 static void *_p_wxHelpEventTo_p_wxCommandEvent(void *x
) {
33195 return (void *)((wxCommandEvent
*) ((wxHelpEvent
*) x
));
33197 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x
) {
33198 return (void *)((wxCommandEvent
*) ((wxNotifyEvent
*) x
));
33200 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x
) {
33201 return (void *)((wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
33203 static void *_p_wxComboBoxTo_p_wxControlWithItems(void *x
) {
33204 return (void *)((wxControlWithItems
*) (wxChoice
*) ((wxComboBox
*) x
));
33206 static void *_p_wxDirFilterListCtrlTo_p_wxControlWithItems(void *x
) {
33207 return (void *)((wxControlWithItems
*) (wxChoice
*) ((wxDirFilterListCtrl
*) x
));
33209 static void *_p_wxChoiceTo_p_wxControlWithItems(void *x
) {
33210 return (void *)((wxControlWithItems
*) ((wxChoice
*) x
));
33212 static void *_p_wxListBoxTo_p_wxControlWithItems(void *x
) {
33213 return (void *)((wxControlWithItems
*) ((wxListBox
*) x
));
33215 static void *_p_wxCheckListBoxTo_p_wxControlWithItems(void *x
) {
33216 return (void *)((wxControlWithItems
*) (wxListBox
*) ((wxCheckListBox
*) x
));
33218 static void *_p_wxPyValidatorTo_p_wxValidator(void *x
) {
33219 return (void *)((wxValidator
*) ((wxPyValidator
*) x
));
33221 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}};
33222 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}};
33223 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}};
33224 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}};
33225 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}};
33226 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}};
33227 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}};
33228 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}};
33229 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}};
33230 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}};
33231 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}};
33232 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}};
33233 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}};
33234 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}};
33235 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}};
33236 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}};
33237 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}};
33238 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}};
33239 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}};
33240 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}};
33241 static swig_type_info _swigt__p_wxChoice
[] = {{"_p_wxChoice", 0, "wxChoice *", 0, 0, 0, 0},{"_p_wxComboBox", _p_wxComboBoxTo_p_wxChoice
, 0, 0, 0, 0, 0},{"_p_wxDirFilterListCtrl", _p_wxDirFilterListCtrlTo_p_wxChoice
, 0, 0, 0, 0, 0},{"_p_wxChoice", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
33242 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}};
33243 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}};
33244 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}};
33245 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}};
33246 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}};
33247 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}};
33248 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}};
33249 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}};
33250 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}};
33251 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}};
33252 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}};
33253 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}};
33254 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}};
33255 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}};
33256 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}};
33257 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}};
33258 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}};
33259 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}};
33260 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}};
33261 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}};
33262 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}};
33263 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}};
33264 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}};
33265 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}};
33266 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}};
33267 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}};
33268 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}};
33269 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}};
33270 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}};
33271 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}};
33272 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}};
33273 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}};
33274 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}};
33275 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}};
33276 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}};
33277 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}};
33278 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}};
33279 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}};
33280 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}};
33281 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}};
33282 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}};
33283 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}};
33284 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}};
33285 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}};
33286 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}};
33287 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}};
33288 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}};
33289 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}};
33290 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}};
33291 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}};
33292 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}};
33293 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}};
33294 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}};
33295 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}};
33296 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}};
33297 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}};
33298 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}};
33299 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}};
33300 static swig_type_info _swigt__p_wxControlWithItems
[] = {{"_p_wxControlWithItems", 0, "wxControlWithItems *", 0, 0, 0, 0},{"_p_wxComboBox", _p_wxComboBoxTo_p_wxControlWithItems
, 0, 0, 0, 0, 0},{"_p_wxDirFilterListCtrl", _p_wxDirFilterListCtrlTo_p_wxControlWithItems
, 0, 0, 0, 0, 0},{"_p_wxChoice", _p_wxChoiceTo_p_wxControlWithItems
, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", 0, 0, 0, 0, 0, 0},{"_p_wxListBox", _p_wxListBoxTo_p_wxControlWithItems
, 0, 0, 0, 0, 0},{"_p_wxCheckListBox", _p_wxCheckListBoxTo_p_wxControlWithItems
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
33301 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}};
33302 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}};
33303 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}};
33304 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}};
33305 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}};
33307 static swig_type_info
*swig_types_initial
[] = {
33308 _swigt__p_wxTextUrlEvent
,
33309 _swigt__p_wxBookCtrlEvent
,
33311 _swigt__p_wxCheckBox
,
33312 _swigt__p_wxPyTreeCtrl
,
33314 _swigt__p_wxGenericDirCtrl
,
33316 _swigt__p_wxPyTreeItemData
,
33317 _swigt__p_wxItemContainer
,
33318 _swigt__p_wxPyListCtrl
,
33319 _swigt__p_wxDirFilterListCtrl
,
33320 _swigt__p_wxStaticLine
,
33321 _swigt__p_wxControl
,
33322 _swigt__p_wxPyControl
,
33324 _swigt__p_wxToolBarBase
,
33326 _swigt__p_wxToggleButton
,
33327 _swigt__p_wxRadioButton
,
33328 _swigt__p_wxChoice
,
33329 _swigt__p_wxMemoryDC
,
33330 _swigt__p_wxListItemAttr
,
33335 _swigt__p_wxListView
,
33337 _swigt__p_wxVisualAttributes
,
33338 _swigt__p_wxTextCtrl
,
33339 _swigt__p_wxNotebook
,
33340 _swigt__p_wxNotifyEvent
,
33341 _swigt__p_wxArrayString
,
33342 _swigt__p_wxListbook
,
33343 _swigt__p_wxStaticBitmap
,
33344 _swigt__p_wxSlider
,
33345 _swigt__p_wxStaticBox
,
33346 _swigt__p_wxArrayInt
,
33347 _swigt__p_wxContextHelp
,
33349 _swigt__p_wxEvtHandler
,
33350 _swigt__p_wxListEvent
,
33351 _swigt__p_wxCheckListBox
,
33352 _swigt__p_wxListBox
,
33353 _swigt__p_wxBookCtrl
,
33354 _swigt__p_wxSpinButton
,
33355 _swigt__p_wxButton
,
33356 _swigt__p_wxBitmapButton
,
33358 _swigt__p_wxContextHelpButton
,
33359 _swigt__p_wxRadioBox
,
33360 _swigt__p_wxScrollBar
,
33362 _swigt__p_wxTreeItemId
,
33363 _swigt__p_wxComboBox
,
33364 _swigt__p_wxHelpEvent
,
33365 _swigt__p_wxListItem
,
33366 _swigt__p_wxNotebookSizer
,
33367 _swigt__p_wxSpinEvent
,
33368 _swigt__p_wxGenericDragImage
,
33369 _swigt__p_wxSpinCtrl
,
33370 _swigt__p_wxImageList
,
33371 _swigt__p_wxHelpProvider
,
33372 _swigt__p_wxTextAttr
,
33373 _swigt__p_wxSimpleHelpProvider
,
33375 _swigt__p_wxListbookEvent
,
33376 _swigt__p_wxNotebookEvent
,
33377 _swigt__p_wxObject
,
33378 _swigt__p_wxCursor
,
33379 _swigt__p_wxKeyEvent
,
33380 _swigt__p_wxWindow
,
33381 _swigt__p_wxString
,
33382 _swigt__p_wxBitmap
,
33383 _swigt__p_wxTreeEvent
,
33384 _swigt__p_wxMouseEvent
,
33385 _swigt__p_wxCommandEvent
,
33386 _swigt__p_wxStaticText
,
33387 _swigt__p_wxControlWithItems
,
33388 _swigt__p_wxToolBarToolBase
,
33389 _swigt__p_wxColour
,
33390 _swigt__p_wxToolBar
,
33391 _swigt__p_wxBookCtrlSizer
,
33392 _swigt__p_wxValidator
,
33397 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
33399 static swig_const_info swig_const_table
[] = {
33409 SWIGEXPORT(void) SWIG_init(void) {
33410 static PyObject
*SWIG_globals
= 0;
33411 static int typeinit
= 0;
33414 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
33415 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
33416 d
= PyModule_GetDict(m
);
33419 for (i
= 0; swig_types_initial
[i
]; i
++) {
33420 swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]);
33424 SWIG_InstallConstants(d
,swig_const_table
);
33426 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
);
33427 SWIG_addvarlink(SWIG_globals
,(char*)"ButtonNameStr",_wrap_ButtonNameStr_get
, _wrap_ButtonNameStr_set
);
33428 PyDict_SetItemString(d
,"BU_LEFT", SWIG_FromInt((int)wxBU_LEFT
));
33429 PyDict_SetItemString(d
,"BU_TOP", SWIG_FromInt((int)wxBU_TOP
));
33430 PyDict_SetItemString(d
,"BU_RIGHT", SWIG_FromInt((int)wxBU_RIGHT
));
33431 PyDict_SetItemString(d
,"BU_BOTTOM", SWIG_FromInt((int)wxBU_BOTTOM
));
33432 PyDict_SetItemString(d
,"BU_EXACTFIT", SWIG_FromInt((int)wxBU_EXACTFIT
));
33433 PyDict_SetItemString(d
,"BU_AUTODRAW", SWIG_FromInt((int)wxBU_AUTODRAW
));
33434 SWIG_addvarlink(SWIG_globals
,(char*)"CheckBoxNameStr",_wrap_CheckBoxNameStr_get
, _wrap_CheckBoxNameStr_set
);
33435 PyDict_SetItemString(d
,"CHK_2STATE", SWIG_FromInt((int)wxCHK_2STATE
));
33436 PyDict_SetItemString(d
,"CHK_3STATE", SWIG_FromInt((int)wxCHK_3STATE
));
33437 PyDict_SetItemString(d
,"CHK_ALLOW_3RD_STATE_FOR_USER", SWIG_FromInt((int)wxCHK_ALLOW_3RD_STATE_FOR_USER
));
33438 PyDict_SetItemString(d
,"CHK_UNCHECKED", SWIG_FromInt((int)wxCHK_UNCHECKED
));
33439 PyDict_SetItemString(d
,"CHK_CHECKED", SWIG_FromInt((int)wxCHK_CHECKED
));
33440 PyDict_SetItemString(d
,"CHK_UNDETERMINED", SWIG_FromInt((int)wxCHK_UNDETERMINED
));
33441 SWIG_addvarlink(SWIG_globals
,(char*)"ChoiceNameStr",_wrap_ChoiceNameStr_get
, _wrap_ChoiceNameStr_set
);
33442 SWIG_addvarlink(SWIG_globals
,(char*)"ComboBoxNameStr",_wrap_ComboBoxNameStr_get
, _wrap_ComboBoxNameStr_set
);
33443 SWIG_addvarlink(SWIG_globals
,(char*)"GaugeNameStr",_wrap_GaugeNameStr_get
, _wrap_GaugeNameStr_set
);
33444 PyDict_SetItemString(d
,"GA_HORIZONTAL", SWIG_FromInt((int)wxGA_HORIZONTAL
));
33445 PyDict_SetItemString(d
,"GA_VERTICAL", SWIG_FromInt((int)wxGA_VERTICAL
));
33446 PyDict_SetItemString(d
,"GA_SMOOTH", SWIG_FromInt((int)wxGA_SMOOTH
));
33447 PyDict_SetItemString(d
,"GA_PROGRESSBAR", SWIG_FromInt((int)wxGA_PROGRESSBAR
));
33448 SWIG_addvarlink(SWIG_globals
,(char*)"StaticBitmapNameStr",_wrap_StaticBitmapNameStr_get
, _wrap_StaticBitmapNameStr_set
);
33449 SWIG_addvarlink(SWIG_globals
,(char*)"StaticBoxNameStr",_wrap_StaticBoxNameStr_get
, _wrap_StaticBoxNameStr_set
);
33450 SWIG_addvarlink(SWIG_globals
,(char*)"StaticTextNameStr",_wrap_StaticTextNameStr_get
, _wrap_StaticTextNameStr_set
);
33451 SWIG_addvarlink(SWIG_globals
,(char*)"ListBoxNameStr",_wrap_ListBoxNameStr_get
, _wrap_ListBoxNameStr_set
);
33452 SWIG_addvarlink(SWIG_globals
,(char*)"TextCtrlNameStr",_wrap_TextCtrlNameStr_get
, _wrap_TextCtrlNameStr_set
);
33453 PyDict_SetItemString(d
,"TE_NO_VSCROLL", SWIG_FromInt((int)wxTE_NO_VSCROLL
));
33454 PyDict_SetItemString(d
,"TE_AUTO_SCROLL", SWIG_FromInt((int)wxTE_AUTO_SCROLL
));
33455 PyDict_SetItemString(d
,"TE_READONLY", SWIG_FromInt((int)wxTE_READONLY
));
33456 PyDict_SetItemString(d
,"TE_MULTILINE", SWIG_FromInt((int)wxTE_MULTILINE
));
33457 PyDict_SetItemString(d
,"TE_PROCESS_TAB", SWIG_FromInt((int)wxTE_PROCESS_TAB
));
33458 PyDict_SetItemString(d
,"TE_LEFT", SWIG_FromInt((int)wxTE_LEFT
));
33459 PyDict_SetItemString(d
,"TE_CENTER", SWIG_FromInt((int)wxTE_CENTER
));
33460 PyDict_SetItemString(d
,"TE_RIGHT", SWIG_FromInt((int)wxTE_RIGHT
));
33461 PyDict_SetItemString(d
,"TE_CENTRE", SWIG_FromInt((int)wxTE_CENTRE
));
33462 PyDict_SetItemString(d
,"TE_RICH", SWIG_FromInt((int)wxTE_RICH
));
33463 PyDict_SetItemString(d
,"TE_PROCESS_ENTER", SWIG_FromInt((int)wxTE_PROCESS_ENTER
));
33464 PyDict_SetItemString(d
,"TE_PASSWORD", SWIG_FromInt((int)wxTE_PASSWORD
));
33465 PyDict_SetItemString(d
,"TE_AUTO_URL", SWIG_FromInt((int)wxTE_AUTO_URL
));
33466 PyDict_SetItemString(d
,"TE_NOHIDESEL", SWIG_FromInt((int)wxTE_NOHIDESEL
));
33467 PyDict_SetItemString(d
,"TE_DONTWRAP", SWIG_FromInt((int)wxTE_DONTWRAP
));
33468 PyDict_SetItemString(d
,"TE_LINEWRAP", SWIG_FromInt((int)wxTE_LINEWRAP
));
33469 PyDict_SetItemString(d
,"TE_WORDWRAP", SWIG_FromInt((int)wxTE_WORDWRAP
));
33470 PyDict_SetItemString(d
,"TE_RICH2", SWIG_FromInt((int)wxTE_RICH2
));
33471 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_DEFAULT", SWIG_FromInt((int)wxTEXT_ALIGNMENT_DEFAULT
));
33472 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_LEFT", SWIG_FromInt((int)wxTEXT_ALIGNMENT_LEFT
));
33473 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_CENTRE", SWIG_FromInt((int)wxTEXT_ALIGNMENT_CENTRE
));
33474 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_CENTER", SWIG_FromInt((int)wxTEXT_ALIGNMENT_CENTER
));
33475 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_RIGHT", SWIG_FromInt((int)wxTEXT_ALIGNMENT_RIGHT
));
33476 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_JUSTIFIED", SWIG_FromInt((int)wxTEXT_ALIGNMENT_JUSTIFIED
));
33477 PyDict_SetItemString(d
,"TEXT_ATTR_TEXT_COLOUR", SWIG_FromInt((int)wxTEXT_ATTR_TEXT_COLOUR
));
33478 PyDict_SetItemString(d
,"TEXT_ATTR_BACKGROUND_COLOUR", SWIG_FromInt((int)wxTEXT_ATTR_BACKGROUND_COLOUR
));
33479 PyDict_SetItemString(d
,"TEXT_ATTR_FONT_FACE", SWIG_FromInt((int)wxTEXT_ATTR_FONT_FACE
));
33480 PyDict_SetItemString(d
,"TEXT_ATTR_FONT_SIZE", SWIG_FromInt((int)wxTEXT_ATTR_FONT_SIZE
));
33481 PyDict_SetItemString(d
,"TEXT_ATTR_FONT_WEIGHT", SWIG_FromInt((int)wxTEXT_ATTR_FONT_WEIGHT
));
33482 PyDict_SetItemString(d
,"TEXT_ATTR_FONT_ITALIC", SWIG_FromInt((int)wxTEXT_ATTR_FONT_ITALIC
));
33483 PyDict_SetItemString(d
,"TEXT_ATTR_FONT_UNDERLINE", SWIG_FromInt((int)wxTEXT_ATTR_FONT_UNDERLINE
));
33484 PyDict_SetItemString(d
,"TEXT_ATTR_FONT", SWIG_FromInt((int)wxTEXT_ATTR_FONT
));
33485 PyDict_SetItemString(d
,"TEXT_ATTR_ALIGNMENT", SWIG_FromInt((int)wxTEXT_ATTR_ALIGNMENT
));
33486 PyDict_SetItemString(d
,"TEXT_ATTR_LEFT_INDENT", SWIG_FromInt((int)wxTEXT_ATTR_LEFT_INDENT
));
33487 PyDict_SetItemString(d
,"TEXT_ATTR_RIGHT_INDENT", SWIG_FromInt((int)wxTEXT_ATTR_RIGHT_INDENT
));
33488 PyDict_SetItemString(d
,"TEXT_ATTR_TABS", SWIG_FromInt((int)wxTEXT_ATTR_TABS
));
33489 PyDict_SetItemString(d
,"TE_HT_UNKNOWN", SWIG_FromInt((int)wxTE_HT_UNKNOWN
));
33490 PyDict_SetItemString(d
,"TE_HT_BEFORE", SWIG_FromInt((int)wxTE_HT_BEFORE
));
33491 PyDict_SetItemString(d
,"TE_HT_ON_TEXT", SWIG_FromInt((int)wxTE_HT_ON_TEXT
));
33492 PyDict_SetItemString(d
,"TE_HT_BELOW", SWIG_FromInt((int)wxTE_HT_BELOW
));
33493 PyDict_SetItemString(d
,"TE_HT_BEYOND", SWIG_FromInt((int)wxTE_HT_BEYOND
));
33494 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_UPDATED", PyInt_FromLong(wxEVT_COMMAND_TEXT_UPDATED
));
33495 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_ENTER", PyInt_FromLong(wxEVT_COMMAND_TEXT_ENTER
));
33496 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_URL", PyInt_FromLong(wxEVT_COMMAND_TEXT_URL
));
33497 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_MAXLEN", PyInt_FromLong(wxEVT_COMMAND_TEXT_MAXLEN
));
33498 SWIG_addvarlink(SWIG_globals
,(char*)"ScrollBarNameStr",_wrap_ScrollBarNameStr_get
, _wrap_ScrollBarNameStr_set
);
33499 SWIG_addvarlink(SWIG_globals
,(char*)"SPIN_BUTTON_NAME",_wrap_SPIN_BUTTON_NAME_get
, _wrap_SPIN_BUTTON_NAME_set
);
33500 SWIG_addvarlink(SWIG_globals
,(char*)"SpinCtrlNameStr",_wrap_SpinCtrlNameStr_get
, _wrap_SpinCtrlNameStr_set
);
33501 PyDict_SetItemString(d
,"SP_HORIZONTAL", SWIG_FromInt((int)wxSP_HORIZONTAL
));
33502 PyDict_SetItemString(d
,"SP_VERTICAL", SWIG_FromInt((int)wxSP_VERTICAL
));
33503 PyDict_SetItemString(d
,"SP_ARROW_KEYS", SWIG_FromInt((int)wxSP_ARROW_KEYS
));
33504 PyDict_SetItemString(d
,"SP_WRAP", SWIG_FromInt((int)wxSP_WRAP
));
33505 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPINCTRL_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SPINCTRL_UPDATED
));
33506 SWIG_addvarlink(SWIG_globals
,(char*)"RadioBoxNameStr",_wrap_RadioBoxNameStr_get
, _wrap_RadioBoxNameStr_set
);
33507 SWIG_addvarlink(SWIG_globals
,(char*)"RadioButtonNameStr",_wrap_RadioButtonNameStr_get
, _wrap_RadioButtonNameStr_set
);
33508 SWIG_addvarlink(SWIG_globals
,(char*)"SliderNameStr",_wrap_SliderNameStr_get
, _wrap_SliderNameStr_set
);
33509 SWIG_addvarlink(SWIG_globals
,(char*)"ToggleButtonNameStr",_wrap_ToggleButtonNameStr_get
, _wrap_ToggleButtonNameStr_set
);
33510 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOGGLEBUTTON_CLICKED", PyInt_FromLong(wxEVT_COMMAND_TOGGLEBUTTON_CLICKED
));
33511 SWIG_addvarlink(SWIG_globals
,(char*)"NOTEBOOK_NAME",_wrap_NOTEBOOK_NAME_get
, _wrap_NOTEBOOK_NAME_set
);
33512 PyDict_SetItemString(d
,"NB_FIXEDWIDTH", SWIG_FromInt((int)wxNB_FIXEDWIDTH
));
33513 PyDict_SetItemString(d
,"NB_TOP", SWIG_FromInt((int)wxNB_TOP
));
33514 PyDict_SetItemString(d
,"NB_LEFT", SWIG_FromInt((int)wxNB_LEFT
));
33515 PyDict_SetItemString(d
,"NB_RIGHT", SWIG_FromInt((int)wxNB_RIGHT
));
33516 PyDict_SetItemString(d
,"NB_BOTTOM", SWIG_FromInt((int)wxNB_BOTTOM
));
33517 PyDict_SetItemString(d
,"NB_MULTILINE", SWIG_FromInt((int)wxNB_MULTILINE
));
33518 PyDict_SetItemString(d
,"NB_HITTEST_NOWHERE", SWIG_FromInt((int)wxNB_HITTEST_NOWHERE
));
33519 PyDict_SetItemString(d
,"NB_HITTEST_ONICON", SWIG_FromInt((int)wxNB_HITTEST_ONICON
));
33520 PyDict_SetItemString(d
,"NB_HITTEST_ONLABEL", SWIG_FromInt((int)wxNB_HITTEST_ONLABEL
));
33521 PyDict_SetItemString(d
,"NB_HITTEST_ONITEM", SWIG_FromInt((int)wxNB_HITTEST_ONITEM
));
33522 PyDict_SetItemString(d
, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED
));
33523 PyDict_SetItemString(d
, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING
));
33524 PyDict_SetItemString(d
,"LB_DEFAULT", SWIG_FromInt((int)wxLB_DEFAULT
));
33525 PyDict_SetItemString(d
,"LB_TOP", SWIG_FromInt((int)wxLB_TOP
));
33526 PyDict_SetItemString(d
,"LB_BOTTOM", SWIG_FromInt((int)wxLB_BOTTOM
));
33527 PyDict_SetItemString(d
,"LB_LEFT", SWIG_FromInt((int)wxLB_LEFT
));
33528 PyDict_SetItemString(d
,"LB_RIGHT", SWIG_FromInt((int)wxLB_RIGHT
));
33529 PyDict_SetItemString(d
,"LB_ALIGN_MASK", SWIG_FromInt((int)wxLB_ALIGN_MASK
));
33530 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED
));
33531 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING
));
33532 PyDict_SetItemString(d
,"TOOL_STYLE_BUTTON", SWIG_FromInt((int)wxTOOL_STYLE_BUTTON
));
33533 PyDict_SetItemString(d
,"TOOL_STYLE_SEPARATOR", SWIG_FromInt((int)wxTOOL_STYLE_SEPARATOR
));
33534 PyDict_SetItemString(d
,"TOOL_STYLE_CONTROL", SWIG_FromInt((int)wxTOOL_STYLE_CONTROL
));
33535 PyDict_SetItemString(d
,"TB_HORIZONTAL", SWIG_FromInt((int)wxTB_HORIZONTAL
));
33536 PyDict_SetItemString(d
,"TB_VERTICAL", SWIG_FromInt((int)wxTB_VERTICAL
));
33537 PyDict_SetItemString(d
,"TB_3DBUTTONS", SWIG_FromInt((int)wxTB_3DBUTTONS
));
33538 PyDict_SetItemString(d
,"TB_FLAT", SWIG_FromInt((int)wxTB_FLAT
));
33539 PyDict_SetItemString(d
,"TB_DOCKABLE", SWIG_FromInt((int)wxTB_DOCKABLE
));
33540 PyDict_SetItemString(d
,"TB_NOICONS", SWIG_FromInt((int)wxTB_NOICONS
));
33541 PyDict_SetItemString(d
,"TB_TEXT", SWIG_FromInt((int)wxTB_TEXT
));
33542 PyDict_SetItemString(d
,"TB_NODIVIDER", SWIG_FromInt((int)wxTB_NODIVIDER
));
33543 PyDict_SetItemString(d
,"TB_NOALIGN", SWIG_FromInt((int)wxTB_NOALIGN
));
33544 PyDict_SetItemString(d
,"TB_HORZ_LAYOUT", SWIG_FromInt((int)wxTB_HORZ_LAYOUT
));
33545 PyDict_SetItemString(d
,"TB_HORZ_TEXT", SWIG_FromInt((int)wxTB_HORZ_TEXT
));
33546 SWIG_addvarlink(SWIG_globals
,(char*)"ListCtrlNameStr",_wrap_ListCtrlNameStr_get
, _wrap_ListCtrlNameStr_set
);
33547 PyDict_SetItemString(d
,"LC_VRULES", SWIG_FromInt((int)wxLC_VRULES
));
33548 PyDict_SetItemString(d
,"LC_HRULES", SWIG_FromInt((int)wxLC_HRULES
));
33549 PyDict_SetItemString(d
,"LC_ICON", SWIG_FromInt((int)wxLC_ICON
));
33550 PyDict_SetItemString(d
,"LC_SMALL_ICON", SWIG_FromInt((int)wxLC_SMALL_ICON
));
33551 PyDict_SetItemString(d
,"LC_LIST", SWIG_FromInt((int)wxLC_LIST
));
33552 PyDict_SetItemString(d
,"LC_REPORT", SWIG_FromInt((int)wxLC_REPORT
));
33553 PyDict_SetItemString(d
,"LC_ALIGN_TOP", SWIG_FromInt((int)wxLC_ALIGN_TOP
));
33554 PyDict_SetItemString(d
,"LC_ALIGN_LEFT", SWIG_FromInt((int)wxLC_ALIGN_LEFT
));
33555 PyDict_SetItemString(d
,"LC_AUTOARRANGE", SWIG_FromInt((int)wxLC_AUTOARRANGE
));
33556 PyDict_SetItemString(d
,"LC_VIRTUAL", SWIG_FromInt((int)wxLC_VIRTUAL
));
33557 PyDict_SetItemString(d
,"LC_EDIT_LABELS", SWIG_FromInt((int)wxLC_EDIT_LABELS
));
33558 PyDict_SetItemString(d
,"LC_NO_HEADER", SWIG_FromInt((int)wxLC_NO_HEADER
));
33559 PyDict_SetItemString(d
,"LC_NO_SORT_HEADER", SWIG_FromInt((int)wxLC_NO_SORT_HEADER
));
33560 PyDict_SetItemString(d
,"LC_SINGLE_SEL", SWIG_FromInt((int)wxLC_SINGLE_SEL
));
33561 PyDict_SetItemString(d
,"LC_SORT_ASCENDING", SWIG_FromInt((int)wxLC_SORT_ASCENDING
));
33562 PyDict_SetItemString(d
,"LC_SORT_DESCENDING", SWIG_FromInt((int)wxLC_SORT_DESCENDING
));
33563 PyDict_SetItemString(d
,"LC_MASK_TYPE", SWIG_FromInt((int)wxLC_MASK_TYPE
));
33564 PyDict_SetItemString(d
,"LC_MASK_ALIGN", SWIG_FromInt((int)wxLC_MASK_ALIGN
));
33565 PyDict_SetItemString(d
,"LC_MASK_SORT", SWIG_FromInt((int)wxLC_MASK_SORT
));
33566 PyDict_SetItemString(d
,"LIST_MASK_STATE", SWIG_FromInt((int)wxLIST_MASK_STATE
));
33567 PyDict_SetItemString(d
,"LIST_MASK_TEXT", SWIG_FromInt((int)wxLIST_MASK_TEXT
));
33568 PyDict_SetItemString(d
,"LIST_MASK_IMAGE", SWIG_FromInt((int)wxLIST_MASK_IMAGE
));
33569 PyDict_SetItemString(d
,"LIST_MASK_DATA", SWIG_FromInt((int)wxLIST_MASK_DATA
));
33570 PyDict_SetItemString(d
,"LIST_SET_ITEM", SWIG_FromInt((int)wxLIST_SET_ITEM
));
33571 PyDict_SetItemString(d
,"LIST_MASK_WIDTH", SWIG_FromInt((int)wxLIST_MASK_WIDTH
));
33572 PyDict_SetItemString(d
,"LIST_MASK_FORMAT", SWIG_FromInt((int)wxLIST_MASK_FORMAT
));
33573 PyDict_SetItemString(d
,"LIST_STATE_DONTCARE", SWIG_FromInt((int)wxLIST_STATE_DONTCARE
));
33574 PyDict_SetItemString(d
,"LIST_STATE_DROPHILITED", SWIG_FromInt((int)wxLIST_STATE_DROPHILITED
));
33575 PyDict_SetItemString(d
,"LIST_STATE_FOCUSED", SWIG_FromInt((int)wxLIST_STATE_FOCUSED
));
33576 PyDict_SetItemString(d
,"LIST_STATE_SELECTED", SWIG_FromInt((int)wxLIST_STATE_SELECTED
));
33577 PyDict_SetItemString(d
,"LIST_STATE_CUT", SWIG_FromInt((int)wxLIST_STATE_CUT
));
33578 PyDict_SetItemString(d
,"LIST_STATE_DISABLED", SWIG_FromInt((int)wxLIST_STATE_DISABLED
));
33579 PyDict_SetItemString(d
,"LIST_STATE_FILTERED", SWIG_FromInt((int)wxLIST_STATE_FILTERED
));
33580 PyDict_SetItemString(d
,"LIST_STATE_INUSE", SWIG_FromInt((int)wxLIST_STATE_INUSE
));
33581 PyDict_SetItemString(d
,"LIST_STATE_PICKED", SWIG_FromInt((int)wxLIST_STATE_PICKED
));
33582 PyDict_SetItemString(d
,"LIST_STATE_SOURCE", SWIG_FromInt((int)wxLIST_STATE_SOURCE
));
33583 PyDict_SetItemString(d
,"LIST_HITTEST_ABOVE", SWIG_FromInt((int)wxLIST_HITTEST_ABOVE
));
33584 PyDict_SetItemString(d
,"LIST_HITTEST_BELOW", SWIG_FromInt((int)wxLIST_HITTEST_BELOW
));
33585 PyDict_SetItemString(d
,"LIST_HITTEST_NOWHERE", SWIG_FromInt((int)wxLIST_HITTEST_NOWHERE
));
33586 PyDict_SetItemString(d
,"LIST_HITTEST_ONITEMICON", SWIG_FromInt((int)wxLIST_HITTEST_ONITEMICON
));
33587 PyDict_SetItemString(d
,"LIST_HITTEST_ONITEMLABEL", SWIG_FromInt((int)wxLIST_HITTEST_ONITEMLABEL
));
33588 PyDict_SetItemString(d
,"LIST_HITTEST_ONITEMRIGHT", SWIG_FromInt((int)wxLIST_HITTEST_ONITEMRIGHT
));
33589 PyDict_SetItemString(d
,"LIST_HITTEST_ONITEMSTATEICON", SWIG_FromInt((int)wxLIST_HITTEST_ONITEMSTATEICON
));
33590 PyDict_SetItemString(d
,"LIST_HITTEST_TOLEFT", SWIG_FromInt((int)wxLIST_HITTEST_TOLEFT
));
33591 PyDict_SetItemString(d
,"LIST_HITTEST_TORIGHT", SWIG_FromInt((int)wxLIST_HITTEST_TORIGHT
));
33592 PyDict_SetItemString(d
,"LIST_HITTEST_ONITEM", SWIG_FromInt((int)wxLIST_HITTEST_ONITEM
));
33593 PyDict_SetItemString(d
,"LIST_NEXT_ABOVE", SWIG_FromInt((int)wxLIST_NEXT_ABOVE
));
33594 PyDict_SetItemString(d
,"LIST_NEXT_ALL", SWIG_FromInt((int)wxLIST_NEXT_ALL
));
33595 PyDict_SetItemString(d
,"LIST_NEXT_BELOW", SWIG_FromInt((int)wxLIST_NEXT_BELOW
));
33596 PyDict_SetItemString(d
,"LIST_NEXT_LEFT", SWIG_FromInt((int)wxLIST_NEXT_LEFT
));
33597 PyDict_SetItemString(d
,"LIST_NEXT_RIGHT", SWIG_FromInt((int)wxLIST_NEXT_RIGHT
));
33598 PyDict_SetItemString(d
,"LIST_ALIGN_DEFAULT", SWIG_FromInt((int)wxLIST_ALIGN_DEFAULT
));
33599 PyDict_SetItemString(d
,"LIST_ALIGN_LEFT", SWIG_FromInt((int)wxLIST_ALIGN_LEFT
));
33600 PyDict_SetItemString(d
,"LIST_ALIGN_TOP", SWIG_FromInt((int)wxLIST_ALIGN_TOP
));
33601 PyDict_SetItemString(d
,"LIST_ALIGN_SNAP_TO_GRID", SWIG_FromInt((int)wxLIST_ALIGN_SNAP_TO_GRID
));
33602 PyDict_SetItemString(d
,"LIST_FORMAT_LEFT", SWIG_FromInt((int)wxLIST_FORMAT_LEFT
));
33603 PyDict_SetItemString(d
,"LIST_FORMAT_RIGHT", SWIG_FromInt((int)wxLIST_FORMAT_RIGHT
));
33604 PyDict_SetItemString(d
,"LIST_FORMAT_CENTRE", SWIG_FromInt((int)wxLIST_FORMAT_CENTRE
));
33605 PyDict_SetItemString(d
,"LIST_FORMAT_CENTER", SWIG_FromInt((int)wxLIST_FORMAT_CENTER
));
33606 PyDict_SetItemString(d
,"LIST_AUTOSIZE", SWIG_FromInt((int)wxLIST_AUTOSIZE
));
33607 PyDict_SetItemString(d
,"LIST_AUTOSIZE_USEHEADER", SWIG_FromInt((int)wxLIST_AUTOSIZE_USEHEADER
));
33608 PyDict_SetItemString(d
,"LIST_RECT_BOUNDS", SWIG_FromInt((int)wxLIST_RECT_BOUNDS
));
33609 PyDict_SetItemString(d
,"LIST_RECT_ICON", SWIG_FromInt((int)wxLIST_RECT_ICON
));
33610 PyDict_SetItemString(d
,"LIST_RECT_LABEL", SWIG_FromInt((int)wxLIST_RECT_LABEL
));
33611 PyDict_SetItemString(d
,"LIST_FIND_UP", SWIG_FromInt((int)wxLIST_FIND_UP
));
33612 PyDict_SetItemString(d
,"LIST_FIND_DOWN", SWIG_FromInt((int)wxLIST_FIND_DOWN
));
33613 PyDict_SetItemString(d
,"LIST_FIND_LEFT", SWIG_FromInt((int)wxLIST_FIND_LEFT
));
33614 PyDict_SetItemString(d
,"LIST_FIND_RIGHT", SWIG_FromInt((int)wxLIST_FIND_RIGHT
));
33615 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_DRAG
));
33616 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_RDRAG
));
33617 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT
));
33618 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_END_LABEL_EDIT
));
33619 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ITEM
));
33620 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS
));
33621 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_GET_INFO", PyInt_FromLong(wxEVT_COMMAND_LIST_GET_INFO
));
33622 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_SET_INFO", PyInt_FromLong(wxEVT_COMMAND_LIST_SET_INFO
));
33623 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_SELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_SELECTED
));
33624 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_DESELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_DESELECTED
));
33625 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_LIST_KEY_DOWN
));
33626 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_INSERT_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_INSERT_ITEM
));
33627 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_CLICK
));
33628 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK
));
33629 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK
));
33630 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_ACTIVATED
));
33631 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_CACHE_HINT", PyInt_FromLong(wxEVT_COMMAND_LIST_CACHE_HINT
));
33632 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_RIGHT_CLICK
));
33633 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_BEGIN_DRAG
));
33634 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_DRAGGING", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_DRAGGING
));
33635 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_END_DRAG
));
33636 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_FOCUSED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_FOCUSED
));
33638 // Map renamed classes back to their common name for OOR
33639 wxPyPtrTypeMap_Add("wxListCtrl", "wxPyListCtrl");
33641 SWIG_addvarlink(SWIG_globals
,(char*)"TreeCtrlNameStr",_wrap_TreeCtrlNameStr_get
, _wrap_TreeCtrlNameStr_set
);
33642 PyDict_SetItemString(d
,"TR_NO_BUTTONS", SWIG_FromInt((int)wxTR_NO_BUTTONS
));
33643 PyDict_SetItemString(d
,"TR_HAS_BUTTONS", SWIG_FromInt((int)wxTR_HAS_BUTTONS
));
33644 PyDict_SetItemString(d
,"TR_NO_LINES", SWIG_FromInt((int)wxTR_NO_LINES
));
33645 PyDict_SetItemString(d
,"TR_LINES_AT_ROOT", SWIG_FromInt((int)wxTR_LINES_AT_ROOT
));
33646 PyDict_SetItemString(d
,"TR_SINGLE", SWIG_FromInt((int)wxTR_SINGLE
));
33647 PyDict_SetItemString(d
,"TR_MULTIPLE", SWIG_FromInt((int)wxTR_MULTIPLE
));
33648 PyDict_SetItemString(d
,"TR_EXTENDED", SWIG_FromInt((int)wxTR_EXTENDED
));
33649 PyDict_SetItemString(d
,"TR_HAS_VARIABLE_ROW_HEIGHT", SWIG_FromInt((int)wxTR_HAS_VARIABLE_ROW_HEIGHT
));
33650 PyDict_SetItemString(d
,"TR_EDIT_LABELS", SWIG_FromInt((int)wxTR_EDIT_LABELS
));
33651 PyDict_SetItemString(d
,"TR_HIDE_ROOT", SWIG_FromInt((int)wxTR_HIDE_ROOT
));
33652 PyDict_SetItemString(d
,"TR_ROW_LINES", SWIG_FromInt((int)wxTR_ROW_LINES
));
33653 PyDict_SetItemString(d
,"TR_FULL_ROW_HIGHLIGHT", SWIG_FromInt((int)wxTR_FULL_ROW_HIGHLIGHT
));
33654 PyDict_SetItemString(d
,"TR_DEFAULT_STYLE", SWIG_FromInt((int)wxTR_DEFAULT_STYLE
));
33655 PyDict_SetItemString(d
,"TR_TWIST_BUTTONS", SWIG_FromInt((int)wxTR_TWIST_BUTTONS
));
33656 PyDict_SetItemString(d
,"TR_MAC_BUTTONS", SWIG_FromInt((int)wxTR_MAC_BUTTONS
));
33657 PyDict_SetItemString(d
,"TR_AQUA_BUTTONS", SWIG_FromInt((int)wxTR_AQUA_BUTTONS
));
33658 PyDict_SetItemString(d
,"TreeItemIcon_Normal", SWIG_FromInt((int)wxTreeItemIcon_Normal
));
33659 PyDict_SetItemString(d
,"TreeItemIcon_Selected", SWIG_FromInt((int)wxTreeItemIcon_Selected
));
33660 PyDict_SetItemString(d
,"TreeItemIcon_Expanded", SWIG_FromInt((int)wxTreeItemIcon_Expanded
));
33661 PyDict_SetItemString(d
,"TreeItemIcon_SelectedExpanded", SWIG_FromInt((int)wxTreeItemIcon_SelectedExpanded
));
33662 PyDict_SetItemString(d
,"TreeItemIcon_Max", SWIG_FromInt((int)wxTreeItemIcon_Max
));
33663 PyDict_SetItemString(d
,"TREE_HITTEST_ABOVE", SWIG_FromInt((int)wxTREE_HITTEST_ABOVE
));
33664 PyDict_SetItemString(d
,"TREE_HITTEST_BELOW", SWIG_FromInt((int)wxTREE_HITTEST_BELOW
));
33665 PyDict_SetItemString(d
,"TREE_HITTEST_NOWHERE", SWIG_FromInt((int)wxTREE_HITTEST_NOWHERE
));
33666 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMBUTTON", SWIG_FromInt((int)wxTREE_HITTEST_ONITEMBUTTON
));
33667 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMICON", SWIG_FromInt((int)wxTREE_HITTEST_ONITEMICON
));
33668 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMINDENT", SWIG_FromInt((int)wxTREE_HITTEST_ONITEMINDENT
));
33669 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMLABEL", SWIG_FromInt((int)wxTREE_HITTEST_ONITEMLABEL
));
33670 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMRIGHT", SWIG_FromInt((int)wxTREE_HITTEST_ONITEMRIGHT
));
33671 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMSTATEICON", SWIG_FromInt((int)wxTREE_HITTEST_ONITEMSTATEICON
));
33672 PyDict_SetItemString(d
,"TREE_HITTEST_TOLEFT", SWIG_FromInt((int)wxTREE_HITTEST_TOLEFT
));
33673 PyDict_SetItemString(d
,"TREE_HITTEST_TORIGHT", SWIG_FromInt((int)wxTREE_HITTEST_TORIGHT
));
33674 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMUPPERPART", SWIG_FromInt((int)wxTREE_HITTEST_ONITEMUPPERPART
));
33675 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMLOWERPART", SWIG_FromInt((int)wxTREE_HITTEST_ONITEMLOWERPART
));
33676 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEM", SWIG_FromInt((int)wxTREE_HITTEST_ONITEM
));
33677 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_DRAG
));
33678 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_RDRAG
));
33679 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT
));
33680 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_END_LABEL_EDIT
));
33681 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_TREE_DELETE_ITEM
));
33682 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_GET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_GET_INFO
));
33683 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_SET_INFO
));
33684 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_EXPANDED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDED
));
33685 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_EXPANDING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDING
));
33686 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_COLLAPSED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSED
));
33687 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_COLLAPSING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSING
));
33688 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SEL_CHANGED", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGED
));
33689 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SEL_CHANGING", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGING
));
33690 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_TREE_KEY_DOWN
));
33691 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_ACTIVATED
));
33692 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK
));
33693 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK
));
33694 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_END_DRAG
));
33695 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK
));
33696 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP
));
33698 // Map renamed classes back to their common name for OOR
33699 wxPyPtrTypeMap_Add("wxTreeItemData", "wxPyTreeItemData");
33700 wxPyPtrTypeMap_Add("wxTreeCtrl", "wxPyTreeCtrl");
33702 SWIG_addvarlink(SWIG_globals
,(char*)"DirDialogDefaultFolderStr",_wrap_DirDialogDefaultFolderStr_get
, _wrap_DirDialogDefaultFolderStr_set
);
33703 PyDict_SetItemString(d
,"DIRCTRL_DIR_ONLY", SWIG_FromInt((int)wxDIRCTRL_DIR_ONLY
));
33704 PyDict_SetItemString(d
,"DIRCTRL_SELECT_FIRST", SWIG_FromInt((int)wxDIRCTRL_SELECT_FIRST
));
33705 PyDict_SetItemString(d
,"DIRCTRL_SHOW_FILTERS", SWIG_FromInt((int)wxDIRCTRL_SHOW_FILTERS
));
33706 PyDict_SetItemString(d
,"DIRCTRL_3D_INTERNAL", SWIG_FromInt((int)wxDIRCTRL_3D_INTERNAL
));
33707 PyDict_SetItemString(d
,"DIRCTRL_EDIT_LABELS", SWIG_FromInt((int)wxDIRCTRL_EDIT_LABELS
));
33708 PyDict_SetItemString(d
,"FRAME_EX_CONTEXTHELP", SWIG_FromInt((int)wxFRAME_EX_CONTEXTHELP
));
33709 PyDict_SetItemString(d
,"DIALOG_EX_CONTEXTHELP", SWIG_FromInt((int)wxDIALOG_EX_CONTEXTHELP
));
33710 PyDict_SetItemString(d
, "wxEVT_HELP", PyInt_FromLong(wxEVT_HELP
));
33711 PyDict_SetItemString(d
, "wxEVT_DETAILED_HELP", PyInt_FromLong(wxEVT_DETAILED_HELP
));
33713 wxPyPtrTypeMap_Add("wxDragImage", "wxGenericDragImage");