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 if (!wxPyCheckForApp()) SWIG_fail
;
1357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1358 result
= wxButton::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
1360 wxPyEndAllowThreads(__tstate
);
1361 if (PyErr_Occurred()) SWIG_fail
;
1364 wxVisualAttributes
* resultptr
;
1365 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
1366 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
1374 static PyObject
* Button_swigregister(PyObject
*self
, PyObject
*args
) {
1376 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1377 SWIG_TypeClientData(SWIGTYPE_p_wxButton
, obj
);
1379 return Py_BuildValue((char *)"");
1381 static PyObject
*_wrap_new_BitmapButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1382 PyObject
*resultobj
;
1383 wxWindow
*arg1
= (wxWindow
*) 0 ;
1384 int arg2
= (int) -1 ;
1385 wxBitmap
const &arg3_defvalue
= wxNullBitmap
;
1386 wxBitmap
*arg3
= (wxBitmap
*) &arg3_defvalue
;
1387 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
1388 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
1389 wxSize
const &arg5_defvalue
= wxDefaultSize
;
1390 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
1391 long arg6
= (long) wxBU_AUTODRAW
;
1392 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
1393 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
1394 wxString
const &arg8_defvalue
= wxPyButtonNameStr
;
1395 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
1396 wxBitmapButton
*result
;
1399 bool temp8
= False
;
1400 PyObject
* obj0
= 0 ;
1401 PyObject
* obj1
= 0 ;
1402 PyObject
* obj2
= 0 ;
1403 PyObject
* obj3
= 0 ;
1404 PyObject
* obj4
= 0 ;
1405 PyObject
* obj5
= 0 ;
1406 PyObject
* obj6
= 0 ;
1407 PyObject
* obj7
= 0 ;
1409 (char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1412 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_BitmapButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
1413 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
1414 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1416 arg2
= (int) SWIG_AsInt(obj1
);
1417 if (PyErr_Occurred()) SWIG_fail
;
1420 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxBitmap
,
1421 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1424 PyErr_SetString(PyExc_TypeError
,"null reference");
1431 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
1437 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
1441 arg6
= (long) SWIG_AsLong(obj5
);
1442 if (PyErr_Occurred()) SWIG_fail
;
1445 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
1446 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1449 PyErr_SetString(PyExc_TypeError
,"null reference");
1455 arg8
= wxString_in_helper(obj7
);
1456 if (arg8
== NULL
) SWIG_fail
;
1461 if (!wxPyCheckForApp()) SWIG_fail
;
1462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1463 result
= (wxBitmapButton
*)new wxBitmapButton(arg1
,arg2
,(wxBitmap
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
1465 wxPyEndAllowThreads(__tstate
);
1466 if (PyErr_Occurred()) SWIG_fail
;
1469 resultobj
= wxPyMake_wxObject(result
);
1485 static PyObject
*_wrap_new_PreBitmapButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1486 PyObject
*resultobj
;
1487 wxBitmapButton
*result
;
1492 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreBitmapButton",kwnames
)) goto fail
;
1494 if (!wxPyCheckForApp()) SWIG_fail
;
1495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1496 result
= (wxBitmapButton
*)new wxBitmapButton();
1498 wxPyEndAllowThreads(__tstate
);
1499 if (PyErr_Occurred()) SWIG_fail
;
1502 resultobj
= wxPyMake_wxObject(result
);
1510 static PyObject
*_wrap_BitmapButton_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1511 PyObject
*resultobj
;
1512 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1513 wxWindow
*arg2
= (wxWindow
*) 0 ;
1514 int arg3
= (int) -1 ;
1515 wxBitmap
const &arg4_defvalue
= wxNullBitmap
;
1516 wxBitmap
*arg4
= (wxBitmap
*) &arg4_defvalue
;
1517 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
1518 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
1519 wxSize
const &arg6_defvalue
= wxDefaultSize
;
1520 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
1521 long arg7
= (long) wxBU_AUTODRAW
;
1522 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
1523 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
1524 wxString
const &arg9_defvalue
= wxPyButtonNameStr
;
1525 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
1529 bool temp9
= False
;
1530 PyObject
* obj0
= 0 ;
1531 PyObject
* obj1
= 0 ;
1532 PyObject
* obj2
= 0 ;
1533 PyObject
* obj3
= 0 ;
1534 PyObject
* obj4
= 0 ;
1535 PyObject
* obj5
= 0 ;
1536 PyObject
* obj6
= 0 ;
1537 PyObject
* obj7
= 0 ;
1538 PyObject
* obj8
= 0 ;
1540 (char *) "self",(char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1543 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:BitmapButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
1544 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
1545 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1546 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
1547 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1549 arg3
= (int) SWIG_AsInt(obj2
);
1550 if (PyErr_Occurred()) SWIG_fail
;
1553 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxBitmap
,
1554 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1557 PyErr_SetString(PyExc_TypeError
,"null reference");
1564 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
1570 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
1574 arg7
= (long) SWIG_AsLong(obj6
);
1575 if (PyErr_Occurred()) SWIG_fail
;
1578 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
1579 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1582 PyErr_SetString(PyExc_TypeError
,"null reference");
1588 arg9
= wxString_in_helper(obj8
);
1589 if (arg9
== NULL
) SWIG_fail
;
1594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1595 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxBitmap
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
1597 wxPyEndAllowThreads(__tstate
);
1598 if (PyErr_Occurred()) SWIG_fail
;
1601 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1617 static PyObject
*_wrap_BitmapButton_GetBitmapLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1618 PyObject
*resultobj
;
1619 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1621 PyObject
* obj0
= 0 ;
1623 (char *) "self", NULL
1626 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetBitmapLabel",kwnames
,&obj0
)) goto fail
;
1627 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
1628 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1631 result
= (arg1
)->GetBitmapLabel();
1633 wxPyEndAllowThreads(__tstate
);
1634 if (PyErr_Occurred()) SWIG_fail
;
1637 wxBitmap
* resultptr
;
1638 resultptr
= new wxBitmap((wxBitmap
&) result
);
1639 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
1647 static PyObject
*_wrap_BitmapButton_GetBitmapDisabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1648 PyObject
*resultobj
;
1649 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1651 PyObject
* obj0
= 0 ;
1653 (char *) "self", NULL
1656 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetBitmapDisabled",kwnames
,&obj0
)) goto fail
;
1657 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
1658 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1661 result
= (arg1
)->GetBitmapDisabled();
1663 wxPyEndAllowThreads(__tstate
);
1664 if (PyErr_Occurred()) SWIG_fail
;
1667 wxBitmap
* resultptr
;
1668 resultptr
= new wxBitmap((wxBitmap
&) result
);
1669 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
1677 static PyObject
*_wrap_BitmapButton_GetBitmapFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1678 PyObject
*resultobj
;
1679 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1681 PyObject
* obj0
= 0 ;
1683 (char *) "self", NULL
1686 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetBitmapFocus",kwnames
,&obj0
)) goto fail
;
1687 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
1688 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1691 result
= (arg1
)->GetBitmapFocus();
1693 wxPyEndAllowThreads(__tstate
);
1694 if (PyErr_Occurred()) SWIG_fail
;
1697 wxBitmap
* resultptr
;
1698 resultptr
= new wxBitmap((wxBitmap
&) result
);
1699 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
1707 static PyObject
*_wrap_BitmapButton_GetBitmapSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1708 PyObject
*resultobj
;
1709 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1711 PyObject
* obj0
= 0 ;
1713 (char *) "self", NULL
1716 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetBitmapSelected",kwnames
,&obj0
)) goto fail
;
1717 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
1718 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1721 result
= (arg1
)->GetBitmapSelected();
1723 wxPyEndAllowThreads(__tstate
);
1724 if (PyErr_Occurred()) SWIG_fail
;
1727 wxBitmap
* resultptr
;
1728 resultptr
= new wxBitmap((wxBitmap
&) result
);
1729 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
1737 static PyObject
*_wrap_BitmapButton_SetBitmapDisabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1738 PyObject
*resultobj
;
1739 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1740 wxBitmap
*arg2
= 0 ;
1741 PyObject
* obj0
= 0 ;
1742 PyObject
* obj1
= 0 ;
1744 (char *) "self",(char *) "bitmap", NULL
1747 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapDisabled",kwnames
,&obj0
,&obj1
)) goto fail
;
1748 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
1749 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1750 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
1751 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1754 PyErr_SetString(PyExc_TypeError
,"null reference");
1758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1759 (arg1
)->SetBitmapDisabled((wxBitmap
const &)*arg2
);
1761 wxPyEndAllowThreads(__tstate
);
1762 if (PyErr_Occurred()) SWIG_fail
;
1764 Py_INCREF(Py_None
); resultobj
= Py_None
;
1771 static PyObject
*_wrap_BitmapButton_SetBitmapFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1772 PyObject
*resultobj
;
1773 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1774 wxBitmap
*arg2
= 0 ;
1775 PyObject
* obj0
= 0 ;
1776 PyObject
* obj1
= 0 ;
1778 (char *) "self",(char *) "bitmap", NULL
1781 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapFocus",kwnames
,&obj0
,&obj1
)) goto fail
;
1782 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
1783 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1784 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
1785 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1788 PyErr_SetString(PyExc_TypeError
,"null reference");
1792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1793 (arg1
)->SetBitmapFocus((wxBitmap
const &)*arg2
);
1795 wxPyEndAllowThreads(__tstate
);
1796 if (PyErr_Occurred()) SWIG_fail
;
1798 Py_INCREF(Py_None
); resultobj
= Py_None
;
1805 static PyObject
*_wrap_BitmapButton_SetBitmapSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1806 PyObject
*resultobj
;
1807 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1808 wxBitmap
*arg2
= 0 ;
1809 PyObject
* obj0
= 0 ;
1810 PyObject
* obj1
= 0 ;
1812 (char *) "self",(char *) "bitmap", NULL
1815 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
1816 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
1817 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1818 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
1819 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1822 PyErr_SetString(PyExc_TypeError
,"null reference");
1826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1827 (arg1
)->SetBitmapSelected((wxBitmap
const &)*arg2
);
1829 wxPyEndAllowThreads(__tstate
);
1830 if (PyErr_Occurred()) SWIG_fail
;
1832 Py_INCREF(Py_None
); resultobj
= Py_None
;
1839 static PyObject
*_wrap_BitmapButton_SetBitmapLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1840 PyObject
*resultobj
;
1841 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1842 wxBitmap
*arg2
= 0 ;
1843 PyObject
* obj0
= 0 ;
1844 PyObject
* obj1
= 0 ;
1846 (char *) "self",(char *) "bitmap", NULL
1849 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
1850 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
1851 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1852 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
1853 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1856 PyErr_SetString(PyExc_TypeError
,"null reference");
1860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1861 (arg1
)->SetBitmapLabel((wxBitmap
const &)*arg2
);
1863 wxPyEndAllowThreads(__tstate
);
1864 if (PyErr_Occurred()) SWIG_fail
;
1866 Py_INCREF(Py_None
); resultobj
= Py_None
;
1873 static PyObject
*_wrap_BitmapButton_SetMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1874 PyObject
*resultobj
;
1875 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1878 PyObject
* obj0
= 0 ;
1879 PyObject
* obj1
= 0 ;
1880 PyObject
* obj2
= 0 ;
1882 (char *) "self",(char *) "x",(char *) "y", NULL
1885 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BitmapButton_SetMargins",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
1886 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
1887 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1888 arg2
= (int) SWIG_AsInt(obj1
);
1889 if (PyErr_Occurred()) SWIG_fail
;
1890 arg3
= (int) SWIG_AsInt(obj2
);
1891 if (PyErr_Occurred()) SWIG_fail
;
1893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1894 (arg1
)->SetMargins(arg2
,arg3
);
1896 wxPyEndAllowThreads(__tstate
);
1897 if (PyErr_Occurred()) SWIG_fail
;
1899 Py_INCREF(Py_None
); resultobj
= Py_None
;
1906 static PyObject
*_wrap_BitmapButton_GetMarginX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1907 PyObject
*resultobj
;
1908 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1910 PyObject
* obj0
= 0 ;
1912 (char *) "self", NULL
1915 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetMarginX",kwnames
,&obj0
)) goto fail
;
1916 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
1917 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1920 result
= (int)((wxBitmapButton
const *)arg1
)->GetMarginX();
1922 wxPyEndAllowThreads(__tstate
);
1923 if (PyErr_Occurred()) SWIG_fail
;
1925 resultobj
= SWIG_FromInt((int)result
);
1932 static PyObject
*_wrap_BitmapButton_GetMarginY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1933 PyObject
*resultobj
;
1934 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1936 PyObject
* obj0
= 0 ;
1938 (char *) "self", NULL
1941 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetMarginY",kwnames
,&obj0
)) goto fail
;
1942 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
1943 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1946 result
= (int)((wxBitmapButton
const *)arg1
)->GetMarginY();
1948 wxPyEndAllowThreads(__tstate
);
1949 if (PyErr_Occurred()) SWIG_fail
;
1951 resultobj
= SWIG_FromInt((int)result
);
1958 static PyObject
* BitmapButton_swigregister(PyObject
*self
, PyObject
*args
) {
1960 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1961 SWIG_TypeClientData(SWIGTYPE_p_wxBitmapButton
, obj
);
1963 return Py_BuildValue((char *)"");
1965 static int _wrap_CheckBoxNameStr_set(PyObject
*_val
) {
1966 PyErr_SetString(PyExc_TypeError
,"Variable CheckBoxNameStr is read-only.");
1971 static PyObject
*_wrap_CheckBoxNameStr_get() {
1976 pyobj
= PyUnicode_FromWideChar((&wxPyCheckBoxNameStr
)->c_str(), (&wxPyCheckBoxNameStr
)->Len());
1978 pyobj
= PyString_FromStringAndSize((&wxPyCheckBoxNameStr
)->c_str(), (&wxPyCheckBoxNameStr
)->Len());
1985 static PyObject
*_wrap_new_CheckBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1986 PyObject
*resultobj
;
1987 wxWindow
*arg1
= (wxWindow
*) 0 ;
1988 int arg2
= (int) -1 ;
1989 wxString
const &arg3_defvalue
= wxPyEmptyString
;
1990 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
1991 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
1992 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
1993 wxSize
const &arg5_defvalue
= wxDefaultSize
;
1994 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
1995 long arg6
= (long) 0 ;
1996 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
1997 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
1998 wxString
const &arg8_defvalue
= wxPyCheckBoxNameStr
;
1999 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
2001 bool temp3
= False
;
2004 bool temp8
= False
;
2005 PyObject
* obj0
= 0 ;
2006 PyObject
* obj1
= 0 ;
2007 PyObject
* obj2
= 0 ;
2008 PyObject
* obj3
= 0 ;
2009 PyObject
* obj4
= 0 ;
2010 PyObject
* obj5
= 0 ;
2011 PyObject
* obj6
= 0 ;
2012 PyObject
* obj7
= 0 ;
2014 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
2017 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_CheckBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
2018 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
2019 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2021 arg2
= (int) SWIG_AsInt(obj1
);
2022 if (PyErr_Occurred()) SWIG_fail
;
2026 arg3
= wxString_in_helper(obj2
);
2027 if (arg3
== NULL
) SWIG_fail
;
2034 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
2040 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
2044 arg6
= (long) SWIG_AsLong(obj5
);
2045 if (PyErr_Occurred()) SWIG_fail
;
2048 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
2049 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2052 PyErr_SetString(PyExc_TypeError
,"null reference");
2058 arg8
= wxString_in_helper(obj7
);
2059 if (arg8
== NULL
) SWIG_fail
;
2064 if (!wxPyCheckForApp()) SWIG_fail
;
2065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2066 result
= (wxCheckBox
*)new wxCheckBox(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
2068 wxPyEndAllowThreads(__tstate
);
2069 if (PyErr_Occurred()) SWIG_fail
;
2071 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCheckBox
, 1);
2094 static PyObject
*_wrap_new_PreCheckBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2095 PyObject
*resultobj
;
2101 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreCheckBox",kwnames
)) goto fail
;
2103 if (!wxPyCheckForApp()) SWIG_fail
;
2104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2105 result
= (wxCheckBox
*)new wxCheckBox();
2107 wxPyEndAllowThreads(__tstate
);
2108 if (PyErr_Occurred()) SWIG_fail
;
2110 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCheckBox
, 1);
2117 static PyObject
*_wrap_CheckBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2118 PyObject
*resultobj
;
2119 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
2120 wxWindow
*arg2
= (wxWindow
*) 0 ;
2121 int arg3
= (int) -1 ;
2122 wxString
const &arg4_defvalue
= wxPyEmptyString
;
2123 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
2124 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
2125 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
2126 wxSize
const &arg6_defvalue
= wxDefaultSize
;
2127 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
2128 long arg7
= (long) 0 ;
2129 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
2130 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
2131 wxString
const &arg9_defvalue
= wxPyCheckBoxNameStr
;
2132 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
2134 bool temp4
= False
;
2137 bool temp9
= False
;
2138 PyObject
* obj0
= 0 ;
2139 PyObject
* obj1
= 0 ;
2140 PyObject
* obj2
= 0 ;
2141 PyObject
* obj3
= 0 ;
2142 PyObject
* obj4
= 0 ;
2143 PyObject
* obj5
= 0 ;
2144 PyObject
* obj6
= 0 ;
2145 PyObject
* obj7
= 0 ;
2146 PyObject
* obj8
= 0 ;
2148 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
2151 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:CheckBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
2152 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckBox
,
2153 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2154 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
2155 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2157 arg3
= (int) SWIG_AsInt(obj2
);
2158 if (PyErr_Occurred()) SWIG_fail
;
2162 arg4
= wxString_in_helper(obj3
);
2163 if (arg4
== NULL
) SWIG_fail
;
2170 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
2176 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
2180 arg7
= (long) SWIG_AsLong(obj6
);
2181 if (PyErr_Occurred()) SWIG_fail
;
2184 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
2185 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2188 PyErr_SetString(PyExc_TypeError
,"null reference");
2194 arg9
= wxString_in_helper(obj8
);
2195 if (arg9
== NULL
) SWIG_fail
;
2200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2201 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
2203 wxPyEndAllowThreads(__tstate
);
2204 if (PyErr_Occurred()) SWIG_fail
;
2207 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2231 static PyObject
*_wrap_CheckBox_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2232 PyObject
*resultobj
;
2233 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
2235 PyObject
* obj0
= 0 ;
2237 (char *) "self", NULL
2240 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckBox_GetValue",kwnames
,&obj0
)) goto fail
;
2241 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckBox
,
2242 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2245 result
= (bool)(arg1
)->GetValue();
2247 wxPyEndAllowThreads(__tstate
);
2248 if (PyErr_Occurred()) SWIG_fail
;
2251 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2259 static PyObject
*_wrap_CheckBox_IsChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2260 PyObject
*resultobj
;
2261 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
2263 PyObject
* obj0
= 0 ;
2265 (char *) "self", NULL
2268 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckBox_IsChecked",kwnames
,&obj0
)) goto fail
;
2269 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckBox
,
2270 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2273 result
= (bool)(arg1
)->IsChecked();
2275 wxPyEndAllowThreads(__tstate
);
2276 if (PyErr_Occurred()) SWIG_fail
;
2279 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2287 static PyObject
*_wrap_CheckBox_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2288 PyObject
*resultobj
;
2289 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
2291 PyObject
* obj0
= 0 ;
2292 PyObject
* obj1
= 0 ;
2294 (char *) "self",(char *) "state", NULL
2297 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckBox_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
2298 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckBox
,
2299 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2300 arg2
= (bool const) SWIG_AsBool(obj1
);
2301 if (PyErr_Occurred()) SWIG_fail
;
2303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2304 (arg1
)->SetValue(arg2
);
2306 wxPyEndAllowThreads(__tstate
);
2307 if (PyErr_Occurred()) SWIG_fail
;
2309 Py_INCREF(Py_None
); resultobj
= Py_None
;
2316 static PyObject
*_wrap_CheckBox_Get3StateValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2317 PyObject
*resultobj
;
2318 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
2320 PyObject
* obj0
= 0 ;
2322 (char *) "self", NULL
2325 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckBox_Get3StateValue",kwnames
,&obj0
)) goto fail
;
2326 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckBox
,
2327 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2330 result
= (int)((wxCheckBox
const *)arg1
)->Get3StateValue();
2332 wxPyEndAllowThreads(__tstate
);
2333 if (PyErr_Occurred()) SWIG_fail
;
2335 resultobj
= SWIG_FromInt((int)result
);
2342 static PyObject
*_wrap_CheckBox_Set3StateValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2343 PyObject
*resultobj
;
2344 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
2346 PyObject
* obj0
= 0 ;
2347 PyObject
* obj1
= 0 ;
2349 (char *) "self",(char *) "state", NULL
2352 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckBox_Set3StateValue",kwnames
,&obj0
,&obj1
)) goto fail
;
2353 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckBox
,
2354 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2355 arg2
= (wxCheckBoxState
) SWIG_AsInt(obj1
);
2356 if (PyErr_Occurred()) SWIG_fail
;
2358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2359 (arg1
)->Set3StateValue((wxCheckBoxState
)arg2
);
2361 wxPyEndAllowThreads(__tstate
);
2362 if (PyErr_Occurred()) SWIG_fail
;
2364 Py_INCREF(Py_None
); resultobj
= Py_None
;
2371 static PyObject
*_wrap_CheckBox_Is3State(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2372 PyObject
*resultobj
;
2373 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
2375 PyObject
* obj0
= 0 ;
2377 (char *) "self", NULL
2380 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckBox_Is3State",kwnames
,&obj0
)) goto fail
;
2381 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckBox
,
2382 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2385 result
= (bool)((wxCheckBox
const *)arg1
)->Is3State();
2387 wxPyEndAllowThreads(__tstate
);
2388 if (PyErr_Occurred()) SWIG_fail
;
2391 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2399 static PyObject
*_wrap_CheckBox_Is3rdStateAllowedForUser(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2400 PyObject
*resultobj
;
2401 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
2403 PyObject
* obj0
= 0 ;
2405 (char *) "self", NULL
2408 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckBox_Is3rdStateAllowedForUser",kwnames
,&obj0
)) goto fail
;
2409 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckBox
,
2410 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2413 result
= (bool)((wxCheckBox
const *)arg1
)->Is3rdStateAllowedForUser();
2415 wxPyEndAllowThreads(__tstate
);
2416 if (PyErr_Occurred()) SWIG_fail
;
2419 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2427 static PyObject
*_wrap_CheckBox_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2428 PyObject
*resultobj
;
2429 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
2430 wxVisualAttributes result
;
2431 PyObject
* obj0
= 0 ;
2433 (char *) "variant", NULL
2436 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:CheckBox_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
2438 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
2439 if (PyErr_Occurred()) SWIG_fail
;
2442 if (!wxPyCheckForApp()) SWIG_fail
;
2443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2444 result
= wxCheckBox::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
2446 wxPyEndAllowThreads(__tstate
);
2447 if (PyErr_Occurred()) SWIG_fail
;
2450 wxVisualAttributes
* resultptr
;
2451 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
2452 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
2460 static PyObject
* CheckBox_swigregister(PyObject
*self
, PyObject
*args
) {
2462 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2463 SWIG_TypeClientData(SWIGTYPE_p_wxCheckBox
, obj
);
2465 return Py_BuildValue((char *)"");
2467 static int _wrap_ChoiceNameStr_set(PyObject
*_val
) {
2468 PyErr_SetString(PyExc_TypeError
,"Variable ChoiceNameStr is read-only.");
2473 static PyObject
*_wrap_ChoiceNameStr_get() {
2478 pyobj
= PyUnicode_FromWideChar((&wxPyChoiceNameStr
)->c_str(), (&wxPyChoiceNameStr
)->Len());
2480 pyobj
= PyString_FromStringAndSize((&wxPyChoiceNameStr
)->c_str(), (&wxPyChoiceNameStr
)->Len());
2487 static PyObject
*_wrap_new_Choice(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2488 PyObject
*resultobj
;
2489 wxWindow
*arg1
= (wxWindow
*) 0 ;
2490 int arg2
= (int) -1 ;
2491 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
2492 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
2493 wxSize
const &arg4_defvalue
= wxDefaultSize
;
2494 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
2495 wxArrayString
const &arg5_defvalue
= wxPyEmptyStringArray
;
2496 wxArrayString
*arg5
= (wxArrayString
*) &arg5_defvalue
;
2497 long arg6
= (long) 0 ;
2498 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
2499 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
2500 wxString
const &arg8_defvalue
= wxPyChoiceNameStr
;
2501 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
2505 bool temp5
= False
;
2506 bool temp8
= False
;
2507 PyObject
* obj0
= 0 ;
2508 PyObject
* obj1
= 0 ;
2509 PyObject
* obj2
= 0 ;
2510 PyObject
* obj3
= 0 ;
2511 PyObject
* obj4
= 0 ;
2512 PyObject
* obj5
= 0 ;
2513 PyObject
* obj6
= 0 ;
2514 PyObject
* obj7
= 0 ;
2516 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
2519 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_Choice",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
2520 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
2521 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2523 arg2
= (int) SWIG_AsInt(obj1
);
2524 if (PyErr_Occurred()) SWIG_fail
;
2529 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
2535 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
2540 if (! PySequence_Check(obj4
)) {
2541 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
2544 arg5
= new wxArrayString
;
2546 int i
, len
=PySequence_Length(obj4
);
2547 for (i
=0; i
<len
; i
++) {
2548 PyObject
* item
= PySequence_GetItem(obj4
, i
);
2550 PyObject
* str
= PyObject_Unicode(item
);
2552 PyObject
* str
= PyObject_Str(item
);
2554 if (PyErr_Occurred()) SWIG_fail
;
2555 arg5
->Add(Py2wxString(str
));
2562 arg6
= (long) SWIG_AsLong(obj5
);
2563 if (PyErr_Occurred()) SWIG_fail
;
2566 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
2567 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2570 PyErr_SetString(PyExc_TypeError
,"null reference");
2576 arg8
= wxString_in_helper(obj7
);
2577 if (arg8
== NULL
) SWIG_fail
;
2582 if (!wxPyCheckForApp()) SWIG_fail
;
2583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2584 result
= (wxChoice
*)new wxChoice(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,(wxArrayString
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
2586 wxPyEndAllowThreads(__tstate
);
2587 if (PyErr_Occurred()) SWIG_fail
;
2589 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxChoice
, 1);
2591 if (temp5
) delete arg5
;
2600 if (temp5
) delete arg5
;
2610 static PyObject
*_wrap_new_PreChoice(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2611 PyObject
*resultobj
;
2617 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreChoice",kwnames
)) goto fail
;
2619 if (!wxPyCheckForApp()) SWIG_fail
;
2620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2621 result
= (wxChoice
*)new wxChoice();
2623 wxPyEndAllowThreads(__tstate
);
2624 if (PyErr_Occurred()) SWIG_fail
;
2626 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxChoice
, 1);
2633 static PyObject
*_wrap_Choice_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2634 PyObject
*resultobj
;
2635 wxChoice
*arg1
= (wxChoice
*) 0 ;
2636 wxWindow
*arg2
= (wxWindow
*) 0 ;
2637 int arg3
= (int) -1 ;
2638 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
2639 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
2640 wxSize
const &arg5_defvalue
= wxDefaultSize
;
2641 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
2642 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
2643 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
2644 long arg7
= (long) 0 ;
2645 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
2646 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
2647 wxString
const &arg9_defvalue
= wxPyChoiceNameStr
;
2648 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
2652 bool temp6
= False
;
2653 bool temp9
= False
;
2654 PyObject
* obj0
= 0 ;
2655 PyObject
* obj1
= 0 ;
2656 PyObject
* obj2
= 0 ;
2657 PyObject
* obj3
= 0 ;
2658 PyObject
* obj4
= 0 ;
2659 PyObject
* obj5
= 0 ;
2660 PyObject
* obj6
= 0 ;
2661 PyObject
* obj7
= 0 ;
2662 PyObject
* obj8
= 0 ;
2664 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
2667 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:Choice_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
2668 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxChoice
,
2669 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2670 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
2671 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2673 arg3
= (int) SWIG_AsInt(obj2
);
2674 if (PyErr_Occurred()) SWIG_fail
;
2679 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
2685 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
2690 if (! PySequence_Check(obj5
)) {
2691 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
2694 arg6
= new wxArrayString
;
2696 int i
, len
=PySequence_Length(obj5
);
2697 for (i
=0; i
<len
; i
++) {
2698 PyObject
* item
= PySequence_GetItem(obj5
, i
);
2700 PyObject
* str
= PyObject_Unicode(item
);
2702 PyObject
* str
= PyObject_Str(item
);
2704 if (PyErr_Occurred()) SWIG_fail
;
2705 arg6
->Add(Py2wxString(str
));
2712 arg7
= (long) SWIG_AsLong(obj6
);
2713 if (PyErr_Occurred()) SWIG_fail
;
2716 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
2717 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2720 PyErr_SetString(PyExc_TypeError
,"null reference");
2726 arg9
= wxString_in_helper(obj8
);
2727 if (arg9
== NULL
) SWIG_fail
;
2732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2733 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,(wxArrayString
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
2735 wxPyEndAllowThreads(__tstate
);
2736 if (PyErr_Occurred()) SWIG_fail
;
2739 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2742 if (temp6
) delete arg6
;
2751 if (temp6
) delete arg6
;
2761 static PyObject
*_wrap_Choice_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2762 PyObject
*resultobj
;
2763 wxChoice
*arg1
= (wxChoice
*) 0 ;
2765 PyObject
* obj0
= 0 ;
2766 PyObject
* obj1
= 0 ;
2768 (char *) "self",(char *) "n", NULL
2771 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Choice_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
2772 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxChoice
,
2773 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2774 arg2
= (int const) SWIG_AsInt(obj1
);
2775 if (PyErr_Occurred()) SWIG_fail
;
2777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2778 (arg1
)->SetSelection(arg2
);
2780 wxPyEndAllowThreads(__tstate
);
2781 if (PyErr_Occurred()) SWIG_fail
;
2783 Py_INCREF(Py_None
); resultobj
= Py_None
;
2790 static PyObject
*_wrap_Choice_SetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2791 PyObject
*resultobj
;
2792 wxChoice
*arg1
= (wxChoice
*) 0 ;
2793 wxString
*arg2
= 0 ;
2795 bool temp2
= False
;
2796 PyObject
* obj0
= 0 ;
2797 PyObject
* obj1
= 0 ;
2799 (char *) "self",(char *) "string", NULL
2802 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Choice_SetStringSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
2803 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxChoice
,
2804 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2806 arg2
= wxString_in_helper(obj1
);
2807 if (arg2
== NULL
) SWIG_fail
;
2811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2812 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
);
2814 wxPyEndAllowThreads(__tstate
);
2815 if (PyErr_Occurred()) SWIG_fail
;
2818 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2834 static PyObject
*_wrap_Choice_SetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2835 PyObject
*resultobj
;
2836 wxChoice
*arg1
= (wxChoice
*) 0 ;
2838 wxString
*arg3
= 0 ;
2839 bool temp3
= False
;
2840 PyObject
* obj0
= 0 ;
2841 PyObject
* obj1
= 0 ;
2842 PyObject
* obj2
= 0 ;
2844 (char *) "self",(char *) "n",(char *) "string", NULL
2847 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Choice_SetString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2848 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxChoice
,
2849 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2850 arg2
= (int) SWIG_AsInt(obj1
);
2851 if (PyErr_Occurred()) SWIG_fail
;
2853 arg3
= wxString_in_helper(obj2
);
2854 if (arg3
== NULL
) SWIG_fail
;
2858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2859 (arg1
)->SetString(arg2
,(wxString
const &)*arg3
);
2861 wxPyEndAllowThreads(__tstate
);
2862 if (PyErr_Occurred()) SWIG_fail
;
2864 Py_INCREF(Py_None
); resultobj
= Py_None
;
2879 static PyObject
*_wrap_Choice_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2880 PyObject
*resultobj
;
2881 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
2882 wxVisualAttributes result
;
2883 PyObject
* obj0
= 0 ;
2885 (char *) "variant", NULL
2888 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Choice_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
2890 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
2891 if (PyErr_Occurred()) SWIG_fail
;
2894 if (!wxPyCheckForApp()) SWIG_fail
;
2895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2896 result
= wxChoice::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
2898 wxPyEndAllowThreads(__tstate
);
2899 if (PyErr_Occurred()) SWIG_fail
;
2902 wxVisualAttributes
* resultptr
;
2903 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
2904 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
2912 static PyObject
* Choice_swigregister(PyObject
*self
, PyObject
*args
) {
2914 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2915 SWIG_TypeClientData(SWIGTYPE_p_wxChoice
, obj
);
2917 return Py_BuildValue((char *)"");
2919 static int _wrap_ComboBoxNameStr_set(PyObject
*_val
) {
2920 PyErr_SetString(PyExc_TypeError
,"Variable ComboBoxNameStr is read-only.");
2925 static PyObject
*_wrap_ComboBoxNameStr_get() {
2930 pyobj
= PyUnicode_FromWideChar((&wxPyComboBoxNameStr
)->c_str(), (&wxPyComboBoxNameStr
)->Len());
2932 pyobj
= PyString_FromStringAndSize((&wxPyComboBoxNameStr
)->c_str(), (&wxPyComboBoxNameStr
)->Len());
2939 static PyObject
*_wrap_new_ComboBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2940 PyObject
*resultobj
;
2941 wxWindow
*arg1
= (wxWindow
*) 0 ;
2942 int arg2
= (int) -1 ;
2943 wxString
const &arg3_defvalue
= wxPyEmptyString
;
2944 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
2945 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
2946 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
2947 wxSize
const &arg5_defvalue
= wxDefaultSize
;
2948 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
2949 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
2950 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
2951 long arg7
= (long) 0 ;
2952 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
2953 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
2954 wxString
const &arg9_defvalue
= wxPyComboBoxNameStr
;
2955 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
2957 bool temp3
= False
;
2960 bool temp6
= False
;
2961 bool temp9
= False
;
2962 PyObject
* obj0
= 0 ;
2963 PyObject
* obj1
= 0 ;
2964 PyObject
* obj2
= 0 ;
2965 PyObject
* obj3
= 0 ;
2966 PyObject
* obj4
= 0 ;
2967 PyObject
* obj5
= 0 ;
2968 PyObject
* obj6
= 0 ;
2969 PyObject
* obj7
= 0 ;
2970 PyObject
* obj8
= 0 ;
2972 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
2975 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOO:new_ComboBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
2976 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
2977 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2979 arg2
= (int) SWIG_AsInt(obj1
);
2980 if (PyErr_Occurred()) SWIG_fail
;
2984 arg3
= wxString_in_helper(obj2
);
2985 if (arg3
== NULL
) SWIG_fail
;
2992 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
2998 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
3003 if (! PySequence_Check(obj5
)) {
3004 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
3007 arg6
= new wxArrayString
;
3009 int i
, len
=PySequence_Length(obj5
);
3010 for (i
=0; i
<len
; i
++) {
3011 PyObject
* item
= PySequence_GetItem(obj5
, i
);
3013 PyObject
* str
= PyObject_Unicode(item
);
3015 PyObject
* str
= PyObject_Str(item
);
3017 if (PyErr_Occurred()) SWIG_fail
;
3018 arg6
->Add(Py2wxString(str
));
3025 arg7
= (long) SWIG_AsLong(obj6
);
3026 if (PyErr_Occurred()) SWIG_fail
;
3029 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
3030 SWIG_POINTER_EXCEPTION
| 0)) == -1)
3033 PyErr_SetString(PyExc_TypeError
,"null reference");
3039 arg9
= wxString_in_helper(obj8
);
3040 if (arg9
== NULL
) SWIG_fail
;
3045 if (!wxPyCheckForApp()) SWIG_fail
;
3046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3047 result
= (wxComboBox
*)new wxComboBox(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,(wxArrayString
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
3049 wxPyEndAllowThreads(__tstate
);
3050 if (PyErr_Occurred()) SWIG_fail
;
3052 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxComboBox
, 1);
3058 if (temp6
) delete arg6
;
3071 if (temp6
) delete arg6
;
3081 static PyObject
*_wrap_new_PreComboBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3082 PyObject
*resultobj
;
3088 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreComboBox",kwnames
)) goto fail
;
3090 if (!wxPyCheckForApp()) SWIG_fail
;
3091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3092 result
= (wxComboBox
*)new wxComboBox();
3094 wxPyEndAllowThreads(__tstate
);
3095 if (PyErr_Occurred()) SWIG_fail
;
3097 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxComboBox
, 1);
3104 static PyObject
*_wrap_ComboBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3105 PyObject
*resultobj
;
3106 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3107 wxWindow
*arg2
= (wxWindow
*) 0 ;
3108 int arg3
= (int) -1 ;
3109 wxString
const &arg4_defvalue
= wxPyEmptyString
;
3110 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
3111 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
3112 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
3113 wxSize
const &arg6_defvalue
= wxDefaultSize
;
3114 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
3115 wxArrayString
const &arg7_defvalue
= wxPyEmptyStringArray
;
3116 wxArrayString
*arg7
= (wxArrayString
*) &arg7_defvalue
;
3117 long arg8
= (long) 0 ;
3118 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
3119 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
3120 wxString
const &arg10_defvalue
= wxPyChoiceNameStr
;
3121 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
3123 bool temp4
= False
;
3126 bool temp7
= False
;
3127 bool temp10
= False
;
3128 PyObject
* obj0
= 0 ;
3129 PyObject
* obj1
= 0 ;
3130 PyObject
* obj2
= 0 ;
3131 PyObject
* obj3
= 0 ;
3132 PyObject
* obj4
= 0 ;
3133 PyObject
* obj5
= 0 ;
3134 PyObject
* obj6
= 0 ;
3135 PyObject
* obj7
= 0 ;
3136 PyObject
* obj8
= 0 ;
3137 PyObject
* obj9
= 0 ;
3139 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
3142 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOO:ComboBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
3143 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3144 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3145 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
3146 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3148 arg3
= (int) SWIG_AsInt(obj2
);
3149 if (PyErr_Occurred()) SWIG_fail
;
3153 arg4
= wxString_in_helper(obj3
);
3154 if (arg4
== NULL
) SWIG_fail
;
3161 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
3167 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
3172 if (! PySequence_Check(obj6
)) {
3173 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
3176 arg7
= new wxArrayString
;
3178 int i
, len
=PySequence_Length(obj6
);
3179 for (i
=0; i
<len
; i
++) {
3180 PyObject
* item
= PySequence_GetItem(obj6
, i
);
3182 PyObject
* str
= PyObject_Unicode(item
);
3184 PyObject
* str
= PyObject_Str(item
);
3186 if (PyErr_Occurred()) SWIG_fail
;
3187 arg7
->Add(Py2wxString(str
));
3194 arg8
= (long) SWIG_AsLong(obj7
);
3195 if (PyErr_Occurred()) SWIG_fail
;
3198 if ((SWIG_ConvertPtr(obj8
,(void **)(&arg9
),SWIGTYPE_p_wxValidator
,
3199 SWIG_POINTER_EXCEPTION
| 0)) == -1)
3202 PyErr_SetString(PyExc_TypeError
,"null reference");
3208 arg10
= wxString_in_helper(obj9
);
3209 if (arg10
== NULL
) SWIG_fail
;
3214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3215 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,(wxArrayString
const &)*arg7
,arg8
,(wxValidator
const &)*arg9
,(wxString
const &)*arg10
);
3217 wxPyEndAllowThreads(__tstate
);
3218 if (PyErr_Occurred()) SWIG_fail
;
3221 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3228 if (temp7
) delete arg7
;
3241 if (temp7
) delete arg7
;
3251 static PyObject
*_wrap_ComboBox_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3252 PyObject
*resultobj
;
3253 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3255 PyObject
* obj0
= 0 ;
3257 (char *) "self", NULL
3260 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_GetValue",kwnames
,&obj0
)) goto fail
;
3261 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3262 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3265 result
= ((wxComboBox
const *)arg1
)->GetValue();
3267 wxPyEndAllowThreads(__tstate
);
3268 if (PyErr_Occurred()) SWIG_fail
;
3272 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3274 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3283 static PyObject
*_wrap_ComboBox_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3284 PyObject
*resultobj
;
3285 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3286 wxString
*arg2
= 0 ;
3287 bool temp2
= False
;
3288 PyObject
* obj0
= 0 ;
3289 PyObject
* obj1
= 0 ;
3291 (char *) "self",(char *) "value", NULL
3294 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
3295 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3296 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3298 arg2
= wxString_in_helper(obj1
);
3299 if (arg2
== NULL
) SWIG_fail
;
3303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3304 (arg1
)->SetValue((wxString
const &)*arg2
);
3306 wxPyEndAllowThreads(__tstate
);
3307 if (PyErr_Occurred()) SWIG_fail
;
3309 Py_INCREF(Py_None
); resultobj
= Py_None
;
3324 static PyObject
*_wrap_ComboBox_Copy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3325 PyObject
*resultobj
;
3326 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3327 PyObject
* obj0
= 0 ;
3329 (char *) "self", NULL
3332 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_Copy",kwnames
,&obj0
)) goto fail
;
3333 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3334 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3339 wxPyEndAllowThreads(__tstate
);
3340 if (PyErr_Occurred()) SWIG_fail
;
3342 Py_INCREF(Py_None
); resultobj
= Py_None
;
3349 static PyObject
*_wrap_ComboBox_Cut(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3350 PyObject
*resultobj
;
3351 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3352 PyObject
* obj0
= 0 ;
3354 (char *) "self", NULL
3357 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_Cut",kwnames
,&obj0
)) goto fail
;
3358 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3359 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3364 wxPyEndAllowThreads(__tstate
);
3365 if (PyErr_Occurred()) SWIG_fail
;
3367 Py_INCREF(Py_None
); resultobj
= Py_None
;
3374 static PyObject
*_wrap_ComboBox_Paste(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3375 PyObject
*resultobj
;
3376 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3377 PyObject
* obj0
= 0 ;
3379 (char *) "self", NULL
3382 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_Paste",kwnames
,&obj0
)) goto fail
;
3383 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3384 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3389 wxPyEndAllowThreads(__tstate
);
3390 if (PyErr_Occurred()) SWIG_fail
;
3392 Py_INCREF(Py_None
); resultobj
= Py_None
;
3399 static PyObject
*_wrap_ComboBox_SetInsertionPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3400 PyObject
*resultobj
;
3401 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3403 PyObject
* obj0
= 0 ;
3404 PyObject
* obj1
= 0 ;
3406 (char *) "self",(char *) "pos", NULL
3409 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetInsertionPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
3410 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3411 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3412 arg2
= (long) SWIG_AsLong(obj1
);
3413 if (PyErr_Occurred()) SWIG_fail
;
3415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3416 (arg1
)->SetInsertionPoint(arg2
);
3418 wxPyEndAllowThreads(__tstate
);
3419 if (PyErr_Occurred()) SWIG_fail
;
3421 Py_INCREF(Py_None
); resultobj
= Py_None
;
3428 static PyObject
*_wrap_ComboBox_GetInsertionPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3429 PyObject
*resultobj
;
3430 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3432 PyObject
* obj0
= 0 ;
3434 (char *) "self", NULL
3437 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_GetInsertionPoint",kwnames
,&obj0
)) goto fail
;
3438 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3439 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3442 result
= (long)((wxComboBox
const *)arg1
)->GetInsertionPoint();
3444 wxPyEndAllowThreads(__tstate
);
3445 if (PyErr_Occurred()) SWIG_fail
;
3447 resultobj
= SWIG_FromLong((long)result
);
3454 static PyObject
*_wrap_ComboBox_GetLastPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3455 PyObject
*resultobj
;
3456 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3458 PyObject
* obj0
= 0 ;
3460 (char *) "self", NULL
3463 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_GetLastPosition",kwnames
,&obj0
)) goto fail
;
3464 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3465 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3468 result
= (long)((wxComboBox
const *)arg1
)->GetLastPosition();
3470 wxPyEndAllowThreads(__tstate
);
3471 if (PyErr_Occurred()) SWIG_fail
;
3473 resultobj
= SWIG_FromLong((long)result
);
3480 static PyObject
*_wrap_ComboBox_Replace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3481 PyObject
*resultobj
;
3482 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3485 wxString
*arg4
= 0 ;
3486 bool temp4
= False
;
3487 PyObject
* obj0
= 0 ;
3488 PyObject
* obj1
= 0 ;
3489 PyObject
* obj2
= 0 ;
3490 PyObject
* obj3
= 0 ;
3492 (char *) "self",(char *) "from",(char *) "to",(char *) "value", NULL
3495 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ComboBox_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
3496 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3497 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3498 arg2
= (long) SWIG_AsLong(obj1
);
3499 if (PyErr_Occurred()) SWIG_fail
;
3500 arg3
= (long) SWIG_AsLong(obj2
);
3501 if (PyErr_Occurred()) SWIG_fail
;
3503 arg4
= wxString_in_helper(obj3
);
3504 if (arg4
== NULL
) SWIG_fail
;
3508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3509 (arg1
)->Replace(arg2
,arg3
,(wxString
const &)*arg4
);
3511 wxPyEndAllowThreads(__tstate
);
3512 if (PyErr_Occurred()) SWIG_fail
;
3514 Py_INCREF(Py_None
); resultobj
= Py_None
;
3529 static PyObject
*_wrap_ComboBox_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3530 PyObject
*resultobj
;
3531 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3533 PyObject
* obj0
= 0 ;
3534 PyObject
* obj1
= 0 ;
3536 (char *) "self",(char *) "n", NULL
3539 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
3540 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3541 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3542 arg2
= (int) SWIG_AsInt(obj1
);
3543 if (PyErr_Occurred()) SWIG_fail
;
3545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3546 (arg1
)->SetSelection(arg2
);
3548 wxPyEndAllowThreads(__tstate
);
3549 if (PyErr_Occurred()) SWIG_fail
;
3551 Py_INCREF(Py_None
); resultobj
= Py_None
;
3558 static PyObject
*_wrap_ComboBox_SetMark(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3559 PyObject
*resultobj
;
3560 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3563 PyObject
* obj0
= 0 ;
3564 PyObject
* obj1
= 0 ;
3565 PyObject
* obj2
= 0 ;
3567 (char *) "self",(char *) "from",(char *) "to", NULL
3570 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ComboBox_SetMark",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3571 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3572 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3573 arg2
= (long) SWIG_AsLong(obj1
);
3574 if (PyErr_Occurred()) SWIG_fail
;
3575 arg3
= (long) SWIG_AsLong(obj2
);
3576 if (PyErr_Occurred()) SWIG_fail
;
3578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3579 (arg1
)->SetSelection(arg2
,arg3
);
3581 wxPyEndAllowThreads(__tstate
);
3582 if (PyErr_Occurred()) SWIG_fail
;
3584 Py_INCREF(Py_None
); resultobj
= Py_None
;
3591 static PyObject
*_wrap_ComboBox_SetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3592 PyObject
*resultobj
;
3593 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3594 wxString
*arg2
= 0 ;
3596 bool temp2
= False
;
3597 PyObject
* obj0
= 0 ;
3598 PyObject
* obj1
= 0 ;
3600 (char *) "self",(char *) "string", NULL
3603 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetStringSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
3604 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3605 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3607 arg2
= wxString_in_helper(obj1
);
3608 if (arg2
== NULL
) SWIG_fail
;
3612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3613 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
);
3615 wxPyEndAllowThreads(__tstate
);
3616 if (PyErr_Occurred()) SWIG_fail
;
3619 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3635 static PyObject
*_wrap_ComboBox_SetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3636 PyObject
*resultobj
;
3637 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3639 wxString
*arg3
= 0 ;
3640 bool temp3
= False
;
3641 PyObject
* obj0
= 0 ;
3642 PyObject
* obj1
= 0 ;
3643 PyObject
* obj2
= 0 ;
3645 (char *) "self",(char *) "n",(char *) "string", NULL
3648 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ComboBox_SetString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3649 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3650 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3651 arg2
= (int) SWIG_AsInt(obj1
);
3652 if (PyErr_Occurred()) SWIG_fail
;
3654 arg3
= wxString_in_helper(obj2
);
3655 if (arg3
== NULL
) SWIG_fail
;
3659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3660 (arg1
)->SetString(arg2
,(wxString
const &)*arg3
);
3662 wxPyEndAllowThreads(__tstate
);
3663 if (PyErr_Occurred()) SWIG_fail
;
3665 Py_INCREF(Py_None
); resultobj
= Py_None
;
3680 static PyObject
*_wrap_ComboBox_SetEditable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3681 PyObject
*resultobj
;
3682 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3684 PyObject
* obj0
= 0 ;
3685 PyObject
* obj1
= 0 ;
3687 (char *) "self",(char *) "editable", NULL
3690 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetEditable",kwnames
,&obj0
,&obj1
)) goto fail
;
3691 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3692 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3693 arg2
= (bool) SWIG_AsBool(obj1
);
3694 if (PyErr_Occurred()) SWIG_fail
;
3696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3697 (arg1
)->SetEditable(arg2
);
3699 wxPyEndAllowThreads(__tstate
);
3700 if (PyErr_Occurred()) SWIG_fail
;
3702 Py_INCREF(Py_None
); resultobj
= Py_None
;
3709 static PyObject
*_wrap_ComboBox_SetInsertionPointEnd(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3710 PyObject
*resultobj
;
3711 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3712 PyObject
* obj0
= 0 ;
3714 (char *) "self", NULL
3717 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_SetInsertionPointEnd",kwnames
,&obj0
)) goto fail
;
3718 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3719 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3722 (arg1
)->SetInsertionPointEnd();
3724 wxPyEndAllowThreads(__tstate
);
3725 if (PyErr_Occurred()) SWIG_fail
;
3727 Py_INCREF(Py_None
); resultobj
= Py_None
;
3734 static PyObject
*_wrap_ComboBox_Remove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3735 PyObject
*resultobj
;
3736 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3739 PyObject
* obj0
= 0 ;
3740 PyObject
* obj1
= 0 ;
3741 PyObject
* obj2
= 0 ;
3743 (char *) "self",(char *) "from",(char *) "to", NULL
3746 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ComboBox_Remove",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3747 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3748 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3749 arg2
= (long) SWIG_AsLong(obj1
);
3750 if (PyErr_Occurred()) SWIG_fail
;
3751 arg3
= (long) SWIG_AsLong(obj2
);
3752 if (PyErr_Occurred()) SWIG_fail
;
3754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3755 (arg1
)->Remove(arg2
,arg3
);
3757 wxPyEndAllowThreads(__tstate
);
3758 if (PyErr_Occurred()) SWIG_fail
;
3760 Py_INCREF(Py_None
); resultobj
= Py_None
;
3767 static PyObject
*_wrap_ComboBox_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3768 PyObject
*resultobj
;
3769 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
3770 wxVisualAttributes result
;
3771 PyObject
* obj0
= 0 ;
3773 (char *) "variant", NULL
3776 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ComboBox_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
3778 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
3779 if (PyErr_Occurred()) SWIG_fail
;
3782 if (!wxPyCheckForApp()) SWIG_fail
;
3783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3784 result
= wxComboBox::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
3786 wxPyEndAllowThreads(__tstate
);
3787 if (PyErr_Occurred()) SWIG_fail
;
3790 wxVisualAttributes
* resultptr
;
3791 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
3792 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
3800 static PyObject
* ComboBox_swigregister(PyObject
*self
, PyObject
*args
) {
3802 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3803 SWIG_TypeClientData(SWIGTYPE_p_wxComboBox
, obj
);
3805 return Py_BuildValue((char *)"");
3807 static int _wrap_GaugeNameStr_set(PyObject
*_val
) {
3808 PyErr_SetString(PyExc_TypeError
,"Variable GaugeNameStr is read-only.");
3813 static PyObject
*_wrap_GaugeNameStr_get() {
3818 pyobj
= PyUnicode_FromWideChar((&wxPyGaugeNameStr
)->c_str(), (&wxPyGaugeNameStr
)->Len());
3820 pyobj
= PyString_FromStringAndSize((&wxPyGaugeNameStr
)->c_str(), (&wxPyGaugeNameStr
)->Len());
3827 static PyObject
*_wrap_new_Gauge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3828 PyObject
*resultobj
;
3829 wxWindow
*arg1
= (wxWindow
*) 0 ;
3830 int arg2
= (int) -1 ;
3831 int arg3
= (int) 100 ;
3832 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
3833 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
3834 wxSize
const &arg5_defvalue
= wxDefaultSize
;
3835 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
3836 long arg6
= (long) wxGA_HORIZONTAL
;
3837 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
3838 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
3839 wxString
const &arg8_defvalue
= wxPyGaugeNameStr
;
3840 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
3844 bool temp8
= False
;
3845 PyObject
* obj0
= 0 ;
3846 PyObject
* obj1
= 0 ;
3847 PyObject
* obj2
= 0 ;
3848 PyObject
* obj3
= 0 ;
3849 PyObject
* obj4
= 0 ;
3850 PyObject
* obj5
= 0 ;
3851 PyObject
* obj6
= 0 ;
3852 PyObject
* obj7
= 0 ;
3854 (char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3857 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_Gauge",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
3858 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
3859 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3861 arg2
= (int) SWIG_AsInt(obj1
);
3862 if (PyErr_Occurred()) SWIG_fail
;
3865 arg3
= (int) SWIG_AsInt(obj2
);
3866 if (PyErr_Occurred()) SWIG_fail
;
3871 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
3877 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
3881 arg6
= (long) SWIG_AsLong(obj5
);
3882 if (PyErr_Occurred()) SWIG_fail
;
3885 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
3886 SWIG_POINTER_EXCEPTION
| 0)) == -1)
3889 PyErr_SetString(PyExc_TypeError
,"null reference");
3895 arg8
= wxString_in_helper(obj7
);
3896 if (arg8
== NULL
) SWIG_fail
;
3901 if (!wxPyCheckForApp()) SWIG_fail
;
3902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3903 result
= (wxGauge
*)new wxGauge(arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
3905 wxPyEndAllowThreads(__tstate
);
3906 if (PyErr_Occurred()) SWIG_fail
;
3908 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGauge
, 1);
3923 static PyObject
*_wrap_new_PreGauge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3924 PyObject
*resultobj
;
3930 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreGauge",kwnames
)) goto fail
;
3932 if (!wxPyCheckForApp()) SWIG_fail
;
3933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3934 result
= (wxGauge
*)new wxGauge();
3936 wxPyEndAllowThreads(__tstate
);
3937 if (PyErr_Occurred()) SWIG_fail
;
3939 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGauge
, 1);
3946 static PyObject
*_wrap_Gauge_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3947 PyObject
*resultobj
;
3948 wxGauge
*arg1
= (wxGauge
*) 0 ;
3949 wxWindow
*arg2
= (wxWindow
*) 0 ;
3950 int arg3
= (int) -1 ;
3951 int arg4
= (int) 100 ;
3952 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
3953 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
3954 wxSize
const &arg6_defvalue
= wxDefaultSize
;
3955 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
3956 long arg7
= (long) wxGA_HORIZONTAL
;
3957 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
3958 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
3959 wxString
const &arg9_defvalue
= wxPyGaugeNameStr
;
3960 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
3964 bool temp9
= False
;
3965 PyObject
* obj0
= 0 ;
3966 PyObject
* obj1
= 0 ;
3967 PyObject
* obj2
= 0 ;
3968 PyObject
* obj3
= 0 ;
3969 PyObject
* obj4
= 0 ;
3970 PyObject
* obj5
= 0 ;
3971 PyObject
* obj6
= 0 ;
3972 PyObject
* obj7
= 0 ;
3973 PyObject
* obj8
= 0 ;
3975 (char *) "self",(char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3978 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:Gauge_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
3979 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGauge
,
3980 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3981 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
3982 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3984 arg3
= (int) SWIG_AsInt(obj2
);
3985 if (PyErr_Occurred()) SWIG_fail
;
3988 arg4
= (int) SWIG_AsInt(obj3
);
3989 if (PyErr_Occurred()) SWIG_fail
;
3994 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
4000 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
4004 arg7
= (long) SWIG_AsLong(obj6
);
4005 if (PyErr_Occurred()) SWIG_fail
;
4008 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
4009 SWIG_POINTER_EXCEPTION
| 0)) == -1)
4012 PyErr_SetString(PyExc_TypeError
,"null reference");
4018 arg9
= wxString_in_helper(obj8
);
4019 if (arg9
== NULL
) SWIG_fail
;
4024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4025 result
= (bool)(arg1
)->Create(arg2
,arg3
,arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
4027 wxPyEndAllowThreads(__tstate
);
4028 if (PyErr_Occurred()) SWIG_fail
;
4031 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4047 static PyObject
*_wrap_Gauge_SetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4048 PyObject
*resultobj
;
4049 wxGauge
*arg1
= (wxGauge
*) 0 ;
4051 PyObject
* obj0
= 0 ;
4052 PyObject
* obj1
= 0 ;
4054 (char *) "self",(char *) "range", NULL
4057 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetRange",kwnames
,&obj0
,&obj1
)) goto fail
;
4058 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGauge
,
4059 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4060 arg2
= (int) SWIG_AsInt(obj1
);
4061 if (PyErr_Occurred()) SWIG_fail
;
4063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4064 (arg1
)->SetRange(arg2
);
4066 wxPyEndAllowThreads(__tstate
);
4067 if (PyErr_Occurred()) SWIG_fail
;
4069 Py_INCREF(Py_None
); resultobj
= Py_None
;
4076 static PyObject
*_wrap_Gauge_GetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4077 PyObject
*resultobj
;
4078 wxGauge
*arg1
= (wxGauge
*) 0 ;
4080 PyObject
* obj0
= 0 ;
4082 (char *) "self", NULL
4085 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_GetRange",kwnames
,&obj0
)) goto fail
;
4086 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGauge
,
4087 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4090 result
= (int)((wxGauge
const *)arg1
)->GetRange();
4092 wxPyEndAllowThreads(__tstate
);
4093 if (PyErr_Occurred()) SWIG_fail
;
4095 resultobj
= SWIG_FromInt((int)result
);
4102 static PyObject
*_wrap_Gauge_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4103 PyObject
*resultobj
;
4104 wxGauge
*arg1
= (wxGauge
*) 0 ;
4106 PyObject
* obj0
= 0 ;
4107 PyObject
* obj1
= 0 ;
4109 (char *) "self",(char *) "pos", NULL
4112 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
4113 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGauge
,
4114 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4115 arg2
= (int) SWIG_AsInt(obj1
);
4116 if (PyErr_Occurred()) SWIG_fail
;
4118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4119 (arg1
)->SetValue(arg2
);
4121 wxPyEndAllowThreads(__tstate
);
4122 if (PyErr_Occurred()) SWIG_fail
;
4124 Py_INCREF(Py_None
); resultobj
= Py_None
;
4131 static PyObject
*_wrap_Gauge_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4132 PyObject
*resultobj
;
4133 wxGauge
*arg1
= (wxGauge
*) 0 ;
4135 PyObject
* obj0
= 0 ;
4137 (char *) "self", NULL
4140 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_GetValue",kwnames
,&obj0
)) goto fail
;
4141 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGauge
,
4142 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4145 result
= (int)((wxGauge
const *)arg1
)->GetValue();
4147 wxPyEndAllowThreads(__tstate
);
4148 if (PyErr_Occurred()) SWIG_fail
;
4150 resultobj
= SWIG_FromInt((int)result
);
4157 static PyObject
*_wrap_Gauge_IsVertical(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4158 PyObject
*resultobj
;
4159 wxGauge
*arg1
= (wxGauge
*) 0 ;
4161 PyObject
* obj0
= 0 ;
4163 (char *) "self", NULL
4166 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_IsVertical",kwnames
,&obj0
)) goto fail
;
4167 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGauge
,
4168 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4171 result
= (bool)((wxGauge
const *)arg1
)->IsVertical();
4173 wxPyEndAllowThreads(__tstate
);
4174 if (PyErr_Occurred()) SWIG_fail
;
4177 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4185 static PyObject
*_wrap_Gauge_SetShadowWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4186 PyObject
*resultobj
;
4187 wxGauge
*arg1
= (wxGauge
*) 0 ;
4189 PyObject
* obj0
= 0 ;
4190 PyObject
* obj1
= 0 ;
4192 (char *) "self",(char *) "w", NULL
4195 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetShadowWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
4196 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGauge
,
4197 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4198 arg2
= (int) SWIG_AsInt(obj1
);
4199 if (PyErr_Occurred()) SWIG_fail
;
4201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4202 (arg1
)->SetShadowWidth(arg2
);
4204 wxPyEndAllowThreads(__tstate
);
4205 if (PyErr_Occurred()) SWIG_fail
;
4207 Py_INCREF(Py_None
); resultobj
= Py_None
;
4214 static PyObject
*_wrap_Gauge_GetShadowWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4215 PyObject
*resultobj
;
4216 wxGauge
*arg1
= (wxGauge
*) 0 ;
4218 PyObject
* obj0
= 0 ;
4220 (char *) "self", NULL
4223 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_GetShadowWidth",kwnames
,&obj0
)) goto fail
;
4224 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGauge
,
4225 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4228 result
= (int)((wxGauge
const *)arg1
)->GetShadowWidth();
4230 wxPyEndAllowThreads(__tstate
);
4231 if (PyErr_Occurred()) SWIG_fail
;
4233 resultobj
= SWIG_FromInt((int)result
);
4240 static PyObject
*_wrap_Gauge_SetBezelFace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4241 PyObject
*resultobj
;
4242 wxGauge
*arg1
= (wxGauge
*) 0 ;
4244 PyObject
* obj0
= 0 ;
4245 PyObject
* obj1
= 0 ;
4247 (char *) "self",(char *) "w", NULL
4250 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetBezelFace",kwnames
,&obj0
,&obj1
)) goto fail
;
4251 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGauge
,
4252 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4253 arg2
= (int) SWIG_AsInt(obj1
);
4254 if (PyErr_Occurred()) SWIG_fail
;
4256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4257 (arg1
)->SetBezelFace(arg2
);
4259 wxPyEndAllowThreads(__tstate
);
4260 if (PyErr_Occurred()) SWIG_fail
;
4262 Py_INCREF(Py_None
); resultobj
= Py_None
;
4269 static PyObject
*_wrap_Gauge_GetBezelFace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4270 PyObject
*resultobj
;
4271 wxGauge
*arg1
= (wxGauge
*) 0 ;
4273 PyObject
* obj0
= 0 ;
4275 (char *) "self", NULL
4278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_GetBezelFace",kwnames
,&obj0
)) goto fail
;
4279 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGauge
,
4280 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4283 result
= (int)((wxGauge
const *)arg1
)->GetBezelFace();
4285 wxPyEndAllowThreads(__tstate
);
4286 if (PyErr_Occurred()) SWIG_fail
;
4288 resultobj
= SWIG_FromInt((int)result
);
4295 static PyObject
*_wrap_Gauge_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4296 PyObject
*resultobj
;
4297 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
4298 wxVisualAttributes result
;
4299 PyObject
* obj0
= 0 ;
4301 (char *) "variant", NULL
4304 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Gauge_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
4306 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
4307 if (PyErr_Occurred()) SWIG_fail
;
4310 if (!wxPyCheckForApp()) SWIG_fail
;
4311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4312 result
= wxGauge::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
4314 wxPyEndAllowThreads(__tstate
);
4315 if (PyErr_Occurred()) SWIG_fail
;
4318 wxVisualAttributes
* resultptr
;
4319 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
4320 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
4328 static PyObject
* Gauge_swigregister(PyObject
*self
, PyObject
*args
) {
4330 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4331 SWIG_TypeClientData(SWIGTYPE_p_wxGauge
, obj
);
4333 return Py_BuildValue((char *)"");
4335 static int _wrap_StaticBitmapNameStr_set(PyObject
*_val
) {
4336 PyErr_SetString(PyExc_TypeError
,"Variable StaticBitmapNameStr is read-only.");
4341 static PyObject
*_wrap_StaticBitmapNameStr_get() {
4346 pyobj
= PyUnicode_FromWideChar((&wxPyStaticBitmapNameStr
)->c_str(), (&wxPyStaticBitmapNameStr
)->Len());
4348 pyobj
= PyString_FromStringAndSize((&wxPyStaticBitmapNameStr
)->c_str(), (&wxPyStaticBitmapNameStr
)->Len());
4355 static int _wrap_StaticBoxNameStr_set(PyObject
*_val
) {
4356 PyErr_SetString(PyExc_TypeError
,"Variable StaticBoxNameStr is read-only.");
4361 static PyObject
*_wrap_StaticBoxNameStr_get() {
4366 pyobj
= PyUnicode_FromWideChar((&wxPyStaticBoxNameStr
)->c_str(), (&wxPyStaticBoxNameStr
)->Len());
4368 pyobj
= PyString_FromStringAndSize((&wxPyStaticBoxNameStr
)->c_str(), (&wxPyStaticBoxNameStr
)->Len());
4375 static int _wrap_StaticTextNameStr_set(PyObject
*_val
) {
4376 PyErr_SetString(PyExc_TypeError
,"Variable StaticTextNameStr is read-only.");
4381 static PyObject
*_wrap_StaticTextNameStr_get() {
4386 pyobj
= PyUnicode_FromWideChar((&wxPyStaticTextNameStr
)->c_str(), (&wxPyStaticTextNameStr
)->Len());
4388 pyobj
= PyString_FromStringAndSize((&wxPyStaticTextNameStr
)->c_str(), (&wxPyStaticTextNameStr
)->Len());
4395 static PyObject
*_wrap_new_StaticBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4396 PyObject
*resultobj
;
4397 wxWindow
*arg1
= (wxWindow
*) 0 ;
4398 int arg2
= (int) -1 ;
4399 wxString
const &arg3_defvalue
= wxPyEmptyString
;
4400 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
4401 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4402 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4403 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4404 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4405 long arg6
= (long) 0 ;
4406 wxString
const &arg7_defvalue
= wxPyStaticBoxNameStr
;
4407 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
4408 wxStaticBox
*result
;
4409 bool temp3
= False
;
4412 bool temp7
= False
;
4413 PyObject
* obj0
= 0 ;
4414 PyObject
* obj1
= 0 ;
4415 PyObject
* obj2
= 0 ;
4416 PyObject
* obj3
= 0 ;
4417 PyObject
* obj4
= 0 ;
4418 PyObject
* obj5
= 0 ;
4419 PyObject
* obj6
= 0 ;
4421 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4424 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_StaticBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
4425 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
4426 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4428 arg2
= (int) SWIG_AsInt(obj1
);
4429 if (PyErr_Occurred()) SWIG_fail
;
4433 arg3
= wxString_in_helper(obj2
);
4434 if (arg3
== NULL
) SWIG_fail
;
4441 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4447 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4451 arg6
= (long) SWIG_AsLong(obj5
);
4452 if (PyErr_Occurred()) SWIG_fail
;
4456 arg7
= wxString_in_helper(obj6
);
4457 if (arg7
== NULL
) SWIG_fail
;
4462 if (!wxPyCheckForApp()) SWIG_fail
;
4463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4464 result
= (wxStaticBox
*)new wxStaticBox(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
4466 wxPyEndAllowThreads(__tstate
);
4467 if (PyErr_Occurred()) SWIG_fail
;
4470 resultobj
= wxPyMake_wxObject(result
);
4494 static PyObject
*_wrap_new_PreStaticBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4495 PyObject
*resultobj
;
4496 wxStaticBox
*result
;
4501 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreStaticBox",kwnames
)) goto fail
;
4503 if (!wxPyCheckForApp()) SWIG_fail
;
4504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4505 result
= (wxStaticBox
*)new wxStaticBox();
4507 wxPyEndAllowThreads(__tstate
);
4508 if (PyErr_Occurred()) SWIG_fail
;
4511 resultobj
= wxPyMake_wxObject(result
);
4519 static PyObject
*_wrap_StaticBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4520 PyObject
*resultobj
;
4521 wxStaticBox
*arg1
= (wxStaticBox
*) 0 ;
4522 wxWindow
*arg2
= (wxWindow
*) 0 ;
4523 int arg3
= (int) -1 ;
4524 wxString
const &arg4_defvalue
= wxPyEmptyString
;
4525 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
4526 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
4527 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
4528 wxSize
const &arg6_defvalue
= wxDefaultSize
;
4529 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
4530 long arg7
= (long) 0 ;
4531 wxString
const &arg8_defvalue
= wxPyStaticBoxNameStr
;
4532 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
4534 bool temp4
= False
;
4537 bool temp8
= False
;
4538 PyObject
* obj0
= 0 ;
4539 PyObject
* obj1
= 0 ;
4540 PyObject
* obj2
= 0 ;
4541 PyObject
* obj3
= 0 ;
4542 PyObject
* obj4
= 0 ;
4543 PyObject
* obj5
= 0 ;
4544 PyObject
* obj6
= 0 ;
4545 PyObject
* obj7
= 0 ;
4547 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4550 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:StaticBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
4551 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticBox
,
4552 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4553 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
4554 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4556 arg3
= (int) SWIG_AsInt(obj2
);
4557 if (PyErr_Occurred()) SWIG_fail
;
4561 arg4
= wxString_in_helper(obj3
);
4562 if (arg4
== NULL
) SWIG_fail
;
4569 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
4575 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
4579 arg7
= (long) SWIG_AsLong(obj6
);
4580 if (PyErr_Occurred()) SWIG_fail
;
4584 arg8
= wxString_in_helper(obj7
);
4585 if (arg8
== NULL
) SWIG_fail
;
4590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4591 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
4593 wxPyEndAllowThreads(__tstate
);
4594 if (PyErr_Occurred()) SWIG_fail
;
4597 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4621 static PyObject
*_wrap_StaticBox_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4622 PyObject
*resultobj
;
4623 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
4624 wxVisualAttributes result
;
4625 PyObject
* obj0
= 0 ;
4627 (char *) "variant", NULL
4630 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StaticBox_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
4632 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
4633 if (PyErr_Occurred()) SWIG_fail
;
4636 if (!wxPyCheckForApp()) SWIG_fail
;
4637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4638 result
= wxStaticBox::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
4640 wxPyEndAllowThreads(__tstate
);
4641 if (PyErr_Occurred()) SWIG_fail
;
4644 wxVisualAttributes
* resultptr
;
4645 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
4646 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
4654 static PyObject
* StaticBox_swigregister(PyObject
*self
, PyObject
*args
) {
4656 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4657 SWIG_TypeClientData(SWIGTYPE_p_wxStaticBox
, obj
);
4659 return Py_BuildValue((char *)"");
4661 static PyObject
*_wrap_new_StaticLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4662 PyObject
*resultobj
;
4663 wxWindow
*arg1
= (wxWindow
*) 0 ;
4664 int arg2
= (int) -1 ;
4665 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
4666 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
4667 wxSize
const &arg4_defvalue
= wxDefaultSize
;
4668 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
4669 long arg5
= (long) wxLI_HORIZONTAL
;
4670 wxString
const &arg6_defvalue
= wxPyStaticTextNameStr
;
4671 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
4672 wxStaticLine
*result
;
4675 bool temp6
= False
;
4676 PyObject
* obj0
= 0 ;
4677 PyObject
* obj1
= 0 ;
4678 PyObject
* obj2
= 0 ;
4679 PyObject
* obj3
= 0 ;
4680 PyObject
* obj4
= 0 ;
4681 PyObject
* obj5
= 0 ;
4683 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4686 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_StaticLine",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
4687 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
4688 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4690 arg2
= (int) SWIG_AsInt(obj1
);
4691 if (PyErr_Occurred()) SWIG_fail
;
4696 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
4702 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
4706 arg5
= (long) SWIG_AsLong(obj4
);
4707 if (PyErr_Occurred()) SWIG_fail
;
4711 arg6
= wxString_in_helper(obj5
);
4712 if (arg6
== NULL
) SWIG_fail
;
4717 if (!wxPyCheckForApp()) SWIG_fail
;
4718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4719 result
= (wxStaticLine
*)new wxStaticLine(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
4721 wxPyEndAllowThreads(__tstate
);
4722 if (PyErr_Occurred()) SWIG_fail
;
4724 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticLine
, 1);
4739 static PyObject
*_wrap_new_PreStaticLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4740 PyObject
*resultobj
;
4741 wxStaticLine
*result
;
4746 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreStaticLine",kwnames
)) goto fail
;
4748 if (!wxPyCheckForApp()) SWIG_fail
;
4749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4750 result
= (wxStaticLine
*)new wxStaticLine();
4752 wxPyEndAllowThreads(__tstate
);
4753 if (PyErr_Occurred()) SWIG_fail
;
4755 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticLine
, 1);
4762 static PyObject
*_wrap_StaticLine_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4763 PyObject
*resultobj
;
4764 wxStaticLine
*arg1
= (wxStaticLine
*) 0 ;
4765 wxWindow
*arg2
= (wxWindow
*) 0 ;
4766 int arg3
= (int) -1 ;
4767 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4768 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4769 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4770 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4771 long arg6
= (long) wxLI_HORIZONTAL
;
4772 wxString
const &arg7_defvalue
= wxPyStaticTextNameStr
;
4773 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
4777 bool temp7
= False
;
4778 PyObject
* obj0
= 0 ;
4779 PyObject
* obj1
= 0 ;
4780 PyObject
* obj2
= 0 ;
4781 PyObject
* obj3
= 0 ;
4782 PyObject
* obj4
= 0 ;
4783 PyObject
* obj5
= 0 ;
4784 PyObject
* obj6
= 0 ;
4786 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4789 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:StaticLine_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
4790 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticLine
,
4791 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4792 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
4793 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4795 arg3
= (int) SWIG_AsInt(obj2
);
4796 if (PyErr_Occurred()) SWIG_fail
;
4801 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4807 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4811 arg6
= (long) SWIG_AsLong(obj5
);
4812 if (PyErr_Occurred()) SWIG_fail
;
4816 arg7
= wxString_in_helper(obj6
);
4817 if (arg7
== NULL
) SWIG_fail
;
4822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4823 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
4825 wxPyEndAllowThreads(__tstate
);
4826 if (PyErr_Occurred()) SWIG_fail
;
4829 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4845 static PyObject
*_wrap_StaticLine_IsVertical(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4846 PyObject
*resultobj
;
4847 wxStaticLine
*arg1
= (wxStaticLine
*) 0 ;
4849 PyObject
* obj0
= 0 ;
4851 (char *) "self", NULL
4854 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StaticLine_IsVertical",kwnames
,&obj0
)) goto fail
;
4855 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticLine
,
4856 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4859 result
= (bool)((wxStaticLine
const *)arg1
)->IsVertical();
4861 wxPyEndAllowThreads(__tstate
);
4862 if (PyErr_Occurred()) SWIG_fail
;
4865 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4873 static PyObject
*_wrap_StaticLine_GetDefaultSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4874 PyObject
*resultobj
;
4880 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":StaticLine_GetDefaultSize",kwnames
)) goto fail
;
4882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4883 result
= (int)wxStaticLine::GetDefaultSize();
4885 wxPyEndAllowThreads(__tstate
);
4886 if (PyErr_Occurred()) SWIG_fail
;
4888 resultobj
= SWIG_FromInt((int)result
);
4895 static PyObject
*_wrap_StaticLine_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4896 PyObject
*resultobj
;
4897 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
4898 wxVisualAttributes result
;
4899 PyObject
* obj0
= 0 ;
4901 (char *) "variant", NULL
4904 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StaticLine_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
4906 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
4907 if (PyErr_Occurred()) SWIG_fail
;
4910 if (!wxPyCheckForApp()) SWIG_fail
;
4911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4912 result
= wxStaticLine::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
4914 wxPyEndAllowThreads(__tstate
);
4915 if (PyErr_Occurred()) SWIG_fail
;
4918 wxVisualAttributes
* resultptr
;
4919 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
4920 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
4928 static PyObject
* StaticLine_swigregister(PyObject
*self
, PyObject
*args
) {
4930 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4931 SWIG_TypeClientData(SWIGTYPE_p_wxStaticLine
, obj
);
4933 return Py_BuildValue((char *)"");
4935 static PyObject
*_wrap_new_StaticText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4936 PyObject
*resultobj
;
4937 wxWindow
*arg1
= (wxWindow
*) 0 ;
4938 int arg2
= (int) -1 ;
4939 wxString
const &arg3_defvalue
= wxPyEmptyString
;
4940 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
4941 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4942 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4943 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4944 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4945 long arg6
= (long) 0 ;
4946 wxString
const &arg7_defvalue
= wxPyStaticTextNameStr
;
4947 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
4948 wxStaticText
*result
;
4949 bool temp3
= False
;
4952 bool temp7
= False
;
4953 PyObject
* obj0
= 0 ;
4954 PyObject
* obj1
= 0 ;
4955 PyObject
* obj2
= 0 ;
4956 PyObject
* obj3
= 0 ;
4957 PyObject
* obj4
= 0 ;
4958 PyObject
* obj5
= 0 ;
4959 PyObject
* obj6
= 0 ;
4961 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4964 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_StaticText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
4965 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
4966 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4968 arg2
= (int) SWIG_AsInt(obj1
);
4969 if (PyErr_Occurred()) SWIG_fail
;
4973 arg3
= wxString_in_helper(obj2
);
4974 if (arg3
== NULL
) SWIG_fail
;
4981 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4987 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4991 arg6
= (long) SWIG_AsLong(obj5
);
4992 if (PyErr_Occurred()) SWIG_fail
;
4996 arg7
= wxString_in_helper(obj6
);
4997 if (arg7
== NULL
) SWIG_fail
;
5002 if (!wxPyCheckForApp()) SWIG_fail
;
5003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5004 result
= (wxStaticText
*)new wxStaticText(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
5006 wxPyEndAllowThreads(__tstate
);
5007 if (PyErr_Occurred()) SWIG_fail
;
5009 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticText
, 1);
5032 static PyObject
*_wrap_new_PreStaticText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5033 PyObject
*resultobj
;
5034 wxStaticText
*result
;
5039 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreStaticText",kwnames
)) goto fail
;
5041 if (!wxPyCheckForApp()) SWIG_fail
;
5042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5043 result
= (wxStaticText
*)new wxStaticText();
5045 wxPyEndAllowThreads(__tstate
);
5046 if (PyErr_Occurred()) SWIG_fail
;
5048 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticText
, 1);
5055 static PyObject
*_wrap_StaticText_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5056 PyObject
*resultobj
;
5057 wxStaticText
*arg1
= (wxStaticText
*) 0 ;
5058 wxWindow
*arg2
= (wxWindow
*) 0 ;
5059 int arg3
= (int) -1 ;
5060 wxString
const &arg4_defvalue
= wxPyEmptyString
;
5061 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
5062 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
5063 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
5064 wxSize
const &arg6_defvalue
= wxDefaultSize
;
5065 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
5066 long arg7
= (long) 0 ;
5067 wxString
const &arg8_defvalue
= wxPyStaticTextNameStr
;
5068 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
5070 bool temp4
= False
;
5073 bool temp8
= False
;
5074 PyObject
* obj0
= 0 ;
5075 PyObject
* obj1
= 0 ;
5076 PyObject
* obj2
= 0 ;
5077 PyObject
* obj3
= 0 ;
5078 PyObject
* obj4
= 0 ;
5079 PyObject
* obj5
= 0 ;
5080 PyObject
* obj6
= 0 ;
5081 PyObject
* obj7
= 0 ;
5083 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5086 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:StaticText_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
5087 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticText
,
5088 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5089 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
5090 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5092 arg3
= (int) SWIG_AsInt(obj2
);
5093 if (PyErr_Occurred()) SWIG_fail
;
5097 arg4
= wxString_in_helper(obj3
);
5098 if (arg4
== NULL
) SWIG_fail
;
5105 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
5111 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
5115 arg7
= (long) SWIG_AsLong(obj6
);
5116 if (PyErr_Occurred()) SWIG_fail
;
5120 arg8
= wxString_in_helper(obj7
);
5121 if (arg8
== NULL
) SWIG_fail
;
5126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5127 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
5129 wxPyEndAllowThreads(__tstate
);
5130 if (PyErr_Occurred()) SWIG_fail
;
5133 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5157 static PyObject
*_wrap_StaticText_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5158 PyObject
*resultobj
;
5159 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
5160 wxVisualAttributes result
;
5161 PyObject
* obj0
= 0 ;
5163 (char *) "variant", NULL
5166 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StaticText_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
5168 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
5169 if (PyErr_Occurred()) SWIG_fail
;
5172 if (!wxPyCheckForApp()) SWIG_fail
;
5173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5174 result
= wxStaticText::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
5176 wxPyEndAllowThreads(__tstate
);
5177 if (PyErr_Occurred()) SWIG_fail
;
5180 wxVisualAttributes
* resultptr
;
5181 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
5182 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
5190 static PyObject
* StaticText_swigregister(PyObject
*self
, PyObject
*args
) {
5192 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5193 SWIG_TypeClientData(SWIGTYPE_p_wxStaticText
, obj
);
5195 return Py_BuildValue((char *)"");
5197 static PyObject
*_wrap_new_StaticBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5198 PyObject
*resultobj
;
5199 wxWindow
*arg1
= (wxWindow
*) 0 ;
5200 int arg2
= (int) -1 ;
5201 wxBitmap
const &arg3_defvalue
= wxNullBitmap
;
5202 wxBitmap
*arg3
= (wxBitmap
*) &arg3_defvalue
;
5203 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
5204 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
5205 wxSize
const &arg5_defvalue
= wxDefaultSize
;
5206 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
5207 long arg6
= (long) 0 ;
5208 wxString
const &arg7_defvalue
= wxPyStaticBitmapNameStr
;
5209 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
5210 wxStaticBitmap
*result
;
5213 bool temp7
= False
;
5214 PyObject
* obj0
= 0 ;
5215 PyObject
* obj1
= 0 ;
5216 PyObject
* obj2
= 0 ;
5217 PyObject
* obj3
= 0 ;
5218 PyObject
* obj4
= 0 ;
5219 PyObject
* obj5
= 0 ;
5220 PyObject
* obj6
= 0 ;
5222 (char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5225 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_StaticBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
5226 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
5227 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5229 arg2
= (int) SWIG_AsInt(obj1
);
5230 if (PyErr_Occurred()) SWIG_fail
;
5233 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxBitmap
,
5234 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5237 PyErr_SetString(PyExc_TypeError
,"null reference");
5244 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
5250 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
5254 arg6
= (long) SWIG_AsLong(obj5
);
5255 if (PyErr_Occurred()) SWIG_fail
;
5259 arg7
= wxString_in_helper(obj6
);
5260 if (arg7
== NULL
) SWIG_fail
;
5265 if (!wxPyCheckForApp()) SWIG_fail
;
5266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5267 result
= (wxStaticBitmap
*)new wxStaticBitmap(arg1
,arg2
,(wxBitmap
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
5269 wxPyEndAllowThreads(__tstate
);
5270 if (PyErr_Occurred()) SWIG_fail
;
5272 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticBitmap
, 1);
5287 static PyObject
*_wrap_new_PreStaticBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5288 PyObject
*resultobj
;
5289 wxStaticBitmap
*result
;
5294 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreStaticBitmap",kwnames
)) goto fail
;
5296 if (!wxPyCheckForApp()) SWIG_fail
;
5297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5298 result
= (wxStaticBitmap
*)new wxStaticBitmap();
5300 wxPyEndAllowThreads(__tstate
);
5301 if (PyErr_Occurred()) SWIG_fail
;
5303 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticBitmap
, 1);
5310 static PyObject
*_wrap_StaticBitmap_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5311 PyObject
*resultobj
;
5312 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
5313 wxWindow
*arg2
= (wxWindow
*) 0 ;
5314 int arg3
= (int) -1 ;
5315 wxBitmap
const &arg4_defvalue
= wxNullBitmap
;
5316 wxBitmap
*arg4
= (wxBitmap
*) &arg4_defvalue
;
5317 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
5318 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
5319 wxSize
const &arg6_defvalue
= wxDefaultSize
;
5320 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
5321 long arg7
= (long) 0 ;
5322 wxString
const &arg8_defvalue
= wxPyStaticBitmapNameStr
;
5323 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
5327 bool temp8
= False
;
5328 PyObject
* obj0
= 0 ;
5329 PyObject
* obj1
= 0 ;
5330 PyObject
* obj2
= 0 ;
5331 PyObject
* obj3
= 0 ;
5332 PyObject
* obj4
= 0 ;
5333 PyObject
* obj5
= 0 ;
5334 PyObject
* obj6
= 0 ;
5335 PyObject
* obj7
= 0 ;
5337 (char *) "self",(char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5340 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:StaticBitmap_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
5341 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticBitmap
,
5342 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5343 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
5344 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5346 arg3
= (int) SWIG_AsInt(obj2
);
5347 if (PyErr_Occurred()) SWIG_fail
;
5350 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxBitmap
,
5351 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5354 PyErr_SetString(PyExc_TypeError
,"null reference");
5361 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
5367 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
5371 arg7
= (long) SWIG_AsLong(obj6
);
5372 if (PyErr_Occurred()) SWIG_fail
;
5376 arg8
= wxString_in_helper(obj7
);
5377 if (arg8
== NULL
) SWIG_fail
;
5382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5383 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxBitmap
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
5385 wxPyEndAllowThreads(__tstate
);
5386 if (PyErr_Occurred()) SWIG_fail
;
5389 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5405 static PyObject
*_wrap_StaticBitmap_GetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5406 PyObject
*resultobj
;
5407 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
5409 PyObject
* obj0
= 0 ;
5411 (char *) "self", NULL
5414 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StaticBitmap_GetBitmap",kwnames
,&obj0
)) goto fail
;
5415 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticBitmap
,
5416 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5419 result
= (arg1
)->GetBitmap();
5421 wxPyEndAllowThreads(__tstate
);
5422 if (PyErr_Occurred()) SWIG_fail
;
5425 wxBitmap
* resultptr
;
5426 resultptr
= new wxBitmap((wxBitmap
&) result
);
5427 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
5435 static PyObject
*_wrap_StaticBitmap_SetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5436 PyObject
*resultobj
;
5437 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
5438 wxBitmap
*arg2
= 0 ;
5439 PyObject
* obj0
= 0 ;
5440 PyObject
* obj1
= 0 ;
5442 (char *) "self",(char *) "bitmap", NULL
5445 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StaticBitmap_SetBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
5446 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticBitmap
,
5447 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5448 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
5449 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5452 PyErr_SetString(PyExc_TypeError
,"null reference");
5456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5457 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
5459 wxPyEndAllowThreads(__tstate
);
5460 if (PyErr_Occurred()) SWIG_fail
;
5462 Py_INCREF(Py_None
); resultobj
= Py_None
;
5469 static PyObject
*_wrap_StaticBitmap_SetIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5470 PyObject
*resultobj
;
5471 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
5473 PyObject
* obj0
= 0 ;
5474 PyObject
* obj1
= 0 ;
5476 (char *) "self",(char *) "icon", NULL
5479 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StaticBitmap_SetIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
5480 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticBitmap
,
5481 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5482 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxIcon
,
5483 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5486 PyErr_SetString(PyExc_TypeError
,"null reference");
5490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5491 (arg1
)->SetIcon((wxIcon
const &)*arg2
);
5493 wxPyEndAllowThreads(__tstate
);
5494 if (PyErr_Occurred()) SWIG_fail
;
5496 Py_INCREF(Py_None
); resultobj
= Py_None
;
5503 static PyObject
*_wrap_StaticBitmap_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5504 PyObject
*resultobj
;
5505 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
5506 wxVisualAttributes result
;
5507 PyObject
* obj0
= 0 ;
5509 (char *) "variant", NULL
5512 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StaticBitmap_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
5514 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
5515 if (PyErr_Occurred()) SWIG_fail
;
5518 if (!wxPyCheckForApp()) SWIG_fail
;
5519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5520 result
= wxStaticBitmap::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
5522 wxPyEndAllowThreads(__tstate
);
5523 if (PyErr_Occurred()) SWIG_fail
;
5526 wxVisualAttributes
* resultptr
;
5527 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
5528 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
5536 static PyObject
* StaticBitmap_swigregister(PyObject
*self
, PyObject
*args
) {
5538 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5539 SWIG_TypeClientData(SWIGTYPE_p_wxStaticBitmap
, obj
);
5541 return Py_BuildValue((char *)"");
5543 static int _wrap_ListBoxNameStr_set(PyObject
*_val
) {
5544 PyErr_SetString(PyExc_TypeError
,"Variable ListBoxNameStr is read-only.");
5549 static PyObject
*_wrap_ListBoxNameStr_get() {
5554 pyobj
= PyUnicode_FromWideChar((&wxPyListBoxNameStr
)->c_str(), (&wxPyListBoxNameStr
)->Len());
5556 pyobj
= PyString_FromStringAndSize((&wxPyListBoxNameStr
)->c_str(), (&wxPyListBoxNameStr
)->Len());
5563 static PyObject
*_wrap_new_ListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5564 PyObject
*resultobj
;
5565 wxWindow
*arg1
= (wxWindow
*) 0 ;
5566 int arg2
= (int) -1 ;
5567 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
5568 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
5569 wxSize
const &arg4_defvalue
= wxDefaultSize
;
5570 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
5571 wxArrayString
const &arg5_defvalue
= wxPyEmptyStringArray
;
5572 wxArrayString
*arg5
= (wxArrayString
*) &arg5_defvalue
;
5573 long arg6
= (long) 0 ;
5574 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
5575 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
5576 wxString
const &arg8_defvalue
= wxPyListBoxNameStr
;
5577 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
5581 bool temp5
= False
;
5582 bool temp8
= False
;
5583 PyObject
* obj0
= 0 ;
5584 PyObject
* obj1
= 0 ;
5585 PyObject
* obj2
= 0 ;
5586 PyObject
* obj3
= 0 ;
5587 PyObject
* obj4
= 0 ;
5588 PyObject
* obj5
= 0 ;
5589 PyObject
* obj6
= 0 ;
5590 PyObject
* obj7
= 0 ;
5592 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5595 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_ListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
5596 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
5597 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5599 arg2
= (int) SWIG_AsInt(obj1
);
5600 if (PyErr_Occurred()) SWIG_fail
;
5605 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
5611 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
5616 if (! PySequence_Check(obj4
)) {
5617 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
5620 arg5
= new wxArrayString
;
5622 int i
, len
=PySequence_Length(obj4
);
5623 for (i
=0; i
<len
; i
++) {
5624 PyObject
* item
= PySequence_GetItem(obj4
, i
);
5626 PyObject
* str
= PyObject_Unicode(item
);
5628 PyObject
* str
= PyObject_Str(item
);
5630 if (PyErr_Occurred()) SWIG_fail
;
5631 arg5
->Add(Py2wxString(str
));
5638 arg6
= (long) SWIG_AsLong(obj5
);
5639 if (PyErr_Occurred()) SWIG_fail
;
5642 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
5643 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5646 PyErr_SetString(PyExc_TypeError
,"null reference");
5652 arg8
= wxString_in_helper(obj7
);
5653 if (arg8
== NULL
) SWIG_fail
;
5658 if (!wxPyCheckForApp()) SWIG_fail
;
5659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5660 result
= (wxListBox
*)new wxListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,(wxArrayString
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
5662 wxPyEndAllowThreads(__tstate
);
5663 if (PyErr_Occurred()) SWIG_fail
;
5665 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListBox
, 1);
5667 if (temp5
) delete arg5
;
5676 if (temp5
) delete arg5
;
5686 static PyObject
*_wrap_new_PreListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5687 PyObject
*resultobj
;
5693 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreListBox",kwnames
)) goto fail
;
5695 if (!wxPyCheckForApp()) SWIG_fail
;
5696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5697 result
= (wxListBox
*)new wxListBox();
5699 wxPyEndAllowThreads(__tstate
);
5700 if (PyErr_Occurred()) SWIG_fail
;
5702 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListBox
, 1);
5709 static PyObject
*_wrap_ListBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5710 PyObject
*resultobj
;
5711 wxListBox
*arg1
= (wxListBox
*) 0 ;
5712 wxWindow
*arg2
= (wxWindow
*) 0 ;
5713 int arg3
= (int) -1 ;
5714 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
5715 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
5716 wxSize
const &arg5_defvalue
= wxDefaultSize
;
5717 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
5718 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
5719 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
5720 long arg7
= (long) 0 ;
5721 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
5722 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
5723 wxString
const &arg9_defvalue
= wxPyListBoxNameStr
;
5724 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
5728 bool temp6
= False
;
5729 bool temp9
= False
;
5730 PyObject
* obj0
= 0 ;
5731 PyObject
* obj1
= 0 ;
5732 PyObject
* obj2
= 0 ;
5733 PyObject
* obj3
= 0 ;
5734 PyObject
* obj4
= 0 ;
5735 PyObject
* obj5
= 0 ;
5736 PyObject
* obj6
= 0 ;
5737 PyObject
* obj7
= 0 ;
5738 PyObject
* obj8
= 0 ;
5740 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5743 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:ListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
5744 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
5745 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5746 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
5747 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5749 arg3
= (int) SWIG_AsInt(obj2
);
5750 if (PyErr_Occurred()) SWIG_fail
;
5755 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
5761 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
5766 if (! PySequence_Check(obj5
)) {
5767 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
5770 arg6
= new wxArrayString
;
5772 int i
, len
=PySequence_Length(obj5
);
5773 for (i
=0; i
<len
; i
++) {
5774 PyObject
* item
= PySequence_GetItem(obj5
, i
);
5776 PyObject
* str
= PyObject_Unicode(item
);
5778 PyObject
* str
= PyObject_Str(item
);
5780 if (PyErr_Occurred()) SWIG_fail
;
5781 arg6
->Add(Py2wxString(str
));
5788 arg7
= (long) SWIG_AsLong(obj6
);
5789 if (PyErr_Occurred()) SWIG_fail
;
5792 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
5793 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5796 PyErr_SetString(PyExc_TypeError
,"null reference");
5802 arg9
= wxString_in_helper(obj8
);
5803 if (arg9
== NULL
) SWIG_fail
;
5808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5809 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,(wxArrayString
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
5811 wxPyEndAllowThreads(__tstate
);
5812 if (PyErr_Occurred()) SWIG_fail
;
5815 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5818 if (temp6
) delete arg6
;
5827 if (temp6
) delete arg6
;
5837 static PyObject
*_wrap_ListBox_Insert(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5838 PyObject
*resultobj
;
5839 wxListBox
*arg1
= (wxListBox
*) 0 ;
5840 wxString
*arg2
= 0 ;
5842 PyObject
*arg4
= (PyObject
*) NULL
;
5843 bool temp2
= False
;
5844 PyObject
* obj0
= 0 ;
5845 PyObject
* obj1
= 0 ;
5846 PyObject
* obj2
= 0 ;
5847 PyObject
* obj3
= 0 ;
5849 (char *) "self",(char *) "item",(char *) "pos",(char *) "clientData", NULL
5852 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ListBox_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
5853 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
5854 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5856 arg2
= wxString_in_helper(obj1
);
5857 if (arg2
== NULL
) SWIG_fail
;
5860 arg3
= (int) SWIG_AsInt(obj2
);
5861 if (PyErr_Occurred()) SWIG_fail
;
5866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5867 wxListBox_Insert(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
5869 wxPyEndAllowThreads(__tstate
);
5870 if (PyErr_Occurred()) SWIG_fail
;
5872 Py_INCREF(Py_None
); resultobj
= Py_None
;
5887 static PyObject
*_wrap_ListBox_InsertItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5888 PyObject
*resultobj
;
5889 wxListBox
*arg1
= (wxListBox
*) 0 ;
5890 wxArrayString
*arg2
= 0 ;
5892 bool temp2
= False
;
5893 PyObject
* obj0
= 0 ;
5894 PyObject
* obj1
= 0 ;
5895 PyObject
* obj2
= 0 ;
5897 (char *) "self",(char *) "items",(char *) "pos", NULL
5900 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_InsertItems",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5901 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
5902 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5904 if (! PySequence_Check(obj1
)) {
5905 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
5908 arg2
= new wxArrayString
;
5910 int i
, len
=PySequence_Length(obj1
);
5911 for (i
=0; i
<len
; i
++) {
5912 PyObject
* item
= PySequence_GetItem(obj1
, i
);
5914 PyObject
* str
= PyObject_Unicode(item
);
5916 PyObject
* str
= PyObject_Str(item
);
5918 if (PyErr_Occurred()) SWIG_fail
;
5919 arg2
->Add(Py2wxString(str
));
5924 arg3
= (int) SWIG_AsInt(obj2
);
5925 if (PyErr_Occurred()) SWIG_fail
;
5927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5928 (arg1
)->InsertItems((wxArrayString
const &)*arg2
,arg3
);
5930 wxPyEndAllowThreads(__tstate
);
5931 if (PyErr_Occurred()) SWIG_fail
;
5933 Py_INCREF(Py_None
); resultobj
= Py_None
;
5935 if (temp2
) delete arg2
;
5940 if (temp2
) delete arg2
;
5946 static PyObject
*_wrap_ListBox_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5947 PyObject
*resultobj
;
5948 wxListBox
*arg1
= (wxListBox
*) 0 ;
5949 wxArrayString
*arg2
= 0 ;
5950 bool temp2
= False
;
5951 PyObject
* obj0
= 0 ;
5952 PyObject
* obj1
= 0 ;
5954 (char *) "self",(char *) "items", NULL
5957 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_Set",kwnames
,&obj0
,&obj1
)) goto fail
;
5958 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
5959 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5961 if (! PySequence_Check(obj1
)) {
5962 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
5965 arg2
= new wxArrayString
;
5967 int i
, len
=PySequence_Length(obj1
);
5968 for (i
=0; i
<len
; i
++) {
5969 PyObject
* item
= PySequence_GetItem(obj1
, i
);
5971 PyObject
* str
= PyObject_Unicode(item
);
5973 PyObject
* str
= PyObject_Str(item
);
5975 if (PyErr_Occurred()) SWIG_fail
;
5976 arg2
->Add(Py2wxString(str
));
5982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5983 (arg1
)->Set((wxArrayString
const &)*arg2
);
5985 wxPyEndAllowThreads(__tstate
);
5986 if (PyErr_Occurred()) SWIG_fail
;
5988 Py_INCREF(Py_None
); resultobj
= Py_None
;
5990 if (temp2
) delete arg2
;
5995 if (temp2
) delete arg2
;
6001 static PyObject
*_wrap_ListBox_IsSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6002 PyObject
*resultobj
;
6003 wxListBox
*arg1
= (wxListBox
*) 0 ;
6006 PyObject
* obj0
= 0 ;
6007 PyObject
* obj1
= 0 ;
6009 (char *) "self",(char *) "n", NULL
6012 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_IsSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
6013 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
6014 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6015 arg2
= (int) SWIG_AsInt(obj1
);
6016 if (PyErr_Occurred()) SWIG_fail
;
6018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6019 result
= (bool)((wxListBox
const *)arg1
)->IsSelected(arg2
);
6021 wxPyEndAllowThreads(__tstate
);
6022 if (PyErr_Occurred()) SWIG_fail
;
6025 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6033 static PyObject
*_wrap_ListBox_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6034 PyObject
*resultobj
;
6035 wxListBox
*arg1
= (wxListBox
*) 0 ;
6037 bool arg3
= (bool) True
;
6038 PyObject
* obj0
= 0 ;
6039 PyObject
* obj1
= 0 ;
6040 PyObject
* obj2
= 0 ;
6042 (char *) "self",(char *) "n",(char *) "select", NULL
6045 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListBox_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6046 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
6047 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6048 arg2
= (int) SWIG_AsInt(obj1
);
6049 if (PyErr_Occurred()) SWIG_fail
;
6051 arg3
= (bool) SWIG_AsBool(obj2
);
6052 if (PyErr_Occurred()) SWIG_fail
;
6055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6056 (arg1
)->SetSelection(arg2
,arg3
);
6058 wxPyEndAllowThreads(__tstate
);
6059 if (PyErr_Occurred()) SWIG_fail
;
6061 Py_INCREF(Py_None
); resultobj
= Py_None
;
6068 static PyObject
*_wrap_ListBox_Select(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6069 PyObject
*resultobj
;
6070 wxListBox
*arg1
= (wxListBox
*) 0 ;
6072 PyObject
* obj0
= 0 ;
6073 PyObject
* obj1
= 0 ;
6075 (char *) "self",(char *) "n", NULL
6078 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_Select",kwnames
,&obj0
,&obj1
)) goto fail
;
6079 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
6080 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6081 arg2
= (int) SWIG_AsInt(obj1
);
6082 if (PyErr_Occurred()) SWIG_fail
;
6084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6085 (arg1
)->Select(arg2
);
6087 wxPyEndAllowThreads(__tstate
);
6088 if (PyErr_Occurred()) SWIG_fail
;
6090 Py_INCREF(Py_None
); resultobj
= Py_None
;
6097 static PyObject
*_wrap_ListBox_Deselect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6098 PyObject
*resultobj
;
6099 wxListBox
*arg1
= (wxListBox
*) 0 ;
6101 PyObject
* obj0
= 0 ;
6102 PyObject
* obj1
= 0 ;
6104 (char *) "self",(char *) "n", NULL
6107 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_Deselect",kwnames
,&obj0
,&obj1
)) goto fail
;
6108 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
6109 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6110 arg2
= (int) SWIG_AsInt(obj1
);
6111 if (PyErr_Occurred()) SWIG_fail
;
6113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6114 (arg1
)->Deselect(arg2
);
6116 wxPyEndAllowThreads(__tstate
);
6117 if (PyErr_Occurred()) SWIG_fail
;
6119 Py_INCREF(Py_None
); resultobj
= Py_None
;
6126 static PyObject
*_wrap_ListBox_DeselectAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6127 PyObject
*resultobj
;
6128 wxListBox
*arg1
= (wxListBox
*) 0 ;
6129 int arg2
= (int) -1 ;
6130 PyObject
* obj0
= 0 ;
6131 PyObject
* obj1
= 0 ;
6133 (char *) "self",(char *) "itemToLeaveSelected", NULL
6136 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ListBox_DeselectAll",kwnames
,&obj0
,&obj1
)) goto fail
;
6137 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
6138 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6140 arg2
= (int) SWIG_AsInt(obj1
);
6141 if (PyErr_Occurred()) SWIG_fail
;
6144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6145 (arg1
)->DeselectAll(arg2
);
6147 wxPyEndAllowThreads(__tstate
);
6148 if (PyErr_Occurred()) SWIG_fail
;
6150 Py_INCREF(Py_None
); resultobj
= Py_None
;
6157 static PyObject
*_wrap_ListBox_SetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6158 PyObject
*resultobj
;
6159 wxListBox
*arg1
= (wxListBox
*) 0 ;
6160 wxString
*arg2
= 0 ;
6161 bool arg3
= (bool) True
;
6163 bool temp2
= False
;
6164 PyObject
* obj0
= 0 ;
6165 PyObject
* obj1
= 0 ;
6166 PyObject
* obj2
= 0 ;
6168 (char *) "self",(char *) "s",(char *) "select", NULL
6171 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListBox_SetStringSelection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6172 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
6173 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6175 arg2
= wxString_in_helper(obj1
);
6176 if (arg2
== NULL
) SWIG_fail
;
6180 arg3
= (bool) SWIG_AsBool(obj2
);
6181 if (PyErr_Occurred()) SWIG_fail
;
6184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6185 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
,arg3
);
6187 wxPyEndAllowThreads(__tstate
);
6188 if (PyErr_Occurred()) SWIG_fail
;
6191 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6207 static PyObject
*_wrap_ListBox_GetSelections(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6208 PyObject
*resultobj
;
6209 wxListBox
*arg1
= (wxListBox
*) 0 ;
6211 PyObject
* obj0
= 0 ;
6213 (char *) "self", NULL
6216 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListBox_GetSelections",kwnames
,&obj0
)) goto fail
;
6217 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
6218 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6221 result
= (PyObject
*)wxListBox_GetSelections(arg1
);
6223 wxPyEndAllowThreads(__tstate
);
6224 if (PyErr_Occurred()) SWIG_fail
;
6233 static PyObject
*_wrap_ListBox_SetFirstItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6234 PyObject
*resultobj
;
6235 wxListBox
*arg1
= (wxListBox
*) 0 ;
6237 PyObject
* obj0
= 0 ;
6238 PyObject
* obj1
= 0 ;
6240 (char *) "self",(char *) "n", NULL
6243 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_SetFirstItem",kwnames
,&obj0
,&obj1
)) goto fail
;
6244 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
6245 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6246 arg2
= (int) SWIG_AsInt(obj1
);
6247 if (PyErr_Occurred()) SWIG_fail
;
6249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6250 (arg1
)->SetFirstItem(arg2
);
6252 wxPyEndAllowThreads(__tstate
);
6253 if (PyErr_Occurred()) SWIG_fail
;
6255 Py_INCREF(Py_None
); resultobj
= Py_None
;
6262 static PyObject
*_wrap_ListBox_SetFirstItemStr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6263 PyObject
*resultobj
;
6264 wxListBox
*arg1
= (wxListBox
*) 0 ;
6265 wxString
*arg2
= 0 ;
6266 bool temp2
= False
;
6267 PyObject
* obj0
= 0 ;
6268 PyObject
* obj1
= 0 ;
6270 (char *) "self",(char *) "s", NULL
6273 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_SetFirstItemStr",kwnames
,&obj0
,&obj1
)) goto fail
;
6274 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
6275 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6277 arg2
= wxString_in_helper(obj1
);
6278 if (arg2
== NULL
) SWIG_fail
;
6282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6283 (arg1
)->SetFirstItem((wxString
const &)*arg2
);
6285 wxPyEndAllowThreads(__tstate
);
6286 if (PyErr_Occurred()) SWIG_fail
;
6288 Py_INCREF(Py_None
); resultobj
= Py_None
;
6303 static PyObject
*_wrap_ListBox_EnsureVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6304 PyObject
*resultobj
;
6305 wxListBox
*arg1
= (wxListBox
*) 0 ;
6307 PyObject
* obj0
= 0 ;
6308 PyObject
* obj1
= 0 ;
6310 (char *) "self",(char *) "n", NULL
6313 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_EnsureVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
6314 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
6315 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6316 arg2
= (int) SWIG_AsInt(obj1
);
6317 if (PyErr_Occurred()) SWIG_fail
;
6319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6320 (arg1
)->EnsureVisible(arg2
);
6322 wxPyEndAllowThreads(__tstate
);
6323 if (PyErr_Occurred()) SWIG_fail
;
6325 Py_INCREF(Py_None
); resultobj
= Py_None
;
6332 static PyObject
*_wrap_ListBox_AppendAndEnsureVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6333 PyObject
*resultobj
;
6334 wxListBox
*arg1
= (wxListBox
*) 0 ;
6335 wxString
*arg2
= 0 ;
6336 bool temp2
= False
;
6337 PyObject
* obj0
= 0 ;
6338 PyObject
* obj1
= 0 ;
6340 (char *) "self",(char *) "s", NULL
6343 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_AppendAndEnsureVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
6344 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
6345 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6347 arg2
= wxString_in_helper(obj1
);
6348 if (arg2
== NULL
) SWIG_fail
;
6352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6353 (arg1
)->AppendAndEnsureVisible((wxString
const &)*arg2
);
6355 wxPyEndAllowThreads(__tstate
);
6356 if (PyErr_Occurred()) SWIG_fail
;
6358 Py_INCREF(Py_None
); resultobj
= Py_None
;
6373 static PyObject
*_wrap_ListBox_IsSorted(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6374 PyObject
*resultobj
;
6375 wxListBox
*arg1
= (wxListBox
*) 0 ;
6377 PyObject
* obj0
= 0 ;
6379 (char *) "self", NULL
6382 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListBox_IsSorted",kwnames
,&obj0
)) goto fail
;
6383 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
6384 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6387 result
= (bool)((wxListBox
const *)arg1
)->IsSorted();
6389 wxPyEndAllowThreads(__tstate
);
6390 if (PyErr_Occurred()) SWIG_fail
;
6393 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6401 static PyObject
*_wrap_ListBox_SetItemForegroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6402 PyObject
*resultobj
;
6403 wxListBox
*arg1
= (wxListBox
*) 0 ;
6405 wxColour
*arg3
= 0 ;
6407 PyObject
* obj0
= 0 ;
6408 PyObject
* obj1
= 0 ;
6409 PyObject
* obj2
= 0 ;
6411 (char *) "self",(char *) "item",(char *) "c", NULL
6414 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_SetItemForegroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6415 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
6416 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6417 arg2
= (int) SWIG_AsInt(obj1
);
6418 if (PyErr_Occurred()) SWIG_fail
;
6421 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
6424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6425 wxListBox_SetItemForegroundColour(arg1
,arg2
,(wxColour
const &)*arg3
);
6427 wxPyEndAllowThreads(__tstate
);
6428 if (PyErr_Occurred()) SWIG_fail
;
6430 Py_INCREF(Py_None
); resultobj
= Py_None
;
6437 static PyObject
*_wrap_ListBox_SetItemBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6438 PyObject
*resultobj
;
6439 wxListBox
*arg1
= (wxListBox
*) 0 ;
6441 wxColour
*arg3
= 0 ;
6443 PyObject
* obj0
= 0 ;
6444 PyObject
* obj1
= 0 ;
6445 PyObject
* obj2
= 0 ;
6447 (char *) "self",(char *) "item",(char *) "c", NULL
6450 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_SetItemBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6451 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
6452 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6453 arg2
= (int) SWIG_AsInt(obj1
);
6454 if (PyErr_Occurred()) SWIG_fail
;
6457 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
6460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6461 wxListBox_SetItemBackgroundColour(arg1
,arg2
,(wxColour
const &)*arg3
);
6463 wxPyEndAllowThreads(__tstate
);
6464 if (PyErr_Occurred()) SWIG_fail
;
6466 Py_INCREF(Py_None
); resultobj
= Py_None
;
6473 static PyObject
*_wrap_ListBox_SetItemFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6474 PyObject
*resultobj
;
6475 wxListBox
*arg1
= (wxListBox
*) 0 ;
6478 PyObject
* obj0
= 0 ;
6479 PyObject
* obj1
= 0 ;
6480 PyObject
* obj2
= 0 ;
6482 (char *) "self",(char *) "item",(char *) "f", NULL
6485 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_SetItemFont",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6486 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
6487 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6488 arg2
= (int) SWIG_AsInt(obj1
);
6489 if (PyErr_Occurred()) SWIG_fail
;
6490 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxFont
,
6491 SWIG_POINTER_EXCEPTION
| 0)) == -1)
6494 PyErr_SetString(PyExc_TypeError
,"null reference");
6498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6499 wxListBox_SetItemFont(arg1
,arg2
,(wxFont
const &)*arg3
);
6501 wxPyEndAllowThreads(__tstate
);
6502 if (PyErr_Occurred()) SWIG_fail
;
6504 Py_INCREF(Py_None
); resultobj
= Py_None
;
6511 static PyObject
*_wrap_ListBox_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6512 PyObject
*resultobj
;
6513 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
6514 wxVisualAttributes result
;
6515 PyObject
* obj0
= 0 ;
6517 (char *) "variant", NULL
6520 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ListBox_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
6522 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
6523 if (PyErr_Occurred()) SWIG_fail
;
6526 if (!wxPyCheckForApp()) SWIG_fail
;
6527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6528 result
= wxListBox::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
6530 wxPyEndAllowThreads(__tstate
);
6531 if (PyErr_Occurred()) SWIG_fail
;
6534 wxVisualAttributes
* resultptr
;
6535 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
6536 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
6544 static PyObject
* ListBox_swigregister(PyObject
*self
, PyObject
*args
) {
6546 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6547 SWIG_TypeClientData(SWIGTYPE_p_wxListBox
, obj
);
6549 return Py_BuildValue((char *)"");
6551 static PyObject
*_wrap_new_CheckListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6552 PyObject
*resultobj
;
6553 wxWindow
*arg1
= (wxWindow
*) 0 ;
6554 int arg2
= (int) -1 ;
6555 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
6556 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
6557 wxSize
const &arg4_defvalue
= wxDefaultSize
;
6558 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
6559 wxArrayString
const &arg5_defvalue
= wxPyEmptyStringArray
;
6560 wxArrayString
*arg5
= (wxArrayString
*) &arg5_defvalue
;
6561 long arg6
= (long) 0 ;
6562 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
6563 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
6564 wxString
const &arg8_defvalue
= wxPyListBoxNameStr
;
6565 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
6566 wxCheckListBox
*result
;
6569 bool temp5
= False
;
6570 bool temp8
= False
;
6571 PyObject
* obj0
= 0 ;
6572 PyObject
* obj1
= 0 ;
6573 PyObject
* obj2
= 0 ;
6574 PyObject
* obj3
= 0 ;
6575 PyObject
* obj4
= 0 ;
6576 PyObject
* obj5
= 0 ;
6577 PyObject
* obj6
= 0 ;
6578 PyObject
* obj7
= 0 ;
6580 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
6583 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_CheckListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
6584 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
6585 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6587 arg2
= (int) SWIG_AsInt(obj1
);
6588 if (PyErr_Occurred()) SWIG_fail
;
6593 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
6599 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
6604 if (! PySequence_Check(obj4
)) {
6605 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
6608 arg5
= new wxArrayString
;
6610 int i
, len
=PySequence_Length(obj4
);
6611 for (i
=0; i
<len
; i
++) {
6612 PyObject
* item
= PySequence_GetItem(obj4
, i
);
6614 PyObject
* str
= PyObject_Unicode(item
);
6616 PyObject
* str
= PyObject_Str(item
);
6618 if (PyErr_Occurred()) SWIG_fail
;
6619 arg5
->Add(Py2wxString(str
));
6626 arg6
= (long) SWIG_AsLong(obj5
);
6627 if (PyErr_Occurred()) SWIG_fail
;
6630 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
6631 SWIG_POINTER_EXCEPTION
| 0)) == -1)
6634 PyErr_SetString(PyExc_TypeError
,"null reference");
6640 arg8
= wxString_in_helper(obj7
);
6641 if (arg8
== NULL
) SWIG_fail
;
6646 if (!wxPyCheckForApp()) SWIG_fail
;
6647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6648 result
= (wxCheckListBox
*)new wxCheckListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,(wxArrayString
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
6650 wxPyEndAllowThreads(__tstate
);
6651 if (PyErr_Occurred()) SWIG_fail
;
6653 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCheckListBox
, 1);
6655 if (temp5
) delete arg5
;
6664 if (temp5
) delete arg5
;
6674 static PyObject
*_wrap_new_PreCheckListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6675 PyObject
*resultobj
;
6676 wxCheckListBox
*result
;
6681 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreCheckListBox",kwnames
)) goto fail
;
6683 if (!wxPyCheckForApp()) SWIG_fail
;
6684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6685 result
= (wxCheckListBox
*)new wxCheckListBox();
6687 wxPyEndAllowThreads(__tstate
);
6688 if (PyErr_Occurred()) SWIG_fail
;
6690 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCheckListBox
, 1);
6697 static PyObject
*_wrap_CheckListBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6698 PyObject
*resultobj
;
6699 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
6700 wxWindow
*arg2
= (wxWindow
*) 0 ;
6701 int arg3
= (int) -1 ;
6702 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
6703 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
6704 wxSize
const &arg5_defvalue
= wxDefaultSize
;
6705 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
6706 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
6707 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
6708 long arg7
= (long) 0 ;
6709 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
6710 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
6711 wxString
const &arg9_defvalue
= wxPyListBoxNameStr
;
6712 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
6716 bool temp6
= False
;
6717 bool temp9
= False
;
6718 PyObject
* obj0
= 0 ;
6719 PyObject
* obj1
= 0 ;
6720 PyObject
* obj2
= 0 ;
6721 PyObject
* obj3
= 0 ;
6722 PyObject
* obj4
= 0 ;
6723 PyObject
* obj5
= 0 ;
6724 PyObject
* obj6
= 0 ;
6725 PyObject
* obj7
= 0 ;
6726 PyObject
* obj8
= 0 ;
6728 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
6731 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:CheckListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
6732 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckListBox
,
6733 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6734 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
6735 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6737 arg3
= (int) SWIG_AsInt(obj2
);
6738 if (PyErr_Occurred()) SWIG_fail
;
6743 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
6749 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
6754 if (! PySequence_Check(obj5
)) {
6755 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
6758 arg6
= new wxArrayString
;
6760 int i
, len
=PySequence_Length(obj5
);
6761 for (i
=0; i
<len
; i
++) {
6762 PyObject
* item
= PySequence_GetItem(obj5
, i
);
6764 PyObject
* str
= PyObject_Unicode(item
);
6766 PyObject
* str
= PyObject_Str(item
);
6768 if (PyErr_Occurred()) SWIG_fail
;
6769 arg6
->Add(Py2wxString(str
));
6776 arg7
= (long) SWIG_AsLong(obj6
);
6777 if (PyErr_Occurred()) SWIG_fail
;
6780 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
6781 SWIG_POINTER_EXCEPTION
| 0)) == -1)
6784 PyErr_SetString(PyExc_TypeError
,"null reference");
6790 arg9
= wxString_in_helper(obj8
);
6791 if (arg9
== NULL
) SWIG_fail
;
6796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6797 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,(wxArrayString
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
6799 wxPyEndAllowThreads(__tstate
);
6800 if (PyErr_Occurred()) SWIG_fail
;
6803 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6806 if (temp6
) delete arg6
;
6815 if (temp6
) delete arg6
;
6825 static PyObject
*_wrap_CheckListBox_IsChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6826 PyObject
*resultobj
;
6827 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
6830 PyObject
* obj0
= 0 ;
6831 PyObject
* obj1
= 0 ;
6833 (char *) "self",(char *) "index", NULL
6836 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckListBox_IsChecked",kwnames
,&obj0
,&obj1
)) goto fail
;
6837 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckListBox
,
6838 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6839 arg2
= (int) SWIG_AsInt(obj1
);
6840 if (PyErr_Occurred()) SWIG_fail
;
6842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6843 result
= (bool)(arg1
)->IsChecked(arg2
);
6845 wxPyEndAllowThreads(__tstate
);
6846 if (PyErr_Occurred()) SWIG_fail
;
6849 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6857 static PyObject
*_wrap_CheckListBox_Check(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6858 PyObject
*resultobj
;
6859 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
6861 int arg3
= (int) True
;
6862 PyObject
* obj0
= 0 ;
6863 PyObject
* obj1
= 0 ;
6864 PyObject
* obj2
= 0 ;
6866 (char *) "self",(char *) "index",(char *) "check", NULL
6869 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:CheckListBox_Check",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6870 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckListBox
,
6871 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6872 arg2
= (int) SWIG_AsInt(obj1
);
6873 if (PyErr_Occurred()) SWIG_fail
;
6875 arg3
= (int) SWIG_AsInt(obj2
);
6876 if (PyErr_Occurred()) SWIG_fail
;
6879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6880 (arg1
)->Check(arg2
,arg3
);
6882 wxPyEndAllowThreads(__tstate
);
6883 if (PyErr_Occurred()) SWIG_fail
;
6885 Py_INCREF(Py_None
); resultobj
= Py_None
;
6892 static PyObject
*_wrap_CheckListBox_GetItemHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6893 PyObject
*resultobj
;
6894 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
6896 PyObject
* obj0
= 0 ;
6898 (char *) "self", NULL
6901 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckListBox_GetItemHeight",kwnames
,&obj0
)) goto fail
;
6902 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckListBox
,
6903 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6906 result
= (int)(arg1
)->GetItemHeight();
6908 wxPyEndAllowThreads(__tstate
);
6909 if (PyErr_Occurred()) SWIG_fail
;
6911 resultobj
= SWIG_FromInt((int)result
);
6918 static PyObject
*_wrap_CheckListBox_HitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6919 PyObject
*resultobj
;
6920 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
6924 PyObject
* obj0
= 0 ;
6925 PyObject
* obj1
= 0 ;
6927 (char *) "self",(char *) "pt", NULL
6930 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckListBox_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
6931 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckListBox
,
6932 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6935 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
6938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6939 result
= (int)((wxCheckListBox
const *)arg1
)->HitTest((wxPoint
const &)*arg2
);
6941 wxPyEndAllowThreads(__tstate
);
6942 if (PyErr_Occurred()) SWIG_fail
;
6944 resultobj
= SWIG_FromInt((int)result
);
6951 static PyObject
*_wrap_CheckListBox_HitTestXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6952 PyObject
*resultobj
;
6953 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
6957 PyObject
* obj0
= 0 ;
6958 PyObject
* obj1
= 0 ;
6959 PyObject
* obj2
= 0 ;
6961 (char *) "self",(char *) "x",(char *) "y", NULL
6964 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:CheckListBox_HitTestXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6965 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckListBox
,
6966 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6967 arg2
= (int) SWIG_AsInt(obj1
);
6968 if (PyErr_Occurred()) SWIG_fail
;
6969 arg3
= (int) SWIG_AsInt(obj2
);
6970 if (PyErr_Occurred()) SWIG_fail
;
6972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6973 result
= (int)((wxCheckListBox
const *)arg1
)->HitTest(arg2
,arg3
);
6975 wxPyEndAllowThreads(__tstate
);
6976 if (PyErr_Occurred()) SWIG_fail
;
6978 resultobj
= SWIG_FromInt((int)result
);
6985 static PyObject
* CheckListBox_swigregister(PyObject
*self
, PyObject
*args
) {
6987 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6988 SWIG_TypeClientData(SWIGTYPE_p_wxCheckListBox
, obj
);
6990 return Py_BuildValue((char *)"");
6992 static int _wrap_TextCtrlNameStr_set(PyObject
*_val
) {
6993 PyErr_SetString(PyExc_TypeError
,"Variable TextCtrlNameStr is read-only.");
6998 static PyObject
*_wrap_TextCtrlNameStr_get() {
7003 pyobj
= PyUnicode_FromWideChar((&wxPyTextCtrlNameStr
)->c_str(), (&wxPyTextCtrlNameStr
)->Len());
7005 pyobj
= PyString_FromStringAndSize((&wxPyTextCtrlNameStr
)->c_str(), (&wxPyTextCtrlNameStr
)->Len());
7012 static PyObject
*_wrap_new_TextAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7013 PyObject
*resultobj
;
7014 wxColour
const &arg1_defvalue
= wxNullColour
;
7015 wxColour
*arg1
= (wxColour
*) &arg1_defvalue
;
7016 wxColour
const &arg2_defvalue
= wxNullColour
;
7017 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
7018 wxFont
const &arg3_defvalue
= wxNullFont
;
7019 wxFont
*arg3
= (wxFont
*) &arg3_defvalue
;
7020 int arg4
= (int) wxTEXT_ALIGNMENT_DEFAULT
;
7024 PyObject
* obj0
= 0 ;
7025 PyObject
* obj1
= 0 ;
7026 PyObject
* obj2
= 0 ;
7027 PyObject
* obj3
= 0 ;
7029 (char *) "colText",(char *) "colBack",(char *) "font",(char *) "alignment", NULL
7032 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_TextAttr",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
7036 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
7042 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
7046 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxFont
,
7047 SWIG_POINTER_EXCEPTION
| 0)) == -1)
7050 PyErr_SetString(PyExc_TypeError
,"null reference");
7055 arg4
= (wxTextAttrAlignment
) SWIG_AsInt(obj3
);
7056 if (PyErr_Occurred()) SWIG_fail
;
7059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7060 result
= (wxTextAttr
*)new wxTextAttr((wxColour
const &)*arg1
,(wxColour
const &)*arg2
,(wxFont
const &)*arg3
,(wxTextAttrAlignment
)arg4
);
7062 wxPyEndAllowThreads(__tstate
);
7063 if (PyErr_Occurred()) SWIG_fail
;
7065 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextAttr
, 1);
7072 static PyObject
*_wrap_delete_TextAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7073 PyObject
*resultobj
;
7074 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7075 PyObject
* obj0
= 0 ;
7077 (char *) "self", NULL
7080 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TextAttr",kwnames
,&obj0
)) goto fail
;
7081 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7082 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7087 wxPyEndAllowThreads(__tstate
);
7088 if (PyErr_Occurred()) SWIG_fail
;
7090 Py_INCREF(Py_None
); resultobj
= Py_None
;
7097 static PyObject
*_wrap_TextAttr_Init(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7098 PyObject
*resultobj
;
7099 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7100 PyObject
* obj0
= 0 ;
7102 (char *) "self", NULL
7105 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_Init",kwnames
,&obj0
)) goto fail
;
7106 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7107 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7112 wxPyEndAllowThreads(__tstate
);
7113 if (PyErr_Occurred()) SWIG_fail
;
7115 Py_INCREF(Py_None
); resultobj
= Py_None
;
7122 static PyObject
*_wrap_TextAttr_SetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7123 PyObject
*resultobj
;
7124 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7125 wxColour
*arg2
= 0 ;
7127 PyObject
* obj0
= 0 ;
7128 PyObject
* obj1
= 0 ;
7130 (char *) "self",(char *) "colText", NULL
7133 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
7134 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7135 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7138 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
7141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7142 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
7144 wxPyEndAllowThreads(__tstate
);
7145 if (PyErr_Occurred()) SWIG_fail
;
7147 Py_INCREF(Py_None
); resultobj
= Py_None
;
7154 static PyObject
*_wrap_TextAttr_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7155 PyObject
*resultobj
;
7156 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7157 wxColour
*arg2
= 0 ;
7159 PyObject
* obj0
= 0 ;
7160 PyObject
* obj1
= 0 ;
7162 (char *) "self",(char *) "colBack", NULL
7165 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
7166 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7167 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7170 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
7173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7174 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
7176 wxPyEndAllowThreads(__tstate
);
7177 if (PyErr_Occurred()) SWIG_fail
;
7179 Py_INCREF(Py_None
); resultobj
= Py_None
;
7186 static PyObject
*_wrap_TextAttr_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7187 PyObject
*resultobj
;
7188 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7190 long arg3
= (long) wxTEXT_ATTR_FONT
;
7191 PyObject
* obj0
= 0 ;
7192 PyObject
* obj1
= 0 ;
7193 PyObject
* obj2
= 0 ;
7195 (char *) "self",(char *) "font",(char *) "flags", NULL
7198 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TextAttr_SetFont",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7199 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7200 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7201 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
7202 SWIG_POINTER_EXCEPTION
| 0)) == -1)
7205 PyErr_SetString(PyExc_TypeError
,"null reference");
7209 arg3
= (long) SWIG_AsLong(obj2
);
7210 if (PyErr_Occurred()) SWIG_fail
;
7213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7214 (arg1
)->SetFont((wxFont
const &)*arg2
,arg3
);
7216 wxPyEndAllowThreads(__tstate
);
7217 if (PyErr_Occurred()) SWIG_fail
;
7219 Py_INCREF(Py_None
); resultobj
= Py_None
;
7226 static PyObject
*_wrap_TextAttr_SetAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7227 PyObject
*resultobj
;
7228 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7230 PyObject
* obj0
= 0 ;
7231 PyObject
* obj1
= 0 ;
7233 (char *) "self",(char *) "alignment", NULL
7236 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetAlignment",kwnames
,&obj0
,&obj1
)) goto fail
;
7237 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7238 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7239 arg2
= (wxTextAttrAlignment
) SWIG_AsInt(obj1
);
7240 if (PyErr_Occurred()) SWIG_fail
;
7242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7243 (arg1
)->SetAlignment((wxTextAttrAlignment
)arg2
);
7245 wxPyEndAllowThreads(__tstate
);
7246 if (PyErr_Occurred()) SWIG_fail
;
7248 Py_INCREF(Py_None
); resultobj
= Py_None
;
7255 static PyObject
*_wrap_TextAttr_SetTabs(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7256 PyObject
*resultobj
;
7257 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7258 wxArrayInt
*arg2
= 0 ;
7259 bool temp2
= False
;
7260 PyObject
* obj0
= 0 ;
7261 PyObject
* obj1
= 0 ;
7263 (char *) "self",(char *) "tabs", NULL
7266 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetTabs",kwnames
,&obj0
,&obj1
)) goto fail
;
7267 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7268 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7270 if (! PySequence_Check(obj1
)) {
7271 PyErr_SetString(PyExc_TypeError
, "Sequence of integers expected.");
7274 arg2
= new wxArrayInt
;
7276 int i
, len
=PySequence_Length(obj1
);
7277 for (i
=0; i
<len
; i
++) {
7278 PyObject
* item
= PySequence_GetItem(obj1
, i
);
7279 PyObject
* number
= PyNumber_Int(item
);
7280 arg2
->Add(PyInt_AS_LONG(number
));
7286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7287 (arg1
)->SetTabs((wxArrayInt
const &)*arg2
);
7289 wxPyEndAllowThreads(__tstate
);
7290 if (PyErr_Occurred()) SWIG_fail
;
7292 Py_INCREF(Py_None
); resultobj
= Py_None
;
7294 if (temp2
) delete arg2
;
7299 if (temp2
) delete arg2
;
7305 static PyObject
*_wrap_TextAttr_SetLeftIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7306 PyObject
*resultobj
;
7307 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7309 int arg3
= (int) 0 ;
7310 PyObject
* obj0
= 0 ;
7311 PyObject
* obj1
= 0 ;
7312 PyObject
* obj2
= 0 ;
7314 (char *) "self",(char *) "indent",(char *) "subIndent", NULL
7317 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TextAttr_SetLeftIndent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7318 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7319 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7320 arg2
= (int) SWIG_AsInt(obj1
);
7321 if (PyErr_Occurred()) SWIG_fail
;
7323 arg3
= (int) SWIG_AsInt(obj2
);
7324 if (PyErr_Occurred()) SWIG_fail
;
7327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7328 (arg1
)->SetLeftIndent(arg2
,arg3
);
7330 wxPyEndAllowThreads(__tstate
);
7331 if (PyErr_Occurred()) SWIG_fail
;
7333 Py_INCREF(Py_None
); resultobj
= Py_None
;
7340 static PyObject
*_wrap_TextAttr_SetRightIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7341 PyObject
*resultobj
;
7342 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7344 PyObject
* obj0
= 0 ;
7345 PyObject
* obj1
= 0 ;
7347 (char *) "self",(char *) "indent", NULL
7350 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetRightIndent",kwnames
,&obj0
,&obj1
)) goto fail
;
7351 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7352 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7353 arg2
= (int) SWIG_AsInt(obj1
);
7354 if (PyErr_Occurred()) SWIG_fail
;
7356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7357 (arg1
)->SetRightIndent(arg2
);
7359 wxPyEndAllowThreads(__tstate
);
7360 if (PyErr_Occurred()) SWIG_fail
;
7362 Py_INCREF(Py_None
); resultobj
= Py_None
;
7369 static PyObject
*_wrap_TextAttr_SetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7370 PyObject
*resultobj
;
7371 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7373 PyObject
* obj0
= 0 ;
7374 PyObject
* obj1
= 0 ;
7376 (char *) "self",(char *) "flags", NULL
7379 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetFlags",kwnames
,&obj0
,&obj1
)) goto fail
;
7380 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7381 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7382 arg2
= (long) SWIG_AsLong(obj1
);
7383 if (PyErr_Occurred()) SWIG_fail
;
7385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7386 (arg1
)->SetFlags(arg2
);
7388 wxPyEndAllowThreads(__tstate
);
7389 if (PyErr_Occurred()) SWIG_fail
;
7391 Py_INCREF(Py_None
); resultobj
= Py_None
;
7398 static PyObject
*_wrap_TextAttr_HasTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7399 PyObject
*resultobj
;
7400 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7402 PyObject
* obj0
= 0 ;
7404 (char *) "self", NULL
7407 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasTextColour",kwnames
,&obj0
)) goto fail
;
7408 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7409 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7412 result
= (bool)((wxTextAttr
const *)arg1
)->HasTextColour();
7414 wxPyEndAllowThreads(__tstate
);
7415 if (PyErr_Occurred()) SWIG_fail
;
7418 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7426 static PyObject
*_wrap_TextAttr_HasBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7427 PyObject
*resultobj
;
7428 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7430 PyObject
* obj0
= 0 ;
7432 (char *) "self", NULL
7435 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasBackgroundColour",kwnames
,&obj0
)) goto fail
;
7436 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7437 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7440 result
= (bool)((wxTextAttr
const *)arg1
)->HasBackgroundColour();
7442 wxPyEndAllowThreads(__tstate
);
7443 if (PyErr_Occurred()) SWIG_fail
;
7446 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7454 static PyObject
*_wrap_TextAttr_HasFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7455 PyObject
*resultobj
;
7456 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7458 PyObject
* obj0
= 0 ;
7460 (char *) "self", NULL
7463 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasFont",kwnames
,&obj0
)) goto fail
;
7464 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7465 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7468 result
= (bool)((wxTextAttr
const *)arg1
)->HasFont();
7470 wxPyEndAllowThreads(__tstate
);
7471 if (PyErr_Occurred()) SWIG_fail
;
7474 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7482 static PyObject
*_wrap_TextAttr_HasAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7483 PyObject
*resultobj
;
7484 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7486 PyObject
* obj0
= 0 ;
7488 (char *) "self", NULL
7491 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasAlignment",kwnames
,&obj0
)) goto fail
;
7492 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7493 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7496 result
= (bool)((wxTextAttr
const *)arg1
)->HasAlignment();
7498 wxPyEndAllowThreads(__tstate
);
7499 if (PyErr_Occurred()) SWIG_fail
;
7502 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7510 static PyObject
*_wrap_TextAttr_HasTabs(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7511 PyObject
*resultobj
;
7512 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7514 PyObject
* obj0
= 0 ;
7516 (char *) "self", NULL
7519 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasTabs",kwnames
,&obj0
)) goto fail
;
7520 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7521 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7524 result
= (bool)((wxTextAttr
const *)arg1
)->HasTabs();
7526 wxPyEndAllowThreads(__tstate
);
7527 if (PyErr_Occurred()) SWIG_fail
;
7530 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7538 static PyObject
*_wrap_TextAttr_HasLeftIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7539 PyObject
*resultobj
;
7540 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7542 PyObject
* obj0
= 0 ;
7544 (char *) "self", NULL
7547 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasLeftIndent",kwnames
,&obj0
)) goto fail
;
7548 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7549 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7552 result
= (bool)((wxTextAttr
const *)arg1
)->HasLeftIndent();
7554 wxPyEndAllowThreads(__tstate
);
7555 if (PyErr_Occurred()) SWIG_fail
;
7558 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7566 static PyObject
*_wrap_TextAttr_HasRightIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7567 PyObject
*resultobj
;
7568 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7570 PyObject
* obj0
= 0 ;
7572 (char *) "self", NULL
7575 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasRightIndent",kwnames
,&obj0
)) goto fail
;
7576 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7577 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7580 result
= (bool)((wxTextAttr
const *)arg1
)->HasRightIndent();
7582 wxPyEndAllowThreads(__tstate
);
7583 if (PyErr_Occurred()) SWIG_fail
;
7586 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7594 static PyObject
*_wrap_TextAttr_HasFlag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7595 PyObject
*resultobj
;
7596 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7599 PyObject
* obj0
= 0 ;
7600 PyObject
* obj1
= 0 ;
7602 (char *) "self",(char *) "flag", NULL
7605 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_HasFlag",kwnames
,&obj0
,&obj1
)) goto fail
;
7606 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7607 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7608 arg2
= (long) SWIG_AsLong(obj1
);
7609 if (PyErr_Occurred()) SWIG_fail
;
7611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7612 result
= (bool)((wxTextAttr
const *)arg1
)->HasFlag(arg2
);
7614 wxPyEndAllowThreads(__tstate
);
7615 if (PyErr_Occurred()) SWIG_fail
;
7618 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7626 static PyObject
*_wrap_TextAttr_GetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7627 PyObject
*resultobj
;
7628 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7630 PyObject
* obj0
= 0 ;
7632 (char *) "self", NULL
7635 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetTextColour",kwnames
,&obj0
)) goto fail
;
7636 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7637 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7641 wxColour
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetTextColour();
7642 result
= (wxColour
*) &_result_ref
;
7645 wxPyEndAllowThreads(__tstate
);
7646 if (PyErr_Occurred()) SWIG_fail
;
7648 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0);
7655 static PyObject
*_wrap_TextAttr_GetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7656 PyObject
*resultobj
;
7657 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7659 PyObject
* obj0
= 0 ;
7661 (char *) "self", NULL
7664 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
7665 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7666 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7670 wxColour
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetBackgroundColour();
7671 result
= (wxColour
*) &_result_ref
;
7674 wxPyEndAllowThreads(__tstate
);
7675 if (PyErr_Occurred()) SWIG_fail
;
7677 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0);
7684 static PyObject
*_wrap_TextAttr_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7685 PyObject
*resultobj
;
7686 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7688 PyObject
* obj0
= 0 ;
7690 (char *) "self", NULL
7693 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetFont",kwnames
,&obj0
)) goto fail
;
7694 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7695 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7699 wxFont
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetFont();
7700 result
= (wxFont
*) &_result_ref
;
7703 wxPyEndAllowThreads(__tstate
);
7704 if (PyErr_Occurred()) SWIG_fail
;
7707 wxFont
* resultptr
= new wxFont(*result
);
7708 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxFont
, 1);
7716 static PyObject
*_wrap_TextAttr_GetAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7717 PyObject
*resultobj
;
7718 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7720 PyObject
* obj0
= 0 ;
7722 (char *) "self", NULL
7725 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetAlignment",kwnames
,&obj0
)) goto fail
;
7726 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7727 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7730 result
= (int)((wxTextAttr
const *)arg1
)->GetAlignment();
7732 wxPyEndAllowThreads(__tstate
);
7733 if (PyErr_Occurred()) SWIG_fail
;
7735 resultobj
= SWIG_FromInt((int)result
);
7742 static PyObject
*_wrap_TextAttr_GetTabs(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7743 PyObject
*resultobj
;
7744 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7746 PyObject
* obj0
= 0 ;
7748 (char *) "self", NULL
7751 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetTabs",kwnames
,&obj0
)) goto fail
;
7752 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7753 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7757 wxArrayInt
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetTabs();
7758 result
= (wxArrayInt
*) &_result_ref
;
7761 wxPyEndAllowThreads(__tstate
);
7762 if (PyErr_Occurred()) SWIG_fail
;
7765 resultobj
= PyList_New(0);
7767 for (idx
= 0; idx
< result
->GetCount(); idx
+= 1) {
7768 PyObject
* val
= PyInt_FromLong( result
->Item(idx
) );
7769 PyList_Append(resultobj
, val
);
7779 static PyObject
*_wrap_TextAttr_GetLeftIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7780 PyObject
*resultobj
;
7781 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7783 PyObject
* obj0
= 0 ;
7785 (char *) "self", NULL
7788 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetLeftIndent",kwnames
,&obj0
)) goto fail
;
7789 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7790 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7793 result
= (long)((wxTextAttr
const *)arg1
)->GetLeftIndent();
7795 wxPyEndAllowThreads(__tstate
);
7796 if (PyErr_Occurred()) SWIG_fail
;
7798 resultobj
= SWIG_FromLong((long)result
);
7805 static PyObject
*_wrap_TextAttr_GetLeftSubIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7806 PyObject
*resultobj
;
7807 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7809 PyObject
* obj0
= 0 ;
7811 (char *) "self", NULL
7814 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetLeftSubIndent",kwnames
,&obj0
)) goto fail
;
7815 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7816 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7819 result
= (long)((wxTextAttr
const *)arg1
)->GetLeftSubIndent();
7821 wxPyEndAllowThreads(__tstate
);
7822 if (PyErr_Occurred()) SWIG_fail
;
7824 resultobj
= SWIG_FromLong((long)result
);
7831 static PyObject
*_wrap_TextAttr_GetRightIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7832 PyObject
*resultobj
;
7833 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7835 PyObject
* obj0
= 0 ;
7837 (char *) "self", NULL
7840 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetRightIndent",kwnames
,&obj0
)) goto fail
;
7841 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7842 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7845 result
= (long)((wxTextAttr
const *)arg1
)->GetRightIndent();
7847 wxPyEndAllowThreads(__tstate
);
7848 if (PyErr_Occurred()) SWIG_fail
;
7850 resultobj
= SWIG_FromLong((long)result
);
7857 static PyObject
*_wrap_TextAttr_GetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7858 PyObject
*resultobj
;
7859 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7861 PyObject
* obj0
= 0 ;
7863 (char *) "self", NULL
7866 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetFlags",kwnames
,&obj0
)) goto fail
;
7867 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7868 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7871 result
= (long)((wxTextAttr
const *)arg1
)->GetFlags();
7873 wxPyEndAllowThreads(__tstate
);
7874 if (PyErr_Occurred()) SWIG_fail
;
7876 resultobj
= SWIG_FromLong((long)result
);
7883 static PyObject
*_wrap_TextAttr_IsDefault(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7884 PyObject
*resultobj
;
7885 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7887 PyObject
* obj0
= 0 ;
7889 (char *) "self", NULL
7892 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_IsDefault",kwnames
,&obj0
)) goto fail
;
7893 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7894 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7897 result
= (bool)((wxTextAttr
const *)arg1
)->IsDefault();
7899 wxPyEndAllowThreads(__tstate
);
7900 if (PyErr_Occurred()) SWIG_fail
;
7903 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7911 static PyObject
*_wrap_TextAttr_Combine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7912 PyObject
*resultobj
;
7913 wxTextAttr
*arg1
= 0 ;
7914 wxTextAttr
*arg2
= 0 ;
7915 wxTextCtrl
*arg3
= (wxTextCtrl
*) 0 ;
7917 PyObject
* obj0
= 0 ;
7918 PyObject
* obj1
= 0 ;
7919 PyObject
* obj2
= 0 ;
7921 (char *) "attr",(char *) "attrDef",(char *) "text", NULL
7924 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextAttr_Combine",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7925 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7926 SWIG_POINTER_EXCEPTION
| 0)) == -1)
7929 PyErr_SetString(PyExc_TypeError
,"null reference");
7932 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTextAttr
,
7933 SWIG_POINTER_EXCEPTION
| 0)) == -1)
7936 PyErr_SetString(PyExc_TypeError
,"null reference");
7939 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxTextCtrl
,
7940 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7943 result
= wxTextAttr::Combine((wxTextAttr
const &)*arg1
,(wxTextAttr
const &)*arg2
,(wxTextCtrl
const *)arg3
);
7945 wxPyEndAllowThreads(__tstate
);
7946 if (PyErr_Occurred()) SWIG_fail
;
7949 wxTextAttr
* resultptr
;
7950 resultptr
= new wxTextAttr((wxTextAttr
&) result
);
7951 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTextAttr
, 1);
7959 static PyObject
* TextAttr_swigregister(PyObject
*self
, PyObject
*args
) {
7961 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7962 SWIG_TypeClientData(SWIGTYPE_p_wxTextAttr
, obj
);
7964 return Py_BuildValue((char *)"");
7966 static PyObject
*_wrap_new_TextCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7967 PyObject
*resultobj
;
7968 wxWindow
*arg1
= (wxWindow
*) 0 ;
7969 int arg2
= (int) -1 ;
7970 wxString
const &arg3_defvalue
= wxPyEmptyString
;
7971 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
7972 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
7973 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
7974 wxSize
const &arg5_defvalue
= wxDefaultSize
;
7975 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
7976 long arg6
= (long) 0 ;
7977 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
7978 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
7979 wxString
const &arg8_defvalue
= wxPyTextCtrlNameStr
;
7980 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
7982 bool temp3
= False
;
7985 bool temp8
= False
;
7986 PyObject
* obj0
= 0 ;
7987 PyObject
* obj1
= 0 ;
7988 PyObject
* obj2
= 0 ;
7989 PyObject
* obj3
= 0 ;
7990 PyObject
* obj4
= 0 ;
7991 PyObject
* obj5
= 0 ;
7992 PyObject
* obj6
= 0 ;
7993 PyObject
* obj7
= 0 ;
7995 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
7998 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_TextCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
7999 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
8000 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8002 arg2
= (int) SWIG_AsInt(obj1
);
8003 if (PyErr_Occurred()) SWIG_fail
;
8007 arg3
= wxString_in_helper(obj2
);
8008 if (arg3
== NULL
) SWIG_fail
;
8015 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
8021 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
8025 arg6
= (long) SWIG_AsLong(obj5
);
8026 if (PyErr_Occurred()) SWIG_fail
;
8029 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
8030 SWIG_POINTER_EXCEPTION
| 0)) == -1)
8033 PyErr_SetString(PyExc_TypeError
,"null reference");
8039 arg8
= wxString_in_helper(obj7
);
8040 if (arg8
== NULL
) SWIG_fail
;
8045 if (!wxPyCheckForApp()) SWIG_fail
;
8046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8047 result
= (wxTextCtrl
*)new wxTextCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
8049 wxPyEndAllowThreads(__tstate
);
8050 if (PyErr_Occurred()) SWIG_fail
;
8053 resultobj
= wxPyMake_wxObject(result
);
8077 static PyObject
*_wrap_new_PreTextCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8078 PyObject
*resultobj
;
8084 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreTextCtrl",kwnames
)) goto fail
;
8086 if (!wxPyCheckForApp()) SWIG_fail
;
8087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8088 result
= (wxTextCtrl
*)new wxTextCtrl();
8090 wxPyEndAllowThreads(__tstate
);
8091 if (PyErr_Occurred()) SWIG_fail
;
8094 resultobj
= wxPyMake_wxObject(result
);
8102 static PyObject
*_wrap_TextCtrl_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8103 PyObject
*resultobj
;
8104 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8105 wxWindow
*arg2
= (wxWindow
*) 0 ;
8106 int arg3
= (int) -1 ;
8107 wxString
const &arg4_defvalue
= wxPyEmptyString
;
8108 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
8109 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
8110 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
8111 wxSize
const &arg6_defvalue
= wxDefaultSize
;
8112 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
8113 long arg7
= (long) 0 ;
8114 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
8115 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
8116 wxString
const &arg9_defvalue
= wxPyTextCtrlNameStr
;
8117 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
8119 bool temp4
= False
;
8122 bool temp9
= False
;
8123 PyObject
* obj0
= 0 ;
8124 PyObject
* obj1
= 0 ;
8125 PyObject
* obj2
= 0 ;
8126 PyObject
* obj3
= 0 ;
8127 PyObject
* obj4
= 0 ;
8128 PyObject
* obj5
= 0 ;
8129 PyObject
* obj6
= 0 ;
8130 PyObject
* obj7
= 0 ;
8131 PyObject
* obj8
= 0 ;
8133 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
8136 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:TextCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
8137 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8138 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8139 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
8140 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8142 arg3
= (int) SWIG_AsInt(obj2
);
8143 if (PyErr_Occurred()) SWIG_fail
;
8147 arg4
= wxString_in_helper(obj3
);
8148 if (arg4
== NULL
) SWIG_fail
;
8155 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
8161 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
8165 arg7
= (long) SWIG_AsLong(obj6
);
8166 if (PyErr_Occurred()) SWIG_fail
;
8169 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
8170 SWIG_POINTER_EXCEPTION
| 0)) == -1)
8173 PyErr_SetString(PyExc_TypeError
,"null reference");
8179 arg9
= wxString_in_helper(obj8
);
8180 if (arg9
== NULL
) SWIG_fail
;
8185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8186 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
8188 wxPyEndAllowThreads(__tstate
);
8189 if (PyErr_Occurred()) SWIG_fail
;
8192 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8216 static PyObject
*_wrap_TextCtrl_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8217 PyObject
*resultobj
;
8218 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8220 PyObject
* obj0
= 0 ;
8222 (char *) "self", NULL
8225 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetValue",kwnames
,&obj0
)) goto fail
;
8226 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8227 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8230 result
= ((wxTextCtrl
const *)arg1
)->GetValue();
8232 wxPyEndAllowThreads(__tstate
);
8233 if (PyErr_Occurred()) SWIG_fail
;
8237 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8239 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8248 static PyObject
*_wrap_TextCtrl_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8249 PyObject
*resultobj
;
8250 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8251 wxString
*arg2
= 0 ;
8252 bool temp2
= False
;
8253 PyObject
* obj0
= 0 ;
8254 PyObject
* obj1
= 0 ;
8256 (char *) "self",(char *) "value", NULL
8259 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
8260 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8261 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8263 arg2
= wxString_in_helper(obj1
);
8264 if (arg2
== NULL
) SWIG_fail
;
8268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8269 (arg1
)->SetValue((wxString
const &)*arg2
);
8271 wxPyEndAllowThreads(__tstate
);
8272 if (PyErr_Occurred()) SWIG_fail
;
8274 Py_INCREF(Py_None
); resultobj
= Py_None
;
8289 static PyObject
*_wrap_TextCtrl_GetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8290 PyObject
*resultobj
;
8291 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8295 PyObject
* obj0
= 0 ;
8296 PyObject
* obj1
= 0 ;
8297 PyObject
* obj2
= 0 ;
8299 (char *) "self",(char *) "from",(char *) "to", NULL
8302 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_GetRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8303 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8304 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8305 arg2
= (long) SWIG_AsLong(obj1
);
8306 if (PyErr_Occurred()) SWIG_fail
;
8307 arg3
= (long) SWIG_AsLong(obj2
);
8308 if (PyErr_Occurred()) SWIG_fail
;
8310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8311 result
= ((wxTextCtrl
const *)arg1
)->GetRange(arg2
,arg3
);
8313 wxPyEndAllowThreads(__tstate
);
8314 if (PyErr_Occurred()) SWIG_fail
;
8318 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8320 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8329 static PyObject
*_wrap_TextCtrl_GetLineLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8330 PyObject
*resultobj
;
8331 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8334 PyObject
* obj0
= 0 ;
8335 PyObject
* obj1
= 0 ;
8337 (char *) "self",(char *) "lineNo", NULL
8340 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_GetLineLength",kwnames
,&obj0
,&obj1
)) goto fail
;
8341 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8342 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8343 arg2
= (long) SWIG_AsLong(obj1
);
8344 if (PyErr_Occurred()) SWIG_fail
;
8346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8347 result
= (int)((wxTextCtrl
const *)arg1
)->GetLineLength(arg2
);
8349 wxPyEndAllowThreads(__tstate
);
8350 if (PyErr_Occurred()) SWIG_fail
;
8352 resultobj
= SWIG_FromInt((int)result
);
8359 static PyObject
*_wrap_TextCtrl_GetLineText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8360 PyObject
*resultobj
;
8361 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8364 PyObject
* obj0
= 0 ;
8365 PyObject
* obj1
= 0 ;
8367 (char *) "self",(char *) "lineNo", NULL
8370 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_GetLineText",kwnames
,&obj0
,&obj1
)) goto fail
;
8371 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8372 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8373 arg2
= (long) SWIG_AsLong(obj1
);
8374 if (PyErr_Occurred()) SWIG_fail
;
8376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8377 result
= ((wxTextCtrl
const *)arg1
)->GetLineText(arg2
);
8379 wxPyEndAllowThreads(__tstate
);
8380 if (PyErr_Occurred()) SWIG_fail
;
8384 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8386 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8395 static PyObject
*_wrap_TextCtrl_GetNumberOfLines(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8396 PyObject
*resultobj
;
8397 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8399 PyObject
* obj0
= 0 ;
8401 (char *) "self", NULL
8404 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetNumberOfLines",kwnames
,&obj0
)) goto fail
;
8405 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8406 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8409 result
= (int)((wxTextCtrl
const *)arg1
)->GetNumberOfLines();
8411 wxPyEndAllowThreads(__tstate
);
8412 if (PyErr_Occurred()) SWIG_fail
;
8414 resultobj
= SWIG_FromInt((int)result
);
8421 static PyObject
*_wrap_TextCtrl_IsModified(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8422 PyObject
*resultobj
;
8423 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8425 PyObject
* obj0
= 0 ;
8427 (char *) "self", NULL
8430 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_IsModified",kwnames
,&obj0
)) goto fail
;
8431 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8432 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8435 result
= (bool)((wxTextCtrl
const *)arg1
)->IsModified();
8437 wxPyEndAllowThreads(__tstate
);
8438 if (PyErr_Occurred()) SWIG_fail
;
8441 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8449 static PyObject
*_wrap_TextCtrl_IsEditable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8450 PyObject
*resultobj
;
8451 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8453 PyObject
* obj0
= 0 ;
8455 (char *) "self", NULL
8458 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_IsEditable",kwnames
,&obj0
)) goto fail
;
8459 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8460 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8463 result
= (bool)((wxTextCtrl
const *)arg1
)->IsEditable();
8465 wxPyEndAllowThreads(__tstate
);
8466 if (PyErr_Occurred()) SWIG_fail
;
8469 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8477 static PyObject
*_wrap_TextCtrl_IsSingleLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8478 PyObject
*resultobj
;
8479 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8481 PyObject
* obj0
= 0 ;
8483 (char *) "self", NULL
8486 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_IsSingleLine",kwnames
,&obj0
)) goto fail
;
8487 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8488 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8491 result
= (bool)((wxTextCtrl
const *)arg1
)->IsSingleLine();
8493 wxPyEndAllowThreads(__tstate
);
8494 if (PyErr_Occurred()) SWIG_fail
;
8497 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8505 static PyObject
*_wrap_TextCtrl_IsMultiLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8506 PyObject
*resultobj
;
8507 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8509 PyObject
* obj0
= 0 ;
8511 (char *) "self", NULL
8514 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_IsMultiLine",kwnames
,&obj0
)) goto fail
;
8515 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8516 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8519 result
= (bool)((wxTextCtrl
const *)arg1
)->IsMultiLine();
8521 wxPyEndAllowThreads(__tstate
);
8522 if (PyErr_Occurred()) SWIG_fail
;
8525 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8533 static PyObject
*_wrap_TextCtrl_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8534 PyObject
*resultobj
;
8535 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8536 long *arg2
= (long *) 0 ;
8537 long *arg3
= (long *) 0 ;
8540 PyObject
* obj0
= 0 ;
8542 (char *) "self", NULL
8547 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetSelection",kwnames
,&obj0
)) goto fail
;
8548 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8549 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8552 ((wxTextCtrl
const *)arg1
)->GetSelection(arg2
,arg3
);
8554 wxPyEndAllowThreads(__tstate
);
8555 if (PyErr_Occurred()) SWIG_fail
;
8557 Py_INCREF(Py_None
); resultobj
= Py_None
;
8559 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
8560 resultobj
= t_output_helper(resultobj
,o
);
8563 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
8564 resultobj
= t_output_helper(resultobj
,o
);
8572 static PyObject
*_wrap_TextCtrl_GetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8573 PyObject
*resultobj
;
8574 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8576 PyObject
* obj0
= 0 ;
8578 (char *) "self", NULL
8581 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetStringSelection",kwnames
,&obj0
)) goto fail
;
8582 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8583 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8586 result
= ((wxTextCtrl
const *)arg1
)->GetStringSelection();
8588 wxPyEndAllowThreads(__tstate
);
8589 if (PyErr_Occurred()) SWIG_fail
;
8593 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8595 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8604 static PyObject
*_wrap_TextCtrl_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8605 PyObject
*resultobj
;
8606 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8607 PyObject
* obj0
= 0 ;
8609 (char *) "self", NULL
8612 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Clear",kwnames
,&obj0
)) goto fail
;
8613 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8614 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8619 wxPyEndAllowThreads(__tstate
);
8620 if (PyErr_Occurred()) SWIG_fail
;
8622 Py_INCREF(Py_None
); resultobj
= Py_None
;
8629 static PyObject
*_wrap_TextCtrl_Replace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8630 PyObject
*resultobj
;
8631 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8634 wxString
*arg4
= 0 ;
8635 bool temp4
= False
;
8636 PyObject
* obj0
= 0 ;
8637 PyObject
* obj1
= 0 ;
8638 PyObject
* obj2
= 0 ;
8639 PyObject
* obj3
= 0 ;
8641 (char *) "self",(char *) "from",(char *) "to",(char *) "value", NULL
8644 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextCtrl_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
8645 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8646 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8647 arg2
= (long) SWIG_AsLong(obj1
);
8648 if (PyErr_Occurred()) SWIG_fail
;
8649 arg3
= (long) SWIG_AsLong(obj2
);
8650 if (PyErr_Occurred()) SWIG_fail
;
8652 arg4
= wxString_in_helper(obj3
);
8653 if (arg4
== NULL
) SWIG_fail
;
8657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8658 (arg1
)->Replace(arg2
,arg3
,(wxString
const &)*arg4
);
8660 wxPyEndAllowThreads(__tstate
);
8661 if (PyErr_Occurred()) SWIG_fail
;
8663 Py_INCREF(Py_None
); resultobj
= Py_None
;
8678 static PyObject
*_wrap_TextCtrl_Remove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8679 PyObject
*resultobj
;
8680 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8683 PyObject
* obj0
= 0 ;
8684 PyObject
* obj1
= 0 ;
8685 PyObject
* obj2
= 0 ;
8687 (char *) "self",(char *) "from",(char *) "to", NULL
8690 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_Remove",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8691 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8692 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8693 arg2
= (long) SWIG_AsLong(obj1
);
8694 if (PyErr_Occurred()) SWIG_fail
;
8695 arg3
= (long) SWIG_AsLong(obj2
);
8696 if (PyErr_Occurred()) SWIG_fail
;
8698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8699 (arg1
)->Remove(arg2
,arg3
);
8701 wxPyEndAllowThreads(__tstate
);
8702 if (PyErr_Occurred()) SWIG_fail
;
8704 Py_INCREF(Py_None
); resultobj
= Py_None
;
8711 static PyObject
*_wrap_TextCtrl_LoadFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8712 PyObject
*resultobj
;
8713 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8714 wxString
*arg2
= 0 ;
8716 bool temp2
= False
;
8717 PyObject
* obj0
= 0 ;
8718 PyObject
* obj1
= 0 ;
8720 (char *) "self",(char *) "file", NULL
8723 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_LoadFile",kwnames
,&obj0
,&obj1
)) goto fail
;
8724 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8725 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8727 arg2
= wxString_in_helper(obj1
);
8728 if (arg2
== NULL
) SWIG_fail
;
8732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8733 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
);
8735 wxPyEndAllowThreads(__tstate
);
8736 if (PyErr_Occurred()) SWIG_fail
;
8739 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8755 static PyObject
*_wrap_TextCtrl_SaveFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8756 PyObject
*resultobj
;
8757 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8758 wxString
const &arg2_defvalue
= wxPyEmptyString
;
8759 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
8761 bool temp2
= False
;
8762 PyObject
* obj0
= 0 ;
8763 PyObject
* obj1
= 0 ;
8765 (char *) "self",(char *) "file", NULL
8768 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TextCtrl_SaveFile",kwnames
,&obj0
,&obj1
)) goto fail
;
8769 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8770 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8773 arg2
= wxString_in_helper(obj1
);
8774 if (arg2
== NULL
) SWIG_fail
;
8779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8780 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
);
8782 wxPyEndAllowThreads(__tstate
);
8783 if (PyErr_Occurred()) SWIG_fail
;
8786 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8802 static PyObject
*_wrap_TextCtrl_MarkDirty(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8803 PyObject
*resultobj
;
8804 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8805 PyObject
* obj0
= 0 ;
8807 (char *) "self", NULL
8810 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_MarkDirty",kwnames
,&obj0
)) goto fail
;
8811 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8812 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8815 (arg1
)->MarkDirty();
8817 wxPyEndAllowThreads(__tstate
);
8818 if (PyErr_Occurred()) SWIG_fail
;
8820 Py_INCREF(Py_None
); resultobj
= Py_None
;
8827 static PyObject
*_wrap_TextCtrl_DiscardEdits(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8828 PyObject
*resultobj
;
8829 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8830 PyObject
* obj0
= 0 ;
8832 (char *) "self", NULL
8835 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_DiscardEdits",kwnames
,&obj0
)) goto fail
;
8836 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8837 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8840 (arg1
)->DiscardEdits();
8842 wxPyEndAllowThreads(__tstate
);
8843 if (PyErr_Occurred()) SWIG_fail
;
8845 Py_INCREF(Py_None
); resultobj
= Py_None
;
8852 static PyObject
*_wrap_TextCtrl_SetMaxLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8853 PyObject
*resultobj
;
8854 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8855 unsigned long arg2
;
8856 PyObject
* obj0
= 0 ;
8857 PyObject
* obj1
= 0 ;
8859 (char *) "self",(char *) "len", NULL
8862 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetMaxLength",kwnames
,&obj0
,&obj1
)) goto fail
;
8863 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8864 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8865 arg2
= (unsigned long) SWIG_AsUnsignedLong(obj1
);
8866 if (PyErr_Occurred()) SWIG_fail
;
8868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8869 (arg1
)->SetMaxLength(arg2
);
8871 wxPyEndAllowThreads(__tstate
);
8872 if (PyErr_Occurred()) SWIG_fail
;
8874 Py_INCREF(Py_None
); resultobj
= Py_None
;
8881 static PyObject
*_wrap_TextCtrl_WriteText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8882 PyObject
*resultobj
;
8883 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8884 wxString
*arg2
= 0 ;
8885 bool temp2
= False
;
8886 PyObject
* obj0
= 0 ;
8887 PyObject
* obj1
= 0 ;
8889 (char *) "self",(char *) "text", NULL
8892 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_WriteText",kwnames
,&obj0
,&obj1
)) goto fail
;
8893 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8894 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8896 arg2
= wxString_in_helper(obj1
);
8897 if (arg2
== NULL
) SWIG_fail
;
8901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8902 (arg1
)->WriteText((wxString
const &)*arg2
);
8904 wxPyEndAllowThreads(__tstate
);
8905 if (PyErr_Occurred()) SWIG_fail
;
8907 Py_INCREF(Py_None
); resultobj
= Py_None
;
8922 static PyObject
*_wrap_TextCtrl_AppendText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8923 PyObject
*resultobj
;
8924 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8925 wxString
*arg2
= 0 ;
8926 bool temp2
= False
;
8927 PyObject
* obj0
= 0 ;
8928 PyObject
* obj1
= 0 ;
8930 (char *) "self",(char *) "text", NULL
8933 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_AppendText",kwnames
,&obj0
,&obj1
)) goto fail
;
8934 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8935 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8937 arg2
= wxString_in_helper(obj1
);
8938 if (arg2
== NULL
) SWIG_fail
;
8942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8943 (arg1
)->AppendText((wxString
const &)*arg2
);
8945 wxPyEndAllowThreads(__tstate
);
8946 if (PyErr_Occurred()) SWIG_fail
;
8948 Py_INCREF(Py_None
); resultobj
= Py_None
;
8963 static PyObject
*_wrap_TextCtrl_EmulateKeyPress(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8964 PyObject
*resultobj
;
8965 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8966 wxKeyEvent
*arg2
= 0 ;
8968 PyObject
* obj0
= 0 ;
8969 PyObject
* obj1
= 0 ;
8971 (char *) "self",(char *) "event", NULL
8974 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_EmulateKeyPress",kwnames
,&obj0
,&obj1
)) goto fail
;
8975 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8976 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8977 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxKeyEvent
,
8978 SWIG_POINTER_EXCEPTION
| 0)) == -1)
8981 PyErr_SetString(PyExc_TypeError
,"null reference");
8985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8986 result
= (bool)(arg1
)->EmulateKeyPress((wxKeyEvent
const &)*arg2
);
8988 wxPyEndAllowThreads(__tstate
);
8989 if (PyErr_Occurred()) SWIG_fail
;
8992 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9000 static PyObject
*_wrap_TextCtrl_SetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9001 PyObject
*resultobj
;
9002 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9005 wxTextAttr
*arg4
= 0 ;
9007 PyObject
* obj0
= 0 ;
9008 PyObject
* obj1
= 0 ;
9009 PyObject
* obj2
= 0 ;
9010 PyObject
* obj3
= 0 ;
9012 (char *) "self",(char *) "start",(char *) "end",(char *) "style", NULL
9015 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextCtrl_SetStyle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9016 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9017 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9018 arg2
= (long) SWIG_AsLong(obj1
);
9019 if (PyErr_Occurred()) SWIG_fail
;
9020 arg3
= (long) SWIG_AsLong(obj2
);
9021 if (PyErr_Occurred()) SWIG_fail
;
9022 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxTextAttr
,
9023 SWIG_POINTER_EXCEPTION
| 0)) == -1)
9026 PyErr_SetString(PyExc_TypeError
,"null reference");
9030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9031 result
= (bool)(arg1
)->SetStyle(arg2
,arg3
,(wxTextAttr
const &)*arg4
);
9033 wxPyEndAllowThreads(__tstate
);
9034 if (PyErr_Occurred()) SWIG_fail
;
9037 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9045 static PyObject
*_wrap_TextCtrl_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9046 PyObject
*resultobj
;
9047 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9049 wxTextAttr
*arg3
= 0 ;
9051 PyObject
* obj0
= 0 ;
9052 PyObject
* obj1
= 0 ;
9053 PyObject
* obj2
= 0 ;
9055 (char *) "self",(char *) "position",(char *) "style", NULL
9058 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_GetStyle",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9059 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9060 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9061 arg2
= (long) SWIG_AsLong(obj1
);
9062 if (PyErr_Occurred()) SWIG_fail
;
9063 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxTextAttr
,
9064 SWIG_POINTER_EXCEPTION
| 0)) == -1)
9067 PyErr_SetString(PyExc_TypeError
,"null reference");
9071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9072 result
= (bool)(arg1
)->GetStyle(arg2
,*arg3
);
9074 wxPyEndAllowThreads(__tstate
);
9075 if (PyErr_Occurred()) SWIG_fail
;
9078 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9086 static PyObject
*_wrap_TextCtrl_SetDefaultStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9087 PyObject
*resultobj
;
9088 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9089 wxTextAttr
*arg2
= 0 ;
9091 PyObject
* obj0
= 0 ;
9092 PyObject
* obj1
= 0 ;
9094 (char *) "self",(char *) "style", NULL
9097 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetDefaultStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
9098 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9099 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9100 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTextAttr
,
9101 SWIG_POINTER_EXCEPTION
| 0)) == -1)
9104 PyErr_SetString(PyExc_TypeError
,"null reference");
9108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9109 result
= (bool)(arg1
)->SetDefaultStyle((wxTextAttr
const &)*arg2
);
9111 wxPyEndAllowThreads(__tstate
);
9112 if (PyErr_Occurred()) SWIG_fail
;
9115 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9123 static PyObject
*_wrap_TextCtrl_GetDefaultStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9124 PyObject
*resultobj
;
9125 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9127 PyObject
* obj0
= 0 ;
9129 (char *) "self", NULL
9132 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetDefaultStyle",kwnames
,&obj0
)) goto fail
;
9133 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9134 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9138 wxTextAttr
const &_result_ref
= ((wxTextCtrl
const *)arg1
)->GetDefaultStyle();
9139 result
= (wxTextAttr
*) &_result_ref
;
9142 wxPyEndAllowThreads(__tstate
);
9143 if (PyErr_Occurred()) SWIG_fail
;
9145 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextAttr
, 0);
9152 static PyObject
*_wrap_TextCtrl_XYToPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9153 PyObject
*resultobj
;
9154 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9158 PyObject
* obj0
= 0 ;
9159 PyObject
* obj1
= 0 ;
9160 PyObject
* obj2
= 0 ;
9162 (char *) "self",(char *) "x",(char *) "y", NULL
9165 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_XYToPosition",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9166 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9167 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9168 arg2
= (long) SWIG_AsLong(obj1
);
9169 if (PyErr_Occurred()) SWIG_fail
;
9170 arg3
= (long) SWIG_AsLong(obj2
);
9171 if (PyErr_Occurred()) SWIG_fail
;
9173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9174 result
= (long)((wxTextCtrl
const *)arg1
)->XYToPosition(arg2
,arg3
);
9176 wxPyEndAllowThreads(__tstate
);
9177 if (PyErr_Occurred()) SWIG_fail
;
9179 resultobj
= SWIG_FromLong((long)result
);
9186 static PyObject
*_wrap_TextCtrl_PositionToXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9187 PyObject
*resultobj
;
9188 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9190 long *arg3
= (long *) 0 ;
9191 long *arg4
= (long *) 0 ;
9194 PyObject
* obj0
= 0 ;
9195 PyObject
* obj1
= 0 ;
9197 (char *) "self",(char *) "pos", NULL
9202 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_PositionToXY",kwnames
,&obj0
,&obj1
)) goto fail
;
9203 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9204 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9205 arg2
= (long) SWIG_AsLong(obj1
);
9206 if (PyErr_Occurred()) SWIG_fail
;
9208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9209 ((wxTextCtrl
const *)arg1
)->PositionToXY(arg2
,arg3
,arg4
);
9211 wxPyEndAllowThreads(__tstate
);
9212 if (PyErr_Occurred()) SWIG_fail
;
9214 Py_INCREF(Py_None
); resultobj
= Py_None
;
9216 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
9217 resultobj
= t_output_helper(resultobj
,o
);
9220 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
9221 resultobj
= t_output_helper(resultobj
,o
);
9229 static PyObject
*_wrap_TextCtrl_ShowPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9230 PyObject
*resultobj
;
9231 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9233 PyObject
* obj0
= 0 ;
9234 PyObject
* obj1
= 0 ;
9236 (char *) "self",(char *) "pos", NULL
9239 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_ShowPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
9240 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9241 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9242 arg2
= (long) SWIG_AsLong(obj1
);
9243 if (PyErr_Occurred()) SWIG_fail
;
9245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9246 (arg1
)->ShowPosition(arg2
);
9248 wxPyEndAllowThreads(__tstate
);
9249 if (PyErr_Occurred()) SWIG_fail
;
9251 Py_INCREF(Py_None
); resultobj
= Py_None
;
9258 static PyObject
*_wrap_TextCtrl_HitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9259 PyObject
*resultobj
;
9260 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9262 long *arg3
= (long *) 0 ;
9263 long *arg4
= (long *) 0 ;
9268 PyObject
* obj0
= 0 ;
9269 PyObject
* obj1
= 0 ;
9271 (char *) "self",(char *) "pt", NULL
9276 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
9277 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9278 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9281 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
9284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9285 result
= (int)((wxTextCtrl
const *)arg1
)->HitTest((wxPoint
const &)*arg2
,arg3
,arg4
);
9287 wxPyEndAllowThreads(__tstate
);
9288 if (PyErr_Occurred()) SWIG_fail
;
9290 resultobj
= SWIG_FromInt((int)result
);
9292 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
9293 resultobj
= t_output_helper(resultobj
,o
);
9296 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
9297 resultobj
= t_output_helper(resultobj
,o
);
9305 static PyObject
*_wrap_TextCtrl_Copy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9306 PyObject
*resultobj
;
9307 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9308 PyObject
* obj0
= 0 ;
9310 (char *) "self", NULL
9313 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Copy",kwnames
,&obj0
)) goto fail
;
9314 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9315 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9320 wxPyEndAllowThreads(__tstate
);
9321 if (PyErr_Occurred()) SWIG_fail
;
9323 Py_INCREF(Py_None
); resultobj
= Py_None
;
9330 static PyObject
*_wrap_TextCtrl_Cut(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9331 PyObject
*resultobj
;
9332 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9333 PyObject
* obj0
= 0 ;
9335 (char *) "self", NULL
9338 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Cut",kwnames
,&obj0
)) goto fail
;
9339 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9340 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9345 wxPyEndAllowThreads(__tstate
);
9346 if (PyErr_Occurred()) SWIG_fail
;
9348 Py_INCREF(Py_None
); resultobj
= Py_None
;
9355 static PyObject
*_wrap_TextCtrl_Paste(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9356 PyObject
*resultobj
;
9357 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9358 PyObject
* obj0
= 0 ;
9360 (char *) "self", NULL
9363 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Paste",kwnames
,&obj0
)) goto fail
;
9364 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9365 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9370 wxPyEndAllowThreads(__tstate
);
9371 if (PyErr_Occurred()) SWIG_fail
;
9373 Py_INCREF(Py_None
); resultobj
= Py_None
;
9380 static PyObject
*_wrap_TextCtrl_CanCopy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9381 PyObject
*resultobj
;
9382 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9384 PyObject
* obj0
= 0 ;
9386 (char *) "self", NULL
9389 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanCopy",kwnames
,&obj0
)) goto fail
;
9390 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9391 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9394 result
= (bool)((wxTextCtrl
const *)arg1
)->CanCopy();
9396 wxPyEndAllowThreads(__tstate
);
9397 if (PyErr_Occurred()) SWIG_fail
;
9400 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9408 static PyObject
*_wrap_TextCtrl_CanCut(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9409 PyObject
*resultobj
;
9410 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9412 PyObject
* obj0
= 0 ;
9414 (char *) "self", NULL
9417 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanCut",kwnames
,&obj0
)) goto fail
;
9418 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9419 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9422 result
= (bool)((wxTextCtrl
const *)arg1
)->CanCut();
9424 wxPyEndAllowThreads(__tstate
);
9425 if (PyErr_Occurred()) SWIG_fail
;
9428 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9436 static PyObject
*_wrap_TextCtrl_CanPaste(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9437 PyObject
*resultobj
;
9438 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9440 PyObject
* obj0
= 0 ;
9442 (char *) "self", NULL
9445 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanPaste",kwnames
,&obj0
)) goto fail
;
9446 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9447 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9450 result
= (bool)((wxTextCtrl
const *)arg1
)->CanPaste();
9452 wxPyEndAllowThreads(__tstate
);
9453 if (PyErr_Occurred()) SWIG_fail
;
9456 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9464 static PyObject
*_wrap_TextCtrl_Undo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9465 PyObject
*resultobj
;
9466 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9467 PyObject
* obj0
= 0 ;
9469 (char *) "self", NULL
9472 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Undo",kwnames
,&obj0
)) goto fail
;
9473 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9474 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9479 wxPyEndAllowThreads(__tstate
);
9480 if (PyErr_Occurred()) SWIG_fail
;
9482 Py_INCREF(Py_None
); resultobj
= Py_None
;
9489 static PyObject
*_wrap_TextCtrl_Redo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9490 PyObject
*resultobj
;
9491 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9492 PyObject
* obj0
= 0 ;
9494 (char *) "self", NULL
9497 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Redo",kwnames
,&obj0
)) goto fail
;
9498 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9499 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9504 wxPyEndAllowThreads(__tstate
);
9505 if (PyErr_Occurred()) SWIG_fail
;
9507 Py_INCREF(Py_None
); resultobj
= Py_None
;
9514 static PyObject
*_wrap_TextCtrl_CanUndo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9515 PyObject
*resultobj
;
9516 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9518 PyObject
* obj0
= 0 ;
9520 (char *) "self", NULL
9523 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanUndo",kwnames
,&obj0
)) goto fail
;
9524 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9525 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9528 result
= (bool)((wxTextCtrl
const *)arg1
)->CanUndo();
9530 wxPyEndAllowThreads(__tstate
);
9531 if (PyErr_Occurred()) SWIG_fail
;
9534 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9542 static PyObject
*_wrap_TextCtrl_CanRedo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9543 PyObject
*resultobj
;
9544 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9546 PyObject
* obj0
= 0 ;
9548 (char *) "self", NULL
9551 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanRedo",kwnames
,&obj0
)) goto fail
;
9552 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9553 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9556 result
= (bool)((wxTextCtrl
const *)arg1
)->CanRedo();
9558 wxPyEndAllowThreads(__tstate
);
9559 if (PyErr_Occurred()) SWIG_fail
;
9562 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9570 static PyObject
*_wrap_TextCtrl_SetInsertionPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9571 PyObject
*resultobj
;
9572 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9574 PyObject
* obj0
= 0 ;
9575 PyObject
* obj1
= 0 ;
9577 (char *) "self",(char *) "pos", NULL
9580 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetInsertionPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
9581 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9582 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9583 arg2
= (long) SWIG_AsLong(obj1
);
9584 if (PyErr_Occurred()) SWIG_fail
;
9586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9587 (arg1
)->SetInsertionPoint(arg2
);
9589 wxPyEndAllowThreads(__tstate
);
9590 if (PyErr_Occurred()) SWIG_fail
;
9592 Py_INCREF(Py_None
); resultobj
= Py_None
;
9599 static PyObject
*_wrap_TextCtrl_SetInsertionPointEnd(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9600 PyObject
*resultobj
;
9601 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9602 PyObject
* obj0
= 0 ;
9604 (char *) "self", NULL
9607 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_SetInsertionPointEnd",kwnames
,&obj0
)) goto fail
;
9608 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9609 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9612 (arg1
)->SetInsertionPointEnd();
9614 wxPyEndAllowThreads(__tstate
);
9615 if (PyErr_Occurred()) SWIG_fail
;
9617 Py_INCREF(Py_None
); resultobj
= Py_None
;
9624 static PyObject
*_wrap_TextCtrl_GetInsertionPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9625 PyObject
*resultobj
;
9626 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9628 PyObject
* obj0
= 0 ;
9630 (char *) "self", NULL
9633 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetInsertionPoint",kwnames
,&obj0
)) goto fail
;
9634 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9635 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9638 result
= (long)((wxTextCtrl
const *)arg1
)->GetInsertionPoint();
9640 wxPyEndAllowThreads(__tstate
);
9641 if (PyErr_Occurred()) SWIG_fail
;
9643 resultobj
= SWIG_FromLong((long)result
);
9650 static PyObject
*_wrap_TextCtrl_GetLastPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9651 PyObject
*resultobj
;
9652 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9654 PyObject
* obj0
= 0 ;
9656 (char *) "self", NULL
9659 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetLastPosition",kwnames
,&obj0
)) goto fail
;
9660 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9661 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9664 result
= (long)((wxTextCtrl
const *)arg1
)->GetLastPosition();
9666 wxPyEndAllowThreads(__tstate
);
9667 if (PyErr_Occurred()) SWIG_fail
;
9669 resultobj
= SWIG_FromLong((long)result
);
9676 static PyObject
*_wrap_TextCtrl_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9677 PyObject
*resultobj
;
9678 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9681 PyObject
* obj0
= 0 ;
9682 PyObject
* obj1
= 0 ;
9683 PyObject
* obj2
= 0 ;
9685 (char *) "self",(char *) "from",(char *) "to", NULL
9688 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9689 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9690 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9691 arg2
= (long) SWIG_AsLong(obj1
);
9692 if (PyErr_Occurred()) SWIG_fail
;
9693 arg3
= (long) SWIG_AsLong(obj2
);
9694 if (PyErr_Occurred()) SWIG_fail
;
9696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9697 (arg1
)->SetSelection(arg2
,arg3
);
9699 wxPyEndAllowThreads(__tstate
);
9700 if (PyErr_Occurred()) SWIG_fail
;
9702 Py_INCREF(Py_None
); resultobj
= Py_None
;
9709 static PyObject
*_wrap_TextCtrl_SelectAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9710 PyObject
*resultobj
;
9711 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9712 PyObject
* obj0
= 0 ;
9714 (char *) "self", NULL
9717 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_SelectAll",kwnames
,&obj0
)) goto fail
;
9718 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9719 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9722 (arg1
)->SelectAll();
9724 wxPyEndAllowThreads(__tstate
);
9725 if (PyErr_Occurred()) SWIG_fail
;
9727 Py_INCREF(Py_None
); resultobj
= Py_None
;
9734 static PyObject
*_wrap_TextCtrl_SetEditable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9735 PyObject
*resultobj
;
9736 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9738 PyObject
* obj0
= 0 ;
9739 PyObject
* obj1
= 0 ;
9741 (char *) "self",(char *) "editable", NULL
9744 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetEditable",kwnames
,&obj0
,&obj1
)) goto fail
;
9745 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9746 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9747 arg2
= (bool) SWIG_AsBool(obj1
);
9748 if (PyErr_Occurred()) SWIG_fail
;
9750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9751 (arg1
)->SetEditable(arg2
);
9753 wxPyEndAllowThreads(__tstate
);
9754 if (PyErr_Occurred()) SWIG_fail
;
9756 Py_INCREF(Py_None
); resultobj
= Py_None
;
9763 static PyObject
*_wrap_TextCtrl_ShowNativeCaret(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9764 PyObject
*resultobj
;
9765 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9766 bool arg2
= (bool) True
;
9768 PyObject
* obj0
= 0 ;
9769 PyObject
* obj1
= 0 ;
9771 (char *) "self",(char *) "show", NULL
9774 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TextCtrl_ShowNativeCaret",kwnames
,&obj0
,&obj1
)) goto fail
;
9775 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9776 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9778 arg2
= (bool) SWIG_AsBool(obj1
);
9779 if (PyErr_Occurred()) SWIG_fail
;
9782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9783 result
= (bool)(arg1
)->ShowNativeCaret(arg2
);
9785 wxPyEndAllowThreads(__tstate
);
9786 if (PyErr_Occurred()) SWIG_fail
;
9789 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9797 static PyObject
*_wrap_TextCtrl_HideNativeCaret(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9798 PyObject
*resultobj
;
9799 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9801 PyObject
* obj0
= 0 ;
9803 (char *) "self", NULL
9806 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_HideNativeCaret",kwnames
,&obj0
)) goto fail
;
9807 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9808 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9811 result
= (bool)(arg1
)->HideNativeCaret();
9813 wxPyEndAllowThreads(__tstate
);
9814 if (PyErr_Occurred()) SWIG_fail
;
9817 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9825 static PyObject
*_wrap_TextCtrl_write(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9826 PyObject
*resultobj
;
9827 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9828 wxString
*arg2
= 0 ;
9829 bool temp2
= False
;
9830 PyObject
* obj0
= 0 ;
9831 PyObject
* obj1
= 0 ;
9833 (char *) "self",(char *) "text", NULL
9836 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_write",kwnames
,&obj0
,&obj1
)) goto fail
;
9837 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9838 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9840 arg2
= wxString_in_helper(obj1
);
9841 if (arg2
== NULL
) SWIG_fail
;
9845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9846 wxTextCtrl_write(arg1
,(wxString
const &)*arg2
);
9848 wxPyEndAllowThreads(__tstate
);
9849 if (PyErr_Occurred()) SWIG_fail
;
9851 Py_INCREF(Py_None
); resultobj
= Py_None
;
9866 static PyObject
*_wrap_TextCtrl_GetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9867 PyObject
*resultobj
;
9868 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9872 PyObject
* obj0
= 0 ;
9873 PyObject
* obj1
= 0 ;
9874 PyObject
* obj2
= 0 ;
9876 (char *) "self",(char *) "from",(char *) "to", NULL
9879 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_GetString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9880 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9881 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9882 arg2
= (long) SWIG_AsLong(obj1
);
9883 if (PyErr_Occurred()) SWIG_fail
;
9884 arg3
= (long) SWIG_AsLong(obj2
);
9885 if (PyErr_Occurred()) SWIG_fail
;
9887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9888 result
= wxTextCtrl_GetString(arg1
,arg2
,arg3
);
9890 wxPyEndAllowThreads(__tstate
);
9891 if (PyErr_Occurred()) SWIG_fail
;
9895 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9897 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9906 static PyObject
*_wrap_TextCtrl_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9907 PyObject
*resultobj
;
9908 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
9909 wxVisualAttributes result
;
9910 PyObject
* obj0
= 0 ;
9912 (char *) "variant", NULL
9915 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:TextCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
9917 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
9918 if (PyErr_Occurred()) SWIG_fail
;
9921 if (!wxPyCheckForApp()) SWIG_fail
;
9922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9923 result
= wxTextCtrl::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
9925 wxPyEndAllowThreads(__tstate
);
9926 if (PyErr_Occurred()) SWIG_fail
;
9929 wxVisualAttributes
* resultptr
;
9930 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
9931 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
9939 static PyObject
* TextCtrl_swigregister(PyObject
*self
, PyObject
*args
) {
9941 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9942 SWIG_TypeClientData(SWIGTYPE_p_wxTextCtrl
, obj
);
9944 return Py_BuildValue((char *)"");
9946 static PyObject
*_wrap_new_TextUrlEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9947 PyObject
*resultobj
;
9949 wxMouseEvent
*arg2
= 0 ;
9952 wxTextUrlEvent
*result
;
9953 PyObject
* obj0
= 0 ;
9954 PyObject
* obj1
= 0 ;
9955 PyObject
* obj2
= 0 ;
9956 PyObject
* obj3
= 0 ;
9958 (char *) "winid",(char *) "evtMouse",(char *) "start",(char *) "end", NULL
9961 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_TextUrlEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9962 arg1
= (int) SWIG_AsInt(obj0
);
9963 if (PyErr_Occurred()) SWIG_fail
;
9964 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMouseEvent
,
9965 SWIG_POINTER_EXCEPTION
| 0)) == -1)
9968 PyErr_SetString(PyExc_TypeError
,"null reference");
9971 arg3
= (long) SWIG_AsLong(obj2
);
9972 if (PyErr_Occurred()) SWIG_fail
;
9973 arg4
= (long) SWIG_AsLong(obj3
);
9974 if (PyErr_Occurred()) SWIG_fail
;
9976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9977 result
= (wxTextUrlEvent
*)new wxTextUrlEvent(arg1
,(wxMouseEvent
const &)*arg2
,arg3
,arg4
);
9979 wxPyEndAllowThreads(__tstate
);
9980 if (PyErr_Occurred()) SWIG_fail
;
9982 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextUrlEvent
, 1);
9989 static PyObject
*_wrap_TextUrlEvent_GetMouseEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9990 PyObject
*resultobj
;
9991 wxTextUrlEvent
*arg1
= (wxTextUrlEvent
*) 0 ;
9992 wxMouseEvent
*result
;
9993 PyObject
* obj0
= 0 ;
9995 (char *) "self", NULL
9998 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextUrlEvent_GetMouseEvent",kwnames
,&obj0
)) goto fail
;
9999 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextUrlEvent
,
10000 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10004 wxMouseEvent
const &_result_ref
= (arg1
)->GetMouseEvent();
10005 result
= (wxMouseEvent
*) &_result_ref
;
10008 wxPyEndAllowThreads(__tstate
);
10009 if (PyErr_Occurred()) SWIG_fail
;
10011 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMouseEvent
, 0);
10018 static PyObject
*_wrap_TextUrlEvent_GetURLStart(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10019 PyObject
*resultobj
;
10020 wxTextUrlEvent
*arg1
= (wxTextUrlEvent
*) 0 ;
10022 PyObject
* obj0
= 0 ;
10023 char *kwnames
[] = {
10024 (char *) "self", NULL
10027 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextUrlEvent_GetURLStart",kwnames
,&obj0
)) goto fail
;
10028 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextUrlEvent
,
10029 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10032 result
= (long)((wxTextUrlEvent
const *)arg1
)->GetURLStart();
10034 wxPyEndAllowThreads(__tstate
);
10035 if (PyErr_Occurred()) SWIG_fail
;
10037 resultobj
= SWIG_FromLong((long)result
);
10044 static PyObject
*_wrap_TextUrlEvent_GetURLEnd(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10045 PyObject
*resultobj
;
10046 wxTextUrlEvent
*arg1
= (wxTextUrlEvent
*) 0 ;
10048 PyObject
* obj0
= 0 ;
10049 char *kwnames
[] = {
10050 (char *) "self", NULL
10053 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextUrlEvent_GetURLEnd",kwnames
,&obj0
)) goto fail
;
10054 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextUrlEvent
,
10055 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10058 result
= (long)((wxTextUrlEvent
const *)arg1
)->GetURLEnd();
10060 wxPyEndAllowThreads(__tstate
);
10061 if (PyErr_Occurred()) SWIG_fail
;
10063 resultobj
= SWIG_FromLong((long)result
);
10070 static PyObject
* TextUrlEvent_swigregister(PyObject
*self
, PyObject
*args
) {
10072 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10073 SWIG_TypeClientData(SWIGTYPE_p_wxTextUrlEvent
, obj
);
10075 return Py_BuildValue((char *)"");
10077 static int _wrap_ScrollBarNameStr_set(PyObject
*_val
) {
10078 PyErr_SetString(PyExc_TypeError
,"Variable ScrollBarNameStr is read-only.");
10083 static PyObject
*_wrap_ScrollBarNameStr_get() {
10088 pyobj
= PyUnicode_FromWideChar((&wxPyScrollBarNameStr
)->c_str(), (&wxPyScrollBarNameStr
)->Len());
10090 pyobj
= PyString_FromStringAndSize((&wxPyScrollBarNameStr
)->c_str(), (&wxPyScrollBarNameStr
)->Len());
10097 static PyObject
*_wrap_new_ScrollBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10098 PyObject
*resultobj
;
10099 wxWindow
*arg1
= (wxWindow
*) 0 ;
10100 int arg2
= (int) -1 ;
10101 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
10102 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
10103 wxSize
const &arg4_defvalue
= wxDefaultSize
;
10104 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
10105 long arg5
= (long) wxSB_HORIZONTAL
;
10106 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
10107 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
10108 wxString
const &arg7_defvalue
= wxPyScrollBarNameStr
;
10109 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
10110 wxScrollBar
*result
;
10113 bool temp7
= False
;
10114 PyObject
* obj0
= 0 ;
10115 PyObject
* obj1
= 0 ;
10116 PyObject
* obj2
= 0 ;
10117 PyObject
* obj3
= 0 ;
10118 PyObject
* obj4
= 0 ;
10119 PyObject
* obj5
= 0 ;
10120 PyObject
* obj6
= 0 ;
10121 char *kwnames
[] = {
10122 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
10125 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_ScrollBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
10126 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
10127 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10129 arg2
= (int) SWIG_AsInt(obj1
);
10130 if (PyErr_Occurred()) SWIG_fail
;
10135 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
10141 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
10145 arg5
= (long) SWIG_AsLong(obj4
);
10146 if (PyErr_Occurred()) SWIG_fail
;
10149 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxValidator
,
10150 SWIG_POINTER_EXCEPTION
| 0)) == -1)
10152 if (arg6
== NULL
) {
10153 PyErr_SetString(PyExc_TypeError
,"null reference");
10159 arg7
= wxString_in_helper(obj6
);
10160 if (arg7
== NULL
) SWIG_fail
;
10165 if (!wxPyCheckForApp()) SWIG_fail
;
10166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10167 result
= (wxScrollBar
*)new wxScrollBar(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
10169 wxPyEndAllowThreads(__tstate
);
10170 if (PyErr_Occurred()) SWIG_fail
;
10172 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScrollBar
, 1);
10187 static PyObject
*_wrap_new_PreScrollBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10188 PyObject
*resultobj
;
10189 wxScrollBar
*result
;
10190 char *kwnames
[] = {
10194 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreScrollBar",kwnames
)) goto fail
;
10196 if (!wxPyCheckForApp()) SWIG_fail
;
10197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10198 result
= (wxScrollBar
*)new wxScrollBar();
10200 wxPyEndAllowThreads(__tstate
);
10201 if (PyErr_Occurred()) SWIG_fail
;
10203 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScrollBar
, 1);
10210 static PyObject
*_wrap_ScrollBar_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10211 PyObject
*resultobj
;
10212 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
10213 wxWindow
*arg2
= (wxWindow
*) 0 ;
10214 int arg3
= (int) -1 ;
10215 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
10216 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
10217 wxSize
const &arg5_defvalue
= wxDefaultSize
;
10218 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
10219 long arg6
= (long) wxSB_HORIZONTAL
;
10220 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
10221 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
10222 wxString
const &arg8_defvalue
= wxPyScrollBarNameStr
;
10223 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
10227 bool temp8
= False
;
10228 PyObject
* obj0
= 0 ;
10229 PyObject
* obj1
= 0 ;
10230 PyObject
* obj2
= 0 ;
10231 PyObject
* obj3
= 0 ;
10232 PyObject
* obj4
= 0 ;
10233 PyObject
* obj5
= 0 ;
10234 PyObject
* obj6
= 0 ;
10235 PyObject
* obj7
= 0 ;
10236 char *kwnames
[] = {
10237 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
10240 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:ScrollBar_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
10241 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollBar
,
10242 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10243 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
10244 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10246 arg3
= (int) SWIG_AsInt(obj2
);
10247 if (PyErr_Occurred()) SWIG_fail
;
10252 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
10258 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
10262 arg6
= (long) SWIG_AsLong(obj5
);
10263 if (PyErr_Occurred()) SWIG_fail
;
10266 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
10267 SWIG_POINTER_EXCEPTION
| 0)) == -1)
10269 if (arg7
== NULL
) {
10270 PyErr_SetString(PyExc_TypeError
,"null reference");
10276 arg8
= wxString_in_helper(obj7
);
10277 if (arg8
== NULL
) SWIG_fail
;
10282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10283 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
10285 wxPyEndAllowThreads(__tstate
);
10286 if (PyErr_Occurred()) SWIG_fail
;
10289 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10305 static PyObject
*_wrap_ScrollBar_GetThumbPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10306 PyObject
*resultobj
;
10307 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
10309 PyObject
* obj0
= 0 ;
10310 char *kwnames
[] = {
10311 (char *) "self", NULL
10314 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_GetThumbPosition",kwnames
,&obj0
)) goto fail
;
10315 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollBar
,
10316 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10319 result
= (int)((wxScrollBar
const *)arg1
)->GetThumbPosition();
10321 wxPyEndAllowThreads(__tstate
);
10322 if (PyErr_Occurred()) SWIG_fail
;
10324 resultobj
= SWIG_FromInt((int)result
);
10331 static PyObject
*_wrap_ScrollBar_GetThumbSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10332 PyObject
*resultobj
;
10333 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
10335 PyObject
* obj0
= 0 ;
10336 char *kwnames
[] = {
10337 (char *) "self", NULL
10340 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_GetThumbSize",kwnames
,&obj0
)) goto fail
;
10341 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollBar
,
10342 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10345 result
= (int)((wxScrollBar
const *)arg1
)->GetThumbSize();
10347 wxPyEndAllowThreads(__tstate
);
10348 if (PyErr_Occurred()) SWIG_fail
;
10350 resultobj
= SWIG_FromInt((int)result
);
10357 static PyObject
*_wrap_ScrollBar_GetPageSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10358 PyObject
*resultobj
;
10359 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
10361 PyObject
* obj0
= 0 ;
10362 char *kwnames
[] = {
10363 (char *) "self", NULL
10366 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_GetPageSize",kwnames
,&obj0
)) goto fail
;
10367 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollBar
,
10368 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10371 result
= (int)((wxScrollBar
const *)arg1
)->GetPageSize();
10373 wxPyEndAllowThreads(__tstate
);
10374 if (PyErr_Occurred()) SWIG_fail
;
10376 resultobj
= SWIG_FromInt((int)result
);
10383 static PyObject
*_wrap_ScrollBar_GetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10384 PyObject
*resultobj
;
10385 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
10387 PyObject
* obj0
= 0 ;
10388 char *kwnames
[] = {
10389 (char *) "self", NULL
10392 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_GetRange",kwnames
,&obj0
)) goto fail
;
10393 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollBar
,
10394 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10397 result
= (int)((wxScrollBar
const *)arg1
)->GetRange();
10399 wxPyEndAllowThreads(__tstate
);
10400 if (PyErr_Occurred()) SWIG_fail
;
10402 resultobj
= SWIG_FromInt((int)result
);
10409 static PyObject
*_wrap_ScrollBar_IsVertical(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10410 PyObject
*resultobj
;
10411 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
10413 PyObject
* obj0
= 0 ;
10414 char *kwnames
[] = {
10415 (char *) "self", NULL
10418 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_IsVertical",kwnames
,&obj0
)) goto fail
;
10419 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollBar
,
10420 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10423 result
= (bool)((wxScrollBar
const *)arg1
)->IsVertical();
10425 wxPyEndAllowThreads(__tstate
);
10426 if (PyErr_Occurred()) SWIG_fail
;
10429 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10437 static PyObject
*_wrap_ScrollBar_SetThumbPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10438 PyObject
*resultobj
;
10439 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
10441 PyObject
* obj0
= 0 ;
10442 PyObject
* obj1
= 0 ;
10443 char *kwnames
[] = {
10444 (char *) "self",(char *) "viewStart", NULL
10447 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollBar_SetThumbPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
10448 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollBar
,
10449 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10450 arg2
= (int) SWIG_AsInt(obj1
);
10451 if (PyErr_Occurred()) SWIG_fail
;
10453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10454 (arg1
)->SetThumbPosition(arg2
);
10456 wxPyEndAllowThreads(__tstate
);
10457 if (PyErr_Occurred()) SWIG_fail
;
10459 Py_INCREF(Py_None
); resultobj
= Py_None
;
10466 static PyObject
*_wrap_ScrollBar_SetScrollbar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10467 PyObject
*resultobj
;
10468 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
10473 bool arg6
= (bool) True
;
10474 PyObject
* obj0
= 0 ;
10475 PyObject
* obj1
= 0 ;
10476 PyObject
* obj2
= 0 ;
10477 PyObject
* obj3
= 0 ;
10478 PyObject
* obj4
= 0 ;
10479 PyObject
* obj5
= 0 ;
10480 char *kwnames
[] = {
10481 (char *) "self",(char *) "position",(char *) "thumbSize",(char *) "range",(char *) "pageSize",(char *) "refresh", NULL
10484 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:ScrollBar_SetScrollbar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
10485 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollBar
,
10486 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10487 arg2
= (int) SWIG_AsInt(obj1
);
10488 if (PyErr_Occurred()) SWIG_fail
;
10489 arg3
= (int) SWIG_AsInt(obj2
);
10490 if (PyErr_Occurred()) SWIG_fail
;
10491 arg4
= (int) SWIG_AsInt(obj3
);
10492 if (PyErr_Occurred()) SWIG_fail
;
10493 arg5
= (int) SWIG_AsInt(obj4
);
10494 if (PyErr_Occurred()) SWIG_fail
;
10496 arg6
= (bool) SWIG_AsBool(obj5
);
10497 if (PyErr_Occurred()) SWIG_fail
;
10500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10501 (arg1
)->SetScrollbar(arg2
,arg3
,arg4
,arg5
,arg6
);
10503 wxPyEndAllowThreads(__tstate
);
10504 if (PyErr_Occurred()) SWIG_fail
;
10506 Py_INCREF(Py_None
); resultobj
= Py_None
;
10513 static PyObject
*_wrap_ScrollBar_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10514 PyObject
*resultobj
;
10515 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
10516 wxVisualAttributes result
;
10517 PyObject
* obj0
= 0 ;
10518 char *kwnames
[] = {
10519 (char *) "variant", NULL
10522 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ScrollBar_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
10524 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
10525 if (PyErr_Occurred()) SWIG_fail
;
10528 if (!wxPyCheckForApp()) SWIG_fail
;
10529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10530 result
= wxScrollBar::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
10532 wxPyEndAllowThreads(__tstate
);
10533 if (PyErr_Occurred()) SWIG_fail
;
10536 wxVisualAttributes
* resultptr
;
10537 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
10538 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
10546 static PyObject
* ScrollBar_swigregister(PyObject
*self
, PyObject
*args
) {
10548 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10549 SWIG_TypeClientData(SWIGTYPE_p_wxScrollBar
, obj
);
10551 return Py_BuildValue((char *)"");
10553 static int _wrap_SPIN_BUTTON_NAME_set(PyObject
*_val
) {
10554 PyErr_SetString(PyExc_TypeError
,"Variable SPIN_BUTTON_NAME is read-only.");
10559 static PyObject
*_wrap_SPIN_BUTTON_NAME_get() {
10564 pyobj
= PyUnicode_FromWideChar((&wxPySPIN_BUTTON_NAME
)->c_str(), (&wxPySPIN_BUTTON_NAME
)->Len());
10566 pyobj
= PyString_FromStringAndSize((&wxPySPIN_BUTTON_NAME
)->c_str(), (&wxPySPIN_BUTTON_NAME
)->Len());
10573 static int _wrap_SpinCtrlNameStr_set(PyObject
*_val
) {
10574 PyErr_SetString(PyExc_TypeError
,"Variable SpinCtrlNameStr is read-only.");
10579 static PyObject
*_wrap_SpinCtrlNameStr_get() {
10584 pyobj
= PyUnicode_FromWideChar((&wxPySpinCtrlNameStr
)->c_str(), (&wxPySpinCtrlNameStr
)->Len());
10586 pyobj
= PyString_FromStringAndSize((&wxPySpinCtrlNameStr
)->c_str(), (&wxPySpinCtrlNameStr
)->Len());
10593 static PyObject
*_wrap_new_SpinButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10594 PyObject
*resultobj
;
10595 wxWindow
*arg1
= (wxWindow
*) 0 ;
10596 int arg2
= (int) -1 ;
10597 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
10598 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
10599 wxSize
const &arg4_defvalue
= wxDefaultSize
;
10600 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
10601 long arg5
= (long) wxSP_HORIZONTAL
;
10602 wxString
const &arg6_defvalue
= wxPySPIN_BUTTON_NAME
;
10603 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
10604 wxSpinButton
*result
;
10607 bool temp6
= False
;
10608 PyObject
* obj0
= 0 ;
10609 PyObject
* obj1
= 0 ;
10610 PyObject
* obj2
= 0 ;
10611 PyObject
* obj3
= 0 ;
10612 PyObject
* obj4
= 0 ;
10613 PyObject
* obj5
= 0 ;
10614 char *kwnames
[] = {
10615 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10618 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_SpinButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
10619 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
10620 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10622 arg2
= (int) SWIG_AsInt(obj1
);
10623 if (PyErr_Occurred()) SWIG_fail
;
10628 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
10634 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
10638 arg5
= (long) SWIG_AsLong(obj4
);
10639 if (PyErr_Occurred()) SWIG_fail
;
10643 arg6
= wxString_in_helper(obj5
);
10644 if (arg6
== NULL
) SWIG_fail
;
10649 if (!wxPyCheckForApp()) SWIG_fail
;
10650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10651 result
= (wxSpinButton
*)new wxSpinButton(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
10653 wxPyEndAllowThreads(__tstate
);
10654 if (PyErr_Occurred()) SWIG_fail
;
10656 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSpinButton
, 1);
10671 static PyObject
*_wrap_new_PreSpinButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10672 PyObject
*resultobj
;
10673 wxSpinButton
*result
;
10674 char *kwnames
[] = {
10678 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSpinButton",kwnames
)) goto fail
;
10680 if (!wxPyCheckForApp()) SWIG_fail
;
10681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10682 result
= (wxSpinButton
*)new wxSpinButton();
10684 wxPyEndAllowThreads(__tstate
);
10685 if (PyErr_Occurred()) SWIG_fail
;
10687 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSpinButton
, 1);
10694 static PyObject
*_wrap_SpinButton_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10695 PyObject
*resultobj
;
10696 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
10697 wxWindow
*arg2
= (wxWindow
*) 0 ;
10698 int arg3
= (int) -1 ;
10699 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
10700 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
10701 wxSize
const &arg5_defvalue
= wxDefaultSize
;
10702 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
10703 long arg6
= (long) wxSP_HORIZONTAL
;
10704 wxString
const &arg7_defvalue
= wxPySPIN_BUTTON_NAME
;
10705 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
10709 bool temp7
= False
;
10710 PyObject
* obj0
= 0 ;
10711 PyObject
* obj1
= 0 ;
10712 PyObject
* obj2
= 0 ;
10713 PyObject
* obj3
= 0 ;
10714 PyObject
* obj4
= 0 ;
10715 PyObject
* obj5
= 0 ;
10716 PyObject
* obj6
= 0 ;
10717 char *kwnames
[] = {
10718 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10721 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:SpinButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
10722 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinButton
,
10723 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10724 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
10725 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10727 arg3
= (int) SWIG_AsInt(obj2
);
10728 if (PyErr_Occurred()) SWIG_fail
;
10733 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
10739 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
10743 arg6
= (long) SWIG_AsLong(obj5
);
10744 if (PyErr_Occurred()) SWIG_fail
;
10748 arg7
= wxString_in_helper(obj6
);
10749 if (arg7
== NULL
) SWIG_fail
;
10754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10755 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
10757 wxPyEndAllowThreads(__tstate
);
10758 if (PyErr_Occurred()) SWIG_fail
;
10761 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10777 static PyObject
*_wrap_SpinButton_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10778 PyObject
*resultobj
;
10779 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
10781 PyObject
* obj0
= 0 ;
10782 char *kwnames
[] = {
10783 (char *) "self", NULL
10786 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinButton_GetValue",kwnames
,&obj0
)) goto fail
;
10787 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinButton
,
10788 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10791 result
= (int)((wxSpinButton
const *)arg1
)->GetValue();
10793 wxPyEndAllowThreads(__tstate
);
10794 if (PyErr_Occurred()) SWIG_fail
;
10796 resultobj
= SWIG_FromInt((int)result
);
10803 static PyObject
*_wrap_SpinButton_GetMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10804 PyObject
*resultobj
;
10805 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
10807 PyObject
* obj0
= 0 ;
10808 char *kwnames
[] = {
10809 (char *) "self", NULL
10812 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinButton_GetMin",kwnames
,&obj0
)) goto fail
;
10813 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinButton
,
10814 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10817 result
= (int)((wxSpinButton
const *)arg1
)->GetMin();
10819 wxPyEndAllowThreads(__tstate
);
10820 if (PyErr_Occurred()) SWIG_fail
;
10822 resultobj
= SWIG_FromInt((int)result
);
10829 static PyObject
*_wrap_SpinButton_GetMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10830 PyObject
*resultobj
;
10831 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
10833 PyObject
* obj0
= 0 ;
10834 char *kwnames
[] = {
10835 (char *) "self", NULL
10838 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinButton_GetMax",kwnames
,&obj0
)) goto fail
;
10839 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinButton
,
10840 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10843 result
= (int)((wxSpinButton
const *)arg1
)->GetMax();
10845 wxPyEndAllowThreads(__tstate
);
10846 if (PyErr_Occurred()) SWIG_fail
;
10848 resultobj
= SWIG_FromInt((int)result
);
10855 static PyObject
*_wrap_SpinButton_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10856 PyObject
*resultobj
;
10857 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
10859 PyObject
* obj0
= 0 ;
10860 PyObject
* obj1
= 0 ;
10861 char *kwnames
[] = {
10862 (char *) "self",(char *) "val", NULL
10865 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinButton_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
10866 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinButton
,
10867 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10868 arg2
= (int) SWIG_AsInt(obj1
);
10869 if (PyErr_Occurred()) SWIG_fail
;
10871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10872 (arg1
)->SetValue(arg2
);
10874 wxPyEndAllowThreads(__tstate
);
10875 if (PyErr_Occurred()) SWIG_fail
;
10877 Py_INCREF(Py_None
); resultobj
= Py_None
;
10884 static PyObject
*_wrap_SpinButton_SetMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10885 PyObject
*resultobj
;
10886 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
10888 PyObject
* obj0
= 0 ;
10889 PyObject
* obj1
= 0 ;
10890 char *kwnames
[] = {
10891 (char *) "self",(char *) "minVal", NULL
10894 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinButton_SetMin",kwnames
,&obj0
,&obj1
)) goto fail
;
10895 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinButton
,
10896 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10897 arg2
= (int) SWIG_AsInt(obj1
);
10898 if (PyErr_Occurred()) SWIG_fail
;
10900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10901 (arg1
)->SetMin(arg2
);
10903 wxPyEndAllowThreads(__tstate
);
10904 if (PyErr_Occurred()) SWIG_fail
;
10906 Py_INCREF(Py_None
); resultobj
= Py_None
;
10913 static PyObject
*_wrap_SpinButton_SetMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10914 PyObject
*resultobj
;
10915 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
10917 PyObject
* obj0
= 0 ;
10918 PyObject
* obj1
= 0 ;
10919 char *kwnames
[] = {
10920 (char *) "self",(char *) "maxVal", NULL
10923 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinButton_SetMax",kwnames
,&obj0
,&obj1
)) goto fail
;
10924 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinButton
,
10925 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10926 arg2
= (int) SWIG_AsInt(obj1
);
10927 if (PyErr_Occurred()) SWIG_fail
;
10929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10930 (arg1
)->SetMax(arg2
);
10932 wxPyEndAllowThreads(__tstate
);
10933 if (PyErr_Occurred()) SWIG_fail
;
10935 Py_INCREF(Py_None
); resultobj
= Py_None
;
10942 static PyObject
*_wrap_SpinButton_SetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10943 PyObject
*resultobj
;
10944 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
10947 PyObject
* obj0
= 0 ;
10948 PyObject
* obj1
= 0 ;
10949 PyObject
* obj2
= 0 ;
10950 char *kwnames
[] = {
10951 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
10954 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SpinButton_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10955 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinButton
,
10956 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10957 arg2
= (int) SWIG_AsInt(obj1
);
10958 if (PyErr_Occurred()) SWIG_fail
;
10959 arg3
= (int) SWIG_AsInt(obj2
);
10960 if (PyErr_Occurred()) SWIG_fail
;
10962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10963 (arg1
)->SetRange(arg2
,arg3
);
10965 wxPyEndAllowThreads(__tstate
);
10966 if (PyErr_Occurred()) SWIG_fail
;
10968 Py_INCREF(Py_None
); resultobj
= Py_None
;
10975 static PyObject
*_wrap_SpinButton_IsVertical(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10976 PyObject
*resultobj
;
10977 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
10979 PyObject
* obj0
= 0 ;
10980 char *kwnames
[] = {
10981 (char *) "self", NULL
10984 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinButton_IsVertical",kwnames
,&obj0
)) goto fail
;
10985 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinButton
,
10986 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10989 result
= (bool)((wxSpinButton
const *)arg1
)->IsVertical();
10991 wxPyEndAllowThreads(__tstate
);
10992 if (PyErr_Occurred()) SWIG_fail
;
10995 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11003 static PyObject
*_wrap_SpinButton_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11004 PyObject
*resultobj
;
11005 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
11006 wxVisualAttributes result
;
11007 PyObject
* obj0
= 0 ;
11008 char *kwnames
[] = {
11009 (char *) "variant", NULL
11012 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:SpinButton_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
11014 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
11015 if (PyErr_Occurred()) SWIG_fail
;
11018 if (!wxPyCheckForApp()) SWIG_fail
;
11019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11020 result
= wxSpinButton::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
11022 wxPyEndAllowThreads(__tstate
);
11023 if (PyErr_Occurred()) SWIG_fail
;
11026 wxVisualAttributes
* resultptr
;
11027 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
11028 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
11036 static PyObject
* SpinButton_swigregister(PyObject
*self
, PyObject
*args
) {
11038 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11039 SWIG_TypeClientData(SWIGTYPE_p_wxSpinButton
, obj
);
11041 return Py_BuildValue((char *)"");
11043 static PyObject
*_wrap_new_SpinCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11044 PyObject
*resultobj
;
11045 wxWindow
*arg1
= (wxWindow
*) 0 ;
11046 int arg2
= (int) -1 ;
11047 wxString
const &arg3_defvalue
= wxPyEmptyString
;
11048 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
11049 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
11050 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
11051 wxSize
const &arg5_defvalue
= wxDefaultSize
;
11052 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
11053 long arg6
= (long) wxSP_ARROW_KEYS
;
11054 int arg7
= (int) 0 ;
11055 int arg8
= (int) 100 ;
11056 int arg9
= (int) 0 ;
11057 wxString
const &arg10_defvalue
= wxPySpinCtrlNameStr
;
11058 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
11059 wxSpinCtrl
*result
;
11060 bool temp3
= False
;
11063 bool temp10
= False
;
11064 PyObject
* obj0
= 0 ;
11065 PyObject
* obj1
= 0 ;
11066 PyObject
* obj2
= 0 ;
11067 PyObject
* obj3
= 0 ;
11068 PyObject
* obj4
= 0 ;
11069 PyObject
* obj5
= 0 ;
11070 PyObject
* obj6
= 0 ;
11071 PyObject
* obj7
= 0 ;
11072 PyObject
* obj8
= 0 ;
11073 PyObject
* obj9
= 0 ;
11074 char *kwnames
[] = {
11075 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
11078 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOOO:new_SpinCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
11079 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
11080 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11082 arg2
= (int) SWIG_AsInt(obj1
);
11083 if (PyErr_Occurred()) SWIG_fail
;
11087 arg3
= wxString_in_helper(obj2
);
11088 if (arg3
== NULL
) SWIG_fail
;
11095 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
11101 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
11105 arg6
= (long) SWIG_AsLong(obj5
);
11106 if (PyErr_Occurred()) SWIG_fail
;
11109 arg7
= (int) SWIG_AsInt(obj6
);
11110 if (PyErr_Occurred()) SWIG_fail
;
11113 arg8
= (int) SWIG_AsInt(obj7
);
11114 if (PyErr_Occurred()) SWIG_fail
;
11117 arg9
= (int) SWIG_AsInt(obj8
);
11118 if (PyErr_Occurred()) SWIG_fail
;
11122 arg10
= wxString_in_helper(obj9
);
11123 if (arg10
== NULL
) SWIG_fail
;
11128 if (!wxPyCheckForApp()) SWIG_fail
;
11129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11130 result
= (wxSpinCtrl
*)new wxSpinCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,arg7
,arg8
,arg9
,(wxString
const &)*arg10
);
11132 wxPyEndAllowThreads(__tstate
);
11133 if (PyErr_Occurred()) SWIG_fail
;
11135 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSpinCtrl
, 1);
11158 static PyObject
*_wrap_new_PreSpinCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11159 PyObject
*resultobj
;
11160 wxSpinCtrl
*result
;
11161 char *kwnames
[] = {
11165 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSpinCtrl",kwnames
)) goto fail
;
11167 if (!wxPyCheckForApp()) SWIG_fail
;
11168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11169 result
= (wxSpinCtrl
*)new wxSpinCtrl();
11171 wxPyEndAllowThreads(__tstate
);
11172 if (PyErr_Occurred()) SWIG_fail
;
11174 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSpinCtrl
, 1);
11181 static PyObject
*_wrap_SpinCtrl_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11182 PyObject
*resultobj
;
11183 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
11184 wxWindow
*arg2
= (wxWindow
*) 0 ;
11185 int arg3
= (int) -1 ;
11186 wxString
const &arg4_defvalue
= wxPyEmptyString
;
11187 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
11188 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
11189 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
11190 wxSize
const &arg6_defvalue
= wxDefaultSize
;
11191 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
11192 long arg7
= (long) wxSP_ARROW_KEYS
;
11193 int arg8
= (int) 0 ;
11194 int arg9
= (int) 100 ;
11195 int arg10
= (int) 0 ;
11196 wxString
const &arg11_defvalue
= wxPySpinCtrlNameStr
;
11197 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
11199 bool temp4
= False
;
11202 bool temp11
= False
;
11203 PyObject
* obj0
= 0 ;
11204 PyObject
* obj1
= 0 ;
11205 PyObject
* obj2
= 0 ;
11206 PyObject
* obj3
= 0 ;
11207 PyObject
* obj4
= 0 ;
11208 PyObject
* obj5
= 0 ;
11209 PyObject
* obj6
= 0 ;
11210 PyObject
* obj7
= 0 ;
11211 PyObject
* obj8
= 0 ;
11212 PyObject
* obj9
= 0 ;
11213 PyObject
* obj10
= 0 ;
11214 char *kwnames
[] = {
11215 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
11218 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOOO:SpinCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) goto fail
;
11219 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinCtrl
,
11220 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11221 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
11222 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11224 arg3
= (int) SWIG_AsInt(obj2
);
11225 if (PyErr_Occurred()) SWIG_fail
;
11229 arg4
= wxString_in_helper(obj3
);
11230 if (arg4
== NULL
) SWIG_fail
;
11237 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
11243 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
11247 arg7
= (long) SWIG_AsLong(obj6
);
11248 if (PyErr_Occurred()) SWIG_fail
;
11251 arg8
= (int) SWIG_AsInt(obj7
);
11252 if (PyErr_Occurred()) SWIG_fail
;
11255 arg9
= (int) SWIG_AsInt(obj8
);
11256 if (PyErr_Occurred()) SWIG_fail
;
11259 arg10
= (int) SWIG_AsInt(obj9
);
11260 if (PyErr_Occurred()) SWIG_fail
;
11264 arg11
= wxString_in_helper(obj10
);
11265 if (arg11
== NULL
) SWIG_fail
;
11270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11271 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,arg8
,arg9
,arg10
,(wxString
const &)*arg11
);
11273 wxPyEndAllowThreads(__tstate
);
11274 if (PyErr_Occurred()) SWIG_fail
;
11277 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11301 static PyObject
*_wrap_SpinCtrl_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11302 PyObject
*resultobj
;
11303 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
11305 PyObject
* obj0
= 0 ;
11306 char *kwnames
[] = {
11307 (char *) "self", NULL
11310 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinCtrl_GetValue",kwnames
,&obj0
)) goto fail
;
11311 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinCtrl
,
11312 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11315 result
= (int)((wxSpinCtrl
const *)arg1
)->GetValue();
11317 wxPyEndAllowThreads(__tstate
);
11318 if (PyErr_Occurred()) SWIG_fail
;
11320 resultobj
= SWIG_FromInt((int)result
);
11327 static PyObject
*_wrap_SpinCtrl_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11328 PyObject
*resultobj
;
11329 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
11331 PyObject
* obj0
= 0 ;
11332 PyObject
* obj1
= 0 ;
11333 char *kwnames
[] = {
11334 (char *) "self",(char *) "value", NULL
11337 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinCtrl_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
11338 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinCtrl
,
11339 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11340 arg2
= (int) SWIG_AsInt(obj1
);
11341 if (PyErr_Occurred()) SWIG_fail
;
11343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11344 (arg1
)->SetValue(arg2
);
11346 wxPyEndAllowThreads(__tstate
);
11347 if (PyErr_Occurred()) SWIG_fail
;
11349 Py_INCREF(Py_None
); resultobj
= Py_None
;
11356 static PyObject
*_wrap_SpinCtrl_SetValueString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11357 PyObject
*resultobj
;
11358 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
11359 wxString
*arg2
= 0 ;
11360 bool temp2
= False
;
11361 PyObject
* obj0
= 0 ;
11362 PyObject
* obj1
= 0 ;
11363 char *kwnames
[] = {
11364 (char *) "self",(char *) "text", NULL
11367 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinCtrl_SetValueString",kwnames
,&obj0
,&obj1
)) goto fail
;
11368 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinCtrl
,
11369 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11371 arg2
= wxString_in_helper(obj1
);
11372 if (arg2
== NULL
) SWIG_fail
;
11376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11377 (arg1
)->SetValue((wxString
const &)*arg2
);
11379 wxPyEndAllowThreads(__tstate
);
11380 if (PyErr_Occurred()) SWIG_fail
;
11382 Py_INCREF(Py_None
); resultobj
= Py_None
;
11397 static PyObject
*_wrap_SpinCtrl_SetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11398 PyObject
*resultobj
;
11399 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
11402 PyObject
* obj0
= 0 ;
11403 PyObject
* obj1
= 0 ;
11404 PyObject
* obj2
= 0 ;
11405 char *kwnames
[] = {
11406 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
11409 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SpinCtrl_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11410 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinCtrl
,
11411 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11412 arg2
= (int) SWIG_AsInt(obj1
);
11413 if (PyErr_Occurred()) SWIG_fail
;
11414 arg3
= (int) SWIG_AsInt(obj2
);
11415 if (PyErr_Occurred()) SWIG_fail
;
11417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11418 (arg1
)->SetRange(arg2
,arg3
);
11420 wxPyEndAllowThreads(__tstate
);
11421 if (PyErr_Occurred()) SWIG_fail
;
11423 Py_INCREF(Py_None
); resultobj
= Py_None
;
11430 static PyObject
*_wrap_SpinCtrl_GetMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11431 PyObject
*resultobj
;
11432 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
11434 PyObject
* obj0
= 0 ;
11435 char *kwnames
[] = {
11436 (char *) "self", NULL
11439 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinCtrl_GetMin",kwnames
,&obj0
)) goto fail
;
11440 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinCtrl
,
11441 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11444 result
= (int)((wxSpinCtrl
const *)arg1
)->GetMin();
11446 wxPyEndAllowThreads(__tstate
);
11447 if (PyErr_Occurred()) SWIG_fail
;
11449 resultobj
= SWIG_FromInt((int)result
);
11456 static PyObject
*_wrap_SpinCtrl_GetMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11457 PyObject
*resultobj
;
11458 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
11460 PyObject
* obj0
= 0 ;
11461 char *kwnames
[] = {
11462 (char *) "self", NULL
11465 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinCtrl_GetMax",kwnames
,&obj0
)) goto fail
;
11466 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinCtrl
,
11467 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11470 result
= (int)((wxSpinCtrl
const *)arg1
)->GetMax();
11472 wxPyEndAllowThreads(__tstate
);
11473 if (PyErr_Occurred()) SWIG_fail
;
11475 resultobj
= SWIG_FromInt((int)result
);
11482 static PyObject
*_wrap_SpinCtrl_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11483 PyObject
*resultobj
;
11484 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
11487 PyObject
* obj0
= 0 ;
11488 PyObject
* obj1
= 0 ;
11489 PyObject
* obj2
= 0 ;
11490 char *kwnames
[] = {
11491 (char *) "self",(char *) "from",(char *) "to", NULL
11494 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SpinCtrl_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11495 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinCtrl
,
11496 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11497 arg2
= (long) SWIG_AsLong(obj1
);
11498 if (PyErr_Occurred()) SWIG_fail
;
11499 arg3
= (long) SWIG_AsLong(obj2
);
11500 if (PyErr_Occurred()) SWIG_fail
;
11502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11503 (arg1
)->SetSelection(arg2
,arg3
);
11505 wxPyEndAllowThreads(__tstate
);
11506 if (PyErr_Occurred()) SWIG_fail
;
11508 Py_INCREF(Py_None
); resultobj
= Py_None
;
11515 static PyObject
*_wrap_SpinCtrl_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11516 PyObject
*resultobj
;
11517 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
11518 wxVisualAttributes result
;
11519 PyObject
* obj0
= 0 ;
11520 char *kwnames
[] = {
11521 (char *) "variant", NULL
11524 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:SpinCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
11526 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
11527 if (PyErr_Occurred()) SWIG_fail
;
11530 if (!wxPyCheckForApp()) SWIG_fail
;
11531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11532 result
= wxSpinCtrl::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
11534 wxPyEndAllowThreads(__tstate
);
11535 if (PyErr_Occurred()) SWIG_fail
;
11538 wxVisualAttributes
* resultptr
;
11539 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
11540 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
11548 static PyObject
* SpinCtrl_swigregister(PyObject
*self
, PyObject
*args
) {
11550 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11551 SWIG_TypeClientData(SWIGTYPE_p_wxSpinCtrl
, obj
);
11553 return Py_BuildValue((char *)"");
11555 static PyObject
*_wrap_new_SpinEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11556 PyObject
*resultobj
;
11557 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
11558 int arg2
= (int) 0 ;
11559 wxSpinEvent
*result
;
11560 PyObject
* obj0
= 0 ;
11561 PyObject
* obj1
= 0 ;
11562 char *kwnames
[] = {
11563 (char *) "commandType",(char *) "winid", NULL
11566 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SpinEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
11568 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
11569 if (PyErr_Occurred()) SWIG_fail
;
11572 arg2
= (int) SWIG_AsInt(obj1
);
11573 if (PyErr_Occurred()) SWIG_fail
;
11576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11577 result
= (wxSpinEvent
*)new wxSpinEvent(arg1
,arg2
);
11579 wxPyEndAllowThreads(__tstate
);
11580 if (PyErr_Occurred()) SWIG_fail
;
11582 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSpinEvent
, 1);
11589 static PyObject
*_wrap_SpinEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11590 PyObject
*resultobj
;
11591 wxSpinEvent
*arg1
= (wxSpinEvent
*) 0 ;
11593 PyObject
* obj0
= 0 ;
11594 char *kwnames
[] = {
11595 (char *) "self", NULL
11598 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
11599 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinEvent
,
11600 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11603 result
= (int)((wxSpinEvent
const *)arg1
)->GetPosition();
11605 wxPyEndAllowThreads(__tstate
);
11606 if (PyErr_Occurred()) SWIG_fail
;
11608 resultobj
= SWIG_FromInt((int)result
);
11615 static PyObject
*_wrap_SpinEvent_SetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11616 PyObject
*resultobj
;
11617 wxSpinEvent
*arg1
= (wxSpinEvent
*) 0 ;
11619 PyObject
* obj0
= 0 ;
11620 PyObject
* obj1
= 0 ;
11621 char *kwnames
[] = {
11622 (char *) "self",(char *) "pos", NULL
11625 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
11626 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinEvent
,
11627 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11628 arg2
= (int) SWIG_AsInt(obj1
);
11629 if (PyErr_Occurred()) SWIG_fail
;
11631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11632 (arg1
)->SetPosition(arg2
);
11634 wxPyEndAllowThreads(__tstate
);
11635 if (PyErr_Occurred()) SWIG_fail
;
11637 Py_INCREF(Py_None
); resultobj
= Py_None
;
11644 static PyObject
* SpinEvent_swigregister(PyObject
*self
, PyObject
*args
) {
11646 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11647 SWIG_TypeClientData(SWIGTYPE_p_wxSpinEvent
, obj
);
11649 return Py_BuildValue((char *)"");
11651 static int _wrap_RadioBoxNameStr_set(PyObject
*_val
) {
11652 PyErr_SetString(PyExc_TypeError
,"Variable RadioBoxNameStr is read-only.");
11657 static PyObject
*_wrap_RadioBoxNameStr_get() {
11662 pyobj
= PyUnicode_FromWideChar((&wxPyRadioBoxNameStr
)->c_str(), (&wxPyRadioBoxNameStr
)->Len());
11664 pyobj
= PyString_FromStringAndSize((&wxPyRadioBoxNameStr
)->c_str(), (&wxPyRadioBoxNameStr
)->Len());
11671 static int _wrap_RadioButtonNameStr_set(PyObject
*_val
) {
11672 PyErr_SetString(PyExc_TypeError
,"Variable RadioButtonNameStr is read-only.");
11677 static PyObject
*_wrap_RadioButtonNameStr_get() {
11682 pyobj
= PyUnicode_FromWideChar((&wxPyRadioButtonNameStr
)->c_str(), (&wxPyRadioButtonNameStr
)->Len());
11684 pyobj
= PyString_FromStringAndSize((&wxPyRadioButtonNameStr
)->c_str(), (&wxPyRadioButtonNameStr
)->Len());
11691 static PyObject
*_wrap_new_RadioBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11692 PyObject
*resultobj
;
11693 wxWindow
*arg1
= (wxWindow
*) 0 ;
11694 int arg2
= (int) -1 ;
11695 wxString
const &arg3_defvalue
= wxPyEmptyString
;
11696 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
11697 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
11698 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
11699 wxSize
const &arg5_defvalue
= wxDefaultSize
;
11700 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
11701 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
11702 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
11703 int arg7
= (int) 0 ;
11704 long arg8
= (long) wxRA_HORIZONTAL
;
11705 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
11706 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
11707 wxString
const &arg10_defvalue
= wxPyRadioBoxNameStr
;
11708 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
11709 wxRadioBox
*result
;
11710 bool temp3
= False
;
11713 bool temp6
= False
;
11714 bool temp10
= False
;
11715 PyObject
* obj0
= 0 ;
11716 PyObject
* obj1
= 0 ;
11717 PyObject
* obj2
= 0 ;
11718 PyObject
* obj3
= 0 ;
11719 PyObject
* obj4
= 0 ;
11720 PyObject
* obj5
= 0 ;
11721 PyObject
* obj6
= 0 ;
11722 PyObject
* obj7
= 0 ;
11723 PyObject
* obj8
= 0 ;
11724 PyObject
* obj9
= 0 ;
11725 char *kwnames
[] = {
11726 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
11729 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOOO:new_RadioBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
11730 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
11731 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11733 arg2
= (int) SWIG_AsInt(obj1
);
11734 if (PyErr_Occurred()) SWIG_fail
;
11738 arg3
= wxString_in_helper(obj2
);
11739 if (arg3
== NULL
) SWIG_fail
;
11746 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
11752 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
11757 if (! PySequence_Check(obj5
)) {
11758 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
11761 arg6
= new wxArrayString
;
11763 int i
, len
=PySequence_Length(obj5
);
11764 for (i
=0; i
<len
; i
++) {
11765 PyObject
* item
= PySequence_GetItem(obj5
, i
);
11767 PyObject
* str
= PyObject_Unicode(item
);
11769 PyObject
* str
= PyObject_Str(item
);
11771 if (PyErr_Occurred()) SWIG_fail
;
11772 arg6
->Add(Py2wxString(str
));
11779 arg7
= (int) SWIG_AsInt(obj6
);
11780 if (PyErr_Occurred()) SWIG_fail
;
11783 arg8
= (long) SWIG_AsLong(obj7
);
11784 if (PyErr_Occurred()) SWIG_fail
;
11787 if ((SWIG_ConvertPtr(obj8
,(void **)(&arg9
),SWIGTYPE_p_wxValidator
,
11788 SWIG_POINTER_EXCEPTION
| 0)) == -1)
11790 if (arg9
== NULL
) {
11791 PyErr_SetString(PyExc_TypeError
,"null reference");
11797 arg10
= wxString_in_helper(obj9
);
11798 if (arg10
== NULL
) SWIG_fail
;
11803 if (!wxPyCheckForApp()) SWIG_fail
;
11804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11805 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
);
11807 wxPyEndAllowThreads(__tstate
);
11808 if (PyErr_Occurred()) SWIG_fail
;
11810 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRadioBox
, 1);
11816 if (temp6
) delete arg6
;
11829 if (temp6
) delete arg6
;
11839 static PyObject
*_wrap_new_PreRadioBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11840 PyObject
*resultobj
;
11841 wxRadioBox
*result
;
11842 char *kwnames
[] = {
11846 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreRadioBox",kwnames
)) goto fail
;
11848 if (!wxPyCheckForApp()) SWIG_fail
;
11849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11850 result
= (wxRadioBox
*)new wxRadioBox();
11852 wxPyEndAllowThreads(__tstate
);
11853 if (PyErr_Occurred()) SWIG_fail
;
11855 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRadioBox
, 1);
11862 static PyObject
*_wrap_RadioBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11863 PyObject
*resultobj
;
11864 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
11865 wxWindow
*arg2
= (wxWindow
*) 0 ;
11866 int arg3
= (int) -1 ;
11867 wxString
const &arg4_defvalue
= wxPyEmptyString
;
11868 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
11869 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
11870 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
11871 wxSize
const &arg6_defvalue
= wxDefaultSize
;
11872 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
11873 wxArrayString
const &arg7_defvalue
= wxPyEmptyStringArray
;
11874 wxArrayString
*arg7
= (wxArrayString
*) &arg7_defvalue
;
11875 int arg8
= (int) 0 ;
11876 long arg9
= (long) wxRA_HORIZONTAL
;
11877 wxValidator
const &arg10_defvalue
= wxDefaultValidator
;
11878 wxValidator
*arg10
= (wxValidator
*) &arg10_defvalue
;
11879 wxString
const &arg11_defvalue
= wxPyRadioBoxNameStr
;
11880 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
11882 bool temp4
= False
;
11885 bool temp7
= False
;
11886 bool temp11
= False
;
11887 PyObject
* obj0
= 0 ;
11888 PyObject
* obj1
= 0 ;
11889 PyObject
* obj2
= 0 ;
11890 PyObject
* obj3
= 0 ;
11891 PyObject
* obj4
= 0 ;
11892 PyObject
* obj5
= 0 ;
11893 PyObject
* obj6
= 0 ;
11894 PyObject
* obj7
= 0 ;
11895 PyObject
* obj8
= 0 ;
11896 PyObject
* obj9
= 0 ;
11897 PyObject
* obj10
= 0 ;
11898 char *kwnames
[] = {
11899 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
11902 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOOO:RadioBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) goto fail
;
11903 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
11904 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11905 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
11906 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11908 arg3
= (int) SWIG_AsInt(obj2
);
11909 if (PyErr_Occurred()) SWIG_fail
;
11913 arg4
= wxString_in_helper(obj3
);
11914 if (arg4
== NULL
) SWIG_fail
;
11921 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
11927 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
11932 if (! PySequence_Check(obj6
)) {
11933 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
11936 arg7
= new wxArrayString
;
11938 int i
, len
=PySequence_Length(obj6
);
11939 for (i
=0; i
<len
; i
++) {
11940 PyObject
* item
= PySequence_GetItem(obj6
, i
);
11942 PyObject
* str
= PyObject_Unicode(item
);
11944 PyObject
* str
= PyObject_Str(item
);
11946 if (PyErr_Occurred()) SWIG_fail
;
11947 arg7
->Add(Py2wxString(str
));
11954 arg8
= (int) SWIG_AsInt(obj7
);
11955 if (PyErr_Occurred()) SWIG_fail
;
11958 arg9
= (long) SWIG_AsLong(obj8
);
11959 if (PyErr_Occurred()) SWIG_fail
;
11962 if ((SWIG_ConvertPtr(obj9
,(void **)(&arg10
),SWIGTYPE_p_wxValidator
,
11963 SWIG_POINTER_EXCEPTION
| 0)) == -1)
11965 if (arg10
== NULL
) {
11966 PyErr_SetString(PyExc_TypeError
,"null reference");
11972 arg11
= wxString_in_helper(obj10
);
11973 if (arg11
== NULL
) SWIG_fail
;
11978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11979 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
);
11981 wxPyEndAllowThreads(__tstate
);
11982 if (PyErr_Occurred()) SWIG_fail
;
11985 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11992 if (temp7
) delete arg7
;
12005 if (temp7
) delete arg7
;
12015 static PyObject
*_wrap_RadioBox_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12016 PyObject
*resultobj
;
12017 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
12019 PyObject
* obj0
= 0 ;
12020 PyObject
* obj1
= 0 ;
12021 char *kwnames
[] = {
12022 (char *) "self",(char *) "n", NULL
12025 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
12026 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
12027 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12028 arg2
= (int) SWIG_AsInt(obj1
);
12029 if (PyErr_Occurred()) SWIG_fail
;
12031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12032 (arg1
)->SetSelection(arg2
);
12034 wxPyEndAllowThreads(__tstate
);
12035 if (PyErr_Occurred()) SWIG_fail
;
12037 Py_INCREF(Py_None
); resultobj
= Py_None
;
12044 static PyObject
*_wrap_RadioBox_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12045 PyObject
*resultobj
;
12046 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
12048 PyObject
* obj0
= 0 ;
12049 char *kwnames
[] = {
12050 (char *) "self", NULL
12053 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetSelection",kwnames
,&obj0
)) goto fail
;
12054 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
12055 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12058 result
= (int)((wxRadioBox
const *)arg1
)->GetSelection();
12060 wxPyEndAllowThreads(__tstate
);
12061 if (PyErr_Occurred()) SWIG_fail
;
12063 resultobj
= SWIG_FromInt((int)result
);
12070 static PyObject
*_wrap_RadioBox_GetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12071 PyObject
*resultobj
;
12072 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
12074 PyObject
* obj0
= 0 ;
12075 char *kwnames
[] = {
12076 (char *) "self", NULL
12079 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetStringSelection",kwnames
,&obj0
)) goto fail
;
12080 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
12081 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12084 result
= ((wxRadioBox
const *)arg1
)->GetStringSelection();
12086 wxPyEndAllowThreads(__tstate
);
12087 if (PyErr_Occurred()) SWIG_fail
;
12091 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12093 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12102 static PyObject
*_wrap_RadioBox_SetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12103 PyObject
*resultobj
;
12104 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
12105 wxString
*arg2
= 0 ;
12107 bool temp2
= False
;
12108 PyObject
* obj0
= 0 ;
12109 PyObject
* obj1
= 0 ;
12110 char *kwnames
[] = {
12111 (char *) "self",(char *) "s", NULL
12114 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_SetStringSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
12115 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
12116 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12118 arg2
= wxString_in_helper(obj1
);
12119 if (arg2
== NULL
) SWIG_fail
;
12123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12124 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
);
12126 wxPyEndAllowThreads(__tstate
);
12127 if (PyErr_Occurred()) SWIG_fail
;
12130 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12146 static PyObject
*_wrap_RadioBox_GetCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12147 PyObject
*resultobj
;
12148 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
12150 PyObject
* obj0
= 0 ;
12151 char *kwnames
[] = {
12152 (char *) "self", NULL
12155 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetCount",kwnames
,&obj0
)) goto fail
;
12156 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
12157 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12160 result
= (int)((wxRadioBox
const *)arg1
)->GetCount();
12162 wxPyEndAllowThreads(__tstate
);
12163 if (PyErr_Occurred()) SWIG_fail
;
12165 resultobj
= SWIG_FromInt((int)result
);
12172 static PyObject
*_wrap_RadioBox_FindString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12173 PyObject
*resultobj
;
12174 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
12175 wxString
*arg2
= 0 ;
12177 bool temp2
= False
;
12178 PyObject
* obj0
= 0 ;
12179 PyObject
* obj1
= 0 ;
12180 char *kwnames
[] = {
12181 (char *) "self",(char *) "s", NULL
12184 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_FindString",kwnames
,&obj0
,&obj1
)) goto fail
;
12185 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
12186 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12188 arg2
= wxString_in_helper(obj1
);
12189 if (arg2
== NULL
) SWIG_fail
;
12193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12194 result
= (int)((wxRadioBox
const *)arg1
)->FindString((wxString
const &)*arg2
);
12196 wxPyEndAllowThreads(__tstate
);
12197 if (PyErr_Occurred()) SWIG_fail
;
12199 resultobj
= SWIG_FromInt((int)result
);
12214 static PyObject
*_wrap_RadioBox_GetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12215 PyObject
*resultobj
;
12216 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
12219 PyObject
* obj0
= 0 ;
12220 PyObject
* obj1
= 0 ;
12221 char *kwnames
[] = {
12222 (char *) "self",(char *) "n", NULL
12225 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_GetString",kwnames
,&obj0
,&obj1
)) goto fail
;
12226 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
12227 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12228 arg2
= (int) SWIG_AsInt(obj1
);
12229 if (PyErr_Occurred()) SWIG_fail
;
12231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12232 result
= ((wxRadioBox
const *)arg1
)->GetString(arg2
);
12234 wxPyEndAllowThreads(__tstate
);
12235 if (PyErr_Occurred()) SWIG_fail
;
12239 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12241 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12250 static PyObject
*_wrap_RadioBox_SetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12251 PyObject
*resultobj
;
12252 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
12254 wxString
*arg3
= 0 ;
12255 bool temp3
= False
;
12256 PyObject
* obj0
= 0 ;
12257 PyObject
* obj1
= 0 ;
12258 PyObject
* obj2
= 0 ;
12259 char *kwnames
[] = {
12260 (char *) "self",(char *) "n",(char *) "label", NULL
12263 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:RadioBox_SetString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12264 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
12265 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12266 arg2
= (int) SWIG_AsInt(obj1
);
12267 if (PyErr_Occurred()) SWIG_fail
;
12269 arg3
= wxString_in_helper(obj2
);
12270 if (arg3
== NULL
) SWIG_fail
;
12274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12275 (arg1
)->SetString(arg2
,(wxString
const &)*arg3
);
12277 wxPyEndAllowThreads(__tstate
);
12278 if (PyErr_Occurred()) SWIG_fail
;
12280 Py_INCREF(Py_None
); resultobj
= Py_None
;
12295 static PyObject
*_wrap_RadioBox_EnableItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12296 PyObject
*resultobj
;
12297 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
12299 bool arg3
= (bool) True
;
12300 PyObject
* obj0
= 0 ;
12301 PyObject
* obj1
= 0 ;
12302 PyObject
* obj2
= 0 ;
12303 char *kwnames
[] = {
12304 (char *) "self",(char *) "n",(char *) "enable", NULL
12307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:RadioBox_EnableItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12308 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
12309 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12310 arg2
= (int) SWIG_AsInt(obj1
);
12311 if (PyErr_Occurred()) SWIG_fail
;
12313 arg3
= (bool) SWIG_AsBool(obj2
);
12314 if (PyErr_Occurred()) SWIG_fail
;
12317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12318 (arg1
)->Enable(arg2
,arg3
);
12320 wxPyEndAllowThreads(__tstate
);
12321 if (PyErr_Occurred()) SWIG_fail
;
12323 Py_INCREF(Py_None
); resultobj
= Py_None
;
12330 static PyObject
*_wrap_RadioBox_ShowItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12331 PyObject
*resultobj
;
12332 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
12334 bool arg3
= (bool) True
;
12335 PyObject
* obj0
= 0 ;
12336 PyObject
* obj1
= 0 ;
12337 PyObject
* obj2
= 0 ;
12338 char *kwnames
[] = {
12339 (char *) "self",(char *) "n",(char *) "show", NULL
12342 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:RadioBox_ShowItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12343 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
12344 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12345 arg2
= (int) SWIG_AsInt(obj1
);
12346 if (PyErr_Occurred()) SWIG_fail
;
12348 arg3
= (bool) SWIG_AsBool(obj2
);
12349 if (PyErr_Occurred()) SWIG_fail
;
12352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12353 (arg1
)->Show(arg2
,arg3
);
12355 wxPyEndAllowThreads(__tstate
);
12356 if (PyErr_Occurred()) SWIG_fail
;
12358 Py_INCREF(Py_None
); resultobj
= Py_None
;
12365 static PyObject
*_wrap_RadioBox_GetColumnCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12366 PyObject
*resultobj
;
12367 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
12369 PyObject
* obj0
= 0 ;
12370 char *kwnames
[] = {
12371 (char *) "self", NULL
12374 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetColumnCount",kwnames
,&obj0
)) goto fail
;
12375 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
12376 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12379 result
= (int)((wxRadioBox
const *)arg1
)->GetColumnCount();
12381 wxPyEndAllowThreads(__tstate
);
12382 if (PyErr_Occurred()) SWIG_fail
;
12384 resultobj
= SWIG_FromInt((int)result
);
12391 static PyObject
*_wrap_RadioBox_GetRowCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12392 PyObject
*resultobj
;
12393 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
12395 PyObject
* obj0
= 0 ;
12396 char *kwnames
[] = {
12397 (char *) "self", NULL
12400 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetRowCount",kwnames
,&obj0
)) goto fail
;
12401 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
12402 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12405 result
= (int)((wxRadioBox
const *)arg1
)->GetRowCount();
12407 wxPyEndAllowThreads(__tstate
);
12408 if (PyErr_Occurred()) SWIG_fail
;
12410 resultobj
= SWIG_FromInt((int)result
);
12417 static PyObject
*_wrap_RadioBox_GetNextItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12418 PyObject
*resultobj
;
12419 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
12424 PyObject
* obj0
= 0 ;
12425 PyObject
* obj1
= 0 ;
12426 PyObject
* obj2
= 0 ;
12427 PyObject
* obj3
= 0 ;
12428 char *kwnames
[] = {
12429 (char *) "self",(char *) "item",(char *) "dir",(char *) "style", NULL
12432 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:RadioBox_GetNextItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
12433 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
12434 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12435 arg2
= (int) SWIG_AsInt(obj1
);
12436 if (PyErr_Occurred()) SWIG_fail
;
12437 arg3
= (wxDirection
) SWIG_AsInt(obj2
);
12438 if (PyErr_Occurred()) SWIG_fail
;
12439 arg4
= (long) SWIG_AsLong(obj3
);
12440 if (PyErr_Occurred()) SWIG_fail
;
12442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12443 result
= (int)((wxRadioBox
const *)arg1
)->GetNextItem(arg2
,(wxDirection
)arg3
,arg4
);
12445 wxPyEndAllowThreads(__tstate
);
12446 if (PyErr_Occurred()) SWIG_fail
;
12448 resultobj
= SWIG_FromInt((int)result
);
12455 static PyObject
*_wrap_RadioBox_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12456 PyObject
*resultobj
;
12457 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
12458 wxVisualAttributes result
;
12459 PyObject
* obj0
= 0 ;
12460 char *kwnames
[] = {
12461 (char *) "variant", NULL
12464 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:RadioBox_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
12466 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
12467 if (PyErr_Occurred()) SWIG_fail
;
12470 if (!wxPyCheckForApp()) SWIG_fail
;
12471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12472 result
= wxRadioBox::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
12474 wxPyEndAllowThreads(__tstate
);
12475 if (PyErr_Occurred()) SWIG_fail
;
12478 wxVisualAttributes
* resultptr
;
12479 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
12480 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
12488 static PyObject
* RadioBox_swigregister(PyObject
*self
, PyObject
*args
) {
12490 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12491 SWIG_TypeClientData(SWIGTYPE_p_wxRadioBox
, obj
);
12493 return Py_BuildValue((char *)"");
12495 static PyObject
*_wrap_new_RadioButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12496 PyObject
*resultobj
;
12497 wxWindow
*arg1
= (wxWindow
*) 0 ;
12498 int arg2
= (int) -1 ;
12499 wxString
const &arg3_defvalue
= wxPyEmptyString
;
12500 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
12501 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
12502 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
12503 wxSize
const &arg5_defvalue
= wxDefaultSize
;
12504 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
12505 long arg6
= (long) 0 ;
12506 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
12507 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
12508 wxString
const &arg8_defvalue
= wxPyRadioButtonNameStr
;
12509 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
12510 wxRadioButton
*result
;
12511 bool temp3
= False
;
12514 bool temp8
= False
;
12515 PyObject
* obj0
= 0 ;
12516 PyObject
* obj1
= 0 ;
12517 PyObject
* obj2
= 0 ;
12518 PyObject
* obj3
= 0 ;
12519 PyObject
* obj4
= 0 ;
12520 PyObject
* obj5
= 0 ;
12521 PyObject
* obj6
= 0 ;
12522 PyObject
* obj7
= 0 ;
12523 char *kwnames
[] = {
12524 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
12527 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_RadioButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
12528 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
12529 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12531 arg2
= (int) SWIG_AsInt(obj1
);
12532 if (PyErr_Occurred()) SWIG_fail
;
12536 arg3
= wxString_in_helper(obj2
);
12537 if (arg3
== NULL
) SWIG_fail
;
12544 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
12550 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
12554 arg6
= (long) SWIG_AsLong(obj5
);
12555 if (PyErr_Occurred()) SWIG_fail
;
12558 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
12559 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12561 if (arg7
== NULL
) {
12562 PyErr_SetString(PyExc_TypeError
,"null reference");
12568 arg8
= wxString_in_helper(obj7
);
12569 if (arg8
== NULL
) SWIG_fail
;
12574 if (!wxPyCheckForApp()) SWIG_fail
;
12575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12576 result
= (wxRadioButton
*)new wxRadioButton(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
12578 wxPyEndAllowThreads(__tstate
);
12579 if (PyErr_Occurred()) SWIG_fail
;
12581 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRadioButton
, 1);
12604 static PyObject
*_wrap_new_PreRadioButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12605 PyObject
*resultobj
;
12606 wxRadioButton
*result
;
12607 char *kwnames
[] = {
12611 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreRadioButton",kwnames
)) goto fail
;
12613 if (!wxPyCheckForApp()) SWIG_fail
;
12614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12615 result
= (wxRadioButton
*)new wxRadioButton();
12617 wxPyEndAllowThreads(__tstate
);
12618 if (PyErr_Occurred()) SWIG_fail
;
12620 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRadioButton
, 1);
12627 static PyObject
*_wrap_RadioButton_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12628 PyObject
*resultobj
;
12629 wxRadioButton
*arg1
= (wxRadioButton
*) 0 ;
12630 wxWindow
*arg2
= (wxWindow
*) 0 ;
12631 int arg3
= (int) -1 ;
12632 wxString
const &arg4_defvalue
= wxPyEmptyString
;
12633 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
12634 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
12635 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
12636 wxSize
const &arg6_defvalue
= wxDefaultSize
;
12637 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
12638 long arg7
= (long) 0 ;
12639 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
12640 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
12641 wxString
const &arg9_defvalue
= wxPyRadioButtonNameStr
;
12642 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
12644 bool temp4
= False
;
12647 bool temp9
= False
;
12648 PyObject
* obj0
= 0 ;
12649 PyObject
* obj1
= 0 ;
12650 PyObject
* obj2
= 0 ;
12651 PyObject
* obj3
= 0 ;
12652 PyObject
* obj4
= 0 ;
12653 PyObject
* obj5
= 0 ;
12654 PyObject
* obj6
= 0 ;
12655 PyObject
* obj7
= 0 ;
12656 PyObject
* obj8
= 0 ;
12657 char *kwnames
[] = {
12658 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
12661 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:RadioButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
12662 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioButton
,
12663 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12664 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
12665 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12667 arg3
= (int) SWIG_AsInt(obj2
);
12668 if (PyErr_Occurred()) SWIG_fail
;
12672 arg4
= wxString_in_helper(obj3
);
12673 if (arg4
== NULL
) SWIG_fail
;
12680 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
12686 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
12690 arg7
= (long) SWIG_AsLong(obj6
);
12691 if (PyErr_Occurred()) SWIG_fail
;
12694 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
12695 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12697 if (arg8
== NULL
) {
12698 PyErr_SetString(PyExc_TypeError
,"null reference");
12704 arg9
= wxString_in_helper(obj8
);
12705 if (arg9
== NULL
) SWIG_fail
;
12710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12711 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
12713 wxPyEndAllowThreads(__tstate
);
12714 if (PyErr_Occurred()) SWIG_fail
;
12717 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12741 static PyObject
*_wrap_RadioButton_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12742 PyObject
*resultobj
;
12743 wxRadioButton
*arg1
= (wxRadioButton
*) 0 ;
12745 PyObject
* obj0
= 0 ;
12746 char *kwnames
[] = {
12747 (char *) "self", NULL
12750 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioButton_GetValue",kwnames
,&obj0
)) goto fail
;
12751 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioButton
,
12752 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12755 result
= (bool)(arg1
)->GetValue();
12757 wxPyEndAllowThreads(__tstate
);
12758 if (PyErr_Occurred()) SWIG_fail
;
12761 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12769 static PyObject
*_wrap_RadioButton_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12770 PyObject
*resultobj
;
12771 wxRadioButton
*arg1
= (wxRadioButton
*) 0 ;
12773 PyObject
* obj0
= 0 ;
12774 PyObject
* obj1
= 0 ;
12775 char *kwnames
[] = {
12776 (char *) "self",(char *) "value", NULL
12779 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioButton_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
12780 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioButton
,
12781 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12782 arg2
= (bool) SWIG_AsBool(obj1
);
12783 if (PyErr_Occurred()) SWIG_fail
;
12785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12786 (arg1
)->SetValue(arg2
);
12788 wxPyEndAllowThreads(__tstate
);
12789 if (PyErr_Occurred()) SWIG_fail
;
12791 Py_INCREF(Py_None
); resultobj
= Py_None
;
12798 static PyObject
*_wrap_RadioButton_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12799 PyObject
*resultobj
;
12800 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
12801 wxVisualAttributes result
;
12802 PyObject
* obj0
= 0 ;
12803 char *kwnames
[] = {
12804 (char *) "variant", NULL
12807 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:RadioButton_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
12809 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
12810 if (PyErr_Occurred()) SWIG_fail
;
12813 if (!wxPyCheckForApp()) SWIG_fail
;
12814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12815 result
= wxRadioButton::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
12817 wxPyEndAllowThreads(__tstate
);
12818 if (PyErr_Occurred()) SWIG_fail
;
12821 wxVisualAttributes
* resultptr
;
12822 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
12823 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
12831 static PyObject
* RadioButton_swigregister(PyObject
*self
, PyObject
*args
) {
12833 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12834 SWIG_TypeClientData(SWIGTYPE_p_wxRadioButton
, obj
);
12836 return Py_BuildValue((char *)"");
12838 static int _wrap_SliderNameStr_set(PyObject
*_val
) {
12839 PyErr_SetString(PyExc_TypeError
,"Variable SliderNameStr is read-only.");
12844 static PyObject
*_wrap_SliderNameStr_get() {
12849 pyobj
= PyUnicode_FromWideChar((&wxPySliderNameStr
)->c_str(), (&wxPySliderNameStr
)->Len());
12851 pyobj
= PyString_FromStringAndSize((&wxPySliderNameStr
)->c_str(), (&wxPySliderNameStr
)->Len());
12858 static PyObject
*_wrap_new_Slider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12859 PyObject
*resultobj
;
12860 wxWindow
*arg1
= (wxWindow
*) 0 ;
12861 int arg2
= (int) -1 ;
12862 int arg3
= (int) 0 ;
12863 int arg4
= (int) 0 ;
12864 int arg5
= (int) 100 ;
12865 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
12866 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
12867 wxSize
const &arg7_defvalue
= wxDefaultSize
;
12868 wxSize
*arg7
= (wxSize
*) &arg7_defvalue
;
12869 long arg8
= (long) wxSL_HORIZONTAL
;
12870 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
12871 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
12872 wxString
const &arg10_defvalue
= wxPySliderNameStr
;
12873 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
12877 bool temp10
= False
;
12878 PyObject
* obj0
= 0 ;
12879 PyObject
* obj1
= 0 ;
12880 PyObject
* obj2
= 0 ;
12881 PyObject
* obj3
= 0 ;
12882 PyObject
* obj4
= 0 ;
12883 PyObject
* obj5
= 0 ;
12884 PyObject
* obj6
= 0 ;
12885 PyObject
* obj7
= 0 ;
12886 PyObject
* obj8
= 0 ;
12887 PyObject
* obj9
= 0 ;
12888 char *kwnames
[] = {
12889 (char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
12892 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOOO:new_Slider",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
12893 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
12894 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12896 arg2
= (int) SWIG_AsInt(obj1
);
12897 if (PyErr_Occurred()) SWIG_fail
;
12900 arg3
= (int) SWIG_AsInt(obj2
);
12901 if (PyErr_Occurred()) SWIG_fail
;
12904 arg4
= (int) SWIG_AsInt(obj3
);
12905 if (PyErr_Occurred()) SWIG_fail
;
12908 arg5
= (int) SWIG_AsInt(obj4
);
12909 if (PyErr_Occurred()) SWIG_fail
;
12914 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
12920 if ( ! wxSize_helper(obj6
, &arg7
)) SWIG_fail
;
12924 arg8
= (long) SWIG_AsLong(obj7
);
12925 if (PyErr_Occurred()) SWIG_fail
;
12928 if ((SWIG_ConvertPtr(obj8
,(void **)(&arg9
),SWIGTYPE_p_wxValidator
,
12929 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12931 if (arg9
== NULL
) {
12932 PyErr_SetString(PyExc_TypeError
,"null reference");
12938 arg10
= wxString_in_helper(obj9
);
12939 if (arg10
== NULL
) SWIG_fail
;
12944 if (!wxPyCheckForApp()) SWIG_fail
;
12945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12946 result
= (wxSlider
*)new wxSlider(arg1
,arg2
,arg3
,arg4
,arg5
,(wxPoint
const &)*arg6
,(wxSize
const &)*arg7
,arg8
,(wxValidator
const &)*arg9
,(wxString
const &)*arg10
);
12948 wxPyEndAllowThreads(__tstate
);
12949 if (PyErr_Occurred()) SWIG_fail
;
12951 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSlider
, 1);
12966 static PyObject
*_wrap_new_PreSlider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12967 PyObject
*resultobj
;
12969 char *kwnames
[] = {
12973 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSlider",kwnames
)) goto fail
;
12975 if (!wxPyCheckForApp()) SWIG_fail
;
12976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12977 result
= (wxSlider
*)new wxSlider();
12979 wxPyEndAllowThreads(__tstate
);
12980 if (PyErr_Occurred()) SWIG_fail
;
12982 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSlider
, 1);
12989 static PyObject
*_wrap_Slider_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12990 PyObject
*resultobj
;
12991 wxSlider
*arg1
= (wxSlider
*) 0 ;
12992 wxWindow
*arg2
= (wxWindow
*) 0 ;
12993 int arg3
= (int) -1 ;
12994 int arg4
= (int) 0 ;
12995 int arg5
= (int) 0 ;
12996 int arg6
= (int) 100 ;
12997 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
12998 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
12999 wxSize
const &arg8_defvalue
= wxDefaultSize
;
13000 wxSize
*arg8
= (wxSize
*) &arg8_defvalue
;
13001 long arg9
= (long) wxSL_HORIZONTAL
;
13002 wxValidator
const &arg10_defvalue
= wxDefaultValidator
;
13003 wxValidator
*arg10
= (wxValidator
*) &arg10_defvalue
;
13004 wxString
const &arg11_defvalue
= wxPySliderNameStr
;
13005 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
13009 bool temp11
= False
;
13010 PyObject
* obj0
= 0 ;
13011 PyObject
* obj1
= 0 ;
13012 PyObject
* obj2
= 0 ;
13013 PyObject
* obj3
= 0 ;
13014 PyObject
* obj4
= 0 ;
13015 PyObject
* obj5
= 0 ;
13016 PyObject
* obj6
= 0 ;
13017 PyObject
* obj7
= 0 ;
13018 PyObject
* obj8
= 0 ;
13019 PyObject
* obj9
= 0 ;
13020 PyObject
* obj10
= 0 ;
13021 char *kwnames
[] = {
13022 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
13025 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOOO:Slider_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) goto fail
;
13026 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13027 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13028 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
13029 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13031 arg3
= (int) SWIG_AsInt(obj2
);
13032 if (PyErr_Occurred()) SWIG_fail
;
13035 arg4
= (int) SWIG_AsInt(obj3
);
13036 if (PyErr_Occurred()) SWIG_fail
;
13039 arg5
= (int) SWIG_AsInt(obj4
);
13040 if (PyErr_Occurred()) SWIG_fail
;
13043 arg6
= (int) SWIG_AsInt(obj5
);
13044 if (PyErr_Occurred()) SWIG_fail
;
13049 if ( ! wxPoint_helper(obj6
, &arg7
)) SWIG_fail
;
13055 if ( ! wxSize_helper(obj7
, &arg8
)) SWIG_fail
;
13059 arg9
= (long) SWIG_AsLong(obj8
);
13060 if (PyErr_Occurred()) SWIG_fail
;
13063 if ((SWIG_ConvertPtr(obj9
,(void **)(&arg10
),SWIGTYPE_p_wxValidator
,
13064 SWIG_POINTER_EXCEPTION
| 0)) == -1)
13066 if (arg10
== NULL
) {
13067 PyErr_SetString(PyExc_TypeError
,"null reference");
13073 arg11
= wxString_in_helper(obj10
);
13074 if (arg11
== NULL
) SWIG_fail
;
13079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13080 result
= (bool)(arg1
)->Create(arg2
,arg3
,arg4
,arg5
,arg6
,(wxPoint
const &)*arg7
,(wxSize
const &)*arg8
,arg9
,(wxValidator
const &)*arg10
,(wxString
const &)*arg11
);
13082 wxPyEndAllowThreads(__tstate
);
13083 if (PyErr_Occurred()) SWIG_fail
;
13086 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13102 static PyObject
*_wrap_Slider_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13103 PyObject
*resultobj
;
13104 wxSlider
*arg1
= (wxSlider
*) 0 ;
13106 PyObject
* obj0
= 0 ;
13107 char *kwnames
[] = {
13108 (char *) "self", NULL
13111 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetValue",kwnames
,&obj0
)) goto fail
;
13112 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13113 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13116 result
= (int)((wxSlider
const *)arg1
)->GetValue();
13118 wxPyEndAllowThreads(__tstate
);
13119 if (PyErr_Occurred()) SWIG_fail
;
13121 resultobj
= SWIG_FromInt((int)result
);
13128 static PyObject
*_wrap_Slider_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13129 PyObject
*resultobj
;
13130 wxSlider
*arg1
= (wxSlider
*) 0 ;
13132 PyObject
* obj0
= 0 ;
13133 PyObject
* obj1
= 0 ;
13134 char *kwnames
[] = {
13135 (char *) "self",(char *) "value", NULL
13138 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
13139 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13140 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13141 arg2
= (int) SWIG_AsInt(obj1
);
13142 if (PyErr_Occurred()) SWIG_fail
;
13144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13145 (arg1
)->SetValue(arg2
);
13147 wxPyEndAllowThreads(__tstate
);
13148 if (PyErr_Occurred()) SWIG_fail
;
13150 Py_INCREF(Py_None
); resultobj
= Py_None
;
13157 static PyObject
*_wrap_Slider_SetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13158 PyObject
*resultobj
;
13159 wxSlider
*arg1
= (wxSlider
*) 0 ;
13162 PyObject
* obj0
= 0 ;
13163 PyObject
* obj1
= 0 ;
13164 PyObject
* obj2
= 0 ;
13165 char *kwnames
[] = {
13166 (char *) "self",(char *) "minValue",(char *) "maxValue", NULL
13169 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Slider_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13170 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13171 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13172 arg2
= (int) SWIG_AsInt(obj1
);
13173 if (PyErr_Occurred()) SWIG_fail
;
13174 arg3
= (int) SWIG_AsInt(obj2
);
13175 if (PyErr_Occurred()) SWIG_fail
;
13177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13178 (arg1
)->SetRange(arg2
,arg3
);
13180 wxPyEndAllowThreads(__tstate
);
13181 if (PyErr_Occurred()) SWIG_fail
;
13183 Py_INCREF(Py_None
); resultobj
= Py_None
;
13190 static PyObject
*_wrap_Slider_GetMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13191 PyObject
*resultobj
;
13192 wxSlider
*arg1
= (wxSlider
*) 0 ;
13194 PyObject
* obj0
= 0 ;
13195 char *kwnames
[] = {
13196 (char *) "self", NULL
13199 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetMin",kwnames
,&obj0
)) goto fail
;
13200 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13201 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13204 result
= (int)((wxSlider
const *)arg1
)->GetMin();
13206 wxPyEndAllowThreads(__tstate
);
13207 if (PyErr_Occurred()) SWIG_fail
;
13209 resultobj
= SWIG_FromInt((int)result
);
13216 static PyObject
*_wrap_Slider_GetMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13217 PyObject
*resultobj
;
13218 wxSlider
*arg1
= (wxSlider
*) 0 ;
13220 PyObject
* obj0
= 0 ;
13221 char *kwnames
[] = {
13222 (char *) "self", NULL
13225 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetMax",kwnames
,&obj0
)) goto fail
;
13226 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13227 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13230 result
= (int)((wxSlider
const *)arg1
)->GetMax();
13232 wxPyEndAllowThreads(__tstate
);
13233 if (PyErr_Occurred()) SWIG_fail
;
13235 resultobj
= SWIG_FromInt((int)result
);
13242 static PyObject
*_wrap_Slider_SetMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13243 PyObject
*resultobj
;
13244 wxSlider
*arg1
= (wxSlider
*) 0 ;
13246 PyObject
* obj0
= 0 ;
13247 PyObject
* obj1
= 0 ;
13248 char *kwnames
[] = {
13249 (char *) "self",(char *) "minValue", NULL
13252 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetMin",kwnames
,&obj0
,&obj1
)) goto fail
;
13253 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13254 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13255 arg2
= (int) SWIG_AsInt(obj1
);
13256 if (PyErr_Occurred()) SWIG_fail
;
13258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13259 (arg1
)->SetMin(arg2
);
13261 wxPyEndAllowThreads(__tstate
);
13262 if (PyErr_Occurred()) SWIG_fail
;
13264 Py_INCREF(Py_None
); resultobj
= Py_None
;
13271 static PyObject
*_wrap_Slider_SetMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13272 PyObject
*resultobj
;
13273 wxSlider
*arg1
= (wxSlider
*) 0 ;
13275 PyObject
* obj0
= 0 ;
13276 PyObject
* obj1
= 0 ;
13277 char *kwnames
[] = {
13278 (char *) "self",(char *) "maxValue", NULL
13281 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetMax",kwnames
,&obj0
,&obj1
)) goto fail
;
13282 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13283 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13284 arg2
= (int) SWIG_AsInt(obj1
);
13285 if (PyErr_Occurred()) SWIG_fail
;
13287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13288 (arg1
)->SetMax(arg2
);
13290 wxPyEndAllowThreads(__tstate
);
13291 if (PyErr_Occurred()) SWIG_fail
;
13293 Py_INCREF(Py_None
); resultobj
= Py_None
;
13300 static PyObject
*_wrap_Slider_SetLineSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13301 PyObject
*resultobj
;
13302 wxSlider
*arg1
= (wxSlider
*) 0 ;
13304 PyObject
* obj0
= 0 ;
13305 PyObject
* obj1
= 0 ;
13306 char *kwnames
[] = {
13307 (char *) "self",(char *) "lineSize", NULL
13310 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetLineSize",kwnames
,&obj0
,&obj1
)) goto fail
;
13311 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13312 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13313 arg2
= (int) SWIG_AsInt(obj1
);
13314 if (PyErr_Occurred()) SWIG_fail
;
13316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13317 (arg1
)->SetLineSize(arg2
);
13319 wxPyEndAllowThreads(__tstate
);
13320 if (PyErr_Occurred()) SWIG_fail
;
13322 Py_INCREF(Py_None
); resultobj
= Py_None
;
13329 static PyObject
*_wrap_Slider_SetPageSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13330 PyObject
*resultobj
;
13331 wxSlider
*arg1
= (wxSlider
*) 0 ;
13333 PyObject
* obj0
= 0 ;
13334 PyObject
* obj1
= 0 ;
13335 char *kwnames
[] = {
13336 (char *) "self",(char *) "pageSize", NULL
13339 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetPageSize",kwnames
,&obj0
,&obj1
)) goto fail
;
13340 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13341 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13342 arg2
= (int) SWIG_AsInt(obj1
);
13343 if (PyErr_Occurred()) SWIG_fail
;
13345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13346 (arg1
)->SetPageSize(arg2
);
13348 wxPyEndAllowThreads(__tstate
);
13349 if (PyErr_Occurred()) SWIG_fail
;
13351 Py_INCREF(Py_None
); resultobj
= Py_None
;
13358 static PyObject
*_wrap_Slider_GetLineSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13359 PyObject
*resultobj
;
13360 wxSlider
*arg1
= (wxSlider
*) 0 ;
13362 PyObject
* obj0
= 0 ;
13363 char *kwnames
[] = {
13364 (char *) "self", NULL
13367 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetLineSize",kwnames
,&obj0
)) goto fail
;
13368 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13369 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13372 result
= (int)((wxSlider
const *)arg1
)->GetLineSize();
13374 wxPyEndAllowThreads(__tstate
);
13375 if (PyErr_Occurred()) SWIG_fail
;
13377 resultobj
= SWIG_FromInt((int)result
);
13384 static PyObject
*_wrap_Slider_GetPageSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13385 PyObject
*resultobj
;
13386 wxSlider
*arg1
= (wxSlider
*) 0 ;
13388 PyObject
* obj0
= 0 ;
13389 char *kwnames
[] = {
13390 (char *) "self", NULL
13393 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetPageSize",kwnames
,&obj0
)) goto fail
;
13394 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13395 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13398 result
= (int)((wxSlider
const *)arg1
)->GetPageSize();
13400 wxPyEndAllowThreads(__tstate
);
13401 if (PyErr_Occurred()) SWIG_fail
;
13403 resultobj
= SWIG_FromInt((int)result
);
13410 static PyObject
*_wrap_Slider_SetThumbLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13411 PyObject
*resultobj
;
13412 wxSlider
*arg1
= (wxSlider
*) 0 ;
13414 PyObject
* obj0
= 0 ;
13415 PyObject
* obj1
= 0 ;
13416 char *kwnames
[] = {
13417 (char *) "self",(char *) "lenPixels", NULL
13420 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetThumbLength",kwnames
,&obj0
,&obj1
)) goto fail
;
13421 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13422 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13423 arg2
= (int) SWIG_AsInt(obj1
);
13424 if (PyErr_Occurred()) SWIG_fail
;
13426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13427 (arg1
)->SetThumbLength(arg2
);
13429 wxPyEndAllowThreads(__tstate
);
13430 if (PyErr_Occurred()) SWIG_fail
;
13432 Py_INCREF(Py_None
); resultobj
= Py_None
;
13439 static PyObject
*_wrap_Slider_GetThumbLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13440 PyObject
*resultobj
;
13441 wxSlider
*arg1
= (wxSlider
*) 0 ;
13443 PyObject
* obj0
= 0 ;
13444 char *kwnames
[] = {
13445 (char *) "self", NULL
13448 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetThumbLength",kwnames
,&obj0
)) goto fail
;
13449 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13450 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13453 result
= (int)((wxSlider
const *)arg1
)->GetThumbLength();
13455 wxPyEndAllowThreads(__tstate
);
13456 if (PyErr_Occurred()) SWIG_fail
;
13458 resultobj
= SWIG_FromInt((int)result
);
13465 static PyObject
*_wrap_Slider_SetTickFreq(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13466 PyObject
*resultobj
;
13467 wxSlider
*arg1
= (wxSlider
*) 0 ;
13469 int arg3
= (int) 1 ;
13470 PyObject
* obj0
= 0 ;
13471 PyObject
* obj1
= 0 ;
13472 PyObject
* obj2
= 0 ;
13473 char *kwnames
[] = {
13474 (char *) "self",(char *) "n",(char *) "pos", NULL
13477 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Slider_SetTickFreq",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13478 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13479 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13480 arg2
= (int) SWIG_AsInt(obj1
);
13481 if (PyErr_Occurred()) SWIG_fail
;
13483 arg3
= (int) SWIG_AsInt(obj2
);
13484 if (PyErr_Occurred()) SWIG_fail
;
13487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13488 (arg1
)->SetTickFreq(arg2
,arg3
);
13490 wxPyEndAllowThreads(__tstate
);
13491 if (PyErr_Occurred()) SWIG_fail
;
13493 Py_INCREF(Py_None
); resultobj
= Py_None
;
13500 static PyObject
*_wrap_Slider_GetTickFreq(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13501 PyObject
*resultobj
;
13502 wxSlider
*arg1
= (wxSlider
*) 0 ;
13504 PyObject
* obj0
= 0 ;
13505 char *kwnames
[] = {
13506 (char *) "self", NULL
13509 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetTickFreq",kwnames
,&obj0
)) goto fail
;
13510 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13511 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13514 result
= (int)((wxSlider
const *)arg1
)->GetTickFreq();
13516 wxPyEndAllowThreads(__tstate
);
13517 if (PyErr_Occurred()) SWIG_fail
;
13519 resultobj
= SWIG_FromInt((int)result
);
13526 static PyObject
*_wrap_Slider_ClearTicks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13527 PyObject
*resultobj
;
13528 wxSlider
*arg1
= (wxSlider
*) 0 ;
13529 PyObject
* obj0
= 0 ;
13530 char *kwnames
[] = {
13531 (char *) "self", NULL
13534 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_ClearTicks",kwnames
,&obj0
)) goto fail
;
13535 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13536 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13539 (arg1
)->ClearTicks();
13541 wxPyEndAllowThreads(__tstate
);
13542 if (PyErr_Occurred()) SWIG_fail
;
13544 Py_INCREF(Py_None
); resultobj
= Py_None
;
13551 static PyObject
*_wrap_Slider_SetTick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13552 PyObject
*resultobj
;
13553 wxSlider
*arg1
= (wxSlider
*) 0 ;
13555 PyObject
* obj0
= 0 ;
13556 PyObject
* obj1
= 0 ;
13557 char *kwnames
[] = {
13558 (char *) "self",(char *) "tickPos", NULL
13561 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetTick",kwnames
,&obj0
,&obj1
)) goto fail
;
13562 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13563 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13564 arg2
= (int) SWIG_AsInt(obj1
);
13565 if (PyErr_Occurred()) SWIG_fail
;
13567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13568 (arg1
)->SetTick(arg2
);
13570 wxPyEndAllowThreads(__tstate
);
13571 if (PyErr_Occurred()) SWIG_fail
;
13573 Py_INCREF(Py_None
); resultobj
= Py_None
;
13580 static PyObject
*_wrap_Slider_ClearSel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13581 PyObject
*resultobj
;
13582 wxSlider
*arg1
= (wxSlider
*) 0 ;
13583 PyObject
* obj0
= 0 ;
13584 char *kwnames
[] = {
13585 (char *) "self", NULL
13588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_ClearSel",kwnames
,&obj0
)) goto fail
;
13589 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13590 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13593 (arg1
)->ClearSel();
13595 wxPyEndAllowThreads(__tstate
);
13596 if (PyErr_Occurred()) SWIG_fail
;
13598 Py_INCREF(Py_None
); resultobj
= Py_None
;
13605 static PyObject
*_wrap_Slider_GetSelEnd(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13606 PyObject
*resultobj
;
13607 wxSlider
*arg1
= (wxSlider
*) 0 ;
13609 PyObject
* obj0
= 0 ;
13610 char *kwnames
[] = {
13611 (char *) "self", NULL
13614 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetSelEnd",kwnames
,&obj0
)) goto fail
;
13615 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13616 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13619 result
= (int)((wxSlider
const *)arg1
)->GetSelEnd();
13621 wxPyEndAllowThreads(__tstate
);
13622 if (PyErr_Occurred()) SWIG_fail
;
13624 resultobj
= SWIG_FromInt((int)result
);
13631 static PyObject
*_wrap_Slider_GetSelStart(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13632 PyObject
*resultobj
;
13633 wxSlider
*arg1
= (wxSlider
*) 0 ;
13635 PyObject
* obj0
= 0 ;
13636 char *kwnames
[] = {
13637 (char *) "self", NULL
13640 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetSelStart",kwnames
,&obj0
)) goto fail
;
13641 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13642 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13645 result
= (int)((wxSlider
const *)arg1
)->GetSelStart();
13647 wxPyEndAllowThreads(__tstate
);
13648 if (PyErr_Occurred()) SWIG_fail
;
13650 resultobj
= SWIG_FromInt((int)result
);
13657 static PyObject
*_wrap_Slider_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13658 PyObject
*resultobj
;
13659 wxSlider
*arg1
= (wxSlider
*) 0 ;
13662 PyObject
* obj0
= 0 ;
13663 PyObject
* obj1
= 0 ;
13664 PyObject
* obj2
= 0 ;
13665 char *kwnames
[] = {
13666 (char *) "self",(char *) "min",(char *) "max", NULL
13669 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Slider_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13670 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13671 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13672 arg2
= (int) SWIG_AsInt(obj1
);
13673 if (PyErr_Occurred()) SWIG_fail
;
13674 arg3
= (int) SWIG_AsInt(obj2
);
13675 if (PyErr_Occurred()) SWIG_fail
;
13677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13678 (arg1
)->SetSelection(arg2
,arg3
);
13680 wxPyEndAllowThreads(__tstate
);
13681 if (PyErr_Occurred()) SWIG_fail
;
13683 Py_INCREF(Py_None
); resultobj
= Py_None
;
13690 static PyObject
*_wrap_Slider_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13691 PyObject
*resultobj
;
13692 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
13693 wxVisualAttributes result
;
13694 PyObject
* obj0
= 0 ;
13695 char *kwnames
[] = {
13696 (char *) "variant", NULL
13699 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Slider_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
13701 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
13702 if (PyErr_Occurred()) SWIG_fail
;
13705 if (!wxPyCheckForApp()) SWIG_fail
;
13706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13707 result
= wxSlider::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
13709 wxPyEndAllowThreads(__tstate
);
13710 if (PyErr_Occurred()) SWIG_fail
;
13713 wxVisualAttributes
* resultptr
;
13714 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
13715 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
13723 static PyObject
* Slider_swigregister(PyObject
*self
, PyObject
*args
) {
13725 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13726 SWIG_TypeClientData(SWIGTYPE_p_wxSlider
, obj
);
13728 return Py_BuildValue((char *)"");
13730 static int _wrap_ToggleButtonNameStr_set(PyObject
*_val
) {
13731 PyErr_SetString(PyExc_TypeError
,"Variable ToggleButtonNameStr is read-only.");
13736 static PyObject
*_wrap_ToggleButtonNameStr_get() {
13741 pyobj
= PyUnicode_FromWideChar((&wxPyToggleButtonNameStr
)->c_str(), (&wxPyToggleButtonNameStr
)->Len());
13743 pyobj
= PyString_FromStringAndSize((&wxPyToggleButtonNameStr
)->c_str(), (&wxPyToggleButtonNameStr
)->Len());
13750 static PyObject
*_wrap_new_ToggleButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13751 PyObject
*resultobj
;
13752 wxWindow
*arg1
= (wxWindow
*) 0 ;
13753 int arg2
= (int) -1 ;
13754 wxString
const &arg3_defvalue
= wxPyEmptyString
;
13755 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
13756 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
13757 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
13758 wxSize
const &arg5_defvalue
= wxDefaultSize
;
13759 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
13760 long arg6
= (long) 0 ;
13761 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
13762 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
13763 wxString
const &arg8_defvalue
= wxPyToggleButtonNameStr
;
13764 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
13765 wxToggleButton
*result
;
13766 bool temp3
= False
;
13769 bool temp8
= False
;
13770 PyObject
* obj0
= 0 ;
13771 PyObject
* obj1
= 0 ;
13772 PyObject
* obj2
= 0 ;
13773 PyObject
* obj3
= 0 ;
13774 PyObject
* obj4
= 0 ;
13775 PyObject
* obj5
= 0 ;
13776 PyObject
* obj6
= 0 ;
13777 PyObject
* obj7
= 0 ;
13778 char *kwnames
[] = {
13779 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
13782 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_ToggleButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
13783 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
13784 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13786 arg2
= (int) SWIG_AsInt(obj1
);
13787 if (PyErr_Occurred()) SWIG_fail
;
13791 arg3
= wxString_in_helper(obj2
);
13792 if (arg3
== NULL
) SWIG_fail
;
13799 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
13805 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
13809 arg6
= (long) SWIG_AsLong(obj5
);
13810 if (PyErr_Occurred()) SWIG_fail
;
13813 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
13814 SWIG_POINTER_EXCEPTION
| 0)) == -1)
13816 if (arg7
== NULL
) {
13817 PyErr_SetString(PyExc_TypeError
,"null reference");
13823 arg8
= wxString_in_helper(obj7
);
13824 if (arg8
== NULL
) SWIG_fail
;
13829 if (!wxPyCheckForApp()) SWIG_fail
;
13830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13831 result
= (wxToggleButton
*)new wxToggleButton(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
13833 wxPyEndAllowThreads(__tstate
);
13834 if (PyErr_Occurred()) SWIG_fail
;
13836 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxToggleButton
, 1);
13859 static PyObject
*_wrap_new_PreToggleButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13860 PyObject
*resultobj
;
13861 wxToggleButton
*result
;
13862 char *kwnames
[] = {
13866 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreToggleButton",kwnames
)) goto fail
;
13868 if (!wxPyCheckForApp()) SWIG_fail
;
13869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13870 result
= (wxToggleButton
*)new wxToggleButton();
13872 wxPyEndAllowThreads(__tstate
);
13873 if (PyErr_Occurred()) SWIG_fail
;
13875 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxToggleButton
, 1);
13882 static PyObject
*_wrap_ToggleButton_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13883 PyObject
*resultobj
;
13884 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
13885 wxWindow
*arg2
= (wxWindow
*) 0 ;
13886 int arg3
= (int) -1 ;
13887 wxString
const &arg4_defvalue
= wxPyEmptyString
;
13888 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
13889 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
13890 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
13891 wxSize
const &arg6_defvalue
= wxDefaultSize
;
13892 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
13893 long arg7
= (long) 0 ;
13894 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
13895 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
13896 wxString
const &arg9_defvalue
= wxPyToggleButtonNameStr
;
13897 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
13899 bool temp4
= False
;
13902 bool temp9
= False
;
13903 PyObject
* obj0
= 0 ;
13904 PyObject
* obj1
= 0 ;
13905 PyObject
* obj2
= 0 ;
13906 PyObject
* obj3
= 0 ;
13907 PyObject
* obj4
= 0 ;
13908 PyObject
* obj5
= 0 ;
13909 PyObject
* obj6
= 0 ;
13910 PyObject
* obj7
= 0 ;
13911 PyObject
* obj8
= 0 ;
13912 char *kwnames
[] = {
13913 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
13916 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:ToggleButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
13917 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToggleButton
,
13918 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13919 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
13920 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13922 arg3
= (int) SWIG_AsInt(obj2
);
13923 if (PyErr_Occurred()) SWIG_fail
;
13927 arg4
= wxString_in_helper(obj3
);
13928 if (arg4
== NULL
) SWIG_fail
;
13935 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
13941 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
13945 arg7
= (long) SWIG_AsLong(obj6
);
13946 if (PyErr_Occurred()) SWIG_fail
;
13949 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
13950 SWIG_POINTER_EXCEPTION
| 0)) == -1)
13952 if (arg8
== NULL
) {
13953 PyErr_SetString(PyExc_TypeError
,"null reference");
13959 arg9
= wxString_in_helper(obj8
);
13960 if (arg9
== NULL
) SWIG_fail
;
13965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13966 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
13968 wxPyEndAllowThreads(__tstate
);
13969 if (PyErr_Occurred()) SWIG_fail
;
13972 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13996 static PyObject
*_wrap_ToggleButton_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13997 PyObject
*resultobj
;
13998 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
14000 PyObject
* obj0
= 0 ;
14001 PyObject
* obj1
= 0 ;
14002 char *kwnames
[] = {
14003 (char *) "self",(char *) "value", NULL
14006 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToggleButton_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
14007 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToggleButton
,
14008 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14009 arg2
= (bool) SWIG_AsBool(obj1
);
14010 if (PyErr_Occurred()) SWIG_fail
;
14012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14013 (arg1
)->SetValue(arg2
);
14015 wxPyEndAllowThreads(__tstate
);
14016 if (PyErr_Occurred()) SWIG_fail
;
14018 Py_INCREF(Py_None
); resultobj
= Py_None
;
14025 static PyObject
*_wrap_ToggleButton_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14026 PyObject
*resultobj
;
14027 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
14029 PyObject
* obj0
= 0 ;
14030 char *kwnames
[] = {
14031 (char *) "self", NULL
14034 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToggleButton_GetValue",kwnames
,&obj0
)) goto fail
;
14035 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToggleButton
,
14036 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14039 result
= (bool)((wxToggleButton
const *)arg1
)->GetValue();
14041 wxPyEndAllowThreads(__tstate
);
14042 if (PyErr_Occurred()) SWIG_fail
;
14045 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14053 static PyObject
*_wrap_ToggleButton_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14054 PyObject
*resultobj
;
14055 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
14056 wxString
*arg2
= 0 ;
14057 bool temp2
= False
;
14058 PyObject
* obj0
= 0 ;
14059 PyObject
* obj1
= 0 ;
14060 char *kwnames
[] = {
14061 (char *) "self",(char *) "label", NULL
14064 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToggleButton_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
14065 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToggleButton
,
14066 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14068 arg2
= wxString_in_helper(obj1
);
14069 if (arg2
== NULL
) SWIG_fail
;
14073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14074 (arg1
)->SetLabel((wxString
const &)*arg2
);
14076 wxPyEndAllowThreads(__tstate
);
14077 if (PyErr_Occurred()) SWIG_fail
;
14079 Py_INCREF(Py_None
); resultobj
= Py_None
;
14094 static PyObject
*_wrap_ToggleButton_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14095 PyObject
*resultobj
;
14096 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
14097 wxVisualAttributes result
;
14098 PyObject
* obj0
= 0 ;
14099 char *kwnames
[] = {
14100 (char *) "variant", NULL
14103 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ToggleButton_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
14105 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
14106 if (PyErr_Occurred()) SWIG_fail
;
14109 if (!wxPyCheckForApp()) SWIG_fail
;
14110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14111 result
= wxToggleButton::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
14113 wxPyEndAllowThreads(__tstate
);
14114 if (PyErr_Occurred()) SWIG_fail
;
14117 wxVisualAttributes
* resultptr
;
14118 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
14119 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
14127 static PyObject
* ToggleButton_swigregister(PyObject
*self
, PyObject
*args
) {
14129 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14130 SWIG_TypeClientData(SWIGTYPE_p_wxToggleButton
, obj
);
14132 return Py_BuildValue((char *)"");
14134 static int _wrap_NOTEBOOK_NAME_set(PyObject
*_val
) {
14135 PyErr_SetString(PyExc_TypeError
,"Variable NOTEBOOK_NAME is read-only.");
14140 static PyObject
*_wrap_NOTEBOOK_NAME_get() {
14145 pyobj
= PyUnicode_FromWideChar((&wxPyNOTEBOOK_NAME
)->c_str(), (&wxPyNOTEBOOK_NAME
)->Len());
14147 pyobj
= PyString_FromStringAndSize((&wxPyNOTEBOOK_NAME
)->c_str(), (&wxPyNOTEBOOK_NAME
)->Len());
14154 static PyObject
*_wrap_BookCtrl_GetPageCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14155 PyObject
*resultobj
;
14156 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14158 PyObject
* obj0
= 0 ;
14159 char *kwnames
[] = {
14160 (char *) "self", NULL
14163 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrl_GetPageCount",kwnames
,&obj0
)) goto fail
;
14164 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14165 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14168 result
= (size_t)((wxBookCtrl
const *)arg1
)->GetPageCount();
14170 wxPyEndAllowThreads(__tstate
);
14171 if (PyErr_Occurred()) SWIG_fail
;
14173 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
14180 static PyObject
*_wrap_BookCtrl_GetPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14181 PyObject
*resultobj
;
14182 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14185 PyObject
* obj0
= 0 ;
14186 PyObject
* obj1
= 0 ;
14187 char *kwnames
[] = {
14188 (char *) "self",(char *) "n", NULL
14191 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_GetPage",kwnames
,&obj0
,&obj1
)) goto fail
;
14192 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14193 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14194 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
14195 if (PyErr_Occurred()) SWIG_fail
;
14197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14198 result
= (wxWindow
*)(arg1
)->GetPage(arg2
);
14200 wxPyEndAllowThreads(__tstate
);
14201 if (PyErr_Occurred()) SWIG_fail
;
14204 resultobj
= wxPyMake_wxObject(result
);
14212 static PyObject
*_wrap_BookCtrl_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14213 PyObject
*resultobj
;
14214 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14216 PyObject
* obj0
= 0 ;
14217 char *kwnames
[] = {
14218 (char *) "self", NULL
14221 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrl_GetSelection",kwnames
,&obj0
)) goto fail
;
14222 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14223 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14226 result
= (int)((wxBookCtrl
const *)arg1
)->GetSelection();
14228 wxPyEndAllowThreads(__tstate
);
14229 if (PyErr_Occurred()) SWIG_fail
;
14231 resultobj
= SWIG_FromInt((int)result
);
14238 static PyObject
*_wrap_BookCtrl_SetPageText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14239 PyObject
*resultobj
;
14240 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14242 wxString
*arg3
= 0 ;
14244 bool temp3
= False
;
14245 PyObject
* obj0
= 0 ;
14246 PyObject
* obj1
= 0 ;
14247 PyObject
* obj2
= 0 ;
14248 char *kwnames
[] = {
14249 (char *) "self",(char *) "n",(char *) "strText", NULL
14252 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BookCtrl_SetPageText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14253 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14254 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14255 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
14256 if (PyErr_Occurred()) SWIG_fail
;
14258 arg3
= wxString_in_helper(obj2
);
14259 if (arg3
== NULL
) SWIG_fail
;
14263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14264 result
= (bool)(arg1
)->SetPageText(arg2
,(wxString
const &)*arg3
);
14266 wxPyEndAllowThreads(__tstate
);
14267 if (PyErr_Occurred()) SWIG_fail
;
14270 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14286 static PyObject
*_wrap_BookCtrl_GetPageText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14287 PyObject
*resultobj
;
14288 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14291 PyObject
* obj0
= 0 ;
14292 PyObject
* obj1
= 0 ;
14293 char *kwnames
[] = {
14294 (char *) "self",(char *) "n", NULL
14297 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_GetPageText",kwnames
,&obj0
,&obj1
)) goto fail
;
14298 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14299 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14300 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
14301 if (PyErr_Occurred()) SWIG_fail
;
14303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14304 result
= ((wxBookCtrl
const *)arg1
)->GetPageText(arg2
);
14306 wxPyEndAllowThreads(__tstate
);
14307 if (PyErr_Occurred()) SWIG_fail
;
14311 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14313 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14322 static PyObject
*_wrap_BookCtrl_SetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14323 PyObject
*resultobj
;
14324 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14325 wxImageList
*arg2
= (wxImageList
*) 0 ;
14326 PyObject
* obj0
= 0 ;
14327 PyObject
* obj1
= 0 ;
14328 char *kwnames
[] = {
14329 (char *) "self",(char *) "imageList", NULL
14332 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_SetImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
14333 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14334 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14335 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImageList
,
14336 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14339 (arg1
)->SetImageList(arg2
);
14341 wxPyEndAllowThreads(__tstate
);
14342 if (PyErr_Occurred()) SWIG_fail
;
14344 Py_INCREF(Py_None
); resultobj
= Py_None
;
14351 static PyObject
*_wrap_BookCtrl_AssignImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14352 PyObject
*resultobj
;
14353 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14354 wxImageList
*arg2
= (wxImageList
*) 0 ;
14355 PyObject
* obj0
= 0 ;
14356 PyObject
* obj1
= 0 ;
14357 char *kwnames
[] = {
14358 (char *) "self",(char *) "imageList", NULL
14361 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_AssignImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
14362 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14363 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14364 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImageList
,
14365 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
14367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14368 (arg1
)->AssignImageList(arg2
);
14370 wxPyEndAllowThreads(__tstate
);
14371 if (PyErr_Occurred()) SWIG_fail
;
14373 Py_INCREF(Py_None
); resultobj
= Py_None
;
14380 static PyObject
*_wrap_BookCtrl_GetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14381 PyObject
*resultobj
;
14382 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14383 wxImageList
*result
;
14384 PyObject
* obj0
= 0 ;
14385 char *kwnames
[] = {
14386 (char *) "self", NULL
14389 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrl_GetImageList",kwnames
,&obj0
)) goto fail
;
14390 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14391 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14394 result
= (wxImageList
*)((wxBookCtrl
const *)arg1
)->GetImageList();
14396 wxPyEndAllowThreads(__tstate
);
14397 if (PyErr_Occurred()) SWIG_fail
;
14400 resultobj
= wxPyMake_wxObject(result
);
14408 static PyObject
*_wrap_BookCtrl_GetPageImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14409 PyObject
*resultobj
;
14410 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14413 PyObject
* obj0
= 0 ;
14414 PyObject
* obj1
= 0 ;
14415 char *kwnames
[] = {
14416 (char *) "self",(char *) "n", NULL
14419 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_GetPageImage",kwnames
,&obj0
,&obj1
)) goto fail
;
14420 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14421 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14422 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
14423 if (PyErr_Occurred()) SWIG_fail
;
14425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14426 result
= (int)((wxBookCtrl
const *)arg1
)->GetPageImage(arg2
);
14428 wxPyEndAllowThreads(__tstate
);
14429 if (PyErr_Occurred()) SWIG_fail
;
14431 resultobj
= SWIG_FromInt((int)result
);
14438 static PyObject
*_wrap_BookCtrl_SetPageImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14439 PyObject
*resultobj
;
14440 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14444 PyObject
* obj0
= 0 ;
14445 PyObject
* obj1
= 0 ;
14446 PyObject
* obj2
= 0 ;
14447 char *kwnames
[] = {
14448 (char *) "self",(char *) "n",(char *) "imageId", NULL
14451 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BookCtrl_SetPageImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14452 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14453 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14454 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
14455 if (PyErr_Occurred()) SWIG_fail
;
14456 arg3
= (int) SWIG_AsInt(obj2
);
14457 if (PyErr_Occurred()) SWIG_fail
;
14459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14460 result
= (bool)(arg1
)->SetPageImage(arg2
,arg3
);
14462 wxPyEndAllowThreads(__tstate
);
14463 if (PyErr_Occurred()) SWIG_fail
;
14466 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14474 static PyObject
*_wrap_BookCtrl_SetPageSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14475 PyObject
*resultobj
;
14476 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14479 PyObject
* obj0
= 0 ;
14480 PyObject
* obj1
= 0 ;
14481 char *kwnames
[] = {
14482 (char *) "self",(char *) "size", NULL
14485 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_SetPageSize",kwnames
,&obj0
,&obj1
)) goto fail
;
14486 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14487 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14490 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
14493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14494 (arg1
)->SetPageSize((wxSize
const &)*arg2
);
14496 wxPyEndAllowThreads(__tstate
);
14497 if (PyErr_Occurred()) SWIG_fail
;
14499 Py_INCREF(Py_None
); resultobj
= Py_None
;
14506 static PyObject
*_wrap_BookCtrl_CalcSizeFromPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14507 PyObject
*resultobj
;
14508 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14512 PyObject
* obj0
= 0 ;
14513 PyObject
* obj1
= 0 ;
14514 char *kwnames
[] = {
14515 (char *) "self",(char *) "sizePage", NULL
14518 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_CalcSizeFromPage",kwnames
,&obj0
,&obj1
)) goto fail
;
14519 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14520 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14523 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
14526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14527 result
= ((wxBookCtrl
const *)arg1
)->CalcSizeFromPage((wxSize
const &)*arg2
);
14529 wxPyEndAllowThreads(__tstate
);
14530 if (PyErr_Occurred()) SWIG_fail
;
14533 wxSize
* resultptr
;
14534 resultptr
= new wxSize((wxSize
&) result
);
14535 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
14543 static PyObject
*_wrap_BookCtrl_DeletePage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14544 PyObject
*resultobj
;
14545 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14548 PyObject
* obj0
= 0 ;
14549 PyObject
* obj1
= 0 ;
14550 char *kwnames
[] = {
14551 (char *) "self",(char *) "n", NULL
14554 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_DeletePage",kwnames
,&obj0
,&obj1
)) goto fail
;
14555 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14556 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14557 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
14558 if (PyErr_Occurred()) SWIG_fail
;
14560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14561 result
= (bool)(arg1
)->DeletePage(arg2
);
14563 wxPyEndAllowThreads(__tstate
);
14564 if (PyErr_Occurred()) SWIG_fail
;
14567 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14575 static PyObject
*_wrap_BookCtrl_RemovePage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14576 PyObject
*resultobj
;
14577 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14580 PyObject
* obj0
= 0 ;
14581 PyObject
* obj1
= 0 ;
14582 char *kwnames
[] = {
14583 (char *) "self",(char *) "n", NULL
14586 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_RemovePage",kwnames
,&obj0
,&obj1
)) goto fail
;
14587 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14588 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14589 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
14590 if (PyErr_Occurred()) SWIG_fail
;
14592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14593 result
= (bool)(arg1
)->RemovePage(arg2
);
14595 wxPyEndAllowThreads(__tstate
);
14596 if (PyErr_Occurred()) SWIG_fail
;
14599 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14607 static PyObject
*_wrap_BookCtrl_DeleteAllPages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14608 PyObject
*resultobj
;
14609 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14611 PyObject
* obj0
= 0 ;
14612 char *kwnames
[] = {
14613 (char *) "self", NULL
14616 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrl_DeleteAllPages",kwnames
,&obj0
)) goto fail
;
14617 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14618 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14621 result
= (bool)(arg1
)->DeleteAllPages();
14623 wxPyEndAllowThreads(__tstate
);
14624 if (PyErr_Occurred()) SWIG_fail
;
14627 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14635 static PyObject
*_wrap_BookCtrl_AddPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14636 PyObject
*resultobj
;
14637 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14638 wxWindow
*arg2
= (wxWindow
*) 0 ;
14639 wxString
*arg3
= 0 ;
14640 bool arg4
= (bool) False
;
14641 int arg5
= (int) -1 ;
14643 bool temp3
= False
;
14644 PyObject
* obj0
= 0 ;
14645 PyObject
* obj1
= 0 ;
14646 PyObject
* obj2
= 0 ;
14647 PyObject
* obj3
= 0 ;
14648 PyObject
* obj4
= 0 ;
14649 char *kwnames
[] = {
14650 (char *) "self",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
14653 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:BookCtrl_AddPage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
14654 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14655 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14656 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
14657 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14659 arg3
= wxString_in_helper(obj2
);
14660 if (arg3
== NULL
) SWIG_fail
;
14664 arg4
= (bool) SWIG_AsBool(obj3
);
14665 if (PyErr_Occurred()) SWIG_fail
;
14668 arg5
= (int) SWIG_AsInt(obj4
);
14669 if (PyErr_Occurred()) SWIG_fail
;
14672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14673 result
= (bool)(arg1
)->AddPage(arg2
,(wxString
const &)*arg3
,arg4
,arg5
);
14675 wxPyEndAllowThreads(__tstate
);
14676 if (PyErr_Occurred()) SWIG_fail
;
14679 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14695 static PyObject
*_wrap_BookCtrl_InsertPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14696 PyObject
*resultobj
;
14697 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14699 wxWindow
*arg3
= (wxWindow
*) 0 ;
14700 wxString
*arg4
= 0 ;
14701 bool arg5
= (bool) False
;
14702 int arg6
= (int) -1 ;
14704 bool temp4
= False
;
14705 PyObject
* obj0
= 0 ;
14706 PyObject
* obj1
= 0 ;
14707 PyObject
* obj2
= 0 ;
14708 PyObject
* obj3
= 0 ;
14709 PyObject
* obj4
= 0 ;
14710 PyObject
* obj5
= 0 ;
14711 char *kwnames
[] = {
14712 (char *) "self",(char *) "n",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
14715 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:BookCtrl_InsertPage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
14716 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14717 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14718 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
14719 if (PyErr_Occurred()) SWIG_fail
;
14720 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
14721 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14723 arg4
= wxString_in_helper(obj3
);
14724 if (arg4
== NULL
) SWIG_fail
;
14728 arg5
= (bool) SWIG_AsBool(obj4
);
14729 if (PyErr_Occurred()) SWIG_fail
;
14732 arg6
= (int) SWIG_AsInt(obj5
);
14733 if (PyErr_Occurred()) SWIG_fail
;
14736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14737 result
= (bool)(arg1
)->InsertPage(arg2
,arg3
,(wxString
const &)*arg4
,arg5
,arg6
);
14739 wxPyEndAllowThreads(__tstate
);
14740 if (PyErr_Occurred()) SWIG_fail
;
14743 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14759 static PyObject
*_wrap_BookCtrl_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14760 PyObject
*resultobj
;
14761 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14764 PyObject
* obj0
= 0 ;
14765 PyObject
* obj1
= 0 ;
14766 char *kwnames
[] = {
14767 (char *) "self",(char *) "n", NULL
14770 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
14771 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14772 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14773 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
14774 if (PyErr_Occurred()) SWIG_fail
;
14776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14777 result
= (int)(arg1
)->SetSelection(arg2
);
14779 wxPyEndAllowThreads(__tstate
);
14780 if (PyErr_Occurred()) SWIG_fail
;
14782 resultobj
= SWIG_FromInt((int)result
);
14789 static PyObject
*_wrap_BookCtrl_AdvanceSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14790 PyObject
*resultobj
;
14791 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14792 bool arg2
= (bool) True
;
14793 PyObject
* obj0
= 0 ;
14794 PyObject
* obj1
= 0 ;
14795 char *kwnames
[] = {
14796 (char *) "self",(char *) "forward", NULL
14799 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:BookCtrl_AdvanceSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
14800 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14801 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14803 arg2
= (bool) SWIG_AsBool(obj1
);
14804 if (PyErr_Occurred()) SWIG_fail
;
14807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14808 (arg1
)->AdvanceSelection(arg2
);
14810 wxPyEndAllowThreads(__tstate
);
14811 if (PyErr_Occurred()) SWIG_fail
;
14813 Py_INCREF(Py_None
); resultobj
= Py_None
;
14820 static PyObject
*_wrap_BookCtrl_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14821 PyObject
*resultobj
;
14822 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
14823 wxVisualAttributes result
;
14824 PyObject
* obj0
= 0 ;
14825 char *kwnames
[] = {
14826 (char *) "variant", NULL
14829 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:BookCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
14831 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
14832 if (PyErr_Occurred()) SWIG_fail
;
14835 if (!wxPyCheckForApp()) SWIG_fail
;
14836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14837 result
= wxBookCtrl::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
14839 wxPyEndAllowThreads(__tstate
);
14840 if (PyErr_Occurred()) SWIG_fail
;
14843 wxVisualAttributes
* resultptr
;
14844 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
14845 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
14853 static PyObject
* BookCtrl_swigregister(PyObject
*self
, PyObject
*args
) {
14855 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14856 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrl
, obj
);
14858 return Py_BuildValue((char *)"");
14860 static PyObject
*_wrap_new_BookCtrlEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14861 PyObject
*resultobj
;
14862 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
14863 int arg2
= (int) 0 ;
14864 int arg3
= (int) -1 ;
14865 int arg4
= (int) -1 ;
14866 wxBookCtrlEvent
*result
;
14867 PyObject
* obj0
= 0 ;
14868 PyObject
* obj1
= 0 ;
14869 PyObject
* obj2
= 0 ;
14870 PyObject
* obj3
= 0 ;
14871 char *kwnames
[] = {
14872 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
14875 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_BookCtrlEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
14877 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
14878 if (PyErr_Occurred()) SWIG_fail
;
14881 arg2
= (int) SWIG_AsInt(obj1
);
14882 if (PyErr_Occurred()) SWIG_fail
;
14885 arg3
= (int) SWIG_AsInt(obj2
);
14886 if (PyErr_Occurred()) SWIG_fail
;
14889 arg4
= (int) SWIG_AsInt(obj3
);
14890 if (PyErr_Occurred()) SWIG_fail
;
14893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14894 result
= (wxBookCtrlEvent
*)new wxBookCtrlEvent(arg1
,arg2
,arg3
,arg4
);
14896 wxPyEndAllowThreads(__tstate
);
14897 if (PyErr_Occurred()) SWIG_fail
;
14899 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBookCtrlEvent
, 1);
14906 static PyObject
*_wrap_BookCtrlEvent_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14907 PyObject
*resultobj
;
14908 wxBookCtrlEvent
*arg1
= (wxBookCtrlEvent
*) 0 ;
14910 PyObject
* obj0
= 0 ;
14911 char *kwnames
[] = {
14912 (char *) "self", NULL
14915 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlEvent_GetSelection",kwnames
,&obj0
)) goto fail
;
14916 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrlEvent
,
14917 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14920 result
= (int)((wxBookCtrlEvent
const *)arg1
)->GetSelection();
14922 wxPyEndAllowThreads(__tstate
);
14923 if (PyErr_Occurred()) SWIG_fail
;
14925 resultobj
= SWIG_FromInt((int)result
);
14932 static PyObject
*_wrap_BookCtrlEvent_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14933 PyObject
*resultobj
;
14934 wxBookCtrlEvent
*arg1
= (wxBookCtrlEvent
*) 0 ;
14936 PyObject
* obj0
= 0 ;
14937 PyObject
* obj1
= 0 ;
14938 char *kwnames
[] = {
14939 (char *) "self",(char *) "nSel", NULL
14942 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlEvent_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
14943 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrlEvent
,
14944 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14945 arg2
= (int) SWIG_AsInt(obj1
);
14946 if (PyErr_Occurred()) SWIG_fail
;
14948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14949 (arg1
)->SetSelection(arg2
);
14951 wxPyEndAllowThreads(__tstate
);
14952 if (PyErr_Occurred()) SWIG_fail
;
14954 Py_INCREF(Py_None
); resultobj
= Py_None
;
14961 static PyObject
*_wrap_BookCtrlEvent_GetOldSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14962 PyObject
*resultobj
;
14963 wxBookCtrlEvent
*arg1
= (wxBookCtrlEvent
*) 0 ;
14965 PyObject
* obj0
= 0 ;
14966 char *kwnames
[] = {
14967 (char *) "self", NULL
14970 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlEvent_GetOldSelection",kwnames
,&obj0
)) goto fail
;
14971 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrlEvent
,
14972 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14975 result
= (int)((wxBookCtrlEvent
const *)arg1
)->GetOldSelection();
14977 wxPyEndAllowThreads(__tstate
);
14978 if (PyErr_Occurred()) SWIG_fail
;
14980 resultobj
= SWIG_FromInt((int)result
);
14987 static PyObject
*_wrap_BookCtrlEvent_SetOldSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14988 PyObject
*resultobj
;
14989 wxBookCtrlEvent
*arg1
= (wxBookCtrlEvent
*) 0 ;
14991 PyObject
* obj0
= 0 ;
14992 PyObject
* obj1
= 0 ;
14993 char *kwnames
[] = {
14994 (char *) "self",(char *) "nOldSel", NULL
14997 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlEvent_SetOldSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
14998 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrlEvent
,
14999 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15000 arg2
= (int) SWIG_AsInt(obj1
);
15001 if (PyErr_Occurred()) SWIG_fail
;
15003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15004 (arg1
)->SetOldSelection(arg2
);
15006 wxPyEndAllowThreads(__tstate
);
15007 if (PyErr_Occurred()) SWIG_fail
;
15009 Py_INCREF(Py_None
); resultobj
= Py_None
;
15016 static PyObject
* BookCtrlEvent_swigregister(PyObject
*self
, PyObject
*args
) {
15018 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15019 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrlEvent
, obj
);
15021 return Py_BuildValue((char *)"");
15023 static PyObject
*_wrap_new_Notebook(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15024 PyObject
*resultobj
;
15025 wxWindow
*arg1
= (wxWindow
*) 0 ;
15026 int arg2
= (int) -1 ;
15027 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
15028 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
15029 wxSize
const &arg4_defvalue
= wxDefaultSize
;
15030 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
15031 long arg5
= (long) 0 ;
15032 wxString
const &arg6_defvalue
= wxPyNOTEBOOK_NAME
;
15033 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
15034 wxNotebook
*result
;
15037 bool temp6
= False
;
15038 PyObject
* obj0
= 0 ;
15039 PyObject
* obj1
= 0 ;
15040 PyObject
* obj2
= 0 ;
15041 PyObject
* obj3
= 0 ;
15042 PyObject
* obj4
= 0 ;
15043 PyObject
* obj5
= 0 ;
15044 char *kwnames
[] = {
15045 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15048 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_Notebook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
15049 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
15050 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15052 arg2
= (int) SWIG_AsInt(obj1
);
15053 if (PyErr_Occurred()) SWIG_fail
;
15058 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
15064 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
15068 arg5
= (long) SWIG_AsLong(obj4
);
15069 if (PyErr_Occurred()) SWIG_fail
;
15073 arg6
= wxString_in_helper(obj5
);
15074 if (arg6
== NULL
) SWIG_fail
;
15079 if (!wxPyCheckForApp()) SWIG_fail
;
15080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15081 result
= (wxNotebook
*)new wxNotebook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
15083 wxPyEndAllowThreads(__tstate
);
15084 if (PyErr_Occurred()) SWIG_fail
;
15087 resultobj
= wxPyMake_wxObject(result
);
15103 static PyObject
*_wrap_new_PreNotebook(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15104 PyObject
*resultobj
;
15105 wxNotebook
*result
;
15106 char *kwnames
[] = {
15110 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreNotebook",kwnames
)) goto fail
;
15112 if (!wxPyCheckForApp()) SWIG_fail
;
15113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15114 result
= (wxNotebook
*)new wxNotebook();
15116 wxPyEndAllowThreads(__tstate
);
15117 if (PyErr_Occurred()) SWIG_fail
;
15120 resultobj
= wxPyMake_wxObject(result
);
15128 static PyObject
*_wrap_Notebook_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15129 PyObject
*resultobj
;
15130 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
15131 wxWindow
*arg2
= (wxWindow
*) 0 ;
15132 int arg3
= (int) -1 ;
15133 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
15134 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
15135 wxSize
const &arg5_defvalue
= wxDefaultSize
;
15136 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
15137 long arg6
= (long) 0 ;
15138 wxString
const &arg7_defvalue
= wxPyNOTEBOOK_NAME
;
15139 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
15143 bool temp7
= False
;
15144 PyObject
* obj0
= 0 ;
15145 PyObject
* obj1
= 0 ;
15146 PyObject
* obj2
= 0 ;
15147 PyObject
* obj3
= 0 ;
15148 PyObject
* obj4
= 0 ;
15149 PyObject
* obj5
= 0 ;
15150 PyObject
* obj6
= 0 ;
15151 char *kwnames
[] = {
15152 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15155 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:Notebook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
15156 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebook
,
15157 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15158 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
15159 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15161 arg3
= (int) SWIG_AsInt(obj2
);
15162 if (PyErr_Occurred()) SWIG_fail
;
15167 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
15173 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
15177 arg6
= (long) SWIG_AsLong(obj5
);
15178 if (PyErr_Occurred()) SWIG_fail
;
15182 arg7
= wxString_in_helper(obj6
);
15183 if (arg7
== NULL
) SWIG_fail
;
15188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15189 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
15191 wxPyEndAllowThreads(__tstate
);
15192 if (PyErr_Occurred()) SWIG_fail
;
15195 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15211 static PyObject
*_wrap_Notebook_GetRowCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15212 PyObject
*resultobj
;
15213 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
15215 PyObject
* obj0
= 0 ;
15216 char *kwnames
[] = {
15217 (char *) "self", NULL
15220 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Notebook_GetRowCount",kwnames
,&obj0
)) goto fail
;
15221 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebook
,
15222 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15225 result
= (int)((wxNotebook
const *)arg1
)->GetRowCount();
15227 wxPyEndAllowThreads(__tstate
);
15228 if (PyErr_Occurred()) SWIG_fail
;
15230 resultobj
= SWIG_FromInt((int)result
);
15237 static PyObject
*_wrap_Notebook_SetPadding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15238 PyObject
*resultobj
;
15239 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
15242 PyObject
* obj0
= 0 ;
15243 PyObject
* obj1
= 0 ;
15244 char *kwnames
[] = {
15245 (char *) "self",(char *) "padding", NULL
15248 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_SetPadding",kwnames
,&obj0
,&obj1
)) goto fail
;
15249 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebook
,
15250 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15253 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
15256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15257 (arg1
)->SetPadding((wxSize
const &)*arg2
);
15259 wxPyEndAllowThreads(__tstate
);
15260 if (PyErr_Occurred()) SWIG_fail
;
15262 Py_INCREF(Py_None
); resultobj
= Py_None
;
15269 static PyObject
*_wrap_Notebook_SetTabSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15270 PyObject
*resultobj
;
15271 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
15274 PyObject
* obj0
= 0 ;
15275 PyObject
* obj1
= 0 ;
15276 char *kwnames
[] = {
15277 (char *) "self",(char *) "sz", NULL
15280 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_SetTabSize",kwnames
,&obj0
,&obj1
)) goto fail
;
15281 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebook
,
15282 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15285 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
15288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15289 (arg1
)->SetTabSize((wxSize
const &)*arg2
);
15291 wxPyEndAllowThreads(__tstate
);
15292 if (PyErr_Occurred()) SWIG_fail
;
15294 Py_INCREF(Py_None
); resultobj
= Py_None
;
15301 static PyObject
*_wrap_Notebook_HitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15302 PyObject
*resultobj
;
15303 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
15304 wxPoint
*arg2
= 0 ;
15305 long *arg3
= (long *) 0 ;
15309 PyObject
* obj0
= 0 ;
15310 PyObject
* obj1
= 0 ;
15311 char *kwnames
[] = {
15312 (char *) "self",(char *) "pt", NULL
15316 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
15317 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebook
,
15318 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15321 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
15324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15325 result
= (int)((wxNotebook
const *)arg1
)->HitTest((wxPoint
const &)*arg2
,arg3
);
15327 wxPyEndAllowThreads(__tstate
);
15328 if (PyErr_Occurred()) SWIG_fail
;
15330 resultobj
= SWIG_FromInt((int)result
);
15332 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
15333 resultobj
= t_output_helper(resultobj
,o
);
15341 static PyObject
*_wrap_Notebook_CalcSizeFromPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15342 PyObject
*resultobj
;
15343 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
15347 PyObject
* obj0
= 0 ;
15348 PyObject
* obj1
= 0 ;
15349 char *kwnames
[] = {
15350 (char *) "self",(char *) "sizePage", NULL
15353 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_CalcSizeFromPage",kwnames
,&obj0
,&obj1
)) goto fail
;
15354 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebook
,
15355 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15358 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
15361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15362 result
= ((wxNotebook
const *)arg1
)->CalcSizeFromPage((wxSize
const &)*arg2
);
15364 wxPyEndAllowThreads(__tstate
);
15365 if (PyErr_Occurred()) SWIG_fail
;
15368 wxSize
* resultptr
;
15369 resultptr
= new wxSize((wxSize
&) result
);
15370 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
15378 static PyObject
*_wrap_Notebook_ApplyThemeBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15379 PyObject
*resultobj
;
15380 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
15381 wxWindow
*arg2
= (wxWindow
*) 0 ;
15382 wxColour
*arg3
= 0 ;
15384 PyObject
* obj0
= 0 ;
15385 PyObject
* obj1
= 0 ;
15386 PyObject
* obj2
= 0 ;
15387 char *kwnames
[] = {
15388 (char *) "self",(char *) "window",(char *) "colour", NULL
15391 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Notebook_ApplyThemeBackground",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15392 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebook
,
15393 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15394 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
15395 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15398 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
15401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15402 (arg1
)->ApplyThemeBackground(arg2
,(wxColour
const &)*arg3
);
15404 wxPyEndAllowThreads(__tstate
);
15405 if (PyErr_Occurred()) SWIG_fail
;
15407 Py_INCREF(Py_None
); resultobj
= Py_None
;
15414 static PyObject
*_wrap_Notebook_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15415 PyObject
*resultobj
;
15416 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
15417 wxVisualAttributes result
;
15418 PyObject
* obj0
= 0 ;
15419 char *kwnames
[] = {
15420 (char *) "variant", NULL
15423 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Notebook_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
15425 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
15426 if (PyErr_Occurred()) SWIG_fail
;
15429 if (!wxPyCheckForApp()) SWIG_fail
;
15430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15431 result
= wxNotebook::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
15433 wxPyEndAllowThreads(__tstate
);
15434 if (PyErr_Occurred()) SWIG_fail
;
15437 wxVisualAttributes
* resultptr
;
15438 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
15439 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
15447 static PyObject
* Notebook_swigregister(PyObject
*self
, PyObject
*args
) {
15449 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15450 SWIG_TypeClientData(SWIGTYPE_p_wxNotebook
, obj
);
15452 return Py_BuildValue((char *)"");
15454 static PyObject
*_wrap_new_NotebookEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15455 PyObject
*resultobj
;
15456 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
15457 int arg2
= (int) 0 ;
15458 int arg3
= (int) -1 ;
15459 int arg4
= (int) -1 ;
15460 wxNotebookEvent
*result
;
15461 PyObject
* obj0
= 0 ;
15462 PyObject
* obj1
= 0 ;
15463 PyObject
* obj2
= 0 ;
15464 PyObject
* obj3
= 0 ;
15465 char *kwnames
[] = {
15466 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
15469 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_NotebookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
15471 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
15472 if (PyErr_Occurred()) SWIG_fail
;
15475 arg2
= (int) SWIG_AsInt(obj1
);
15476 if (PyErr_Occurred()) SWIG_fail
;
15479 arg3
= (int) SWIG_AsInt(obj2
);
15480 if (PyErr_Occurred()) SWIG_fail
;
15483 arg4
= (int) SWIG_AsInt(obj3
);
15484 if (PyErr_Occurred()) SWIG_fail
;
15487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15488 result
= (wxNotebookEvent
*)new wxNotebookEvent(arg1
,arg2
,arg3
,arg4
);
15490 wxPyEndAllowThreads(__tstate
);
15491 if (PyErr_Occurred()) SWIG_fail
;
15493 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNotebookEvent
, 1);
15500 static PyObject
* NotebookEvent_swigregister(PyObject
*self
, PyObject
*args
) {
15502 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15503 SWIG_TypeClientData(SWIGTYPE_p_wxNotebookEvent
, obj
);
15505 return Py_BuildValue((char *)"");
15507 static PyObject
*_wrap_new_Listbook(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15508 PyObject
*resultobj
;
15509 wxWindow
*arg1
= (wxWindow
*) 0 ;
15510 int arg2
= (int) -1 ;
15511 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
15512 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
15513 wxSize
const &arg4_defvalue
= wxDefaultSize
;
15514 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
15515 long arg5
= (long) 0 ;
15516 wxString
const &arg6_defvalue
= wxPyEmptyString
;
15517 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
15518 wxListbook
*result
;
15521 bool temp6
= False
;
15522 PyObject
* obj0
= 0 ;
15523 PyObject
* obj1
= 0 ;
15524 PyObject
* obj2
= 0 ;
15525 PyObject
* obj3
= 0 ;
15526 PyObject
* obj4
= 0 ;
15527 PyObject
* obj5
= 0 ;
15528 char *kwnames
[] = {
15529 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15532 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_Listbook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
15533 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
15534 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15536 arg2
= (int) SWIG_AsInt(obj1
);
15537 if (PyErr_Occurred()) SWIG_fail
;
15542 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
15548 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
15552 arg5
= (long) SWIG_AsLong(obj4
);
15553 if (PyErr_Occurred()) SWIG_fail
;
15557 arg6
= wxString_in_helper(obj5
);
15558 if (arg6
== NULL
) SWIG_fail
;
15563 if (!wxPyCheckForApp()) SWIG_fail
;
15564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15565 result
= (wxListbook
*)new wxListbook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
15567 wxPyEndAllowThreads(__tstate
);
15568 if (PyErr_Occurred()) SWIG_fail
;
15570 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListbook
, 1);
15585 static PyObject
*_wrap_new_PreListbook(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15586 PyObject
*resultobj
;
15587 wxListbook
*result
;
15588 char *kwnames
[] = {
15592 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreListbook",kwnames
)) goto fail
;
15594 if (!wxPyCheckForApp()) SWIG_fail
;
15595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15596 result
= (wxListbook
*)new wxListbook();
15598 wxPyEndAllowThreads(__tstate
);
15599 if (PyErr_Occurred()) SWIG_fail
;
15601 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListbook
, 1);
15608 static PyObject
*_wrap_Listbook_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15609 PyObject
*resultobj
;
15610 wxListbook
*arg1
= (wxListbook
*) 0 ;
15611 wxWindow
*arg2
= (wxWindow
*) 0 ;
15612 int arg3
= (int) -1 ;
15613 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
15614 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
15615 wxSize
const &arg5_defvalue
= wxDefaultSize
;
15616 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
15617 long arg6
= (long) 0 ;
15618 wxString
const &arg7_defvalue
= wxPyEmptyString
;
15619 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
15623 bool temp7
= False
;
15624 PyObject
* obj0
= 0 ;
15625 PyObject
* obj1
= 0 ;
15626 PyObject
* obj2
= 0 ;
15627 PyObject
* obj3
= 0 ;
15628 PyObject
* obj4
= 0 ;
15629 PyObject
* obj5
= 0 ;
15630 PyObject
* obj6
= 0 ;
15631 char *kwnames
[] = {
15632 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15635 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:Listbook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
15636 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListbook
,
15637 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15638 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
15639 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15641 arg3
= (int) SWIG_AsInt(obj2
);
15642 if (PyErr_Occurred()) SWIG_fail
;
15647 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
15653 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
15657 arg6
= (long) SWIG_AsLong(obj5
);
15658 if (PyErr_Occurred()) SWIG_fail
;
15662 arg7
= wxString_in_helper(obj6
);
15663 if (arg7
== NULL
) SWIG_fail
;
15668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15669 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
15671 wxPyEndAllowThreads(__tstate
);
15672 if (PyErr_Occurred()) SWIG_fail
;
15675 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15691 static PyObject
*_wrap_Listbook_IsVertical(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15692 PyObject
*resultobj
;
15693 wxListbook
*arg1
= (wxListbook
*) 0 ;
15695 PyObject
* obj0
= 0 ;
15696 char *kwnames
[] = {
15697 (char *) "self", NULL
15700 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Listbook_IsVertical",kwnames
,&obj0
)) goto fail
;
15701 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListbook
,
15702 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15705 result
= (bool)((wxListbook
const *)arg1
)->IsVertical();
15707 wxPyEndAllowThreads(__tstate
);
15708 if (PyErr_Occurred()) SWIG_fail
;
15711 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15719 static PyObject
* Listbook_swigregister(PyObject
*self
, PyObject
*args
) {
15721 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15722 SWIG_TypeClientData(SWIGTYPE_p_wxListbook
, obj
);
15724 return Py_BuildValue((char *)"");
15726 static PyObject
*_wrap_new_ListbookEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15727 PyObject
*resultobj
;
15728 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
15729 int arg2
= (int) 0 ;
15730 int arg3
= (int) -1 ;
15731 int arg4
= (int) -1 ;
15732 wxListbookEvent
*result
;
15733 PyObject
* obj0
= 0 ;
15734 PyObject
* obj1
= 0 ;
15735 PyObject
* obj2
= 0 ;
15736 PyObject
* obj3
= 0 ;
15737 char *kwnames
[] = {
15738 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
15741 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_ListbookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
15743 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
15744 if (PyErr_Occurred()) SWIG_fail
;
15747 arg2
= (int) SWIG_AsInt(obj1
);
15748 if (PyErr_Occurred()) SWIG_fail
;
15751 arg3
= (int) SWIG_AsInt(obj2
);
15752 if (PyErr_Occurred()) SWIG_fail
;
15755 arg4
= (int) SWIG_AsInt(obj3
);
15756 if (PyErr_Occurred()) SWIG_fail
;
15759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15760 result
= (wxListbookEvent
*)new wxListbookEvent(arg1
,arg2
,arg3
,arg4
);
15762 wxPyEndAllowThreads(__tstate
);
15763 if (PyErr_Occurred()) SWIG_fail
;
15765 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListbookEvent
, 1);
15772 static PyObject
* ListbookEvent_swigregister(PyObject
*self
, PyObject
*args
) {
15774 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15775 SWIG_TypeClientData(SWIGTYPE_p_wxListbookEvent
, obj
);
15777 return Py_BuildValue((char *)"");
15779 static PyObject
*_wrap_new_BookCtrlSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15780 PyObject
*resultobj
;
15781 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
15782 wxBookCtrlSizer
*result
;
15783 PyObject
* obj0
= 0 ;
15784 char *kwnames
[] = {
15785 (char *) "nb", NULL
15788 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BookCtrlSizer",kwnames
,&obj0
)) goto fail
;
15789 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
15790 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15793 result
= (wxBookCtrlSizer
*)new wxBookCtrlSizer(arg1
);
15795 wxPyEndAllowThreads(__tstate
);
15796 if (PyErr_Occurred()) SWIG_fail
;
15798 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBookCtrlSizer
, 1);
15805 static PyObject
*_wrap_BookCtrlSizer_RecalcSizes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15806 PyObject
*resultobj
;
15807 wxBookCtrlSizer
*arg1
= (wxBookCtrlSizer
*) 0 ;
15808 PyObject
* obj0
= 0 ;
15809 char *kwnames
[] = {
15810 (char *) "self", NULL
15813 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlSizer_RecalcSizes",kwnames
,&obj0
)) goto fail
;
15814 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrlSizer
,
15815 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15818 (arg1
)->RecalcSizes();
15820 wxPyEndAllowThreads(__tstate
);
15821 if (PyErr_Occurred()) SWIG_fail
;
15823 Py_INCREF(Py_None
); resultobj
= Py_None
;
15830 static PyObject
*_wrap_BookCtrlSizer_CalcMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15831 PyObject
*resultobj
;
15832 wxBookCtrlSizer
*arg1
= (wxBookCtrlSizer
*) 0 ;
15834 PyObject
* obj0
= 0 ;
15835 char *kwnames
[] = {
15836 (char *) "self", NULL
15839 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlSizer_CalcMin",kwnames
,&obj0
)) goto fail
;
15840 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrlSizer
,
15841 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15844 result
= (arg1
)->CalcMin();
15846 wxPyEndAllowThreads(__tstate
);
15847 if (PyErr_Occurred()) SWIG_fail
;
15850 wxSize
* resultptr
;
15851 resultptr
= new wxSize((wxSize
&) result
);
15852 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
15860 static PyObject
*_wrap_BookCtrlSizer_GetControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15861 PyObject
*resultobj
;
15862 wxBookCtrlSizer
*arg1
= (wxBookCtrlSizer
*) 0 ;
15863 wxBookCtrl
*result
;
15864 PyObject
* obj0
= 0 ;
15865 char *kwnames
[] = {
15866 (char *) "self", NULL
15869 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlSizer_GetControl",kwnames
,&obj0
)) goto fail
;
15870 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrlSizer
,
15871 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15874 result
= (wxBookCtrl
*)(arg1
)->GetControl();
15876 wxPyEndAllowThreads(__tstate
);
15877 if (PyErr_Occurred()) SWIG_fail
;
15879 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBookCtrl
, 0);
15886 static PyObject
* BookCtrlSizer_swigregister(PyObject
*self
, PyObject
*args
) {
15888 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15889 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrlSizer
, obj
);
15891 return Py_BuildValue((char *)"");
15893 static PyObject
*_wrap_new_NotebookSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15894 PyObject
*resultobj
;
15895 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
15896 wxNotebookSizer
*result
;
15897 PyObject
* obj0
= 0 ;
15898 char *kwnames
[] = {
15899 (char *) "nb", NULL
15902 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_NotebookSizer",kwnames
,&obj0
)) goto fail
;
15903 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebook
,
15904 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15907 result
= (wxNotebookSizer
*)new wxNotebookSizer(arg1
);
15909 wxPyEndAllowThreads(__tstate
);
15910 if (PyErr_Occurred()) SWIG_fail
;
15912 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNotebookSizer
, 1);
15919 static PyObject
*_wrap_NotebookSizer_RecalcSizes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15920 PyObject
*resultobj
;
15921 wxNotebookSizer
*arg1
= (wxNotebookSizer
*) 0 ;
15922 PyObject
* obj0
= 0 ;
15923 char *kwnames
[] = {
15924 (char *) "self", NULL
15927 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotebookSizer_RecalcSizes",kwnames
,&obj0
)) goto fail
;
15928 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebookSizer
,
15929 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15932 (arg1
)->RecalcSizes();
15934 wxPyEndAllowThreads(__tstate
);
15935 if (PyErr_Occurred()) SWIG_fail
;
15937 Py_INCREF(Py_None
); resultobj
= Py_None
;
15944 static PyObject
*_wrap_NotebookSizer_CalcMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15945 PyObject
*resultobj
;
15946 wxNotebookSizer
*arg1
= (wxNotebookSizer
*) 0 ;
15948 PyObject
* obj0
= 0 ;
15949 char *kwnames
[] = {
15950 (char *) "self", NULL
15953 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotebookSizer_CalcMin",kwnames
,&obj0
)) goto fail
;
15954 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebookSizer
,
15955 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15958 result
= (arg1
)->CalcMin();
15960 wxPyEndAllowThreads(__tstate
);
15961 if (PyErr_Occurred()) SWIG_fail
;
15964 wxSize
* resultptr
;
15965 resultptr
= new wxSize((wxSize
&) result
);
15966 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
15974 static PyObject
*_wrap_NotebookSizer_GetNotebook(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15975 PyObject
*resultobj
;
15976 wxNotebookSizer
*arg1
= (wxNotebookSizer
*) 0 ;
15977 wxNotebook
*result
;
15978 PyObject
* obj0
= 0 ;
15979 char *kwnames
[] = {
15980 (char *) "self", NULL
15983 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotebookSizer_GetNotebook",kwnames
,&obj0
)) goto fail
;
15984 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebookSizer
,
15985 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15988 result
= (wxNotebook
*)(arg1
)->GetNotebook();
15990 wxPyEndAllowThreads(__tstate
);
15991 if (PyErr_Occurred()) SWIG_fail
;
15994 resultobj
= wxPyMake_wxObject(result
);
16002 static PyObject
* NotebookSizer_swigregister(PyObject
*self
, PyObject
*args
) {
16004 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16005 SWIG_TypeClientData(SWIGTYPE_p_wxNotebookSizer
, obj
);
16007 return Py_BuildValue((char *)"");
16009 static PyObject
*_wrap_ToolBarToolBase_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16010 PyObject
*resultobj
;
16011 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16013 PyObject
* obj0
= 0 ;
16014 char *kwnames
[] = {
16015 (char *) "self", NULL
16018 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetId",kwnames
,&obj0
)) goto fail
;
16019 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16020 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16023 result
= (int)(arg1
)->GetId();
16025 wxPyEndAllowThreads(__tstate
);
16026 if (PyErr_Occurred()) SWIG_fail
;
16028 resultobj
= SWIG_FromInt((int)result
);
16035 static PyObject
*_wrap_ToolBarToolBase_GetControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16036 PyObject
*resultobj
;
16037 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16039 PyObject
* obj0
= 0 ;
16040 char *kwnames
[] = {
16041 (char *) "self", NULL
16044 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetControl",kwnames
,&obj0
)) goto fail
;
16045 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16046 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16049 result
= (wxControl
*)(arg1
)->GetControl();
16051 wxPyEndAllowThreads(__tstate
);
16052 if (PyErr_Occurred()) SWIG_fail
;
16055 resultobj
= wxPyMake_wxObject(result
);
16063 static PyObject
*_wrap_ToolBarToolBase_GetToolBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16064 PyObject
*resultobj
;
16065 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16066 wxToolBarBase
*result
;
16067 PyObject
* obj0
= 0 ;
16068 char *kwnames
[] = {
16069 (char *) "self", NULL
16072 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetToolBar",kwnames
,&obj0
)) goto fail
;
16073 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16074 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16077 result
= (wxToolBarBase
*)(arg1
)->GetToolBar();
16079 wxPyEndAllowThreads(__tstate
);
16080 if (PyErr_Occurred()) SWIG_fail
;
16083 resultobj
= wxPyMake_wxObject(result
);
16091 static PyObject
*_wrap_ToolBarToolBase_IsButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16092 PyObject
*resultobj
;
16093 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16095 PyObject
* obj0
= 0 ;
16096 char *kwnames
[] = {
16097 (char *) "self", NULL
16100 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsButton",kwnames
,&obj0
)) goto fail
;
16101 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16102 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16105 result
= (int)(arg1
)->IsButton();
16107 wxPyEndAllowThreads(__tstate
);
16108 if (PyErr_Occurred()) SWIG_fail
;
16110 resultobj
= SWIG_FromInt((int)result
);
16117 static PyObject
*_wrap_ToolBarToolBase_IsControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16118 PyObject
*resultobj
;
16119 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16121 PyObject
* obj0
= 0 ;
16122 char *kwnames
[] = {
16123 (char *) "self", NULL
16126 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsControl",kwnames
,&obj0
)) goto fail
;
16127 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16128 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16131 result
= (int)(arg1
)->IsControl();
16133 wxPyEndAllowThreads(__tstate
);
16134 if (PyErr_Occurred()) SWIG_fail
;
16136 resultobj
= SWIG_FromInt((int)result
);
16143 static PyObject
*_wrap_ToolBarToolBase_IsSeparator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16144 PyObject
*resultobj
;
16145 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16147 PyObject
* obj0
= 0 ;
16148 char *kwnames
[] = {
16149 (char *) "self", NULL
16152 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsSeparator",kwnames
,&obj0
)) goto fail
;
16153 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16154 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16157 result
= (int)(arg1
)->IsSeparator();
16159 wxPyEndAllowThreads(__tstate
);
16160 if (PyErr_Occurred()) SWIG_fail
;
16162 resultobj
= SWIG_FromInt((int)result
);
16169 static PyObject
*_wrap_ToolBarToolBase_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16170 PyObject
*resultobj
;
16171 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16173 PyObject
* obj0
= 0 ;
16174 char *kwnames
[] = {
16175 (char *) "self", NULL
16178 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetStyle",kwnames
,&obj0
)) goto fail
;
16179 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16180 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16183 result
= (int)(arg1
)->GetStyle();
16185 wxPyEndAllowThreads(__tstate
);
16186 if (PyErr_Occurred()) SWIG_fail
;
16188 resultobj
= SWIG_FromInt((int)result
);
16195 static PyObject
*_wrap_ToolBarToolBase_GetKind(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16196 PyObject
*resultobj
;
16197 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16199 PyObject
* obj0
= 0 ;
16200 char *kwnames
[] = {
16201 (char *) "self", NULL
16204 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetKind",kwnames
,&obj0
)) goto fail
;
16205 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16206 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16209 result
= (int)(arg1
)->GetKind();
16211 wxPyEndAllowThreads(__tstate
);
16212 if (PyErr_Occurred()) SWIG_fail
;
16214 resultobj
= SWIG_FromInt((int)result
);
16221 static PyObject
*_wrap_ToolBarToolBase_IsEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16222 PyObject
*resultobj
;
16223 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16225 PyObject
* obj0
= 0 ;
16226 char *kwnames
[] = {
16227 (char *) "self", NULL
16230 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsEnabled",kwnames
,&obj0
)) goto fail
;
16231 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16232 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16235 result
= (bool)(arg1
)->IsEnabled();
16237 wxPyEndAllowThreads(__tstate
);
16238 if (PyErr_Occurred()) SWIG_fail
;
16241 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16249 static PyObject
*_wrap_ToolBarToolBase_IsToggled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16250 PyObject
*resultobj
;
16251 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16253 PyObject
* obj0
= 0 ;
16254 char *kwnames
[] = {
16255 (char *) "self", NULL
16258 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsToggled",kwnames
,&obj0
)) goto fail
;
16259 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16260 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16263 result
= (bool)(arg1
)->IsToggled();
16265 wxPyEndAllowThreads(__tstate
);
16266 if (PyErr_Occurred()) SWIG_fail
;
16269 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16277 static PyObject
*_wrap_ToolBarToolBase_CanBeToggled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16278 PyObject
*resultobj
;
16279 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16281 PyObject
* obj0
= 0 ;
16282 char *kwnames
[] = {
16283 (char *) "self", NULL
16286 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_CanBeToggled",kwnames
,&obj0
)) goto fail
;
16287 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16288 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16291 result
= (bool)(arg1
)->CanBeToggled();
16293 wxPyEndAllowThreads(__tstate
);
16294 if (PyErr_Occurred()) SWIG_fail
;
16297 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16305 static PyObject
*_wrap_ToolBarToolBase_GetNormalBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16306 PyObject
*resultobj
;
16307 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16309 PyObject
* obj0
= 0 ;
16310 char *kwnames
[] = {
16311 (char *) "self", NULL
16314 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetNormalBitmap",kwnames
,&obj0
)) goto fail
;
16315 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16316 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16320 wxBitmap
const &_result_ref
= (arg1
)->GetNormalBitmap();
16321 result
= (wxBitmap
*) &_result_ref
;
16324 wxPyEndAllowThreads(__tstate
);
16325 if (PyErr_Occurred()) SWIG_fail
;
16328 wxBitmap
* resultptr
= new wxBitmap(*result
);
16329 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
16337 static PyObject
*_wrap_ToolBarToolBase_GetDisabledBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16338 PyObject
*resultobj
;
16339 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16341 PyObject
* obj0
= 0 ;
16342 char *kwnames
[] = {
16343 (char *) "self", NULL
16346 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetDisabledBitmap",kwnames
,&obj0
)) goto fail
;
16347 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16348 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16352 wxBitmap
const &_result_ref
= (arg1
)->GetDisabledBitmap();
16353 result
= (wxBitmap
*) &_result_ref
;
16356 wxPyEndAllowThreads(__tstate
);
16357 if (PyErr_Occurred()) SWIG_fail
;
16360 wxBitmap
* resultptr
= new wxBitmap(*result
);
16361 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
16369 static PyObject
*_wrap_ToolBarToolBase_GetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16370 PyObject
*resultobj
;
16371 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16373 PyObject
* obj0
= 0 ;
16374 char *kwnames
[] = {
16375 (char *) "self", NULL
16378 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetBitmap",kwnames
,&obj0
)) goto fail
;
16379 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16380 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16383 result
= (arg1
)->GetBitmap();
16385 wxPyEndAllowThreads(__tstate
);
16386 if (PyErr_Occurred()) SWIG_fail
;
16389 wxBitmap
* resultptr
;
16390 resultptr
= new wxBitmap((wxBitmap
&) result
);
16391 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
16399 static PyObject
*_wrap_ToolBarToolBase_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16400 PyObject
*resultobj
;
16401 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16403 PyObject
* obj0
= 0 ;
16404 char *kwnames
[] = {
16405 (char *) "self", NULL
16408 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetLabel",kwnames
,&obj0
)) goto fail
;
16409 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16410 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16413 result
= (arg1
)->GetLabel();
16415 wxPyEndAllowThreads(__tstate
);
16416 if (PyErr_Occurred()) SWIG_fail
;
16420 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16422 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16431 static PyObject
*_wrap_ToolBarToolBase_GetShortHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16432 PyObject
*resultobj
;
16433 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16435 PyObject
* obj0
= 0 ;
16436 char *kwnames
[] = {
16437 (char *) "self", NULL
16440 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetShortHelp",kwnames
,&obj0
)) goto fail
;
16441 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16442 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16445 result
= (arg1
)->GetShortHelp();
16447 wxPyEndAllowThreads(__tstate
);
16448 if (PyErr_Occurred()) SWIG_fail
;
16452 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16454 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16463 static PyObject
*_wrap_ToolBarToolBase_GetLongHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16464 PyObject
*resultobj
;
16465 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16467 PyObject
* obj0
= 0 ;
16468 char *kwnames
[] = {
16469 (char *) "self", NULL
16472 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetLongHelp",kwnames
,&obj0
)) goto fail
;
16473 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16474 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16477 result
= (arg1
)->GetLongHelp();
16479 wxPyEndAllowThreads(__tstate
);
16480 if (PyErr_Occurred()) SWIG_fail
;
16484 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16486 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16495 static PyObject
*_wrap_ToolBarToolBase_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16496 PyObject
*resultobj
;
16497 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16500 PyObject
* obj0
= 0 ;
16501 PyObject
* obj1
= 0 ;
16502 char *kwnames
[] = {
16503 (char *) "self",(char *) "enable", NULL
16506 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_Enable",kwnames
,&obj0
,&obj1
)) goto fail
;
16507 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16508 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16509 arg2
= (bool) SWIG_AsBool(obj1
);
16510 if (PyErr_Occurred()) SWIG_fail
;
16512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16513 result
= (bool)(arg1
)->Enable(arg2
);
16515 wxPyEndAllowThreads(__tstate
);
16516 if (PyErr_Occurred()) SWIG_fail
;
16519 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16527 static PyObject
*_wrap_ToolBarToolBase_Toggle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16528 PyObject
*resultobj
;
16529 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16530 PyObject
* obj0
= 0 ;
16531 char *kwnames
[] = {
16532 (char *) "self", NULL
16535 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_Toggle",kwnames
,&obj0
)) goto fail
;
16536 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16537 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16542 wxPyEndAllowThreads(__tstate
);
16543 if (PyErr_Occurred()) SWIG_fail
;
16545 Py_INCREF(Py_None
); resultobj
= Py_None
;
16552 static PyObject
*_wrap_ToolBarToolBase_SetToggle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16553 PyObject
*resultobj
;
16554 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16557 PyObject
* obj0
= 0 ;
16558 PyObject
* obj1
= 0 ;
16559 char *kwnames
[] = {
16560 (char *) "self",(char *) "toggle", NULL
16563 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetToggle",kwnames
,&obj0
,&obj1
)) goto fail
;
16564 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16565 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16566 arg2
= (bool) SWIG_AsBool(obj1
);
16567 if (PyErr_Occurred()) SWIG_fail
;
16569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16570 result
= (bool)(arg1
)->SetToggle(arg2
);
16572 wxPyEndAllowThreads(__tstate
);
16573 if (PyErr_Occurred()) SWIG_fail
;
16576 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16584 static PyObject
*_wrap_ToolBarToolBase_SetShortHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16585 PyObject
*resultobj
;
16586 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16587 wxString
*arg2
= 0 ;
16589 bool temp2
= False
;
16590 PyObject
* obj0
= 0 ;
16591 PyObject
* obj1
= 0 ;
16592 char *kwnames
[] = {
16593 (char *) "self",(char *) "help", NULL
16596 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetShortHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
16597 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16598 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16600 arg2
= wxString_in_helper(obj1
);
16601 if (arg2
== NULL
) SWIG_fail
;
16605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16606 result
= (bool)(arg1
)->SetShortHelp((wxString
const &)*arg2
);
16608 wxPyEndAllowThreads(__tstate
);
16609 if (PyErr_Occurred()) SWIG_fail
;
16612 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16628 static PyObject
*_wrap_ToolBarToolBase_SetLongHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16629 PyObject
*resultobj
;
16630 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16631 wxString
*arg2
= 0 ;
16633 bool temp2
= False
;
16634 PyObject
* obj0
= 0 ;
16635 PyObject
* obj1
= 0 ;
16636 char *kwnames
[] = {
16637 (char *) "self",(char *) "help", NULL
16640 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetLongHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
16641 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16642 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16644 arg2
= wxString_in_helper(obj1
);
16645 if (arg2
== NULL
) SWIG_fail
;
16649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16650 result
= (bool)(arg1
)->SetLongHelp((wxString
const &)*arg2
);
16652 wxPyEndAllowThreads(__tstate
);
16653 if (PyErr_Occurred()) SWIG_fail
;
16656 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16672 static PyObject
*_wrap_ToolBarToolBase_SetNormalBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16673 PyObject
*resultobj
;
16674 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16675 wxBitmap
*arg2
= 0 ;
16676 PyObject
* obj0
= 0 ;
16677 PyObject
* obj1
= 0 ;
16678 char *kwnames
[] = {
16679 (char *) "self",(char *) "bmp", NULL
16682 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetNormalBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
16683 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16684 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16685 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
16686 SWIG_POINTER_EXCEPTION
| 0)) == -1)
16688 if (arg2
== NULL
) {
16689 PyErr_SetString(PyExc_TypeError
,"null reference");
16693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16694 (arg1
)->SetNormalBitmap((wxBitmap
const &)*arg2
);
16696 wxPyEndAllowThreads(__tstate
);
16697 if (PyErr_Occurred()) SWIG_fail
;
16699 Py_INCREF(Py_None
); resultobj
= Py_None
;
16706 static PyObject
*_wrap_ToolBarToolBase_SetDisabledBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16707 PyObject
*resultobj
;
16708 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16709 wxBitmap
*arg2
= 0 ;
16710 PyObject
* obj0
= 0 ;
16711 PyObject
* obj1
= 0 ;
16712 char *kwnames
[] = {
16713 (char *) "self",(char *) "bmp", NULL
16716 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetDisabledBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
16717 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16718 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16719 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
16720 SWIG_POINTER_EXCEPTION
| 0)) == -1)
16722 if (arg2
== NULL
) {
16723 PyErr_SetString(PyExc_TypeError
,"null reference");
16727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16728 (arg1
)->SetDisabledBitmap((wxBitmap
const &)*arg2
);
16730 wxPyEndAllowThreads(__tstate
);
16731 if (PyErr_Occurred()) SWIG_fail
;
16733 Py_INCREF(Py_None
); resultobj
= Py_None
;
16740 static PyObject
*_wrap_ToolBarToolBase_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16741 PyObject
*resultobj
;
16742 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16743 wxString
*arg2
= 0 ;
16744 bool temp2
= False
;
16745 PyObject
* obj0
= 0 ;
16746 PyObject
* obj1
= 0 ;
16747 char *kwnames
[] = {
16748 (char *) "self",(char *) "label", NULL
16751 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
16752 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16753 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16755 arg2
= wxString_in_helper(obj1
);
16756 if (arg2
== NULL
) SWIG_fail
;
16760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16761 (arg1
)->SetLabel((wxString
const &)*arg2
);
16763 wxPyEndAllowThreads(__tstate
);
16764 if (PyErr_Occurred()) SWIG_fail
;
16766 Py_INCREF(Py_None
); resultobj
= Py_None
;
16781 static PyObject
*_wrap_ToolBarToolBase_Detach(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16782 PyObject
*resultobj
;
16783 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16784 PyObject
* obj0
= 0 ;
16785 char *kwnames
[] = {
16786 (char *) "self", NULL
16789 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_Detach",kwnames
,&obj0
)) goto fail
;
16790 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16791 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16796 wxPyEndAllowThreads(__tstate
);
16797 if (PyErr_Occurred()) SWIG_fail
;
16799 Py_INCREF(Py_None
); resultobj
= Py_None
;
16806 static PyObject
*_wrap_ToolBarToolBase_Attach(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16807 PyObject
*resultobj
;
16808 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16809 wxToolBarBase
*arg2
= (wxToolBarBase
*) 0 ;
16810 PyObject
* obj0
= 0 ;
16811 PyObject
* obj1
= 0 ;
16812 char *kwnames
[] = {
16813 (char *) "self",(char *) "tbar", NULL
16816 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_Attach",kwnames
,&obj0
,&obj1
)) goto fail
;
16817 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16818 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16819 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxToolBarBase
,
16820 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16823 (arg1
)->Attach(arg2
);
16825 wxPyEndAllowThreads(__tstate
);
16826 if (PyErr_Occurred()) SWIG_fail
;
16828 Py_INCREF(Py_None
); resultobj
= Py_None
;
16835 static PyObject
*_wrap_ToolBarToolBase_GetClientData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16836 PyObject
*resultobj
;
16837 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16839 PyObject
* obj0
= 0 ;
16840 char *kwnames
[] = {
16841 (char *) "self", NULL
16844 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetClientData",kwnames
,&obj0
)) goto fail
;
16845 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16846 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16849 result
= (PyObject
*)wxToolBarToolBase_GetClientData(arg1
);
16851 wxPyEndAllowThreads(__tstate
);
16852 if (PyErr_Occurred()) SWIG_fail
;
16854 resultobj
= result
;
16861 static PyObject
*_wrap_ToolBarToolBase_SetClientData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16862 PyObject
*resultobj
;
16863 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16864 PyObject
*arg2
= (PyObject
*) 0 ;
16865 PyObject
* obj0
= 0 ;
16866 PyObject
* obj1
= 0 ;
16867 char *kwnames
[] = {
16868 (char *) "self",(char *) "clientData", NULL
16871 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetClientData",kwnames
,&obj0
,&obj1
)) goto fail
;
16872 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16873 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16877 wxToolBarToolBase_SetClientData(arg1
,arg2
);
16879 wxPyEndAllowThreads(__tstate
);
16880 if (PyErr_Occurred()) SWIG_fail
;
16882 Py_INCREF(Py_None
); resultobj
= Py_None
;
16889 static PyObject
* ToolBarToolBase_swigregister(PyObject
*self
, PyObject
*args
) {
16891 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16892 SWIG_TypeClientData(SWIGTYPE_p_wxToolBarToolBase
, obj
);
16894 return Py_BuildValue((char *)"");
16896 static PyObject
*_wrap_ToolBarBase_DoAddTool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16897 PyObject
*resultobj
;
16898 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16900 wxString
*arg3
= 0 ;
16901 wxBitmap
*arg4
= 0 ;
16902 wxBitmap
const &arg5_defvalue
= wxNullBitmap
;
16903 wxBitmap
*arg5
= (wxBitmap
*) &arg5_defvalue
;
16904 int arg6
= (int) wxITEM_NORMAL
;
16905 wxString
const &arg7_defvalue
= wxPyEmptyString
;
16906 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
16907 wxString
const &arg8_defvalue
= wxPyEmptyString
;
16908 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
16909 PyObject
*arg9
= (PyObject
*) NULL
;
16910 wxToolBarToolBase
*result
;
16911 bool temp3
= False
;
16912 bool temp7
= False
;
16913 bool temp8
= False
;
16914 PyObject
* obj0
= 0 ;
16915 PyObject
* obj1
= 0 ;
16916 PyObject
* obj2
= 0 ;
16917 PyObject
* obj3
= 0 ;
16918 PyObject
* obj4
= 0 ;
16919 PyObject
* obj5
= 0 ;
16920 PyObject
* obj6
= 0 ;
16921 PyObject
* obj7
= 0 ;
16922 PyObject
* obj8
= 0 ;
16923 char *kwnames
[] = {
16924 (char *) "self",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
16927 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOOO:ToolBarBase_DoAddTool",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
16928 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16929 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16930 arg2
= (int) SWIG_AsInt(obj1
);
16931 if (PyErr_Occurred()) SWIG_fail
;
16933 arg3
= wxString_in_helper(obj2
);
16934 if (arg3
== NULL
) SWIG_fail
;
16937 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxBitmap
,
16938 SWIG_POINTER_EXCEPTION
| 0)) == -1)
16940 if (arg4
== NULL
) {
16941 PyErr_SetString(PyExc_TypeError
,"null reference");
16945 if ((SWIG_ConvertPtr(obj4
,(void **)(&arg5
),SWIGTYPE_p_wxBitmap
,
16946 SWIG_POINTER_EXCEPTION
| 0)) == -1)
16948 if (arg5
== NULL
) {
16949 PyErr_SetString(PyExc_TypeError
,"null reference");
16954 arg6
= (wxItemKind
) SWIG_AsInt(obj5
);
16955 if (PyErr_Occurred()) SWIG_fail
;
16959 arg7
= wxString_in_helper(obj6
);
16960 if (arg7
== NULL
) SWIG_fail
;
16966 arg8
= wxString_in_helper(obj7
);
16967 if (arg8
== NULL
) SWIG_fail
;
16975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16976 result
= (wxToolBarToolBase
*)wxToolBarBase_DoAddTool(arg1
,arg2
,(wxString
const &)*arg3
,(wxBitmap
const &)*arg4
,(wxBitmap
const &)*arg5
,(wxItemKind
)arg6
,(wxString
const &)*arg7
,(wxString
const &)*arg8
,arg9
);
16978 wxPyEndAllowThreads(__tstate
);
16979 if (PyErr_Occurred()) SWIG_fail
;
16982 resultobj
= wxPyMake_wxObject(result
);
17014 static PyObject
*_wrap_ToolBarBase_DoInsertTool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17015 PyObject
*resultobj
;
17016 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17019 wxString
*arg4
= 0 ;
17020 wxBitmap
*arg5
= 0 ;
17021 wxBitmap
const &arg6_defvalue
= wxNullBitmap
;
17022 wxBitmap
*arg6
= (wxBitmap
*) &arg6_defvalue
;
17023 int arg7
= (int) wxITEM_NORMAL
;
17024 wxString
const &arg8_defvalue
= wxPyEmptyString
;
17025 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
17026 wxString
const &arg9_defvalue
= wxPyEmptyString
;
17027 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
17028 PyObject
*arg10
= (PyObject
*) NULL
;
17029 wxToolBarToolBase
*result
;
17030 bool temp4
= False
;
17031 bool temp8
= False
;
17032 bool temp9
= False
;
17033 PyObject
* obj0
= 0 ;
17034 PyObject
* obj1
= 0 ;
17035 PyObject
* obj2
= 0 ;
17036 PyObject
* obj3
= 0 ;
17037 PyObject
* obj4
= 0 ;
17038 PyObject
* obj5
= 0 ;
17039 PyObject
* obj6
= 0 ;
17040 PyObject
* obj7
= 0 ;
17041 PyObject
* obj8
= 0 ;
17042 PyObject
* obj9
= 0 ;
17043 char *kwnames
[] = {
17044 (char *) "self",(char *) "pos",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
17047 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOOOO:ToolBarBase_DoInsertTool",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
17048 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17049 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17050 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
17051 if (PyErr_Occurred()) SWIG_fail
;
17052 arg3
= (int) SWIG_AsInt(obj2
);
17053 if (PyErr_Occurred()) SWIG_fail
;
17055 arg4
= wxString_in_helper(obj3
);
17056 if (arg4
== NULL
) SWIG_fail
;
17059 if ((SWIG_ConvertPtr(obj4
,(void **)(&arg5
),SWIGTYPE_p_wxBitmap
,
17060 SWIG_POINTER_EXCEPTION
| 0)) == -1)
17062 if (arg5
== NULL
) {
17063 PyErr_SetString(PyExc_TypeError
,"null reference");
17067 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxBitmap
,
17068 SWIG_POINTER_EXCEPTION
| 0)) == -1)
17070 if (arg6
== NULL
) {
17071 PyErr_SetString(PyExc_TypeError
,"null reference");
17076 arg7
= (wxItemKind
) SWIG_AsInt(obj6
);
17077 if (PyErr_Occurred()) SWIG_fail
;
17081 arg8
= wxString_in_helper(obj7
);
17082 if (arg8
== NULL
) SWIG_fail
;
17088 arg9
= wxString_in_helper(obj8
);
17089 if (arg9
== NULL
) SWIG_fail
;
17097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17098 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
);
17100 wxPyEndAllowThreads(__tstate
);
17101 if (PyErr_Occurred()) SWIG_fail
;
17104 resultobj
= wxPyMake_wxObject(result
);
17136 static PyObject
*_wrap_ToolBarBase_AddToolItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17137 PyObject
*resultobj
;
17138 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17139 wxToolBarToolBase
*arg2
= (wxToolBarToolBase
*) 0 ;
17140 wxToolBarToolBase
*result
;
17141 PyObject
* obj0
= 0 ;
17142 PyObject
* obj1
= 0 ;
17143 char *kwnames
[] = {
17144 (char *) "self",(char *) "tool", NULL
17147 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_AddToolItem",kwnames
,&obj0
,&obj1
)) goto fail
;
17148 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17149 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17150 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxToolBarToolBase
,
17151 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17154 result
= (wxToolBarToolBase
*)(arg1
)->AddTool(arg2
);
17156 wxPyEndAllowThreads(__tstate
);
17157 if (PyErr_Occurred()) SWIG_fail
;
17160 resultobj
= wxPyMake_wxObject(result
);
17168 static PyObject
*_wrap_ToolBarBase_InsertToolItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17169 PyObject
*resultobj
;
17170 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17172 wxToolBarToolBase
*arg3
= (wxToolBarToolBase
*) 0 ;
17173 wxToolBarToolBase
*result
;
17174 PyObject
* obj0
= 0 ;
17175 PyObject
* obj1
= 0 ;
17176 PyObject
* obj2
= 0 ;
17177 char *kwnames
[] = {
17178 (char *) "self",(char *) "pos",(char *) "tool", NULL
17181 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_InsertToolItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17182 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17183 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17184 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
17185 if (PyErr_Occurred()) SWIG_fail
;
17186 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxToolBarToolBase
,
17187 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17190 result
= (wxToolBarToolBase
*)(arg1
)->InsertTool(arg2
,arg3
);
17192 wxPyEndAllowThreads(__tstate
);
17193 if (PyErr_Occurred()) SWIG_fail
;
17196 resultobj
= wxPyMake_wxObject(result
);
17204 static PyObject
*_wrap_ToolBarBase_AddControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17205 PyObject
*resultobj
;
17206 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17207 wxControl
*arg2
= (wxControl
*) 0 ;
17208 wxToolBarToolBase
*result
;
17209 PyObject
* obj0
= 0 ;
17210 PyObject
* obj1
= 0 ;
17211 char *kwnames
[] = {
17212 (char *) "self",(char *) "control", NULL
17215 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_AddControl",kwnames
,&obj0
,&obj1
)) goto fail
;
17216 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17217 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17218 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxControl
,
17219 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17222 result
= (wxToolBarToolBase
*)(arg1
)->AddControl(arg2
);
17224 wxPyEndAllowThreads(__tstate
);
17225 if (PyErr_Occurred()) SWIG_fail
;
17228 resultobj
= wxPyMake_wxObject(result
);
17236 static PyObject
*_wrap_ToolBarBase_InsertControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17237 PyObject
*resultobj
;
17238 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17240 wxControl
*arg3
= (wxControl
*) 0 ;
17241 wxToolBarToolBase
*result
;
17242 PyObject
* obj0
= 0 ;
17243 PyObject
* obj1
= 0 ;
17244 PyObject
* obj2
= 0 ;
17245 char *kwnames
[] = {
17246 (char *) "self",(char *) "pos",(char *) "control", NULL
17249 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_InsertControl",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17250 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17251 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17252 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
17253 if (PyErr_Occurred()) SWIG_fail
;
17254 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxControl
,
17255 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17258 result
= (wxToolBarToolBase
*)(arg1
)->InsertControl(arg2
,arg3
);
17260 wxPyEndAllowThreads(__tstate
);
17261 if (PyErr_Occurred()) SWIG_fail
;
17264 resultobj
= wxPyMake_wxObject(result
);
17272 static PyObject
*_wrap_ToolBarBase_FindControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17273 PyObject
*resultobj
;
17274 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17277 PyObject
* obj0
= 0 ;
17278 PyObject
* obj1
= 0 ;
17279 char *kwnames
[] = {
17280 (char *) "self",(char *) "id", NULL
17283 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_FindControl",kwnames
,&obj0
,&obj1
)) goto fail
;
17284 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17285 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17286 arg2
= (int) SWIG_AsInt(obj1
);
17287 if (PyErr_Occurred()) SWIG_fail
;
17289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17290 result
= (wxControl
*)(arg1
)->FindControl(arg2
);
17292 wxPyEndAllowThreads(__tstate
);
17293 if (PyErr_Occurred()) SWIG_fail
;
17296 resultobj
= wxPyMake_wxObject(result
);
17304 static PyObject
*_wrap_ToolBarBase_AddSeparator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17305 PyObject
*resultobj
;
17306 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17307 wxToolBarToolBase
*result
;
17308 PyObject
* obj0
= 0 ;
17309 char *kwnames
[] = {
17310 (char *) "self", NULL
17313 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_AddSeparator",kwnames
,&obj0
)) goto fail
;
17314 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17315 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17318 result
= (wxToolBarToolBase
*)(arg1
)->AddSeparator();
17320 wxPyEndAllowThreads(__tstate
);
17321 if (PyErr_Occurred()) SWIG_fail
;
17324 resultobj
= wxPyMake_wxObject(result
);
17332 static PyObject
*_wrap_ToolBarBase_InsertSeparator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17333 PyObject
*resultobj
;
17334 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17336 wxToolBarToolBase
*result
;
17337 PyObject
* obj0
= 0 ;
17338 PyObject
* obj1
= 0 ;
17339 char *kwnames
[] = {
17340 (char *) "self",(char *) "pos", NULL
17343 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_InsertSeparator",kwnames
,&obj0
,&obj1
)) goto fail
;
17344 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17345 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17346 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
17347 if (PyErr_Occurred()) SWIG_fail
;
17349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17350 result
= (wxToolBarToolBase
*)(arg1
)->InsertSeparator(arg2
);
17352 wxPyEndAllowThreads(__tstate
);
17353 if (PyErr_Occurred()) SWIG_fail
;
17356 resultobj
= wxPyMake_wxObject(result
);
17364 static PyObject
*_wrap_ToolBarBase_RemoveTool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17365 PyObject
*resultobj
;
17366 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17368 wxToolBarToolBase
*result
;
17369 PyObject
* obj0
= 0 ;
17370 PyObject
* obj1
= 0 ;
17371 char *kwnames
[] = {
17372 (char *) "self",(char *) "id", NULL
17375 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_RemoveTool",kwnames
,&obj0
,&obj1
)) goto fail
;
17376 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17377 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17378 arg2
= (int) SWIG_AsInt(obj1
);
17379 if (PyErr_Occurred()) SWIG_fail
;
17381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17382 result
= (wxToolBarToolBase
*)(arg1
)->RemoveTool(arg2
);
17384 wxPyEndAllowThreads(__tstate
);
17385 if (PyErr_Occurred()) SWIG_fail
;
17388 resultobj
= wxPyMake_wxObject(result
);
17396 static PyObject
*_wrap_ToolBarBase_DeleteToolByPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17397 PyObject
*resultobj
;
17398 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17401 PyObject
* obj0
= 0 ;
17402 PyObject
* obj1
= 0 ;
17403 char *kwnames
[] = {
17404 (char *) "self",(char *) "pos", NULL
17407 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_DeleteToolByPos",kwnames
,&obj0
,&obj1
)) goto fail
;
17408 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17409 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17410 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
17411 if (PyErr_Occurred()) SWIG_fail
;
17413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17414 result
= (bool)(arg1
)->DeleteToolByPos(arg2
);
17416 wxPyEndAllowThreads(__tstate
);
17417 if (PyErr_Occurred()) SWIG_fail
;
17420 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17428 static PyObject
*_wrap_ToolBarBase_DeleteTool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17429 PyObject
*resultobj
;
17430 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17433 PyObject
* obj0
= 0 ;
17434 PyObject
* obj1
= 0 ;
17435 char *kwnames
[] = {
17436 (char *) "self",(char *) "id", NULL
17439 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_DeleteTool",kwnames
,&obj0
,&obj1
)) goto fail
;
17440 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17441 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17442 arg2
= (int) SWIG_AsInt(obj1
);
17443 if (PyErr_Occurred()) SWIG_fail
;
17445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17446 result
= (bool)(arg1
)->DeleteTool(arg2
);
17448 wxPyEndAllowThreads(__tstate
);
17449 if (PyErr_Occurred()) SWIG_fail
;
17452 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17460 static PyObject
*_wrap_ToolBarBase_ClearTools(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17461 PyObject
*resultobj
;
17462 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17463 PyObject
* obj0
= 0 ;
17464 char *kwnames
[] = {
17465 (char *) "self", NULL
17468 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_ClearTools",kwnames
,&obj0
)) goto fail
;
17469 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17470 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17473 (arg1
)->ClearTools();
17475 wxPyEndAllowThreads(__tstate
);
17476 if (PyErr_Occurred()) SWIG_fail
;
17478 Py_INCREF(Py_None
); resultobj
= Py_None
;
17485 static PyObject
*_wrap_ToolBarBase_Realize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17486 PyObject
*resultobj
;
17487 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17489 PyObject
* obj0
= 0 ;
17490 char *kwnames
[] = {
17491 (char *) "self", NULL
17494 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_Realize",kwnames
,&obj0
)) goto fail
;
17495 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17496 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17499 result
= (bool)(arg1
)->Realize();
17501 wxPyEndAllowThreads(__tstate
);
17502 if (PyErr_Occurred()) SWIG_fail
;
17505 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17513 static PyObject
*_wrap_ToolBarBase_EnableTool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17514 PyObject
*resultobj
;
17515 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17518 PyObject
* obj0
= 0 ;
17519 PyObject
* obj1
= 0 ;
17520 PyObject
* obj2
= 0 ;
17521 char *kwnames
[] = {
17522 (char *) "self",(char *) "id",(char *) "enable", NULL
17525 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_EnableTool",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17526 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17527 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17528 arg2
= (int) SWIG_AsInt(obj1
);
17529 if (PyErr_Occurred()) SWIG_fail
;
17530 arg3
= (bool) SWIG_AsBool(obj2
);
17531 if (PyErr_Occurred()) SWIG_fail
;
17533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17534 (arg1
)->EnableTool(arg2
,arg3
);
17536 wxPyEndAllowThreads(__tstate
);
17537 if (PyErr_Occurred()) SWIG_fail
;
17539 Py_INCREF(Py_None
); resultobj
= Py_None
;
17546 static PyObject
*_wrap_ToolBarBase_ToggleTool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17547 PyObject
*resultobj
;
17548 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17551 PyObject
* obj0
= 0 ;
17552 PyObject
* obj1
= 0 ;
17553 PyObject
* obj2
= 0 ;
17554 char *kwnames
[] = {
17555 (char *) "self",(char *) "id",(char *) "toggle", NULL
17558 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_ToggleTool",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17559 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17560 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17561 arg2
= (int) SWIG_AsInt(obj1
);
17562 if (PyErr_Occurred()) SWIG_fail
;
17563 arg3
= (bool) SWIG_AsBool(obj2
);
17564 if (PyErr_Occurred()) SWIG_fail
;
17566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17567 (arg1
)->ToggleTool(arg2
,arg3
);
17569 wxPyEndAllowThreads(__tstate
);
17570 if (PyErr_Occurred()) SWIG_fail
;
17572 Py_INCREF(Py_None
); resultobj
= Py_None
;
17579 static PyObject
*_wrap_ToolBarBase_SetToggle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17580 PyObject
*resultobj
;
17581 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17584 PyObject
* obj0
= 0 ;
17585 PyObject
* obj1
= 0 ;
17586 PyObject
* obj2
= 0 ;
17587 char *kwnames
[] = {
17588 (char *) "self",(char *) "id",(char *) "toggle", NULL
17591 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToggle",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17592 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17593 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17594 arg2
= (int) SWIG_AsInt(obj1
);
17595 if (PyErr_Occurred()) SWIG_fail
;
17596 arg3
= (bool) SWIG_AsBool(obj2
);
17597 if (PyErr_Occurred()) SWIG_fail
;
17599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17600 (arg1
)->SetToggle(arg2
,arg3
);
17602 wxPyEndAllowThreads(__tstate
);
17603 if (PyErr_Occurred()) SWIG_fail
;
17605 Py_INCREF(Py_None
); resultobj
= Py_None
;
17612 static PyObject
*_wrap_ToolBarBase_GetToolClientData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17613 PyObject
*resultobj
;
17614 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17617 PyObject
* obj0
= 0 ;
17618 PyObject
* obj1
= 0 ;
17619 char *kwnames
[] = {
17620 (char *) "self",(char *) "id", NULL
17623 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolClientData",kwnames
,&obj0
,&obj1
)) goto fail
;
17624 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17625 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17626 arg2
= (int) SWIG_AsInt(obj1
);
17627 if (PyErr_Occurred()) SWIG_fail
;
17629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17630 result
= (PyObject
*)wxToolBarBase_GetToolClientData(arg1
,arg2
);
17632 wxPyEndAllowThreads(__tstate
);
17633 if (PyErr_Occurred()) SWIG_fail
;
17635 resultobj
= result
;
17642 static PyObject
*_wrap_ToolBarBase_SetToolClientData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17643 PyObject
*resultobj
;
17644 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17646 PyObject
*arg3
= (PyObject
*) 0 ;
17647 PyObject
* obj0
= 0 ;
17648 PyObject
* obj1
= 0 ;
17649 PyObject
* obj2
= 0 ;
17650 char *kwnames
[] = {
17651 (char *) "self",(char *) "id",(char *) "clientData", NULL
17654 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToolClientData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17655 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17656 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17657 arg2
= (int) SWIG_AsInt(obj1
);
17658 if (PyErr_Occurred()) SWIG_fail
;
17661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17662 wxToolBarBase_SetToolClientData(arg1
,arg2
,arg3
);
17664 wxPyEndAllowThreads(__tstate
);
17665 if (PyErr_Occurred()) SWIG_fail
;
17667 Py_INCREF(Py_None
); resultobj
= Py_None
;
17674 static PyObject
*_wrap_ToolBarBase_GetToolPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17675 PyObject
*resultobj
;
17676 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17679 PyObject
* obj0
= 0 ;
17680 PyObject
* obj1
= 0 ;
17681 char *kwnames
[] = {
17682 (char *) "self",(char *) "id", NULL
17685 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolPos",kwnames
,&obj0
,&obj1
)) goto fail
;
17686 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17687 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17688 arg2
= (int) SWIG_AsInt(obj1
);
17689 if (PyErr_Occurred()) SWIG_fail
;
17691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17692 result
= (int)((wxToolBarBase
const *)arg1
)->GetToolPos(arg2
);
17694 wxPyEndAllowThreads(__tstate
);
17695 if (PyErr_Occurred()) SWIG_fail
;
17697 resultobj
= SWIG_FromInt((int)result
);
17704 static PyObject
*_wrap_ToolBarBase_GetToolState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17705 PyObject
*resultobj
;
17706 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17709 PyObject
* obj0
= 0 ;
17710 PyObject
* obj1
= 0 ;
17711 char *kwnames
[] = {
17712 (char *) "self",(char *) "id", NULL
17715 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolState",kwnames
,&obj0
,&obj1
)) goto fail
;
17716 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17717 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17718 arg2
= (int) SWIG_AsInt(obj1
);
17719 if (PyErr_Occurred()) SWIG_fail
;
17721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17722 result
= (bool)(arg1
)->GetToolState(arg2
);
17724 wxPyEndAllowThreads(__tstate
);
17725 if (PyErr_Occurred()) SWIG_fail
;
17728 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17736 static PyObject
*_wrap_ToolBarBase_GetToolEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17737 PyObject
*resultobj
;
17738 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17741 PyObject
* obj0
= 0 ;
17742 PyObject
* obj1
= 0 ;
17743 char *kwnames
[] = {
17744 (char *) "self",(char *) "id", NULL
17747 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolEnabled",kwnames
,&obj0
,&obj1
)) goto fail
;
17748 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17749 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17750 arg2
= (int) SWIG_AsInt(obj1
);
17751 if (PyErr_Occurred()) SWIG_fail
;
17753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17754 result
= (bool)(arg1
)->GetToolEnabled(arg2
);
17756 wxPyEndAllowThreads(__tstate
);
17757 if (PyErr_Occurred()) SWIG_fail
;
17760 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17768 static PyObject
*_wrap_ToolBarBase_SetToolShortHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17769 PyObject
*resultobj
;
17770 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17772 wxString
*arg3
= 0 ;
17773 bool temp3
= False
;
17774 PyObject
* obj0
= 0 ;
17775 PyObject
* obj1
= 0 ;
17776 PyObject
* obj2
= 0 ;
17777 char *kwnames
[] = {
17778 (char *) "self",(char *) "id",(char *) "helpString", NULL
17781 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToolShortHelp",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17782 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17783 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17784 arg2
= (int) SWIG_AsInt(obj1
);
17785 if (PyErr_Occurred()) SWIG_fail
;
17787 arg3
= wxString_in_helper(obj2
);
17788 if (arg3
== NULL
) SWIG_fail
;
17792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17793 (arg1
)->SetToolShortHelp(arg2
,(wxString
const &)*arg3
);
17795 wxPyEndAllowThreads(__tstate
);
17796 if (PyErr_Occurred()) SWIG_fail
;
17798 Py_INCREF(Py_None
); resultobj
= Py_None
;
17813 static PyObject
*_wrap_ToolBarBase_GetToolShortHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17814 PyObject
*resultobj
;
17815 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17818 PyObject
* obj0
= 0 ;
17819 PyObject
* obj1
= 0 ;
17820 char *kwnames
[] = {
17821 (char *) "self",(char *) "id", NULL
17824 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolShortHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
17825 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17826 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17827 arg2
= (int) SWIG_AsInt(obj1
);
17828 if (PyErr_Occurred()) SWIG_fail
;
17830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17831 result
= (arg1
)->GetToolShortHelp(arg2
);
17833 wxPyEndAllowThreads(__tstate
);
17834 if (PyErr_Occurred()) SWIG_fail
;
17838 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17840 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17849 static PyObject
*_wrap_ToolBarBase_SetToolLongHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17850 PyObject
*resultobj
;
17851 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17853 wxString
*arg3
= 0 ;
17854 bool temp3
= False
;
17855 PyObject
* obj0
= 0 ;
17856 PyObject
* obj1
= 0 ;
17857 PyObject
* obj2
= 0 ;
17858 char *kwnames
[] = {
17859 (char *) "self",(char *) "id",(char *) "helpString", NULL
17862 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToolLongHelp",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17863 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17864 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17865 arg2
= (int) SWIG_AsInt(obj1
);
17866 if (PyErr_Occurred()) SWIG_fail
;
17868 arg3
= wxString_in_helper(obj2
);
17869 if (arg3
== NULL
) SWIG_fail
;
17873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17874 (arg1
)->SetToolLongHelp(arg2
,(wxString
const &)*arg3
);
17876 wxPyEndAllowThreads(__tstate
);
17877 if (PyErr_Occurred()) SWIG_fail
;
17879 Py_INCREF(Py_None
); resultobj
= Py_None
;
17894 static PyObject
*_wrap_ToolBarBase_GetToolLongHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17895 PyObject
*resultobj
;
17896 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17899 PyObject
* obj0
= 0 ;
17900 PyObject
* obj1
= 0 ;
17901 char *kwnames
[] = {
17902 (char *) "self",(char *) "id", NULL
17905 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolLongHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
17906 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17907 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17908 arg2
= (int) SWIG_AsInt(obj1
);
17909 if (PyErr_Occurred()) SWIG_fail
;
17911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17912 result
= (arg1
)->GetToolLongHelp(arg2
);
17914 wxPyEndAllowThreads(__tstate
);
17915 if (PyErr_Occurred()) SWIG_fail
;
17919 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17921 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17930 static PyObject
*_wrap_ToolBarBase_SetMarginsXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17931 PyObject
*resultobj
;
17932 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17935 PyObject
* obj0
= 0 ;
17936 PyObject
* obj1
= 0 ;
17937 PyObject
* obj2
= 0 ;
17938 char *kwnames
[] = {
17939 (char *) "self",(char *) "x",(char *) "y", NULL
17942 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetMarginsXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17943 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17944 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17945 arg2
= (int) SWIG_AsInt(obj1
);
17946 if (PyErr_Occurred()) SWIG_fail
;
17947 arg3
= (int) SWIG_AsInt(obj2
);
17948 if (PyErr_Occurred()) SWIG_fail
;
17950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17951 (arg1
)->SetMargins(arg2
,arg3
);
17953 wxPyEndAllowThreads(__tstate
);
17954 if (PyErr_Occurred()) SWIG_fail
;
17956 Py_INCREF(Py_None
); resultobj
= Py_None
;
17963 static PyObject
*_wrap_ToolBarBase_SetMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17964 PyObject
*resultobj
;
17965 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17968 PyObject
* obj0
= 0 ;
17969 PyObject
* obj1
= 0 ;
17970 char *kwnames
[] = {
17971 (char *) "self",(char *) "size", NULL
17974 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetMargins",kwnames
,&obj0
,&obj1
)) goto fail
;
17975 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17976 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17979 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
17982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17983 (arg1
)->SetMargins((wxSize
const &)*arg2
);
17985 wxPyEndAllowThreads(__tstate
);
17986 if (PyErr_Occurred()) SWIG_fail
;
17988 Py_INCREF(Py_None
); resultobj
= Py_None
;
17995 static PyObject
*_wrap_ToolBarBase_SetToolPacking(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17996 PyObject
*resultobj
;
17997 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17999 PyObject
* obj0
= 0 ;
18000 PyObject
* obj1
= 0 ;
18001 char *kwnames
[] = {
18002 (char *) "self",(char *) "packing", NULL
18005 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetToolPacking",kwnames
,&obj0
,&obj1
)) goto fail
;
18006 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18007 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18008 arg2
= (int) SWIG_AsInt(obj1
);
18009 if (PyErr_Occurred()) SWIG_fail
;
18011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18012 (arg1
)->SetToolPacking(arg2
);
18014 wxPyEndAllowThreads(__tstate
);
18015 if (PyErr_Occurred()) SWIG_fail
;
18017 Py_INCREF(Py_None
); resultobj
= Py_None
;
18024 static PyObject
*_wrap_ToolBarBase_SetToolSeparation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18025 PyObject
*resultobj
;
18026 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18028 PyObject
* obj0
= 0 ;
18029 PyObject
* obj1
= 0 ;
18030 char *kwnames
[] = {
18031 (char *) "self",(char *) "separation", NULL
18034 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetToolSeparation",kwnames
,&obj0
,&obj1
)) goto fail
;
18035 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18036 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18037 arg2
= (int) SWIG_AsInt(obj1
);
18038 if (PyErr_Occurred()) SWIG_fail
;
18040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18041 (arg1
)->SetToolSeparation(arg2
);
18043 wxPyEndAllowThreads(__tstate
);
18044 if (PyErr_Occurred()) SWIG_fail
;
18046 Py_INCREF(Py_None
); resultobj
= Py_None
;
18053 static PyObject
*_wrap_ToolBarBase_GetToolMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18054 PyObject
*resultobj
;
18055 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18057 PyObject
* obj0
= 0 ;
18058 char *kwnames
[] = {
18059 (char *) "self", NULL
18062 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolMargins",kwnames
,&obj0
)) goto fail
;
18063 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18064 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18067 result
= (arg1
)->GetToolMargins();
18069 wxPyEndAllowThreads(__tstate
);
18070 if (PyErr_Occurred()) SWIG_fail
;
18073 wxSize
* resultptr
;
18074 resultptr
= new wxSize((wxSize
&) result
);
18075 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
18083 static PyObject
*_wrap_ToolBarBase_GetMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18084 PyObject
*resultobj
;
18085 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18087 PyObject
* obj0
= 0 ;
18088 char *kwnames
[] = {
18089 (char *) "self", NULL
18092 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetMargins",kwnames
,&obj0
)) goto fail
;
18093 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18094 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18097 result
= (arg1
)->GetMargins();
18099 wxPyEndAllowThreads(__tstate
);
18100 if (PyErr_Occurred()) SWIG_fail
;
18103 wxSize
* resultptr
;
18104 resultptr
= new wxSize((wxSize
&) result
);
18105 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
18113 static PyObject
*_wrap_ToolBarBase_GetToolPacking(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18114 PyObject
*resultobj
;
18115 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18117 PyObject
* obj0
= 0 ;
18118 char *kwnames
[] = {
18119 (char *) "self", NULL
18122 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolPacking",kwnames
,&obj0
)) goto fail
;
18123 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18124 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18127 result
= (int)(arg1
)->GetToolPacking();
18129 wxPyEndAllowThreads(__tstate
);
18130 if (PyErr_Occurred()) SWIG_fail
;
18132 resultobj
= SWIG_FromInt((int)result
);
18139 static PyObject
*_wrap_ToolBarBase_GetToolSeparation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18140 PyObject
*resultobj
;
18141 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18143 PyObject
* obj0
= 0 ;
18144 char *kwnames
[] = {
18145 (char *) "self", NULL
18148 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolSeparation",kwnames
,&obj0
)) goto fail
;
18149 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18150 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18153 result
= (int)(arg1
)->GetToolSeparation();
18155 wxPyEndAllowThreads(__tstate
);
18156 if (PyErr_Occurred()) SWIG_fail
;
18158 resultobj
= SWIG_FromInt((int)result
);
18165 static PyObject
*_wrap_ToolBarBase_SetRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18166 PyObject
*resultobj
;
18167 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18169 PyObject
* obj0
= 0 ;
18170 PyObject
* obj1
= 0 ;
18171 char *kwnames
[] = {
18172 (char *) "self",(char *) "nRows", NULL
18175 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetRows",kwnames
,&obj0
,&obj1
)) goto fail
;
18176 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18177 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18178 arg2
= (int) SWIG_AsInt(obj1
);
18179 if (PyErr_Occurred()) SWIG_fail
;
18181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18182 (arg1
)->SetRows(arg2
);
18184 wxPyEndAllowThreads(__tstate
);
18185 if (PyErr_Occurred()) SWIG_fail
;
18187 Py_INCREF(Py_None
); resultobj
= Py_None
;
18194 static PyObject
*_wrap_ToolBarBase_SetMaxRowsCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18195 PyObject
*resultobj
;
18196 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18199 PyObject
* obj0
= 0 ;
18200 PyObject
* obj1
= 0 ;
18201 PyObject
* obj2
= 0 ;
18202 char *kwnames
[] = {
18203 (char *) "self",(char *) "rows",(char *) "cols", NULL
18206 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetMaxRowsCols",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18207 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18208 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18209 arg2
= (int) SWIG_AsInt(obj1
);
18210 if (PyErr_Occurred()) SWIG_fail
;
18211 arg3
= (int) SWIG_AsInt(obj2
);
18212 if (PyErr_Occurred()) SWIG_fail
;
18214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18215 (arg1
)->SetMaxRowsCols(arg2
,arg3
);
18217 wxPyEndAllowThreads(__tstate
);
18218 if (PyErr_Occurred()) SWIG_fail
;
18220 Py_INCREF(Py_None
); resultobj
= Py_None
;
18227 static PyObject
*_wrap_ToolBarBase_GetMaxRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18228 PyObject
*resultobj
;
18229 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18231 PyObject
* obj0
= 0 ;
18232 char *kwnames
[] = {
18233 (char *) "self", NULL
18236 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetMaxRows",kwnames
,&obj0
)) goto fail
;
18237 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18238 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18241 result
= (int)(arg1
)->GetMaxRows();
18243 wxPyEndAllowThreads(__tstate
);
18244 if (PyErr_Occurred()) SWIG_fail
;
18246 resultobj
= SWIG_FromInt((int)result
);
18253 static PyObject
*_wrap_ToolBarBase_GetMaxCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18254 PyObject
*resultobj
;
18255 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18257 PyObject
* obj0
= 0 ;
18258 char *kwnames
[] = {
18259 (char *) "self", NULL
18262 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetMaxCols",kwnames
,&obj0
)) goto fail
;
18263 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18264 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18267 result
= (int)(arg1
)->GetMaxCols();
18269 wxPyEndAllowThreads(__tstate
);
18270 if (PyErr_Occurred()) SWIG_fail
;
18272 resultobj
= SWIG_FromInt((int)result
);
18279 static PyObject
*_wrap_ToolBarBase_SetToolBitmapSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18280 PyObject
*resultobj
;
18281 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18284 PyObject
* obj0
= 0 ;
18285 PyObject
* obj1
= 0 ;
18286 char *kwnames
[] = {
18287 (char *) "self",(char *) "size", NULL
18290 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetToolBitmapSize",kwnames
,&obj0
,&obj1
)) goto fail
;
18291 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18292 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18295 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
18298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18299 (arg1
)->SetToolBitmapSize((wxSize
const &)*arg2
);
18301 wxPyEndAllowThreads(__tstate
);
18302 if (PyErr_Occurred()) SWIG_fail
;
18304 Py_INCREF(Py_None
); resultobj
= Py_None
;
18311 static PyObject
*_wrap_ToolBarBase_GetToolBitmapSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18312 PyObject
*resultobj
;
18313 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18315 PyObject
* obj0
= 0 ;
18316 char *kwnames
[] = {
18317 (char *) "self", NULL
18320 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolBitmapSize",kwnames
,&obj0
)) goto fail
;
18321 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18322 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18325 result
= (arg1
)->GetToolBitmapSize();
18327 wxPyEndAllowThreads(__tstate
);
18328 if (PyErr_Occurred()) SWIG_fail
;
18331 wxSize
* resultptr
;
18332 resultptr
= new wxSize((wxSize
&) result
);
18333 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
18341 static PyObject
*_wrap_ToolBarBase_GetToolSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18342 PyObject
*resultobj
;
18343 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18345 PyObject
* obj0
= 0 ;
18346 char *kwnames
[] = {
18347 (char *) "self", NULL
18350 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolSize",kwnames
,&obj0
)) goto fail
;
18351 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18352 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18355 result
= (arg1
)->GetToolSize();
18357 wxPyEndAllowThreads(__tstate
);
18358 if (PyErr_Occurred()) SWIG_fail
;
18361 wxSize
* resultptr
;
18362 resultptr
= new wxSize((wxSize
&) result
);
18363 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
18371 static PyObject
*_wrap_ToolBarBase_FindToolForPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18372 PyObject
*resultobj
;
18373 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18376 wxToolBarToolBase
*result
;
18377 PyObject
* obj0
= 0 ;
18378 PyObject
* obj1
= 0 ;
18379 PyObject
* obj2
= 0 ;
18380 char *kwnames
[] = {
18381 (char *) "self",(char *) "x",(char *) "y", NULL
18384 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_FindToolForPosition",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18385 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18386 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18387 arg2
= (int) SWIG_AsInt(obj1
);
18388 if (PyErr_Occurred()) SWIG_fail
;
18389 arg3
= (int) SWIG_AsInt(obj2
);
18390 if (PyErr_Occurred()) SWIG_fail
;
18392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18393 result
= (wxToolBarToolBase
*)(arg1
)->FindToolForPosition(arg2
,arg3
);
18395 wxPyEndAllowThreads(__tstate
);
18396 if (PyErr_Occurred()) SWIG_fail
;
18399 resultobj
= wxPyMake_wxObject(result
);
18407 static PyObject
*_wrap_ToolBarBase_FindById(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18408 PyObject
*resultobj
;
18409 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18411 wxToolBarToolBase
*result
;
18412 PyObject
* obj0
= 0 ;
18413 PyObject
* obj1
= 0 ;
18414 char *kwnames
[] = {
18415 (char *) "self",(char *) "toolid", NULL
18418 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_FindById",kwnames
,&obj0
,&obj1
)) goto fail
;
18419 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18420 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18421 arg2
= (int) SWIG_AsInt(obj1
);
18422 if (PyErr_Occurred()) SWIG_fail
;
18424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18425 result
= (wxToolBarToolBase
*)((wxToolBarBase
const *)arg1
)->FindById(arg2
);
18427 wxPyEndAllowThreads(__tstate
);
18428 if (PyErr_Occurred()) SWIG_fail
;
18431 resultobj
= wxPyMake_wxObject(result
);
18439 static PyObject
*_wrap_ToolBarBase_IsVertical(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18440 PyObject
*resultobj
;
18441 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18443 PyObject
* obj0
= 0 ;
18444 char *kwnames
[] = {
18445 (char *) "self", NULL
18448 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_IsVertical",kwnames
,&obj0
)) goto fail
;
18449 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18450 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18453 result
= (bool)(arg1
)->IsVertical();
18455 wxPyEndAllowThreads(__tstate
);
18456 if (PyErr_Occurred()) SWIG_fail
;
18459 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18467 static PyObject
* ToolBarBase_swigregister(PyObject
*self
, PyObject
*args
) {
18469 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18470 SWIG_TypeClientData(SWIGTYPE_p_wxToolBarBase
, obj
);
18472 return Py_BuildValue((char *)"");
18474 static PyObject
*_wrap_new_ToolBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18475 PyObject
*resultobj
;
18476 wxWindow
*arg1
= (wxWindow
*) 0 ;
18477 int arg2
= (int) -1 ;
18478 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
18479 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
18480 wxSize
const &arg4_defvalue
= wxDefaultSize
;
18481 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
18482 long arg5
= (long) wxNO_BORDER
|wxTB_HORIZONTAL
;
18483 wxString
const &arg6_defvalue
= wxPyToolBarNameStr
;
18484 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
18488 bool temp6
= False
;
18489 PyObject
* obj0
= 0 ;
18490 PyObject
* obj1
= 0 ;
18491 PyObject
* obj2
= 0 ;
18492 PyObject
* obj3
= 0 ;
18493 PyObject
* obj4
= 0 ;
18494 PyObject
* obj5
= 0 ;
18495 char *kwnames
[] = {
18496 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
18499 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_ToolBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
18500 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
18501 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18503 arg2
= (int) SWIG_AsInt(obj1
);
18504 if (PyErr_Occurred()) SWIG_fail
;
18509 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
18515 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
18519 arg5
= (long) SWIG_AsLong(obj4
);
18520 if (PyErr_Occurred()) SWIG_fail
;
18524 arg6
= wxString_in_helper(obj5
);
18525 if (arg6
== NULL
) SWIG_fail
;
18530 if (!wxPyCheckForApp()) SWIG_fail
;
18531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18532 result
= (wxToolBar
*)new wxToolBar(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
18534 wxPyEndAllowThreads(__tstate
);
18535 if (PyErr_Occurred()) SWIG_fail
;
18538 resultobj
= wxPyMake_wxObject(result
);
18554 static PyObject
*_wrap_new_PreToolBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18555 PyObject
*resultobj
;
18557 char *kwnames
[] = {
18561 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreToolBar",kwnames
)) goto fail
;
18563 if (!wxPyCheckForApp()) SWIG_fail
;
18564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18565 result
= (wxToolBar
*)new wxToolBar();
18567 wxPyEndAllowThreads(__tstate
);
18568 if (PyErr_Occurred()) SWIG_fail
;
18571 resultobj
= wxPyMake_wxObject(result
);
18579 static PyObject
*_wrap_ToolBar_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18580 PyObject
*resultobj
;
18581 wxToolBar
*arg1
= (wxToolBar
*) 0 ;
18582 wxWindow
*arg2
= (wxWindow
*) 0 ;
18583 int arg3
= (int) -1 ;
18584 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
18585 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
18586 wxSize
const &arg5_defvalue
= wxDefaultSize
;
18587 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
18588 long arg6
= (long) wxNO_BORDER
|wxTB_HORIZONTAL
;
18589 wxString
const &arg7_defvalue
= wxPyToolBarNameStr
;
18590 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
18594 bool temp7
= False
;
18595 PyObject
* obj0
= 0 ;
18596 PyObject
* obj1
= 0 ;
18597 PyObject
* obj2
= 0 ;
18598 PyObject
* obj3
= 0 ;
18599 PyObject
* obj4
= 0 ;
18600 PyObject
* obj5
= 0 ;
18601 PyObject
* obj6
= 0 ;
18602 char *kwnames
[] = {
18603 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
18606 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:ToolBar_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
18607 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBar
,
18608 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18609 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
18610 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18612 arg3
= (int) SWIG_AsInt(obj2
);
18613 if (PyErr_Occurred()) SWIG_fail
;
18618 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
18624 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
18628 arg6
= (long) SWIG_AsLong(obj5
);
18629 if (PyErr_Occurred()) SWIG_fail
;
18633 arg7
= wxString_in_helper(obj6
);
18634 if (arg7
== NULL
) SWIG_fail
;
18639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18640 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
18642 wxPyEndAllowThreads(__tstate
);
18643 if (PyErr_Occurred()) SWIG_fail
;
18646 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18662 static PyObject
*_wrap_ToolBar_FindToolForPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18663 PyObject
*resultobj
;
18664 wxToolBar
*arg1
= (wxToolBar
*) 0 ;
18667 wxToolBarToolBase
*result
;
18668 PyObject
* obj0
= 0 ;
18669 PyObject
* obj1
= 0 ;
18670 PyObject
* obj2
= 0 ;
18671 char *kwnames
[] = {
18672 (char *) "self",(char *) "x",(char *) "y", NULL
18675 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBar_FindToolForPosition",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18676 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBar
,
18677 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18678 arg2
= (int) SWIG_AsInt(obj1
);
18679 if (PyErr_Occurred()) SWIG_fail
;
18680 arg3
= (int) SWIG_AsInt(obj2
);
18681 if (PyErr_Occurred()) SWIG_fail
;
18683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18684 result
= (wxToolBarToolBase
*)(arg1
)->FindToolForPosition(arg2
,arg3
);
18686 wxPyEndAllowThreads(__tstate
);
18687 if (PyErr_Occurred()) SWIG_fail
;
18690 resultobj
= wxPyMake_wxObject(result
);
18698 static PyObject
*_wrap_ToolBar_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18699 PyObject
*resultobj
;
18700 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
18701 wxVisualAttributes result
;
18702 PyObject
* obj0
= 0 ;
18703 char *kwnames
[] = {
18704 (char *) "variant", NULL
18707 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ToolBar_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
18709 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
18710 if (PyErr_Occurred()) SWIG_fail
;
18713 if (!wxPyCheckForApp()) SWIG_fail
;
18714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18715 result
= wxToolBar::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
18717 wxPyEndAllowThreads(__tstate
);
18718 if (PyErr_Occurred()) SWIG_fail
;
18721 wxVisualAttributes
* resultptr
;
18722 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
18723 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
18731 static PyObject
* ToolBar_swigregister(PyObject
*self
, PyObject
*args
) {
18733 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18734 SWIG_TypeClientData(SWIGTYPE_p_wxToolBar
, obj
);
18736 return Py_BuildValue((char *)"");
18738 static int _wrap_ListCtrlNameStr_set(PyObject
*_val
) {
18739 PyErr_SetString(PyExc_TypeError
,"Variable ListCtrlNameStr is read-only.");
18744 static PyObject
*_wrap_ListCtrlNameStr_get() {
18749 pyobj
= PyUnicode_FromWideChar((&wxPyListCtrlNameStr
)->c_str(), (&wxPyListCtrlNameStr
)->Len());
18751 pyobj
= PyString_FromStringAndSize((&wxPyListCtrlNameStr
)->c_str(), (&wxPyListCtrlNameStr
)->Len());
18758 static PyObject
*_wrap_new_ListItemAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18759 PyObject
*resultobj
;
18760 wxColour
const &arg1_defvalue
= wxNullColour
;
18761 wxColour
*arg1
= (wxColour
*) &arg1_defvalue
;
18762 wxColour
const &arg2_defvalue
= wxNullColour
;
18763 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
18764 wxFont
const &arg3_defvalue
= wxNullFont
;
18765 wxFont
*arg3
= (wxFont
*) &arg3_defvalue
;
18766 wxListItemAttr
*result
;
18769 PyObject
* obj0
= 0 ;
18770 PyObject
* obj1
= 0 ;
18771 PyObject
* obj2
= 0 ;
18772 char *kwnames
[] = {
18773 (char *) "colText",(char *) "colBack",(char *) "font", NULL
18776 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ListItemAttr",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18780 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
18786 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
18790 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxFont
,
18791 SWIG_POINTER_EXCEPTION
| 0)) == -1)
18793 if (arg3
== NULL
) {
18794 PyErr_SetString(PyExc_TypeError
,"null reference");
18799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18800 result
= (wxListItemAttr
*)new wxListItemAttr((wxColour
const &)*arg1
,(wxColour
const &)*arg2
,(wxFont
const &)*arg3
);
18802 wxPyEndAllowThreads(__tstate
);
18803 if (PyErr_Occurred()) SWIG_fail
;
18805 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListItemAttr
, 1);
18812 static PyObject
*_wrap_ListItemAttr_SetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18813 PyObject
*resultobj
;
18814 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
18815 wxColour
*arg2
= 0 ;
18817 PyObject
* obj0
= 0 ;
18818 PyObject
* obj1
= 0 ;
18819 char *kwnames
[] = {
18820 (char *) "self",(char *) "colText", NULL
18823 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
18824 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
18825 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18828 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
18831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18832 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
18834 wxPyEndAllowThreads(__tstate
);
18835 if (PyErr_Occurred()) SWIG_fail
;
18837 Py_INCREF(Py_None
); resultobj
= Py_None
;
18844 static PyObject
*_wrap_ListItemAttr_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18845 PyObject
*resultobj
;
18846 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
18847 wxColour
*arg2
= 0 ;
18849 PyObject
* obj0
= 0 ;
18850 PyObject
* obj1
= 0 ;
18851 char *kwnames
[] = {
18852 (char *) "self",(char *) "colBack", NULL
18855 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
18856 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
18857 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18860 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
18863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18864 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
18866 wxPyEndAllowThreads(__tstate
);
18867 if (PyErr_Occurred()) SWIG_fail
;
18869 Py_INCREF(Py_None
); resultobj
= Py_None
;
18876 static PyObject
*_wrap_ListItemAttr_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18877 PyObject
*resultobj
;
18878 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
18880 PyObject
* obj0
= 0 ;
18881 PyObject
* obj1
= 0 ;
18882 char *kwnames
[] = {
18883 (char *) "self",(char *) "font", NULL
18886 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
;
18887 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
18888 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18889 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
18890 SWIG_POINTER_EXCEPTION
| 0)) == -1)
18892 if (arg2
== NULL
) {
18893 PyErr_SetString(PyExc_TypeError
,"null reference");
18897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18898 (arg1
)->SetFont((wxFont
const &)*arg2
);
18900 wxPyEndAllowThreads(__tstate
);
18901 if (PyErr_Occurred()) SWIG_fail
;
18903 Py_INCREF(Py_None
); resultobj
= Py_None
;
18910 static PyObject
*_wrap_ListItemAttr_HasTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18911 PyObject
*resultobj
;
18912 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
18914 PyObject
* obj0
= 0 ;
18915 char *kwnames
[] = {
18916 (char *) "self", NULL
18919 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_HasTextColour",kwnames
,&obj0
)) goto fail
;
18920 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
18921 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18924 result
= (bool)(arg1
)->HasTextColour();
18926 wxPyEndAllowThreads(__tstate
);
18927 if (PyErr_Occurred()) SWIG_fail
;
18930 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18938 static PyObject
*_wrap_ListItemAttr_HasBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18939 PyObject
*resultobj
;
18940 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
18942 PyObject
* obj0
= 0 ;
18943 char *kwnames
[] = {
18944 (char *) "self", NULL
18947 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_HasBackgroundColour",kwnames
,&obj0
)) goto fail
;
18948 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
18949 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18952 result
= (bool)(arg1
)->HasBackgroundColour();
18954 wxPyEndAllowThreads(__tstate
);
18955 if (PyErr_Occurred()) SWIG_fail
;
18958 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18966 static PyObject
*_wrap_ListItemAttr_HasFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18967 PyObject
*resultobj
;
18968 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
18970 PyObject
* obj0
= 0 ;
18971 char *kwnames
[] = {
18972 (char *) "self", NULL
18975 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_HasFont",kwnames
,&obj0
)) goto fail
;
18976 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
18977 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18980 result
= (bool)(arg1
)->HasFont();
18982 wxPyEndAllowThreads(__tstate
);
18983 if (PyErr_Occurred()) SWIG_fail
;
18986 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18994 static PyObject
*_wrap_ListItemAttr_GetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18995 PyObject
*resultobj
;
18996 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
18998 PyObject
* obj0
= 0 ;
18999 char *kwnames
[] = {
19000 (char *) "self", NULL
19003 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_GetTextColour",kwnames
,&obj0
)) goto fail
;
19004 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
19005 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19008 result
= (arg1
)->GetTextColour();
19010 wxPyEndAllowThreads(__tstate
);
19011 if (PyErr_Occurred()) SWIG_fail
;
19014 wxColour
* resultptr
;
19015 resultptr
= new wxColour((wxColour
&) result
);
19016 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
19024 static PyObject
*_wrap_ListItemAttr_GetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19025 PyObject
*resultobj
;
19026 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
19028 PyObject
* obj0
= 0 ;
19029 char *kwnames
[] = {
19030 (char *) "self", NULL
19033 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
19034 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
19035 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19038 result
= (arg1
)->GetBackgroundColour();
19040 wxPyEndAllowThreads(__tstate
);
19041 if (PyErr_Occurred()) SWIG_fail
;
19044 wxColour
* resultptr
;
19045 resultptr
= new wxColour((wxColour
&) result
);
19046 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
19054 static PyObject
*_wrap_ListItemAttr_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19055 PyObject
*resultobj
;
19056 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
19058 PyObject
* obj0
= 0 ;
19059 char *kwnames
[] = {
19060 (char *) "self", NULL
19063 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_GetFont",kwnames
,&obj0
)) goto fail
;
19064 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
19065 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19068 result
= (arg1
)->GetFont();
19070 wxPyEndAllowThreads(__tstate
);
19071 if (PyErr_Occurred()) SWIG_fail
;
19074 wxFont
* resultptr
;
19075 resultptr
= new wxFont((wxFont
&) result
);
19076 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
19084 static PyObject
*_wrap_ListItemAttr_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19085 PyObject
*resultobj
;
19086 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
19087 PyObject
* obj0
= 0 ;
19088 char *kwnames
[] = {
19089 (char *) "self", NULL
19092 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_Destroy",kwnames
,&obj0
)) goto fail
;
19093 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
19094 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19097 wxListItemAttr_Destroy(arg1
);
19099 wxPyEndAllowThreads(__tstate
);
19100 if (PyErr_Occurred()) SWIG_fail
;
19102 Py_INCREF(Py_None
); resultobj
= Py_None
;
19109 static PyObject
* ListItemAttr_swigregister(PyObject
*self
, PyObject
*args
) {
19111 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19112 SWIG_TypeClientData(SWIGTYPE_p_wxListItemAttr
, obj
);
19114 return Py_BuildValue((char *)"");
19116 static PyObject
*_wrap_new_ListItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19117 PyObject
*resultobj
;
19118 wxListItem
*result
;
19119 char *kwnames
[] = {
19123 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ListItem",kwnames
)) goto fail
;
19125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19126 result
= (wxListItem
*)new wxListItem();
19128 wxPyEndAllowThreads(__tstate
);
19129 if (PyErr_Occurred()) SWIG_fail
;
19132 resultobj
= wxPyMake_wxObject(result
);
19140 static PyObject
*_wrap_delete_ListItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19141 PyObject
*resultobj
;
19142 wxListItem
*arg1
= (wxListItem
*) 0 ;
19143 PyObject
* obj0
= 0 ;
19144 char *kwnames
[] = {
19145 (char *) "self", NULL
19148 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ListItem",kwnames
,&obj0
)) goto fail
;
19149 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19150 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19155 wxPyEndAllowThreads(__tstate
);
19156 if (PyErr_Occurred()) SWIG_fail
;
19158 Py_INCREF(Py_None
); resultobj
= Py_None
;
19165 static PyObject
*_wrap_ListItem_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19166 PyObject
*resultobj
;
19167 wxListItem
*arg1
= (wxListItem
*) 0 ;
19168 PyObject
* obj0
= 0 ;
19169 char *kwnames
[] = {
19170 (char *) "self", NULL
19173 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_Clear",kwnames
,&obj0
)) goto fail
;
19174 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19175 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19180 wxPyEndAllowThreads(__tstate
);
19181 if (PyErr_Occurred()) SWIG_fail
;
19183 Py_INCREF(Py_None
); resultobj
= Py_None
;
19190 static PyObject
*_wrap_ListItem_ClearAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19191 PyObject
*resultobj
;
19192 wxListItem
*arg1
= (wxListItem
*) 0 ;
19193 PyObject
* obj0
= 0 ;
19194 char *kwnames
[] = {
19195 (char *) "self", NULL
19198 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_ClearAttributes",kwnames
,&obj0
)) goto fail
;
19199 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19200 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19203 (arg1
)->ClearAttributes();
19205 wxPyEndAllowThreads(__tstate
);
19206 if (PyErr_Occurred()) SWIG_fail
;
19208 Py_INCREF(Py_None
); resultobj
= Py_None
;
19215 static PyObject
*_wrap_ListItem_SetMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19216 PyObject
*resultobj
;
19217 wxListItem
*arg1
= (wxListItem
*) 0 ;
19219 PyObject
* obj0
= 0 ;
19220 PyObject
* obj1
= 0 ;
19221 char *kwnames
[] = {
19222 (char *) "self",(char *) "mask", NULL
19225 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetMask",kwnames
,&obj0
,&obj1
)) goto fail
;
19226 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19227 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19228 arg2
= (long) SWIG_AsLong(obj1
);
19229 if (PyErr_Occurred()) SWIG_fail
;
19231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19232 (arg1
)->SetMask(arg2
);
19234 wxPyEndAllowThreads(__tstate
);
19235 if (PyErr_Occurred()) SWIG_fail
;
19237 Py_INCREF(Py_None
); resultobj
= Py_None
;
19244 static PyObject
*_wrap_ListItem_SetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19245 PyObject
*resultobj
;
19246 wxListItem
*arg1
= (wxListItem
*) 0 ;
19248 PyObject
* obj0
= 0 ;
19249 PyObject
* obj1
= 0 ;
19250 char *kwnames
[] = {
19251 (char *) "self",(char *) "id", NULL
19254 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
19255 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19256 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19257 arg2
= (long) SWIG_AsLong(obj1
);
19258 if (PyErr_Occurred()) SWIG_fail
;
19260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19261 (arg1
)->SetId(arg2
);
19263 wxPyEndAllowThreads(__tstate
);
19264 if (PyErr_Occurred()) SWIG_fail
;
19266 Py_INCREF(Py_None
); resultobj
= Py_None
;
19273 static PyObject
*_wrap_ListItem_SetColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19274 PyObject
*resultobj
;
19275 wxListItem
*arg1
= (wxListItem
*) 0 ;
19277 PyObject
* obj0
= 0 ;
19278 PyObject
* obj1
= 0 ;
19279 char *kwnames
[] = {
19280 (char *) "self",(char *) "col", NULL
19283 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetColumn",kwnames
,&obj0
,&obj1
)) goto fail
;
19284 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19285 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19286 arg2
= (int) SWIG_AsInt(obj1
);
19287 if (PyErr_Occurred()) SWIG_fail
;
19289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19290 (arg1
)->SetColumn(arg2
);
19292 wxPyEndAllowThreads(__tstate
);
19293 if (PyErr_Occurred()) SWIG_fail
;
19295 Py_INCREF(Py_None
); resultobj
= Py_None
;
19302 static PyObject
*_wrap_ListItem_SetState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19303 PyObject
*resultobj
;
19304 wxListItem
*arg1
= (wxListItem
*) 0 ;
19306 PyObject
* obj0
= 0 ;
19307 PyObject
* obj1
= 0 ;
19308 char *kwnames
[] = {
19309 (char *) "self",(char *) "state", NULL
19312 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetState",kwnames
,&obj0
,&obj1
)) goto fail
;
19313 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19314 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19315 arg2
= (long) SWIG_AsLong(obj1
);
19316 if (PyErr_Occurred()) SWIG_fail
;
19318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19319 (arg1
)->SetState(arg2
);
19321 wxPyEndAllowThreads(__tstate
);
19322 if (PyErr_Occurred()) SWIG_fail
;
19324 Py_INCREF(Py_None
); resultobj
= Py_None
;
19331 static PyObject
*_wrap_ListItem_SetStateMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19332 PyObject
*resultobj
;
19333 wxListItem
*arg1
= (wxListItem
*) 0 ;
19335 PyObject
* obj0
= 0 ;
19336 PyObject
* obj1
= 0 ;
19337 char *kwnames
[] = {
19338 (char *) "self",(char *) "stateMask", NULL
19341 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetStateMask",kwnames
,&obj0
,&obj1
)) goto fail
;
19342 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19343 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19344 arg2
= (long) SWIG_AsLong(obj1
);
19345 if (PyErr_Occurred()) SWIG_fail
;
19347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19348 (arg1
)->SetStateMask(arg2
);
19350 wxPyEndAllowThreads(__tstate
);
19351 if (PyErr_Occurred()) SWIG_fail
;
19353 Py_INCREF(Py_None
); resultobj
= Py_None
;
19360 static PyObject
*_wrap_ListItem_SetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19361 PyObject
*resultobj
;
19362 wxListItem
*arg1
= (wxListItem
*) 0 ;
19363 wxString
*arg2
= 0 ;
19364 bool temp2
= False
;
19365 PyObject
* obj0
= 0 ;
19366 PyObject
* obj1
= 0 ;
19367 char *kwnames
[] = {
19368 (char *) "self",(char *) "text", NULL
19371 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetText",kwnames
,&obj0
,&obj1
)) goto fail
;
19372 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19373 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19375 arg2
= wxString_in_helper(obj1
);
19376 if (arg2
== NULL
) SWIG_fail
;
19380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19381 (arg1
)->SetText((wxString
const &)*arg2
);
19383 wxPyEndAllowThreads(__tstate
);
19384 if (PyErr_Occurred()) SWIG_fail
;
19386 Py_INCREF(Py_None
); resultobj
= Py_None
;
19401 static PyObject
*_wrap_ListItem_SetImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19402 PyObject
*resultobj
;
19403 wxListItem
*arg1
= (wxListItem
*) 0 ;
19405 PyObject
* obj0
= 0 ;
19406 PyObject
* obj1
= 0 ;
19407 char *kwnames
[] = {
19408 (char *) "self",(char *) "image", NULL
19411 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetImage",kwnames
,&obj0
,&obj1
)) goto fail
;
19412 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19413 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19414 arg2
= (int) SWIG_AsInt(obj1
);
19415 if (PyErr_Occurred()) SWIG_fail
;
19417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19418 (arg1
)->SetImage(arg2
);
19420 wxPyEndAllowThreads(__tstate
);
19421 if (PyErr_Occurred()) SWIG_fail
;
19423 Py_INCREF(Py_None
); resultobj
= Py_None
;
19430 static PyObject
*_wrap_ListItem_SetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19431 PyObject
*resultobj
;
19432 wxListItem
*arg1
= (wxListItem
*) 0 ;
19434 PyObject
* obj0
= 0 ;
19435 PyObject
* obj1
= 0 ;
19436 char *kwnames
[] = {
19437 (char *) "self",(char *) "data", NULL
19440 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
19441 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19442 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19443 arg2
= (long) SWIG_AsLong(obj1
);
19444 if (PyErr_Occurred()) SWIG_fail
;
19446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19447 (arg1
)->SetData(arg2
);
19449 wxPyEndAllowThreads(__tstate
);
19450 if (PyErr_Occurred()) SWIG_fail
;
19452 Py_INCREF(Py_None
); resultobj
= Py_None
;
19459 static PyObject
*_wrap_ListItem_SetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19460 PyObject
*resultobj
;
19461 wxListItem
*arg1
= (wxListItem
*) 0 ;
19463 PyObject
* obj0
= 0 ;
19464 PyObject
* obj1
= 0 ;
19465 char *kwnames
[] = {
19466 (char *) "self",(char *) "width", NULL
19469 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
19470 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19471 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19472 arg2
= (int) SWIG_AsInt(obj1
);
19473 if (PyErr_Occurred()) SWIG_fail
;
19475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19476 (arg1
)->SetWidth(arg2
);
19478 wxPyEndAllowThreads(__tstate
);
19479 if (PyErr_Occurred()) SWIG_fail
;
19481 Py_INCREF(Py_None
); resultobj
= Py_None
;
19488 static PyObject
*_wrap_ListItem_SetAlign(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19489 PyObject
*resultobj
;
19490 wxListItem
*arg1
= (wxListItem
*) 0 ;
19492 PyObject
* obj0
= 0 ;
19493 PyObject
* obj1
= 0 ;
19494 char *kwnames
[] = {
19495 (char *) "self",(char *) "align", NULL
19498 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetAlign",kwnames
,&obj0
,&obj1
)) goto fail
;
19499 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19500 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19501 arg2
= (wxListColumnFormat
) SWIG_AsInt(obj1
);
19502 if (PyErr_Occurred()) SWIG_fail
;
19504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19505 (arg1
)->SetAlign((wxListColumnFormat
)arg2
);
19507 wxPyEndAllowThreads(__tstate
);
19508 if (PyErr_Occurred()) SWIG_fail
;
19510 Py_INCREF(Py_None
); resultobj
= Py_None
;
19517 static PyObject
*_wrap_ListItem_SetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19518 PyObject
*resultobj
;
19519 wxListItem
*arg1
= (wxListItem
*) 0 ;
19520 wxColour
*arg2
= 0 ;
19522 PyObject
* obj0
= 0 ;
19523 PyObject
* obj1
= 0 ;
19524 char *kwnames
[] = {
19525 (char *) "self",(char *) "colText", NULL
19528 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
19529 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19530 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19533 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
19536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19537 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
19539 wxPyEndAllowThreads(__tstate
);
19540 if (PyErr_Occurred()) SWIG_fail
;
19542 Py_INCREF(Py_None
); resultobj
= Py_None
;
19549 static PyObject
*_wrap_ListItem_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19550 PyObject
*resultobj
;
19551 wxListItem
*arg1
= (wxListItem
*) 0 ;
19552 wxColour
*arg2
= 0 ;
19554 PyObject
* obj0
= 0 ;
19555 PyObject
* obj1
= 0 ;
19556 char *kwnames
[] = {
19557 (char *) "self",(char *) "colBack", NULL
19560 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
19561 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19562 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19565 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
19568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19569 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
19571 wxPyEndAllowThreads(__tstate
);
19572 if (PyErr_Occurred()) SWIG_fail
;
19574 Py_INCREF(Py_None
); resultobj
= Py_None
;
19581 static PyObject
*_wrap_ListItem_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19582 PyObject
*resultobj
;
19583 wxListItem
*arg1
= (wxListItem
*) 0 ;
19585 PyObject
* obj0
= 0 ;
19586 PyObject
* obj1
= 0 ;
19587 char *kwnames
[] = {
19588 (char *) "self",(char *) "font", NULL
19591 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
;
19592 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19593 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19594 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
19595 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19597 if (arg2
== NULL
) {
19598 PyErr_SetString(PyExc_TypeError
,"null reference");
19602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19603 (arg1
)->SetFont((wxFont
const &)*arg2
);
19605 wxPyEndAllowThreads(__tstate
);
19606 if (PyErr_Occurred()) SWIG_fail
;
19608 Py_INCREF(Py_None
); resultobj
= Py_None
;
19615 static PyObject
*_wrap_ListItem_GetMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19616 PyObject
*resultobj
;
19617 wxListItem
*arg1
= (wxListItem
*) 0 ;
19619 PyObject
* obj0
= 0 ;
19620 char *kwnames
[] = {
19621 (char *) "self", NULL
19624 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetMask",kwnames
,&obj0
)) goto fail
;
19625 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19626 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19629 result
= (long)(arg1
)->GetMask();
19631 wxPyEndAllowThreads(__tstate
);
19632 if (PyErr_Occurred()) SWIG_fail
;
19634 resultobj
= SWIG_FromLong((long)result
);
19641 static PyObject
*_wrap_ListItem_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19642 PyObject
*resultobj
;
19643 wxListItem
*arg1
= (wxListItem
*) 0 ;
19645 PyObject
* obj0
= 0 ;
19646 char *kwnames
[] = {
19647 (char *) "self", NULL
19650 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetId",kwnames
,&obj0
)) goto fail
;
19651 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19652 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19655 result
= (long)(arg1
)->GetId();
19657 wxPyEndAllowThreads(__tstate
);
19658 if (PyErr_Occurred()) SWIG_fail
;
19660 resultobj
= SWIG_FromLong((long)result
);
19667 static PyObject
*_wrap_ListItem_GetColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19668 PyObject
*resultobj
;
19669 wxListItem
*arg1
= (wxListItem
*) 0 ;
19671 PyObject
* obj0
= 0 ;
19672 char *kwnames
[] = {
19673 (char *) "self", NULL
19676 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetColumn",kwnames
,&obj0
)) goto fail
;
19677 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19678 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19681 result
= (int)(arg1
)->GetColumn();
19683 wxPyEndAllowThreads(__tstate
);
19684 if (PyErr_Occurred()) SWIG_fail
;
19686 resultobj
= SWIG_FromInt((int)result
);
19693 static PyObject
*_wrap_ListItem_GetState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19694 PyObject
*resultobj
;
19695 wxListItem
*arg1
= (wxListItem
*) 0 ;
19697 PyObject
* obj0
= 0 ;
19698 char *kwnames
[] = {
19699 (char *) "self", NULL
19702 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetState",kwnames
,&obj0
)) goto fail
;
19703 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19704 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19707 result
= (long)(arg1
)->GetState();
19709 wxPyEndAllowThreads(__tstate
);
19710 if (PyErr_Occurred()) SWIG_fail
;
19712 resultobj
= SWIG_FromLong((long)result
);
19719 static PyObject
*_wrap_ListItem_GetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19720 PyObject
*resultobj
;
19721 wxListItem
*arg1
= (wxListItem
*) 0 ;
19723 PyObject
* obj0
= 0 ;
19724 char *kwnames
[] = {
19725 (char *) "self", NULL
19728 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetText",kwnames
,&obj0
)) goto fail
;
19729 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19730 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19734 wxString
const &_result_ref
= (arg1
)->GetText();
19735 result
= (wxString
*) &_result_ref
;
19738 wxPyEndAllowThreads(__tstate
);
19739 if (PyErr_Occurred()) SWIG_fail
;
19743 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
19745 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
19754 static PyObject
*_wrap_ListItem_GetImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19755 PyObject
*resultobj
;
19756 wxListItem
*arg1
= (wxListItem
*) 0 ;
19758 PyObject
* obj0
= 0 ;
19759 char *kwnames
[] = {
19760 (char *) "self", NULL
19763 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetImage",kwnames
,&obj0
)) goto fail
;
19764 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19765 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19768 result
= (int)(arg1
)->GetImage();
19770 wxPyEndAllowThreads(__tstate
);
19771 if (PyErr_Occurred()) SWIG_fail
;
19773 resultobj
= SWIG_FromInt((int)result
);
19780 static PyObject
*_wrap_ListItem_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19781 PyObject
*resultobj
;
19782 wxListItem
*arg1
= (wxListItem
*) 0 ;
19784 PyObject
* obj0
= 0 ;
19785 char *kwnames
[] = {
19786 (char *) "self", NULL
19789 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetData",kwnames
,&obj0
)) goto fail
;
19790 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19791 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19794 result
= (long)(arg1
)->GetData();
19796 wxPyEndAllowThreads(__tstate
);
19797 if (PyErr_Occurred()) SWIG_fail
;
19799 resultobj
= SWIG_FromLong((long)result
);
19806 static PyObject
*_wrap_ListItem_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19807 PyObject
*resultobj
;
19808 wxListItem
*arg1
= (wxListItem
*) 0 ;
19810 PyObject
* obj0
= 0 ;
19811 char *kwnames
[] = {
19812 (char *) "self", NULL
19815 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetWidth",kwnames
,&obj0
)) goto fail
;
19816 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19817 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19820 result
= (int)(arg1
)->GetWidth();
19822 wxPyEndAllowThreads(__tstate
);
19823 if (PyErr_Occurred()) SWIG_fail
;
19825 resultobj
= SWIG_FromInt((int)result
);
19832 static PyObject
*_wrap_ListItem_GetAlign(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19833 PyObject
*resultobj
;
19834 wxListItem
*arg1
= (wxListItem
*) 0 ;
19836 PyObject
* obj0
= 0 ;
19837 char *kwnames
[] = {
19838 (char *) "self", NULL
19841 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetAlign",kwnames
,&obj0
)) goto fail
;
19842 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19843 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19846 result
= (int)(arg1
)->GetAlign();
19848 wxPyEndAllowThreads(__tstate
);
19849 if (PyErr_Occurred()) SWIG_fail
;
19851 resultobj
= SWIG_FromInt((int)result
);
19858 static PyObject
*_wrap_ListItem_GetAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19859 PyObject
*resultobj
;
19860 wxListItem
*arg1
= (wxListItem
*) 0 ;
19861 wxListItemAttr
*result
;
19862 PyObject
* obj0
= 0 ;
19863 char *kwnames
[] = {
19864 (char *) "self", NULL
19867 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetAttributes",kwnames
,&obj0
)) goto fail
;
19868 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19869 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19872 result
= (wxListItemAttr
*)(arg1
)->GetAttributes();
19874 wxPyEndAllowThreads(__tstate
);
19875 if (PyErr_Occurred()) SWIG_fail
;
19877 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListItemAttr
, 0);
19884 static PyObject
*_wrap_ListItem_HasAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19885 PyObject
*resultobj
;
19886 wxListItem
*arg1
= (wxListItem
*) 0 ;
19888 PyObject
* obj0
= 0 ;
19889 char *kwnames
[] = {
19890 (char *) "self", NULL
19893 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_HasAttributes",kwnames
,&obj0
)) goto fail
;
19894 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19895 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19898 result
= (bool)(arg1
)->HasAttributes();
19900 wxPyEndAllowThreads(__tstate
);
19901 if (PyErr_Occurred()) SWIG_fail
;
19904 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19912 static PyObject
*_wrap_ListItem_GetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19913 PyObject
*resultobj
;
19914 wxListItem
*arg1
= (wxListItem
*) 0 ;
19916 PyObject
* obj0
= 0 ;
19917 char *kwnames
[] = {
19918 (char *) "self", NULL
19921 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetTextColour",kwnames
,&obj0
)) goto fail
;
19922 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19923 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19926 result
= ((wxListItem
const *)arg1
)->GetTextColour();
19928 wxPyEndAllowThreads(__tstate
);
19929 if (PyErr_Occurred()) SWIG_fail
;
19932 wxColour
* resultptr
;
19933 resultptr
= new wxColour((wxColour
&) result
);
19934 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
19942 static PyObject
*_wrap_ListItem_GetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19943 PyObject
*resultobj
;
19944 wxListItem
*arg1
= (wxListItem
*) 0 ;
19946 PyObject
* obj0
= 0 ;
19947 char *kwnames
[] = {
19948 (char *) "self", NULL
19951 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
19952 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19953 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19956 result
= ((wxListItem
const *)arg1
)->GetBackgroundColour();
19958 wxPyEndAllowThreads(__tstate
);
19959 if (PyErr_Occurred()) SWIG_fail
;
19962 wxColour
* resultptr
;
19963 resultptr
= new wxColour((wxColour
&) result
);
19964 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
19972 static PyObject
*_wrap_ListItem_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19973 PyObject
*resultobj
;
19974 wxListItem
*arg1
= (wxListItem
*) 0 ;
19976 PyObject
* obj0
= 0 ;
19977 char *kwnames
[] = {
19978 (char *) "self", NULL
19981 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetFont",kwnames
,&obj0
)) goto fail
;
19982 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19983 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19986 result
= ((wxListItem
const *)arg1
)->GetFont();
19988 wxPyEndAllowThreads(__tstate
);
19989 if (PyErr_Occurred()) SWIG_fail
;
19992 wxFont
* resultptr
;
19993 resultptr
= new wxFont((wxFont
&) result
);
19994 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
20002 static PyObject
*_wrap_ListItem_m_mask_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20003 PyObject
*resultobj
;
20004 wxListItem
*arg1
= (wxListItem
*) 0 ;
20006 PyObject
* obj0
= 0 ;
20007 PyObject
* obj1
= 0 ;
20008 char *kwnames
[] = {
20009 (char *) "self",(char *) "m_mask", NULL
20012 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_mask_set",kwnames
,&obj0
,&obj1
)) goto fail
;
20013 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20014 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20015 arg2
= (long) SWIG_AsLong(obj1
);
20016 if (PyErr_Occurred()) SWIG_fail
;
20017 if (arg1
) (arg1
)->m_mask
= arg2
;
20019 Py_INCREF(Py_None
); resultobj
= Py_None
;
20026 static PyObject
*_wrap_ListItem_m_mask_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20027 PyObject
*resultobj
;
20028 wxListItem
*arg1
= (wxListItem
*) 0 ;
20030 PyObject
* obj0
= 0 ;
20031 char *kwnames
[] = {
20032 (char *) "self", NULL
20035 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_mask_get",kwnames
,&obj0
)) goto fail
;
20036 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20037 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20038 result
= (long) ((arg1
)->m_mask
);
20040 resultobj
= SWIG_FromLong((long)result
);
20047 static PyObject
*_wrap_ListItem_m_itemId_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20048 PyObject
*resultobj
;
20049 wxListItem
*arg1
= (wxListItem
*) 0 ;
20051 PyObject
* obj0
= 0 ;
20052 PyObject
* obj1
= 0 ;
20053 char *kwnames
[] = {
20054 (char *) "self",(char *) "m_itemId", NULL
20057 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_itemId_set",kwnames
,&obj0
,&obj1
)) goto fail
;
20058 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20059 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20060 arg2
= (long) SWIG_AsLong(obj1
);
20061 if (PyErr_Occurred()) SWIG_fail
;
20062 if (arg1
) (arg1
)->m_itemId
= arg2
;
20064 Py_INCREF(Py_None
); resultobj
= Py_None
;
20071 static PyObject
*_wrap_ListItem_m_itemId_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20072 PyObject
*resultobj
;
20073 wxListItem
*arg1
= (wxListItem
*) 0 ;
20075 PyObject
* obj0
= 0 ;
20076 char *kwnames
[] = {
20077 (char *) "self", NULL
20080 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_itemId_get",kwnames
,&obj0
)) goto fail
;
20081 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20082 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20083 result
= (long) ((arg1
)->m_itemId
);
20085 resultobj
= SWIG_FromLong((long)result
);
20092 static PyObject
*_wrap_ListItem_m_col_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20093 PyObject
*resultobj
;
20094 wxListItem
*arg1
= (wxListItem
*) 0 ;
20096 PyObject
* obj0
= 0 ;
20097 PyObject
* obj1
= 0 ;
20098 char *kwnames
[] = {
20099 (char *) "self",(char *) "m_col", NULL
20102 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_col_set",kwnames
,&obj0
,&obj1
)) goto fail
;
20103 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20104 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20105 arg2
= (int) SWIG_AsInt(obj1
);
20106 if (PyErr_Occurred()) SWIG_fail
;
20107 if (arg1
) (arg1
)->m_col
= arg2
;
20109 Py_INCREF(Py_None
); resultobj
= Py_None
;
20116 static PyObject
*_wrap_ListItem_m_col_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20117 PyObject
*resultobj
;
20118 wxListItem
*arg1
= (wxListItem
*) 0 ;
20120 PyObject
* obj0
= 0 ;
20121 char *kwnames
[] = {
20122 (char *) "self", NULL
20125 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_col_get",kwnames
,&obj0
)) goto fail
;
20126 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20127 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20128 result
= (int) ((arg1
)->m_col
);
20130 resultobj
= SWIG_FromInt((int)result
);
20137 static PyObject
*_wrap_ListItem_m_state_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20138 PyObject
*resultobj
;
20139 wxListItem
*arg1
= (wxListItem
*) 0 ;
20141 PyObject
* obj0
= 0 ;
20142 PyObject
* obj1
= 0 ;
20143 char *kwnames
[] = {
20144 (char *) "self",(char *) "m_state", NULL
20147 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_state_set",kwnames
,&obj0
,&obj1
)) goto fail
;
20148 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20149 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20150 arg2
= (long) SWIG_AsLong(obj1
);
20151 if (PyErr_Occurred()) SWIG_fail
;
20152 if (arg1
) (arg1
)->m_state
= arg2
;
20154 Py_INCREF(Py_None
); resultobj
= Py_None
;
20161 static PyObject
*_wrap_ListItem_m_state_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20162 PyObject
*resultobj
;
20163 wxListItem
*arg1
= (wxListItem
*) 0 ;
20165 PyObject
* obj0
= 0 ;
20166 char *kwnames
[] = {
20167 (char *) "self", NULL
20170 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_state_get",kwnames
,&obj0
)) goto fail
;
20171 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20172 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20173 result
= (long) ((arg1
)->m_state
);
20175 resultobj
= SWIG_FromLong((long)result
);
20182 static PyObject
*_wrap_ListItem_m_stateMask_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20183 PyObject
*resultobj
;
20184 wxListItem
*arg1
= (wxListItem
*) 0 ;
20186 PyObject
* obj0
= 0 ;
20187 PyObject
* obj1
= 0 ;
20188 char *kwnames
[] = {
20189 (char *) "self",(char *) "m_stateMask", NULL
20192 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_stateMask_set",kwnames
,&obj0
,&obj1
)) goto fail
;
20193 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20194 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20195 arg2
= (long) SWIG_AsLong(obj1
);
20196 if (PyErr_Occurred()) SWIG_fail
;
20197 if (arg1
) (arg1
)->m_stateMask
= arg2
;
20199 Py_INCREF(Py_None
); resultobj
= Py_None
;
20206 static PyObject
*_wrap_ListItem_m_stateMask_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20207 PyObject
*resultobj
;
20208 wxListItem
*arg1
= (wxListItem
*) 0 ;
20210 PyObject
* obj0
= 0 ;
20211 char *kwnames
[] = {
20212 (char *) "self", NULL
20215 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_stateMask_get",kwnames
,&obj0
)) goto fail
;
20216 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20217 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20218 result
= (long) ((arg1
)->m_stateMask
);
20220 resultobj
= SWIG_FromLong((long)result
);
20227 static PyObject
*_wrap_ListItem_m_text_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20228 PyObject
*resultobj
;
20229 wxListItem
*arg1
= (wxListItem
*) 0 ;
20230 wxString
*arg2
= (wxString
*) 0 ;
20231 bool temp2
= False
;
20232 PyObject
* obj0
= 0 ;
20233 PyObject
* obj1
= 0 ;
20234 char *kwnames
[] = {
20235 (char *) "self",(char *) "m_text", NULL
20238 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_text_set",kwnames
,&obj0
,&obj1
)) goto fail
;
20239 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20240 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20242 arg2
= wxString_in_helper(obj1
);
20243 if (arg2
== NULL
) SWIG_fail
;
20246 if (arg1
) (arg1
)->m_text
= *arg2
;
20248 Py_INCREF(Py_None
); resultobj
= Py_None
;
20263 static PyObject
*_wrap_ListItem_m_text_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20264 PyObject
*resultobj
;
20265 wxListItem
*arg1
= (wxListItem
*) 0 ;
20267 PyObject
* obj0
= 0 ;
20268 char *kwnames
[] = {
20269 (char *) "self", NULL
20272 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_text_get",kwnames
,&obj0
)) goto fail
;
20273 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20274 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20275 result
= (wxString
*)& ((arg1
)->m_text
);
20279 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
20281 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
20290 static PyObject
*_wrap_ListItem_m_image_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20291 PyObject
*resultobj
;
20292 wxListItem
*arg1
= (wxListItem
*) 0 ;
20294 PyObject
* obj0
= 0 ;
20295 PyObject
* obj1
= 0 ;
20296 char *kwnames
[] = {
20297 (char *) "self",(char *) "m_image", NULL
20300 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_image_set",kwnames
,&obj0
,&obj1
)) goto fail
;
20301 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20302 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20303 arg2
= (int) SWIG_AsInt(obj1
);
20304 if (PyErr_Occurred()) SWIG_fail
;
20305 if (arg1
) (arg1
)->m_image
= arg2
;
20307 Py_INCREF(Py_None
); resultobj
= Py_None
;
20314 static PyObject
*_wrap_ListItem_m_image_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20315 PyObject
*resultobj
;
20316 wxListItem
*arg1
= (wxListItem
*) 0 ;
20318 PyObject
* obj0
= 0 ;
20319 char *kwnames
[] = {
20320 (char *) "self", NULL
20323 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_image_get",kwnames
,&obj0
)) goto fail
;
20324 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20325 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20326 result
= (int) ((arg1
)->m_image
);
20328 resultobj
= SWIG_FromInt((int)result
);
20335 static PyObject
*_wrap_ListItem_m_data_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20336 PyObject
*resultobj
;
20337 wxListItem
*arg1
= (wxListItem
*) 0 ;
20339 PyObject
* obj0
= 0 ;
20340 PyObject
* obj1
= 0 ;
20341 char *kwnames
[] = {
20342 (char *) "self",(char *) "m_data", NULL
20345 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_data_set",kwnames
,&obj0
,&obj1
)) goto fail
;
20346 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20347 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20348 arg2
= (long) SWIG_AsLong(obj1
);
20349 if (PyErr_Occurred()) SWIG_fail
;
20350 if (arg1
) (arg1
)->m_data
= arg2
;
20352 Py_INCREF(Py_None
); resultobj
= Py_None
;
20359 static PyObject
*_wrap_ListItem_m_data_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20360 PyObject
*resultobj
;
20361 wxListItem
*arg1
= (wxListItem
*) 0 ;
20363 PyObject
* obj0
= 0 ;
20364 char *kwnames
[] = {
20365 (char *) "self", NULL
20368 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_data_get",kwnames
,&obj0
)) goto fail
;
20369 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20370 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20371 result
= (long) ((arg1
)->m_data
);
20373 resultobj
= SWIG_FromLong((long)result
);
20380 static PyObject
*_wrap_ListItem_m_format_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20381 PyObject
*resultobj
;
20382 wxListItem
*arg1
= (wxListItem
*) 0 ;
20384 PyObject
* obj0
= 0 ;
20385 PyObject
* obj1
= 0 ;
20386 char *kwnames
[] = {
20387 (char *) "self",(char *) "m_format", NULL
20390 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_format_set",kwnames
,&obj0
,&obj1
)) goto fail
;
20391 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20392 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20393 arg2
= (int) SWIG_AsInt(obj1
);
20394 if (PyErr_Occurred()) SWIG_fail
;
20395 if (arg1
) (arg1
)->m_format
= arg2
;
20397 Py_INCREF(Py_None
); resultobj
= Py_None
;
20404 static PyObject
*_wrap_ListItem_m_format_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20405 PyObject
*resultobj
;
20406 wxListItem
*arg1
= (wxListItem
*) 0 ;
20408 PyObject
* obj0
= 0 ;
20409 char *kwnames
[] = {
20410 (char *) "self", NULL
20413 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_format_get",kwnames
,&obj0
)) goto fail
;
20414 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20415 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20416 result
= (int) ((arg1
)->m_format
);
20418 resultobj
= SWIG_FromInt((int)result
);
20425 static PyObject
*_wrap_ListItem_m_width_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20426 PyObject
*resultobj
;
20427 wxListItem
*arg1
= (wxListItem
*) 0 ;
20429 PyObject
* obj0
= 0 ;
20430 PyObject
* obj1
= 0 ;
20431 char *kwnames
[] = {
20432 (char *) "self",(char *) "m_width", NULL
20435 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_width_set",kwnames
,&obj0
,&obj1
)) goto fail
;
20436 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20437 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20438 arg2
= (int) SWIG_AsInt(obj1
);
20439 if (PyErr_Occurred()) SWIG_fail
;
20440 if (arg1
) (arg1
)->m_width
= arg2
;
20442 Py_INCREF(Py_None
); resultobj
= Py_None
;
20449 static PyObject
*_wrap_ListItem_m_width_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20450 PyObject
*resultobj
;
20451 wxListItem
*arg1
= (wxListItem
*) 0 ;
20453 PyObject
* obj0
= 0 ;
20454 char *kwnames
[] = {
20455 (char *) "self", NULL
20458 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_width_get",kwnames
,&obj0
)) goto fail
;
20459 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20460 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20461 result
= (int) ((arg1
)->m_width
);
20463 resultobj
= SWIG_FromInt((int)result
);
20470 static PyObject
* ListItem_swigregister(PyObject
*self
, PyObject
*args
) {
20472 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20473 SWIG_TypeClientData(SWIGTYPE_p_wxListItem
, obj
);
20475 return Py_BuildValue((char *)"");
20477 static PyObject
*_wrap_new_ListEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20478 PyObject
*resultobj
;
20479 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
20480 int arg2
= (int) 0 ;
20481 wxListEvent
*result
;
20482 PyObject
* obj0
= 0 ;
20483 PyObject
* obj1
= 0 ;
20484 char *kwnames
[] = {
20485 (char *) "commandType",(char *) "id", NULL
20488 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_ListEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
20490 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
20491 if (PyErr_Occurred()) SWIG_fail
;
20494 arg2
= (int) SWIG_AsInt(obj1
);
20495 if (PyErr_Occurred()) SWIG_fail
;
20498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20499 result
= (wxListEvent
*)new wxListEvent(arg1
,arg2
);
20501 wxPyEndAllowThreads(__tstate
);
20502 if (PyErr_Occurred()) SWIG_fail
;
20504 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListEvent
, 1);
20511 static PyObject
*_wrap_ListEvent_m_code_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20512 PyObject
*resultobj
;
20513 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20515 PyObject
* obj0
= 0 ;
20516 PyObject
* obj1
= 0 ;
20517 char *kwnames
[] = {
20518 (char *) "self",(char *) "m_code", NULL
20521 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_code_set",kwnames
,&obj0
,&obj1
)) goto fail
;
20522 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20523 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20524 arg2
= (int) SWIG_AsInt(obj1
);
20525 if (PyErr_Occurred()) SWIG_fail
;
20526 if (arg1
) (arg1
)->m_code
= arg2
;
20528 Py_INCREF(Py_None
); resultobj
= Py_None
;
20535 static PyObject
*_wrap_ListEvent_m_code_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20536 PyObject
*resultobj
;
20537 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20539 PyObject
* obj0
= 0 ;
20540 char *kwnames
[] = {
20541 (char *) "self", NULL
20544 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_code_get",kwnames
,&obj0
)) goto fail
;
20545 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20546 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20547 result
= (int) ((arg1
)->m_code
);
20549 resultobj
= SWIG_FromInt((int)result
);
20556 static PyObject
*_wrap_ListEvent_m_oldItemIndex_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20557 PyObject
*resultobj
;
20558 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20560 PyObject
* obj0
= 0 ;
20561 PyObject
* obj1
= 0 ;
20562 char *kwnames
[] = {
20563 (char *) "self",(char *) "m_oldItemIndex", NULL
20566 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_oldItemIndex_set",kwnames
,&obj0
,&obj1
)) goto fail
;
20567 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20568 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20569 arg2
= (long) SWIG_AsLong(obj1
);
20570 if (PyErr_Occurred()) SWIG_fail
;
20571 if (arg1
) (arg1
)->m_oldItemIndex
= arg2
;
20573 Py_INCREF(Py_None
); resultobj
= Py_None
;
20580 static PyObject
*_wrap_ListEvent_m_oldItemIndex_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20581 PyObject
*resultobj
;
20582 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20584 PyObject
* obj0
= 0 ;
20585 char *kwnames
[] = {
20586 (char *) "self", NULL
20589 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_oldItemIndex_get",kwnames
,&obj0
)) goto fail
;
20590 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20591 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20592 result
= (long) ((arg1
)->m_oldItemIndex
);
20594 resultobj
= SWIG_FromLong((long)result
);
20601 static PyObject
*_wrap_ListEvent_m_itemIndex_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20602 PyObject
*resultobj
;
20603 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20605 PyObject
* obj0
= 0 ;
20606 PyObject
* obj1
= 0 ;
20607 char *kwnames
[] = {
20608 (char *) "self",(char *) "m_itemIndex", NULL
20611 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_itemIndex_set",kwnames
,&obj0
,&obj1
)) goto fail
;
20612 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20613 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20614 arg2
= (long) SWIG_AsLong(obj1
);
20615 if (PyErr_Occurred()) SWIG_fail
;
20616 if (arg1
) (arg1
)->m_itemIndex
= arg2
;
20618 Py_INCREF(Py_None
); resultobj
= Py_None
;
20625 static PyObject
*_wrap_ListEvent_m_itemIndex_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20626 PyObject
*resultobj
;
20627 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20629 PyObject
* obj0
= 0 ;
20630 char *kwnames
[] = {
20631 (char *) "self", NULL
20634 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_itemIndex_get",kwnames
,&obj0
)) goto fail
;
20635 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20636 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20637 result
= (long) ((arg1
)->m_itemIndex
);
20639 resultobj
= SWIG_FromLong((long)result
);
20646 static PyObject
*_wrap_ListEvent_m_col_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20647 PyObject
*resultobj
;
20648 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20650 PyObject
* obj0
= 0 ;
20651 PyObject
* obj1
= 0 ;
20652 char *kwnames
[] = {
20653 (char *) "self",(char *) "m_col", NULL
20656 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_col_set",kwnames
,&obj0
,&obj1
)) goto fail
;
20657 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20658 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20659 arg2
= (int) SWIG_AsInt(obj1
);
20660 if (PyErr_Occurred()) SWIG_fail
;
20661 if (arg1
) (arg1
)->m_col
= arg2
;
20663 Py_INCREF(Py_None
); resultobj
= Py_None
;
20670 static PyObject
*_wrap_ListEvent_m_col_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20671 PyObject
*resultobj
;
20672 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20674 PyObject
* obj0
= 0 ;
20675 char *kwnames
[] = {
20676 (char *) "self", NULL
20679 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_col_get",kwnames
,&obj0
)) goto fail
;
20680 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20681 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20682 result
= (int) ((arg1
)->m_col
);
20684 resultobj
= SWIG_FromInt((int)result
);
20691 static PyObject
*_wrap_ListEvent_m_pointDrag_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20692 PyObject
*resultobj
;
20693 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20694 wxPoint
*arg2
= (wxPoint
*) 0 ;
20695 PyObject
* obj0
= 0 ;
20696 PyObject
* obj1
= 0 ;
20697 char *kwnames
[] = {
20698 (char *) "self",(char *) "m_pointDrag", NULL
20701 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_pointDrag_set",kwnames
,&obj0
,&obj1
)) goto fail
;
20702 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20703 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20704 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPoint
,
20705 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20706 if (arg1
) (arg1
)->m_pointDrag
= *arg2
;
20708 Py_INCREF(Py_None
); resultobj
= Py_None
;
20715 static PyObject
*_wrap_ListEvent_m_pointDrag_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20716 PyObject
*resultobj
;
20717 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20719 PyObject
* obj0
= 0 ;
20720 char *kwnames
[] = {
20721 (char *) "self", NULL
20724 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_pointDrag_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
= (wxPoint
*)& ((arg1
)->m_pointDrag
);
20729 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 0);
20736 static PyObject
*_wrap_ListEvent_m_item_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20737 PyObject
*resultobj
;
20738 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20739 wxListItem
*result
;
20740 PyObject
* obj0
= 0 ;
20741 char *kwnames
[] = {
20742 (char *) "self", NULL
20745 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_item_get",kwnames
,&obj0
)) goto fail
;
20746 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20747 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20748 result
= (wxListItem
*)& ((arg1
)->m_item
);
20751 resultobj
= wxPyMake_wxObject(result
);
20759 static PyObject
*_wrap_ListEvent_GetKeyCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20760 PyObject
*resultobj
;
20761 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20763 PyObject
* obj0
= 0 ;
20764 char *kwnames
[] = {
20765 (char *) "self", NULL
20768 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetKeyCode",kwnames
,&obj0
)) goto fail
;
20769 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20770 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20773 result
= (int)(arg1
)->GetKeyCode();
20775 wxPyEndAllowThreads(__tstate
);
20776 if (PyErr_Occurred()) SWIG_fail
;
20778 resultobj
= SWIG_FromInt((int)result
);
20785 static PyObject
*_wrap_ListEvent_GetIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20786 PyObject
*resultobj
;
20787 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20789 PyObject
* obj0
= 0 ;
20790 char *kwnames
[] = {
20791 (char *) "self", NULL
20794 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetIndex",kwnames
,&obj0
)) goto fail
;
20795 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20796 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20799 result
= (long)(arg1
)->GetIndex();
20801 wxPyEndAllowThreads(__tstate
);
20802 if (PyErr_Occurred()) SWIG_fail
;
20804 resultobj
= SWIG_FromLong((long)result
);
20811 static PyObject
*_wrap_ListEvent_GetColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20812 PyObject
*resultobj
;
20813 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20815 PyObject
* obj0
= 0 ;
20816 char *kwnames
[] = {
20817 (char *) "self", NULL
20820 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetColumn",kwnames
,&obj0
)) goto fail
;
20821 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20822 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20825 result
= (int)(arg1
)->GetColumn();
20827 wxPyEndAllowThreads(__tstate
);
20828 if (PyErr_Occurred()) SWIG_fail
;
20830 resultobj
= SWIG_FromInt((int)result
);
20837 static PyObject
*_wrap_ListEvent_GetPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20838 PyObject
*resultobj
;
20839 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20841 PyObject
* obj0
= 0 ;
20842 char *kwnames
[] = {
20843 (char *) "self", NULL
20846 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetPoint",kwnames
,&obj0
)) goto fail
;
20847 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20848 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20851 result
= (arg1
)->GetPoint();
20853 wxPyEndAllowThreads(__tstate
);
20854 if (PyErr_Occurred()) SWIG_fail
;
20857 wxPoint
* resultptr
;
20858 resultptr
= new wxPoint((wxPoint
&) result
);
20859 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
20867 static PyObject
*_wrap_ListEvent_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20868 PyObject
*resultobj
;
20869 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20871 PyObject
* obj0
= 0 ;
20872 char *kwnames
[] = {
20873 (char *) "self", NULL
20876 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetLabel",kwnames
,&obj0
)) goto fail
;
20877 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20878 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20882 wxString
const &_result_ref
= (arg1
)->GetLabel();
20883 result
= (wxString
*) &_result_ref
;
20886 wxPyEndAllowThreads(__tstate
);
20887 if (PyErr_Occurred()) SWIG_fail
;
20891 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
20893 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
20902 static PyObject
*_wrap_ListEvent_GetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20903 PyObject
*resultobj
;
20904 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20906 PyObject
* obj0
= 0 ;
20907 char *kwnames
[] = {
20908 (char *) "self", NULL
20911 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetText",kwnames
,&obj0
)) goto fail
;
20912 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20913 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20917 wxString
const &_result_ref
= (arg1
)->GetText();
20918 result
= (wxString
*) &_result_ref
;
20921 wxPyEndAllowThreads(__tstate
);
20922 if (PyErr_Occurred()) SWIG_fail
;
20926 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
20928 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
20937 static PyObject
*_wrap_ListEvent_GetImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20938 PyObject
*resultobj
;
20939 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20941 PyObject
* obj0
= 0 ;
20942 char *kwnames
[] = {
20943 (char *) "self", NULL
20946 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetImage",kwnames
,&obj0
)) goto fail
;
20947 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20948 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20951 result
= (int)(arg1
)->GetImage();
20953 wxPyEndAllowThreads(__tstate
);
20954 if (PyErr_Occurred()) SWIG_fail
;
20956 resultobj
= SWIG_FromInt((int)result
);
20963 static PyObject
*_wrap_ListEvent_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20964 PyObject
*resultobj
;
20965 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20967 PyObject
* obj0
= 0 ;
20968 char *kwnames
[] = {
20969 (char *) "self", NULL
20972 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetData",kwnames
,&obj0
)) goto fail
;
20973 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20974 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20977 result
= (long)(arg1
)->GetData();
20979 wxPyEndAllowThreads(__tstate
);
20980 if (PyErr_Occurred()) SWIG_fail
;
20982 resultobj
= SWIG_FromLong((long)result
);
20989 static PyObject
*_wrap_ListEvent_GetMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20990 PyObject
*resultobj
;
20991 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20993 PyObject
* obj0
= 0 ;
20994 char *kwnames
[] = {
20995 (char *) "self", NULL
20998 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetMask",kwnames
,&obj0
)) goto fail
;
20999 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
21000 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21003 result
= (long)(arg1
)->GetMask();
21005 wxPyEndAllowThreads(__tstate
);
21006 if (PyErr_Occurred()) SWIG_fail
;
21008 resultobj
= SWIG_FromLong((long)result
);
21015 static PyObject
*_wrap_ListEvent_GetItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21016 PyObject
*resultobj
;
21017 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
21018 wxListItem
*result
;
21019 PyObject
* obj0
= 0 ;
21020 char *kwnames
[] = {
21021 (char *) "self", NULL
21024 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetItem",kwnames
,&obj0
)) goto fail
;
21025 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
21026 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21030 wxListItem
const &_result_ref
= (arg1
)->GetItem();
21031 result
= (wxListItem
*) &_result_ref
;
21034 wxPyEndAllowThreads(__tstate
);
21035 if (PyErr_Occurred()) SWIG_fail
;
21037 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListItem
, 0);
21044 static PyObject
*_wrap_ListEvent_GetCacheFrom(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21045 PyObject
*resultobj
;
21046 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
21048 PyObject
* obj0
= 0 ;
21049 char *kwnames
[] = {
21050 (char *) "self", NULL
21053 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetCacheFrom",kwnames
,&obj0
)) goto fail
;
21054 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
21055 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21058 result
= (long)(arg1
)->GetCacheFrom();
21060 wxPyEndAllowThreads(__tstate
);
21061 if (PyErr_Occurred()) SWIG_fail
;
21063 resultobj
= SWIG_FromLong((long)result
);
21070 static PyObject
*_wrap_ListEvent_GetCacheTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21071 PyObject
*resultobj
;
21072 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
21074 PyObject
* obj0
= 0 ;
21075 char *kwnames
[] = {
21076 (char *) "self", NULL
21079 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetCacheTo",kwnames
,&obj0
)) goto fail
;
21080 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
21081 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21084 result
= (long)(arg1
)->GetCacheTo();
21086 wxPyEndAllowThreads(__tstate
);
21087 if (PyErr_Occurred()) SWIG_fail
;
21089 resultobj
= SWIG_FromLong((long)result
);
21096 static PyObject
*_wrap_ListEvent_IsEditCancelled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21097 PyObject
*resultobj
;
21098 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
21100 PyObject
* obj0
= 0 ;
21101 char *kwnames
[] = {
21102 (char *) "self", NULL
21105 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_IsEditCancelled",kwnames
,&obj0
)) goto fail
;
21106 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
21107 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21110 result
= (bool)((wxListEvent
const *)arg1
)->IsEditCancelled();
21112 wxPyEndAllowThreads(__tstate
);
21113 if (PyErr_Occurred()) SWIG_fail
;
21116 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21124 static PyObject
*_wrap_ListEvent_SetEditCanceled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21125 PyObject
*resultobj
;
21126 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
21128 PyObject
* obj0
= 0 ;
21129 PyObject
* obj1
= 0 ;
21130 char *kwnames
[] = {
21131 (char *) "self",(char *) "editCancelled", NULL
21134 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_SetEditCanceled",kwnames
,&obj0
,&obj1
)) goto fail
;
21135 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
21136 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21137 arg2
= (bool) SWIG_AsBool(obj1
);
21138 if (PyErr_Occurred()) SWIG_fail
;
21140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21141 (arg1
)->SetEditCanceled(arg2
);
21143 wxPyEndAllowThreads(__tstate
);
21144 if (PyErr_Occurred()) SWIG_fail
;
21146 Py_INCREF(Py_None
); resultobj
= Py_None
;
21153 static PyObject
* ListEvent_swigregister(PyObject
*self
, PyObject
*args
) {
21155 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21156 SWIG_TypeClientData(SWIGTYPE_p_wxListEvent
, obj
);
21158 return Py_BuildValue((char *)"");
21160 static PyObject
*_wrap_new_ListCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21161 PyObject
*resultobj
;
21162 wxWindow
*arg1
= (wxWindow
*) 0 ;
21163 int arg2
= (int) -1 ;
21164 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
21165 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
21166 wxSize
const &arg4_defvalue
= wxDefaultSize
;
21167 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
21168 long arg5
= (long) wxLC_ICON
;
21169 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
21170 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
21171 wxString
const &arg7_defvalue
= wxPyListCtrlNameStr
;
21172 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
21173 wxPyListCtrl
*result
;
21176 bool temp7
= False
;
21177 PyObject
* obj0
= 0 ;
21178 PyObject
* obj1
= 0 ;
21179 PyObject
* obj2
= 0 ;
21180 PyObject
* obj3
= 0 ;
21181 PyObject
* obj4
= 0 ;
21182 PyObject
* obj5
= 0 ;
21183 PyObject
* obj6
= 0 ;
21184 char *kwnames
[] = {
21185 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
21188 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_ListCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
21189 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21190 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21192 arg2
= (int) SWIG_AsInt(obj1
);
21193 if (PyErr_Occurred()) SWIG_fail
;
21198 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
21204 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
21208 arg5
= (long) SWIG_AsLong(obj4
);
21209 if (PyErr_Occurred()) SWIG_fail
;
21212 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxValidator
,
21213 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21215 if (arg6
== NULL
) {
21216 PyErr_SetString(PyExc_TypeError
,"null reference");
21222 arg7
= wxString_in_helper(obj6
);
21223 if (arg7
== NULL
) SWIG_fail
;
21228 if (!wxPyCheckForApp()) SWIG_fail
;
21229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21230 result
= (wxPyListCtrl
*)new wxPyListCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
21232 wxPyEndAllowThreads(__tstate
);
21233 if (PyErr_Occurred()) SWIG_fail
;
21235 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyListCtrl
, 1);
21250 static PyObject
*_wrap_new_PreListCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21251 PyObject
*resultobj
;
21252 wxPyListCtrl
*result
;
21253 char *kwnames
[] = {
21257 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreListCtrl",kwnames
)) goto fail
;
21259 if (!wxPyCheckForApp()) SWIG_fail
;
21260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21261 result
= (wxPyListCtrl
*)new wxPyListCtrl();
21263 wxPyEndAllowThreads(__tstate
);
21264 if (PyErr_Occurred()) SWIG_fail
;
21266 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyListCtrl
, 1);
21273 static PyObject
*_wrap_ListCtrl_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21274 PyObject
*resultobj
;
21275 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21276 wxWindow
*arg2
= (wxWindow
*) 0 ;
21277 int arg3
= (int) -1 ;
21278 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
21279 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
21280 wxSize
const &arg5_defvalue
= wxDefaultSize
;
21281 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
21282 long arg6
= (long) wxLC_ICON
;
21283 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
21284 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
21285 wxString
const &arg8_defvalue
= wxPyListCtrlNameStr
;
21286 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
21290 bool temp8
= False
;
21291 PyObject
* obj0
= 0 ;
21292 PyObject
* obj1
= 0 ;
21293 PyObject
* obj2
= 0 ;
21294 PyObject
* obj3
= 0 ;
21295 PyObject
* obj4
= 0 ;
21296 PyObject
* obj5
= 0 ;
21297 PyObject
* obj6
= 0 ;
21298 PyObject
* obj7
= 0 ;
21299 char *kwnames
[] = {
21300 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
21303 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:ListCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
21304 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21305 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21306 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
21307 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21309 arg3
= (int) SWIG_AsInt(obj2
);
21310 if (PyErr_Occurred()) SWIG_fail
;
21315 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
21321 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
21325 arg6
= (long) SWIG_AsLong(obj5
);
21326 if (PyErr_Occurred()) SWIG_fail
;
21329 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
21330 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21332 if (arg7
== NULL
) {
21333 PyErr_SetString(PyExc_TypeError
,"null reference");
21339 arg8
= wxString_in_helper(obj7
);
21340 if (arg8
== NULL
) SWIG_fail
;
21345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21346 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
21348 wxPyEndAllowThreads(__tstate
);
21349 if (PyErr_Occurred()) SWIG_fail
;
21352 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21368 static PyObject
*_wrap_ListCtrl__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21369 PyObject
*resultobj
;
21370 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21371 PyObject
*arg2
= (PyObject
*) 0 ;
21372 PyObject
*arg3
= (PyObject
*) 0 ;
21373 PyObject
* obj0
= 0 ;
21374 PyObject
* obj1
= 0 ;
21375 PyObject
* obj2
= 0 ;
21376 char *kwnames
[] = {
21377 (char *) "self",(char *) "self",(char *) "_class", NULL
21380 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21381 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21382 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21387 (arg1
)->_setCallbackInfo(arg2
,arg3
);
21389 wxPyEndAllowThreads(__tstate
);
21390 if (PyErr_Occurred()) SWIG_fail
;
21392 Py_INCREF(Py_None
); resultobj
= Py_None
;
21399 static PyObject
*_wrap_ListCtrl_SetForegroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21400 PyObject
*resultobj
;
21401 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21402 wxColour
*arg2
= 0 ;
21405 PyObject
* obj0
= 0 ;
21406 PyObject
* obj1
= 0 ;
21407 char *kwnames
[] = {
21408 (char *) "self",(char *) "col", NULL
21411 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetForegroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
21412 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21413 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21416 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
21419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21420 result
= (bool)(arg1
)->SetForegroundColour((wxColour
const &)*arg2
);
21422 wxPyEndAllowThreads(__tstate
);
21423 if (PyErr_Occurred()) SWIG_fail
;
21426 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21434 static PyObject
*_wrap_ListCtrl_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21435 PyObject
*resultobj
;
21436 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21437 wxColour
*arg2
= 0 ;
21440 PyObject
* obj0
= 0 ;
21441 PyObject
* obj1
= 0 ;
21442 char *kwnames
[] = {
21443 (char *) "self",(char *) "col", NULL
21446 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
21447 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21448 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21451 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
21454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21455 result
= (bool)(arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
21457 wxPyEndAllowThreads(__tstate
);
21458 if (PyErr_Occurred()) SWIG_fail
;
21461 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21469 static PyObject
*_wrap_ListCtrl_GetColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21470 PyObject
*resultobj
;
21471 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21473 wxListItem
*result
;
21474 PyObject
* obj0
= 0 ;
21475 PyObject
* obj1
= 0 ;
21476 char *kwnames
[] = {
21477 (char *) "self",(char *) "col", NULL
21480 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetColumn",kwnames
,&obj0
,&obj1
)) goto fail
;
21481 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21482 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21483 arg2
= (int) SWIG_AsInt(obj1
);
21484 if (PyErr_Occurred()) SWIG_fail
;
21486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21487 result
= (wxListItem
*)wxPyListCtrl_GetColumn(arg1
,arg2
);
21489 wxPyEndAllowThreads(__tstate
);
21490 if (PyErr_Occurred()) SWIG_fail
;
21493 resultobj
= wxPyMake_wxObject(result
);
21501 static PyObject
*_wrap_ListCtrl_SetColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21502 PyObject
*resultobj
;
21503 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21505 wxListItem
*arg3
= 0 ;
21507 PyObject
* obj0
= 0 ;
21508 PyObject
* obj1
= 0 ;
21509 PyObject
* obj2
= 0 ;
21510 char *kwnames
[] = {
21511 (char *) "self",(char *) "col",(char *) "item", NULL
21514 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetColumn",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21515 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21516 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21517 arg2
= (int) SWIG_AsInt(obj1
);
21518 if (PyErr_Occurred()) SWIG_fail
;
21519 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxListItem
,
21520 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21522 if (arg3
== NULL
) {
21523 PyErr_SetString(PyExc_TypeError
,"null reference");
21527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21528 result
= (bool)(arg1
)->SetColumn(arg2
,*arg3
);
21530 wxPyEndAllowThreads(__tstate
);
21531 if (PyErr_Occurred()) SWIG_fail
;
21534 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21542 static PyObject
*_wrap_ListCtrl_GetColumnWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21543 PyObject
*resultobj
;
21544 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21547 PyObject
* obj0
= 0 ;
21548 PyObject
* obj1
= 0 ;
21549 char *kwnames
[] = {
21550 (char *) "self",(char *) "col", NULL
21553 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetColumnWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
21554 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21555 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21556 arg2
= (int) SWIG_AsInt(obj1
);
21557 if (PyErr_Occurred()) SWIG_fail
;
21559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21560 result
= (int)((wxPyListCtrl
const *)arg1
)->GetColumnWidth(arg2
);
21562 wxPyEndAllowThreads(__tstate
);
21563 if (PyErr_Occurred()) SWIG_fail
;
21565 resultobj
= SWIG_FromInt((int)result
);
21572 static PyObject
*_wrap_ListCtrl_SetColumnWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21573 PyObject
*resultobj
;
21574 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21578 PyObject
* obj0
= 0 ;
21579 PyObject
* obj1
= 0 ;
21580 PyObject
* obj2
= 0 ;
21581 char *kwnames
[] = {
21582 (char *) "self",(char *) "col",(char *) "width", NULL
21585 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetColumnWidth",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21586 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21587 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21588 arg2
= (int) SWIG_AsInt(obj1
);
21589 if (PyErr_Occurred()) SWIG_fail
;
21590 arg3
= (int) SWIG_AsInt(obj2
);
21591 if (PyErr_Occurred()) SWIG_fail
;
21593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21594 result
= (bool)(arg1
)->SetColumnWidth(arg2
,arg3
);
21596 wxPyEndAllowThreads(__tstate
);
21597 if (PyErr_Occurred()) SWIG_fail
;
21600 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21608 static PyObject
*_wrap_ListCtrl_GetCountPerPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21609 PyObject
*resultobj
;
21610 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21612 PyObject
* obj0
= 0 ;
21613 char *kwnames
[] = {
21614 (char *) "self", NULL
21617 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetCountPerPage",kwnames
,&obj0
)) goto fail
;
21618 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21619 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21622 result
= (int)((wxPyListCtrl
const *)arg1
)->GetCountPerPage();
21624 wxPyEndAllowThreads(__tstate
);
21625 if (PyErr_Occurred()) SWIG_fail
;
21627 resultobj
= SWIG_FromInt((int)result
);
21634 static PyObject
*_wrap_ListCtrl_GetViewRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21635 PyObject
*resultobj
;
21636 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21638 PyObject
* obj0
= 0 ;
21639 char *kwnames
[] = {
21640 (char *) "self", NULL
21643 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetViewRect",kwnames
,&obj0
)) goto fail
;
21644 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21645 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21648 result
= ((wxPyListCtrl
const *)arg1
)->GetViewRect();
21650 wxPyEndAllowThreads(__tstate
);
21651 if (PyErr_Occurred()) SWIG_fail
;
21654 wxRect
* resultptr
;
21655 resultptr
= new wxRect((wxRect
&) result
);
21656 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
21664 static PyObject
*_wrap_ListCtrl_GetEditControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21665 PyObject
*resultobj
;
21666 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21667 wxTextCtrl
*result
;
21668 PyObject
* obj0
= 0 ;
21669 char *kwnames
[] = {
21670 (char *) "self", NULL
21673 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetEditControl",kwnames
,&obj0
)) goto fail
;
21674 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21675 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21678 result
= (wxTextCtrl
*)((wxPyListCtrl
const *)arg1
)->GetEditControl();
21680 wxPyEndAllowThreads(__tstate
);
21681 if (PyErr_Occurred()) SWIG_fail
;
21684 resultobj
= wxPyMake_wxObject(result
);
21692 static PyObject
*_wrap_ListCtrl_GetItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21693 PyObject
*resultobj
;
21694 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21696 int arg3
= (int) 0 ;
21697 wxListItem
*result
;
21698 PyObject
* obj0
= 0 ;
21699 PyObject
* obj1
= 0 ;
21700 PyObject
* obj2
= 0 ;
21701 char *kwnames
[] = {
21702 (char *) "self",(char *) "itemId",(char *) "col", NULL
21705 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_GetItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21706 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21707 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21708 arg2
= (long) SWIG_AsLong(obj1
);
21709 if (PyErr_Occurred()) SWIG_fail
;
21711 arg3
= (int) SWIG_AsInt(obj2
);
21712 if (PyErr_Occurred()) SWIG_fail
;
21715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21716 result
= (wxListItem
*)wxPyListCtrl_GetItem(arg1
,arg2
,arg3
);
21718 wxPyEndAllowThreads(__tstate
);
21719 if (PyErr_Occurred()) SWIG_fail
;
21722 resultobj
= wxPyMake_wxObject(result
);
21730 static PyObject
*_wrap_ListCtrl_SetItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21731 PyObject
*resultobj
;
21732 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21733 wxListItem
*arg2
= 0 ;
21735 PyObject
* obj0
= 0 ;
21736 PyObject
* obj1
= 0 ;
21737 char *kwnames
[] = {
21738 (char *) "self",(char *) "info", NULL
21741 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetItem",kwnames
,&obj0
,&obj1
)) goto fail
;
21742 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21743 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21744 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxListItem
,
21745 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21747 if (arg2
== NULL
) {
21748 PyErr_SetString(PyExc_TypeError
,"null reference");
21752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21753 result
= (bool)(arg1
)->SetItem(*arg2
);
21755 wxPyEndAllowThreads(__tstate
);
21756 if (PyErr_Occurred()) SWIG_fail
;
21759 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21767 static PyObject
*_wrap_ListCtrl_SetStringItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21768 PyObject
*resultobj
;
21769 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21772 wxString
*arg4
= 0 ;
21773 int arg5
= (int) -1 ;
21775 bool temp4
= False
;
21776 PyObject
* obj0
= 0 ;
21777 PyObject
* obj1
= 0 ;
21778 PyObject
* obj2
= 0 ;
21779 PyObject
* obj3
= 0 ;
21780 PyObject
* obj4
= 0 ;
21781 char *kwnames
[] = {
21782 (char *) "self",(char *) "index",(char *) "col",(char *) "label",(char *) "imageId", NULL
21785 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:ListCtrl_SetStringItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
21786 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21787 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21788 arg2
= (long) SWIG_AsLong(obj1
);
21789 if (PyErr_Occurred()) SWIG_fail
;
21790 arg3
= (int) SWIG_AsInt(obj2
);
21791 if (PyErr_Occurred()) SWIG_fail
;
21793 arg4
= wxString_in_helper(obj3
);
21794 if (arg4
== NULL
) SWIG_fail
;
21798 arg5
= (int) SWIG_AsInt(obj4
);
21799 if (PyErr_Occurred()) SWIG_fail
;
21802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21803 result
= (long)(arg1
)->SetItem(arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
21805 wxPyEndAllowThreads(__tstate
);
21806 if (PyErr_Occurred()) SWIG_fail
;
21808 resultobj
= SWIG_FromLong((long)result
);
21823 static PyObject
*_wrap_ListCtrl_GetItemState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21824 PyObject
*resultobj
;
21825 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21829 PyObject
* obj0
= 0 ;
21830 PyObject
* obj1
= 0 ;
21831 PyObject
* obj2
= 0 ;
21832 char *kwnames
[] = {
21833 (char *) "self",(char *) "item",(char *) "stateMask", NULL
21836 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_GetItemState",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21837 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21838 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21839 arg2
= (long) SWIG_AsLong(obj1
);
21840 if (PyErr_Occurred()) SWIG_fail
;
21841 arg3
= (long) SWIG_AsLong(obj2
);
21842 if (PyErr_Occurred()) SWIG_fail
;
21844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21845 result
= (int)((wxPyListCtrl
const *)arg1
)->GetItemState(arg2
,arg3
);
21847 wxPyEndAllowThreads(__tstate
);
21848 if (PyErr_Occurred()) SWIG_fail
;
21850 resultobj
= SWIG_FromInt((int)result
);
21857 static PyObject
*_wrap_ListCtrl_SetItemState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21858 PyObject
*resultobj
;
21859 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21864 PyObject
* obj0
= 0 ;
21865 PyObject
* obj1
= 0 ;
21866 PyObject
* obj2
= 0 ;
21867 PyObject
* obj3
= 0 ;
21868 char *kwnames
[] = {
21869 (char *) "self",(char *) "item",(char *) "state",(char *) "stateMask", NULL
21872 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_SetItemState",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
21873 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21874 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21875 arg2
= (long) SWIG_AsLong(obj1
);
21876 if (PyErr_Occurred()) SWIG_fail
;
21877 arg3
= (long) SWIG_AsLong(obj2
);
21878 if (PyErr_Occurred()) SWIG_fail
;
21879 arg4
= (long) SWIG_AsLong(obj3
);
21880 if (PyErr_Occurred()) SWIG_fail
;
21882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21883 result
= (bool)(arg1
)->SetItemState(arg2
,arg3
,arg4
);
21885 wxPyEndAllowThreads(__tstate
);
21886 if (PyErr_Occurred()) SWIG_fail
;
21889 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21897 static PyObject
*_wrap_ListCtrl_SetItemImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21898 PyObject
*resultobj
;
21899 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21904 PyObject
* obj0
= 0 ;
21905 PyObject
* obj1
= 0 ;
21906 PyObject
* obj2
= 0 ;
21907 PyObject
* obj3
= 0 ;
21908 char *kwnames
[] = {
21909 (char *) "self",(char *) "item",(char *) "image",(char *) "selImage", NULL
21912 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_SetItemImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
21913 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21914 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21915 arg2
= (long) SWIG_AsLong(obj1
);
21916 if (PyErr_Occurred()) SWIG_fail
;
21917 arg3
= (int) SWIG_AsInt(obj2
);
21918 if (PyErr_Occurred()) SWIG_fail
;
21919 arg4
= (int) SWIG_AsInt(obj3
);
21920 if (PyErr_Occurred()) SWIG_fail
;
21922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21923 result
= (bool)(arg1
)->SetItemImage(arg2
,arg3
,arg4
);
21925 wxPyEndAllowThreads(__tstate
);
21926 if (PyErr_Occurred()) SWIG_fail
;
21929 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21937 static PyObject
*_wrap_ListCtrl_GetItemText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21938 PyObject
*resultobj
;
21939 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21942 PyObject
* obj0
= 0 ;
21943 PyObject
* obj1
= 0 ;
21944 char *kwnames
[] = {
21945 (char *) "self",(char *) "item", NULL
21948 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemText",kwnames
,&obj0
,&obj1
)) goto fail
;
21949 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21950 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21951 arg2
= (long) SWIG_AsLong(obj1
);
21952 if (PyErr_Occurred()) SWIG_fail
;
21954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21955 result
= ((wxPyListCtrl
const *)arg1
)->GetItemText(arg2
);
21957 wxPyEndAllowThreads(__tstate
);
21958 if (PyErr_Occurred()) SWIG_fail
;
21962 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
21964 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
21973 static PyObject
*_wrap_ListCtrl_SetItemText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21974 PyObject
*resultobj
;
21975 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21977 wxString
*arg3
= 0 ;
21978 bool temp3
= False
;
21979 PyObject
* obj0
= 0 ;
21980 PyObject
* obj1
= 0 ;
21981 PyObject
* obj2
= 0 ;
21982 char *kwnames
[] = {
21983 (char *) "self",(char *) "item",(char *) "str", NULL
21986 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21987 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21988 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21989 arg2
= (long) SWIG_AsLong(obj1
);
21990 if (PyErr_Occurred()) SWIG_fail
;
21992 arg3
= wxString_in_helper(obj2
);
21993 if (arg3
== NULL
) SWIG_fail
;
21997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21998 (arg1
)->SetItemText(arg2
,(wxString
const &)*arg3
);
22000 wxPyEndAllowThreads(__tstate
);
22001 if (PyErr_Occurred()) SWIG_fail
;
22003 Py_INCREF(Py_None
); resultobj
= Py_None
;
22018 static PyObject
*_wrap_ListCtrl_GetItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22019 PyObject
*resultobj
;
22020 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22023 PyObject
* obj0
= 0 ;
22024 PyObject
* obj1
= 0 ;
22025 char *kwnames
[] = {
22026 (char *) "self",(char *) "item", NULL
22029 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemData",kwnames
,&obj0
,&obj1
)) goto fail
;
22030 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22031 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22032 arg2
= (long) SWIG_AsLong(obj1
);
22033 if (PyErr_Occurred()) SWIG_fail
;
22035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22036 result
= (long)((wxPyListCtrl
const *)arg1
)->GetItemData(arg2
);
22038 wxPyEndAllowThreads(__tstate
);
22039 if (PyErr_Occurred()) SWIG_fail
;
22041 resultobj
= SWIG_FromLong((long)result
);
22048 static PyObject
*_wrap_ListCtrl_SetItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22049 PyObject
*resultobj
;
22050 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22054 PyObject
* obj0
= 0 ;
22055 PyObject
* obj1
= 0 ;
22056 PyObject
* obj2
= 0 ;
22057 char *kwnames
[] = {
22058 (char *) "self",(char *) "item",(char *) "data", NULL
22061 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22062 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22063 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22064 arg2
= (long) SWIG_AsLong(obj1
);
22065 if (PyErr_Occurred()) SWIG_fail
;
22066 arg3
= (long) SWIG_AsLong(obj2
);
22067 if (PyErr_Occurred()) SWIG_fail
;
22069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22070 result
= (bool)(arg1
)->SetItemData(arg2
,arg3
);
22072 wxPyEndAllowThreads(__tstate
);
22073 if (PyErr_Occurred()) SWIG_fail
;
22076 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22084 static PyObject
*_wrap_ListCtrl_GetItemPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22085 PyObject
*resultobj
;
22086 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22089 PyObject
* obj0
= 0 ;
22090 PyObject
* obj1
= 0 ;
22091 char *kwnames
[] = {
22092 (char *) "self",(char *) "item", NULL
22095 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
22096 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22097 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22098 arg2
= (long) SWIG_AsLong(obj1
);
22099 if (PyErr_Occurred()) SWIG_fail
;
22101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22102 result
= wxPyListCtrl_GetItemPosition(arg1
,arg2
);
22104 wxPyEndAllowThreads(__tstate
);
22105 if (PyErr_Occurred()) SWIG_fail
;
22108 wxPoint
* resultptr
;
22109 resultptr
= new wxPoint((wxPoint
&) result
);
22110 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
22118 static PyObject
*_wrap_ListCtrl_GetItemRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22119 PyObject
*resultobj
;
22120 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22122 int arg3
= (int) wxLIST_RECT_BOUNDS
;
22124 PyObject
* obj0
= 0 ;
22125 PyObject
* obj1
= 0 ;
22126 PyObject
* obj2
= 0 ;
22127 char *kwnames
[] = {
22128 (char *) "self",(char *) "item",(char *) "code", NULL
22131 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_GetItemRect",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22132 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22133 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22134 arg2
= (long) SWIG_AsLong(obj1
);
22135 if (PyErr_Occurred()) SWIG_fail
;
22137 arg3
= (int) SWIG_AsInt(obj2
);
22138 if (PyErr_Occurred()) SWIG_fail
;
22141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22142 result
= wxPyListCtrl_GetItemRect(arg1
,arg2
,arg3
);
22144 wxPyEndAllowThreads(__tstate
);
22145 if (PyErr_Occurred()) SWIG_fail
;
22148 wxRect
* resultptr
;
22149 resultptr
= new wxRect((wxRect
&) result
);
22150 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
22158 static PyObject
*_wrap_ListCtrl_SetItemPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22159 PyObject
*resultobj
;
22160 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22162 wxPoint
*arg3
= 0 ;
22165 PyObject
* obj0
= 0 ;
22166 PyObject
* obj1
= 0 ;
22167 PyObject
* obj2
= 0 ;
22168 char *kwnames
[] = {
22169 (char *) "self",(char *) "item",(char *) "pos", NULL
22172 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemPosition",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22173 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22174 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22175 arg2
= (long) SWIG_AsLong(obj1
);
22176 if (PyErr_Occurred()) SWIG_fail
;
22179 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
22182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22183 result
= (bool)(arg1
)->SetItemPosition(arg2
,(wxPoint
const &)*arg3
);
22185 wxPyEndAllowThreads(__tstate
);
22186 if (PyErr_Occurred()) SWIG_fail
;
22189 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22197 static PyObject
*_wrap_ListCtrl_GetItemCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22198 PyObject
*resultobj
;
22199 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22201 PyObject
* obj0
= 0 ;
22202 char *kwnames
[] = {
22203 (char *) "self", NULL
22206 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetItemCount",kwnames
,&obj0
)) goto fail
;
22207 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22208 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22211 result
= (int)((wxPyListCtrl
const *)arg1
)->GetItemCount();
22213 wxPyEndAllowThreads(__tstate
);
22214 if (PyErr_Occurred()) SWIG_fail
;
22216 resultobj
= SWIG_FromInt((int)result
);
22223 static PyObject
*_wrap_ListCtrl_GetColumnCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22224 PyObject
*resultobj
;
22225 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22227 PyObject
* obj0
= 0 ;
22228 char *kwnames
[] = {
22229 (char *) "self", NULL
22232 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetColumnCount",kwnames
,&obj0
)) goto fail
;
22233 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22234 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22237 result
= (int)((wxPyListCtrl
const *)arg1
)->GetColumnCount();
22239 wxPyEndAllowThreads(__tstate
);
22240 if (PyErr_Occurred()) SWIG_fail
;
22242 resultobj
= SWIG_FromInt((int)result
);
22249 static PyObject
*_wrap_ListCtrl_GetItemSpacing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22250 PyObject
*resultobj
;
22251 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22253 PyObject
* obj0
= 0 ;
22254 char *kwnames
[] = {
22255 (char *) "self", NULL
22258 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetItemSpacing",kwnames
,&obj0
)) goto fail
;
22259 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22260 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22263 result
= ((wxPyListCtrl
const *)arg1
)->GetItemSpacing();
22265 wxPyEndAllowThreads(__tstate
);
22266 if (PyErr_Occurred()) SWIG_fail
;
22269 wxSize
* resultptr
;
22270 resultptr
= new wxSize((wxSize
&) result
);
22271 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
22279 static PyObject
*_wrap_ListCtrl_GetSelectedItemCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22280 PyObject
*resultobj
;
22281 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22283 PyObject
* obj0
= 0 ;
22284 char *kwnames
[] = {
22285 (char *) "self", NULL
22288 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetSelectedItemCount",kwnames
,&obj0
)) goto fail
;
22289 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22290 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22293 result
= (int)((wxPyListCtrl
const *)arg1
)->GetSelectedItemCount();
22295 wxPyEndAllowThreads(__tstate
);
22296 if (PyErr_Occurred()) SWIG_fail
;
22298 resultobj
= SWIG_FromInt((int)result
);
22305 static PyObject
*_wrap_ListCtrl_GetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22306 PyObject
*resultobj
;
22307 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22309 PyObject
* obj0
= 0 ;
22310 char *kwnames
[] = {
22311 (char *) "self", NULL
22314 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetTextColour",kwnames
,&obj0
)) goto fail
;
22315 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22316 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22319 result
= ((wxPyListCtrl
const *)arg1
)->GetTextColour();
22321 wxPyEndAllowThreads(__tstate
);
22322 if (PyErr_Occurred()) SWIG_fail
;
22325 wxColour
* resultptr
;
22326 resultptr
= new wxColour((wxColour
&) result
);
22327 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
22335 static PyObject
*_wrap_ListCtrl_SetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22336 PyObject
*resultobj
;
22337 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22338 wxColour
*arg2
= 0 ;
22340 PyObject
* obj0
= 0 ;
22341 PyObject
* obj1
= 0 ;
22342 char *kwnames
[] = {
22343 (char *) "self",(char *) "col", NULL
22346 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
22347 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22348 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22351 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
22354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22355 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
22357 wxPyEndAllowThreads(__tstate
);
22358 if (PyErr_Occurred()) SWIG_fail
;
22360 Py_INCREF(Py_None
); resultobj
= Py_None
;
22367 static PyObject
*_wrap_ListCtrl_GetTopItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22368 PyObject
*resultobj
;
22369 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22371 PyObject
* obj0
= 0 ;
22372 char *kwnames
[] = {
22373 (char *) "self", NULL
22376 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetTopItem",kwnames
,&obj0
)) goto fail
;
22377 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22378 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22381 result
= (long)((wxPyListCtrl
const *)arg1
)->GetTopItem();
22383 wxPyEndAllowThreads(__tstate
);
22384 if (PyErr_Occurred()) SWIG_fail
;
22386 resultobj
= SWIG_FromLong((long)result
);
22393 static PyObject
*_wrap_ListCtrl_SetSingleStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22394 PyObject
*resultobj
;
22395 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22397 bool arg3
= (bool) True
;
22398 PyObject
* obj0
= 0 ;
22399 PyObject
* obj1
= 0 ;
22400 PyObject
* obj2
= 0 ;
22401 char *kwnames
[] = {
22402 (char *) "self",(char *) "style",(char *) "add", NULL
22405 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_SetSingleStyle",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22406 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22407 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22408 arg2
= (long) SWIG_AsLong(obj1
);
22409 if (PyErr_Occurred()) SWIG_fail
;
22411 arg3
= (bool) SWIG_AsBool(obj2
);
22412 if (PyErr_Occurred()) SWIG_fail
;
22415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22416 (arg1
)->SetSingleStyle(arg2
,arg3
);
22418 wxPyEndAllowThreads(__tstate
);
22419 if (PyErr_Occurred()) SWIG_fail
;
22421 Py_INCREF(Py_None
); resultobj
= Py_None
;
22428 static PyObject
*_wrap_ListCtrl_SetWindowStyleFlag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22429 PyObject
*resultobj
;
22430 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22432 PyObject
* obj0
= 0 ;
22433 PyObject
* obj1
= 0 ;
22434 char *kwnames
[] = {
22435 (char *) "self",(char *) "style", NULL
22438 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetWindowStyleFlag",kwnames
,&obj0
,&obj1
)) goto fail
;
22439 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22440 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22441 arg2
= (long) SWIG_AsLong(obj1
);
22442 if (PyErr_Occurred()) SWIG_fail
;
22444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22445 (arg1
)->SetWindowStyleFlag(arg2
);
22447 wxPyEndAllowThreads(__tstate
);
22448 if (PyErr_Occurred()) SWIG_fail
;
22450 Py_INCREF(Py_None
); resultobj
= Py_None
;
22457 static PyObject
*_wrap_ListCtrl_GetNextItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22458 PyObject
*resultobj
;
22459 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22461 int arg3
= (int) wxLIST_NEXT_ALL
;
22462 int arg4
= (int) wxLIST_STATE_DONTCARE
;
22464 PyObject
* obj0
= 0 ;
22465 PyObject
* obj1
= 0 ;
22466 PyObject
* obj2
= 0 ;
22467 PyObject
* obj3
= 0 ;
22468 char *kwnames
[] = {
22469 (char *) "self",(char *) "item",(char *) "geometry",(char *) "state", NULL
22472 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:ListCtrl_GetNextItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
22473 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22474 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22475 arg2
= (long) SWIG_AsLong(obj1
);
22476 if (PyErr_Occurred()) SWIG_fail
;
22478 arg3
= (int) SWIG_AsInt(obj2
);
22479 if (PyErr_Occurred()) SWIG_fail
;
22482 arg4
= (int) SWIG_AsInt(obj3
);
22483 if (PyErr_Occurred()) SWIG_fail
;
22486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22487 result
= (long)((wxPyListCtrl
const *)arg1
)->GetNextItem(arg2
,arg3
,arg4
);
22489 wxPyEndAllowThreads(__tstate
);
22490 if (PyErr_Occurred()) SWIG_fail
;
22492 resultobj
= SWIG_FromLong((long)result
);
22499 static PyObject
*_wrap_ListCtrl_GetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22500 PyObject
*resultobj
;
22501 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22503 wxImageList
*result
;
22504 PyObject
* obj0
= 0 ;
22505 PyObject
* obj1
= 0 ;
22506 char *kwnames
[] = {
22507 (char *) "self",(char *) "which", NULL
22510 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
22511 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22512 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22513 arg2
= (int) SWIG_AsInt(obj1
);
22514 if (PyErr_Occurred()) SWIG_fail
;
22516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22517 result
= (wxImageList
*)((wxPyListCtrl
const *)arg1
)->GetImageList(arg2
);
22519 wxPyEndAllowThreads(__tstate
);
22520 if (PyErr_Occurred()) SWIG_fail
;
22523 resultobj
= wxPyMake_wxObject(result
);
22531 static PyObject
*_wrap_ListCtrl_SetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22532 PyObject
*resultobj
;
22533 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22534 wxImageList
*arg2
= (wxImageList
*) 0 ;
22536 PyObject
* obj0
= 0 ;
22537 PyObject
* obj1
= 0 ;
22538 PyObject
* obj2
= 0 ;
22539 char *kwnames
[] = {
22540 (char *) "self",(char *) "imageList",(char *) "which", NULL
22543 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetImageList",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22544 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22545 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22546 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImageList
,
22547 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22548 arg3
= (int) SWIG_AsInt(obj2
);
22549 if (PyErr_Occurred()) SWIG_fail
;
22551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22552 (arg1
)->SetImageList(arg2
,arg3
);
22554 wxPyEndAllowThreads(__tstate
);
22555 if (PyErr_Occurred()) SWIG_fail
;
22557 Py_INCREF(Py_None
); resultobj
= Py_None
;
22564 static PyObject
*_wrap_ListCtrl_AssignImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22565 PyObject
*resultobj
;
22566 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22567 wxImageList
*arg2
= (wxImageList
*) 0 ;
22569 PyObject
* obj0
= 0 ;
22570 PyObject
* obj1
= 0 ;
22571 PyObject
* obj2
= 0 ;
22572 char *kwnames
[] = {
22573 (char *) "self",(char *) "imageList",(char *) "which", NULL
22576 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_AssignImageList",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22577 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22578 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22579 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImageList
,
22580 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
22581 arg3
= (int) SWIG_AsInt(obj2
);
22582 if (PyErr_Occurred()) SWIG_fail
;
22584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22585 (arg1
)->AssignImageList(arg2
,arg3
);
22587 wxPyEndAllowThreads(__tstate
);
22588 if (PyErr_Occurred()) SWIG_fail
;
22590 Py_INCREF(Py_None
); resultobj
= Py_None
;
22597 static PyObject
*_wrap_ListCtrl_InReportView(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22598 PyObject
*resultobj
;
22599 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22601 PyObject
* obj0
= 0 ;
22602 char *kwnames
[] = {
22603 (char *) "self", NULL
22606 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_InReportView",kwnames
,&obj0
)) goto fail
;
22607 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22608 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22611 result
= (bool)((wxPyListCtrl
const *)arg1
)->InReportView();
22613 wxPyEndAllowThreads(__tstate
);
22614 if (PyErr_Occurred()) SWIG_fail
;
22617 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22625 static PyObject
*_wrap_ListCtrl_IsVirtual(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22626 PyObject
*resultobj
;
22627 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22629 PyObject
* obj0
= 0 ;
22630 char *kwnames
[] = {
22631 (char *) "self", NULL
22634 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_IsVirtual",kwnames
,&obj0
)) goto fail
;
22635 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22636 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22639 result
= (bool)((wxPyListCtrl
const *)arg1
)->IsVirtual();
22641 wxPyEndAllowThreads(__tstate
);
22642 if (PyErr_Occurred()) SWIG_fail
;
22645 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22653 static PyObject
*_wrap_ListCtrl_RefreshItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22654 PyObject
*resultobj
;
22655 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22657 PyObject
* obj0
= 0 ;
22658 PyObject
* obj1
= 0 ;
22659 char *kwnames
[] = {
22660 (char *) "self",(char *) "item", NULL
22663 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_RefreshItem",kwnames
,&obj0
,&obj1
)) goto fail
;
22664 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22665 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22666 arg2
= (long) SWIG_AsLong(obj1
);
22667 if (PyErr_Occurred()) SWIG_fail
;
22669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22670 (arg1
)->RefreshItem(arg2
);
22672 wxPyEndAllowThreads(__tstate
);
22673 if (PyErr_Occurred()) SWIG_fail
;
22675 Py_INCREF(Py_None
); resultobj
= Py_None
;
22682 static PyObject
*_wrap_ListCtrl_RefreshItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22683 PyObject
*resultobj
;
22684 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22687 PyObject
* obj0
= 0 ;
22688 PyObject
* obj1
= 0 ;
22689 PyObject
* obj2
= 0 ;
22690 char *kwnames
[] = {
22691 (char *) "self",(char *) "itemFrom",(char *) "itemTo", NULL
22694 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_RefreshItems",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22695 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22696 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22697 arg2
= (long) SWIG_AsLong(obj1
);
22698 if (PyErr_Occurred()) SWIG_fail
;
22699 arg3
= (long) SWIG_AsLong(obj2
);
22700 if (PyErr_Occurred()) SWIG_fail
;
22702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22703 (arg1
)->RefreshItems(arg2
,arg3
);
22705 wxPyEndAllowThreads(__tstate
);
22706 if (PyErr_Occurred()) SWIG_fail
;
22708 Py_INCREF(Py_None
); resultobj
= Py_None
;
22715 static PyObject
*_wrap_ListCtrl_Arrange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22716 PyObject
*resultobj
;
22717 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22718 int arg2
= (int) wxLIST_ALIGN_DEFAULT
;
22720 PyObject
* obj0
= 0 ;
22721 PyObject
* obj1
= 0 ;
22722 char *kwnames
[] = {
22723 (char *) "self",(char *) "flag", NULL
22726 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ListCtrl_Arrange",kwnames
,&obj0
,&obj1
)) goto fail
;
22727 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22728 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22730 arg2
= (int) SWIG_AsInt(obj1
);
22731 if (PyErr_Occurred()) SWIG_fail
;
22734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22735 result
= (bool)(arg1
)->Arrange(arg2
);
22737 wxPyEndAllowThreads(__tstate
);
22738 if (PyErr_Occurred()) SWIG_fail
;
22741 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22749 static PyObject
*_wrap_ListCtrl_DeleteItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22750 PyObject
*resultobj
;
22751 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22754 PyObject
* obj0
= 0 ;
22755 PyObject
* obj1
= 0 ;
22756 char *kwnames
[] = {
22757 (char *) "self",(char *) "item", NULL
22760 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_DeleteItem",kwnames
,&obj0
,&obj1
)) goto fail
;
22761 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22762 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22763 arg2
= (long) SWIG_AsLong(obj1
);
22764 if (PyErr_Occurred()) SWIG_fail
;
22766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22767 result
= (bool)(arg1
)->DeleteItem(arg2
);
22769 wxPyEndAllowThreads(__tstate
);
22770 if (PyErr_Occurred()) SWIG_fail
;
22773 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22781 static PyObject
*_wrap_ListCtrl_DeleteAllItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22782 PyObject
*resultobj
;
22783 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22785 PyObject
* obj0
= 0 ;
22786 char *kwnames
[] = {
22787 (char *) "self", NULL
22790 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_DeleteAllItems",kwnames
,&obj0
)) goto fail
;
22791 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22792 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22795 result
= (bool)(arg1
)->DeleteAllItems();
22797 wxPyEndAllowThreads(__tstate
);
22798 if (PyErr_Occurred()) SWIG_fail
;
22801 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22809 static PyObject
*_wrap_ListCtrl_DeleteColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22810 PyObject
*resultobj
;
22811 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22814 PyObject
* obj0
= 0 ;
22815 PyObject
* obj1
= 0 ;
22816 char *kwnames
[] = {
22817 (char *) "self",(char *) "col", NULL
22820 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_DeleteColumn",kwnames
,&obj0
,&obj1
)) goto fail
;
22821 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22822 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22823 arg2
= (int) SWIG_AsInt(obj1
);
22824 if (PyErr_Occurred()) SWIG_fail
;
22826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22827 result
= (bool)(arg1
)->DeleteColumn(arg2
);
22829 wxPyEndAllowThreads(__tstate
);
22830 if (PyErr_Occurred()) SWIG_fail
;
22833 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22841 static PyObject
*_wrap_ListCtrl_DeleteAllColumns(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22842 PyObject
*resultobj
;
22843 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22845 PyObject
* obj0
= 0 ;
22846 char *kwnames
[] = {
22847 (char *) "self", NULL
22850 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_DeleteAllColumns",kwnames
,&obj0
)) goto fail
;
22851 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22852 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22855 result
= (bool)(arg1
)->DeleteAllColumns();
22857 wxPyEndAllowThreads(__tstate
);
22858 if (PyErr_Occurred()) SWIG_fail
;
22861 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22869 static PyObject
*_wrap_ListCtrl_ClearAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22870 PyObject
*resultobj
;
22871 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22872 PyObject
* obj0
= 0 ;
22873 char *kwnames
[] = {
22874 (char *) "self", NULL
22877 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_ClearAll",kwnames
,&obj0
)) goto fail
;
22878 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22879 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22882 (arg1
)->ClearAll();
22884 wxPyEndAllowThreads(__tstate
);
22885 if (PyErr_Occurred()) SWIG_fail
;
22887 Py_INCREF(Py_None
); resultobj
= Py_None
;
22894 static PyObject
*_wrap_ListCtrl_EditLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22895 PyObject
*resultobj
;
22896 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22898 wxTextCtrl
*result
;
22899 PyObject
* obj0
= 0 ;
22900 PyObject
* obj1
= 0 ;
22901 char *kwnames
[] = {
22902 (char *) "self",(char *) "item", NULL
22905 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_EditLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
22906 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22907 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22908 arg2
= (long) SWIG_AsLong(obj1
);
22909 if (PyErr_Occurred()) SWIG_fail
;
22911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22912 result
= (wxTextCtrl
*)(arg1
)->EditLabel(arg2
);
22914 wxPyEndAllowThreads(__tstate
);
22915 if (PyErr_Occurred()) SWIG_fail
;
22918 resultobj
= wxPyMake_wxObject(result
);
22926 static PyObject
*_wrap_ListCtrl_EndEditLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22927 PyObject
*resultobj
;
22928 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22931 PyObject
* obj0
= 0 ;
22932 PyObject
* obj1
= 0 ;
22933 char *kwnames
[] = {
22934 (char *) "self",(char *) "cancel", NULL
22937 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_EndEditLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
22938 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22939 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22940 arg2
= (bool) SWIG_AsBool(obj1
);
22941 if (PyErr_Occurred()) SWIG_fail
;
22943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22944 result
= (bool)(arg1
)->EndEditLabel(arg2
);
22946 wxPyEndAllowThreads(__tstate
);
22947 if (PyErr_Occurred()) SWIG_fail
;
22950 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22958 static PyObject
*_wrap_ListCtrl_EnsureVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22959 PyObject
*resultobj
;
22960 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22963 PyObject
* obj0
= 0 ;
22964 PyObject
* obj1
= 0 ;
22965 char *kwnames
[] = {
22966 (char *) "self",(char *) "item", NULL
22969 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_EnsureVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
22970 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22971 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22972 arg2
= (long) SWIG_AsLong(obj1
);
22973 if (PyErr_Occurred()) SWIG_fail
;
22975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22976 result
= (bool)(arg1
)->EnsureVisible(arg2
);
22978 wxPyEndAllowThreads(__tstate
);
22979 if (PyErr_Occurred()) SWIG_fail
;
22982 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22990 static PyObject
*_wrap_ListCtrl_FindItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22991 PyObject
*resultobj
;
22992 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22994 wxString
*arg3
= 0 ;
22995 bool arg4
= (bool) False
;
22997 bool temp3
= False
;
22998 PyObject
* obj0
= 0 ;
22999 PyObject
* obj1
= 0 ;
23000 PyObject
* obj2
= 0 ;
23001 PyObject
* obj3
= 0 ;
23002 char *kwnames
[] = {
23003 (char *) "self",(char *) "start",(char *) "str",(char *) "partial", NULL
23006 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ListCtrl_FindItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
23007 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23008 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23009 arg2
= (long) SWIG_AsLong(obj1
);
23010 if (PyErr_Occurred()) SWIG_fail
;
23012 arg3
= wxString_in_helper(obj2
);
23013 if (arg3
== NULL
) SWIG_fail
;
23017 arg4
= (bool) SWIG_AsBool(obj3
);
23018 if (PyErr_Occurred()) SWIG_fail
;
23021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23022 result
= (long)(arg1
)->FindItem(arg2
,(wxString
const &)*arg3
,arg4
);
23024 wxPyEndAllowThreads(__tstate
);
23025 if (PyErr_Occurred()) SWIG_fail
;
23027 resultobj
= SWIG_FromLong((long)result
);
23042 static PyObject
*_wrap_ListCtrl_FindItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23043 PyObject
*resultobj
;
23044 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23048 PyObject
* obj0
= 0 ;
23049 PyObject
* obj1
= 0 ;
23050 PyObject
* obj2
= 0 ;
23051 char *kwnames
[] = {
23052 (char *) "self",(char *) "start",(char *) "data", NULL
23055 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_FindItemData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23056 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23057 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23058 arg2
= (long) SWIG_AsLong(obj1
);
23059 if (PyErr_Occurred()) SWIG_fail
;
23060 arg3
= (long) SWIG_AsLong(obj2
);
23061 if (PyErr_Occurred()) SWIG_fail
;
23063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23064 result
= (long)(arg1
)->FindItem(arg2
,arg3
);
23066 wxPyEndAllowThreads(__tstate
);
23067 if (PyErr_Occurred()) SWIG_fail
;
23069 resultobj
= SWIG_FromLong((long)result
);
23076 static PyObject
*_wrap_ListCtrl_FindItemAtPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23077 PyObject
*resultobj
;
23078 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23080 wxPoint
*arg3
= 0 ;
23084 PyObject
* obj0
= 0 ;
23085 PyObject
* obj1
= 0 ;
23086 PyObject
* obj2
= 0 ;
23087 PyObject
* obj3
= 0 ;
23088 char *kwnames
[] = {
23089 (char *) "self",(char *) "start",(char *) "pt",(char *) "direction", NULL
23092 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_FindItemAtPos",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
23093 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23094 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23095 arg2
= (long) SWIG_AsLong(obj1
);
23096 if (PyErr_Occurred()) SWIG_fail
;
23099 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
23101 arg4
= (int) SWIG_AsInt(obj3
);
23102 if (PyErr_Occurred()) SWIG_fail
;
23104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23105 result
= (long)(arg1
)->FindItem(arg2
,(wxPoint
const &)*arg3
,arg4
);
23107 wxPyEndAllowThreads(__tstate
);
23108 if (PyErr_Occurred()) SWIG_fail
;
23110 resultobj
= SWIG_FromLong((long)result
);
23117 static PyObject
*_wrap_ListCtrl_HitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23118 PyObject
*resultobj
;
23119 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23120 wxPoint
*arg2
= 0 ;
23125 PyObject
* obj0
= 0 ;
23126 PyObject
* obj1
= 0 ;
23127 char *kwnames
[] = {
23128 (char *) "self",(char *) "point", NULL
23132 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
23133 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23134 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23137 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
23140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23141 result
= (long)(arg1
)->HitTest((wxPoint
const &)*arg2
,*arg3
);
23143 wxPyEndAllowThreads(__tstate
);
23144 if (PyErr_Occurred()) SWIG_fail
;
23146 resultobj
= SWIG_FromLong((long)result
);
23148 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
23149 resultobj
= t_output_helper(resultobj
,o
);
23157 static PyObject
*_wrap_ListCtrl_InsertItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23158 PyObject
*resultobj
;
23159 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23160 wxListItem
*arg2
= 0 ;
23162 PyObject
* obj0
= 0 ;
23163 PyObject
* obj1
= 0 ;
23164 char *kwnames
[] = {
23165 (char *) "self",(char *) "info", NULL
23168 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_InsertItem",kwnames
,&obj0
,&obj1
)) goto fail
;
23169 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23170 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23171 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxListItem
,
23172 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23174 if (arg2
== NULL
) {
23175 PyErr_SetString(PyExc_TypeError
,"null reference");
23179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23180 result
= (long)(arg1
)->InsertItem(*arg2
);
23182 wxPyEndAllowThreads(__tstate
);
23183 if (PyErr_Occurred()) SWIG_fail
;
23185 resultobj
= SWIG_FromLong((long)result
);
23192 static PyObject
*_wrap_ListCtrl_InsertStringItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23193 PyObject
*resultobj
;
23194 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23196 wxString
*arg3
= 0 ;
23198 bool temp3
= False
;
23199 PyObject
* obj0
= 0 ;
23200 PyObject
* obj1
= 0 ;
23201 PyObject
* obj2
= 0 ;
23202 char *kwnames
[] = {
23203 (char *) "self",(char *) "index",(char *) "label", NULL
23206 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_InsertStringItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23207 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23208 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23209 arg2
= (long) SWIG_AsLong(obj1
);
23210 if (PyErr_Occurred()) SWIG_fail
;
23212 arg3
= wxString_in_helper(obj2
);
23213 if (arg3
== NULL
) SWIG_fail
;
23217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23218 result
= (long)(arg1
)->InsertItem(arg2
,(wxString
const &)*arg3
);
23220 wxPyEndAllowThreads(__tstate
);
23221 if (PyErr_Occurred()) SWIG_fail
;
23223 resultobj
= SWIG_FromLong((long)result
);
23238 static PyObject
*_wrap_ListCtrl_InsertImageItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23239 PyObject
*resultobj
;
23240 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23244 PyObject
* obj0
= 0 ;
23245 PyObject
* obj1
= 0 ;
23246 PyObject
* obj2
= 0 ;
23247 char *kwnames
[] = {
23248 (char *) "self",(char *) "index",(char *) "imageIndex", NULL
23251 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_InsertImageItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23252 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23253 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23254 arg2
= (long) SWIG_AsLong(obj1
);
23255 if (PyErr_Occurred()) SWIG_fail
;
23256 arg3
= (int) SWIG_AsInt(obj2
);
23257 if (PyErr_Occurred()) SWIG_fail
;
23259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23260 result
= (long)(arg1
)->InsertItem(arg2
,arg3
);
23262 wxPyEndAllowThreads(__tstate
);
23263 if (PyErr_Occurred()) SWIG_fail
;
23265 resultobj
= SWIG_FromLong((long)result
);
23272 static PyObject
*_wrap_ListCtrl_InsertImageStringItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23273 PyObject
*resultobj
;
23274 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23276 wxString
*arg3
= 0 ;
23279 bool temp3
= False
;
23280 PyObject
* obj0
= 0 ;
23281 PyObject
* obj1
= 0 ;
23282 PyObject
* obj2
= 0 ;
23283 PyObject
* obj3
= 0 ;
23284 char *kwnames
[] = {
23285 (char *) "self",(char *) "index",(char *) "label",(char *) "imageIndex", NULL
23288 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_InsertImageStringItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
23289 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23290 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23291 arg2
= (long) SWIG_AsLong(obj1
);
23292 if (PyErr_Occurred()) SWIG_fail
;
23294 arg3
= wxString_in_helper(obj2
);
23295 if (arg3
== NULL
) SWIG_fail
;
23298 arg4
= (int) SWIG_AsInt(obj3
);
23299 if (PyErr_Occurred()) SWIG_fail
;
23301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23302 result
= (long)(arg1
)->InsertItem(arg2
,(wxString
const &)*arg3
,arg4
);
23304 wxPyEndAllowThreads(__tstate
);
23305 if (PyErr_Occurred()) SWIG_fail
;
23307 resultobj
= SWIG_FromLong((long)result
);
23322 static PyObject
*_wrap_ListCtrl_InsertColumnInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23323 PyObject
*resultobj
;
23324 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23326 wxListItem
*arg3
= 0 ;
23328 PyObject
* obj0
= 0 ;
23329 PyObject
* obj1
= 0 ;
23330 PyObject
* obj2
= 0 ;
23331 char *kwnames
[] = {
23332 (char *) "self",(char *) "col",(char *) "info", NULL
23335 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_InsertColumnInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23336 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23337 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23338 arg2
= (long) SWIG_AsLong(obj1
);
23339 if (PyErr_Occurred()) SWIG_fail
;
23340 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxListItem
,
23341 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23343 if (arg3
== NULL
) {
23344 PyErr_SetString(PyExc_TypeError
,"null reference");
23348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23349 result
= (long)(arg1
)->InsertColumn(arg2
,*arg3
);
23351 wxPyEndAllowThreads(__tstate
);
23352 if (PyErr_Occurred()) SWIG_fail
;
23354 resultobj
= SWIG_FromLong((long)result
);
23361 static PyObject
*_wrap_ListCtrl_InsertColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23362 PyObject
*resultobj
;
23363 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23365 wxString
*arg3
= 0 ;
23366 int arg4
= (int) wxLIST_FORMAT_LEFT
;
23367 int arg5
= (int) -1 ;
23369 bool temp3
= False
;
23370 PyObject
* obj0
= 0 ;
23371 PyObject
* obj1
= 0 ;
23372 PyObject
* obj2
= 0 ;
23373 PyObject
* obj3
= 0 ;
23374 PyObject
* obj4
= 0 ;
23375 char *kwnames
[] = {
23376 (char *) "self",(char *) "col",(char *) "heading",(char *) "format",(char *) "width", NULL
23379 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:ListCtrl_InsertColumn",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
23380 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23381 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23382 arg2
= (long) SWIG_AsLong(obj1
);
23383 if (PyErr_Occurred()) SWIG_fail
;
23385 arg3
= wxString_in_helper(obj2
);
23386 if (arg3
== NULL
) SWIG_fail
;
23390 arg4
= (int) SWIG_AsInt(obj3
);
23391 if (PyErr_Occurred()) SWIG_fail
;
23394 arg5
= (int) SWIG_AsInt(obj4
);
23395 if (PyErr_Occurred()) SWIG_fail
;
23398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23399 result
= (long)(arg1
)->InsertColumn(arg2
,(wxString
const &)*arg3
,arg4
,arg5
);
23401 wxPyEndAllowThreads(__tstate
);
23402 if (PyErr_Occurred()) SWIG_fail
;
23404 resultobj
= SWIG_FromLong((long)result
);
23419 static PyObject
*_wrap_ListCtrl_SetItemCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23420 PyObject
*resultobj
;
23421 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23423 PyObject
* obj0
= 0 ;
23424 PyObject
* obj1
= 0 ;
23425 char *kwnames
[] = {
23426 (char *) "self",(char *) "count", NULL
23429 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetItemCount",kwnames
,&obj0
,&obj1
)) goto fail
;
23430 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23431 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23432 arg2
= (long) SWIG_AsLong(obj1
);
23433 if (PyErr_Occurred()) SWIG_fail
;
23435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23436 (arg1
)->SetItemCount(arg2
);
23438 wxPyEndAllowThreads(__tstate
);
23439 if (PyErr_Occurred()) SWIG_fail
;
23441 Py_INCREF(Py_None
); resultobj
= Py_None
;
23448 static PyObject
*_wrap_ListCtrl_ScrollList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23449 PyObject
*resultobj
;
23450 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23454 PyObject
* obj0
= 0 ;
23455 PyObject
* obj1
= 0 ;
23456 PyObject
* obj2
= 0 ;
23457 char *kwnames
[] = {
23458 (char *) "self",(char *) "dx",(char *) "dy", NULL
23461 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_ScrollList",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23462 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23463 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23464 arg2
= (int) SWIG_AsInt(obj1
);
23465 if (PyErr_Occurred()) SWIG_fail
;
23466 arg3
= (int) SWIG_AsInt(obj2
);
23467 if (PyErr_Occurred()) SWIG_fail
;
23469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23470 result
= (bool)(arg1
)->ScrollList(arg2
,arg3
);
23472 wxPyEndAllowThreads(__tstate
);
23473 if (PyErr_Occurred()) SWIG_fail
;
23476 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23484 static PyObject
*_wrap_ListCtrl_SetItemTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23485 PyObject
*resultobj
;
23486 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23488 wxColour
*arg3
= 0 ;
23490 PyObject
* obj0
= 0 ;
23491 PyObject
* obj1
= 0 ;
23492 PyObject
* obj2
= 0 ;
23493 char *kwnames
[] = {
23494 (char *) "self",(char *) "item",(char *) "col", NULL
23497 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemTextColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23498 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23499 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23500 arg2
= (long) SWIG_AsLong(obj1
);
23501 if (PyErr_Occurred()) SWIG_fail
;
23504 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
23507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23508 (arg1
)->SetItemTextColour(arg2
,(wxColour
const &)*arg3
);
23510 wxPyEndAllowThreads(__tstate
);
23511 if (PyErr_Occurred()) SWIG_fail
;
23513 Py_INCREF(Py_None
); resultobj
= Py_None
;
23520 static PyObject
*_wrap_ListCtrl_GetItemTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23521 PyObject
*resultobj
;
23522 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23525 PyObject
* obj0
= 0 ;
23526 PyObject
* obj1
= 0 ;
23527 char *kwnames
[] = {
23528 (char *) "self",(char *) "item", NULL
23531 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
23532 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23533 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23534 arg2
= (long) SWIG_AsLong(obj1
);
23535 if (PyErr_Occurred()) SWIG_fail
;
23537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23538 result
= ((wxPyListCtrl
const *)arg1
)->GetItemTextColour(arg2
);
23540 wxPyEndAllowThreads(__tstate
);
23541 if (PyErr_Occurred()) SWIG_fail
;
23544 wxColour
* resultptr
;
23545 resultptr
= new wxColour((wxColour
&) result
);
23546 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
23554 static PyObject
*_wrap_ListCtrl_SetItemBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23555 PyObject
*resultobj
;
23556 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23558 wxColour
*arg3
= 0 ;
23560 PyObject
* obj0
= 0 ;
23561 PyObject
* obj1
= 0 ;
23562 PyObject
* obj2
= 0 ;
23563 char *kwnames
[] = {
23564 (char *) "self",(char *) "item",(char *) "col", NULL
23567 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23568 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23569 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23570 arg2
= (long) SWIG_AsLong(obj1
);
23571 if (PyErr_Occurred()) SWIG_fail
;
23574 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
23577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23578 (arg1
)->SetItemBackgroundColour(arg2
,(wxColour
const &)*arg3
);
23580 wxPyEndAllowThreads(__tstate
);
23581 if (PyErr_Occurred()) SWIG_fail
;
23583 Py_INCREF(Py_None
); resultobj
= Py_None
;
23590 static PyObject
*_wrap_ListCtrl_GetItemBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23591 PyObject
*resultobj
;
23592 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23595 PyObject
* obj0
= 0 ;
23596 PyObject
* obj1
= 0 ;
23597 char *kwnames
[] = {
23598 (char *) "self",(char *) "item", NULL
23601 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
23602 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23603 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23604 arg2
= (long) SWIG_AsLong(obj1
);
23605 if (PyErr_Occurred()) SWIG_fail
;
23607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23608 result
= ((wxPyListCtrl
const *)arg1
)->GetItemBackgroundColour(arg2
);
23610 wxPyEndAllowThreads(__tstate
);
23611 if (PyErr_Occurred()) SWIG_fail
;
23614 wxColour
* resultptr
;
23615 resultptr
= new wxColour((wxColour
&) result
);
23616 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
23624 static PyObject
*_wrap_ListCtrl_SortItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23625 PyObject
*resultobj
;
23626 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23627 PyObject
*arg2
= (PyObject
*) 0 ;
23629 PyObject
* obj0
= 0 ;
23630 PyObject
* obj1
= 0 ;
23631 char *kwnames
[] = {
23632 (char *) "self",(char *) "func", NULL
23635 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SortItems",kwnames
,&obj0
,&obj1
)) goto fail
;
23636 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23637 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23641 result
= (bool)wxPyListCtrl_SortItems(arg1
,arg2
);
23643 wxPyEndAllowThreads(__tstate
);
23644 if (PyErr_Occurred()) SWIG_fail
;
23647 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23655 static PyObject
*_wrap_ListCtrl_GetMainWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23656 PyObject
*resultobj
;
23657 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23659 PyObject
* obj0
= 0 ;
23660 char *kwnames
[] = {
23661 (char *) "self", NULL
23664 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetMainWindow",kwnames
,&obj0
)) goto fail
;
23665 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23666 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23669 result
= (wxWindow
*)wxPyListCtrl_GetMainWindow(arg1
);
23671 wxPyEndAllowThreads(__tstate
);
23672 if (PyErr_Occurred()) SWIG_fail
;
23675 resultobj
= wxPyMake_wxObject(result
);
23683 static PyObject
*_wrap_ListCtrl_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23684 PyObject
*resultobj
;
23685 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
23686 wxVisualAttributes result
;
23687 PyObject
* obj0
= 0 ;
23688 char *kwnames
[] = {
23689 (char *) "variant", NULL
23692 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ListCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
23694 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
23695 if (PyErr_Occurred()) SWIG_fail
;
23698 if (!wxPyCheckForApp()) SWIG_fail
;
23699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23700 result
= wxPyListCtrl::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
23702 wxPyEndAllowThreads(__tstate
);
23703 if (PyErr_Occurred()) SWIG_fail
;
23706 wxVisualAttributes
* resultptr
;
23707 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
23708 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
23716 static PyObject
* ListCtrl_swigregister(PyObject
*self
, PyObject
*args
) {
23718 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23719 SWIG_TypeClientData(SWIGTYPE_p_wxPyListCtrl
, obj
);
23721 return Py_BuildValue((char *)"");
23723 static PyObject
*_wrap_new_ListView(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23724 PyObject
*resultobj
;
23725 wxWindow
*arg1
= (wxWindow
*) 0 ;
23726 int arg2
= (int) -1 ;
23727 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
23728 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
23729 wxSize
const &arg4_defvalue
= wxDefaultSize
;
23730 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
23731 long arg5
= (long) wxLC_REPORT
;
23732 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
23733 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
23734 wxString
const &arg7_defvalue
= wxPyListCtrlNameStr
;
23735 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
23736 wxListView
*result
;
23739 bool temp7
= False
;
23740 PyObject
* obj0
= 0 ;
23741 PyObject
* obj1
= 0 ;
23742 PyObject
* obj2
= 0 ;
23743 PyObject
* obj3
= 0 ;
23744 PyObject
* obj4
= 0 ;
23745 PyObject
* obj5
= 0 ;
23746 PyObject
* obj6
= 0 ;
23747 char *kwnames
[] = {
23748 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
23751 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_ListView",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
23752 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23753 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23755 arg2
= (int) SWIG_AsInt(obj1
);
23756 if (PyErr_Occurred()) SWIG_fail
;
23761 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
23767 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
23771 arg5
= (long) SWIG_AsLong(obj4
);
23772 if (PyErr_Occurred()) SWIG_fail
;
23775 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxValidator
,
23776 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23778 if (arg6
== NULL
) {
23779 PyErr_SetString(PyExc_TypeError
,"null reference");
23785 arg7
= wxString_in_helper(obj6
);
23786 if (arg7
== NULL
) SWIG_fail
;
23791 if (!wxPyCheckForApp()) SWIG_fail
;
23792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23793 result
= (wxListView
*)new wxListView(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
23795 wxPyEndAllowThreads(__tstate
);
23796 if (PyErr_Occurred()) SWIG_fail
;
23798 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListView
, 1);
23813 static PyObject
*_wrap_new_PreListView(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23814 PyObject
*resultobj
;
23815 wxListView
*result
;
23816 char *kwnames
[] = {
23820 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreListView",kwnames
)) goto fail
;
23822 if (!wxPyCheckForApp()) SWIG_fail
;
23823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23824 result
= (wxListView
*)new wxListView();
23826 wxPyEndAllowThreads(__tstate
);
23827 if (PyErr_Occurred()) SWIG_fail
;
23829 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListView
, 1);
23836 static PyObject
*_wrap_ListView_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23837 PyObject
*resultobj
;
23838 wxListView
*arg1
= (wxListView
*) 0 ;
23839 wxWindow
*arg2
= (wxWindow
*) 0 ;
23840 int arg3
= (int) -1 ;
23841 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
23842 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
23843 wxSize
const &arg5_defvalue
= wxDefaultSize
;
23844 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
23845 long arg6
= (long) wxLC_REPORT
;
23846 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
23847 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
23848 wxString
const &arg8_defvalue
= wxPyListCtrlNameStr
;
23849 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
23853 bool temp8
= False
;
23854 PyObject
* obj0
= 0 ;
23855 PyObject
* obj1
= 0 ;
23856 PyObject
* obj2
= 0 ;
23857 PyObject
* obj3
= 0 ;
23858 PyObject
* obj4
= 0 ;
23859 PyObject
* obj5
= 0 ;
23860 PyObject
* obj6
= 0 ;
23861 PyObject
* obj7
= 0 ;
23862 char *kwnames
[] = {
23863 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
23866 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:ListView_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
23867 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListView
,
23868 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23869 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
23870 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23872 arg3
= (int) SWIG_AsInt(obj2
);
23873 if (PyErr_Occurred()) SWIG_fail
;
23878 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
23884 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
23888 arg6
= (long) SWIG_AsLong(obj5
);
23889 if (PyErr_Occurred()) SWIG_fail
;
23892 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
23893 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23895 if (arg7
== NULL
) {
23896 PyErr_SetString(PyExc_TypeError
,"null reference");
23902 arg8
= wxString_in_helper(obj7
);
23903 if (arg8
== NULL
) SWIG_fail
;
23908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23909 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
23911 wxPyEndAllowThreads(__tstate
);
23912 if (PyErr_Occurred()) SWIG_fail
;
23915 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23931 static PyObject
*_wrap_ListView_Select(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23932 PyObject
*resultobj
;
23933 wxListView
*arg1
= (wxListView
*) 0 ;
23935 bool arg3
= (bool) True
;
23936 PyObject
* obj0
= 0 ;
23937 PyObject
* obj1
= 0 ;
23938 PyObject
* obj2
= 0 ;
23939 char *kwnames
[] = {
23940 (char *) "self",(char *) "n",(char *) "on", NULL
23943 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListView_Select",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23944 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListView
,
23945 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23946 arg2
= (long) SWIG_AsLong(obj1
);
23947 if (PyErr_Occurred()) SWIG_fail
;
23949 arg3
= (bool) SWIG_AsBool(obj2
);
23950 if (PyErr_Occurred()) SWIG_fail
;
23953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23954 (arg1
)->Select(arg2
,arg3
);
23956 wxPyEndAllowThreads(__tstate
);
23957 if (PyErr_Occurred()) SWIG_fail
;
23959 Py_INCREF(Py_None
); resultobj
= Py_None
;
23966 static PyObject
*_wrap_ListView_Focus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23967 PyObject
*resultobj
;
23968 wxListView
*arg1
= (wxListView
*) 0 ;
23970 PyObject
* obj0
= 0 ;
23971 PyObject
* obj1
= 0 ;
23972 char *kwnames
[] = {
23973 (char *) "self",(char *) "index", NULL
23976 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_Focus",kwnames
,&obj0
,&obj1
)) goto fail
;
23977 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListView
,
23978 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23979 arg2
= (long) SWIG_AsLong(obj1
);
23980 if (PyErr_Occurred()) SWIG_fail
;
23982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23983 (arg1
)->Focus(arg2
);
23985 wxPyEndAllowThreads(__tstate
);
23986 if (PyErr_Occurred()) SWIG_fail
;
23988 Py_INCREF(Py_None
); resultobj
= Py_None
;
23995 static PyObject
*_wrap_ListView_GetFocusedItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23996 PyObject
*resultobj
;
23997 wxListView
*arg1
= (wxListView
*) 0 ;
23999 PyObject
* obj0
= 0 ;
24000 char *kwnames
[] = {
24001 (char *) "self", NULL
24004 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListView_GetFocusedItem",kwnames
,&obj0
)) goto fail
;
24005 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListView
,
24006 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24009 result
= (long)((wxListView
const *)arg1
)->GetFocusedItem();
24011 wxPyEndAllowThreads(__tstate
);
24012 if (PyErr_Occurred()) SWIG_fail
;
24014 resultobj
= SWIG_FromLong((long)result
);
24021 static PyObject
*_wrap_ListView_GetNextSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24022 PyObject
*resultobj
;
24023 wxListView
*arg1
= (wxListView
*) 0 ;
24026 PyObject
* obj0
= 0 ;
24027 PyObject
* obj1
= 0 ;
24028 char *kwnames
[] = {
24029 (char *) "self",(char *) "item", NULL
24032 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_GetNextSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
24033 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListView
,
24034 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24035 arg2
= (long) SWIG_AsLong(obj1
);
24036 if (PyErr_Occurred()) SWIG_fail
;
24038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24039 result
= (long)((wxListView
const *)arg1
)->GetNextSelected(arg2
);
24041 wxPyEndAllowThreads(__tstate
);
24042 if (PyErr_Occurred()) SWIG_fail
;
24044 resultobj
= SWIG_FromLong((long)result
);
24051 static PyObject
*_wrap_ListView_GetFirstSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24052 PyObject
*resultobj
;
24053 wxListView
*arg1
= (wxListView
*) 0 ;
24055 PyObject
* obj0
= 0 ;
24056 char *kwnames
[] = {
24057 (char *) "self", NULL
24060 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListView_GetFirstSelected",kwnames
,&obj0
)) goto fail
;
24061 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListView
,
24062 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24065 result
= (long)((wxListView
const *)arg1
)->GetFirstSelected();
24067 wxPyEndAllowThreads(__tstate
);
24068 if (PyErr_Occurred()) SWIG_fail
;
24070 resultobj
= SWIG_FromLong((long)result
);
24077 static PyObject
*_wrap_ListView_IsSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24078 PyObject
*resultobj
;
24079 wxListView
*arg1
= (wxListView
*) 0 ;
24082 PyObject
* obj0
= 0 ;
24083 PyObject
* obj1
= 0 ;
24084 char *kwnames
[] = {
24085 (char *) "self",(char *) "index", NULL
24088 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_IsSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
24089 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListView
,
24090 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24091 arg2
= (long) SWIG_AsLong(obj1
);
24092 if (PyErr_Occurred()) SWIG_fail
;
24094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24095 result
= (bool)(arg1
)->IsSelected(arg2
);
24097 wxPyEndAllowThreads(__tstate
);
24098 if (PyErr_Occurred()) SWIG_fail
;
24101 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24109 static PyObject
*_wrap_ListView_SetColumnImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24110 PyObject
*resultobj
;
24111 wxListView
*arg1
= (wxListView
*) 0 ;
24114 PyObject
* obj0
= 0 ;
24115 PyObject
* obj1
= 0 ;
24116 PyObject
* obj2
= 0 ;
24117 char *kwnames
[] = {
24118 (char *) "self",(char *) "col",(char *) "image", NULL
24121 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListView_SetColumnImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24122 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListView
,
24123 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24124 arg2
= (int) SWIG_AsInt(obj1
);
24125 if (PyErr_Occurred()) SWIG_fail
;
24126 arg3
= (int) SWIG_AsInt(obj2
);
24127 if (PyErr_Occurred()) SWIG_fail
;
24129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24130 (arg1
)->SetColumnImage(arg2
,arg3
);
24132 wxPyEndAllowThreads(__tstate
);
24133 if (PyErr_Occurred()) SWIG_fail
;
24135 Py_INCREF(Py_None
); resultobj
= Py_None
;
24142 static PyObject
*_wrap_ListView_ClearColumnImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24143 PyObject
*resultobj
;
24144 wxListView
*arg1
= (wxListView
*) 0 ;
24146 PyObject
* obj0
= 0 ;
24147 PyObject
* obj1
= 0 ;
24148 char *kwnames
[] = {
24149 (char *) "self",(char *) "col", NULL
24152 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_ClearColumnImage",kwnames
,&obj0
,&obj1
)) goto fail
;
24153 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListView
,
24154 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24155 arg2
= (int) SWIG_AsInt(obj1
);
24156 if (PyErr_Occurred()) SWIG_fail
;
24158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24159 (arg1
)->ClearColumnImage(arg2
);
24161 wxPyEndAllowThreads(__tstate
);
24162 if (PyErr_Occurred()) SWIG_fail
;
24164 Py_INCREF(Py_None
); resultobj
= Py_None
;
24171 static PyObject
* ListView_swigregister(PyObject
*self
, PyObject
*args
) {
24173 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24174 SWIG_TypeClientData(SWIGTYPE_p_wxListView
, obj
);
24176 return Py_BuildValue((char *)"");
24178 static int _wrap_TreeCtrlNameStr_set(PyObject
*_val
) {
24179 PyErr_SetString(PyExc_TypeError
,"Variable TreeCtrlNameStr is read-only.");
24184 static PyObject
*_wrap_TreeCtrlNameStr_get() {
24189 pyobj
= PyUnicode_FromWideChar((&wxPyTreeCtrlNameStr
)->c_str(), (&wxPyTreeCtrlNameStr
)->Len());
24191 pyobj
= PyString_FromStringAndSize((&wxPyTreeCtrlNameStr
)->c_str(), (&wxPyTreeCtrlNameStr
)->Len());
24198 static PyObject
*_wrap_new_TreeItemId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24199 PyObject
*resultobj
;
24200 wxTreeItemId
*result
;
24201 char *kwnames
[] = {
24205 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_TreeItemId",kwnames
)) goto fail
;
24207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24208 result
= (wxTreeItemId
*)new wxTreeItemId();
24210 wxPyEndAllowThreads(__tstate
);
24211 if (PyErr_Occurred()) SWIG_fail
;
24213 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTreeItemId
, 1);
24220 static PyObject
*_wrap_delete_TreeItemId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24221 PyObject
*resultobj
;
24222 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
24223 PyObject
* obj0
= 0 ;
24224 char *kwnames
[] = {
24225 (char *) "self", NULL
24228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TreeItemId",kwnames
,&obj0
)) goto fail
;
24229 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeItemId
,
24230 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24235 wxPyEndAllowThreads(__tstate
);
24236 if (PyErr_Occurred()) SWIG_fail
;
24238 Py_INCREF(Py_None
); resultobj
= Py_None
;
24245 static PyObject
*_wrap_TreeItemId_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24246 PyObject
*resultobj
;
24247 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
24249 PyObject
* obj0
= 0 ;
24250 char *kwnames
[] = {
24251 (char *) "self", NULL
24254 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemId_IsOk",kwnames
,&obj0
)) goto fail
;
24255 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeItemId
,
24256 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24259 result
= (bool)((wxTreeItemId
const *)arg1
)->IsOk();
24261 wxPyEndAllowThreads(__tstate
);
24262 if (PyErr_Occurred()) SWIG_fail
;
24265 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24273 static PyObject
*_wrap_TreeItemId___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24274 PyObject
*resultobj
;
24275 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
24276 wxTreeItemId
*arg2
= (wxTreeItemId
*) 0 ;
24278 PyObject
* obj0
= 0 ;
24279 PyObject
* obj1
= 0 ;
24280 char *kwnames
[] = {
24281 (char *) "self",(char *) "other", NULL
24284 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemId___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
24285 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeItemId
,
24286 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24287 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
24288 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24291 result
= (bool)wxTreeItemId___eq__(arg1
,(wxTreeItemId
const *)arg2
);
24293 wxPyEndAllowThreads(__tstate
);
24294 if (PyErr_Occurred()) SWIG_fail
;
24297 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24305 static PyObject
*_wrap_TreeItemId___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24306 PyObject
*resultobj
;
24307 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
24308 wxTreeItemId
*arg2
= (wxTreeItemId
*) 0 ;
24310 PyObject
* obj0
= 0 ;
24311 PyObject
* obj1
= 0 ;
24312 char *kwnames
[] = {
24313 (char *) "self",(char *) "other", NULL
24316 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemId___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
24317 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeItemId
,
24318 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24319 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
24320 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24323 result
= (bool)wxTreeItemId___ne__(arg1
,(wxTreeItemId
const *)arg2
);
24325 wxPyEndAllowThreads(__tstate
);
24326 if (PyErr_Occurred()) SWIG_fail
;
24329 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24337 static PyObject
*_wrap_TreeItemId_m_pItem_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24338 PyObject
*resultobj
;
24339 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
24340 void *arg2
= (void *) 0 ;
24341 PyObject
* obj0
= 0 ;
24342 PyObject
* obj1
= 0 ;
24343 char *kwnames
[] = {
24344 (char *) "self",(char *) "m_pItem", NULL
24347 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemId_m_pItem_set",kwnames
,&obj0
,&obj1
)) goto fail
;
24348 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeItemId
,
24349 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24350 if ((SWIG_ConvertPtr(obj1
,&arg2
,0,SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
24351 if (arg1
) (arg1
)->m_pItem
= arg2
;
24353 Py_INCREF(Py_None
); resultobj
= Py_None
;
24360 static PyObject
*_wrap_TreeItemId_m_pItem_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24361 PyObject
*resultobj
;
24362 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
24364 PyObject
* obj0
= 0 ;
24365 char *kwnames
[] = {
24366 (char *) "self", NULL
24369 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemId_m_pItem_get",kwnames
,&obj0
)) goto fail
;
24370 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeItemId
,
24371 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24372 result
= (void *) ((arg1
)->m_pItem
);
24374 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_void
, 0);
24381 static PyObject
* TreeItemId_swigregister(PyObject
*self
, PyObject
*args
) {
24383 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24384 SWIG_TypeClientData(SWIGTYPE_p_wxTreeItemId
, obj
);
24386 return Py_BuildValue((char *)"");
24388 static PyObject
*_wrap_new_TreeItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24389 PyObject
*resultobj
;
24390 PyObject
*arg1
= (PyObject
*) NULL
;
24391 wxPyTreeItemData
*result
;
24392 PyObject
* obj0
= 0 ;
24393 char *kwnames
[] = {
24394 (char *) "obj", NULL
24397 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_TreeItemData",kwnames
,&obj0
)) goto fail
;
24402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24403 result
= (wxPyTreeItemData
*)new wxPyTreeItemData(arg1
);
24405 wxPyEndAllowThreads(__tstate
);
24406 if (PyErr_Occurred()) SWIG_fail
;
24408 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTreeItemData
, 1);
24415 static PyObject
*_wrap_TreeItemData_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24416 PyObject
*resultobj
;
24417 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
24419 PyObject
* obj0
= 0 ;
24420 char *kwnames
[] = {
24421 (char *) "self", NULL
24424 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemData_GetData",kwnames
,&obj0
)) goto fail
;
24425 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeItemData
,
24426 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24429 result
= (PyObject
*)(arg1
)->GetData();
24431 wxPyEndAllowThreads(__tstate
);
24432 if (PyErr_Occurred()) SWIG_fail
;
24434 resultobj
= result
;
24441 static PyObject
*_wrap_TreeItemData_SetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24442 PyObject
*resultobj
;
24443 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
24444 PyObject
*arg2
= (PyObject
*) 0 ;
24445 PyObject
* obj0
= 0 ;
24446 PyObject
* obj1
= 0 ;
24447 char *kwnames
[] = {
24448 (char *) "self",(char *) "obj", NULL
24451 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemData_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
24452 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeItemData
,
24453 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24457 (arg1
)->SetData(arg2
);
24459 wxPyEndAllowThreads(__tstate
);
24460 if (PyErr_Occurred()) SWIG_fail
;
24462 Py_INCREF(Py_None
); resultobj
= Py_None
;
24469 static PyObject
*_wrap_TreeItemData_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24470 PyObject
*resultobj
;
24471 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
24472 wxTreeItemId
*result
;
24473 PyObject
* obj0
= 0 ;
24474 char *kwnames
[] = {
24475 (char *) "self", NULL
24478 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemData_GetId",kwnames
,&obj0
)) goto fail
;
24479 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeItemData
,
24480 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24484 wxTreeItemId
const &_result_ref
= (arg1
)->GetId();
24485 result
= (wxTreeItemId
*) &_result_ref
;
24488 wxPyEndAllowThreads(__tstate
);
24489 if (PyErr_Occurred()) SWIG_fail
;
24491 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTreeItemId
, 0);
24498 static PyObject
*_wrap_TreeItemData_SetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24499 PyObject
*resultobj
;
24500 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
24501 wxTreeItemId
*arg2
= 0 ;
24502 PyObject
* obj0
= 0 ;
24503 PyObject
* obj1
= 0 ;
24504 char *kwnames
[] = {
24505 (char *) "self",(char *) "id", NULL
24508 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemData_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
24509 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeItemData
,
24510 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24511 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
24512 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24514 if (arg2
== NULL
) {
24515 PyErr_SetString(PyExc_TypeError
,"null reference");
24519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24520 (arg1
)->SetId((wxTreeItemId
const &)*arg2
);
24522 wxPyEndAllowThreads(__tstate
);
24523 if (PyErr_Occurred()) SWIG_fail
;
24525 Py_INCREF(Py_None
); resultobj
= Py_None
;
24532 static PyObject
*_wrap_TreeItemData_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24533 PyObject
*resultobj
;
24534 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
24535 PyObject
* obj0
= 0 ;
24536 char *kwnames
[] = {
24537 (char *) "self", NULL
24540 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemData_Destroy",kwnames
,&obj0
)) goto fail
;
24541 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeItemData
,
24542 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24545 wxPyTreeItemData_Destroy(arg1
);
24547 wxPyEndAllowThreads(__tstate
);
24548 if (PyErr_Occurred()) SWIG_fail
;
24550 Py_INCREF(Py_None
); resultobj
= Py_None
;
24557 static PyObject
* TreeItemData_swigregister(PyObject
*self
, PyObject
*args
) {
24559 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24560 SWIG_TypeClientData(SWIGTYPE_p_wxPyTreeItemData
, obj
);
24562 return Py_BuildValue((char *)"");
24564 static PyObject
*_wrap_new_TreeEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24565 PyObject
*resultobj
;
24566 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
24567 int arg2
= (int) 0 ;
24568 wxTreeEvent
*result
;
24569 PyObject
* obj0
= 0 ;
24570 PyObject
* obj1
= 0 ;
24571 char *kwnames
[] = {
24572 (char *) "commandType",(char *) "id", NULL
24575 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_TreeEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
24577 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
24578 if (PyErr_Occurred()) SWIG_fail
;
24581 arg2
= (int) SWIG_AsInt(obj1
);
24582 if (PyErr_Occurred()) SWIG_fail
;
24585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24586 result
= (wxTreeEvent
*)new wxTreeEvent(arg1
,arg2
);
24588 wxPyEndAllowThreads(__tstate
);
24589 if (PyErr_Occurred()) SWIG_fail
;
24591 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTreeEvent
, 1);
24598 static PyObject
*_wrap_TreeEvent_GetItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24599 PyObject
*resultobj
;
24600 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
24601 wxTreeItemId result
;
24602 PyObject
* obj0
= 0 ;
24603 char *kwnames
[] = {
24604 (char *) "self", NULL
24607 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetItem",kwnames
,&obj0
)) goto fail
;
24608 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
24609 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24612 result
= ((wxTreeEvent
const *)arg1
)->GetItem();
24614 wxPyEndAllowThreads(__tstate
);
24615 if (PyErr_Occurred()) SWIG_fail
;
24618 wxTreeItemId
* resultptr
;
24619 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
24620 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
24628 static PyObject
*_wrap_TreeEvent_SetItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24629 PyObject
*resultobj
;
24630 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
24631 wxTreeItemId
*arg2
= 0 ;
24632 PyObject
* obj0
= 0 ;
24633 PyObject
* obj1
= 0 ;
24634 char *kwnames
[] = {
24635 (char *) "self",(char *) "item", NULL
24638 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetItem",kwnames
,&obj0
,&obj1
)) goto fail
;
24639 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
24640 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24641 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
24642 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24644 if (arg2
== NULL
) {
24645 PyErr_SetString(PyExc_TypeError
,"null reference");
24649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24650 (arg1
)->SetItem((wxTreeItemId
const &)*arg2
);
24652 wxPyEndAllowThreads(__tstate
);
24653 if (PyErr_Occurred()) SWIG_fail
;
24655 Py_INCREF(Py_None
); resultobj
= Py_None
;
24662 static PyObject
*_wrap_TreeEvent_GetOldItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24663 PyObject
*resultobj
;
24664 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
24665 wxTreeItemId result
;
24666 PyObject
* obj0
= 0 ;
24667 char *kwnames
[] = {
24668 (char *) "self", NULL
24671 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetOldItem",kwnames
,&obj0
)) goto fail
;
24672 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
24673 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24676 result
= ((wxTreeEvent
const *)arg1
)->GetOldItem();
24678 wxPyEndAllowThreads(__tstate
);
24679 if (PyErr_Occurred()) SWIG_fail
;
24682 wxTreeItemId
* resultptr
;
24683 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
24684 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
24692 static PyObject
*_wrap_TreeEvent_SetOldItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24693 PyObject
*resultobj
;
24694 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
24695 wxTreeItemId
*arg2
= 0 ;
24696 PyObject
* obj0
= 0 ;
24697 PyObject
* obj1
= 0 ;
24698 char *kwnames
[] = {
24699 (char *) "self",(char *) "item", NULL
24702 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetOldItem",kwnames
,&obj0
,&obj1
)) goto fail
;
24703 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
24704 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24705 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
24706 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24708 if (arg2
== NULL
) {
24709 PyErr_SetString(PyExc_TypeError
,"null reference");
24713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24714 (arg1
)->SetOldItem((wxTreeItemId
const &)*arg2
);
24716 wxPyEndAllowThreads(__tstate
);
24717 if (PyErr_Occurred()) SWIG_fail
;
24719 Py_INCREF(Py_None
); resultobj
= Py_None
;
24726 static PyObject
*_wrap_TreeEvent_GetPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24727 PyObject
*resultobj
;
24728 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
24730 PyObject
* obj0
= 0 ;
24731 char *kwnames
[] = {
24732 (char *) "self", NULL
24735 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetPoint",kwnames
,&obj0
)) goto fail
;
24736 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
24737 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24740 result
= ((wxTreeEvent
const *)arg1
)->GetPoint();
24742 wxPyEndAllowThreads(__tstate
);
24743 if (PyErr_Occurred()) SWIG_fail
;
24746 wxPoint
* resultptr
;
24747 resultptr
= new wxPoint((wxPoint
&) result
);
24748 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
24756 static PyObject
*_wrap_TreeEvent_SetPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24757 PyObject
*resultobj
;
24758 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
24759 wxPoint
*arg2
= 0 ;
24761 PyObject
* obj0
= 0 ;
24762 PyObject
* obj1
= 0 ;
24763 char *kwnames
[] = {
24764 (char *) "self",(char *) "pt", NULL
24767 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
24768 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
24769 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24772 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
24775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24776 (arg1
)->SetPoint((wxPoint
const &)*arg2
);
24778 wxPyEndAllowThreads(__tstate
);
24779 if (PyErr_Occurred()) SWIG_fail
;
24781 Py_INCREF(Py_None
); resultobj
= Py_None
;
24788 static PyObject
*_wrap_TreeEvent_GetKeyEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24789 PyObject
*resultobj
;
24790 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
24791 wxKeyEvent
*result
;
24792 PyObject
* obj0
= 0 ;
24793 char *kwnames
[] = {
24794 (char *) "self", NULL
24797 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetKeyEvent",kwnames
,&obj0
)) goto fail
;
24798 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
24799 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24803 wxKeyEvent
const &_result_ref
= ((wxTreeEvent
const *)arg1
)->GetKeyEvent();
24804 result
= (wxKeyEvent
*) &_result_ref
;
24807 wxPyEndAllowThreads(__tstate
);
24808 if (PyErr_Occurred()) SWIG_fail
;
24810 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxKeyEvent
, 0);
24817 static PyObject
*_wrap_TreeEvent_GetKeyCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24818 PyObject
*resultobj
;
24819 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
24821 PyObject
* obj0
= 0 ;
24822 char *kwnames
[] = {
24823 (char *) "self", NULL
24826 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetKeyCode",kwnames
,&obj0
)) goto fail
;
24827 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
24828 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24831 result
= (int)((wxTreeEvent
const *)arg1
)->GetKeyCode();
24833 wxPyEndAllowThreads(__tstate
);
24834 if (PyErr_Occurred()) SWIG_fail
;
24836 resultobj
= SWIG_FromInt((int)result
);
24843 static PyObject
*_wrap_TreeEvent_SetKeyEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24844 PyObject
*resultobj
;
24845 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
24846 wxKeyEvent
*arg2
= 0 ;
24847 PyObject
* obj0
= 0 ;
24848 PyObject
* obj1
= 0 ;
24849 char *kwnames
[] = {
24850 (char *) "self",(char *) "evt", NULL
24853 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetKeyEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
24854 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
24855 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24856 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxKeyEvent
,
24857 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24859 if (arg2
== NULL
) {
24860 PyErr_SetString(PyExc_TypeError
,"null reference");
24864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24865 (arg1
)->SetKeyEvent((wxKeyEvent
const &)*arg2
);
24867 wxPyEndAllowThreads(__tstate
);
24868 if (PyErr_Occurred()) SWIG_fail
;
24870 Py_INCREF(Py_None
); resultobj
= Py_None
;
24877 static PyObject
*_wrap_TreeEvent_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24878 PyObject
*resultobj
;
24879 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
24881 PyObject
* obj0
= 0 ;
24882 char *kwnames
[] = {
24883 (char *) "self", NULL
24886 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetLabel",kwnames
,&obj0
)) goto fail
;
24887 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
24888 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24892 wxString
const &_result_ref
= ((wxTreeEvent
const *)arg1
)->GetLabel();
24893 result
= (wxString
*) &_result_ref
;
24896 wxPyEndAllowThreads(__tstate
);
24897 if (PyErr_Occurred()) SWIG_fail
;
24901 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
24903 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
24912 static PyObject
*_wrap_TreeEvent_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24913 PyObject
*resultobj
;
24914 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
24915 wxString
*arg2
= 0 ;
24916 bool temp2
= False
;
24917 PyObject
* obj0
= 0 ;
24918 PyObject
* obj1
= 0 ;
24919 char *kwnames
[] = {
24920 (char *) "self",(char *) "label", NULL
24923 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
24924 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
24925 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24927 arg2
= wxString_in_helper(obj1
);
24928 if (arg2
== NULL
) SWIG_fail
;
24932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24933 (arg1
)->SetLabel((wxString
const &)*arg2
);
24935 wxPyEndAllowThreads(__tstate
);
24936 if (PyErr_Occurred()) SWIG_fail
;
24938 Py_INCREF(Py_None
); resultobj
= Py_None
;
24953 static PyObject
*_wrap_TreeEvent_IsEditCancelled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24954 PyObject
*resultobj
;
24955 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
24957 PyObject
* obj0
= 0 ;
24958 char *kwnames
[] = {
24959 (char *) "self", NULL
24962 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_IsEditCancelled",kwnames
,&obj0
)) goto fail
;
24963 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
24964 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24967 result
= (bool)((wxTreeEvent
const *)arg1
)->IsEditCancelled();
24969 wxPyEndAllowThreads(__tstate
);
24970 if (PyErr_Occurred()) SWIG_fail
;
24973 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24981 static PyObject
*_wrap_TreeEvent_SetEditCanceled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24982 PyObject
*resultobj
;
24983 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
24985 PyObject
* obj0
= 0 ;
24986 PyObject
* obj1
= 0 ;
24987 char *kwnames
[] = {
24988 (char *) "self",(char *) "editCancelled", NULL
24991 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetEditCanceled",kwnames
,&obj0
,&obj1
)) goto fail
;
24992 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
24993 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24994 arg2
= (bool) SWIG_AsBool(obj1
);
24995 if (PyErr_Occurred()) SWIG_fail
;
24997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24998 (arg1
)->SetEditCanceled(arg2
);
25000 wxPyEndAllowThreads(__tstate
);
25001 if (PyErr_Occurred()) SWIG_fail
;
25003 Py_INCREF(Py_None
); resultobj
= Py_None
;
25010 static PyObject
*_wrap_TreeEvent_SetToolTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25011 PyObject
*resultobj
;
25012 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
25013 wxString
*arg2
= 0 ;
25014 bool temp2
= False
;
25015 PyObject
* obj0
= 0 ;
25016 PyObject
* obj1
= 0 ;
25017 char *kwnames
[] = {
25018 (char *) "self",(char *) "toolTip", NULL
25021 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetToolTip",kwnames
,&obj0
,&obj1
)) goto fail
;
25022 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
25023 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25025 arg2
= wxString_in_helper(obj1
);
25026 if (arg2
== NULL
) SWIG_fail
;
25030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25031 (arg1
)->SetToolTip((wxString
const &)*arg2
);
25033 wxPyEndAllowThreads(__tstate
);
25034 if (PyErr_Occurred()) SWIG_fail
;
25036 Py_INCREF(Py_None
); resultobj
= Py_None
;
25051 static PyObject
* TreeEvent_swigregister(PyObject
*self
, PyObject
*args
) {
25053 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25054 SWIG_TypeClientData(SWIGTYPE_p_wxTreeEvent
, obj
);
25056 return Py_BuildValue((char *)"");
25058 static PyObject
*_wrap_new_TreeCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25059 PyObject
*resultobj
;
25060 wxWindow
*arg1
= (wxWindow
*) 0 ;
25061 int arg2
= (int) -1 ;
25062 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
25063 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
25064 wxSize
const &arg4_defvalue
= wxDefaultSize
;
25065 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
25066 long arg5
= (long) wxTR_DEFAULT_STYLE
;
25067 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
25068 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
25069 wxString
const &arg7_defvalue
= wxPyTreeCtrlNameStr
;
25070 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
25071 wxPyTreeCtrl
*result
;
25074 bool temp7
= False
;
25075 PyObject
* obj0
= 0 ;
25076 PyObject
* obj1
= 0 ;
25077 PyObject
* obj2
= 0 ;
25078 PyObject
* obj3
= 0 ;
25079 PyObject
* obj4
= 0 ;
25080 PyObject
* obj5
= 0 ;
25081 PyObject
* obj6
= 0 ;
25082 char *kwnames
[] = {
25083 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
25086 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_TreeCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
25087 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25088 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25090 arg2
= (int) SWIG_AsInt(obj1
);
25091 if (PyErr_Occurred()) SWIG_fail
;
25096 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
25102 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
25106 arg5
= (long) SWIG_AsLong(obj4
);
25107 if (PyErr_Occurred()) SWIG_fail
;
25110 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxValidator
,
25111 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25113 if (arg6
== NULL
) {
25114 PyErr_SetString(PyExc_TypeError
,"null reference");
25120 arg7
= wxString_in_helper(obj6
);
25121 if (arg7
== NULL
) SWIG_fail
;
25126 if (!wxPyCheckForApp()) SWIG_fail
;
25127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25128 result
= (wxPyTreeCtrl
*)new wxPyTreeCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
25130 wxPyEndAllowThreads(__tstate
);
25131 if (PyErr_Occurred()) SWIG_fail
;
25134 resultobj
= wxPyMake_wxObject(result
);
25150 static PyObject
*_wrap_new_PreTreeCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25151 PyObject
*resultobj
;
25152 wxPyTreeCtrl
*result
;
25153 char *kwnames
[] = {
25157 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreTreeCtrl",kwnames
)) goto fail
;
25159 if (!wxPyCheckForApp()) SWIG_fail
;
25160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25161 result
= (wxPyTreeCtrl
*)new wxPyTreeCtrl();
25163 wxPyEndAllowThreads(__tstate
);
25164 if (PyErr_Occurred()) SWIG_fail
;
25167 resultobj
= wxPyMake_wxObject(result
);
25175 static PyObject
*_wrap_TreeCtrl_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25176 PyObject
*resultobj
;
25177 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25178 wxWindow
*arg2
= (wxWindow
*) 0 ;
25179 int arg3
= (int) -1 ;
25180 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
25181 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
25182 wxSize
const &arg5_defvalue
= wxDefaultSize
;
25183 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
25184 long arg6
= (long) wxTR_DEFAULT_STYLE
;
25185 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
25186 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
25187 wxString
const &arg8_defvalue
= wxPyTreeCtrlNameStr
;
25188 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
25192 bool temp8
= False
;
25193 PyObject
* obj0
= 0 ;
25194 PyObject
* obj1
= 0 ;
25195 PyObject
* obj2
= 0 ;
25196 PyObject
* obj3
= 0 ;
25197 PyObject
* obj4
= 0 ;
25198 PyObject
* obj5
= 0 ;
25199 PyObject
* obj6
= 0 ;
25200 PyObject
* obj7
= 0 ;
25201 char *kwnames
[] = {
25202 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
25205 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:TreeCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
25206 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25207 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25208 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
25209 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25211 arg3
= (int) SWIG_AsInt(obj2
);
25212 if (PyErr_Occurred()) SWIG_fail
;
25217 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
25223 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
25227 arg6
= (long) SWIG_AsLong(obj5
);
25228 if (PyErr_Occurred()) SWIG_fail
;
25231 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
25232 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25234 if (arg7
== NULL
) {
25235 PyErr_SetString(PyExc_TypeError
,"null reference");
25241 arg8
= wxString_in_helper(obj7
);
25242 if (arg8
== NULL
) SWIG_fail
;
25247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25248 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
25250 wxPyEndAllowThreads(__tstate
);
25251 if (PyErr_Occurred()) SWIG_fail
;
25254 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25270 static PyObject
*_wrap_TreeCtrl__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25271 PyObject
*resultobj
;
25272 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25273 PyObject
*arg2
= (PyObject
*) 0 ;
25274 PyObject
*arg3
= (PyObject
*) 0 ;
25275 PyObject
* obj0
= 0 ;
25276 PyObject
* obj1
= 0 ;
25277 PyObject
* obj2
= 0 ;
25278 char *kwnames
[] = {
25279 (char *) "self",(char *) "self",(char *) "_class", NULL
25282 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25283 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25284 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25289 (arg1
)->_setCallbackInfo(arg2
,arg3
);
25291 wxPyEndAllowThreads(__tstate
);
25292 if (PyErr_Occurred()) SWIG_fail
;
25294 Py_INCREF(Py_None
); resultobj
= Py_None
;
25301 static PyObject
*_wrap_TreeCtrl_GetCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25302 PyObject
*resultobj
;
25303 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25305 PyObject
* obj0
= 0 ;
25306 char *kwnames
[] = {
25307 (char *) "self", NULL
25310 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetCount",kwnames
,&obj0
)) goto fail
;
25311 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25312 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25315 result
= (size_t)((wxPyTreeCtrl
const *)arg1
)->GetCount();
25317 wxPyEndAllowThreads(__tstate
);
25318 if (PyErr_Occurred()) SWIG_fail
;
25320 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
25327 static PyObject
*_wrap_TreeCtrl_GetIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25328 PyObject
*resultobj
;
25329 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25330 unsigned int result
;
25331 PyObject
* obj0
= 0 ;
25332 char *kwnames
[] = {
25333 (char *) "self", NULL
25336 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetIndent",kwnames
,&obj0
)) goto fail
;
25337 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25338 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25341 result
= (unsigned int)((wxPyTreeCtrl
const *)arg1
)->GetIndent();
25343 wxPyEndAllowThreads(__tstate
);
25344 if (PyErr_Occurred()) SWIG_fail
;
25346 resultobj
= SWIG_FromUnsignedInt((unsigned int)result
);
25353 static PyObject
*_wrap_TreeCtrl_SetIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25354 PyObject
*resultobj
;
25355 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25356 unsigned int arg2
;
25357 PyObject
* obj0
= 0 ;
25358 PyObject
* obj1
= 0 ;
25359 char *kwnames
[] = {
25360 (char *) "self",(char *) "indent", NULL
25363 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetIndent",kwnames
,&obj0
,&obj1
)) goto fail
;
25364 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25365 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25366 arg2
= (unsigned int) SWIG_AsUnsignedInt(obj1
);
25367 if (PyErr_Occurred()) SWIG_fail
;
25369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25370 (arg1
)->SetIndent(arg2
);
25372 wxPyEndAllowThreads(__tstate
);
25373 if (PyErr_Occurred()) SWIG_fail
;
25375 Py_INCREF(Py_None
); resultobj
= Py_None
;
25382 static PyObject
*_wrap_TreeCtrl_GetSpacing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25383 PyObject
*resultobj
;
25384 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25385 unsigned int result
;
25386 PyObject
* obj0
= 0 ;
25387 char *kwnames
[] = {
25388 (char *) "self", NULL
25391 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetSpacing",kwnames
,&obj0
)) goto fail
;
25392 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25393 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25396 result
= (unsigned int)((wxPyTreeCtrl
const *)arg1
)->GetSpacing();
25398 wxPyEndAllowThreads(__tstate
);
25399 if (PyErr_Occurred()) SWIG_fail
;
25401 resultobj
= SWIG_FromUnsignedInt((unsigned int)result
);
25408 static PyObject
*_wrap_TreeCtrl_SetSpacing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25409 PyObject
*resultobj
;
25410 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25411 unsigned int arg2
;
25412 PyObject
* obj0
= 0 ;
25413 PyObject
* obj1
= 0 ;
25414 char *kwnames
[] = {
25415 (char *) "self",(char *) "spacing", NULL
25418 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetSpacing",kwnames
,&obj0
,&obj1
)) goto fail
;
25419 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25420 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25421 arg2
= (unsigned int) SWIG_AsUnsignedInt(obj1
);
25422 if (PyErr_Occurred()) SWIG_fail
;
25424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25425 (arg1
)->SetSpacing(arg2
);
25427 wxPyEndAllowThreads(__tstate
);
25428 if (PyErr_Occurred()) SWIG_fail
;
25430 Py_INCREF(Py_None
); resultobj
= Py_None
;
25437 static PyObject
*_wrap_TreeCtrl_GetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25438 PyObject
*resultobj
;
25439 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25440 wxImageList
*result
;
25441 PyObject
* obj0
= 0 ;
25442 char *kwnames
[] = {
25443 (char *) "self", NULL
25446 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetImageList",kwnames
,&obj0
)) goto fail
;
25447 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25448 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25451 result
= (wxImageList
*)((wxPyTreeCtrl
const *)arg1
)->GetImageList();
25453 wxPyEndAllowThreads(__tstate
);
25454 if (PyErr_Occurred()) SWIG_fail
;
25457 resultobj
= wxPyMake_wxObject(result
);
25465 static PyObject
*_wrap_TreeCtrl_GetStateImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25466 PyObject
*resultobj
;
25467 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25468 wxImageList
*result
;
25469 PyObject
* obj0
= 0 ;
25470 char *kwnames
[] = {
25471 (char *) "self", NULL
25474 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetStateImageList",kwnames
,&obj0
)) goto fail
;
25475 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25476 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25479 result
= (wxImageList
*)((wxPyTreeCtrl
const *)arg1
)->GetStateImageList();
25481 wxPyEndAllowThreads(__tstate
);
25482 if (PyErr_Occurred()) SWIG_fail
;
25485 resultobj
= wxPyMake_wxObject(result
);
25493 static PyObject
*_wrap_TreeCtrl_SetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25494 PyObject
*resultobj
;
25495 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25496 wxImageList
*arg2
= (wxImageList
*) 0 ;
25497 PyObject
* obj0
= 0 ;
25498 PyObject
* obj1
= 0 ;
25499 char *kwnames
[] = {
25500 (char *) "self",(char *) "imageList", NULL
25503 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
25504 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25505 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25506 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImageList
,
25507 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25510 (arg1
)->SetImageList(arg2
);
25512 wxPyEndAllowThreads(__tstate
);
25513 if (PyErr_Occurred()) SWIG_fail
;
25515 Py_INCREF(Py_None
); resultobj
= Py_None
;
25522 static PyObject
*_wrap_TreeCtrl_SetStateImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25523 PyObject
*resultobj
;
25524 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25525 wxImageList
*arg2
= (wxImageList
*) 0 ;
25526 PyObject
* obj0
= 0 ;
25527 PyObject
* obj1
= 0 ;
25528 char *kwnames
[] = {
25529 (char *) "self",(char *) "imageList", NULL
25532 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetStateImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
25533 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25534 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25535 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImageList
,
25536 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25539 (arg1
)->SetStateImageList(arg2
);
25541 wxPyEndAllowThreads(__tstate
);
25542 if (PyErr_Occurred()) SWIG_fail
;
25544 Py_INCREF(Py_None
); resultobj
= Py_None
;
25551 static PyObject
*_wrap_TreeCtrl_AssignImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25552 PyObject
*resultobj
;
25553 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25554 wxImageList
*arg2
= (wxImageList
*) 0 ;
25555 PyObject
* obj0
= 0 ;
25556 PyObject
* obj1
= 0 ;
25557 char *kwnames
[] = {
25558 (char *) "self",(char *) "imageList", NULL
25561 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_AssignImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
25562 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25563 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25564 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImageList
,
25565 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
25567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25568 (arg1
)->AssignImageList(arg2
);
25570 wxPyEndAllowThreads(__tstate
);
25571 if (PyErr_Occurred()) SWIG_fail
;
25573 Py_INCREF(Py_None
); resultobj
= Py_None
;
25580 static PyObject
*_wrap_TreeCtrl_AssignStateImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25581 PyObject
*resultobj
;
25582 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25583 wxImageList
*arg2
= (wxImageList
*) 0 ;
25584 PyObject
* obj0
= 0 ;
25585 PyObject
* obj1
= 0 ;
25586 char *kwnames
[] = {
25587 (char *) "self",(char *) "imageList", NULL
25590 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_AssignStateImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
25591 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25592 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25593 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImageList
,
25594 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
25596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25597 (arg1
)->AssignStateImageList(arg2
);
25599 wxPyEndAllowThreads(__tstate
);
25600 if (PyErr_Occurred()) SWIG_fail
;
25602 Py_INCREF(Py_None
); resultobj
= Py_None
;
25609 static PyObject
*_wrap_TreeCtrl_GetItemText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25610 PyObject
*resultobj
;
25611 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25612 wxTreeItemId
*arg2
= 0 ;
25614 PyObject
* obj0
= 0 ;
25615 PyObject
* obj1
= 0 ;
25616 char *kwnames
[] = {
25617 (char *) "self",(char *) "item", NULL
25620 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemText",kwnames
,&obj0
,&obj1
)) goto fail
;
25621 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25622 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25623 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25624 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25626 if (arg2
== NULL
) {
25627 PyErr_SetString(PyExc_TypeError
,"null reference");
25631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25632 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemText((wxTreeItemId
const &)*arg2
);
25634 wxPyEndAllowThreads(__tstate
);
25635 if (PyErr_Occurred()) SWIG_fail
;
25639 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
25641 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
25650 static PyObject
*_wrap_TreeCtrl_GetItemImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25651 PyObject
*resultobj
;
25652 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25653 wxTreeItemId
*arg2
= 0 ;
25654 int arg3
= (int) wxTreeItemIcon_Normal
;
25656 PyObject
* obj0
= 0 ;
25657 PyObject
* obj1
= 0 ;
25658 PyObject
* obj2
= 0 ;
25659 char *kwnames
[] = {
25660 (char *) "self",(char *) "item",(char *) "which", NULL
25663 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_GetItemImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25664 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25665 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25666 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25667 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25669 if (arg2
== NULL
) {
25670 PyErr_SetString(PyExc_TypeError
,"null reference");
25674 arg3
= (wxTreeItemIcon
) SWIG_AsInt(obj2
);
25675 if (PyErr_Occurred()) SWIG_fail
;
25678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25679 result
= (int)((wxPyTreeCtrl
const *)arg1
)->GetItemImage((wxTreeItemId
const &)*arg2
,(wxTreeItemIcon
)arg3
);
25681 wxPyEndAllowThreads(__tstate
);
25682 if (PyErr_Occurred()) SWIG_fail
;
25684 resultobj
= SWIG_FromInt((int)result
);
25691 static PyObject
*_wrap_TreeCtrl_GetItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25692 PyObject
*resultobj
;
25693 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25694 wxTreeItemId
*arg2
= 0 ;
25695 wxPyTreeItemData
*result
;
25696 PyObject
* obj0
= 0 ;
25697 PyObject
* obj1
= 0 ;
25698 char *kwnames
[] = {
25699 (char *) "self",(char *) "item", NULL
25702 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemData",kwnames
,&obj0
,&obj1
)) goto fail
;
25703 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25704 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25705 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25706 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25708 if (arg2
== NULL
) {
25709 PyErr_SetString(PyExc_TypeError
,"null reference");
25713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25714 result
= (wxPyTreeItemData
*)wxPyTreeCtrl_GetItemData(arg1
,(wxTreeItemId
const &)*arg2
);
25716 wxPyEndAllowThreads(__tstate
);
25717 if (PyErr_Occurred()) SWIG_fail
;
25719 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTreeItemData
, 0);
25726 static PyObject
*_wrap_TreeCtrl_GetItemPyData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25727 PyObject
*resultobj
;
25728 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25729 wxTreeItemId
*arg2
= 0 ;
25731 PyObject
* obj0
= 0 ;
25732 PyObject
* obj1
= 0 ;
25733 char *kwnames
[] = {
25734 (char *) "self",(char *) "item", NULL
25737 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemPyData",kwnames
,&obj0
,&obj1
)) goto fail
;
25738 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25739 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25740 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25741 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25743 if (arg2
== NULL
) {
25744 PyErr_SetString(PyExc_TypeError
,"null reference");
25748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25749 result
= (PyObject
*)wxPyTreeCtrl_GetItemPyData(arg1
,(wxTreeItemId
const &)*arg2
);
25751 wxPyEndAllowThreads(__tstate
);
25752 if (PyErr_Occurred()) SWIG_fail
;
25754 resultobj
= result
;
25761 static PyObject
*_wrap_TreeCtrl_GetItemTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25762 PyObject
*resultobj
;
25763 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25764 wxTreeItemId
*arg2
= 0 ;
25766 PyObject
* obj0
= 0 ;
25767 PyObject
* obj1
= 0 ;
25768 char *kwnames
[] = {
25769 (char *) "self",(char *) "item", NULL
25772 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
25773 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25774 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25775 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25776 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25778 if (arg2
== NULL
) {
25779 PyErr_SetString(PyExc_TypeError
,"null reference");
25783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25784 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemTextColour((wxTreeItemId
const &)*arg2
);
25786 wxPyEndAllowThreads(__tstate
);
25787 if (PyErr_Occurred()) SWIG_fail
;
25790 wxColour
* resultptr
;
25791 resultptr
= new wxColour((wxColour
&) result
);
25792 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
25800 static PyObject
*_wrap_TreeCtrl_GetItemBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25801 PyObject
*resultobj
;
25802 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25803 wxTreeItemId
*arg2
= 0 ;
25805 PyObject
* obj0
= 0 ;
25806 PyObject
* obj1
= 0 ;
25807 char *kwnames
[] = {
25808 (char *) "self",(char *) "item", NULL
25811 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
25812 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25813 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25814 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25815 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25817 if (arg2
== NULL
) {
25818 PyErr_SetString(PyExc_TypeError
,"null reference");
25822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25823 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemBackgroundColour((wxTreeItemId
const &)*arg2
);
25825 wxPyEndAllowThreads(__tstate
);
25826 if (PyErr_Occurred()) SWIG_fail
;
25829 wxColour
* resultptr
;
25830 resultptr
= new wxColour((wxColour
&) result
);
25831 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
25839 static PyObject
*_wrap_TreeCtrl_GetItemFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25840 PyObject
*resultobj
;
25841 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25842 wxTreeItemId
*arg2
= 0 ;
25844 PyObject
* obj0
= 0 ;
25845 PyObject
* obj1
= 0 ;
25846 char *kwnames
[] = {
25847 (char *) "self",(char *) "item", NULL
25850 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemFont",kwnames
,&obj0
,&obj1
)) goto fail
;
25851 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25852 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25853 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25854 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25856 if (arg2
== NULL
) {
25857 PyErr_SetString(PyExc_TypeError
,"null reference");
25861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25862 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemFont((wxTreeItemId
const &)*arg2
);
25864 wxPyEndAllowThreads(__tstate
);
25865 if (PyErr_Occurred()) SWIG_fail
;
25868 wxFont
* resultptr
;
25869 resultptr
= new wxFont((wxFont
&) result
);
25870 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
25878 static PyObject
*_wrap_TreeCtrl_SetItemText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25879 PyObject
*resultobj
;
25880 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25881 wxTreeItemId
*arg2
= 0 ;
25882 wxString
*arg3
= 0 ;
25883 bool temp3
= False
;
25884 PyObject
* obj0
= 0 ;
25885 PyObject
* obj1
= 0 ;
25886 PyObject
* obj2
= 0 ;
25887 char *kwnames
[] = {
25888 (char *) "self",(char *) "item",(char *) "text", NULL
25891 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25892 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25893 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25894 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25895 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25897 if (arg2
== NULL
) {
25898 PyErr_SetString(PyExc_TypeError
,"null reference");
25902 arg3
= wxString_in_helper(obj2
);
25903 if (arg3
== NULL
) SWIG_fail
;
25907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25908 (arg1
)->SetItemText((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
);
25910 wxPyEndAllowThreads(__tstate
);
25911 if (PyErr_Occurred()) SWIG_fail
;
25913 Py_INCREF(Py_None
); resultobj
= Py_None
;
25928 static PyObject
*_wrap_TreeCtrl_SetItemImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25929 PyObject
*resultobj
;
25930 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25931 wxTreeItemId
*arg2
= 0 ;
25933 int arg4
= (int) wxTreeItemIcon_Normal
;
25934 PyObject
* obj0
= 0 ;
25935 PyObject
* obj1
= 0 ;
25936 PyObject
* obj2
= 0 ;
25937 PyObject
* obj3
= 0 ;
25938 char *kwnames
[] = {
25939 (char *) "self",(char *) "item",(char *) "image",(char *) "which", NULL
25942 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:TreeCtrl_SetItemImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
25943 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25944 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25945 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25946 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25948 if (arg2
== NULL
) {
25949 PyErr_SetString(PyExc_TypeError
,"null reference");
25952 arg3
= (int) SWIG_AsInt(obj2
);
25953 if (PyErr_Occurred()) SWIG_fail
;
25955 arg4
= (wxTreeItemIcon
) SWIG_AsInt(obj3
);
25956 if (PyErr_Occurred()) SWIG_fail
;
25959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25960 (arg1
)->SetItemImage((wxTreeItemId
const &)*arg2
,arg3
,(wxTreeItemIcon
)arg4
);
25962 wxPyEndAllowThreads(__tstate
);
25963 if (PyErr_Occurred()) SWIG_fail
;
25965 Py_INCREF(Py_None
); resultobj
= Py_None
;
25972 static PyObject
*_wrap_TreeCtrl_SetItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25973 PyObject
*resultobj
;
25974 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25975 wxTreeItemId
*arg2
= 0 ;
25976 wxPyTreeItemData
*arg3
= (wxPyTreeItemData
*) 0 ;
25977 PyObject
* obj0
= 0 ;
25978 PyObject
* obj1
= 0 ;
25979 PyObject
* obj2
= 0 ;
25980 char *kwnames
[] = {
25981 (char *) "self",(char *) "item",(char *) "data", NULL
25984 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25985 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25986 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25987 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25988 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25990 if (arg2
== NULL
) {
25991 PyErr_SetString(PyExc_TypeError
,"null reference");
25994 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPyTreeItemData
,
25995 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25998 wxPyTreeCtrl_SetItemData(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
26000 wxPyEndAllowThreads(__tstate
);
26001 if (PyErr_Occurred()) SWIG_fail
;
26003 Py_INCREF(Py_None
); resultobj
= Py_None
;
26010 static PyObject
*_wrap_TreeCtrl_SetItemPyData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26011 PyObject
*resultobj
;
26012 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26013 wxTreeItemId
*arg2
= 0 ;
26014 PyObject
*arg3
= (PyObject
*) 0 ;
26015 PyObject
* obj0
= 0 ;
26016 PyObject
* obj1
= 0 ;
26017 PyObject
* obj2
= 0 ;
26018 char *kwnames
[] = {
26019 (char *) "self",(char *) "item",(char *) "obj", NULL
26022 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemPyData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26023 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26024 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26025 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26026 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26028 if (arg2
== NULL
) {
26029 PyErr_SetString(PyExc_TypeError
,"null reference");
26034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26035 wxPyTreeCtrl_SetItemPyData(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
26037 wxPyEndAllowThreads(__tstate
);
26038 if (PyErr_Occurred()) SWIG_fail
;
26040 Py_INCREF(Py_None
); resultobj
= Py_None
;
26047 static PyObject
*_wrap_TreeCtrl_SetItemHasChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26048 PyObject
*resultobj
;
26049 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26050 wxTreeItemId
*arg2
= 0 ;
26051 bool arg3
= (bool) True
;
26052 PyObject
* obj0
= 0 ;
26053 PyObject
* obj1
= 0 ;
26054 PyObject
* obj2
= 0 ;
26055 char *kwnames
[] = {
26056 (char *) "self",(char *) "item",(char *) "has", NULL
26059 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SetItemHasChildren",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26060 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26061 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26062 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26063 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26065 if (arg2
== NULL
) {
26066 PyErr_SetString(PyExc_TypeError
,"null reference");
26070 arg3
= (bool) SWIG_AsBool(obj2
);
26071 if (PyErr_Occurred()) SWIG_fail
;
26074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26075 (arg1
)->SetItemHasChildren((wxTreeItemId
const &)*arg2
,arg3
);
26077 wxPyEndAllowThreads(__tstate
);
26078 if (PyErr_Occurred()) SWIG_fail
;
26080 Py_INCREF(Py_None
); resultobj
= Py_None
;
26087 static PyObject
*_wrap_TreeCtrl_SetItemBold(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26088 PyObject
*resultobj
;
26089 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26090 wxTreeItemId
*arg2
= 0 ;
26091 bool arg3
= (bool) True
;
26092 PyObject
* obj0
= 0 ;
26093 PyObject
* obj1
= 0 ;
26094 PyObject
* obj2
= 0 ;
26095 char *kwnames
[] = {
26096 (char *) "self",(char *) "item",(char *) "bold", NULL
26099 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SetItemBold",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26100 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26101 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26102 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26103 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26105 if (arg2
== NULL
) {
26106 PyErr_SetString(PyExc_TypeError
,"null reference");
26110 arg3
= (bool) SWIG_AsBool(obj2
);
26111 if (PyErr_Occurred()) SWIG_fail
;
26114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26115 (arg1
)->SetItemBold((wxTreeItemId
const &)*arg2
,arg3
);
26117 wxPyEndAllowThreads(__tstate
);
26118 if (PyErr_Occurred()) SWIG_fail
;
26120 Py_INCREF(Py_None
); resultobj
= Py_None
;
26127 static PyObject
*_wrap_TreeCtrl_SetItemDropHighlight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26128 PyObject
*resultobj
;
26129 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26130 wxTreeItemId
*arg2
= 0 ;
26131 bool arg3
= (bool) True
;
26132 PyObject
* obj0
= 0 ;
26133 PyObject
* obj1
= 0 ;
26134 PyObject
* obj2
= 0 ;
26135 char *kwnames
[] = {
26136 (char *) "self",(char *) "item",(char *) "highlight", NULL
26139 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SetItemDropHighlight",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26140 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26141 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26142 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26143 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26145 if (arg2
== NULL
) {
26146 PyErr_SetString(PyExc_TypeError
,"null reference");
26150 arg3
= (bool) SWIG_AsBool(obj2
);
26151 if (PyErr_Occurred()) SWIG_fail
;
26154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26155 (arg1
)->SetItemDropHighlight((wxTreeItemId
const &)*arg2
,arg3
);
26157 wxPyEndAllowThreads(__tstate
);
26158 if (PyErr_Occurred()) SWIG_fail
;
26160 Py_INCREF(Py_None
); resultobj
= Py_None
;
26167 static PyObject
*_wrap_TreeCtrl_SetItemTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26168 PyObject
*resultobj
;
26169 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26170 wxTreeItemId
*arg2
= 0 ;
26171 wxColour
*arg3
= 0 ;
26173 PyObject
* obj0
= 0 ;
26174 PyObject
* obj1
= 0 ;
26175 PyObject
* obj2
= 0 ;
26176 char *kwnames
[] = {
26177 (char *) "self",(char *) "item",(char *) "col", NULL
26180 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemTextColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26181 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26182 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26183 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26184 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26186 if (arg2
== NULL
) {
26187 PyErr_SetString(PyExc_TypeError
,"null reference");
26192 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
26195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26196 (arg1
)->SetItemTextColour((wxTreeItemId
const &)*arg2
,(wxColour
const &)*arg3
);
26198 wxPyEndAllowThreads(__tstate
);
26199 if (PyErr_Occurred()) SWIG_fail
;
26201 Py_INCREF(Py_None
); resultobj
= Py_None
;
26208 static PyObject
*_wrap_TreeCtrl_SetItemBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26209 PyObject
*resultobj
;
26210 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26211 wxTreeItemId
*arg2
= 0 ;
26212 wxColour
*arg3
= 0 ;
26214 PyObject
* obj0
= 0 ;
26215 PyObject
* obj1
= 0 ;
26216 PyObject
* obj2
= 0 ;
26217 char *kwnames
[] = {
26218 (char *) "self",(char *) "item",(char *) "col", NULL
26221 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26222 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26223 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26224 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26225 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26227 if (arg2
== NULL
) {
26228 PyErr_SetString(PyExc_TypeError
,"null reference");
26233 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
26236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26237 (arg1
)->SetItemBackgroundColour((wxTreeItemId
const &)*arg2
,(wxColour
const &)*arg3
);
26239 wxPyEndAllowThreads(__tstate
);
26240 if (PyErr_Occurred()) SWIG_fail
;
26242 Py_INCREF(Py_None
); resultobj
= Py_None
;
26249 static PyObject
*_wrap_TreeCtrl_SetItemFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26250 PyObject
*resultobj
;
26251 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26252 wxTreeItemId
*arg2
= 0 ;
26254 PyObject
* obj0
= 0 ;
26255 PyObject
* obj1
= 0 ;
26256 PyObject
* obj2
= 0 ;
26257 char *kwnames
[] = {
26258 (char *) "self",(char *) "item",(char *) "font", NULL
26261 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemFont",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26262 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26263 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26264 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26265 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26267 if (arg2
== NULL
) {
26268 PyErr_SetString(PyExc_TypeError
,"null reference");
26271 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxFont
,
26272 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26274 if (arg3
== NULL
) {
26275 PyErr_SetString(PyExc_TypeError
,"null reference");
26279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26280 (arg1
)->SetItemFont((wxTreeItemId
const &)*arg2
,(wxFont
const &)*arg3
);
26282 wxPyEndAllowThreads(__tstate
);
26283 if (PyErr_Occurred()) SWIG_fail
;
26285 Py_INCREF(Py_None
); resultobj
= Py_None
;
26292 static PyObject
*_wrap_TreeCtrl_IsVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26293 PyObject
*resultobj
;
26294 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26295 wxTreeItemId
*arg2
= 0 ;
26297 PyObject
* obj0
= 0 ;
26298 PyObject
* obj1
= 0 ;
26299 char *kwnames
[] = {
26300 (char *) "self",(char *) "item", NULL
26303 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
26304 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26305 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26306 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26307 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26309 if (arg2
== NULL
) {
26310 PyErr_SetString(PyExc_TypeError
,"null reference");
26314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26315 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsVisible((wxTreeItemId
const &)*arg2
);
26317 wxPyEndAllowThreads(__tstate
);
26318 if (PyErr_Occurred()) SWIG_fail
;
26321 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26329 static PyObject
*_wrap_TreeCtrl_ItemHasChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26330 PyObject
*resultobj
;
26331 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26332 wxTreeItemId
*arg2
= 0 ;
26334 PyObject
* obj0
= 0 ;
26335 PyObject
* obj1
= 0 ;
26336 char *kwnames
[] = {
26337 (char *) "self",(char *) "item", NULL
26340 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ItemHasChildren",kwnames
,&obj0
,&obj1
)) goto fail
;
26341 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26342 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26343 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26344 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26346 if (arg2
== NULL
) {
26347 PyErr_SetString(PyExc_TypeError
,"null reference");
26351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26352 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->ItemHasChildren((wxTreeItemId
const &)*arg2
);
26354 wxPyEndAllowThreads(__tstate
);
26355 if (PyErr_Occurred()) SWIG_fail
;
26358 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26366 static PyObject
*_wrap_TreeCtrl_IsExpanded(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26367 PyObject
*resultobj
;
26368 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26369 wxTreeItemId
*arg2
= 0 ;
26371 PyObject
* obj0
= 0 ;
26372 PyObject
* obj1
= 0 ;
26373 char *kwnames
[] = {
26374 (char *) "self",(char *) "item", NULL
26377 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsExpanded",kwnames
,&obj0
,&obj1
)) goto fail
;
26378 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26379 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26380 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26381 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26383 if (arg2
== NULL
) {
26384 PyErr_SetString(PyExc_TypeError
,"null reference");
26388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26389 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsExpanded((wxTreeItemId
const &)*arg2
);
26391 wxPyEndAllowThreads(__tstate
);
26392 if (PyErr_Occurred()) SWIG_fail
;
26395 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26403 static PyObject
*_wrap_TreeCtrl_IsSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26404 PyObject
*resultobj
;
26405 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26406 wxTreeItemId
*arg2
= 0 ;
26408 PyObject
* obj0
= 0 ;
26409 PyObject
* obj1
= 0 ;
26410 char *kwnames
[] = {
26411 (char *) "self",(char *) "item", NULL
26414 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
26415 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26416 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26417 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26418 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26420 if (arg2
== NULL
) {
26421 PyErr_SetString(PyExc_TypeError
,"null reference");
26425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26426 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsSelected((wxTreeItemId
const &)*arg2
);
26428 wxPyEndAllowThreads(__tstate
);
26429 if (PyErr_Occurred()) SWIG_fail
;
26432 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26440 static PyObject
*_wrap_TreeCtrl_IsBold(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26441 PyObject
*resultobj
;
26442 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26443 wxTreeItemId
*arg2
= 0 ;
26445 PyObject
* obj0
= 0 ;
26446 PyObject
* obj1
= 0 ;
26447 char *kwnames
[] = {
26448 (char *) "self",(char *) "item", NULL
26451 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsBold",kwnames
,&obj0
,&obj1
)) goto fail
;
26452 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26453 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26454 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26455 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26457 if (arg2
== NULL
) {
26458 PyErr_SetString(PyExc_TypeError
,"null reference");
26462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26463 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsBold((wxTreeItemId
const &)*arg2
);
26465 wxPyEndAllowThreads(__tstate
);
26466 if (PyErr_Occurred()) SWIG_fail
;
26469 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26477 static PyObject
*_wrap_TreeCtrl_GetChildrenCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26478 PyObject
*resultobj
;
26479 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26480 wxTreeItemId
*arg2
= 0 ;
26481 bool arg3
= (bool) True
;
26483 PyObject
* obj0
= 0 ;
26484 PyObject
* obj1
= 0 ;
26485 PyObject
* obj2
= 0 ;
26486 char *kwnames
[] = {
26487 (char *) "self",(char *) "item",(char *) "recursively", NULL
26490 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_GetChildrenCount",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26491 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26492 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26493 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26494 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26496 if (arg2
== NULL
) {
26497 PyErr_SetString(PyExc_TypeError
,"null reference");
26501 arg3
= (bool) SWIG_AsBool(obj2
);
26502 if (PyErr_Occurred()) SWIG_fail
;
26505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26506 result
= (size_t)(arg1
)->GetChildrenCount((wxTreeItemId
const &)*arg2
,arg3
);
26508 wxPyEndAllowThreads(__tstate
);
26509 if (PyErr_Occurred()) SWIG_fail
;
26511 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
26518 static PyObject
*_wrap_TreeCtrl_GetRootItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26519 PyObject
*resultobj
;
26520 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26521 wxTreeItemId result
;
26522 PyObject
* obj0
= 0 ;
26523 char *kwnames
[] = {
26524 (char *) "self", NULL
26527 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetRootItem",kwnames
,&obj0
)) goto fail
;
26528 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26529 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26532 result
= ((wxPyTreeCtrl
const *)arg1
)->GetRootItem();
26534 wxPyEndAllowThreads(__tstate
);
26535 if (PyErr_Occurred()) SWIG_fail
;
26538 wxTreeItemId
* resultptr
;
26539 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
26540 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
26548 static PyObject
*_wrap_TreeCtrl_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26549 PyObject
*resultobj
;
26550 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26551 wxTreeItemId result
;
26552 PyObject
* obj0
= 0 ;
26553 char *kwnames
[] = {
26554 (char *) "self", NULL
26557 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetSelection",kwnames
,&obj0
)) goto fail
;
26558 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26559 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26562 result
= ((wxPyTreeCtrl
const *)arg1
)->GetSelection();
26564 wxPyEndAllowThreads(__tstate
);
26565 if (PyErr_Occurred()) SWIG_fail
;
26568 wxTreeItemId
* resultptr
;
26569 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
26570 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
26578 static PyObject
*_wrap_TreeCtrl_GetSelections(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26579 PyObject
*resultobj
;
26580 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26582 PyObject
* obj0
= 0 ;
26583 char *kwnames
[] = {
26584 (char *) "self", NULL
26587 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetSelections",kwnames
,&obj0
)) goto fail
;
26588 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26589 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26592 result
= (PyObject
*)wxPyTreeCtrl_GetSelections(arg1
);
26594 wxPyEndAllowThreads(__tstate
);
26595 if (PyErr_Occurred()) SWIG_fail
;
26597 resultobj
= result
;
26604 static PyObject
*_wrap_TreeCtrl_GetItemParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26605 PyObject
*resultobj
;
26606 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26607 wxTreeItemId
*arg2
= 0 ;
26608 wxTreeItemId result
;
26609 PyObject
* obj0
= 0 ;
26610 PyObject
* obj1
= 0 ;
26611 char *kwnames
[] = {
26612 (char *) "self",(char *) "item", NULL
26615 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemParent",kwnames
,&obj0
,&obj1
)) goto fail
;
26616 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26617 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26618 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26619 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26621 if (arg2
== NULL
) {
26622 PyErr_SetString(PyExc_TypeError
,"null reference");
26626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26627 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemParent((wxTreeItemId
const &)*arg2
);
26629 wxPyEndAllowThreads(__tstate
);
26630 if (PyErr_Occurred()) SWIG_fail
;
26633 wxTreeItemId
* resultptr
;
26634 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
26635 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
26643 static PyObject
*_wrap_TreeCtrl_GetFirstChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26644 PyObject
*resultobj
;
26645 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26646 wxTreeItemId
*arg2
= 0 ;
26648 PyObject
* obj0
= 0 ;
26649 PyObject
* obj1
= 0 ;
26650 char *kwnames
[] = {
26651 (char *) "self",(char *) "item", NULL
26654 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetFirstChild",kwnames
,&obj0
,&obj1
)) goto fail
;
26655 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26656 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26657 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26658 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26660 if (arg2
== NULL
) {
26661 PyErr_SetString(PyExc_TypeError
,"null reference");
26665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26666 result
= (PyObject
*)wxPyTreeCtrl_GetFirstChild(arg1
,(wxTreeItemId
const &)*arg2
);
26668 wxPyEndAllowThreads(__tstate
);
26669 if (PyErr_Occurred()) SWIG_fail
;
26671 resultobj
= result
;
26678 static PyObject
*_wrap_TreeCtrl_GetNextChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26679 PyObject
*resultobj
;
26680 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26681 wxTreeItemId
*arg2
= 0 ;
26682 void *arg3
= (void *) 0 ;
26684 PyObject
* obj0
= 0 ;
26685 PyObject
* obj1
= 0 ;
26686 PyObject
* obj2
= 0 ;
26687 char *kwnames
[] = {
26688 (char *) "self",(char *) "item",(char *) "cookie", NULL
26691 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_GetNextChild",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26692 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26693 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26694 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26695 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26697 if (arg2
== NULL
) {
26698 PyErr_SetString(PyExc_TypeError
,"null reference");
26701 if ((SWIG_ConvertPtr(obj2
,&arg3
,0,SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26704 result
= (PyObject
*)wxPyTreeCtrl_GetNextChild(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
26706 wxPyEndAllowThreads(__tstate
);
26707 if (PyErr_Occurred()) SWIG_fail
;
26709 resultobj
= result
;
26716 static PyObject
*_wrap_TreeCtrl_GetLastChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26717 PyObject
*resultobj
;
26718 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26719 wxTreeItemId
*arg2
= 0 ;
26720 wxTreeItemId result
;
26721 PyObject
* obj0
= 0 ;
26722 PyObject
* obj1
= 0 ;
26723 char *kwnames
[] = {
26724 (char *) "self",(char *) "item", NULL
26727 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetLastChild",kwnames
,&obj0
,&obj1
)) goto fail
;
26728 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26729 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26730 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26731 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26733 if (arg2
== NULL
) {
26734 PyErr_SetString(PyExc_TypeError
,"null reference");
26738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26739 result
= ((wxPyTreeCtrl
const *)arg1
)->GetLastChild((wxTreeItemId
const &)*arg2
);
26741 wxPyEndAllowThreads(__tstate
);
26742 if (PyErr_Occurred()) SWIG_fail
;
26745 wxTreeItemId
* resultptr
;
26746 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
26747 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
26755 static PyObject
*_wrap_TreeCtrl_GetNextSibling(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26756 PyObject
*resultobj
;
26757 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26758 wxTreeItemId
*arg2
= 0 ;
26759 wxTreeItemId result
;
26760 PyObject
* obj0
= 0 ;
26761 PyObject
* obj1
= 0 ;
26762 char *kwnames
[] = {
26763 (char *) "self",(char *) "item", NULL
26766 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetNextSibling",kwnames
,&obj0
,&obj1
)) goto fail
;
26767 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26768 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26769 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26770 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26772 if (arg2
== NULL
) {
26773 PyErr_SetString(PyExc_TypeError
,"null reference");
26777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26778 result
= ((wxPyTreeCtrl
const *)arg1
)->GetNextSibling((wxTreeItemId
const &)*arg2
);
26780 wxPyEndAllowThreads(__tstate
);
26781 if (PyErr_Occurred()) SWIG_fail
;
26784 wxTreeItemId
* resultptr
;
26785 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
26786 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
26794 static PyObject
*_wrap_TreeCtrl_GetPrevSibling(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26795 PyObject
*resultobj
;
26796 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26797 wxTreeItemId
*arg2
= 0 ;
26798 wxTreeItemId result
;
26799 PyObject
* obj0
= 0 ;
26800 PyObject
* obj1
= 0 ;
26801 char *kwnames
[] = {
26802 (char *) "self",(char *) "item", NULL
26805 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetPrevSibling",kwnames
,&obj0
,&obj1
)) goto fail
;
26806 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26807 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26808 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26809 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26811 if (arg2
== NULL
) {
26812 PyErr_SetString(PyExc_TypeError
,"null reference");
26816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26817 result
= ((wxPyTreeCtrl
const *)arg1
)->GetPrevSibling((wxTreeItemId
const &)*arg2
);
26819 wxPyEndAllowThreads(__tstate
);
26820 if (PyErr_Occurred()) SWIG_fail
;
26823 wxTreeItemId
* resultptr
;
26824 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
26825 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
26833 static PyObject
*_wrap_TreeCtrl_GetFirstVisibleItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26834 PyObject
*resultobj
;
26835 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26836 wxTreeItemId result
;
26837 PyObject
* obj0
= 0 ;
26838 char *kwnames
[] = {
26839 (char *) "self", NULL
26842 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetFirstVisibleItem",kwnames
,&obj0
)) goto fail
;
26843 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26844 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26847 result
= ((wxPyTreeCtrl
const *)arg1
)->GetFirstVisibleItem();
26849 wxPyEndAllowThreads(__tstate
);
26850 if (PyErr_Occurred()) SWIG_fail
;
26853 wxTreeItemId
* resultptr
;
26854 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
26855 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
26863 static PyObject
*_wrap_TreeCtrl_GetNextVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26864 PyObject
*resultobj
;
26865 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26866 wxTreeItemId
*arg2
= 0 ;
26867 wxTreeItemId result
;
26868 PyObject
* obj0
= 0 ;
26869 PyObject
* obj1
= 0 ;
26870 char *kwnames
[] = {
26871 (char *) "self",(char *) "item", NULL
26874 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetNextVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
26875 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26876 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26877 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26878 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26880 if (arg2
== NULL
) {
26881 PyErr_SetString(PyExc_TypeError
,"null reference");
26885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26886 result
= ((wxPyTreeCtrl
const *)arg1
)->GetNextVisible((wxTreeItemId
const &)*arg2
);
26888 wxPyEndAllowThreads(__tstate
);
26889 if (PyErr_Occurred()) SWIG_fail
;
26892 wxTreeItemId
* resultptr
;
26893 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
26894 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
26902 static PyObject
*_wrap_TreeCtrl_GetPrevVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26903 PyObject
*resultobj
;
26904 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26905 wxTreeItemId
*arg2
= 0 ;
26906 wxTreeItemId result
;
26907 PyObject
* obj0
= 0 ;
26908 PyObject
* obj1
= 0 ;
26909 char *kwnames
[] = {
26910 (char *) "self",(char *) "item", NULL
26913 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetPrevVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
26914 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26915 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26916 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26917 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26919 if (arg2
== NULL
) {
26920 PyErr_SetString(PyExc_TypeError
,"null reference");
26924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26925 result
= ((wxPyTreeCtrl
const *)arg1
)->GetPrevVisible((wxTreeItemId
const &)*arg2
);
26927 wxPyEndAllowThreads(__tstate
);
26928 if (PyErr_Occurred()) SWIG_fail
;
26931 wxTreeItemId
* resultptr
;
26932 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
26933 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
26941 static PyObject
*_wrap_TreeCtrl_AddRoot(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26942 PyObject
*resultobj
;
26943 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26944 wxString
*arg2
= 0 ;
26945 int arg3
= (int) -1 ;
26946 int arg4
= (int) -1 ;
26947 wxPyTreeItemData
*arg5
= (wxPyTreeItemData
*) NULL
;
26948 wxTreeItemId result
;
26949 bool temp2
= False
;
26950 PyObject
* obj0
= 0 ;
26951 PyObject
* obj1
= 0 ;
26952 PyObject
* obj2
= 0 ;
26953 PyObject
* obj3
= 0 ;
26954 PyObject
* obj4
= 0 ;
26955 char *kwnames
[] = {
26956 (char *) "self",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
26959 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:TreeCtrl_AddRoot",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
26960 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26961 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26963 arg2
= wxString_in_helper(obj1
);
26964 if (arg2
== NULL
) SWIG_fail
;
26968 arg3
= (int) SWIG_AsInt(obj2
);
26969 if (PyErr_Occurred()) SWIG_fail
;
26972 arg4
= (int) SWIG_AsInt(obj3
);
26973 if (PyErr_Occurred()) SWIG_fail
;
26976 if ((SWIG_ConvertPtr(obj4
,(void **)(&arg5
),SWIGTYPE_p_wxPyTreeItemData
,
26977 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26981 result
= (arg1
)->AddRoot((wxString
const &)*arg2
,arg3
,arg4
,arg5
);
26983 wxPyEndAllowThreads(__tstate
);
26984 if (PyErr_Occurred()) SWIG_fail
;
26987 wxTreeItemId
* resultptr
;
26988 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
26989 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
27005 static PyObject
*_wrap_TreeCtrl_PrependItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27006 PyObject
*resultobj
;
27007 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27008 wxTreeItemId
*arg2
= 0 ;
27009 wxString
*arg3
= 0 ;
27010 int arg4
= (int) -1 ;
27011 int arg5
= (int) -1 ;
27012 wxPyTreeItemData
*arg6
= (wxPyTreeItemData
*) NULL
;
27013 wxTreeItemId result
;
27014 bool temp3
= False
;
27015 PyObject
* obj0
= 0 ;
27016 PyObject
* obj1
= 0 ;
27017 PyObject
* obj2
= 0 ;
27018 PyObject
* obj3
= 0 ;
27019 PyObject
* obj4
= 0 ;
27020 PyObject
* obj5
= 0 ;
27021 char *kwnames
[] = {
27022 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
27025 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:TreeCtrl_PrependItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
27026 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27027 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27028 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27029 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27031 if (arg2
== NULL
) {
27032 PyErr_SetString(PyExc_TypeError
,"null reference");
27036 arg3
= wxString_in_helper(obj2
);
27037 if (arg3
== NULL
) SWIG_fail
;
27041 arg4
= (int) SWIG_AsInt(obj3
);
27042 if (PyErr_Occurred()) SWIG_fail
;
27045 arg5
= (int) SWIG_AsInt(obj4
);
27046 if (PyErr_Occurred()) SWIG_fail
;
27049 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxPyTreeItemData
,
27050 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27054 result
= (arg1
)->PrependItem((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
);
27056 wxPyEndAllowThreads(__tstate
);
27057 if (PyErr_Occurred()) SWIG_fail
;
27060 wxTreeItemId
* resultptr
;
27061 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
27062 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
27078 static PyObject
*_wrap_TreeCtrl_InsertItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27079 PyObject
*resultobj
;
27080 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27081 wxTreeItemId
*arg2
= 0 ;
27082 wxTreeItemId
*arg3
= 0 ;
27083 wxString
*arg4
= 0 ;
27084 int arg5
= (int) -1 ;
27085 int arg6
= (int) -1 ;
27086 wxPyTreeItemData
*arg7
= (wxPyTreeItemData
*) NULL
;
27087 wxTreeItemId result
;
27088 bool temp4
= False
;
27089 PyObject
* obj0
= 0 ;
27090 PyObject
* obj1
= 0 ;
27091 PyObject
* obj2
= 0 ;
27092 PyObject
* obj3
= 0 ;
27093 PyObject
* obj4
= 0 ;
27094 PyObject
* obj5
= 0 ;
27095 PyObject
* obj6
= 0 ;
27096 char *kwnames
[] = {
27097 (char *) "self",(char *) "parent",(char *) "idPrevious",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
27100 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:TreeCtrl_InsertItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
27101 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27102 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27103 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27104 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27106 if (arg2
== NULL
) {
27107 PyErr_SetString(PyExc_TypeError
,"null reference");
27110 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxTreeItemId
,
27111 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27113 if (arg3
== NULL
) {
27114 PyErr_SetString(PyExc_TypeError
,"null reference");
27118 arg4
= wxString_in_helper(obj3
);
27119 if (arg4
== NULL
) SWIG_fail
;
27123 arg5
= (int) SWIG_AsInt(obj4
);
27124 if (PyErr_Occurred()) SWIG_fail
;
27127 arg6
= (int) SWIG_AsInt(obj5
);
27128 if (PyErr_Occurred()) SWIG_fail
;
27131 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxPyTreeItemData
,
27132 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27136 result
= (arg1
)->InsertItem((wxTreeItemId
const &)*arg2
,(wxTreeItemId
const &)*arg3
,(wxString
const &)*arg4
,arg5
,arg6
,arg7
);
27138 wxPyEndAllowThreads(__tstate
);
27139 if (PyErr_Occurred()) SWIG_fail
;
27142 wxTreeItemId
* resultptr
;
27143 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
27144 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
27160 static PyObject
*_wrap_TreeCtrl_InsertItemBefore(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27161 PyObject
*resultobj
;
27162 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27163 wxTreeItemId
*arg2
= 0 ;
27165 wxString
*arg4
= 0 ;
27166 int arg5
= (int) -1 ;
27167 int arg6
= (int) -1 ;
27168 wxPyTreeItemData
*arg7
= (wxPyTreeItemData
*) NULL
;
27169 wxTreeItemId result
;
27170 bool temp4
= False
;
27171 PyObject
* obj0
= 0 ;
27172 PyObject
* obj1
= 0 ;
27173 PyObject
* obj2
= 0 ;
27174 PyObject
* obj3
= 0 ;
27175 PyObject
* obj4
= 0 ;
27176 PyObject
* obj5
= 0 ;
27177 PyObject
* obj6
= 0 ;
27178 char *kwnames
[] = {
27179 (char *) "self",(char *) "parent",(char *) "index",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
27182 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:TreeCtrl_InsertItemBefore",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
27183 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27184 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27185 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27186 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27188 if (arg2
== NULL
) {
27189 PyErr_SetString(PyExc_TypeError
,"null reference");
27192 arg3
= (size_t) SWIG_AsUnsignedLong(obj2
);
27193 if (PyErr_Occurred()) SWIG_fail
;
27195 arg4
= wxString_in_helper(obj3
);
27196 if (arg4
== NULL
) SWIG_fail
;
27200 arg5
= (int) SWIG_AsInt(obj4
);
27201 if (PyErr_Occurred()) SWIG_fail
;
27204 arg6
= (int) SWIG_AsInt(obj5
);
27205 if (PyErr_Occurred()) SWIG_fail
;
27208 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxPyTreeItemData
,
27209 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27213 result
= (arg1
)->InsertItem((wxTreeItemId
const &)*arg2
,arg3
,(wxString
const &)*arg4
,arg5
,arg6
,arg7
);
27215 wxPyEndAllowThreads(__tstate
);
27216 if (PyErr_Occurred()) SWIG_fail
;
27219 wxTreeItemId
* resultptr
;
27220 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
27221 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
27237 static PyObject
*_wrap_TreeCtrl_AppendItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27238 PyObject
*resultobj
;
27239 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27240 wxTreeItemId
*arg2
= 0 ;
27241 wxString
*arg3
= 0 ;
27242 int arg4
= (int) -1 ;
27243 int arg5
= (int) -1 ;
27244 wxPyTreeItemData
*arg6
= (wxPyTreeItemData
*) NULL
;
27245 wxTreeItemId result
;
27246 bool temp3
= False
;
27247 PyObject
* obj0
= 0 ;
27248 PyObject
* obj1
= 0 ;
27249 PyObject
* obj2
= 0 ;
27250 PyObject
* obj3
= 0 ;
27251 PyObject
* obj4
= 0 ;
27252 PyObject
* obj5
= 0 ;
27253 char *kwnames
[] = {
27254 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
27257 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:TreeCtrl_AppendItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
27258 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27259 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27260 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27261 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27263 if (arg2
== NULL
) {
27264 PyErr_SetString(PyExc_TypeError
,"null reference");
27268 arg3
= wxString_in_helper(obj2
);
27269 if (arg3
== NULL
) SWIG_fail
;
27273 arg4
= (int) SWIG_AsInt(obj3
);
27274 if (PyErr_Occurred()) SWIG_fail
;
27277 arg5
= (int) SWIG_AsInt(obj4
);
27278 if (PyErr_Occurred()) SWIG_fail
;
27281 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxPyTreeItemData
,
27282 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27286 result
= (arg1
)->AppendItem((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
);
27288 wxPyEndAllowThreads(__tstate
);
27289 if (PyErr_Occurred()) SWIG_fail
;
27292 wxTreeItemId
* resultptr
;
27293 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
27294 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
27310 static PyObject
*_wrap_TreeCtrl_Delete(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27311 PyObject
*resultobj
;
27312 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27313 wxTreeItemId
*arg2
= 0 ;
27314 PyObject
* obj0
= 0 ;
27315 PyObject
* obj1
= 0 ;
27316 char *kwnames
[] = {
27317 (char *) "self",(char *) "item", NULL
27320 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Delete",kwnames
,&obj0
,&obj1
)) goto fail
;
27321 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27322 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27323 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27324 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27326 if (arg2
== NULL
) {
27327 PyErr_SetString(PyExc_TypeError
,"null reference");
27331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27332 (arg1
)->Delete((wxTreeItemId
const &)*arg2
);
27334 wxPyEndAllowThreads(__tstate
);
27335 if (PyErr_Occurred()) SWIG_fail
;
27337 Py_INCREF(Py_None
); resultobj
= Py_None
;
27344 static PyObject
*_wrap_TreeCtrl_DeleteChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27345 PyObject
*resultobj
;
27346 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27347 wxTreeItemId
*arg2
= 0 ;
27348 PyObject
* obj0
= 0 ;
27349 PyObject
* obj1
= 0 ;
27350 char *kwnames
[] = {
27351 (char *) "self",(char *) "item", NULL
27354 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_DeleteChildren",kwnames
,&obj0
,&obj1
)) goto fail
;
27355 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27356 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27357 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27358 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27360 if (arg2
== NULL
) {
27361 PyErr_SetString(PyExc_TypeError
,"null reference");
27365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27366 (arg1
)->DeleteChildren((wxTreeItemId
const &)*arg2
);
27368 wxPyEndAllowThreads(__tstate
);
27369 if (PyErr_Occurred()) SWIG_fail
;
27371 Py_INCREF(Py_None
); resultobj
= Py_None
;
27378 static PyObject
*_wrap_TreeCtrl_DeleteAllItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27379 PyObject
*resultobj
;
27380 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27381 PyObject
* obj0
= 0 ;
27382 char *kwnames
[] = {
27383 (char *) "self", NULL
27386 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_DeleteAllItems",kwnames
,&obj0
)) goto fail
;
27387 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27388 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27391 (arg1
)->DeleteAllItems();
27393 wxPyEndAllowThreads(__tstate
);
27394 if (PyErr_Occurred()) SWIG_fail
;
27396 Py_INCREF(Py_None
); resultobj
= Py_None
;
27403 static PyObject
*_wrap_TreeCtrl_Expand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27404 PyObject
*resultobj
;
27405 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27406 wxTreeItemId
*arg2
= 0 ;
27407 PyObject
* obj0
= 0 ;
27408 PyObject
* obj1
= 0 ;
27409 char *kwnames
[] = {
27410 (char *) "self",(char *) "item", NULL
27413 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Expand",kwnames
,&obj0
,&obj1
)) goto fail
;
27414 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27415 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27416 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27417 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27419 if (arg2
== NULL
) {
27420 PyErr_SetString(PyExc_TypeError
,"null reference");
27424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27425 (arg1
)->Expand((wxTreeItemId
const &)*arg2
);
27427 wxPyEndAllowThreads(__tstate
);
27428 if (PyErr_Occurred()) SWIG_fail
;
27430 Py_INCREF(Py_None
); resultobj
= Py_None
;
27437 static PyObject
*_wrap_TreeCtrl_Collapse(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27438 PyObject
*resultobj
;
27439 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27440 wxTreeItemId
*arg2
= 0 ;
27441 PyObject
* obj0
= 0 ;
27442 PyObject
* obj1
= 0 ;
27443 char *kwnames
[] = {
27444 (char *) "self",(char *) "item", NULL
27447 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Collapse",kwnames
,&obj0
,&obj1
)) goto fail
;
27448 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27449 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27450 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27451 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27453 if (arg2
== NULL
) {
27454 PyErr_SetString(PyExc_TypeError
,"null reference");
27458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27459 (arg1
)->Collapse((wxTreeItemId
const &)*arg2
);
27461 wxPyEndAllowThreads(__tstate
);
27462 if (PyErr_Occurred()) SWIG_fail
;
27464 Py_INCREF(Py_None
); resultobj
= Py_None
;
27471 static PyObject
*_wrap_TreeCtrl_CollapseAndReset(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27472 PyObject
*resultobj
;
27473 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27474 wxTreeItemId
*arg2
= 0 ;
27475 PyObject
* obj0
= 0 ;
27476 PyObject
* obj1
= 0 ;
27477 char *kwnames
[] = {
27478 (char *) "self",(char *) "item", NULL
27481 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_CollapseAndReset",kwnames
,&obj0
,&obj1
)) goto fail
;
27482 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27483 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27484 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27485 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27487 if (arg2
== NULL
) {
27488 PyErr_SetString(PyExc_TypeError
,"null reference");
27492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27493 (arg1
)->CollapseAndReset((wxTreeItemId
const &)*arg2
);
27495 wxPyEndAllowThreads(__tstate
);
27496 if (PyErr_Occurred()) SWIG_fail
;
27498 Py_INCREF(Py_None
); resultobj
= Py_None
;
27505 static PyObject
*_wrap_TreeCtrl_Toggle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27506 PyObject
*resultobj
;
27507 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27508 wxTreeItemId
*arg2
= 0 ;
27509 PyObject
* obj0
= 0 ;
27510 PyObject
* obj1
= 0 ;
27511 char *kwnames
[] = {
27512 (char *) "self",(char *) "item", NULL
27515 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Toggle",kwnames
,&obj0
,&obj1
)) goto fail
;
27516 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27517 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27518 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27519 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27521 if (arg2
== NULL
) {
27522 PyErr_SetString(PyExc_TypeError
,"null reference");
27526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27527 (arg1
)->Toggle((wxTreeItemId
const &)*arg2
);
27529 wxPyEndAllowThreads(__tstate
);
27530 if (PyErr_Occurred()) SWIG_fail
;
27532 Py_INCREF(Py_None
); resultobj
= Py_None
;
27539 static PyObject
*_wrap_TreeCtrl_Unselect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27540 PyObject
*resultobj
;
27541 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27542 PyObject
* obj0
= 0 ;
27543 char *kwnames
[] = {
27544 (char *) "self", NULL
27547 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_Unselect",kwnames
,&obj0
)) goto fail
;
27548 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27549 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27552 (arg1
)->Unselect();
27554 wxPyEndAllowThreads(__tstate
);
27555 if (PyErr_Occurred()) SWIG_fail
;
27557 Py_INCREF(Py_None
); resultobj
= Py_None
;
27564 static PyObject
*_wrap_TreeCtrl_UnselectItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27565 PyObject
*resultobj
;
27566 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27567 wxTreeItemId
*arg2
= 0 ;
27568 PyObject
* obj0
= 0 ;
27569 PyObject
* obj1
= 0 ;
27570 char *kwnames
[] = {
27571 (char *) "self",(char *) "item", NULL
27574 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_UnselectItem",kwnames
,&obj0
,&obj1
)) goto fail
;
27575 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27576 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27577 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27578 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27580 if (arg2
== NULL
) {
27581 PyErr_SetString(PyExc_TypeError
,"null reference");
27585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27586 (arg1
)->UnselectItem((wxTreeItemId
const &)*arg2
);
27588 wxPyEndAllowThreads(__tstate
);
27589 if (PyErr_Occurred()) SWIG_fail
;
27591 Py_INCREF(Py_None
); resultobj
= Py_None
;
27598 static PyObject
*_wrap_TreeCtrl_UnselectAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27599 PyObject
*resultobj
;
27600 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27601 PyObject
* obj0
= 0 ;
27602 char *kwnames
[] = {
27603 (char *) "self", NULL
27606 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_UnselectAll",kwnames
,&obj0
)) goto fail
;
27607 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27608 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27611 (arg1
)->UnselectAll();
27613 wxPyEndAllowThreads(__tstate
);
27614 if (PyErr_Occurred()) SWIG_fail
;
27616 Py_INCREF(Py_None
); resultobj
= Py_None
;
27623 static PyObject
*_wrap_TreeCtrl_SelectItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27624 PyObject
*resultobj
;
27625 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27626 wxTreeItemId
*arg2
= 0 ;
27627 bool arg3
= (bool) True
;
27628 PyObject
* obj0
= 0 ;
27629 PyObject
* obj1
= 0 ;
27630 PyObject
* obj2
= 0 ;
27631 char *kwnames
[] = {
27632 (char *) "self",(char *) "item",(char *) "select", NULL
27635 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SelectItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27636 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27637 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27638 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27639 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27641 if (arg2
== NULL
) {
27642 PyErr_SetString(PyExc_TypeError
,"null reference");
27646 arg3
= (bool) SWIG_AsBool(obj2
);
27647 if (PyErr_Occurred()) SWIG_fail
;
27650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27651 (arg1
)->SelectItem((wxTreeItemId
const &)*arg2
,arg3
);
27653 wxPyEndAllowThreads(__tstate
);
27654 if (PyErr_Occurred()) SWIG_fail
;
27656 Py_INCREF(Py_None
); resultobj
= Py_None
;
27663 static PyObject
*_wrap_TreeCtrl_ToggleItemSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27664 PyObject
*resultobj
;
27665 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27666 wxTreeItemId
*arg2
= 0 ;
27667 PyObject
* obj0
= 0 ;
27668 PyObject
* obj1
= 0 ;
27669 char *kwnames
[] = {
27670 (char *) "self",(char *) "item", NULL
27673 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ToggleItemSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
27674 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27675 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27676 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27677 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27679 if (arg2
== NULL
) {
27680 PyErr_SetString(PyExc_TypeError
,"null reference");
27684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27685 (arg1
)->ToggleItemSelection((wxTreeItemId
const &)*arg2
);
27687 wxPyEndAllowThreads(__tstate
);
27688 if (PyErr_Occurred()) SWIG_fail
;
27690 Py_INCREF(Py_None
); resultobj
= Py_None
;
27697 static PyObject
*_wrap_TreeCtrl_EnsureVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27698 PyObject
*resultobj
;
27699 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27700 wxTreeItemId
*arg2
= 0 ;
27701 PyObject
* obj0
= 0 ;
27702 PyObject
* obj1
= 0 ;
27703 char *kwnames
[] = {
27704 (char *) "self",(char *) "item", NULL
27707 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_EnsureVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
27708 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27709 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27710 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27711 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27713 if (arg2
== NULL
) {
27714 PyErr_SetString(PyExc_TypeError
,"null reference");
27718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27719 (arg1
)->EnsureVisible((wxTreeItemId
const &)*arg2
);
27721 wxPyEndAllowThreads(__tstate
);
27722 if (PyErr_Occurred()) SWIG_fail
;
27724 Py_INCREF(Py_None
); resultobj
= Py_None
;
27731 static PyObject
*_wrap_TreeCtrl_ScrollTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27732 PyObject
*resultobj
;
27733 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27734 wxTreeItemId
*arg2
= 0 ;
27735 PyObject
* obj0
= 0 ;
27736 PyObject
* obj1
= 0 ;
27737 char *kwnames
[] = {
27738 (char *) "self",(char *) "item", NULL
27741 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ScrollTo",kwnames
,&obj0
,&obj1
)) goto fail
;
27742 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27743 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27744 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27745 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27747 if (arg2
== NULL
) {
27748 PyErr_SetString(PyExc_TypeError
,"null reference");
27752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27753 (arg1
)->ScrollTo((wxTreeItemId
const &)*arg2
);
27755 wxPyEndAllowThreads(__tstate
);
27756 if (PyErr_Occurred()) SWIG_fail
;
27758 Py_INCREF(Py_None
); resultobj
= Py_None
;
27765 static PyObject
*_wrap_TreeCtrl_EditLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27766 PyObject
*resultobj
;
27767 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27768 wxTreeItemId
*arg2
= 0 ;
27769 PyObject
* obj0
= 0 ;
27770 PyObject
* obj1
= 0 ;
27771 char *kwnames
[] = {
27772 (char *) "self",(char *) "item", NULL
27775 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_EditLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
27776 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27777 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27778 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27779 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27781 if (arg2
== NULL
) {
27782 PyErr_SetString(PyExc_TypeError
,"null reference");
27786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27787 (arg1
)->EditLabel((wxTreeItemId
const &)*arg2
);
27789 wxPyEndAllowThreads(__tstate
);
27790 if (PyErr_Occurred()) SWIG_fail
;
27792 Py_INCREF(Py_None
); resultobj
= Py_None
;
27799 static PyObject
*_wrap_TreeCtrl_GetEditControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27800 PyObject
*resultobj
;
27801 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27802 wxTextCtrl
*result
;
27803 PyObject
* obj0
= 0 ;
27804 char *kwnames
[] = {
27805 (char *) "self", NULL
27808 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetEditControl",kwnames
,&obj0
)) goto fail
;
27809 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27810 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27813 result
= (wxTextCtrl
*)((wxPyTreeCtrl
const *)arg1
)->GetEditControl();
27815 wxPyEndAllowThreads(__tstate
);
27816 if (PyErr_Occurred()) SWIG_fail
;
27819 resultobj
= wxPyMake_wxObject(result
);
27827 static PyObject
*_wrap_TreeCtrl_EndEditLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27828 PyObject
*resultobj
;
27829 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27830 wxTreeItemId
*arg2
= 0 ;
27831 bool arg3
= (bool) False
;
27832 PyObject
* obj0
= 0 ;
27833 PyObject
* obj1
= 0 ;
27834 PyObject
* obj2
= 0 ;
27835 char *kwnames
[] = {
27836 (char *) "self",(char *) "item",(char *) "discardChanges", NULL
27839 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_EndEditLabel",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27840 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27841 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27842 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27843 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27845 if (arg2
== NULL
) {
27846 PyErr_SetString(PyExc_TypeError
,"null reference");
27850 arg3
= (bool) SWIG_AsBool(obj2
);
27851 if (PyErr_Occurred()) SWIG_fail
;
27854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27855 (arg1
)->EndEditLabel((wxTreeItemId
const &)*arg2
,arg3
);
27857 wxPyEndAllowThreads(__tstate
);
27858 if (PyErr_Occurred()) SWIG_fail
;
27860 Py_INCREF(Py_None
); resultobj
= Py_None
;
27867 static PyObject
*_wrap_TreeCtrl_SortChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27868 PyObject
*resultobj
;
27869 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27870 wxTreeItemId
*arg2
= 0 ;
27871 PyObject
* obj0
= 0 ;
27872 PyObject
* obj1
= 0 ;
27873 char *kwnames
[] = {
27874 (char *) "self",(char *) "item", NULL
27877 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SortChildren",kwnames
,&obj0
,&obj1
)) goto fail
;
27878 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27879 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27880 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27881 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27883 if (arg2
== NULL
) {
27884 PyErr_SetString(PyExc_TypeError
,"null reference");
27888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27889 (arg1
)->SortChildren((wxTreeItemId
const &)*arg2
);
27891 wxPyEndAllowThreads(__tstate
);
27892 if (PyErr_Occurred()) SWIG_fail
;
27894 Py_INCREF(Py_None
); resultobj
= Py_None
;
27901 static PyObject
*_wrap_TreeCtrl_HitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27902 PyObject
*resultobj
;
27903 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27904 wxPoint
*arg2
= 0 ;
27906 wxTreeItemId result
;
27909 PyObject
* obj0
= 0 ;
27910 PyObject
* obj1
= 0 ;
27911 char *kwnames
[] = {
27912 (char *) "self",(char *) "point", NULL
27916 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
27917 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27918 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27921 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
27924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27925 result
= (arg1
)->HitTest((wxPoint
const &)*arg2
,*arg3
);
27927 wxPyEndAllowThreads(__tstate
);
27928 if (PyErr_Occurred()) SWIG_fail
;
27931 wxTreeItemId
* resultptr
;
27932 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
27933 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
27936 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
27937 resultobj
= t_output_helper(resultobj
,o
);
27945 static PyObject
*_wrap_TreeCtrl_GetBoundingRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27946 PyObject
*resultobj
;
27947 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27948 wxTreeItemId
*arg2
= 0 ;
27949 bool arg3
= (bool) False
;
27951 PyObject
* obj0
= 0 ;
27952 PyObject
* obj1
= 0 ;
27953 PyObject
* obj2
= 0 ;
27954 char *kwnames
[] = {
27955 (char *) "self",(char *) "item",(char *) "textOnly", NULL
27958 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_GetBoundingRect",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27959 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27960 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27961 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27962 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27964 if (arg2
== NULL
) {
27965 PyErr_SetString(PyExc_TypeError
,"null reference");
27969 arg3
= (bool) SWIG_AsBool(obj2
);
27970 if (PyErr_Occurred()) SWIG_fail
;
27973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27974 result
= (PyObject
*)wxPyTreeCtrl_GetBoundingRect(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
27976 wxPyEndAllowThreads(__tstate
);
27977 if (PyErr_Occurred()) SWIG_fail
;
27979 resultobj
= result
;
27986 static PyObject
*_wrap_TreeCtrl_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27987 PyObject
*resultobj
;
27988 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
27989 wxVisualAttributes result
;
27990 PyObject
* obj0
= 0 ;
27991 char *kwnames
[] = {
27992 (char *) "variant", NULL
27995 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:TreeCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
27997 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
27998 if (PyErr_Occurred()) SWIG_fail
;
28001 if (!wxPyCheckForApp()) SWIG_fail
;
28002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28003 result
= wxPyTreeCtrl::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
28005 wxPyEndAllowThreads(__tstate
);
28006 if (PyErr_Occurred()) SWIG_fail
;
28009 wxVisualAttributes
* resultptr
;
28010 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
28011 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
28019 static PyObject
* TreeCtrl_swigregister(PyObject
*self
, PyObject
*args
) {
28021 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28022 SWIG_TypeClientData(SWIGTYPE_p_wxPyTreeCtrl
, obj
);
28024 return Py_BuildValue((char *)"");
28026 static int _wrap_DirDialogDefaultFolderStr_set(PyObject
*_val
) {
28027 PyErr_SetString(PyExc_TypeError
,"Variable DirDialogDefaultFolderStr is read-only.");
28032 static PyObject
*_wrap_DirDialogDefaultFolderStr_get() {
28037 pyobj
= PyUnicode_FromWideChar((&wxPyDirDialogDefaultFolderStr
)->c_str(), (&wxPyDirDialogDefaultFolderStr
)->Len());
28039 pyobj
= PyString_FromStringAndSize((&wxPyDirDialogDefaultFolderStr
)->c_str(), (&wxPyDirDialogDefaultFolderStr
)->Len());
28046 static PyObject
*_wrap_new_GenericDirCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28047 PyObject
*resultobj
;
28048 wxWindow
*arg1
= (wxWindow
*) 0 ;
28049 int arg2
= (int) (int)-1 ;
28050 wxString
const &arg3_defvalue
= wxPyDirDialogDefaultFolderStr
;
28051 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
28052 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
28053 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
28054 wxSize
const &arg5_defvalue
= wxDefaultSize
;
28055 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
28056 long arg6
= (long) wxDIRCTRL_3D_INTERNAL
|wxSUNKEN_BORDER
;
28057 wxString
const &arg7_defvalue
= wxPyEmptyString
;
28058 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
28059 int arg8
= (int) 0 ;
28060 wxString
const &arg9_defvalue
= wxPyTreeCtrlNameStr
;
28061 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
28062 wxGenericDirCtrl
*result
;
28063 bool temp3
= False
;
28066 bool temp7
= False
;
28067 bool temp9
= False
;
28068 PyObject
* obj0
= 0 ;
28069 PyObject
* obj1
= 0 ;
28070 PyObject
* obj2
= 0 ;
28071 PyObject
* obj3
= 0 ;
28072 PyObject
* obj4
= 0 ;
28073 PyObject
* obj5
= 0 ;
28074 PyObject
* obj6
= 0 ;
28075 PyObject
* obj7
= 0 ;
28076 PyObject
* obj8
= 0 ;
28077 char *kwnames
[] = {
28078 (char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
28081 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOO:new_GenericDirCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
28082 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28083 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28085 arg2
= (int const) SWIG_AsInt(obj1
);
28086 if (PyErr_Occurred()) SWIG_fail
;
28090 arg3
= wxString_in_helper(obj2
);
28091 if (arg3
== NULL
) SWIG_fail
;
28098 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
28104 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
28108 arg6
= (long) SWIG_AsLong(obj5
);
28109 if (PyErr_Occurred()) SWIG_fail
;
28113 arg7
= wxString_in_helper(obj6
);
28114 if (arg7
== NULL
) SWIG_fail
;
28119 arg8
= (int) SWIG_AsInt(obj7
);
28120 if (PyErr_Occurred()) SWIG_fail
;
28124 arg9
= wxString_in_helper(obj8
);
28125 if (arg9
== NULL
) SWIG_fail
;
28130 if (!wxPyCheckForApp()) SWIG_fail
;
28131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28132 result
= (wxGenericDirCtrl
*)new wxGenericDirCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
,arg8
,(wxString
const &)*arg9
);
28134 wxPyEndAllowThreads(__tstate
);
28135 if (PyErr_Occurred()) SWIG_fail
;
28137 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDirCtrl
, 1);
28168 static PyObject
*_wrap_new_PreGenericDirCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28169 PyObject
*resultobj
;
28170 wxGenericDirCtrl
*result
;
28171 char *kwnames
[] = {
28175 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreGenericDirCtrl",kwnames
)) goto fail
;
28177 if (!wxPyCheckForApp()) SWIG_fail
;
28178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28179 result
= (wxGenericDirCtrl
*)new wxGenericDirCtrl();
28181 wxPyEndAllowThreads(__tstate
);
28182 if (PyErr_Occurred()) SWIG_fail
;
28184 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDirCtrl
, 1);
28191 static PyObject
*_wrap_GenericDirCtrl_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28192 PyObject
*resultobj
;
28193 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28194 wxWindow
*arg2
= (wxWindow
*) 0 ;
28195 int arg3
= (int) (int)-1 ;
28196 wxString
const &arg4_defvalue
= wxPyDirDialogDefaultFolderStr
;
28197 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
28198 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
28199 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
28200 wxSize
const &arg6_defvalue
= wxDefaultSize
;
28201 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
28202 long arg7
= (long) wxDIRCTRL_3D_INTERNAL
|wxSUNKEN_BORDER
;
28203 wxString
const &arg8_defvalue
= wxPyEmptyString
;
28204 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
28205 int arg9
= (int) 0 ;
28206 wxString
const &arg10_defvalue
= wxPyTreeCtrlNameStr
;
28207 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
28209 bool temp4
= False
;
28212 bool temp8
= False
;
28213 bool temp10
= False
;
28214 PyObject
* obj0
= 0 ;
28215 PyObject
* obj1
= 0 ;
28216 PyObject
* obj2
= 0 ;
28217 PyObject
* obj3
= 0 ;
28218 PyObject
* obj4
= 0 ;
28219 PyObject
* obj5
= 0 ;
28220 PyObject
* obj6
= 0 ;
28221 PyObject
* obj7
= 0 ;
28222 PyObject
* obj8
= 0 ;
28223 PyObject
* obj9
= 0 ;
28224 char *kwnames
[] = {
28225 (char *) "self",(char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
28228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOO:GenericDirCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
28229 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28230 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28231 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
28232 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28234 arg3
= (int const) SWIG_AsInt(obj2
);
28235 if (PyErr_Occurred()) SWIG_fail
;
28239 arg4
= wxString_in_helper(obj3
);
28240 if (arg4
== NULL
) SWIG_fail
;
28247 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
28253 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
28257 arg7
= (long) SWIG_AsLong(obj6
);
28258 if (PyErr_Occurred()) SWIG_fail
;
28262 arg8
= wxString_in_helper(obj7
);
28263 if (arg8
== NULL
) SWIG_fail
;
28268 arg9
= (int) SWIG_AsInt(obj8
);
28269 if (PyErr_Occurred()) SWIG_fail
;
28273 arg10
= wxString_in_helper(obj9
);
28274 if (arg10
== NULL
) SWIG_fail
;
28279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28280 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
,arg9
,(wxString
const &)*arg10
);
28282 wxPyEndAllowThreads(__tstate
);
28283 if (PyErr_Occurred()) SWIG_fail
;
28286 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28318 static PyObject
*_wrap_GenericDirCtrl_ExpandPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28319 PyObject
*resultobj
;
28320 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28321 wxString
*arg2
= 0 ;
28323 bool temp2
= False
;
28324 PyObject
* obj0
= 0 ;
28325 PyObject
* obj1
= 0 ;
28326 char *kwnames
[] = {
28327 (char *) "self",(char *) "path", NULL
28330 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_ExpandPath",kwnames
,&obj0
,&obj1
)) goto fail
;
28331 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28332 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28334 arg2
= wxString_in_helper(obj1
);
28335 if (arg2
== NULL
) SWIG_fail
;
28339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28340 result
= (bool)(arg1
)->ExpandPath((wxString
const &)*arg2
);
28342 wxPyEndAllowThreads(__tstate
);
28343 if (PyErr_Occurred()) SWIG_fail
;
28346 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28362 static PyObject
*_wrap_GenericDirCtrl_GetDefaultPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28363 PyObject
*resultobj
;
28364 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28366 PyObject
* obj0
= 0 ;
28367 char *kwnames
[] = {
28368 (char *) "self", NULL
28371 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetDefaultPath",kwnames
,&obj0
)) goto fail
;
28372 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28373 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28376 result
= ((wxGenericDirCtrl
const *)arg1
)->GetDefaultPath();
28378 wxPyEndAllowThreads(__tstate
);
28379 if (PyErr_Occurred()) SWIG_fail
;
28383 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
28385 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
28394 static PyObject
*_wrap_GenericDirCtrl_SetDefaultPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28395 PyObject
*resultobj
;
28396 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28397 wxString
*arg2
= 0 ;
28398 bool temp2
= False
;
28399 PyObject
* obj0
= 0 ;
28400 PyObject
* obj1
= 0 ;
28401 char *kwnames
[] = {
28402 (char *) "self",(char *) "path", NULL
28405 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetDefaultPath",kwnames
,&obj0
,&obj1
)) goto fail
;
28406 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28407 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28409 arg2
= wxString_in_helper(obj1
);
28410 if (arg2
== NULL
) SWIG_fail
;
28414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28415 (arg1
)->SetDefaultPath((wxString
const &)*arg2
);
28417 wxPyEndAllowThreads(__tstate
);
28418 if (PyErr_Occurred()) SWIG_fail
;
28420 Py_INCREF(Py_None
); resultobj
= Py_None
;
28435 static PyObject
*_wrap_GenericDirCtrl_GetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28436 PyObject
*resultobj
;
28437 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28439 PyObject
* obj0
= 0 ;
28440 char *kwnames
[] = {
28441 (char *) "self", NULL
28444 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetPath",kwnames
,&obj0
)) goto fail
;
28445 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28446 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28449 result
= ((wxGenericDirCtrl
const *)arg1
)->GetPath();
28451 wxPyEndAllowThreads(__tstate
);
28452 if (PyErr_Occurred()) SWIG_fail
;
28456 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
28458 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
28467 static PyObject
*_wrap_GenericDirCtrl_GetFilePath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28468 PyObject
*resultobj
;
28469 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28471 PyObject
* obj0
= 0 ;
28472 char *kwnames
[] = {
28473 (char *) "self", NULL
28476 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetFilePath",kwnames
,&obj0
)) goto fail
;
28477 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28478 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28481 result
= ((wxGenericDirCtrl
const *)arg1
)->GetFilePath();
28483 wxPyEndAllowThreads(__tstate
);
28484 if (PyErr_Occurred()) SWIG_fail
;
28488 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
28490 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
28499 static PyObject
*_wrap_GenericDirCtrl_SetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28500 PyObject
*resultobj
;
28501 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28502 wxString
*arg2
= 0 ;
28503 bool temp2
= False
;
28504 PyObject
* obj0
= 0 ;
28505 PyObject
* obj1
= 0 ;
28506 char *kwnames
[] = {
28507 (char *) "self",(char *) "path", NULL
28510 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetPath",kwnames
,&obj0
,&obj1
)) goto fail
;
28511 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28512 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28514 arg2
= wxString_in_helper(obj1
);
28515 if (arg2
== NULL
) SWIG_fail
;
28519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28520 (arg1
)->SetPath((wxString
const &)*arg2
);
28522 wxPyEndAllowThreads(__tstate
);
28523 if (PyErr_Occurred()) SWIG_fail
;
28525 Py_INCREF(Py_None
); resultobj
= Py_None
;
28540 static PyObject
*_wrap_GenericDirCtrl_ShowHidden(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28541 PyObject
*resultobj
;
28542 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28544 PyObject
* obj0
= 0 ;
28545 PyObject
* obj1
= 0 ;
28546 char *kwnames
[] = {
28547 (char *) "self",(char *) "show", NULL
28550 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_ShowHidden",kwnames
,&obj0
,&obj1
)) goto fail
;
28551 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28552 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28553 arg2
= (bool) SWIG_AsBool(obj1
);
28554 if (PyErr_Occurred()) SWIG_fail
;
28556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28557 (arg1
)->ShowHidden(arg2
);
28559 wxPyEndAllowThreads(__tstate
);
28560 if (PyErr_Occurred()) SWIG_fail
;
28562 Py_INCREF(Py_None
); resultobj
= Py_None
;
28569 static PyObject
*_wrap_GenericDirCtrl_GetShowHidden(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28570 PyObject
*resultobj
;
28571 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28573 PyObject
* obj0
= 0 ;
28574 char *kwnames
[] = {
28575 (char *) "self", NULL
28578 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetShowHidden",kwnames
,&obj0
)) goto fail
;
28579 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28580 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28583 result
= (bool)(arg1
)->GetShowHidden();
28585 wxPyEndAllowThreads(__tstate
);
28586 if (PyErr_Occurred()) SWIG_fail
;
28589 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28597 static PyObject
*_wrap_GenericDirCtrl_GetFilter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28598 PyObject
*resultobj
;
28599 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28601 PyObject
* obj0
= 0 ;
28602 char *kwnames
[] = {
28603 (char *) "self", NULL
28606 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetFilter",kwnames
,&obj0
)) goto fail
;
28607 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28608 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28611 result
= ((wxGenericDirCtrl
const *)arg1
)->GetFilter();
28613 wxPyEndAllowThreads(__tstate
);
28614 if (PyErr_Occurred()) SWIG_fail
;
28618 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
28620 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
28629 static PyObject
*_wrap_GenericDirCtrl_SetFilter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28630 PyObject
*resultobj
;
28631 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28632 wxString
*arg2
= 0 ;
28633 bool temp2
= False
;
28634 PyObject
* obj0
= 0 ;
28635 PyObject
* obj1
= 0 ;
28636 char *kwnames
[] = {
28637 (char *) "self",(char *) "filter", NULL
28640 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetFilter",kwnames
,&obj0
,&obj1
)) goto fail
;
28641 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28642 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28644 arg2
= wxString_in_helper(obj1
);
28645 if (arg2
== NULL
) SWIG_fail
;
28649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28650 (arg1
)->SetFilter((wxString
const &)*arg2
);
28652 wxPyEndAllowThreads(__tstate
);
28653 if (PyErr_Occurred()) SWIG_fail
;
28655 Py_INCREF(Py_None
); resultobj
= Py_None
;
28670 static PyObject
*_wrap_GenericDirCtrl_GetFilterIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28671 PyObject
*resultobj
;
28672 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28674 PyObject
* obj0
= 0 ;
28675 char *kwnames
[] = {
28676 (char *) "self", NULL
28679 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetFilterIndex",kwnames
,&obj0
)) goto fail
;
28680 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28681 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28684 result
= (int)((wxGenericDirCtrl
const *)arg1
)->GetFilterIndex();
28686 wxPyEndAllowThreads(__tstate
);
28687 if (PyErr_Occurred()) SWIG_fail
;
28689 resultobj
= SWIG_FromInt((int)result
);
28696 static PyObject
*_wrap_GenericDirCtrl_SetFilterIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28697 PyObject
*resultobj
;
28698 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28700 PyObject
* obj0
= 0 ;
28701 PyObject
* obj1
= 0 ;
28702 char *kwnames
[] = {
28703 (char *) "self",(char *) "n", NULL
28706 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetFilterIndex",kwnames
,&obj0
,&obj1
)) goto fail
;
28707 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28708 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28709 arg2
= (int) SWIG_AsInt(obj1
);
28710 if (PyErr_Occurred()) SWIG_fail
;
28712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28713 (arg1
)->SetFilterIndex(arg2
);
28715 wxPyEndAllowThreads(__tstate
);
28716 if (PyErr_Occurred()) SWIG_fail
;
28718 Py_INCREF(Py_None
); resultobj
= Py_None
;
28725 static PyObject
*_wrap_GenericDirCtrl_GetRootId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28726 PyObject
*resultobj
;
28727 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28728 wxTreeItemId result
;
28729 PyObject
* obj0
= 0 ;
28730 char *kwnames
[] = {
28731 (char *) "self", NULL
28734 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetRootId",kwnames
,&obj0
)) goto fail
;
28735 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28736 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28739 result
= (arg1
)->GetRootId();
28741 wxPyEndAllowThreads(__tstate
);
28742 if (PyErr_Occurred()) SWIG_fail
;
28745 wxTreeItemId
* resultptr
;
28746 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
28747 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
28755 static PyObject
*_wrap_GenericDirCtrl_GetTreeCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28756 PyObject
*resultobj
;
28757 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28758 wxPyTreeCtrl
*result
;
28759 PyObject
* obj0
= 0 ;
28760 char *kwnames
[] = {
28761 (char *) "self", NULL
28764 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetTreeCtrl",kwnames
,&obj0
)) goto fail
;
28765 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28766 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28769 result
= (wxPyTreeCtrl
*)((wxGenericDirCtrl
const *)arg1
)->GetTreeCtrl();
28771 wxPyEndAllowThreads(__tstate
);
28772 if (PyErr_Occurred()) SWIG_fail
;
28775 resultobj
= wxPyMake_wxObject(result
);
28783 static PyObject
*_wrap_GenericDirCtrl_GetFilterListCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28784 PyObject
*resultobj
;
28785 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28786 wxDirFilterListCtrl
*result
;
28787 PyObject
* obj0
= 0 ;
28788 char *kwnames
[] = {
28789 (char *) "self", NULL
28792 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetFilterListCtrl",kwnames
,&obj0
)) goto fail
;
28793 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28794 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28797 result
= (wxDirFilterListCtrl
*)((wxGenericDirCtrl
const *)arg1
)->GetFilterListCtrl();
28799 wxPyEndAllowThreads(__tstate
);
28800 if (PyErr_Occurred()) SWIG_fail
;
28802 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDirFilterListCtrl
, 0);
28809 static PyObject
*_wrap_GenericDirCtrl_FindChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28810 PyObject
*resultobj
;
28811 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28812 wxTreeItemId arg2
;
28813 wxString
*arg3
= 0 ;
28815 wxTreeItemId result
;
28816 wxTreeItemId
*argp2
;
28817 bool temp3
= False
;
28819 PyObject
* obj0
= 0 ;
28820 PyObject
* obj1
= 0 ;
28821 PyObject
* obj2
= 0 ;
28822 char *kwnames
[] = {
28823 (char *) "self",(char *) "parentId",(char *) "path", NULL
28827 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GenericDirCtrl_FindChild",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28828 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28829 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28830 if ((SWIG_ConvertPtr(obj1
,(void **)(&argp2
),SWIGTYPE_p_wxTreeItemId
,
28831 SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
28834 arg3
= wxString_in_helper(obj2
);
28835 if (arg3
== NULL
) SWIG_fail
;
28839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28840 result
= (arg1
)->FindChild(arg2
,(wxString
const &)*arg3
,*arg4
);
28842 wxPyEndAllowThreads(__tstate
);
28843 if (PyErr_Occurred()) SWIG_fail
;
28846 wxTreeItemId
* resultptr
;
28847 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
28848 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
28851 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
28852 resultobj
= t_output_helper(resultobj
,o
);
28868 static PyObject
*_wrap_GenericDirCtrl_DoResize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28869 PyObject
*resultobj
;
28870 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28871 PyObject
* obj0
= 0 ;
28872 char *kwnames
[] = {
28873 (char *) "self", NULL
28876 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_DoResize",kwnames
,&obj0
)) goto fail
;
28877 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28878 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28881 (arg1
)->DoResize();
28883 wxPyEndAllowThreads(__tstate
);
28884 if (PyErr_Occurred()) SWIG_fail
;
28886 Py_INCREF(Py_None
); resultobj
= Py_None
;
28893 static PyObject
*_wrap_GenericDirCtrl_ReCreateTree(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28894 PyObject
*resultobj
;
28895 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28896 PyObject
* obj0
= 0 ;
28897 char *kwnames
[] = {
28898 (char *) "self", NULL
28901 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_ReCreateTree",kwnames
,&obj0
)) goto fail
;
28902 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28903 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28906 (arg1
)->ReCreateTree();
28908 wxPyEndAllowThreads(__tstate
);
28909 if (PyErr_Occurred()) SWIG_fail
;
28911 Py_INCREF(Py_None
); resultobj
= Py_None
;
28918 static PyObject
* GenericDirCtrl_swigregister(PyObject
*self
, PyObject
*args
) {
28920 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28921 SWIG_TypeClientData(SWIGTYPE_p_wxGenericDirCtrl
, obj
);
28923 return Py_BuildValue((char *)"");
28925 static PyObject
*_wrap_new_DirFilterListCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28926 PyObject
*resultobj
;
28927 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28928 int arg2
= (int) (int)-1 ;
28929 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
28930 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
28931 wxSize
const &arg4_defvalue
= wxDefaultSize
;
28932 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
28933 long arg5
= (long) 0 ;
28934 wxDirFilterListCtrl
*result
;
28937 PyObject
* obj0
= 0 ;
28938 PyObject
* obj1
= 0 ;
28939 PyObject
* obj2
= 0 ;
28940 PyObject
* obj3
= 0 ;
28941 PyObject
* obj4
= 0 ;
28942 char *kwnames
[] = {
28943 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
28946 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:new_DirFilterListCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
28947 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28948 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28950 arg2
= (int const) SWIG_AsInt(obj1
);
28951 if (PyErr_Occurred()) SWIG_fail
;
28956 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
28962 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
28966 arg5
= (long) SWIG_AsLong(obj4
);
28967 if (PyErr_Occurred()) SWIG_fail
;
28970 if (!wxPyCheckForApp()) SWIG_fail
;
28971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28972 result
= (wxDirFilterListCtrl
*)new wxDirFilterListCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
);
28974 wxPyEndAllowThreads(__tstate
);
28975 if (PyErr_Occurred()) SWIG_fail
;
28977 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDirFilterListCtrl
, 1);
28984 static PyObject
*_wrap_new_PreDirFilterListCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28985 PyObject
*resultobj
;
28986 wxDirFilterListCtrl
*result
;
28987 char *kwnames
[] = {
28991 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreDirFilterListCtrl",kwnames
)) goto fail
;
28993 if (!wxPyCheckForApp()) SWIG_fail
;
28994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28995 result
= (wxDirFilterListCtrl
*)new wxDirFilterListCtrl();
28997 wxPyEndAllowThreads(__tstate
);
28998 if (PyErr_Occurred()) SWIG_fail
;
29000 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDirFilterListCtrl
, 1);
29007 static PyObject
*_wrap_DirFilterListCtrl_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29008 PyObject
*resultobj
;
29009 wxDirFilterListCtrl
*arg1
= (wxDirFilterListCtrl
*) 0 ;
29010 wxGenericDirCtrl
*arg2
= (wxGenericDirCtrl
*) 0 ;
29011 int arg3
= (int) (int)-1 ;
29012 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
29013 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
29014 wxSize
const &arg5_defvalue
= wxDefaultSize
;
29015 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
29016 long arg6
= (long) 0 ;
29020 PyObject
* obj0
= 0 ;
29021 PyObject
* obj1
= 0 ;
29022 PyObject
* obj2
= 0 ;
29023 PyObject
* obj3
= 0 ;
29024 PyObject
* obj4
= 0 ;
29025 PyObject
* obj5
= 0 ;
29026 char *kwnames
[] = {
29027 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
29030 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:DirFilterListCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
29031 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDirFilterListCtrl
,
29032 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29033 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxGenericDirCtrl
,
29034 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29036 arg3
= (int const) SWIG_AsInt(obj2
);
29037 if (PyErr_Occurred()) SWIG_fail
;
29042 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
29048 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
29052 arg6
= (long) SWIG_AsLong(obj5
);
29053 if (PyErr_Occurred()) SWIG_fail
;
29056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29057 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
);
29059 wxPyEndAllowThreads(__tstate
);
29060 if (PyErr_Occurred()) SWIG_fail
;
29063 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29071 static PyObject
*_wrap_DirFilterListCtrl_FillFilterList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29072 PyObject
*resultobj
;
29073 wxDirFilterListCtrl
*arg1
= (wxDirFilterListCtrl
*) 0 ;
29074 wxString
*arg2
= 0 ;
29076 bool temp2
= False
;
29077 PyObject
* obj0
= 0 ;
29078 PyObject
* obj1
= 0 ;
29079 PyObject
* obj2
= 0 ;
29080 char *kwnames
[] = {
29081 (char *) "self",(char *) "filter",(char *) "defaultFilter", NULL
29084 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DirFilterListCtrl_FillFilterList",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29085 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDirFilterListCtrl
,
29086 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29088 arg2
= wxString_in_helper(obj1
);
29089 if (arg2
== NULL
) SWIG_fail
;
29092 arg3
= (int) SWIG_AsInt(obj2
);
29093 if (PyErr_Occurred()) SWIG_fail
;
29095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29096 (arg1
)->FillFilterList((wxString
const &)*arg2
,arg3
);
29098 wxPyEndAllowThreads(__tstate
);
29099 if (PyErr_Occurred()) SWIG_fail
;
29101 Py_INCREF(Py_None
); resultobj
= Py_None
;
29116 static PyObject
* DirFilterListCtrl_swigregister(PyObject
*self
, PyObject
*args
) {
29118 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
29119 SWIG_TypeClientData(SWIGTYPE_p_wxDirFilterListCtrl
, obj
);
29121 return Py_BuildValue((char *)"");
29123 static PyObject
*_wrap_new_PyControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29124 PyObject
*resultobj
;
29125 wxWindow
*arg1
= (wxWindow
*) 0 ;
29126 int arg2
= (int) (int)-1 ;
29127 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
29128 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
29129 wxSize
const &arg4_defvalue
= wxDefaultSize
;
29130 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
29131 long arg5
= (long) 0 ;
29132 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
29133 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
29134 wxString
const &arg7_defvalue
= wxPyControlNameStr
;
29135 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
29136 wxPyControl
*result
;
29139 bool temp7
= False
;
29140 PyObject
* obj0
= 0 ;
29141 PyObject
* obj1
= 0 ;
29142 PyObject
* obj2
= 0 ;
29143 PyObject
* obj3
= 0 ;
29144 PyObject
* obj4
= 0 ;
29145 PyObject
* obj5
= 0 ;
29146 PyObject
* obj6
= 0 ;
29147 char *kwnames
[] = {
29148 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
29151 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_PyControl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
29152 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
29153 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29155 arg2
= (int const) SWIG_AsInt(obj1
);
29156 if (PyErr_Occurred()) SWIG_fail
;
29161 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
29167 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
29171 arg5
= (long) SWIG_AsLong(obj4
);
29172 if (PyErr_Occurred()) SWIG_fail
;
29175 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxValidator
,
29176 SWIG_POINTER_EXCEPTION
| 0)) == -1)
29178 if (arg6
== NULL
) {
29179 PyErr_SetString(PyExc_TypeError
,"null reference");
29185 arg7
= wxString_in_helper(obj6
);
29186 if (arg7
== NULL
) SWIG_fail
;
29191 if (!wxPyCheckForApp()) SWIG_fail
;
29192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29193 result
= (wxPyControl
*)new wxPyControl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
29195 wxPyEndAllowThreads(__tstate
);
29196 if (PyErr_Occurred()) SWIG_fail
;
29198 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyControl
, 1);
29213 static PyObject
*_wrap_new_PrePyControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29214 PyObject
*resultobj
;
29215 wxPyControl
*result
;
29216 char *kwnames
[] = {
29220 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePyControl",kwnames
)) goto fail
;
29222 if (!wxPyCheckForApp()) SWIG_fail
;
29223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29224 result
= (wxPyControl
*)new wxPyControl();
29226 wxPyEndAllowThreads(__tstate
);
29227 if (PyErr_Occurred()) SWIG_fail
;
29229 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyControl
, 1);
29236 static PyObject
*_wrap_PyControl__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29237 PyObject
*resultobj
;
29238 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29239 PyObject
*arg2
= (PyObject
*) 0 ;
29240 PyObject
*arg3
= (PyObject
*) 0 ;
29241 PyObject
* obj0
= 0 ;
29242 PyObject
* obj1
= 0 ;
29243 PyObject
* obj2
= 0 ;
29244 char *kwnames
[] = {
29245 (char *) "self",(char *) "self",(char *) "_class", NULL
29248 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29249 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29250 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29255 (arg1
)->_setCallbackInfo(arg2
,arg3
);
29257 wxPyEndAllowThreads(__tstate
);
29258 if (PyErr_Occurred()) SWIG_fail
;
29260 Py_INCREF(Py_None
); resultobj
= Py_None
;
29267 static PyObject
*_wrap_PyControl_SetBestSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29268 PyObject
*resultobj
;
29269 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29272 PyObject
* obj0
= 0 ;
29273 PyObject
* obj1
= 0 ;
29274 char *kwnames
[] = {
29275 (char *) "self",(char *) "size", NULL
29278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControl_SetBestSize",kwnames
,&obj0
,&obj1
)) goto fail
;
29279 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29280 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29283 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
29286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29287 (arg1
)->SetBestSize((wxSize
const &)*arg2
);
29289 wxPyEndAllowThreads(__tstate
);
29290 if (PyErr_Occurred()) SWIG_fail
;
29292 Py_INCREF(Py_None
); resultobj
= Py_None
;
29299 static PyObject
*_wrap_PyControl_base_DoMoveWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29300 PyObject
*resultobj
;
29301 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29306 PyObject
* obj0
= 0 ;
29307 PyObject
* obj1
= 0 ;
29308 PyObject
* obj2
= 0 ;
29309 PyObject
* obj3
= 0 ;
29310 PyObject
* obj4
= 0 ;
29311 char *kwnames
[] = {
29312 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
29315 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyControl_base_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
29316 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29317 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29318 arg2
= (int) SWIG_AsInt(obj1
);
29319 if (PyErr_Occurred()) SWIG_fail
;
29320 arg3
= (int) SWIG_AsInt(obj2
);
29321 if (PyErr_Occurred()) SWIG_fail
;
29322 arg4
= (int) SWIG_AsInt(obj3
);
29323 if (PyErr_Occurred()) SWIG_fail
;
29324 arg5
= (int) SWIG_AsInt(obj4
);
29325 if (PyErr_Occurred()) SWIG_fail
;
29327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29328 (arg1
)->base_DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
29330 wxPyEndAllowThreads(__tstate
);
29331 if (PyErr_Occurred()) SWIG_fail
;
29333 Py_INCREF(Py_None
); resultobj
= Py_None
;
29340 static PyObject
*_wrap_PyControl_base_DoSetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29341 PyObject
*resultobj
;
29342 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29347 int arg6
= (int) wxSIZE_AUTO
;
29348 PyObject
* obj0
= 0 ;
29349 PyObject
* obj1
= 0 ;
29350 PyObject
* obj2
= 0 ;
29351 PyObject
* obj3
= 0 ;
29352 PyObject
* obj4
= 0 ;
29353 PyObject
* obj5
= 0 ;
29354 char *kwnames
[] = {
29355 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
29358 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyControl_base_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
29359 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29360 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29361 arg2
= (int) SWIG_AsInt(obj1
);
29362 if (PyErr_Occurred()) SWIG_fail
;
29363 arg3
= (int) SWIG_AsInt(obj2
);
29364 if (PyErr_Occurred()) SWIG_fail
;
29365 arg4
= (int) SWIG_AsInt(obj3
);
29366 if (PyErr_Occurred()) SWIG_fail
;
29367 arg5
= (int) SWIG_AsInt(obj4
);
29368 if (PyErr_Occurred()) SWIG_fail
;
29370 arg6
= (int) SWIG_AsInt(obj5
);
29371 if (PyErr_Occurred()) SWIG_fail
;
29374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29375 (arg1
)->base_DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
29377 wxPyEndAllowThreads(__tstate
);
29378 if (PyErr_Occurred()) SWIG_fail
;
29380 Py_INCREF(Py_None
); resultobj
= Py_None
;
29387 static PyObject
*_wrap_PyControl_base_DoSetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29388 PyObject
*resultobj
;
29389 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29392 PyObject
* obj0
= 0 ;
29393 PyObject
* obj1
= 0 ;
29394 PyObject
* obj2
= 0 ;
29395 char *kwnames
[] = {
29396 (char *) "self",(char *) "width",(char *) "height", NULL
29399 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControl_base_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29400 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29401 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29402 arg2
= (int) SWIG_AsInt(obj1
);
29403 if (PyErr_Occurred()) SWIG_fail
;
29404 arg3
= (int) SWIG_AsInt(obj2
);
29405 if (PyErr_Occurred()) SWIG_fail
;
29407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29408 (arg1
)->base_DoSetClientSize(arg2
,arg3
);
29410 wxPyEndAllowThreads(__tstate
);
29411 if (PyErr_Occurred()) SWIG_fail
;
29413 Py_INCREF(Py_None
); resultobj
= Py_None
;
29420 static PyObject
*_wrap_PyControl_base_DoSetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29421 PyObject
*resultobj
;
29422 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29425 PyObject
* obj0
= 0 ;
29426 PyObject
* obj1
= 0 ;
29427 PyObject
* obj2
= 0 ;
29428 char *kwnames
[] = {
29429 (char *) "self",(char *) "x",(char *) "y", NULL
29432 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControl_base_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29433 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29434 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29435 arg2
= (int) SWIG_AsInt(obj1
);
29436 if (PyErr_Occurred()) SWIG_fail
;
29437 arg3
= (int) SWIG_AsInt(obj2
);
29438 if (PyErr_Occurred()) SWIG_fail
;
29440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29441 (arg1
)->base_DoSetVirtualSize(arg2
,arg3
);
29443 wxPyEndAllowThreads(__tstate
);
29444 if (PyErr_Occurred()) SWIG_fail
;
29446 Py_INCREF(Py_None
); resultobj
= Py_None
;
29453 static PyObject
*_wrap_PyControl_base_DoGetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29454 PyObject
*resultobj
;
29455 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29456 int *arg2
= (int *) 0 ;
29457 int *arg3
= (int *) 0 ;
29460 PyObject
* obj0
= 0 ;
29461 char *kwnames
[] = {
29462 (char *) "self", NULL
29467 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetSize",kwnames
,&obj0
)) goto fail
;
29468 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29469 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29472 ((wxPyControl
const *)arg1
)->base_DoGetSize(arg2
,arg3
);
29474 wxPyEndAllowThreads(__tstate
);
29475 if (PyErr_Occurred()) SWIG_fail
;
29477 Py_INCREF(Py_None
); resultobj
= Py_None
;
29479 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
29480 resultobj
= t_output_helper(resultobj
,o
);
29483 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
29484 resultobj
= t_output_helper(resultobj
,o
);
29492 static PyObject
*_wrap_PyControl_base_DoGetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29493 PyObject
*resultobj
;
29494 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29495 int *arg2
= (int *) 0 ;
29496 int *arg3
= (int *) 0 ;
29499 PyObject
* obj0
= 0 ;
29500 char *kwnames
[] = {
29501 (char *) "self", NULL
29506 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetClientSize",kwnames
,&obj0
)) goto fail
;
29507 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29508 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29511 ((wxPyControl
const *)arg1
)->base_DoGetClientSize(arg2
,arg3
);
29513 wxPyEndAllowThreads(__tstate
);
29514 if (PyErr_Occurred()) SWIG_fail
;
29516 Py_INCREF(Py_None
); resultobj
= Py_None
;
29518 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
29519 resultobj
= t_output_helper(resultobj
,o
);
29522 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
29523 resultobj
= t_output_helper(resultobj
,o
);
29531 static PyObject
*_wrap_PyControl_base_DoGetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29532 PyObject
*resultobj
;
29533 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29534 int *arg2
= (int *) 0 ;
29535 int *arg3
= (int *) 0 ;
29538 PyObject
* obj0
= 0 ;
29539 char *kwnames
[] = {
29540 (char *) "self", NULL
29545 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetPosition",kwnames
,&obj0
)) goto fail
;
29546 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29547 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29550 ((wxPyControl
const *)arg1
)->base_DoGetPosition(arg2
,arg3
);
29552 wxPyEndAllowThreads(__tstate
);
29553 if (PyErr_Occurred()) SWIG_fail
;
29555 Py_INCREF(Py_None
); resultobj
= Py_None
;
29557 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
29558 resultobj
= t_output_helper(resultobj
,o
);
29561 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
29562 resultobj
= t_output_helper(resultobj
,o
);
29570 static PyObject
*_wrap_PyControl_base_DoGetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29571 PyObject
*resultobj
;
29572 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29574 PyObject
* obj0
= 0 ;
29575 char *kwnames
[] = {
29576 (char *) "self", NULL
29579 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetVirtualSize",kwnames
,&obj0
)) goto fail
;
29580 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29581 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29584 result
= ((wxPyControl
const *)arg1
)->base_DoGetVirtualSize();
29586 wxPyEndAllowThreads(__tstate
);
29587 if (PyErr_Occurred()) SWIG_fail
;
29590 wxSize
* resultptr
;
29591 resultptr
= new wxSize((wxSize
&) result
);
29592 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
29600 static PyObject
*_wrap_PyControl_base_DoGetBestSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29601 PyObject
*resultobj
;
29602 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29604 PyObject
* obj0
= 0 ;
29605 char *kwnames
[] = {
29606 (char *) "self", NULL
29609 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetBestSize",kwnames
,&obj0
)) goto fail
;
29610 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29611 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29614 result
= ((wxPyControl
const *)arg1
)->base_DoGetBestSize();
29616 wxPyEndAllowThreads(__tstate
);
29617 if (PyErr_Occurred()) SWIG_fail
;
29620 wxSize
* resultptr
;
29621 resultptr
= new wxSize((wxSize
&) result
);
29622 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
29630 static PyObject
*_wrap_PyControl_base_InitDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29631 PyObject
*resultobj
;
29632 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29633 PyObject
* obj0
= 0 ;
29634 char *kwnames
[] = {
29635 (char *) "self", NULL
29638 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_InitDialog",kwnames
,&obj0
)) goto fail
;
29639 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29640 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29643 (arg1
)->base_InitDialog();
29645 wxPyEndAllowThreads(__tstate
);
29646 if (PyErr_Occurred()) SWIG_fail
;
29648 Py_INCREF(Py_None
); resultobj
= Py_None
;
29655 static PyObject
*_wrap_PyControl_base_TransferDataToWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29656 PyObject
*resultobj
;
29657 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29659 PyObject
* obj0
= 0 ;
29660 char *kwnames
[] = {
29661 (char *) "self", NULL
29664 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_TransferDataToWindow",kwnames
,&obj0
)) goto fail
;
29665 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29666 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29669 result
= (bool)(arg1
)->base_TransferDataToWindow();
29671 wxPyEndAllowThreads(__tstate
);
29672 if (PyErr_Occurred()) SWIG_fail
;
29675 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29683 static PyObject
*_wrap_PyControl_base_TransferDataFromWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29684 PyObject
*resultobj
;
29685 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29687 PyObject
* obj0
= 0 ;
29688 char *kwnames
[] = {
29689 (char *) "self", NULL
29692 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_TransferDataFromWindow",kwnames
,&obj0
)) goto fail
;
29693 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29694 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29697 result
= (bool)(arg1
)->base_TransferDataFromWindow();
29699 wxPyEndAllowThreads(__tstate
);
29700 if (PyErr_Occurred()) SWIG_fail
;
29703 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29711 static PyObject
*_wrap_PyControl_base_Validate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29712 PyObject
*resultobj
;
29713 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29715 PyObject
* obj0
= 0 ;
29716 char *kwnames
[] = {
29717 (char *) "self", NULL
29720 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_Validate",kwnames
,&obj0
)) goto fail
;
29721 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29722 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29725 result
= (bool)(arg1
)->base_Validate();
29727 wxPyEndAllowThreads(__tstate
);
29728 if (PyErr_Occurred()) SWIG_fail
;
29731 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29739 static PyObject
*_wrap_PyControl_base_AcceptsFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29740 PyObject
*resultobj
;
29741 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29743 PyObject
* obj0
= 0 ;
29744 char *kwnames
[] = {
29745 (char *) "self", NULL
29748 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_AcceptsFocus",kwnames
,&obj0
)) goto fail
;
29749 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29750 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29753 result
= (bool)((wxPyControl
const *)arg1
)->base_AcceptsFocus();
29755 wxPyEndAllowThreads(__tstate
);
29756 if (PyErr_Occurred()) SWIG_fail
;
29759 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29767 static PyObject
*_wrap_PyControl_base_AcceptsFocusFromKeyboard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29768 PyObject
*resultobj
;
29769 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29771 PyObject
* obj0
= 0 ;
29772 char *kwnames
[] = {
29773 (char *) "self", NULL
29776 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_AcceptsFocusFromKeyboard",kwnames
,&obj0
)) goto fail
;
29777 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29778 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29781 result
= (bool)((wxPyControl
const *)arg1
)->base_AcceptsFocusFromKeyboard();
29783 wxPyEndAllowThreads(__tstate
);
29784 if (PyErr_Occurred()) SWIG_fail
;
29787 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29795 static PyObject
*_wrap_PyControl_base_GetMaxSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29796 PyObject
*resultobj
;
29797 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29799 PyObject
* obj0
= 0 ;
29800 char *kwnames
[] = {
29801 (char *) "self", NULL
29804 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_GetMaxSize",kwnames
,&obj0
)) goto fail
;
29805 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29806 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29809 result
= ((wxPyControl
const *)arg1
)->base_GetMaxSize();
29811 wxPyEndAllowThreads(__tstate
);
29812 if (PyErr_Occurred()) SWIG_fail
;
29815 wxSize
* resultptr
;
29816 resultptr
= new wxSize((wxSize
&) result
);
29817 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
29825 static PyObject
*_wrap_PyControl_base_AddChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29826 PyObject
*resultobj
;
29827 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29828 wxWindow
*arg2
= (wxWindow
*) 0 ;
29829 PyObject
* obj0
= 0 ;
29830 PyObject
* obj1
= 0 ;
29831 char *kwnames
[] = {
29832 (char *) "self",(char *) "child", NULL
29835 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControl_base_AddChild",kwnames
,&obj0
,&obj1
)) goto fail
;
29836 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29837 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29838 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
29839 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29842 (arg1
)->base_AddChild(arg2
);
29844 wxPyEndAllowThreads(__tstate
);
29845 if (PyErr_Occurred()) SWIG_fail
;
29847 Py_INCREF(Py_None
); resultobj
= Py_None
;
29854 static PyObject
*_wrap_PyControl_base_RemoveChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29855 PyObject
*resultobj
;
29856 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29857 wxWindow
*arg2
= (wxWindow
*) 0 ;
29858 PyObject
* obj0
= 0 ;
29859 PyObject
* obj1
= 0 ;
29860 char *kwnames
[] = {
29861 (char *) "self",(char *) "child", NULL
29864 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControl_base_RemoveChild",kwnames
,&obj0
,&obj1
)) goto fail
;
29865 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29866 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29867 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
29868 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29871 (arg1
)->base_RemoveChild(arg2
);
29873 wxPyEndAllowThreads(__tstate
);
29874 if (PyErr_Occurred()) SWIG_fail
;
29876 Py_INCREF(Py_None
); resultobj
= Py_None
;
29883 static PyObject
*_wrap_PyControl_base_ShouldInheritColours(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29884 PyObject
*resultobj
;
29885 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29887 PyObject
* obj0
= 0 ;
29888 char *kwnames
[] = {
29889 (char *) "self", NULL
29892 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_ShouldInheritColours",kwnames
,&obj0
)) goto fail
;
29893 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29894 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29897 result
= (bool)((wxPyControl
const *)arg1
)->base_ShouldInheritColours();
29899 wxPyEndAllowThreads(__tstate
);
29900 if (PyErr_Occurred()) SWIG_fail
;
29903 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29911 static PyObject
*_wrap_PyControl_base_ApplyParentThemeBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29912 PyObject
*resultobj
;
29913 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29914 wxColour
*arg2
= 0 ;
29916 PyObject
* obj0
= 0 ;
29917 PyObject
* obj1
= 0 ;
29918 char *kwnames
[] = {
29919 (char *) "self",(char *) "c", NULL
29922 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControl_base_ApplyParentThemeBackground",kwnames
,&obj0
,&obj1
)) goto fail
;
29923 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29924 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29927 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
29930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29931 (arg1
)->base_ApplyParentThemeBackground((wxColour
const &)*arg2
);
29933 wxPyEndAllowThreads(__tstate
);
29934 if (PyErr_Occurred()) SWIG_fail
;
29936 Py_INCREF(Py_None
); resultobj
= Py_None
;
29943 static PyObject
*_wrap_PyControl_base_GetDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29944 PyObject
*resultobj
;
29945 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29946 wxVisualAttributes result
;
29947 PyObject
* obj0
= 0 ;
29948 char *kwnames
[] = {
29949 (char *) "self", NULL
29952 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_GetDefaultAttributes",kwnames
,&obj0
)) goto fail
;
29953 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29954 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29957 result
= (arg1
)->base_GetDefaultAttributes();
29959 wxPyEndAllowThreads(__tstate
);
29960 if (PyErr_Occurred()) SWIG_fail
;
29963 wxVisualAttributes
* resultptr
;
29964 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
29965 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
29973 static PyObject
* PyControl_swigregister(PyObject
*self
, PyObject
*args
) {
29975 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
29976 SWIG_TypeClientData(SWIGTYPE_p_wxPyControl
, obj
);
29978 return Py_BuildValue((char *)"");
29980 static PyObject
*_wrap_new_HelpEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29981 PyObject
*resultobj
;
29982 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
29983 int arg2
= (int) 0 ;
29984 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
29985 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
29986 wxHelpEvent
*result
;
29988 PyObject
* obj0
= 0 ;
29989 PyObject
* obj1
= 0 ;
29990 PyObject
* obj2
= 0 ;
29991 char *kwnames
[] = {
29992 (char *) "type",(char *) "winid",(char *) "pt", NULL
29995 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_HelpEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29997 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
29998 if (PyErr_Occurred()) SWIG_fail
;
30001 arg2
= (int) SWIG_AsInt(obj1
);
30002 if (PyErr_Occurred()) SWIG_fail
;
30007 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
30011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30012 result
= (wxHelpEvent
*)new wxHelpEvent(arg1
,arg2
,(wxPoint
const &)*arg3
);
30014 wxPyEndAllowThreads(__tstate
);
30015 if (PyErr_Occurred()) SWIG_fail
;
30017 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHelpEvent
, 1);
30024 static PyObject
*_wrap_HelpEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30025 PyObject
*resultobj
;
30026 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
30028 PyObject
* obj0
= 0 ;
30029 char *kwnames
[] = {
30030 (char *) "self", NULL
30033 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
30034 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpEvent
,
30035 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30038 result
= ((wxHelpEvent
const *)arg1
)->GetPosition();
30040 wxPyEndAllowThreads(__tstate
);
30041 if (PyErr_Occurred()) SWIG_fail
;
30044 wxPoint
* resultptr
;
30045 resultptr
= new wxPoint((wxPoint
&) result
);
30046 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
30054 static PyObject
*_wrap_HelpEvent_SetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30055 PyObject
*resultobj
;
30056 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
30057 wxPoint
*arg2
= 0 ;
30059 PyObject
* obj0
= 0 ;
30060 PyObject
* obj1
= 0 ;
30061 char *kwnames
[] = {
30062 (char *) "self",(char *) "pos", NULL
30065 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
30066 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpEvent
,
30067 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30070 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
30073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30074 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
30076 wxPyEndAllowThreads(__tstate
);
30077 if (PyErr_Occurred()) SWIG_fail
;
30079 Py_INCREF(Py_None
); resultobj
= Py_None
;
30086 static PyObject
*_wrap_HelpEvent_GetLink(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30087 PyObject
*resultobj
;
30088 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
30090 PyObject
* obj0
= 0 ;
30091 char *kwnames
[] = {
30092 (char *) "self", NULL
30095 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpEvent_GetLink",kwnames
,&obj0
)) goto fail
;
30096 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpEvent
,
30097 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30101 wxString
const &_result_ref
= ((wxHelpEvent
const *)arg1
)->GetLink();
30102 result
= (wxString
*) &_result_ref
;
30105 wxPyEndAllowThreads(__tstate
);
30106 if (PyErr_Occurred()) SWIG_fail
;
30110 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
30112 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
30121 static PyObject
*_wrap_HelpEvent_SetLink(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30122 PyObject
*resultobj
;
30123 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
30124 wxString
*arg2
= 0 ;
30125 bool temp2
= False
;
30126 PyObject
* obj0
= 0 ;
30127 PyObject
* obj1
= 0 ;
30128 char *kwnames
[] = {
30129 (char *) "self",(char *) "link", NULL
30132 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetLink",kwnames
,&obj0
,&obj1
)) goto fail
;
30133 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpEvent
,
30134 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30136 arg2
= wxString_in_helper(obj1
);
30137 if (arg2
== NULL
) SWIG_fail
;
30141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30142 (arg1
)->SetLink((wxString
const &)*arg2
);
30144 wxPyEndAllowThreads(__tstate
);
30145 if (PyErr_Occurred()) SWIG_fail
;
30147 Py_INCREF(Py_None
); resultobj
= Py_None
;
30162 static PyObject
*_wrap_HelpEvent_GetTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30163 PyObject
*resultobj
;
30164 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
30166 PyObject
* obj0
= 0 ;
30167 char *kwnames
[] = {
30168 (char *) "self", NULL
30171 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpEvent_GetTarget",kwnames
,&obj0
)) goto fail
;
30172 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpEvent
,
30173 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30177 wxString
const &_result_ref
= ((wxHelpEvent
const *)arg1
)->GetTarget();
30178 result
= (wxString
*) &_result_ref
;
30181 wxPyEndAllowThreads(__tstate
);
30182 if (PyErr_Occurred()) SWIG_fail
;
30186 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
30188 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
30197 static PyObject
*_wrap_HelpEvent_SetTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30198 PyObject
*resultobj
;
30199 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
30200 wxString
*arg2
= 0 ;
30201 bool temp2
= False
;
30202 PyObject
* obj0
= 0 ;
30203 PyObject
* obj1
= 0 ;
30204 char *kwnames
[] = {
30205 (char *) "self",(char *) "target", NULL
30208 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetTarget",kwnames
,&obj0
,&obj1
)) goto fail
;
30209 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpEvent
,
30210 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30212 arg2
= wxString_in_helper(obj1
);
30213 if (arg2
== NULL
) SWIG_fail
;
30217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30218 (arg1
)->SetTarget((wxString
const &)*arg2
);
30220 wxPyEndAllowThreads(__tstate
);
30221 if (PyErr_Occurred()) SWIG_fail
;
30223 Py_INCREF(Py_None
); resultobj
= Py_None
;
30238 static PyObject
* HelpEvent_swigregister(PyObject
*self
, PyObject
*args
) {
30240 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
30241 SWIG_TypeClientData(SWIGTYPE_p_wxHelpEvent
, obj
);
30243 return Py_BuildValue((char *)"");
30245 static PyObject
*_wrap_new_ContextHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30246 PyObject
*resultobj
;
30247 wxWindow
*arg1
= (wxWindow
*) NULL
;
30248 bool arg2
= (bool) True
;
30249 wxContextHelp
*result
;
30250 PyObject
* obj0
= 0 ;
30251 PyObject
* obj1
= 0 ;
30252 char *kwnames
[] = {
30253 (char *) "window",(char *) "doNow", NULL
30256 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_ContextHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
30258 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
30259 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30262 arg2
= (bool) SWIG_AsBool(obj1
);
30263 if (PyErr_Occurred()) SWIG_fail
;
30266 if (!wxPyCheckForApp()) SWIG_fail
;
30267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30268 result
= (wxContextHelp
*)new wxContextHelp(arg1
,arg2
);
30270 wxPyEndAllowThreads(__tstate
);
30271 if (PyErr_Occurred()) SWIG_fail
;
30273 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxContextHelp
, 1);
30280 static PyObject
*_wrap_delete_ContextHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30281 PyObject
*resultobj
;
30282 wxContextHelp
*arg1
= (wxContextHelp
*) 0 ;
30283 PyObject
* obj0
= 0 ;
30284 char *kwnames
[] = {
30285 (char *) "self", NULL
30288 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ContextHelp",kwnames
,&obj0
)) goto fail
;
30289 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxContextHelp
,
30290 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30295 wxPyEndAllowThreads(__tstate
);
30296 if (PyErr_Occurred()) SWIG_fail
;
30298 Py_INCREF(Py_None
); resultobj
= Py_None
;
30305 static PyObject
*_wrap_ContextHelp_BeginContextHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30306 PyObject
*resultobj
;
30307 wxContextHelp
*arg1
= (wxContextHelp
*) 0 ;
30308 wxWindow
*arg2
= (wxWindow
*) NULL
;
30310 PyObject
* obj0
= 0 ;
30311 PyObject
* obj1
= 0 ;
30312 char *kwnames
[] = {
30313 (char *) "self",(char *) "window", NULL
30316 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ContextHelp_BeginContextHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
30317 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxContextHelp
,
30318 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30320 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
30321 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30325 result
= (bool)(arg1
)->BeginContextHelp(arg2
);
30327 wxPyEndAllowThreads(__tstate
);
30328 if (PyErr_Occurred()) SWIG_fail
;
30331 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30339 static PyObject
*_wrap_ContextHelp_EndContextHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30340 PyObject
*resultobj
;
30341 wxContextHelp
*arg1
= (wxContextHelp
*) 0 ;
30343 PyObject
* obj0
= 0 ;
30344 char *kwnames
[] = {
30345 (char *) "self", NULL
30348 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ContextHelp_EndContextHelp",kwnames
,&obj0
)) goto fail
;
30349 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxContextHelp
,
30350 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30353 result
= (bool)(arg1
)->EndContextHelp();
30355 wxPyEndAllowThreads(__tstate
);
30356 if (PyErr_Occurred()) SWIG_fail
;
30359 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30367 static PyObject
* ContextHelp_swigregister(PyObject
*self
, PyObject
*args
) {
30369 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
30370 SWIG_TypeClientData(SWIGTYPE_p_wxContextHelp
, obj
);
30372 return Py_BuildValue((char *)"");
30374 static PyObject
*_wrap_new_ContextHelpButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30375 PyObject
*resultobj
;
30376 wxWindow
*arg1
= (wxWindow
*) 0 ;
30377 int arg2
= (int) wxID_CONTEXT_HELP
;
30378 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
30379 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
30380 wxSize
const &arg4_defvalue
= wxDefaultSize
;
30381 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
30382 long arg5
= (long) wxBU_AUTODRAW
;
30383 wxContextHelpButton
*result
;
30386 PyObject
* obj0
= 0 ;
30387 PyObject
* obj1
= 0 ;
30388 PyObject
* obj2
= 0 ;
30389 PyObject
* obj3
= 0 ;
30390 PyObject
* obj4
= 0 ;
30391 char *kwnames
[] = {
30392 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
30395 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:new_ContextHelpButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
30396 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
30397 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30399 arg2
= (int) SWIG_AsInt(obj1
);
30400 if (PyErr_Occurred()) SWIG_fail
;
30405 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
30411 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
30415 arg5
= (long) SWIG_AsLong(obj4
);
30416 if (PyErr_Occurred()) SWIG_fail
;
30419 if (!wxPyCheckForApp()) SWIG_fail
;
30420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30421 result
= (wxContextHelpButton
*)new wxContextHelpButton(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
);
30423 wxPyEndAllowThreads(__tstate
);
30424 if (PyErr_Occurred()) SWIG_fail
;
30426 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxContextHelpButton
, 1);
30433 static PyObject
* ContextHelpButton_swigregister(PyObject
*self
, PyObject
*args
) {
30435 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
30436 SWIG_TypeClientData(SWIGTYPE_p_wxContextHelpButton
, obj
);
30438 return Py_BuildValue((char *)"");
30440 static PyObject
*_wrap_HelpProvider_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30441 PyObject
*resultobj
;
30442 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
30443 wxHelpProvider
*result
;
30444 PyObject
* obj0
= 0 ;
30445 char *kwnames
[] = {
30446 (char *) "helpProvider", NULL
30449 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpProvider_Set",kwnames
,&obj0
)) goto fail
;
30450 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpProvider
,
30451 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30454 result
= (wxHelpProvider
*)wxHelpProvider::Set(arg1
);
30456 wxPyEndAllowThreads(__tstate
);
30457 if (PyErr_Occurred()) SWIG_fail
;
30459 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHelpProvider
, 0);
30466 static PyObject
*_wrap_HelpProvider_Get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30467 PyObject
*resultobj
;
30468 wxHelpProvider
*result
;
30469 char *kwnames
[] = {
30473 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":HelpProvider_Get",kwnames
)) goto fail
;
30475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30476 result
= (wxHelpProvider
*)wxHelpProvider::Get();
30478 wxPyEndAllowThreads(__tstate
);
30479 if (PyErr_Occurred()) SWIG_fail
;
30481 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHelpProvider
, 0);
30488 static PyObject
*_wrap_HelpProvider_GetHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30489 PyObject
*resultobj
;
30490 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
30491 wxWindow
*arg2
= (wxWindow
*) 0 ;
30493 PyObject
* obj0
= 0 ;
30494 PyObject
* obj1
= 0 ;
30495 char *kwnames
[] = {
30496 (char *) "self",(char *) "window", NULL
30499 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpProvider_GetHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
30500 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpProvider
,
30501 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30502 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
30503 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30506 result
= (arg1
)->GetHelp((wxWindow
const *)arg2
);
30508 wxPyEndAllowThreads(__tstate
);
30509 if (PyErr_Occurred()) SWIG_fail
;
30513 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
30515 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
30524 static PyObject
*_wrap_HelpProvider_ShowHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30525 PyObject
*resultobj
;
30526 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
30527 wxWindow
*arg2
= (wxWindow
*) 0 ;
30529 PyObject
* obj0
= 0 ;
30530 PyObject
* obj1
= 0 ;
30531 char *kwnames
[] = {
30532 (char *) "self",(char *) "window", NULL
30535 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpProvider_ShowHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
30536 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpProvider
,
30537 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30538 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
30539 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30542 result
= (bool)(arg1
)->ShowHelp(arg2
);
30544 wxPyEndAllowThreads(__tstate
);
30545 if (PyErr_Occurred()) SWIG_fail
;
30548 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30556 static PyObject
*_wrap_HelpProvider_AddHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30557 PyObject
*resultobj
;
30558 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
30559 wxWindow
*arg2
= (wxWindow
*) 0 ;
30560 wxString
*arg3
= 0 ;
30561 bool temp3
= False
;
30562 PyObject
* obj0
= 0 ;
30563 PyObject
* obj1
= 0 ;
30564 PyObject
* obj2
= 0 ;
30565 char *kwnames
[] = {
30566 (char *) "self",(char *) "window",(char *) "text", NULL
30569 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HelpProvider_AddHelp",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30570 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpProvider
,
30571 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30572 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
30573 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30575 arg3
= wxString_in_helper(obj2
);
30576 if (arg3
== NULL
) SWIG_fail
;
30580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30581 (arg1
)->AddHelp(arg2
,(wxString
const &)*arg3
);
30583 wxPyEndAllowThreads(__tstate
);
30584 if (PyErr_Occurred()) SWIG_fail
;
30586 Py_INCREF(Py_None
); resultobj
= Py_None
;
30601 static PyObject
*_wrap_HelpProvider_AddHelpById(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30602 PyObject
*resultobj
;
30603 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
30605 wxString
*arg3
= 0 ;
30606 bool temp3
= False
;
30607 PyObject
* obj0
= 0 ;
30608 PyObject
* obj1
= 0 ;
30609 PyObject
* obj2
= 0 ;
30610 char *kwnames
[] = {
30611 (char *) "self",(char *) "id",(char *) "text", NULL
30614 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HelpProvider_AddHelpById",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30615 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpProvider
,
30616 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30617 arg2
= (int) SWIG_AsInt(obj1
);
30618 if (PyErr_Occurred()) SWIG_fail
;
30620 arg3
= wxString_in_helper(obj2
);
30621 if (arg3
== NULL
) SWIG_fail
;
30625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30626 (arg1
)->AddHelp(arg2
,(wxString
const &)*arg3
);
30628 wxPyEndAllowThreads(__tstate
);
30629 if (PyErr_Occurred()) SWIG_fail
;
30631 Py_INCREF(Py_None
); resultobj
= Py_None
;
30646 static PyObject
*_wrap_HelpProvider_RemoveHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30647 PyObject
*resultobj
;
30648 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
30649 wxWindow
*arg2
= (wxWindow
*) 0 ;
30650 PyObject
* obj0
= 0 ;
30651 PyObject
* obj1
= 0 ;
30652 char *kwnames
[] = {
30653 (char *) "self",(char *) "window", NULL
30656 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpProvider_RemoveHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
30657 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpProvider
,
30658 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30659 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
30660 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30663 (arg1
)->RemoveHelp(arg2
);
30665 wxPyEndAllowThreads(__tstate
);
30666 if (PyErr_Occurred()) SWIG_fail
;
30668 Py_INCREF(Py_None
); resultobj
= Py_None
;
30675 static PyObject
*_wrap_HelpProvider_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30676 PyObject
*resultobj
;
30677 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
30678 PyObject
* obj0
= 0 ;
30679 char *kwnames
[] = {
30680 (char *) "self", NULL
30683 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpProvider_Destroy",kwnames
,&obj0
)) goto fail
;
30684 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpProvider
,
30685 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30688 wxHelpProvider_Destroy(arg1
);
30690 wxPyEndAllowThreads(__tstate
);
30691 if (PyErr_Occurred()) SWIG_fail
;
30693 Py_INCREF(Py_None
); resultobj
= Py_None
;
30700 static PyObject
* HelpProvider_swigregister(PyObject
*self
, PyObject
*args
) {
30702 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
30703 SWIG_TypeClientData(SWIGTYPE_p_wxHelpProvider
, obj
);
30705 return Py_BuildValue((char *)"");
30707 static PyObject
*_wrap_new_SimpleHelpProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30708 PyObject
*resultobj
;
30709 wxSimpleHelpProvider
*result
;
30710 char *kwnames
[] = {
30714 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_SimpleHelpProvider",kwnames
)) goto fail
;
30716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30717 result
= (wxSimpleHelpProvider
*)new wxSimpleHelpProvider();
30719 wxPyEndAllowThreads(__tstate
);
30720 if (PyErr_Occurred()) SWIG_fail
;
30722 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSimpleHelpProvider
, 1);
30729 static PyObject
* SimpleHelpProvider_swigregister(PyObject
*self
, PyObject
*args
) {
30731 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
30732 SWIG_TypeClientData(SWIGTYPE_p_wxSimpleHelpProvider
, obj
);
30734 return Py_BuildValue((char *)"");
30736 static PyObject
*_wrap_new_DragImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30737 PyObject
*resultobj
;
30738 wxBitmap
*arg1
= 0 ;
30739 wxCursor
const &arg2_defvalue
= wxNullCursor
;
30740 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
30741 wxGenericDragImage
*result
;
30742 PyObject
* obj0
= 0 ;
30743 PyObject
* obj1
= 0 ;
30744 char *kwnames
[] = {
30745 (char *) "image",(char *) "cursor", NULL
30748 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragImage",kwnames
,&obj0
,&obj1
)) goto fail
;
30749 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
30750 SWIG_POINTER_EXCEPTION
| 0)) == -1)
30752 if (arg1
== NULL
) {
30753 PyErr_SetString(PyExc_TypeError
,"null reference");
30757 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxCursor
,
30758 SWIG_POINTER_EXCEPTION
| 0)) == -1)
30760 if (arg2
== NULL
) {
30761 PyErr_SetString(PyExc_TypeError
,"null reference");
30766 if (!wxPyCheckForApp()) SWIG_fail
;
30767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30768 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxBitmap
const &)*arg1
,(wxCursor
const &)*arg2
);
30770 wxPyEndAllowThreads(__tstate
);
30771 if (PyErr_Occurred()) SWIG_fail
;
30773 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDragImage
, 1);
30780 static PyObject
*_wrap_new_DragIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30781 PyObject
*resultobj
;
30783 wxCursor
const &arg2_defvalue
= wxNullCursor
;
30784 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
30785 wxGenericDragImage
*result
;
30786 PyObject
* obj0
= 0 ;
30787 PyObject
* obj1
= 0 ;
30788 char *kwnames
[] = {
30789 (char *) "image",(char *) "cursor", NULL
30792 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
30793 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
30794 SWIG_POINTER_EXCEPTION
| 0)) == -1)
30796 if (arg1
== NULL
) {
30797 PyErr_SetString(PyExc_TypeError
,"null reference");
30801 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxCursor
,
30802 SWIG_POINTER_EXCEPTION
| 0)) == -1)
30804 if (arg2
== NULL
) {
30805 PyErr_SetString(PyExc_TypeError
,"null reference");
30810 if (!wxPyCheckForApp()) SWIG_fail
;
30811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30812 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxIcon
const &)*arg1
,(wxCursor
const &)*arg2
);
30814 wxPyEndAllowThreads(__tstate
);
30815 if (PyErr_Occurred()) SWIG_fail
;
30817 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDragImage
, 1);
30824 static PyObject
*_wrap_new_DragString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30825 PyObject
*resultobj
;
30826 wxString
*arg1
= 0 ;
30827 wxCursor
const &arg2_defvalue
= wxNullCursor
;
30828 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
30829 wxGenericDragImage
*result
;
30830 bool temp1
= False
;
30831 PyObject
* obj0
= 0 ;
30832 PyObject
* obj1
= 0 ;
30833 char *kwnames
[] = {
30834 (char *) "str",(char *) "cursor", NULL
30837 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragString",kwnames
,&obj0
,&obj1
)) goto fail
;
30839 arg1
= wxString_in_helper(obj0
);
30840 if (arg1
== NULL
) SWIG_fail
;
30844 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxCursor
,
30845 SWIG_POINTER_EXCEPTION
| 0)) == -1)
30847 if (arg2
== NULL
) {
30848 PyErr_SetString(PyExc_TypeError
,"null reference");
30853 if (!wxPyCheckForApp()) SWIG_fail
;
30854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30855 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxString
const &)*arg1
,(wxCursor
const &)*arg2
);
30857 wxPyEndAllowThreads(__tstate
);
30858 if (PyErr_Occurred()) SWIG_fail
;
30860 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDragImage
, 1);
30875 static PyObject
*_wrap_new_DragTreeItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30876 PyObject
*resultobj
;
30877 wxPyTreeCtrl
*arg1
= 0 ;
30878 wxTreeItemId
*arg2
= 0 ;
30879 wxGenericDragImage
*result
;
30880 PyObject
* obj0
= 0 ;
30881 PyObject
* obj1
= 0 ;
30882 char *kwnames
[] = {
30883 (char *) "treeCtrl",(char *) "id", NULL
30886 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_DragTreeItem",kwnames
,&obj0
,&obj1
)) goto fail
;
30887 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
30888 SWIG_POINTER_EXCEPTION
| 0)) == -1)
30890 if (arg1
== NULL
) {
30891 PyErr_SetString(PyExc_TypeError
,"null reference");
30894 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
30895 SWIG_POINTER_EXCEPTION
| 0)) == -1)
30897 if (arg2
== NULL
) {
30898 PyErr_SetString(PyExc_TypeError
,"null reference");
30902 if (!wxPyCheckForApp()) SWIG_fail
;
30903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30904 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxPyTreeCtrl
const &)*arg1
,*arg2
);
30906 wxPyEndAllowThreads(__tstate
);
30907 if (PyErr_Occurred()) SWIG_fail
;
30909 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDragImage
, 1);
30916 static PyObject
*_wrap_new_DragListItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30917 PyObject
*resultobj
;
30918 wxPyListCtrl
*arg1
= 0 ;
30920 wxGenericDragImage
*result
;
30921 PyObject
* obj0
= 0 ;
30922 PyObject
* obj1
= 0 ;
30923 char *kwnames
[] = {
30924 (char *) "listCtrl",(char *) "id", NULL
30927 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_DragListItem",kwnames
,&obj0
,&obj1
)) goto fail
;
30928 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
30929 SWIG_POINTER_EXCEPTION
| 0)) == -1)
30931 if (arg1
== NULL
) {
30932 PyErr_SetString(PyExc_TypeError
,"null reference");
30935 arg2
= (long) SWIG_AsLong(obj1
);
30936 if (PyErr_Occurred()) SWIG_fail
;
30938 if (!wxPyCheckForApp()) SWIG_fail
;
30939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30940 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxPyListCtrl
const &)*arg1
,arg2
);
30942 wxPyEndAllowThreads(__tstate
);
30943 if (PyErr_Occurred()) SWIG_fail
;
30945 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDragImage
, 1);
30952 static PyObject
*_wrap_delete_DragImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30953 PyObject
*resultobj
;
30954 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
30955 PyObject
* obj0
= 0 ;
30956 char *kwnames
[] = {
30957 (char *) "self", NULL
30960 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DragImage",kwnames
,&obj0
)) goto fail
;
30961 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
30962 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30967 wxPyEndAllowThreads(__tstate
);
30968 if (PyErr_Occurred()) SWIG_fail
;
30970 Py_INCREF(Py_None
); resultobj
= Py_None
;
30977 static PyObject
*_wrap_DragImage_SetBackingBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30978 PyObject
*resultobj
;
30979 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
30980 wxBitmap
*arg2
= (wxBitmap
*) 0 ;
30981 PyObject
* obj0
= 0 ;
30982 PyObject
* obj1
= 0 ;
30983 char *kwnames
[] = {
30984 (char *) "self",(char *) "bitmap", NULL
30987 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_SetBackingBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
30988 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
30989 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30990 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
30991 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30994 (arg1
)->SetBackingBitmap(arg2
);
30996 wxPyEndAllowThreads(__tstate
);
30997 if (PyErr_Occurred()) SWIG_fail
;
30999 Py_INCREF(Py_None
); resultobj
= Py_None
;
31006 static PyObject
*_wrap_DragImage_BeginDrag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31007 PyObject
*resultobj
;
31008 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
31009 wxPoint
*arg2
= 0 ;
31010 wxWindow
*arg3
= (wxWindow
*) 0 ;
31011 bool arg4
= (bool) False
;
31012 wxRect
*arg5
= (wxRect
*) NULL
;
31015 PyObject
* obj0
= 0 ;
31016 PyObject
* obj1
= 0 ;
31017 PyObject
* obj2
= 0 ;
31018 PyObject
* obj3
= 0 ;
31019 PyObject
* obj4
= 0 ;
31020 char *kwnames
[] = {
31021 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "fullScreen",(char *) "rect", NULL
31024 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:DragImage_BeginDrag",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
31025 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
31026 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31029 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
31031 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
31032 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31034 arg4
= (bool) SWIG_AsBool(obj3
);
31035 if (PyErr_Occurred()) SWIG_fail
;
31038 if ((SWIG_ConvertPtr(obj4
,(void **)(&arg5
),SWIGTYPE_p_wxRect
,
31039 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31043 result
= (bool)(arg1
)->BeginDrag((wxPoint
const &)*arg2
,arg3
,arg4
,arg5
);
31045 wxPyEndAllowThreads(__tstate
);
31046 if (PyErr_Occurred()) SWIG_fail
;
31049 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31057 static PyObject
*_wrap_DragImage_BeginDragBounded(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31058 PyObject
*resultobj
;
31059 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
31060 wxPoint
*arg2
= 0 ;
31061 wxWindow
*arg3
= (wxWindow
*) 0 ;
31062 wxWindow
*arg4
= (wxWindow
*) 0 ;
31065 PyObject
* obj0
= 0 ;
31066 PyObject
* obj1
= 0 ;
31067 PyObject
* obj2
= 0 ;
31068 PyObject
* obj3
= 0 ;
31069 char *kwnames
[] = {
31070 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "boundingWindow", NULL
31073 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DragImage_BeginDragBounded",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
31074 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
31075 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31078 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
31080 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
31081 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31082 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxWindow
,
31083 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31086 result
= (bool)(arg1
)->BeginDrag((wxPoint
const &)*arg2
,arg3
,arg4
);
31088 wxPyEndAllowThreads(__tstate
);
31089 if (PyErr_Occurred()) SWIG_fail
;
31092 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31100 static PyObject
*_wrap_DragImage_EndDrag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31101 PyObject
*resultobj
;
31102 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
31104 PyObject
* obj0
= 0 ;
31105 char *kwnames
[] = {
31106 (char *) "self", NULL
31109 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DragImage_EndDrag",kwnames
,&obj0
)) goto fail
;
31110 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
31111 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31114 result
= (bool)(arg1
)->EndDrag();
31116 wxPyEndAllowThreads(__tstate
);
31117 if (PyErr_Occurred()) SWIG_fail
;
31120 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31128 static PyObject
*_wrap_DragImage_Move(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31129 PyObject
*resultobj
;
31130 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
31131 wxPoint
*arg2
= 0 ;
31134 PyObject
* obj0
= 0 ;
31135 PyObject
* obj1
= 0 ;
31136 char *kwnames
[] = {
31137 (char *) "self",(char *) "pt", NULL
31140 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_Move",kwnames
,&obj0
,&obj1
)) goto fail
;
31141 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
31142 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31145 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
31148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31149 result
= (bool)(arg1
)->Move((wxPoint
const &)*arg2
);
31151 wxPyEndAllowThreads(__tstate
);
31152 if (PyErr_Occurred()) SWIG_fail
;
31155 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31163 static PyObject
*_wrap_DragImage_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31164 PyObject
*resultobj
;
31165 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
31167 PyObject
* obj0
= 0 ;
31168 char *kwnames
[] = {
31169 (char *) "self", NULL
31172 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DragImage_Show",kwnames
,&obj0
)) goto fail
;
31173 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
31174 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31177 result
= (bool)(arg1
)->Show();
31179 wxPyEndAllowThreads(__tstate
);
31180 if (PyErr_Occurred()) SWIG_fail
;
31183 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31191 static PyObject
*_wrap_DragImage_Hide(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31192 PyObject
*resultobj
;
31193 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
31195 PyObject
* obj0
= 0 ;
31196 char *kwnames
[] = {
31197 (char *) "self", NULL
31200 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DragImage_Hide",kwnames
,&obj0
)) goto fail
;
31201 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
31202 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31205 result
= (bool)(arg1
)->Hide();
31207 wxPyEndAllowThreads(__tstate
);
31208 if (PyErr_Occurred()) SWIG_fail
;
31211 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31219 static PyObject
*_wrap_DragImage_GetImageRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31220 PyObject
*resultobj
;
31221 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
31222 wxPoint
*arg2
= 0 ;
31225 PyObject
* obj0
= 0 ;
31226 PyObject
* obj1
= 0 ;
31227 char *kwnames
[] = {
31228 (char *) "self",(char *) "pos", NULL
31231 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_GetImageRect",kwnames
,&obj0
,&obj1
)) goto fail
;
31232 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
31233 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31236 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
31239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31240 result
= ((wxGenericDragImage
const *)arg1
)->GetImageRect((wxPoint
const &)*arg2
);
31242 wxPyEndAllowThreads(__tstate
);
31243 if (PyErr_Occurred()) SWIG_fail
;
31246 wxRect
* resultptr
;
31247 resultptr
= new wxRect((wxRect
&) result
);
31248 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
31256 static PyObject
*_wrap_DragImage_DoDrawImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31257 PyObject
*resultobj
;
31258 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
31260 wxPoint
*arg3
= 0 ;
31263 PyObject
* obj0
= 0 ;
31264 PyObject
* obj1
= 0 ;
31265 PyObject
* obj2
= 0 ;
31266 char *kwnames
[] = {
31267 (char *) "self",(char *) "dc",(char *) "pos", NULL
31270 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DragImage_DoDrawImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
31271 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
31272 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31273 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
31274 SWIG_POINTER_EXCEPTION
| 0)) == -1)
31276 if (arg2
== NULL
) {
31277 PyErr_SetString(PyExc_TypeError
,"null reference");
31282 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
31285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31286 result
= (bool)((wxGenericDragImage
const *)arg1
)->DoDrawImage(*arg2
,(wxPoint
const &)*arg3
);
31288 wxPyEndAllowThreads(__tstate
);
31289 if (PyErr_Occurred()) SWIG_fail
;
31292 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31300 static PyObject
*_wrap_DragImage_UpdateBackingFromWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31301 PyObject
*resultobj
;
31302 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
31304 wxMemoryDC
*arg3
= 0 ;
31310 PyObject
* obj0
= 0 ;
31311 PyObject
* obj1
= 0 ;
31312 PyObject
* obj2
= 0 ;
31313 PyObject
* obj3
= 0 ;
31314 PyObject
* obj4
= 0 ;
31315 char *kwnames
[] = {
31316 (char *) "self",(char *) "windowDC",(char *) "destDC",(char *) "sourceRect",(char *) "destRect", NULL
31319 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DragImage_UpdateBackingFromWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
31320 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
31321 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31322 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
31323 SWIG_POINTER_EXCEPTION
| 0)) == -1)
31325 if (arg2
== NULL
) {
31326 PyErr_SetString(PyExc_TypeError
,"null reference");
31329 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxMemoryDC
,
31330 SWIG_POINTER_EXCEPTION
| 0)) == -1)
31332 if (arg3
== NULL
) {
31333 PyErr_SetString(PyExc_TypeError
,"null reference");
31338 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
31342 if ( ! wxRect_helper(obj4
, &arg5
)) SWIG_fail
;
31345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31346 result
= (bool)((wxGenericDragImage
const *)arg1
)->UpdateBackingFromWindow(*arg2
,*arg3
,(wxRect
const &)*arg4
,(wxRect
const &)*arg5
);
31348 wxPyEndAllowThreads(__tstate
);
31349 if (PyErr_Occurred()) SWIG_fail
;
31352 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31360 static PyObject
*_wrap_DragImage_RedrawImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31361 PyObject
*resultobj
;
31362 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
31363 wxPoint
*arg2
= 0 ;
31364 wxPoint
*arg3
= 0 ;
31370 PyObject
* obj0
= 0 ;
31371 PyObject
* obj1
= 0 ;
31372 PyObject
* obj2
= 0 ;
31373 PyObject
* obj3
= 0 ;
31374 PyObject
* obj4
= 0 ;
31375 char *kwnames
[] = {
31376 (char *) "self",(char *) "oldPos",(char *) "newPos",(char *) "eraseOld",(char *) "drawNew", NULL
31379 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DragImage_RedrawImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
31380 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
31381 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31384 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
31388 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
31390 arg4
= (bool) SWIG_AsBool(obj3
);
31391 if (PyErr_Occurred()) SWIG_fail
;
31392 arg5
= (bool) SWIG_AsBool(obj4
);
31393 if (PyErr_Occurred()) SWIG_fail
;
31395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31396 result
= (bool)(arg1
)->RedrawImage((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
,arg5
);
31398 wxPyEndAllowThreads(__tstate
);
31399 if (PyErr_Occurred()) SWIG_fail
;
31402 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31410 static PyObject
* DragImage_swigregister(PyObject
*self
, PyObject
*args
) {
31412 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
31413 SWIG_TypeClientData(SWIGTYPE_p_wxGenericDragImage
, obj
);
31415 return Py_BuildValue((char *)"");
31417 static PyMethodDef SwigMethods
[] = {
31418 { (char *)"new_Button", (PyCFunction
) _wrap_new_Button
, METH_VARARGS
| METH_KEYWORDS
},
31419 { (char *)"new_PreButton", (PyCFunction
) _wrap_new_PreButton
, METH_VARARGS
| METH_KEYWORDS
},
31420 { (char *)"Button_Create", (PyCFunction
) _wrap_Button_Create
, METH_VARARGS
| METH_KEYWORDS
},
31421 { (char *)"Button_SetDefault", (PyCFunction
) _wrap_Button_SetDefault
, METH_VARARGS
| METH_KEYWORDS
},
31422 { (char *)"Button_GetDefaultSize", (PyCFunction
) _wrap_Button_GetDefaultSize
, METH_VARARGS
| METH_KEYWORDS
},
31423 { (char *)"Button_GetClassDefaultAttributes", (PyCFunction
) _wrap_Button_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31424 { (char *)"Button_swigregister", Button_swigregister
, METH_VARARGS
},
31425 { (char *)"new_BitmapButton", (PyCFunction
) _wrap_new_BitmapButton
, METH_VARARGS
| METH_KEYWORDS
},
31426 { (char *)"new_PreBitmapButton", (PyCFunction
) _wrap_new_PreBitmapButton
, METH_VARARGS
| METH_KEYWORDS
},
31427 { (char *)"BitmapButton_Create", (PyCFunction
) _wrap_BitmapButton_Create
, METH_VARARGS
| METH_KEYWORDS
},
31428 { (char *)"BitmapButton_GetBitmapLabel", (PyCFunction
) _wrap_BitmapButton_GetBitmapLabel
, METH_VARARGS
| METH_KEYWORDS
},
31429 { (char *)"BitmapButton_GetBitmapDisabled", (PyCFunction
) _wrap_BitmapButton_GetBitmapDisabled
, METH_VARARGS
| METH_KEYWORDS
},
31430 { (char *)"BitmapButton_GetBitmapFocus", (PyCFunction
) _wrap_BitmapButton_GetBitmapFocus
, METH_VARARGS
| METH_KEYWORDS
},
31431 { (char *)"BitmapButton_GetBitmapSelected", (PyCFunction
) _wrap_BitmapButton_GetBitmapSelected
, METH_VARARGS
| METH_KEYWORDS
},
31432 { (char *)"BitmapButton_SetBitmapDisabled", (PyCFunction
) _wrap_BitmapButton_SetBitmapDisabled
, METH_VARARGS
| METH_KEYWORDS
},
31433 { (char *)"BitmapButton_SetBitmapFocus", (PyCFunction
) _wrap_BitmapButton_SetBitmapFocus
, METH_VARARGS
| METH_KEYWORDS
},
31434 { (char *)"BitmapButton_SetBitmapSelected", (PyCFunction
) _wrap_BitmapButton_SetBitmapSelected
, METH_VARARGS
| METH_KEYWORDS
},
31435 { (char *)"BitmapButton_SetBitmapLabel", (PyCFunction
) _wrap_BitmapButton_SetBitmapLabel
, METH_VARARGS
| METH_KEYWORDS
},
31436 { (char *)"BitmapButton_SetMargins", (PyCFunction
) _wrap_BitmapButton_SetMargins
, METH_VARARGS
| METH_KEYWORDS
},
31437 { (char *)"BitmapButton_GetMarginX", (PyCFunction
) _wrap_BitmapButton_GetMarginX
, METH_VARARGS
| METH_KEYWORDS
},
31438 { (char *)"BitmapButton_GetMarginY", (PyCFunction
) _wrap_BitmapButton_GetMarginY
, METH_VARARGS
| METH_KEYWORDS
},
31439 { (char *)"BitmapButton_swigregister", BitmapButton_swigregister
, METH_VARARGS
},
31440 { (char *)"new_CheckBox", (PyCFunction
) _wrap_new_CheckBox
, METH_VARARGS
| METH_KEYWORDS
},
31441 { (char *)"new_PreCheckBox", (PyCFunction
) _wrap_new_PreCheckBox
, METH_VARARGS
| METH_KEYWORDS
},
31442 { (char *)"CheckBox_Create", (PyCFunction
) _wrap_CheckBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
31443 { (char *)"CheckBox_GetValue", (PyCFunction
) _wrap_CheckBox_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
31444 { (char *)"CheckBox_IsChecked", (PyCFunction
) _wrap_CheckBox_IsChecked
, METH_VARARGS
| METH_KEYWORDS
},
31445 { (char *)"CheckBox_SetValue", (PyCFunction
) _wrap_CheckBox_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
31446 { (char *)"CheckBox_Get3StateValue", (PyCFunction
) _wrap_CheckBox_Get3StateValue
, METH_VARARGS
| METH_KEYWORDS
},
31447 { (char *)"CheckBox_Set3StateValue", (PyCFunction
) _wrap_CheckBox_Set3StateValue
, METH_VARARGS
| METH_KEYWORDS
},
31448 { (char *)"CheckBox_Is3State", (PyCFunction
) _wrap_CheckBox_Is3State
, METH_VARARGS
| METH_KEYWORDS
},
31449 { (char *)"CheckBox_Is3rdStateAllowedForUser", (PyCFunction
) _wrap_CheckBox_Is3rdStateAllowedForUser
, METH_VARARGS
| METH_KEYWORDS
},
31450 { (char *)"CheckBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_CheckBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31451 { (char *)"CheckBox_swigregister", CheckBox_swigregister
, METH_VARARGS
},
31452 { (char *)"new_Choice", (PyCFunction
) _wrap_new_Choice
, METH_VARARGS
| METH_KEYWORDS
},
31453 { (char *)"new_PreChoice", (PyCFunction
) _wrap_new_PreChoice
, METH_VARARGS
| METH_KEYWORDS
},
31454 { (char *)"Choice_Create", (PyCFunction
) _wrap_Choice_Create
, METH_VARARGS
| METH_KEYWORDS
},
31455 { (char *)"Choice_SetSelection", (PyCFunction
) _wrap_Choice_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
31456 { (char *)"Choice_SetStringSelection", (PyCFunction
) _wrap_Choice_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
31457 { (char *)"Choice_SetString", (PyCFunction
) _wrap_Choice_SetString
, METH_VARARGS
| METH_KEYWORDS
},
31458 { (char *)"Choice_GetClassDefaultAttributes", (PyCFunction
) _wrap_Choice_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31459 { (char *)"Choice_swigregister", Choice_swigregister
, METH_VARARGS
},
31460 { (char *)"new_ComboBox", (PyCFunction
) _wrap_new_ComboBox
, METH_VARARGS
| METH_KEYWORDS
},
31461 { (char *)"new_PreComboBox", (PyCFunction
) _wrap_new_PreComboBox
, METH_VARARGS
| METH_KEYWORDS
},
31462 { (char *)"ComboBox_Create", (PyCFunction
) _wrap_ComboBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
31463 { (char *)"ComboBox_GetValue", (PyCFunction
) _wrap_ComboBox_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
31464 { (char *)"ComboBox_SetValue", (PyCFunction
) _wrap_ComboBox_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
31465 { (char *)"ComboBox_Copy", (PyCFunction
) _wrap_ComboBox_Copy
, METH_VARARGS
| METH_KEYWORDS
},
31466 { (char *)"ComboBox_Cut", (PyCFunction
) _wrap_ComboBox_Cut
, METH_VARARGS
| METH_KEYWORDS
},
31467 { (char *)"ComboBox_Paste", (PyCFunction
) _wrap_ComboBox_Paste
, METH_VARARGS
| METH_KEYWORDS
},
31468 { (char *)"ComboBox_SetInsertionPoint", (PyCFunction
) _wrap_ComboBox_SetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
},
31469 { (char *)"ComboBox_GetInsertionPoint", (PyCFunction
) _wrap_ComboBox_GetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
},
31470 { (char *)"ComboBox_GetLastPosition", (PyCFunction
) _wrap_ComboBox_GetLastPosition
, METH_VARARGS
| METH_KEYWORDS
},
31471 { (char *)"ComboBox_Replace", (PyCFunction
) _wrap_ComboBox_Replace
, METH_VARARGS
| METH_KEYWORDS
},
31472 { (char *)"ComboBox_SetSelection", (PyCFunction
) _wrap_ComboBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
31473 { (char *)"ComboBox_SetMark", (PyCFunction
) _wrap_ComboBox_SetMark
, METH_VARARGS
| METH_KEYWORDS
},
31474 { (char *)"ComboBox_SetStringSelection", (PyCFunction
) _wrap_ComboBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
31475 { (char *)"ComboBox_SetString", (PyCFunction
) _wrap_ComboBox_SetString
, METH_VARARGS
| METH_KEYWORDS
},
31476 { (char *)"ComboBox_SetEditable", (PyCFunction
) _wrap_ComboBox_SetEditable
, METH_VARARGS
| METH_KEYWORDS
},
31477 { (char *)"ComboBox_SetInsertionPointEnd", (PyCFunction
) _wrap_ComboBox_SetInsertionPointEnd
, METH_VARARGS
| METH_KEYWORDS
},
31478 { (char *)"ComboBox_Remove", (PyCFunction
) _wrap_ComboBox_Remove
, METH_VARARGS
| METH_KEYWORDS
},
31479 { (char *)"ComboBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_ComboBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31480 { (char *)"ComboBox_swigregister", ComboBox_swigregister
, METH_VARARGS
},
31481 { (char *)"new_Gauge", (PyCFunction
) _wrap_new_Gauge
, METH_VARARGS
| METH_KEYWORDS
},
31482 { (char *)"new_PreGauge", (PyCFunction
) _wrap_new_PreGauge
, METH_VARARGS
| METH_KEYWORDS
},
31483 { (char *)"Gauge_Create", (PyCFunction
) _wrap_Gauge_Create
, METH_VARARGS
| METH_KEYWORDS
},
31484 { (char *)"Gauge_SetRange", (PyCFunction
) _wrap_Gauge_SetRange
, METH_VARARGS
| METH_KEYWORDS
},
31485 { (char *)"Gauge_GetRange", (PyCFunction
) _wrap_Gauge_GetRange
, METH_VARARGS
| METH_KEYWORDS
},
31486 { (char *)"Gauge_SetValue", (PyCFunction
) _wrap_Gauge_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
31487 { (char *)"Gauge_GetValue", (PyCFunction
) _wrap_Gauge_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
31488 { (char *)"Gauge_IsVertical", (PyCFunction
) _wrap_Gauge_IsVertical
, METH_VARARGS
| METH_KEYWORDS
},
31489 { (char *)"Gauge_SetShadowWidth", (PyCFunction
) _wrap_Gauge_SetShadowWidth
, METH_VARARGS
| METH_KEYWORDS
},
31490 { (char *)"Gauge_GetShadowWidth", (PyCFunction
) _wrap_Gauge_GetShadowWidth
, METH_VARARGS
| METH_KEYWORDS
},
31491 { (char *)"Gauge_SetBezelFace", (PyCFunction
) _wrap_Gauge_SetBezelFace
, METH_VARARGS
| METH_KEYWORDS
},
31492 { (char *)"Gauge_GetBezelFace", (PyCFunction
) _wrap_Gauge_GetBezelFace
, METH_VARARGS
| METH_KEYWORDS
},
31493 { (char *)"Gauge_GetClassDefaultAttributes", (PyCFunction
) _wrap_Gauge_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31494 { (char *)"Gauge_swigregister", Gauge_swigregister
, METH_VARARGS
},
31495 { (char *)"new_StaticBox", (PyCFunction
) _wrap_new_StaticBox
, METH_VARARGS
| METH_KEYWORDS
},
31496 { (char *)"new_PreStaticBox", (PyCFunction
) _wrap_new_PreStaticBox
, METH_VARARGS
| METH_KEYWORDS
},
31497 { (char *)"StaticBox_Create", (PyCFunction
) _wrap_StaticBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
31498 { (char *)"StaticBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_StaticBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31499 { (char *)"StaticBox_swigregister", StaticBox_swigregister
, METH_VARARGS
},
31500 { (char *)"new_StaticLine", (PyCFunction
) _wrap_new_StaticLine
, METH_VARARGS
| METH_KEYWORDS
},
31501 { (char *)"new_PreStaticLine", (PyCFunction
) _wrap_new_PreStaticLine
, METH_VARARGS
| METH_KEYWORDS
},
31502 { (char *)"StaticLine_Create", (PyCFunction
) _wrap_StaticLine_Create
, METH_VARARGS
| METH_KEYWORDS
},
31503 { (char *)"StaticLine_IsVertical", (PyCFunction
) _wrap_StaticLine_IsVertical
, METH_VARARGS
| METH_KEYWORDS
},
31504 { (char *)"StaticLine_GetDefaultSize", (PyCFunction
) _wrap_StaticLine_GetDefaultSize
, METH_VARARGS
| METH_KEYWORDS
},
31505 { (char *)"StaticLine_GetClassDefaultAttributes", (PyCFunction
) _wrap_StaticLine_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31506 { (char *)"StaticLine_swigregister", StaticLine_swigregister
, METH_VARARGS
},
31507 { (char *)"new_StaticText", (PyCFunction
) _wrap_new_StaticText
, METH_VARARGS
| METH_KEYWORDS
},
31508 { (char *)"new_PreStaticText", (PyCFunction
) _wrap_new_PreStaticText
, METH_VARARGS
| METH_KEYWORDS
},
31509 { (char *)"StaticText_Create", (PyCFunction
) _wrap_StaticText_Create
, METH_VARARGS
| METH_KEYWORDS
},
31510 { (char *)"StaticText_GetClassDefaultAttributes", (PyCFunction
) _wrap_StaticText_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31511 { (char *)"StaticText_swigregister", StaticText_swigregister
, METH_VARARGS
},
31512 { (char *)"new_StaticBitmap", (PyCFunction
) _wrap_new_StaticBitmap
, METH_VARARGS
| METH_KEYWORDS
},
31513 { (char *)"new_PreStaticBitmap", (PyCFunction
) _wrap_new_PreStaticBitmap
, METH_VARARGS
| METH_KEYWORDS
},
31514 { (char *)"StaticBitmap_Create", (PyCFunction
) _wrap_StaticBitmap_Create
, METH_VARARGS
| METH_KEYWORDS
},
31515 { (char *)"StaticBitmap_GetBitmap", (PyCFunction
) _wrap_StaticBitmap_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
31516 { (char *)"StaticBitmap_SetBitmap", (PyCFunction
) _wrap_StaticBitmap_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
31517 { (char *)"StaticBitmap_SetIcon", (PyCFunction
) _wrap_StaticBitmap_SetIcon
, METH_VARARGS
| METH_KEYWORDS
},
31518 { (char *)"StaticBitmap_GetClassDefaultAttributes", (PyCFunction
) _wrap_StaticBitmap_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31519 { (char *)"StaticBitmap_swigregister", StaticBitmap_swigregister
, METH_VARARGS
},
31520 { (char *)"new_ListBox", (PyCFunction
) _wrap_new_ListBox
, METH_VARARGS
| METH_KEYWORDS
},
31521 { (char *)"new_PreListBox", (PyCFunction
) _wrap_new_PreListBox
, METH_VARARGS
| METH_KEYWORDS
},
31522 { (char *)"ListBox_Create", (PyCFunction
) _wrap_ListBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
31523 { (char *)"ListBox_Insert", (PyCFunction
) _wrap_ListBox_Insert
, METH_VARARGS
| METH_KEYWORDS
},
31524 { (char *)"ListBox_InsertItems", (PyCFunction
) _wrap_ListBox_InsertItems
, METH_VARARGS
| METH_KEYWORDS
},
31525 { (char *)"ListBox_Set", (PyCFunction
) _wrap_ListBox_Set
, METH_VARARGS
| METH_KEYWORDS
},
31526 { (char *)"ListBox_IsSelected", (PyCFunction
) _wrap_ListBox_IsSelected
, METH_VARARGS
| METH_KEYWORDS
},
31527 { (char *)"ListBox_SetSelection", (PyCFunction
) _wrap_ListBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
31528 { (char *)"ListBox_Select", (PyCFunction
) _wrap_ListBox_Select
, METH_VARARGS
| METH_KEYWORDS
},
31529 { (char *)"ListBox_Deselect", (PyCFunction
) _wrap_ListBox_Deselect
, METH_VARARGS
| METH_KEYWORDS
},
31530 { (char *)"ListBox_DeselectAll", (PyCFunction
) _wrap_ListBox_DeselectAll
, METH_VARARGS
| METH_KEYWORDS
},
31531 { (char *)"ListBox_SetStringSelection", (PyCFunction
) _wrap_ListBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
31532 { (char *)"ListBox_GetSelections", (PyCFunction
) _wrap_ListBox_GetSelections
, METH_VARARGS
| METH_KEYWORDS
},
31533 { (char *)"ListBox_SetFirstItem", (PyCFunction
) _wrap_ListBox_SetFirstItem
, METH_VARARGS
| METH_KEYWORDS
},
31534 { (char *)"ListBox_SetFirstItemStr", (PyCFunction
) _wrap_ListBox_SetFirstItemStr
, METH_VARARGS
| METH_KEYWORDS
},
31535 { (char *)"ListBox_EnsureVisible", (PyCFunction
) _wrap_ListBox_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
},
31536 { (char *)"ListBox_AppendAndEnsureVisible", (PyCFunction
) _wrap_ListBox_AppendAndEnsureVisible
, METH_VARARGS
| METH_KEYWORDS
},
31537 { (char *)"ListBox_IsSorted", (PyCFunction
) _wrap_ListBox_IsSorted
, METH_VARARGS
| METH_KEYWORDS
},
31538 { (char *)"ListBox_SetItemForegroundColour", (PyCFunction
) _wrap_ListBox_SetItemForegroundColour
, METH_VARARGS
| METH_KEYWORDS
},
31539 { (char *)"ListBox_SetItemBackgroundColour", (PyCFunction
) _wrap_ListBox_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
31540 { (char *)"ListBox_SetItemFont", (PyCFunction
) _wrap_ListBox_SetItemFont
, METH_VARARGS
| METH_KEYWORDS
},
31541 { (char *)"ListBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_ListBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31542 { (char *)"ListBox_swigregister", ListBox_swigregister
, METH_VARARGS
},
31543 { (char *)"new_CheckListBox", (PyCFunction
) _wrap_new_CheckListBox
, METH_VARARGS
| METH_KEYWORDS
},
31544 { (char *)"new_PreCheckListBox", (PyCFunction
) _wrap_new_PreCheckListBox
, METH_VARARGS
| METH_KEYWORDS
},
31545 { (char *)"CheckListBox_Create", (PyCFunction
) _wrap_CheckListBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
31546 { (char *)"CheckListBox_IsChecked", (PyCFunction
) _wrap_CheckListBox_IsChecked
, METH_VARARGS
| METH_KEYWORDS
},
31547 { (char *)"CheckListBox_Check", (PyCFunction
) _wrap_CheckListBox_Check
, METH_VARARGS
| METH_KEYWORDS
},
31548 { (char *)"CheckListBox_GetItemHeight", (PyCFunction
) _wrap_CheckListBox_GetItemHeight
, METH_VARARGS
| METH_KEYWORDS
},
31549 { (char *)"CheckListBox_HitTest", (PyCFunction
) _wrap_CheckListBox_HitTest
, METH_VARARGS
| METH_KEYWORDS
},
31550 { (char *)"CheckListBox_HitTestXY", (PyCFunction
) _wrap_CheckListBox_HitTestXY
, METH_VARARGS
| METH_KEYWORDS
},
31551 { (char *)"CheckListBox_swigregister", CheckListBox_swigregister
, METH_VARARGS
},
31552 { (char *)"new_TextAttr", (PyCFunction
) _wrap_new_TextAttr
, METH_VARARGS
| METH_KEYWORDS
},
31553 { (char *)"delete_TextAttr", (PyCFunction
) _wrap_delete_TextAttr
, METH_VARARGS
| METH_KEYWORDS
},
31554 { (char *)"TextAttr_Init", (PyCFunction
) _wrap_TextAttr_Init
, METH_VARARGS
| METH_KEYWORDS
},
31555 { (char *)"TextAttr_SetTextColour", (PyCFunction
) _wrap_TextAttr_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
31556 { (char *)"TextAttr_SetBackgroundColour", (PyCFunction
) _wrap_TextAttr_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
31557 { (char *)"TextAttr_SetFont", (PyCFunction
) _wrap_TextAttr_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
31558 { (char *)"TextAttr_SetAlignment", (PyCFunction
) _wrap_TextAttr_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
},
31559 { (char *)"TextAttr_SetTabs", (PyCFunction
) _wrap_TextAttr_SetTabs
, METH_VARARGS
| METH_KEYWORDS
},
31560 { (char *)"TextAttr_SetLeftIndent", (PyCFunction
) _wrap_TextAttr_SetLeftIndent
, METH_VARARGS
| METH_KEYWORDS
},
31561 { (char *)"TextAttr_SetRightIndent", (PyCFunction
) _wrap_TextAttr_SetRightIndent
, METH_VARARGS
| METH_KEYWORDS
},
31562 { (char *)"TextAttr_SetFlags", (PyCFunction
) _wrap_TextAttr_SetFlags
, METH_VARARGS
| METH_KEYWORDS
},
31563 { (char *)"TextAttr_HasTextColour", (PyCFunction
) _wrap_TextAttr_HasTextColour
, METH_VARARGS
| METH_KEYWORDS
},
31564 { (char *)"TextAttr_HasBackgroundColour", (PyCFunction
) _wrap_TextAttr_HasBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
31565 { (char *)"TextAttr_HasFont", (PyCFunction
) _wrap_TextAttr_HasFont
, METH_VARARGS
| METH_KEYWORDS
},
31566 { (char *)"TextAttr_HasAlignment", (PyCFunction
) _wrap_TextAttr_HasAlignment
, METH_VARARGS
| METH_KEYWORDS
},
31567 { (char *)"TextAttr_HasTabs", (PyCFunction
) _wrap_TextAttr_HasTabs
, METH_VARARGS
| METH_KEYWORDS
},
31568 { (char *)"TextAttr_HasLeftIndent", (PyCFunction
) _wrap_TextAttr_HasLeftIndent
, METH_VARARGS
| METH_KEYWORDS
},
31569 { (char *)"TextAttr_HasRightIndent", (PyCFunction
) _wrap_TextAttr_HasRightIndent
, METH_VARARGS
| METH_KEYWORDS
},
31570 { (char *)"TextAttr_HasFlag", (PyCFunction
) _wrap_TextAttr_HasFlag
, METH_VARARGS
| METH_KEYWORDS
},
31571 { (char *)"TextAttr_GetTextColour", (PyCFunction
) _wrap_TextAttr_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
31572 { (char *)"TextAttr_GetBackgroundColour", (PyCFunction
) _wrap_TextAttr_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
31573 { (char *)"TextAttr_GetFont", (PyCFunction
) _wrap_TextAttr_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
31574 { (char *)"TextAttr_GetAlignment", (PyCFunction
) _wrap_TextAttr_GetAlignment
, METH_VARARGS
| METH_KEYWORDS
},
31575 { (char *)"TextAttr_GetTabs", (PyCFunction
) _wrap_TextAttr_GetTabs
, METH_VARARGS
| METH_KEYWORDS
},
31576 { (char *)"TextAttr_GetLeftIndent", (PyCFunction
) _wrap_TextAttr_GetLeftIndent
, METH_VARARGS
| METH_KEYWORDS
},
31577 { (char *)"TextAttr_GetLeftSubIndent", (PyCFunction
) _wrap_TextAttr_GetLeftSubIndent
, METH_VARARGS
| METH_KEYWORDS
},
31578 { (char *)"TextAttr_GetRightIndent", (PyCFunction
) _wrap_TextAttr_GetRightIndent
, METH_VARARGS
| METH_KEYWORDS
},
31579 { (char *)"TextAttr_GetFlags", (PyCFunction
) _wrap_TextAttr_GetFlags
, METH_VARARGS
| METH_KEYWORDS
},
31580 { (char *)"TextAttr_IsDefault", (PyCFunction
) _wrap_TextAttr_IsDefault
, METH_VARARGS
| METH_KEYWORDS
},
31581 { (char *)"TextAttr_Combine", (PyCFunction
) _wrap_TextAttr_Combine
, METH_VARARGS
| METH_KEYWORDS
},
31582 { (char *)"TextAttr_swigregister", TextAttr_swigregister
, METH_VARARGS
},
31583 { (char *)"new_TextCtrl", (PyCFunction
) _wrap_new_TextCtrl
, METH_VARARGS
| METH_KEYWORDS
},
31584 { (char *)"new_PreTextCtrl", (PyCFunction
) _wrap_new_PreTextCtrl
, METH_VARARGS
| METH_KEYWORDS
},
31585 { (char *)"TextCtrl_Create", (PyCFunction
) _wrap_TextCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
},
31586 { (char *)"TextCtrl_GetValue", (PyCFunction
) _wrap_TextCtrl_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
31587 { (char *)"TextCtrl_SetValue", (PyCFunction
) _wrap_TextCtrl_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
31588 { (char *)"TextCtrl_GetRange", (PyCFunction
) _wrap_TextCtrl_GetRange
, METH_VARARGS
| METH_KEYWORDS
},
31589 { (char *)"TextCtrl_GetLineLength", (PyCFunction
) _wrap_TextCtrl_GetLineLength
, METH_VARARGS
| METH_KEYWORDS
},
31590 { (char *)"TextCtrl_GetLineText", (PyCFunction
) _wrap_TextCtrl_GetLineText
, METH_VARARGS
| METH_KEYWORDS
},
31591 { (char *)"TextCtrl_GetNumberOfLines", (PyCFunction
) _wrap_TextCtrl_GetNumberOfLines
, METH_VARARGS
| METH_KEYWORDS
},
31592 { (char *)"TextCtrl_IsModified", (PyCFunction
) _wrap_TextCtrl_IsModified
, METH_VARARGS
| METH_KEYWORDS
},
31593 { (char *)"TextCtrl_IsEditable", (PyCFunction
) _wrap_TextCtrl_IsEditable
, METH_VARARGS
| METH_KEYWORDS
},
31594 { (char *)"TextCtrl_IsSingleLine", (PyCFunction
) _wrap_TextCtrl_IsSingleLine
, METH_VARARGS
| METH_KEYWORDS
},
31595 { (char *)"TextCtrl_IsMultiLine", (PyCFunction
) _wrap_TextCtrl_IsMultiLine
, METH_VARARGS
| METH_KEYWORDS
},
31596 { (char *)"TextCtrl_GetSelection", (PyCFunction
) _wrap_TextCtrl_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
31597 { (char *)"TextCtrl_GetStringSelection", (PyCFunction
) _wrap_TextCtrl_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
31598 { (char *)"TextCtrl_Clear", (PyCFunction
) _wrap_TextCtrl_Clear
, METH_VARARGS
| METH_KEYWORDS
},
31599 { (char *)"TextCtrl_Replace", (PyCFunction
) _wrap_TextCtrl_Replace
, METH_VARARGS
| METH_KEYWORDS
},
31600 { (char *)"TextCtrl_Remove", (PyCFunction
) _wrap_TextCtrl_Remove
, METH_VARARGS
| METH_KEYWORDS
},
31601 { (char *)"TextCtrl_LoadFile", (PyCFunction
) _wrap_TextCtrl_LoadFile
, METH_VARARGS
| METH_KEYWORDS
},
31602 { (char *)"TextCtrl_SaveFile", (PyCFunction
) _wrap_TextCtrl_SaveFile
, METH_VARARGS
| METH_KEYWORDS
},
31603 { (char *)"TextCtrl_MarkDirty", (PyCFunction
) _wrap_TextCtrl_MarkDirty
, METH_VARARGS
| METH_KEYWORDS
},
31604 { (char *)"TextCtrl_DiscardEdits", (PyCFunction
) _wrap_TextCtrl_DiscardEdits
, METH_VARARGS
| METH_KEYWORDS
},
31605 { (char *)"TextCtrl_SetMaxLength", (PyCFunction
) _wrap_TextCtrl_SetMaxLength
, METH_VARARGS
| METH_KEYWORDS
},
31606 { (char *)"TextCtrl_WriteText", (PyCFunction
) _wrap_TextCtrl_WriteText
, METH_VARARGS
| METH_KEYWORDS
},
31607 { (char *)"TextCtrl_AppendText", (PyCFunction
) _wrap_TextCtrl_AppendText
, METH_VARARGS
| METH_KEYWORDS
},
31608 { (char *)"TextCtrl_EmulateKeyPress", (PyCFunction
) _wrap_TextCtrl_EmulateKeyPress
, METH_VARARGS
| METH_KEYWORDS
},
31609 { (char *)"TextCtrl_SetStyle", (PyCFunction
) _wrap_TextCtrl_SetStyle
, METH_VARARGS
| METH_KEYWORDS
},
31610 { (char *)"TextCtrl_GetStyle", (PyCFunction
) _wrap_TextCtrl_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
31611 { (char *)"TextCtrl_SetDefaultStyle", (PyCFunction
) _wrap_TextCtrl_SetDefaultStyle
, METH_VARARGS
| METH_KEYWORDS
},
31612 { (char *)"TextCtrl_GetDefaultStyle", (PyCFunction
) _wrap_TextCtrl_GetDefaultStyle
, METH_VARARGS
| METH_KEYWORDS
},
31613 { (char *)"TextCtrl_XYToPosition", (PyCFunction
) _wrap_TextCtrl_XYToPosition
, METH_VARARGS
| METH_KEYWORDS
},
31614 { (char *)"TextCtrl_PositionToXY", (PyCFunction
) _wrap_TextCtrl_PositionToXY
, METH_VARARGS
| METH_KEYWORDS
},
31615 { (char *)"TextCtrl_ShowPosition", (PyCFunction
) _wrap_TextCtrl_ShowPosition
, METH_VARARGS
| METH_KEYWORDS
},
31616 { (char *)"TextCtrl_HitTest", (PyCFunction
) _wrap_TextCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
},
31617 { (char *)"TextCtrl_Copy", (PyCFunction
) _wrap_TextCtrl_Copy
, METH_VARARGS
| METH_KEYWORDS
},
31618 { (char *)"TextCtrl_Cut", (PyCFunction
) _wrap_TextCtrl_Cut
, METH_VARARGS
| METH_KEYWORDS
},
31619 { (char *)"TextCtrl_Paste", (PyCFunction
) _wrap_TextCtrl_Paste
, METH_VARARGS
| METH_KEYWORDS
},
31620 { (char *)"TextCtrl_CanCopy", (PyCFunction
) _wrap_TextCtrl_CanCopy
, METH_VARARGS
| METH_KEYWORDS
},
31621 { (char *)"TextCtrl_CanCut", (PyCFunction
) _wrap_TextCtrl_CanCut
, METH_VARARGS
| METH_KEYWORDS
},
31622 { (char *)"TextCtrl_CanPaste", (PyCFunction
) _wrap_TextCtrl_CanPaste
, METH_VARARGS
| METH_KEYWORDS
},
31623 { (char *)"TextCtrl_Undo", (PyCFunction
) _wrap_TextCtrl_Undo
, METH_VARARGS
| METH_KEYWORDS
},
31624 { (char *)"TextCtrl_Redo", (PyCFunction
) _wrap_TextCtrl_Redo
, METH_VARARGS
| METH_KEYWORDS
},
31625 { (char *)"TextCtrl_CanUndo", (PyCFunction
) _wrap_TextCtrl_CanUndo
, METH_VARARGS
| METH_KEYWORDS
},
31626 { (char *)"TextCtrl_CanRedo", (PyCFunction
) _wrap_TextCtrl_CanRedo
, METH_VARARGS
| METH_KEYWORDS
},
31627 { (char *)"TextCtrl_SetInsertionPoint", (PyCFunction
) _wrap_TextCtrl_SetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
},
31628 { (char *)"TextCtrl_SetInsertionPointEnd", (PyCFunction
) _wrap_TextCtrl_SetInsertionPointEnd
, METH_VARARGS
| METH_KEYWORDS
},
31629 { (char *)"TextCtrl_GetInsertionPoint", (PyCFunction
) _wrap_TextCtrl_GetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
},
31630 { (char *)"TextCtrl_GetLastPosition", (PyCFunction
) _wrap_TextCtrl_GetLastPosition
, METH_VARARGS
| METH_KEYWORDS
},
31631 { (char *)"TextCtrl_SetSelection", (PyCFunction
) _wrap_TextCtrl_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
31632 { (char *)"TextCtrl_SelectAll", (PyCFunction
) _wrap_TextCtrl_SelectAll
, METH_VARARGS
| METH_KEYWORDS
},
31633 { (char *)"TextCtrl_SetEditable", (PyCFunction
) _wrap_TextCtrl_SetEditable
, METH_VARARGS
| METH_KEYWORDS
},
31634 { (char *)"TextCtrl_ShowNativeCaret", (PyCFunction
) _wrap_TextCtrl_ShowNativeCaret
, METH_VARARGS
| METH_KEYWORDS
},
31635 { (char *)"TextCtrl_HideNativeCaret", (PyCFunction
) _wrap_TextCtrl_HideNativeCaret
, METH_VARARGS
| METH_KEYWORDS
},
31636 { (char *)"TextCtrl_write", (PyCFunction
) _wrap_TextCtrl_write
, METH_VARARGS
| METH_KEYWORDS
},
31637 { (char *)"TextCtrl_GetString", (PyCFunction
) _wrap_TextCtrl_GetString
, METH_VARARGS
| METH_KEYWORDS
},
31638 { (char *)"TextCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_TextCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31639 { (char *)"TextCtrl_swigregister", TextCtrl_swigregister
, METH_VARARGS
},
31640 { (char *)"new_TextUrlEvent", (PyCFunction
) _wrap_new_TextUrlEvent
, METH_VARARGS
| METH_KEYWORDS
},
31641 { (char *)"TextUrlEvent_GetMouseEvent", (PyCFunction
) _wrap_TextUrlEvent_GetMouseEvent
, METH_VARARGS
| METH_KEYWORDS
},
31642 { (char *)"TextUrlEvent_GetURLStart", (PyCFunction
) _wrap_TextUrlEvent_GetURLStart
, METH_VARARGS
| METH_KEYWORDS
},
31643 { (char *)"TextUrlEvent_GetURLEnd", (PyCFunction
) _wrap_TextUrlEvent_GetURLEnd
, METH_VARARGS
| METH_KEYWORDS
},
31644 { (char *)"TextUrlEvent_swigregister", TextUrlEvent_swigregister
, METH_VARARGS
},
31645 { (char *)"new_ScrollBar", (PyCFunction
) _wrap_new_ScrollBar
, METH_VARARGS
| METH_KEYWORDS
},
31646 { (char *)"new_PreScrollBar", (PyCFunction
) _wrap_new_PreScrollBar
, METH_VARARGS
| METH_KEYWORDS
},
31647 { (char *)"ScrollBar_Create", (PyCFunction
) _wrap_ScrollBar_Create
, METH_VARARGS
| METH_KEYWORDS
},
31648 { (char *)"ScrollBar_GetThumbPosition", (PyCFunction
) _wrap_ScrollBar_GetThumbPosition
, METH_VARARGS
| METH_KEYWORDS
},
31649 { (char *)"ScrollBar_GetThumbSize", (PyCFunction
) _wrap_ScrollBar_GetThumbSize
, METH_VARARGS
| METH_KEYWORDS
},
31650 { (char *)"ScrollBar_GetPageSize", (PyCFunction
) _wrap_ScrollBar_GetPageSize
, METH_VARARGS
| METH_KEYWORDS
},
31651 { (char *)"ScrollBar_GetRange", (PyCFunction
) _wrap_ScrollBar_GetRange
, METH_VARARGS
| METH_KEYWORDS
},
31652 { (char *)"ScrollBar_IsVertical", (PyCFunction
) _wrap_ScrollBar_IsVertical
, METH_VARARGS
| METH_KEYWORDS
},
31653 { (char *)"ScrollBar_SetThumbPosition", (PyCFunction
) _wrap_ScrollBar_SetThumbPosition
, METH_VARARGS
| METH_KEYWORDS
},
31654 { (char *)"ScrollBar_SetScrollbar", (PyCFunction
) _wrap_ScrollBar_SetScrollbar
, METH_VARARGS
| METH_KEYWORDS
},
31655 { (char *)"ScrollBar_GetClassDefaultAttributes", (PyCFunction
) _wrap_ScrollBar_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31656 { (char *)"ScrollBar_swigregister", ScrollBar_swigregister
, METH_VARARGS
},
31657 { (char *)"new_SpinButton", (PyCFunction
) _wrap_new_SpinButton
, METH_VARARGS
| METH_KEYWORDS
},
31658 { (char *)"new_PreSpinButton", (PyCFunction
) _wrap_new_PreSpinButton
, METH_VARARGS
| METH_KEYWORDS
},
31659 { (char *)"SpinButton_Create", (PyCFunction
) _wrap_SpinButton_Create
, METH_VARARGS
| METH_KEYWORDS
},
31660 { (char *)"SpinButton_GetValue", (PyCFunction
) _wrap_SpinButton_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
31661 { (char *)"SpinButton_GetMin", (PyCFunction
) _wrap_SpinButton_GetMin
, METH_VARARGS
| METH_KEYWORDS
},
31662 { (char *)"SpinButton_GetMax", (PyCFunction
) _wrap_SpinButton_GetMax
, METH_VARARGS
| METH_KEYWORDS
},
31663 { (char *)"SpinButton_SetValue", (PyCFunction
) _wrap_SpinButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
31664 { (char *)"SpinButton_SetMin", (PyCFunction
) _wrap_SpinButton_SetMin
, METH_VARARGS
| METH_KEYWORDS
},
31665 { (char *)"SpinButton_SetMax", (PyCFunction
) _wrap_SpinButton_SetMax
, METH_VARARGS
| METH_KEYWORDS
},
31666 { (char *)"SpinButton_SetRange", (PyCFunction
) _wrap_SpinButton_SetRange
, METH_VARARGS
| METH_KEYWORDS
},
31667 { (char *)"SpinButton_IsVertical", (PyCFunction
) _wrap_SpinButton_IsVertical
, METH_VARARGS
| METH_KEYWORDS
},
31668 { (char *)"SpinButton_GetClassDefaultAttributes", (PyCFunction
) _wrap_SpinButton_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31669 { (char *)"SpinButton_swigregister", SpinButton_swigregister
, METH_VARARGS
},
31670 { (char *)"new_SpinCtrl", (PyCFunction
) _wrap_new_SpinCtrl
, METH_VARARGS
| METH_KEYWORDS
},
31671 { (char *)"new_PreSpinCtrl", (PyCFunction
) _wrap_new_PreSpinCtrl
, METH_VARARGS
| METH_KEYWORDS
},
31672 { (char *)"SpinCtrl_Create", (PyCFunction
) _wrap_SpinCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
},
31673 { (char *)"SpinCtrl_GetValue", (PyCFunction
) _wrap_SpinCtrl_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
31674 { (char *)"SpinCtrl_SetValue", (PyCFunction
) _wrap_SpinCtrl_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
31675 { (char *)"SpinCtrl_SetValueString", (PyCFunction
) _wrap_SpinCtrl_SetValueString
, METH_VARARGS
| METH_KEYWORDS
},
31676 { (char *)"SpinCtrl_SetRange", (PyCFunction
) _wrap_SpinCtrl_SetRange
, METH_VARARGS
| METH_KEYWORDS
},
31677 { (char *)"SpinCtrl_GetMin", (PyCFunction
) _wrap_SpinCtrl_GetMin
, METH_VARARGS
| METH_KEYWORDS
},
31678 { (char *)"SpinCtrl_GetMax", (PyCFunction
) _wrap_SpinCtrl_GetMax
, METH_VARARGS
| METH_KEYWORDS
},
31679 { (char *)"SpinCtrl_SetSelection", (PyCFunction
) _wrap_SpinCtrl_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
31680 { (char *)"SpinCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_SpinCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31681 { (char *)"SpinCtrl_swigregister", SpinCtrl_swigregister
, METH_VARARGS
},
31682 { (char *)"new_SpinEvent", (PyCFunction
) _wrap_new_SpinEvent
, METH_VARARGS
| METH_KEYWORDS
},
31683 { (char *)"SpinEvent_GetPosition", (PyCFunction
) _wrap_SpinEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
31684 { (char *)"SpinEvent_SetPosition", (PyCFunction
) _wrap_SpinEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
},
31685 { (char *)"SpinEvent_swigregister", SpinEvent_swigregister
, METH_VARARGS
},
31686 { (char *)"new_RadioBox", (PyCFunction
) _wrap_new_RadioBox
, METH_VARARGS
| METH_KEYWORDS
},
31687 { (char *)"new_PreRadioBox", (PyCFunction
) _wrap_new_PreRadioBox
, METH_VARARGS
| METH_KEYWORDS
},
31688 { (char *)"RadioBox_Create", (PyCFunction
) _wrap_RadioBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
31689 { (char *)"RadioBox_SetSelection", (PyCFunction
) _wrap_RadioBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
31690 { (char *)"RadioBox_GetSelection", (PyCFunction
) _wrap_RadioBox_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
31691 { (char *)"RadioBox_GetStringSelection", (PyCFunction
) _wrap_RadioBox_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
31692 { (char *)"RadioBox_SetStringSelection", (PyCFunction
) _wrap_RadioBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
31693 { (char *)"RadioBox_GetCount", (PyCFunction
) _wrap_RadioBox_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
31694 { (char *)"RadioBox_FindString", (PyCFunction
) _wrap_RadioBox_FindString
, METH_VARARGS
| METH_KEYWORDS
},
31695 { (char *)"RadioBox_GetString", (PyCFunction
) _wrap_RadioBox_GetString
, METH_VARARGS
| METH_KEYWORDS
},
31696 { (char *)"RadioBox_SetString", (PyCFunction
) _wrap_RadioBox_SetString
, METH_VARARGS
| METH_KEYWORDS
},
31697 { (char *)"RadioBox_EnableItem", (PyCFunction
) _wrap_RadioBox_EnableItem
, METH_VARARGS
| METH_KEYWORDS
},
31698 { (char *)"RadioBox_ShowItem", (PyCFunction
) _wrap_RadioBox_ShowItem
, METH_VARARGS
| METH_KEYWORDS
},
31699 { (char *)"RadioBox_GetColumnCount", (PyCFunction
) _wrap_RadioBox_GetColumnCount
, METH_VARARGS
| METH_KEYWORDS
},
31700 { (char *)"RadioBox_GetRowCount", (PyCFunction
) _wrap_RadioBox_GetRowCount
, METH_VARARGS
| METH_KEYWORDS
},
31701 { (char *)"RadioBox_GetNextItem", (PyCFunction
) _wrap_RadioBox_GetNextItem
, METH_VARARGS
| METH_KEYWORDS
},
31702 { (char *)"RadioBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_RadioBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31703 { (char *)"RadioBox_swigregister", RadioBox_swigregister
, METH_VARARGS
},
31704 { (char *)"new_RadioButton", (PyCFunction
) _wrap_new_RadioButton
, METH_VARARGS
| METH_KEYWORDS
},
31705 { (char *)"new_PreRadioButton", (PyCFunction
) _wrap_new_PreRadioButton
, METH_VARARGS
| METH_KEYWORDS
},
31706 { (char *)"RadioButton_Create", (PyCFunction
) _wrap_RadioButton_Create
, METH_VARARGS
| METH_KEYWORDS
},
31707 { (char *)"RadioButton_GetValue", (PyCFunction
) _wrap_RadioButton_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
31708 { (char *)"RadioButton_SetValue", (PyCFunction
) _wrap_RadioButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
31709 { (char *)"RadioButton_GetClassDefaultAttributes", (PyCFunction
) _wrap_RadioButton_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31710 { (char *)"RadioButton_swigregister", RadioButton_swigregister
, METH_VARARGS
},
31711 { (char *)"new_Slider", (PyCFunction
) _wrap_new_Slider
, METH_VARARGS
| METH_KEYWORDS
},
31712 { (char *)"new_PreSlider", (PyCFunction
) _wrap_new_PreSlider
, METH_VARARGS
| METH_KEYWORDS
},
31713 { (char *)"Slider_Create", (PyCFunction
) _wrap_Slider_Create
, METH_VARARGS
| METH_KEYWORDS
},
31714 { (char *)"Slider_GetValue", (PyCFunction
) _wrap_Slider_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
31715 { (char *)"Slider_SetValue", (PyCFunction
) _wrap_Slider_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
31716 { (char *)"Slider_SetRange", (PyCFunction
) _wrap_Slider_SetRange
, METH_VARARGS
| METH_KEYWORDS
},
31717 { (char *)"Slider_GetMin", (PyCFunction
) _wrap_Slider_GetMin
, METH_VARARGS
| METH_KEYWORDS
},
31718 { (char *)"Slider_GetMax", (PyCFunction
) _wrap_Slider_GetMax
, METH_VARARGS
| METH_KEYWORDS
},
31719 { (char *)"Slider_SetMin", (PyCFunction
) _wrap_Slider_SetMin
, METH_VARARGS
| METH_KEYWORDS
},
31720 { (char *)"Slider_SetMax", (PyCFunction
) _wrap_Slider_SetMax
, METH_VARARGS
| METH_KEYWORDS
},
31721 { (char *)"Slider_SetLineSize", (PyCFunction
) _wrap_Slider_SetLineSize
, METH_VARARGS
| METH_KEYWORDS
},
31722 { (char *)"Slider_SetPageSize", (PyCFunction
) _wrap_Slider_SetPageSize
, METH_VARARGS
| METH_KEYWORDS
},
31723 { (char *)"Slider_GetLineSize", (PyCFunction
) _wrap_Slider_GetLineSize
, METH_VARARGS
| METH_KEYWORDS
},
31724 { (char *)"Slider_GetPageSize", (PyCFunction
) _wrap_Slider_GetPageSize
, METH_VARARGS
| METH_KEYWORDS
},
31725 { (char *)"Slider_SetThumbLength", (PyCFunction
) _wrap_Slider_SetThumbLength
, METH_VARARGS
| METH_KEYWORDS
},
31726 { (char *)"Slider_GetThumbLength", (PyCFunction
) _wrap_Slider_GetThumbLength
, METH_VARARGS
| METH_KEYWORDS
},
31727 { (char *)"Slider_SetTickFreq", (PyCFunction
) _wrap_Slider_SetTickFreq
, METH_VARARGS
| METH_KEYWORDS
},
31728 { (char *)"Slider_GetTickFreq", (PyCFunction
) _wrap_Slider_GetTickFreq
, METH_VARARGS
| METH_KEYWORDS
},
31729 { (char *)"Slider_ClearTicks", (PyCFunction
) _wrap_Slider_ClearTicks
, METH_VARARGS
| METH_KEYWORDS
},
31730 { (char *)"Slider_SetTick", (PyCFunction
) _wrap_Slider_SetTick
, METH_VARARGS
| METH_KEYWORDS
},
31731 { (char *)"Slider_ClearSel", (PyCFunction
) _wrap_Slider_ClearSel
, METH_VARARGS
| METH_KEYWORDS
},
31732 { (char *)"Slider_GetSelEnd", (PyCFunction
) _wrap_Slider_GetSelEnd
, METH_VARARGS
| METH_KEYWORDS
},
31733 { (char *)"Slider_GetSelStart", (PyCFunction
) _wrap_Slider_GetSelStart
, METH_VARARGS
| METH_KEYWORDS
},
31734 { (char *)"Slider_SetSelection", (PyCFunction
) _wrap_Slider_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
31735 { (char *)"Slider_GetClassDefaultAttributes", (PyCFunction
) _wrap_Slider_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31736 { (char *)"Slider_swigregister", Slider_swigregister
, METH_VARARGS
},
31737 { (char *)"new_ToggleButton", (PyCFunction
) _wrap_new_ToggleButton
, METH_VARARGS
| METH_KEYWORDS
},
31738 { (char *)"new_PreToggleButton", (PyCFunction
) _wrap_new_PreToggleButton
, METH_VARARGS
| METH_KEYWORDS
},
31739 { (char *)"ToggleButton_Create", (PyCFunction
) _wrap_ToggleButton_Create
, METH_VARARGS
| METH_KEYWORDS
},
31740 { (char *)"ToggleButton_SetValue", (PyCFunction
) _wrap_ToggleButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
31741 { (char *)"ToggleButton_GetValue", (PyCFunction
) _wrap_ToggleButton_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
31742 { (char *)"ToggleButton_SetLabel", (PyCFunction
) _wrap_ToggleButton_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
31743 { (char *)"ToggleButton_GetClassDefaultAttributes", (PyCFunction
) _wrap_ToggleButton_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31744 { (char *)"ToggleButton_swigregister", ToggleButton_swigregister
, METH_VARARGS
},
31745 { (char *)"BookCtrl_GetPageCount", (PyCFunction
) _wrap_BookCtrl_GetPageCount
, METH_VARARGS
| METH_KEYWORDS
},
31746 { (char *)"BookCtrl_GetPage", (PyCFunction
) _wrap_BookCtrl_GetPage
, METH_VARARGS
| METH_KEYWORDS
},
31747 { (char *)"BookCtrl_GetSelection", (PyCFunction
) _wrap_BookCtrl_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
31748 { (char *)"BookCtrl_SetPageText", (PyCFunction
) _wrap_BookCtrl_SetPageText
, METH_VARARGS
| METH_KEYWORDS
},
31749 { (char *)"BookCtrl_GetPageText", (PyCFunction
) _wrap_BookCtrl_GetPageText
, METH_VARARGS
| METH_KEYWORDS
},
31750 { (char *)"BookCtrl_SetImageList", (PyCFunction
) _wrap_BookCtrl_SetImageList
, METH_VARARGS
| METH_KEYWORDS
},
31751 { (char *)"BookCtrl_AssignImageList", (PyCFunction
) _wrap_BookCtrl_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
},
31752 { (char *)"BookCtrl_GetImageList", (PyCFunction
) _wrap_BookCtrl_GetImageList
, METH_VARARGS
| METH_KEYWORDS
},
31753 { (char *)"BookCtrl_GetPageImage", (PyCFunction
) _wrap_BookCtrl_GetPageImage
, METH_VARARGS
| METH_KEYWORDS
},
31754 { (char *)"BookCtrl_SetPageImage", (PyCFunction
) _wrap_BookCtrl_SetPageImage
, METH_VARARGS
| METH_KEYWORDS
},
31755 { (char *)"BookCtrl_SetPageSize", (PyCFunction
) _wrap_BookCtrl_SetPageSize
, METH_VARARGS
| METH_KEYWORDS
},
31756 { (char *)"BookCtrl_CalcSizeFromPage", (PyCFunction
) _wrap_BookCtrl_CalcSizeFromPage
, METH_VARARGS
| METH_KEYWORDS
},
31757 { (char *)"BookCtrl_DeletePage", (PyCFunction
) _wrap_BookCtrl_DeletePage
, METH_VARARGS
| METH_KEYWORDS
},
31758 { (char *)"BookCtrl_RemovePage", (PyCFunction
) _wrap_BookCtrl_RemovePage
, METH_VARARGS
| METH_KEYWORDS
},
31759 { (char *)"BookCtrl_DeleteAllPages", (PyCFunction
) _wrap_BookCtrl_DeleteAllPages
, METH_VARARGS
| METH_KEYWORDS
},
31760 { (char *)"BookCtrl_AddPage", (PyCFunction
) _wrap_BookCtrl_AddPage
, METH_VARARGS
| METH_KEYWORDS
},
31761 { (char *)"BookCtrl_InsertPage", (PyCFunction
) _wrap_BookCtrl_InsertPage
, METH_VARARGS
| METH_KEYWORDS
},
31762 { (char *)"BookCtrl_SetSelection", (PyCFunction
) _wrap_BookCtrl_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
31763 { (char *)"BookCtrl_AdvanceSelection", (PyCFunction
) _wrap_BookCtrl_AdvanceSelection
, METH_VARARGS
| METH_KEYWORDS
},
31764 { (char *)"BookCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_BookCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31765 { (char *)"BookCtrl_swigregister", BookCtrl_swigregister
, METH_VARARGS
},
31766 { (char *)"new_BookCtrlEvent", (PyCFunction
) _wrap_new_BookCtrlEvent
, METH_VARARGS
| METH_KEYWORDS
},
31767 { (char *)"BookCtrlEvent_GetSelection", (PyCFunction
) _wrap_BookCtrlEvent_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
31768 { (char *)"BookCtrlEvent_SetSelection", (PyCFunction
) _wrap_BookCtrlEvent_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
31769 { (char *)"BookCtrlEvent_GetOldSelection", (PyCFunction
) _wrap_BookCtrlEvent_GetOldSelection
, METH_VARARGS
| METH_KEYWORDS
},
31770 { (char *)"BookCtrlEvent_SetOldSelection", (PyCFunction
) _wrap_BookCtrlEvent_SetOldSelection
, METH_VARARGS
| METH_KEYWORDS
},
31771 { (char *)"BookCtrlEvent_swigregister", BookCtrlEvent_swigregister
, METH_VARARGS
},
31772 { (char *)"new_Notebook", (PyCFunction
) _wrap_new_Notebook
, METH_VARARGS
| METH_KEYWORDS
},
31773 { (char *)"new_PreNotebook", (PyCFunction
) _wrap_new_PreNotebook
, METH_VARARGS
| METH_KEYWORDS
},
31774 { (char *)"Notebook_Create", (PyCFunction
) _wrap_Notebook_Create
, METH_VARARGS
| METH_KEYWORDS
},
31775 { (char *)"Notebook_GetRowCount", (PyCFunction
) _wrap_Notebook_GetRowCount
, METH_VARARGS
| METH_KEYWORDS
},
31776 { (char *)"Notebook_SetPadding", (PyCFunction
) _wrap_Notebook_SetPadding
, METH_VARARGS
| METH_KEYWORDS
},
31777 { (char *)"Notebook_SetTabSize", (PyCFunction
) _wrap_Notebook_SetTabSize
, METH_VARARGS
| METH_KEYWORDS
},
31778 { (char *)"Notebook_HitTest", (PyCFunction
) _wrap_Notebook_HitTest
, METH_VARARGS
| METH_KEYWORDS
},
31779 { (char *)"Notebook_CalcSizeFromPage", (PyCFunction
) _wrap_Notebook_CalcSizeFromPage
, METH_VARARGS
| METH_KEYWORDS
},
31780 { (char *)"Notebook_ApplyThemeBackground", (PyCFunction
) _wrap_Notebook_ApplyThemeBackground
, METH_VARARGS
| METH_KEYWORDS
},
31781 { (char *)"Notebook_GetClassDefaultAttributes", (PyCFunction
) _wrap_Notebook_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31782 { (char *)"Notebook_swigregister", Notebook_swigregister
, METH_VARARGS
},
31783 { (char *)"new_NotebookEvent", (PyCFunction
) _wrap_new_NotebookEvent
, METH_VARARGS
| METH_KEYWORDS
},
31784 { (char *)"NotebookEvent_swigregister", NotebookEvent_swigregister
, METH_VARARGS
},
31785 { (char *)"new_Listbook", (PyCFunction
) _wrap_new_Listbook
, METH_VARARGS
| METH_KEYWORDS
},
31786 { (char *)"new_PreListbook", (PyCFunction
) _wrap_new_PreListbook
, METH_VARARGS
| METH_KEYWORDS
},
31787 { (char *)"Listbook_Create", (PyCFunction
) _wrap_Listbook_Create
, METH_VARARGS
| METH_KEYWORDS
},
31788 { (char *)"Listbook_IsVertical", (PyCFunction
) _wrap_Listbook_IsVertical
, METH_VARARGS
| METH_KEYWORDS
},
31789 { (char *)"Listbook_swigregister", Listbook_swigregister
, METH_VARARGS
},
31790 { (char *)"new_ListbookEvent", (PyCFunction
) _wrap_new_ListbookEvent
, METH_VARARGS
| METH_KEYWORDS
},
31791 { (char *)"ListbookEvent_swigregister", ListbookEvent_swigregister
, METH_VARARGS
},
31792 { (char *)"new_BookCtrlSizer", (PyCFunction
) _wrap_new_BookCtrlSizer
, METH_VARARGS
| METH_KEYWORDS
},
31793 { (char *)"BookCtrlSizer_RecalcSizes", (PyCFunction
) _wrap_BookCtrlSizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
},
31794 { (char *)"BookCtrlSizer_CalcMin", (PyCFunction
) _wrap_BookCtrlSizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
},
31795 { (char *)"BookCtrlSizer_GetControl", (PyCFunction
) _wrap_BookCtrlSizer_GetControl
, METH_VARARGS
| METH_KEYWORDS
},
31796 { (char *)"BookCtrlSizer_swigregister", BookCtrlSizer_swigregister
, METH_VARARGS
},
31797 { (char *)"new_NotebookSizer", (PyCFunction
) _wrap_new_NotebookSizer
, METH_VARARGS
| METH_KEYWORDS
},
31798 { (char *)"NotebookSizer_RecalcSizes", (PyCFunction
) _wrap_NotebookSizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
},
31799 { (char *)"NotebookSizer_CalcMin", (PyCFunction
) _wrap_NotebookSizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
},
31800 { (char *)"NotebookSizer_GetNotebook", (PyCFunction
) _wrap_NotebookSizer_GetNotebook
, METH_VARARGS
| METH_KEYWORDS
},
31801 { (char *)"NotebookSizer_swigregister", NotebookSizer_swigregister
, METH_VARARGS
},
31802 { (char *)"ToolBarToolBase_GetId", (PyCFunction
) _wrap_ToolBarToolBase_GetId
, METH_VARARGS
| METH_KEYWORDS
},
31803 { (char *)"ToolBarToolBase_GetControl", (PyCFunction
) _wrap_ToolBarToolBase_GetControl
, METH_VARARGS
| METH_KEYWORDS
},
31804 { (char *)"ToolBarToolBase_GetToolBar", (PyCFunction
) _wrap_ToolBarToolBase_GetToolBar
, METH_VARARGS
| METH_KEYWORDS
},
31805 { (char *)"ToolBarToolBase_IsButton", (PyCFunction
) _wrap_ToolBarToolBase_IsButton
, METH_VARARGS
| METH_KEYWORDS
},
31806 { (char *)"ToolBarToolBase_IsControl", (PyCFunction
) _wrap_ToolBarToolBase_IsControl
, METH_VARARGS
| METH_KEYWORDS
},
31807 { (char *)"ToolBarToolBase_IsSeparator", (PyCFunction
) _wrap_ToolBarToolBase_IsSeparator
, METH_VARARGS
| METH_KEYWORDS
},
31808 { (char *)"ToolBarToolBase_GetStyle", (PyCFunction
) _wrap_ToolBarToolBase_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
31809 { (char *)"ToolBarToolBase_GetKind", (PyCFunction
) _wrap_ToolBarToolBase_GetKind
, METH_VARARGS
| METH_KEYWORDS
},
31810 { (char *)"ToolBarToolBase_IsEnabled", (PyCFunction
) _wrap_ToolBarToolBase_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
},
31811 { (char *)"ToolBarToolBase_IsToggled", (PyCFunction
) _wrap_ToolBarToolBase_IsToggled
, METH_VARARGS
| METH_KEYWORDS
},
31812 { (char *)"ToolBarToolBase_CanBeToggled", (PyCFunction
) _wrap_ToolBarToolBase_CanBeToggled
, METH_VARARGS
| METH_KEYWORDS
},
31813 { (char *)"ToolBarToolBase_GetNormalBitmap", (PyCFunction
) _wrap_ToolBarToolBase_GetNormalBitmap
, METH_VARARGS
| METH_KEYWORDS
},
31814 { (char *)"ToolBarToolBase_GetDisabledBitmap", (PyCFunction
) _wrap_ToolBarToolBase_GetDisabledBitmap
, METH_VARARGS
| METH_KEYWORDS
},
31815 { (char *)"ToolBarToolBase_GetBitmap", (PyCFunction
) _wrap_ToolBarToolBase_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
31816 { (char *)"ToolBarToolBase_GetLabel", (PyCFunction
) _wrap_ToolBarToolBase_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
31817 { (char *)"ToolBarToolBase_GetShortHelp", (PyCFunction
) _wrap_ToolBarToolBase_GetShortHelp
, METH_VARARGS
| METH_KEYWORDS
},
31818 { (char *)"ToolBarToolBase_GetLongHelp", (PyCFunction
) _wrap_ToolBarToolBase_GetLongHelp
, METH_VARARGS
| METH_KEYWORDS
},
31819 { (char *)"ToolBarToolBase_Enable", (PyCFunction
) _wrap_ToolBarToolBase_Enable
, METH_VARARGS
| METH_KEYWORDS
},
31820 { (char *)"ToolBarToolBase_Toggle", (PyCFunction
) _wrap_ToolBarToolBase_Toggle
, METH_VARARGS
| METH_KEYWORDS
},
31821 { (char *)"ToolBarToolBase_SetToggle", (PyCFunction
) _wrap_ToolBarToolBase_SetToggle
, METH_VARARGS
| METH_KEYWORDS
},
31822 { (char *)"ToolBarToolBase_SetShortHelp", (PyCFunction
) _wrap_ToolBarToolBase_SetShortHelp
, METH_VARARGS
| METH_KEYWORDS
},
31823 { (char *)"ToolBarToolBase_SetLongHelp", (PyCFunction
) _wrap_ToolBarToolBase_SetLongHelp
, METH_VARARGS
| METH_KEYWORDS
},
31824 { (char *)"ToolBarToolBase_SetNormalBitmap", (PyCFunction
) _wrap_ToolBarToolBase_SetNormalBitmap
, METH_VARARGS
| METH_KEYWORDS
},
31825 { (char *)"ToolBarToolBase_SetDisabledBitmap", (PyCFunction
) _wrap_ToolBarToolBase_SetDisabledBitmap
, METH_VARARGS
| METH_KEYWORDS
},
31826 { (char *)"ToolBarToolBase_SetLabel", (PyCFunction
) _wrap_ToolBarToolBase_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
31827 { (char *)"ToolBarToolBase_Detach", (PyCFunction
) _wrap_ToolBarToolBase_Detach
, METH_VARARGS
| METH_KEYWORDS
},
31828 { (char *)"ToolBarToolBase_Attach", (PyCFunction
) _wrap_ToolBarToolBase_Attach
, METH_VARARGS
| METH_KEYWORDS
},
31829 { (char *)"ToolBarToolBase_GetClientData", (PyCFunction
) _wrap_ToolBarToolBase_GetClientData
, METH_VARARGS
| METH_KEYWORDS
},
31830 { (char *)"ToolBarToolBase_SetClientData", (PyCFunction
) _wrap_ToolBarToolBase_SetClientData
, METH_VARARGS
| METH_KEYWORDS
},
31831 { (char *)"ToolBarToolBase_swigregister", ToolBarToolBase_swigregister
, METH_VARARGS
},
31832 { (char *)"ToolBarBase_DoAddTool", (PyCFunction
) _wrap_ToolBarBase_DoAddTool
, METH_VARARGS
| METH_KEYWORDS
},
31833 { (char *)"ToolBarBase_DoInsertTool", (PyCFunction
) _wrap_ToolBarBase_DoInsertTool
, METH_VARARGS
| METH_KEYWORDS
},
31834 { (char *)"ToolBarBase_AddToolItem", (PyCFunction
) _wrap_ToolBarBase_AddToolItem
, METH_VARARGS
| METH_KEYWORDS
},
31835 { (char *)"ToolBarBase_InsertToolItem", (PyCFunction
) _wrap_ToolBarBase_InsertToolItem
, METH_VARARGS
| METH_KEYWORDS
},
31836 { (char *)"ToolBarBase_AddControl", (PyCFunction
) _wrap_ToolBarBase_AddControl
, METH_VARARGS
| METH_KEYWORDS
},
31837 { (char *)"ToolBarBase_InsertControl", (PyCFunction
) _wrap_ToolBarBase_InsertControl
, METH_VARARGS
| METH_KEYWORDS
},
31838 { (char *)"ToolBarBase_FindControl", (PyCFunction
) _wrap_ToolBarBase_FindControl
, METH_VARARGS
| METH_KEYWORDS
},
31839 { (char *)"ToolBarBase_AddSeparator", (PyCFunction
) _wrap_ToolBarBase_AddSeparator
, METH_VARARGS
| METH_KEYWORDS
},
31840 { (char *)"ToolBarBase_InsertSeparator", (PyCFunction
) _wrap_ToolBarBase_InsertSeparator
, METH_VARARGS
| METH_KEYWORDS
},
31841 { (char *)"ToolBarBase_RemoveTool", (PyCFunction
) _wrap_ToolBarBase_RemoveTool
, METH_VARARGS
| METH_KEYWORDS
},
31842 { (char *)"ToolBarBase_DeleteToolByPos", (PyCFunction
) _wrap_ToolBarBase_DeleteToolByPos
, METH_VARARGS
| METH_KEYWORDS
},
31843 { (char *)"ToolBarBase_DeleteTool", (PyCFunction
) _wrap_ToolBarBase_DeleteTool
, METH_VARARGS
| METH_KEYWORDS
},
31844 { (char *)"ToolBarBase_ClearTools", (PyCFunction
) _wrap_ToolBarBase_ClearTools
, METH_VARARGS
| METH_KEYWORDS
},
31845 { (char *)"ToolBarBase_Realize", (PyCFunction
) _wrap_ToolBarBase_Realize
, METH_VARARGS
| METH_KEYWORDS
},
31846 { (char *)"ToolBarBase_EnableTool", (PyCFunction
) _wrap_ToolBarBase_EnableTool
, METH_VARARGS
| METH_KEYWORDS
},
31847 { (char *)"ToolBarBase_ToggleTool", (PyCFunction
) _wrap_ToolBarBase_ToggleTool
, METH_VARARGS
| METH_KEYWORDS
},
31848 { (char *)"ToolBarBase_SetToggle", (PyCFunction
) _wrap_ToolBarBase_SetToggle
, METH_VARARGS
| METH_KEYWORDS
},
31849 { (char *)"ToolBarBase_GetToolClientData", (PyCFunction
) _wrap_ToolBarBase_GetToolClientData
, METH_VARARGS
| METH_KEYWORDS
},
31850 { (char *)"ToolBarBase_SetToolClientData", (PyCFunction
) _wrap_ToolBarBase_SetToolClientData
, METH_VARARGS
| METH_KEYWORDS
},
31851 { (char *)"ToolBarBase_GetToolPos", (PyCFunction
) _wrap_ToolBarBase_GetToolPos
, METH_VARARGS
| METH_KEYWORDS
},
31852 { (char *)"ToolBarBase_GetToolState", (PyCFunction
) _wrap_ToolBarBase_GetToolState
, METH_VARARGS
| METH_KEYWORDS
},
31853 { (char *)"ToolBarBase_GetToolEnabled", (PyCFunction
) _wrap_ToolBarBase_GetToolEnabled
, METH_VARARGS
| METH_KEYWORDS
},
31854 { (char *)"ToolBarBase_SetToolShortHelp", (PyCFunction
) _wrap_ToolBarBase_SetToolShortHelp
, METH_VARARGS
| METH_KEYWORDS
},
31855 { (char *)"ToolBarBase_GetToolShortHelp", (PyCFunction
) _wrap_ToolBarBase_GetToolShortHelp
, METH_VARARGS
| METH_KEYWORDS
},
31856 { (char *)"ToolBarBase_SetToolLongHelp", (PyCFunction
) _wrap_ToolBarBase_SetToolLongHelp
, METH_VARARGS
| METH_KEYWORDS
},
31857 { (char *)"ToolBarBase_GetToolLongHelp", (PyCFunction
) _wrap_ToolBarBase_GetToolLongHelp
, METH_VARARGS
| METH_KEYWORDS
},
31858 { (char *)"ToolBarBase_SetMarginsXY", (PyCFunction
) _wrap_ToolBarBase_SetMarginsXY
, METH_VARARGS
| METH_KEYWORDS
},
31859 { (char *)"ToolBarBase_SetMargins", (PyCFunction
) _wrap_ToolBarBase_SetMargins
, METH_VARARGS
| METH_KEYWORDS
},
31860 { (char *)"ToolBarBase_SetToolPacking", (PyCFunction
) _wrap_ToolBarBase_SetToolPacking
, METH_VARARGS
| METH_KEYWORDS
},
31861 { (char *)"ToolBarBase_SetToolSeparation", (PyCFunction
) _wrap_ToolBarBase_SetToolSeparation
, METH_VARARGS
| METH_KEYWORDS
},
31862 { (char *)"ToolBarBase_GetToolMargins", (PyCFunction
) _wrap_ToolBarBase_GetToolMargins
, METH_VARARGS
| METH_KEYWORDS
},
31863 { (char *)"ToolBarBase_GetMargins", (PyCFunction
) _wrap_ToolBarBase_GetMargins
, METH_VARARGS
| METH_KEYWORDS
},
31864 { (char *)"ToolBarBase_GetToolPacking", (PyCFunction
) _wrap_ToolBarBase_GetToolPacking
, METH_VARARGS
| METH_KEYWORDS
},
31865 { (char *)"ToolBarBase_GetToolSeparation", (PyCFunction
) _wrap_ToolBarBase_GetToolSeparation
, METH_VARARGS
| METH_KEYWORDS
},
31866 { (char *)"ToolBarBase_SetRows", (PyCFunction
) _wrap_ToolBarBase_SetRows
, METH_VARARGS
| METH_KEYWORDS
},
31867 { (char *)"ToolBarBase_SetMaxRowsCols", (PyCFunction
) _wrap_ToolBarBase_SetMaxRowsCols
, METH_VARARGS
| METH_KEYWORDS
},
31868 { (char *)"ToolBarBase_GetMaxRows", (PyCFunction
) _wrap_ToolBarBase_GetMaxRows
, METH_VARARGS
| METH_KEYWORDS
},
31869 { (char *)"ToolBarBase_GetMaxCols", (PyCFunction
) _wrap_ToolBarBase_GetMaxCols
, METH_VARARGS
| METH_KEYWORDS
},
31870 { (char *)"ToolBarBase_SetToolBitmapSize", (PyCFunction
) _wrap_ToolBarBase_SetToolBitmapSize
, METH_VARARGS
| METH_KEYWORDS
},
31871 { (char *)"ToolBarBase_GetToolBitmapSize", (PyCFunction
) _wrap_ToolBarBase_GetToolBitmapSize
, METH_VARARGS
| METH_KEYWORDS
},
31872 { (char *)"ToolBarBase_GetToolSize", (PyCFunction
) _wrap_ToolBarBase_GetToolSize
, METH_VARARGS
| METH_KEYWORDS
},
31873 { (char *)"ToolBarBase_FindToolForPosition", (PyCFunction
) _wrap_ToolBarBase_FindToolForPosition
, METH_VARARGS
| METH_KEYWORDS
},
31874 { (char *)"ToolBarBase_FindById", (PyCFunction
) _wrap_ToolBarBase_FindById
, METH_VARARGS
| METH_KEYWORDS
},
31875 { (char *)"ToolBarBase_IsVertical", (PyCFunction
) _wrap_ToolBarBase_IsVertical
, METH_VARARGS
| METH_KEYWORDS
},
31876 { (char *)"ToolBarBase_swigregister", ToolBarBase_swigregister
, METH_VARARGS
},
31877 { (char *)"new_ToolBar", (PyCFunction
) _wrap_new_ToolBar
, METH_VARARGS
| METH_KEYWORDS
},
31878 { (char *)"new_PreToolBar", (PyCFunction
) _wrap_new_PreToolBar
, METH_VARARGS
| METH_KEYWORDS
},
31879 { (char *)"ToolBar_Create", (PyCFunction
) _wrap_ToolBar_Create
, METH_VARARGS
| METH_KEYWORDS
},
31880 { (char *)"ToolBar_FindToolForPosition", (PyCFunction
) _wrap_ToolBar_FindToolForPosition
, METH_VARARGS
| METH_KEYWORDS
},
31881 { (char *)"ToolBar_GetClassDefaultAttributes", (PyCFunction
) _wrap_ToolBar_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31882 { (char *)"ToolBar_swigregister", ToolBar_swigregister
, METH_VARARGS
},
31883 { (char *)"new_ListItemAttr", (PyCFunction
) _wrap_new_ListItemAttr
, METH_VARARGS
| METH_KEYWORDS
},
31884 { (char *)"ListItemAttr_SetTextColour", (PyCFunction
) _wrap_ListItemAttr_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
31885 { (char *)"ListItemAttr_SetBackgroundColour", (PyCFunction
) _wrap_ListItemAttr_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
31886 { (char *)"ListItemAttr_SetFont", (PyCFunction
) _wrap_ListItemAttr_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
31887 { (char *)"ListItemAttr_HasTextColour", (PyCFunction
) _wrap_ListItemAttr_HasTextColour
, METH_VARARGS
| METH_KEYWORDS
},
31888 { (char *)"ListItemAttr_HasBackgroundColour", (PyCFunction
) _wrap_ListItemAttr_HasBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
31889 { (char *)"ListItemAttr_HasFont", (PyCFunction
) _wrap_ListItemAttr_HasFont
, METH_VARARGS
| METH_KEYWORDS
},
31890 { (char *)"ListItemAttr_GetTextColour", (PyCFunction
) _wrap_ListItemAttr_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
31891 { (char *)"ListItemAttr_GetBackgroundColour", (PyCFunction
) _wrap_ListItemAttr_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
31892 { (char *)"ListItemAttr_GetFont", (PyCFunction
) _wrap_ListItemAttr_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
31893 { (char *)"ListItemAttr_Destroy", (PyCFunction
) _wrap_ListItemAttr_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
31894 { (char *)"ListItemAttr_swigregister", ListItemAttr_swigregister
, METH_VARARGS
},
31895 { (char *)"new_ListItem", (PyCFunction
) _wrap_new_ListItem
, METH_VARARGS
| METH_KEYWORDS
},
31896 { (char *)"delete_ListItem", (PyCFunction
) _wrap_delete_ListItem
, METH_VARARGS
| METH_KEYWORDS
},
31897 { (char *)"ListItem_Clear", (PyCFunction
) _wrap_ListItem_Clear
, METH_VARARGS
| METH_KEYWORDS
},
31898 { (char *)"ListItem_ClearAttributes", (PyCFunction
) _wrap_ListItem_ClearAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31899 { (char *)"ListItem_SetMask", (PyCFunction
) _wrap_ListItem_SetMask
, METH_VARARGS
| METH_KEYWORDS
},
31900 { (char *)"ListItem_SetId", (PyCFunction
) _wrap_ListItem_SetId
, METH_VARARGS
| METH_KEYWORDS
},
31901 { (char *)"ListItem_SetColumn", (PyCFunction
) _wrap_ListItem_SetColumn
, METH_VARARGS
| METH_KEYWORDS
},
31902 { (char *)"ListItem_SetState", (PyCFunction
) _wrap_ListItem_SetState
, METH_VARARGS
| METH_KEYWORDS
},
31903 { (char *)"ListItem_SetStateMask", (PyCFunction
) _wrap_ListItem_SetStateMask
, METH_VARARGS
| METH_KEYWORDS
},
31904 { (char *)"ListItem_SetText", (PyCFunction
) _wrap_ListItem_SetText
, METH_VARARGS
| METH_KEYWORDS
},
31905 { (char *)"ListItem_SetImage", (PyCFunction
) _wrap_ListItem_SetImage
, METH_VARARGS
| METH_KEYWORDS
},
31906 { (char *)"ListItem_SetData", (PyCFunction
) _wrap_ListItem_SetData
, METH_VARARGS
| METH_KEYWORDS
},
31907 { (char *)"ListItem_SetWidth", (PyCFunction
) _wrap_ListItem_SetWidth
, METH_VARARGS
| METH_KEYWORDS
},
31908 { (char *)"ListItem_SetAlign", (PyCFunction
) _wrap_ListItem_SetAlign
, METH_VARARGS
| METH_KEYWORDS
},
31909 { (char *)"ListItem_SetTextColour", (PyCFunction
) _wrap_ListItem_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
31910 { (char *)"ListItem_SetBackgroundColour", (PyCFunction
) _wrap_ListItem_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
31911 { (char *)"ListItem_SetFont", (PyCFunction
) _wrap_ListItem_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
31912 { (char *)"ListItem_GetMask", (PyCFunction
) _wrap_ListItem_GetMask
, METH_VARARGS
| METH_KEYWORDS
},
31913 { (char *)"ListItem_GetId", (PyCFunction
) _wrap_ListItem_GetId
, METH_VARARGS
| METH_KEYWORDS
},
31914 { (char *)"ListItem_GetColumn", (PyCFunction
) _wrap_ListItem_GetColumn
, METH_VARARGS
| METH_KEYWORDS
},
31915 { (char *)"ListItem_GetState", (PyCFunction
) _wrap_ListItem_GetState
, METH_VARARGS
| METH_KEYWORDS
},
31916 { (char *)"ListItem_GetText", (PyCFunction
) _wrap_ListItem_GetText
, METH_VARARGS
| METH_KEYWORDS
},
31917 { (char *)"ListItem_GetImage", (PyCFunction
) _wrap_ListItem_GetImage
, METH_VARARGS
| METH_KEYWORDS
},
31918 { (char *)"ListItem_GetData", (PyCFunction
) _wrap_ListItem_GetData
, METH_VARARGS
| METH_KEYWORDS
},
31919 { (char *)"ListItem_GetWidth", (PyCFunction
) _wrap_ListItem_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
31920 { (char *)"ListItem_GetAlign", (PyCFunction
) _wrap_ListItem_GetAlign
, METH_VARARGS
| METH_KEYWORDS
},
31921 { (char *)"ListItem_GetAttributes", (PyCFunction
) _wrap_ListItem_GetAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31922 { (char *)"ListItem_HasAttributes", (PyCFunction
) _wrap_ListItem_HasAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31923 { (char *)"ListItem_GetTextColour", (PyCFunction
) _wrap_ListItem_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
31924 { (char *)"ListItem_GetBackgroundColour", (PyCFunction
) _wrap_ListItem_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
31925 { (char *)"ListItem_GetFont", (PyCFunction
) _wrap_ListItem_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
31926 { (char *)"ListItem_m_mask_set", (PyCFunction
) _wrap_ListItem_m_mask_set
, METH_VARARGS
| METH_KEYWORDS
},
31927 { (char *)"ListItem_m_mask_get", (PyCFunction
) _wrap_ListItem_m_mask_get
, METH_VARARGS
| METH_KEYWORDS
},
31928 { (char *)"ListItem_m_itemId_set", (PyCFunction
) _wrap_ListItem_m_itemId_set
, METH_VARARGS
| METH_KEYWORDS
},
31929 { (char *)"ListItem_m_itemId_get", (PyCFunction
) _wrap_ListItem_m_itemId_get
, METH_VARARGS
| METH_KEYWORDS
},
31930 { (char *)"ListItem_m_col_set", (PyCFunction
) _wrap_ListItem_m_col_set
, METH_VARARGS
| METH_KEYWORDS
},
31931 { (char *)"ListItem_m_col_get", (PyCFunction
) _wrap_ListItem_m_col_get
, METH_VARARGS
| METH_KEYWORDS
},
31932 { (char *)"ListItem_m_state_set", (PyCFunction
) _wrap_ListItem_m_state_set
, METH_VARARGS
| METH_KEYWORDS
},
31933 { (char *)"ListItem_m_state_get", (PyCFunction
) _wrap_ListItem_m_state_get
, METH_VARARGS
| METH_KEYWORDS
},
31934 { (char *)"ListItem_m_stateMask_set", (PyCFunction
) _wrap_ListItem_m_stateMask_set
, METH_VARARGS
| METH_KEYWORDS
},
31935 { (char *)"ListItem_m_stateMask_get", (PyCFunction
) _wrap_ListItem_m_stateMask_get
, METH_VARARGS
| METH_KEYWORDS
},
31936 { (char *)"ListItem_m_text_set", (PyCFunction
) _wrap_ListItem_m_text_set
, METH_VARARGS
| METH_KEYWORDS
},
31937 { (char *)"ListItem_m_text_get", (PyCFunction
) _wrap_ListItem_m_text_get
, METH_VARARGS
| METH_KEYWORDS
},
31938 { (char *)"ListItem_m_image_set", (PyCFunction
) _wrap_ListItem_m_image_set
, METH_VARARGS
| METH_KEYWORDS
},
31939 { (char *)"ListItem_m_image_get", (PyCFunction
) _wrap_ListItem_m_image_get
, METH_VARARGS
| METH_KEYWORDS
},
31940 { (char *)"ListItem_m_data_set", (PyCFunction
) _wrap_ListItem_m_data_set
, METH_VARARGS
| METH_KEYWORDS
},
31941 { (char *)"ListItem_m_data_get", (PyCFunction
) _wrap_ListItem_m_data_get
, METH_VARARGS
| METH_KEYWORDS
},
31942 { (char *)"ListItem_m_format_set", (PyCFunction
) _wrap_ListItem_m_format_set
, METH_VARARGS
| METH_KEYWORDS
},
31943 { (char *)"ListItem_m_format_get", (PyCFunction
) _wrap_ListItem_m_format_get
, METH_VARARGS
| METH_KEYWORDS
},
31944 { (char *)"ListItem_m_width_set", (PyCFunction
) _wrap_ListItem_m_width_set
, METH_VARARGS
| METH_KEYWORDS
},
31945 { (char *)"ListItem_m_width_get", (PyCFunction
) _wrap_ListItem_m_width_get
, METH_VARARGS
| METH_KEYWORDS
},
31946 { (char *)"ListItem_swigregister", ListItem_swigregister
, METH_VARARGS
},
31947 { (char *)"new_ListEvent", (PyCFunction
) _wrap_new_ListEvent
, METH_VARARGS
| METH_KEYWORDS
},
31948 { (char *)"ListEvent_m_code_set", (PyCFunction
) _wrap_ListEvent_m_code_set
, METH_VARARGS
| METH_KEYWORDS
},
31949 { (char *)"ListEvent_m_code_get", (PyCFunction
) _wrap_ListEvent_m_code_get
, METH_VARARGS
| METH_KEYWORDS
},
31950 { (char *)"ListEvent_m_oldItemIndex_set", (PyCFunction
) _wrap_ListEvent_m_oldItemIndex_set
, METH_VARARGS
| METH_KEYWORDS
},
31951 { (char *)"ListEvent_m_oldItemIndex_get", (PyCFunction
) _wrap_ListEvent_m_oldItemIndex_get
, METH_VARARGS
| METH_KEYWORDS
},
31952 { (char *)"ListEvent_m_itemIndex_set", (PyCFunction
) _wrap_ListEvent_m_itemIndex_set
, METH_VARARGS
| METH_KEYWORDS
},
31953 { (char *)"ListEvent_m_itemIndex_get", (PyCFunction
) _wrap_ListEvent_m_itemIndex_get
, METH_VARARGS
| METH_KEYWORDS
},
31954 { (char *)"ListEvent_m_col_set", (PyCFunction
) _wrap_ListEvent_m_col_set
, METH_VARARGS
| METH_KEYWORDS
},
31955 { (char *)"ListEvent_m_col_get", (PyCFunction
) _wrap_ListEvent_m_col_get
, METH_VARARGS
| METH_KEYWORDS
},
31956 { (char *)"ListEvent_m_pointDrag_set", (PyCFunction
) _wrap_ListEvent_m_pointDrag_set
, METH_VARARGS
| METH_KEYWORDS
},
31957 { (char *)"ListEvent_m_pointDrag_get", (PyCFunction
) _wrap_ListEvent_m_pointDrag_get
, METH_VARARGS
| METH_KEYWORDS
},
31958 { (char *)"ListEvent_m_item_get", (PyCFunction
) _wrap_ListEvent_m_item_get
, METH_VARARGS
| METH_KEYWORDS
},
31959 { (char *)"ListEvent_GetKeyCode", (PyCFunction
) _wrap_ListEvent_GetKeyCode
, METH_VARARGS
| METH_KEYWORDS
},
31960 { (char *)"ListEvent_GetIndex", (PyCFunction
) _wrap_ListEvent_GetIndex
, METH_VARARGS
| METH_KEYWORDS
},
31961 { (char *)"ListEvent_GetColumn", (PyCFunction
) _wrap_ListEvent_GetColumn
, METH_VARARGS
| METH_KEYWORDS
},
31962 { (char *)"ListEvent_GetPoint", (PyCFunction
) _wrap_ListEvent_GetPoint
, METH_VARARGS
| METH_KEYWORDS
},
31963 { (char *)"ListEvent_GetLabel", (PyCFunction
) _wrap_ListEvent_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
31964 { (char *)"ListEvent_GetText", (PyCFunction
) _wrap_ListEvent_GetText
, METH_VARARGS
| METH_KEYWORDS
},
31965 { (char *)"ListEvent_GetImage", (PyCFunction
) _wrap_ListEvent_GetImage
, METH_VARARGS
| METH_KEYWORDS
},
31966 { (char *)"ListEvent_GetData", (PyCFunction
) _wrap_ListEvent_GetData
, METH_VARARGS
| METH_KEYWORDS
},
31967 { (char *)"ListEvent_GetMask", (PyCFunction
) _wrap_ListEvent_GetMask
, METH_VARARGS
| METH_KEYWORDS
},
31968 { (char *)"ListEvent_GetItem", (PyCFunction
) _wrap_ListEvent_GetItem
, METH_VARARGS
| METH_KEYWORDS
},
31969 { (char *)"ListEvent_GetCacheFrom", (PyCFunction
) _wrap_ListEvent_GetCacheFrom
, METH_VARARGS
| METH_KEYWORDS
},
31970 { (char *)"ListEvent_GetCacheTo", (PyCFunction
) _wrap_ListEvent_GetCacheTo
, METH_VARARGS
| METH_KEYWORDS
},
31971 { (char *)"ListEvent_IsEditCancelled", (PyCFunction
) _wrap_ListEvent_IsEditCancelled
, METH_VARARGS
| METH_KEYWORDS
},
31972 { (char *)"ListEvent_SetEditCanceled", (PyCFunction
) _wrap_ListEvent_SetEditCanceled
, METH_VARARGS
| METH_KEYWORDS
},
31973 { (char *)"ListEvent_swigregister", ListEvent_swigregister
, METH_VARARGS
},
31974 { (char *)"new_ListCtrl", (PyCFunction
) _wrap_new_ListCtrl
, METH_VARARGS
| METH_KEYWORDS
},
31975 { (char *)"new_PreListCtrl", (PyCFunction
) _wrap_new_PreListCtrl
, METH_VARARGS
| METH_KEYWORDS
},
31976 { (char *)"ListCtrl_Create", (PyCFunction
) _wrap_ListCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
},
31977 { (char *)"ListCtrl__setCallbackInfo", (PyCFunction
) _wrap_ListCtrl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
31978 { (char *)"ListCtrl_SetForegroundColour", (PyCFunction
) _wrap_ListCtrl_SetForegroundColour
, METH_VARARGS
| METH_KEYWORDS
},
31979 { (char *)"ListCtrl_SetBackgroundColour", (PyCFunction
) _wrap_ListCtrl_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
31980 { (char *)"ListCtrl_GetColumn", (PyCFunction
) _wrap_ListCtrl_GetColumn
, METH_VARARGS
| METH_KEYWORDS
},
31981 { (char *)"ListCtrl_SetColumn", (PyCFunction
) _wrap_ListCtrl_SetColumn
, METH_VARARGS
| METH_KEYWORDS
},
31982 { (char *)"ListCtrl_GetColumnWidth", (PyCFunction
) _wrap_ListCtrl_GetColumnWidth
, METH_VARARGS
| METH_KEYWORDS
},
31983 { (char *)"ListCtrl_SetColumnWidth", (PyCFunction
) _wrap_ListCtrl_SetColumnWidth
, METH_VARARGS
| METH_KEYWORDS
},
31984 { (char *)"ListCtrl_GetCountPerPage", (PyCFunction
) _wrap_ListCtrl_GetCountPerPage
, METH_VARARGS
| METH_KEYWORDS
},
31985 { (char *)"ListCtrl_GetViewRect", (PyCFunction
) _wrap_ListCtrl_GetViewRect
, METH_VARARGS
| METH_KEYWORDS
},
31986 { (char *)"ListCtrl_GetEditControl", (PyCFunction
) _wrap_ListCtrl_GetEditControl
, METH_VARARGS
| METH_KEYWORDS
},
31987 { (char *)"ListCtrl_GetItem", (PyCFunction
) _wrap_ListCtrl_GetItem
, METH_VARARGS
| METH_KEYWORDS
},
31988 { (char *)"ListCtrl_SetItem", (PyCFunction
) _wrap_ListCtrl_SetItem
, METH_VARARGS
| METH_KEYWORDS
},
31989 { (char *)"ListCtrl_SetStringItem", (PyCFunction
) _wrap_ListCtrl_SetStringItem
, METH_VARARGS
| METH_KEYWORDS
},
31990 { (char *)"ListCtrl_GetItemState", (PyCFunction
) _wrap_ListCtrl_GetItemState
, METH_VARARGS
| METH_KEYWORDS
},
31991 { (char *)"ListCtrl_SetItemState", (PyCFunction
) _wrap_ListCtrl_SetItemState
, METH_VARARGS
| METH_KEYWORDS
},
31992 { (char *)"ListCtrl_SetItemImage", (PyCFunction
) _wrap_ListCtrl_SetItemImage
, METH_VARARGS
| METH_KEYWORDS
},
31993 { (char *)"ListCtrl_GetItemText", (PyCFunction
) _wrap_ListCtrl_GetItemText
, METH_VARARGS
| METH_KEYWORDS
},
31994 { (char *)"ListCtrl_SetItemText", (PyCFunction
) _wrap_ListCtrl_SetItemText
, METH_VARARGS
| METH_KEYWORDS
},
31995 { (char *)"ListCtrl_GetItemData", (PyCFunction
) _wrap_ListCtrl_GetItemData
, METH_VARARGS
| METH_KEYWORDS
},
31996 { (char *)"ListCtrl_SetItemData", (PyCFunction
) _wrap_ListCtrl_SetItemData
, METH_VARARGS
| METH_KEYWORDS
},
31997 { (char *)"ListCtrl_GetItemPosition", (PyCFunction
) _wrap_ListCtrl_GetItemPosition
, METH_VARARGS
| METH_KEYWORDS
},
31998 { (char *)"ListCtrl_GetItemRect", (PyCFunction
) _wrap_ListCtrl_GetItemRect
, METH_VARARGS
| METH_KEYWORDS
},
31999 { (char *)"ListCtrl_SetItemPosition", (PyCFunction
) _wrap_ListCtrl_SetItemPosition
, METH_VARARGS
| METH_KEYWORDS
},
32000 { (char *)"ListCtrl_GetItemCount", (PyCFunction
) _wrap_ListCtrl_GetItemCount
, METH_VARARGS
| METH_KEYWORDS
},
32001 { (char *)"ListCtrl_GetColumnCount", (PyCFunction
) _wrap_ListCtrl_GetColumnCount
, METH_VARARGS
| METH_KEYWORDS
},
32002 { (char *)"ListCtrl_GetItemSpacing", (PyCFunction
) _wrap_ListCtrl_GetItemSpacing
, METH_VARARGS
| METH_KEYWORDS
},
32003 { (char *)"ListCtrl_GetSelectedItemCount", (PyCFunction
) _wrap_ListCtrl_GetSelectedItemCount
, METH_VARARGS
| METH_KEYWORDS
},
32004 { (char *)"ListCtrl_GetTextColour", (PyCFunction
) _wrap_ListCtrl_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
32005 { (char *)"ListCtrl_SetTextColour", (PyCFunction
) _wrap_ListCtrl_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
32006 { (char *)"ListCtrl_GetTopItem", (PyCFunction
) _wrap_ListCtrl_GetTopItem
, METH_VARARGS
| METH_KEYWORDS
},
32007 { (char *)"ListCtrl_SetSingleStyle", (PyCFunction
) _wrap_ListCtrl_SetSingleStyle
, METH_VARARGS
| METH_KEYWORDS
},
32008 { (char *)"ListCtrl_SetWindowStyleFlag", (PyCFunction
) _wrap_ListCtrl_SetWindowStyleFlag
, METH_VARARGS
| METH_KEYWORDS
},
32009 { (char *)"ListCtrl_GetNextItem", (PyCFunction
) _wrap_ListCtrl_GetNextItem
, METH_VARARGS
| METH_KEYWORDS
},
32010 { (char *)"ListCtrl_GetImageList", (PyCFunction
) _wrap_ListCtrl_GetImageList
, METH_VARARGS
| METH_KEYWORDS
},
32011 { (char *)"ListCtrl_SetImageList", (PyCFunction
) _wrap_ListCtrl_SetImageList
, METH_VARARGS
| METH_KEYWORDS
},
32012 { (char *)"ListCtrl_AssignImageList", (PyCFunction
) _wrap_ListCtrl_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
},
32013 { (char *)"ListCtrl_InReportView", (PyCFunction
) _wrap_ListCtrl_InReportView
, METH_VARARGS
| METH_KEYWORDS
},
32014 { (char *)"ListCtrl_IsVirtual", (PyCFunction
) _wrap_ListCtrl_IsVirtual
, METH_VARARGS
| METH_KEYWORDS
},
32015 { (char *)"ListCtrl_RefreshItem", (PyCFunction
) _wrap_ListCtrl_RefreshItem
, METH_VARARGS
| METH_KEYWORDS
},
32016 { (char *)"ListCtrl_RefreshItems", (PyCFunction
) _wrap_ListCtrl_RefreshItems
, METH_VARARGS
| METH_KEYWORDS
},
32017 { (char *)"ListCtrl_Arrange", (PyCFunction
) _wrap_ListCtrl_Arrange
, METH_VARARGS
| METH_KEYWORDS
},
32018 { (char *)"ListCtrl_DeleteItem", (PyCFunction
) _wrap_ListCtrl_DeleteItem
, METH_VARARGS
| METH_KEYWORDS
},
32019 { (char *)"ListCtrl_DeleteAllItems", (PyCFunction
) _wrap_ListCtrl_DeleteAllItems
, METH_VARARGS
| METH_KEYWORDS
},
32020 { (char *)"ListCtrl_DeleteColumn", (PyCFunction
) _wrap_ListCtrl_DeleteColumn
, METH_VARARGS
| METH_KEYWORDS
},
32021 { (char *)"ListCtrl_DeleteAllColumns", (PyCFunction
) _wrap_ListCtrl_DeleteAllColumns
, METH_VARARGS
| METH_KEYWORDS
},
32022 { (char *)"ListCtrl_ClearAll", (PyCFunction
) _wrap_ListCtrl_ClearAll
, METH_VARARGS
| METH_KEYWORDS
},
32023 { (char *)"ListCtrl_EditLabel", (PyCFunction
) _wrap_ListCtrl_EditLabel
, METH_VARARGS
| METH_KEYWORDS
},
32024 { (char *)"ListCtrl_EndEditLabel", (PyCFunction
) _wrap_ListCtrl_EndEditLabel
, METH_VARARGS
| METH_KEYWORDS
},
32025 { (char *)"ListCtrl_EnsureVisible", (PyCFunction
) _wrap_ListCtrl_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
},
32026 { (char *)"ListCtrl_FindItem", (PyCFunction
) _wrap_ListCtrl_FindItem
, METH_VARARGS
| METH_KEYWORDS
},
32027 { (char *)"ListCtrl_FindItemData", (PyCFunction
) _wrap_ListCtrl_FindItemData
, METH_VARARGS
| METH_KEYWORDS
},
32028 { (char *)"ListCtrl_FindItemAtPos", (PyCFunction
) _wrap_ListCtrl_FindItemAtPos
, METH_VARARGS
| METH_KEYWORDS
},
32029 { (char *)"ListCtrl_HitTest", (PyCFunction
) _wrap_ListCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
},
32030 { (char *)"ListCtrl_InsertItem", (PyCFunction
) _wrap_ListCtrl_InsertItem
, METH_VARARGS
| METH_KEYWORDS
},
32031 { (char *)"ListCtrl_InsertStringItem", (PyCFunction
) _wrap_ListCtrl_InsertStringItem
, METH_VARARGS
| METH_KEYWORDS
},
32032 { (char *)"ListCtrl_InsertImageItem", (PyCFunction
) _wrap_ListCtrl_InsertImageItem
, METH_VARARGS
| METH_KEYWORDS
},
32033 { (char *)"ListCtrl_InsertImageStringItem", (PyCFunction
) _wrap_ListCtrl_InsertImageStringItem
, METH_VARARGS
| METH_KEYWORDS
},
32034 { (char *)"ListCtrl_InsertColumnInfo", (PyCFunction
) _wrap_ListCtrl_InsertColumnInfo
, METH_VARARGS
| METH_KEYWORDS
},
32035 { (char *)"ListCtrl_InsertColumn", (PyCFunction
) _wrap_ListCtrl_InsertColumn
, METH_VARARGS
| METH_KEYWORDS
},
32036 { (char *)"ListCtrl_SetItemCount", (PyCFunction
) _wrap_ListCtrl_SetItemCount
, METH_VARARGS
| METH_KEYWORDS
},
32037 { (char *)"ListCtrl_ScrollList", (PyCFunction
) _wrap_ListCtrl_ScrollList
, METH_VARARGS
| METH_KEYWORDS
},
32038 { (char *)"ListCtrl_SetItemTextColour", (PyCFunction
) _wrap_ListCtrl_SetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
},
32039 { (char *)"ListCtrl_GetItemTextColour", (PyCFunction
) _wrap_ListCtrl_GetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
},
32040 { (char *)"ListCtrl_SetItemBackgroundColour", (PyCFunction
) _wrap_ListCtrl_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
32041 { (char *)"ListCtrl_GetItemBackgroundColour", (PyCFunction
) _wrap_ListCtrl_GetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
32042 { (char *)"ListCtrl_SortItems", (PyCFunction
) _wrap_ListCtrl_SortItems
, METH_VARARGS
| METH_KEYWORDS
},
32043 { (char *)"ListCtrl_GetMainWindow", (PyCFunction
) _wrap_ListCtrl_GetMainWindow
, METH_VARARGS
| METH_KEYWORDS
},
32044 { (char *)"ListCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_ListCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
32045 { (char *)"ListCtrl_swigregister", ListCtrl_swigregister
, METH_VARARGS
},
32046 { (char *)"new_ListView", (PyCFunction
) _wrap_new_ListView
, METH_VARARGS
| METH_KEYWORDS
},
32047 { (char *)"new_PreListView", (PyCFunction
) _wrap_new_PreListView
, METH_VARARGS
| METH_KEYWORDS
},
32048 { (char *)"ListView_Create", (PyCFunction
) _wrap_ListView_Create
, METH_VARARGS
| METH_KEYWORDS
},
32049 { (char *)"ListView_Select", (PyCFunction
) _wrap_ListView_Select
, METH_VARARGS
| METH_KEYWORDS
},
32050 { (char *)"ListView_Focus", (PyCFunction
) _wrap_ListView_Focus
, METH_VARARGS
| METH_KEYWORDS
},
32051 { (char *)"ListView_GetFocusedItem", (PyCFunction
) _wrap_ListView_GetFocusedItem
, METH_VARARGS
| METH_KEYWORDS
},
32052 { (char *)"ListView_GetNextSelected", (PyCFunction
) _wrap_ListView_GetNextSelected
, METH_VARARGS
| METH_KEYWORDS
},
32053 { (char *)"ListView_GetFirstSelected", (PyCFunction
) _wrap_ListView_GetFirstSelected
, METH_VARARGS
| METH_KEYWORDS
},
32054 { (char *)"ListView_IsSelected", (PyCFunction
) _wrap_ListView_IsSelected
, METH_VARARGS
| METH_KEYWORDS
},
32055 { (char *)"ListView_SetColumnImage", (PyCFunction
) _wrap_ListView_SetColumnImage
, METH_VARARGS
| METH_KEYWORDS
},
32056 { (char *)"ListView_ClearColumnImage", (PyCFunction
) _wrap_ListView_ClearColumnImage
, METH_VARARGS
| METH_KEYWORDS
},
32057 { (char *)"ListView_swigregister", ListView_swigregister
, METH_VARARGS
},
32058 { (char *)"new_TreeItemId", (PyCFunction
) _wrap_new_TreeItemId
, METH_VARARGS
| METH_KEYWORDS
},
32059 { (char *)"delete_TreeItemId", (PyCFunction
) _wrap_delete_TreeItemId
, METH_VARARGS
| METH_KEYWORDS
},
32060 { (char *)"TreeItemId_IsOk", (PyCFunction
) _wrap_TreeItemId_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
32061 { (char *)"TreeItemId___eq__", (PyCFunction
) _wrap_TreeItemId___eq__
, METH_VARARGS
| METH_KEYWORDS
},
32062 { (char *)"TreeItemId___ne__", (PyCFunction
) _wrap_TreeItemId___ne__
, METH_VARARGS
| METH_KEYWORDS
},
32063 { (char *)"TreeItemId_m_pItem_set", (PyCFunction
) _wrap_TreeItemId_m_pItem_set
, METH_VARARGS
| METH_KEYWORDS
},
32064 { (char *)"TreeItemId_m_pItem_get", (PyCFunction
) _wrap_TreeItemId_m_pItem_get
, METH_VARARGS
| METH_KEYWORDS
},
32065 { (char *)"TreeItemId_swigregister", TreeItemId_swigregister
, METH_VARARGS
},
32066 { (char *)"new_TreeItemData", (PyCFunction
) _wrap_new_TreeItemData
, METH_VARARGS
| METH_KEYWORDS
},
32067 { (char *)"TreeItemData_GetData", (PyCFunction
) _wrap_TreeItemData_GetData
, METH_VARARGS
| METH_KEYWORDS
},
32068 { (char *)"TreeItemData_SetData", (PyCFunction
) _wrap_TreeItemData_SetData
, METH_VARARGS
| METH_KEYWORDS
},
32069 { (char *)"TreeItemData_GetId", (PyCFunction
) _wrap_TreeItemData_GetId
, METH_VARARGS
| METH_KEYWORDS
},
32070 { (char *)"TreeItemData_SetId", (PyCFunction
) _wrap_TreeItemData_SetId
, METH_VARARGS
| METH_KEYWORDS
},
32071 { (char *)"TreeItemData_Destroy", (PyCFunction
) _wrap_TreeItemData_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
32072 { (char *)"TreeItemData_swigregister", TreeItemData_swigregister
, METH_VARARGS
},
32073 { (char *)"new_TreeEvent", (PyCFunction
) _wrap_new_TreeEvent
, METH_VARARGS
| METH_KEYWORDS
},
32074 { (char *)"TreeEvent_GetItem", (PyCFunction
) _wrap_TreeEvent_GetItem
, METH_VARARGS
| METH_KEYWORDS
},
32075 { (char *)"TreeEvent_SetItem", (PyCFunction
) _wrap_TreeEvent_SetItem
, METH_VARARGS
| METH_KEYWORDS
},
32076 { (char *)"TreeEvent_GetOldItem", (PyCFunction
) _wrap_TreeEvent_GetOldItem
, METH_VARARGS
| METH_KEYWORDS
},
32077 { (char *)"TreeEvent_SetOldItem", (PyCFunction
) _wrap_TreeEvent_SetOldItem
, METH_VARARGS
| METH_KEYWORDS
},
32078 { (char *)"TreeEvent_GetPoint", (PyCFunction
) _wrap_TreeEvent_GetPoint
, METH_VARARGS
| METH_KEYWORDS
},
32079 { (char *)"TreeEvent_SetPoint", (PyCFunction
) _wrap_TreeEvent_SetPoint
, METH_VARARGS
| METH_KEYWORDS
},
32080 { (char *)"TreeEvent_GetKeyEvent", (PyCFunction
) _wrap_TreeEvent_GetKeyEvent
, METH_VARARGS
| METH_KEYWORDS
},
32081 { (char *)"TreeEvent_GetKeyCode", (PyCFunction
) _wrap_TreeEvent_GetKeyCode
, METH_VARARGS
| METH_KEYWORDS
},
32082 { (char *)"TreeEvent_SetKeyEvent", (PyCFunction
) _wrap_TreeEvent_SetKeyEvent
, METH_VARARGS
| METH_KEYWORDS
},
32083 { (char *)"TreeEvent_GetLabel", (PyCFunction
) _wrap_TreeEvent_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
32084 { (char *)"TreeEvent_SetLabel", (PyCFunction
) _wrap_TreeEvent_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
32085 { (char *)"TreeEvent_IsEditCancelled", (PyCFunction
) _wrap_TreeEvent_IsEditCancelled
, METH_VARARGS
| METH_KEYWORDS
},
32086 { (char *)"TreeEvent_SetEditCanceled", (PyCFunction
) _wrap_TreeEvent_SetEditCanceled
, METH_VARARGS
| METH_KEYWORDS
},
32087 { (char *)"TreeEvent_SetToolTip", (PyCFunction
) _wrap_TreeEvent_SetToolTip
, METH_VARARGS
| METH_KEYWORDS
},
32088 { (char *)"TreeEvent_swigregister", TreeEvent_swigregister
, METH_VARARGS
},
32089 { (char *)"new_TreeCtrl", (PyCFunction
) _wrap_new_TreeCtrl
, METH_VARARGS
| METH_KEYWORDS
},
32090 { (char *)"new_PreTreeCtrl", (PyCFunction
) _wrap_new_PreTreeCtrl
, METH_VARARGS
| METH_KEYWORDS
},
32091 { (char *)"TreeCtrl_Create", (PyCFunction
) _wrap_TreeCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
},
32092 { (char *)"TreeCtrl__setCallbackInfo", (PyCFunction
) _wrap_TreeCtrl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
32093 { (char *)"TreeCtrl_GetCount", (PyCFunction
) _wrap_TreeCtrl_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
32094 { (char *)"TreeCtrl_GetIndent", (PyCFunction
) _wrap_TreeCtrl_GetIndent
, METH_VARARGS
| METH_KEYWORDS
},
32095 { (char *)"TreeCtrl_SetIndent", (PyCFunction
) _wrap_TreeCtrl_SetIndent
, METH_VARARGS
| METH_KEYWORDS
},
32096 { (char *)"TreeCtrl_GetSpacing", (PyCFunction
) _wrap_TreeCtrl_GetSpacing
, METH_VARARGS
| METH_KEYWORDS
},
32097 { (char *)"TreeCtrl_SetSpacing", (PyCFunction
) _wrap_TreeCtrl_SetSpacing
, METH_VARARGS
| METH_KEYWORDS
},
32098 { (char *)"TreeCtrl_GetImageList", (PyCFunction
) _wrap_TreeCtrl_GetImageList
, METH_VARARGS
| METH_KEYWORDS
},
32099 { (char *)"TreeCtrl_GetStateImageList", (PyCFunction
) _wrap_TreeCtrl_GetStateImageList
, METH_VARARGS
| METH_KEYWORDS
},
32100 { (char *)"TreeCtrl_SetImageList", (PyCFunction
) _wrap_TreeCtrl_SetImageList
, METH_VARARGS
| METH_KEYWORDS
},
32101 { (char *)"TreeCtrl_SetStateImageList", (PyCFunction
) _wrap_TreeCtrl_SetStateImageList
, METH_VARARGS
| METH_KEYWORDS
},
32102 { (char *)"TreeCtrl_AssignImageList", (PyCFunction
) _wrap_TreeCtrl_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
},
32103 { (char *)"TreeCtrl_AssignStateImageList", (PyCFunction
) _wrap_TreeCtrl_AssignStateImageList
, METH_VARARGS
| METH_KEYWORDS
},
32104 { (char *)"TreeCtrl_GetItemText", (PyCFunction
) _wrap_TreeCtrl_GetItemText
, METH_VARARGS
| METH_KEYWORDS
},
32105 { (char *)"TreeCtrl_GetItemImage", (PyCFunction
) _wrap_TreeCtrl_GetItemImage
, METH_VARARGS
| METH_KEYWORDS
},
32106 { (char *)"TreeCtrl_GetItemData", (PyCFunction
) _wrap_TreeCtrl_GetItemData
, METH_VARARGS
| METH_KEYWORDS
},
32107 { (char *)"TreeCtrl_GetItemPyData", (PyCFunction
) _wrap_TreeCtrl_GetItemPyData
, METH_VARARGS
| METH_KEYWORDS
},
32108 { (char *)"TreeCtrl_GetItemTextColour", (PyCFunction
) _wrap_TreeCtrl_GetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
},
32109 { (char *)"TreeCtrl_GetItemBackgroundColour", (PyCFunction
) _wrap_TreeCtrl_GetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
32110 { (char *)"TreeCtrl_GetItemFont", (PyCFunction
) _wrap_TreeCtrl_GetItemFont
, METH_VARARGS
| METH_KEYWORDS
},
32111 { (char *)"TreeCtrl_SetItemText", (PyCFunction
) _wrap_TreeCtrl_SetItemText
, METH_VARARGS
| METH_KEYWORDS
},
32112 { (char *)"TreeCtrl_SetItemImage", (PyCFunction
) _wrap_TreeCtrl_SetItemImage
, METH_VARARGS
| METH_KEYWORDS
},
32113 { (char *)"TreeCtrl_SetItemData", (PyCFunction
) _wrap_TreeCtrl_SetItemData
, METH_VARARGS
| METH_KEYWORDS
},
32114 { (char *)"TreeCtrl_SetItemPyData", (PyCFunction
) _wrap_TreeCtrl_SetItemPyData
, METH_VARARGS
| METH_KEYWORDS
},
32115 { (char *)"TreeCtrl_SetItemHasChildren", (PyCFunction
) _wrap_TreeCtrl_SetItemHasChildren
, METH_VARARGS
| METH_KEYWORDS
},
32116 { (char *)"TreeCtrl_SetItemBold", (PyCFunction
) _wrap_TreeCtrl_SetItemBold
, METH_VARARGS
| METH_KEYWORDS
},
32117 { (char *)"TreeCtrl_SetItemDropHighlight", (PyCFunction
) _wrap_TreeCtrl_SetItemDropHighlight
, METH_VARARGS
| METH_KEYWORDS
},
32118 { (char *)"TreeCtrl_SetItemTextColour", (PyCFunction
) _wrap_TreeCtrl_SetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
},
32119 { (char *)"TreeCtrl_SetItemBackgroundColour", (PyCFunction
) _wrap_TreeCtrl_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
32120 { (char *)"TreeCtrl_SetItemFont", (PyCFunction
) _wrap_TreeCtrl_SetItemFont
, METH_VARARGS
| METH_KEYWORDS
},
32121 { (char *)"TreeCtrl_IsVisible", (PyCFunction
) _wrap_TreeCtrl_IsVisible
, METH_VARARGS
| METH_KEYWORDS
},
32122 { (char *)"TreeCtrl_ItemHasChildren", (PyCFunction
) _wrap_TreeCtrl_ItemHasChildren
, METH_VARARGS
| METH_KEYWORDS
},
32123 { (char *)"TreeCtrl_IsExpanded", (PyCFunction
) _wrap_TreeCtrl_IsExpanded
, METH_VARARGS
| METH_KEYWORDS
},
32124 { (char *)"TreeCtrl_IsSelected", (PyCFunction
) _wrap_TreeCtrl_IsSelected
, METH_VARARGS
| METH_KEYWORDS
},
32125 { (char *)"TreeCtrl_IsBold", (PyCFunction
) _wrap_TreeCtrl_IsBold
, METH_VARARGS
| METH_KEYWORDS
},
32126 { (char *)"TreeCtrl_GetChildrenCount", (PyCFunction
) _wrap_TreeCtrl_GetChildrenCount
, METH_VARARGS
| METH_KEYWORDS
},
32127 { (char *)"TreeCtrl_GetRootItem", (PyCFunction
) _wrap_TreeCtrl_GetRootItem
, METH_VARARGS
| METH_KEYWORDS
},
32128 { (char *)"TreeCtrl_GetSelection", (PyCFunction
) _wrap_TreeCtrl_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
32129 { (char *)"TreeCtrl_GetSelections", (PyCFunction
) _wrap_TreeCtrl_GetSelections
, METH_VARARGS
| METH_KEYWORDS
},
32130 { (char *)"TreeCtrl_GetItemParent", (PyCFunction
) _wrap_TreeCtrl_GetItemParent
, METH_VARARGS
| METH_KEYWORDS
},
32131 { (char *)"TreeCtrl_GetFirstChild", (PyCFunction
) _wrap_TreeCtrl_GetFirstChild
, METH_VARARGS
| METH_KEYWORDS
},
32132 { (char *)"TreeCtrl_GetNextChild", (PyCFunction
) _wrap_TreeCtrl_GetNextChild
, METH_VARARGS
| METH_KEYWORDS
},
32133 { (char *)"TreeCtrl_GetLastChild", (PyCFunction
) _wrap_TreeCtrl_GetLastChild
, METH_VARARGS
| METH_KEYWORDS
},
32134 { (char *)"TreeCtrl_GetNextSibling", (PyCFunction
) _wrap_TreeCtrl_GetNextSibling
, METH_VARARGS
| METH_KEYWORDS
},
32135 { (char *)"TreeCtrl_GetPrevSibling", (PyCFunction
) _wrap_TreeCtrl_GetPrevSibling
, METH_VARARGS
| METH_KEYWORDS
},
32136 { (char *)"TreeCtrl_GetFirstVisibleItem", (PyCFunction
) _wrap_TreeCtrl_GetFirstVisibleItem
, METH_VARARGS
| METH_KEYWORDS
},
32137 { (char *)"TreeCtrl_GetNextVisible", (PyCFunction
) _wrap_TreeCtrl_GetNextVisible
, METH_VARARGS
| METH_KEYWORDS
},
32138 { (char *)"TreeCtrl_GetPrevVisible", (PyCFunction
) _wrap_TreeCtrl_GetPrevVisible
, METH_VARARGS
| METH_KEYWORDS
},
32139 { (char *)"TreeCtrl_AddRoot", (PyCFunction
) _wrap_TreeCtrl_AddRoot
, METH_VARARGS
| METH_KEYWORDS
},
32140 { (char *)"TreeCtrl_PrependItem", (PyCFunction
) _wrap_TreeCtrl_PrependItem
, METH_VARARGS
| METH_KEYWORDS
},
32141 { (char *)"TreeCtrl_InsertItem", (PyCFunction
) _wrap_TreeCtrl_InsertItem
, METH_VARARGS
| METH_KEYWORDS
},
32142 { (char *)"TreeCtrl_InsertItemBefore", (PyCFunction
) _wrap_TreeCtrl_InsertItemBefore
, METH_VARARGS
| METH_KEYWORDS
},
32143 { (char *)"TreeCtrl_AppendItem", (PyCFunction
) _wrap_TreeCtrl_AppendItem
, METH_VARARGS
| METH_KEYWORDS
},
32144 { (char *)"TreeCtrl_Delete", (PyCFunction
) _wrap_TreeCtrl_Delete
, METH_VARARGS
| METH_KEYWORDS
},
32145 { (char *)"TreeCtrl_DeleteChildren", (PyCFunction
) _wrap_TreeCtrl_DeleteChildren
, METH_VARARGS
| METH_KEYWORDS
},
32146 { (char *)"TreeCtrl_DeleteAllItems", (PyCFunction
) _wrap_TreeCtrl_DeleteAllItems
, METH_VARARGS
| METH_KEYWORDS
},
32147 { (char *)"TreeCtrl_Expand", (PyCFunction
) _wrap_TreeCtrl_Expand
, METH_VARARGS
| METH_KEYWORDS
},
32148 { (char *)"TreeCtrl_Collapse", (PyCFunction
) _wrap_TreeCtrl_Collapse
, METH_VARARGS
| METH_KEYWORDS
},
32149 { (char *)"TreeCtrl_CollapseAndReset", (PyCFunction
) _wrap_TreeCtrl_CollapseAndReset
, METH_VARARGS
| METH_KEYWORDS
},
32150 { (char *)"TreeCtrl_Toggle", (PyCFunction
) _wrap_TreeCtrl_Toggle
, METH_VARARGS
| METH_KEYWORDS
},
32151 { (char *)"TreeCtrl_Unselect", (PyCFunction
) _wrap_TreeCtrl_Unselect
, METH_VARARGS
| METH_KEYWORDS
},
32152 { (char *)"TreeCtrl_UnselectItem", (PyCFunction
) _wrap_TreeCtrl_UnselectItem
, METH_VARARGS
| METH_KEYWORDS
},
32153 { (char *)"TreeCtrl_UnselectAll", (PyCFunction
) _wrap_TreeCtrl_UnselectAll
, METH_VARARGS
| METH_KEYWORDS
},
32154 { (char *)"TreeCtrl_SelectItem", (PyCFunction
) _wrap_TreeCtrl_SelectItem
, METH_VARARGS
| METH_KEYWORDS
},
32155 { (char *)"TreeCtrl_ToggleItemSelection", (PyCFunction
) _wrap_TreeCtrl_ToggleItemSelection
, METH_VARARGS
| METH_KEYWORDS
},
32156 { (char *)"TreeCtrl_EnsureVisible", (PyCFunction
) _wrap_TreeCtrl_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
},
32157 { (char *)"TreeCtrl_ScrollTo", (PyCFunction
) _wrap_TreeCtrl_ScrollTo
, METH_VARARGS
| METH_KEYWORDS
},
32158 { (char *)"TreeCtrl_EditLabel", (PyCFunction
) _wrap_TreeCtrl_EditLabel
, METH_VARARGS
| METH_KEYWORDS
},
32159 { (char *)"TreeCtrl_GetEditControl", (PyCFunction
) _wrap_TreeCtrl_GetEditControl
, METH_VARARGS
| METH_KEYWORDS
},
32160 { (char *)"TreeCtrl_EndEditLabel", (PyCFunction
) _wrap_TreeCtrl_EndEditLabel
, METH_VARARGS
| METH_KEYWORDS
},
32161 { (char *)"TreeCtrl_SortChildren", (PyCFunction
) _wrap_TreeCtrl_SortChildren
, METH_VARARGS
| METH_KEYWORDS
},
32162 { (char *)"TreeCtrl_HitTest", (PyCFunction
) _wrap_TreeCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
},
32163 { (char *)"TreeCtrl_GetBoundingRect", (PyCFunction
) _wrap_TreeCtrl_GetBoundingRect
, METH_VARARGS
| METH_KEYWORDS
},
32164 { (char *)"TreeCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_TreeCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
32165 { (char *)"TreeCtrl_swigregister", TreeCtrl_swigregister
, METH_VARARGS
},
32166 { (char *)"new_GenericDirCtrl", (PyCFunction
) _wrap_new_GenericDirCtrl
, METH_VARARGS
| METH_KEYWORDS
},
32167 { (char *)"new_PreGenericDirCtrl", (PyCFunction
) _wrap_new_PreGenericDirCtrl
, METH_VARARGS
| METH_KEYWORDS
},
32168 { (char *)"GenericDirCtrl_Create", (PyCFunction
) _wrap_GenericDirCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
},
32169 { (char *)"GenericDirCtrl_ExpandPath", (PyCFunction
) _wrap_GenericDirCtrl_ExpandPath
, METH_VARARGS
| METH_KEYWORDS
},
32170 { (char *)"GenericDirCtrl_GetDefaultPath", (PyCFunction
) _wrap_GenericDirCtrl_GetDefaultPath
, METH_VARARGS
| METH_KEYWORDS
},
32171 { (char *)"GenericDirCtrl_SetDefaultPath", (PyCFunction
) _wrap_GenericDirCtrl_SetDefaultPath
, METH_VARARGS
| METH_KEYWORDS
},
32172 { (char *)"GenericDirCtrl_GetPath", (PyCFunction
) _wrap_GenericDirCtrl_GetPath
, METH_VARARGS
| METH_KEYWORDS
},
32173 { (char *)"GenericDirCtrl_GetFilePath", (PyCFunction
) _wrap_GenericDirCtrl_GetFilePath
, METH_VARARGS
| METH_KEYWORDS
},
32174 { (char *)"GenericDirCtrl_SetPath", (PyCFunction
) _wrap_GenericDirCtrl_SetPath
, METH_VARARGS
| METH_KEYWORDS
},
32175 { (char *)"GenericDirCtrl_ShowHidden", (PyCFunction
) _wrap_GenericDirCtrl_ShowHidden
, METH_VARARGS
| METH_KEYWORDS
},
32176 { (char *)"GenericDirCtrl_GetShowHidden", (PyCFunction
) _wrap_GenericDirCtrl_GetShowHidden
, METH_VARARGS
| METH_KEYWORDS
},
32177 { (char *)"GenericDirCtrl_GetFilter", (PyCFunction
) _wrap_GenericDirCtrl_GetFilter
, METH_VARARGS
| METH_KEYWORDS
},
32178 { (char *)"GenericDirCtrl_SetFilter", (PyCFunction
) _wrap_GenericDirCtrl_SetFilter
, METH_VARARGS
| METH_KEYWORDS
},
32179 { (char *)"GenericDirCtrl_GetFilterIndex", (PyCFunction
) _wrap_GenericDirCtrl_GetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
},
32180 { (char *)"GenericDirCtrl_SetFilterIndex", (PyCFunction
) _wrap_GenericDirCtrl_SetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
},
32181 { (char *)"GenericDirCtrl_GetRootId", (PyCFunction
) _wrap_GenericDirCtrl_GetRootId
, METH_VARARGS
| METH_KEYWORDS
},
32182 { (char *)"GenericDirCtrl_GetTreeCtrl", (PyCFunction
) _wrap_GenericDirCtrl_GetTreeCtrl
, METH_VARARGS
| METH_KEYWORDS
},
32183 { (char *)"GenericDirCtrl_GetFilterListCtrl", (PyCFunction
) _wrap_GenericDirCtrl_GetFilterListCtrl
, METH_VARARGS
| METH_KEYWORDS
},
32184 { (char *)"GenericDirCtrl_FindChild", (PyCFunction
) _wrap_GenericDirCtrl_FindChild
, METH_VARARGS
| METH_KEYWORDS
},
32185 { (char *)"GenericDirCtrl_DoResize", (PyCFunction
) _wrap_GenericDirCtrl_DoResize
, METH_VARARGS
| METH_KEYWORDS
},
32186 { (char *)"GenericDirCtrl_ReCreateTree", (PyCFunction
) _wrap_GenericDirCtrl_ReCreateTree
, METH_VARARGS
| METH_KEYWORDS
},
32187 { (char *)"GenericDirCtrl_swigregister", GenericDirCtrl_swigregister
, METH_VARARGS
},
32188 { (char *)"new_DirFilterListCtrl", (PyCFunction
) _wrap_new_DirFilterListCtrl
, METH_VARARGS
| METH_KEYWORDS
},
32189 { (char *)"new_PreDirFilterListCtrl", (PyCFunction
) _wrap_new_PreDirFilterListCtrl
, METH_VARARGS
| METH_KEYWORDS
},
32190 { (char *)"DirFilterListCtrl_Create", (PyCFunction
) _wrap_DirFilterListCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
},
32191 { (char *)"DirFilterListCtrl_FillFilterList", (PyCFunction
) _wrap_DirFilterListCtrl_FillFilterList
, METH_VARARGS
| METH_KEYWORDS
},
32192 { (char *)"DirFilterListCtrl_swigregister", DirFilterListCtrl_swigregister
, METH_VARARGS
},
32193 { (char *)"new_PyControl", (PyCFunction
) _wrap_new_PyControl
, METH_VARARGS
| METH_KEYWORDS
},
32194 { (char *)"new_PrePyControl", (PyCFunction
) _wrap_new_PrePyControl
, METH_VARARGS
| METH_KEYWORDS
},
32195 { (char *)"PyControl__setCallbackInfo", (PyCFunction
) _wrap_PyControl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
32196 { (char *)"PyControl_SetBestSize", (PyCFunction
) _wrap_PyControl_SetBestSize
, METH_VARARGS
| METH_KEYWORDS
},
32197 { (char *)"PyControl_base_DoMoveWindow", (PyCFunction
) _wrap_PyControl_base_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
},
32198 { (char *)"PyControl_base_DoSetSize", (PyCFunction
) _wrap_PyControl_base_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
},
32199 { (char *)"PyControl_base_DoSetClientSize", (PyCFunction
) _wrap_PyControl_base_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
32200 { (char *)"PyControl_base_DoSetVirtualSize", (PyCFunction
) _wrap_PyControl_base_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
32201 { (char *)"PyControl_base_DoGetSize", (PyCFunction
) _wrap_PyControl_base_DoGetSize
, METH_VARARGS
| METH_KEYWORDS
},
32202 { (char *)"PyControl_base_DoGetClientSize", (PyCFunction
) _wrap_PyControl_base_DoGetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
32203 { (char *)"PyControl_base_DoGetPosition", (PyCFunction
) _wrap_PyControl_base_DoGetPosition
, METH_VARARGS
| METH_KEYWORDS
},
32204 { (char *)"PyControl_base_DoGetVirtualSize", (PyCFunction
) _wrap_PyControl_base_DoGetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
32205 { (char *)"PyControl_base_DoGetBestSize", (PyCFunction
) _wrap_PyControl_base_DoGetBestSize
, METH_VARARGS
| METH_KEYWORDS
},
32206 { (char *)"PyControl_base_InitDialog", (PyCFunction
) _wrap_PyControl_base_InitDialog
, METH_VARARGS
| METH_KEYWORDS
},
32207 { (char *)"PyControl_base_TransferDataToWindow", (PyCFunction
) _wrap_PyControl_base_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
},
32208 { (char *)"PyControl_base_TransferDataFromWindow", (PyCFunction
) _wrap_PyControl_base_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
},
32209 { (char *)"PyControl_base_Validate", (PyCFunction
) _wrap_PyControl_base_Validate
, METH_VARARGS
| METH_KEYWORDS
},
32210 { (char *)"PyControl_base_AcceptsFocus", (PyCFunction
) _wrap_PyControl_base_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
},
32211 { (char *)"PyControl_base_AcceptsFocusFromKeyboard", (PyCFunction
) _wrap_PyControl_base_AcceptsFocusFromKeyboard
, METH_VARARGS
| METH_KEYWORDS
},
32212 { (char *)"PyControl_base_GetMaxSize", (PyCFunction
) _wrap_PyControl_base_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
},
32213 { (char *)"PyControl_base_AddChild", (PyCFunction
) _wrap_PyControl_base_AddChild
, METH_VARARGS
| METH_KEYWORDS
},
32214 { (char *)"PyControl_base_RemoveChild", (PyCFunction
) _wrap_PyControl_base_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
},
32215 { (char *)"PyControl_base_ShouldInheritColours", (PyCFunction
) _wrap_PyControl_base_ShouldInheritColours
, METH_VARARGS
| METH_KEYWORDS
},
32216 { (char *)"PyControl_base_ApplyParentThemeBackground", (PyCFunction
) _wrap_PyControl_base_ApplyParentThemeBackground
, METH_VARARGS
| METH_KEYWORDS
},
32217 { (char *)"PyControl_base_GetDefaultAttributes", (PyCFunction
) _wrap_PyControl_base_GetDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
32218 { (char *)"PyControl_swigregister", PyControl_swigregister
, METH_VARARGS
},
32219 { (char *)"new_HelpEvent", (PyCFunction
) _wrap_new_HelpEvent
, METH_VARARGS
| METH_KEYWORDS
},
32220 { (char *)"HelpEvent_GetPosition", (PyCFunction
) _wrap_HelpEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
32221 { (char *)"HelpEvent_SetPosition", (PyCFunction
) _wrap_HelpEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
},
32222 { (char *)"HelpEvent_GetLink", (PyCFunction
) _wrap_HelpEvent_GetLink
, METH_VARARGS
| METH_KEYWORDS
},
32223 { (char *)"HelpEvent_SetLink", (PyCFunction
) _wrap_HelpEvent_SetLink
, METH_VARARGS
| METH_KEYWORDS
},
32224 { (char *)"HelpEvent_GetTarget", (PyCFunction
) _wrap_HelpEvent_GetTarget
, METH_VARARGS
| METH_KEYWORDS
},
32225 { (char *)"HelpEvent_SetTarget", (PyCFunction
) _wrap_HelpEvent_SetTarget
, METH_VARARGS
| METH_KEYWORDS
},
32226 { (char *)"HelpEvent_swigregister", HelpEvent_swigregister
, METH_VARARGS
},
32227 { (char *)"new_ContextHelp", (PyCFunction
) _wrap_new_ContextHelp
, METH_VARARGS
| METH_KEYWORDS
},
32228 { (char *)"delete_ContextHelp", (PyCFunction
) _wrap_delete_ContextHelp
, METH_VARARGS
| METH_KEYWORDS
},
32229 { (char *)"ContextHelp_BeginContextHelp", (PyCFunction
) _wrap_ContextHelp_BeginContextHelp
, METH_VARARGS
| METH_KEYWORDS
},
32230 { (char *)"ContextHelp_EndContextHelp", (PyCFunction
) _wrap_ContextHelp_EndContextHelp
, METH_VARARGS
| METH_KEYWORDS
},
32231 { (char *)"ContextHelp_swigregister", ContextHelp_swigregister
, METH_VARARGS
},
32232 { (char *)"new_ContextHelpButton", (PyCFunction
) _wrap_new_ContextHelpButton
, METH_VARARGS
| METH_KEYWORDS
},
32233 { (char *)"ContextHelpButton_swigregister", ContextHelpButton_swigregister
, METH_VARARGS
},
32234 { (char *)"HelpProvider_Set", (PyCFunction
) _wrap_HelpProvider_Set
, METH_VARARGS
| METH_KEYWORDS
},
32235 { (char *)"HelpProvider_Get", (PyCFunction
) _wrap_HelpProvider_Get
, METH_VARARGS
| METH_KEYWORDS
},
32236 { (char *)"HelpProvider_GetHelp", (PyCFunction
) _wrap_HelpProvider_GetHelp
, METH_VARARGS
| METH_KEYWORDS
},
32237 { (char *)"HelpProvider_ShowHelp", (PyCFunction
) _wrap_HelpProvider_ShowHelp
, METH_VARARGS
| METH_KEYWORDS
},
32238 { (char *)"HelpProvider_AddHelp", (PyCFunction
) _wrap_HelpProvider_AddHelp
, METH_VARARGS
| METH_KEYWORDS
},
32239 { (char *)"HelpProvider_AddHelpById", (PyCFunction
) _wrap_HelpProvider_AddHelpById
, METH_VARARGS
| METH_KEYWORDS
},
32240 { (char *)"HelpProvider_RemoveHelp", (PyCFunction
) _wrap_HelpProvider_RemoveHelp
, METH_VARARGS
| METH_KEYWORDS
},
32241 { (char *)"HelpProvider_Destroy", (PyCFunction
) _wrap_HelpProvider_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
32242 { (char *)"HelpProvider_swigregister", HelpProvider_swigregister
, METH_VARARGS
},
32243 { (char *)"new_SimpleHelpProvider", (PyCFunction
) _wrap_new_SimpleHelpProvider
, METH_VARARGS
| METH_KEYWORDS
},
32244 { (char *)"SimpleHelpProvider_swigregister", SimpleHelpProvider_swigregister
, METH_VARARGS
},
32245 { (char *)"new_DragImage", (PyCFunction
) _wrap_new_DragImage
, METH_VARARGS
| METH_KEYWORDS
},
32246 { (char *)"new_DragIcon", (PyCFunction
) _wrap_new_DragIcon
, METH_VARARGS
| METH_KEYWORDS
},
32247 { (char *)"new_DragString", (PyCFunction
) _wrap_new_DragString
, METH_VARARGS
| METH_KEYWORDS
},
32248 { (char *)"new_DragTreeItem", (PyCFunction
) _wrap_new_DragTreeItem
, METH_VARARGS
| METH_KEYWORDS
},
32249 { (char *)"new_DragListItem", (PyCFunction
) _wrap_new_DragListItem
, METH_VARARGS
| METH_KEYWORDS
},
32250 { (char *)"delete_DragImage", (PyCFunction
) _wrap_delete_DragImage
, METH_VARARGS
| METH_KEYWORDS
},
32251 { (char *)"DragImage_SetBackingBitmap", (PyCFunction
) _wrap_DragImage_SetBackingBitmap
, METH_VARARGS
| METH_KEYWORDS
},
32252 { (char *)"DragImage_BeginDrag", (PyCFunction
) _wrap_DragImage_BeginDrag
, METH_VARARGS
| METH_KEYWORDS
},
32253 { (char *)"DragImage_BeginDragBounded", (PyCFunction
) _wrap_DragImage_BeginDragBounded
, METH_VARARGS
| METH_KEYWORDS
},
32254 { (char *)"DragImage_EndDrag", (PyCFunction
) _wrap_DragImage_EndDrag
, METH_VARARGS
| METH_KEYWORDS
},
32255 { (char *)"DragImage_Move", (PyCFunction
) _wrap_DragImage_Move
, METH_VARARGS
| METH_KEYWORDS
},
32256 { (char *)"DragImage_Show", (PyCFunction
) _wrap_DragImage_Show
, METH_VARARGS
| METH_KEYWORDS
},
32257 { (char *)"DragImage_Hide", (PyCFunction
) _wrap_DragImage_Hide
, METH_VARARGS
| METH_KEYWORDS
},
32258 { (char *)"DragImage_GetImageRect", (PyCFunction
) _wrap_DragImage_GetImageRect
, METH_VARARGS
| METH_KEYWORDS
},
32259 { (char *)"DragImage_DoDrawImage", (PyCFunction
) _wrap_DragImage_DoDrawImage
, METH_VARARGS
| METH_KEYWORDS
},
32260 { (char *)"DragImage_UpdateBackingFromWindow", (PyCFunction
) _wrap_DragImage_UpdateBackingFromWindow
, METH_VARARGS
| METH_KEYWORDS
},
32261 { (char *)"DragImage_RedrawImage", (PyCFunction
) _wrap_DragImage_RedrawImage
, METH_VARARGS
| METH_KEYWORDS
},
32262 { (char *)"DragImage_swigregister", DragImage_swigregister
, METH_VARARGS
},
32267 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
32269 static void *_p_wxNotebookEventTo_p_wxBookCtrlEvent(void *x
) {
32270 return (void *)((wxBookCtrlEvent
*) ((wxNotebookEvent
*) x
));
32272 static void *_p_wxListbookEventTo_p_wxBookCtrlEvent(void *x
) {
32273 return (void *)((wxBookCtrlEvent
*) ((wxListbookEvent
*) x
));
32275 static void *_p_wxBoxSizerTo_p_wxSizer(void *x
) {
32276 return (void *)((wxSizer
*) ((wxBoxSizer
*) x
));
32278 static void *_p_wxStaticBoxSizerTo_p_wxSizer(void *x
) {
32279 return (void *)((wxSizer
*) (wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
32281 static void *_p_wxGridBagSizerTo_p_wxSizer(void *x
) {
32282 return (void *)((wxSizer
*) (wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
32284 static void *_p_wxGridSizerTo_p_wxSizer(void *x
) {
32285 return (void *)((wxSizer
*) ((wxGridSizer
*) x
));
32287 static void *_p_wxFlexGridSizerTo_p_wxSizer(void *x
) {
32288 return (void *)((wxSizer
*) (wxGridSizer
*) ((wxFlexGridSizer
*) x
));
32290 static void *_p_wxNotebookSizerTo_p_wxSizer(void *x
) {
32291 return (void *)((wxSizer
*) ((wxNotebookSizer
*) x
));
32293 static void *_p_wxPySizerTo_p_wxSizer(void *x
) {
32294 return (void *)((wxSizer
*) ((wxPySizer
*) x
));
32296 static void *_p_wxBookCtrlSizerTo_p_wxSizer(void *x
) {
32297 return (void *)((wxSizer
*) ((wxBookCtrlSizer
*) x
));
32299 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
32300 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
32302 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
32303 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
32305 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
32306 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
32308 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
32309 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
32311 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
32312 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
32314 static void *_p_wxTreeEventTo_p_wxEvent(void *x
) {
32315 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxTreeEvent
*) x
));
32317 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
32318 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
32320 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
32321 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
32323 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
32324 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
32326 static void *_p_wxTextUrlEventTo_p_wxEvent(void *x
) {
32327 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
32329 static void *_p_wxBookCtrlEventTo_p_wxEvent(void *x
) {
32330 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxBookCtrlEvent
*) x
));
32332 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
32333 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
32335 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
32336 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
32338 static void *_p_wxListEventTo_p_wxEvent(void *x
) {
32339 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxListEvent
*) x
));
32341 static void *_p_wxNotebookEventTo_p_wxEvent(void *x
) {
32342 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlEvent
*) ((wxNotebookEvent
*) x
));
32344 static void *_p_wxListbookEventTo_p_wxEvent(void *x
) {
32345 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlEvent
*) ((wxListbookEvent
*) x
));
32347 static void *_p_wxHelpEventTo_p_wxEvent(void *x
) {
32348 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxHelpEvent
*) x
));
32350 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
32351 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
32353 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
32354 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
32356 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
32357 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
32359 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
32360 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
32362 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
32363 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
32365 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
32366 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
32368 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
32369 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
32371 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
32372 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
32374 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
32375 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
32377 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
32378 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
32380 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
32381 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
32383 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
32384 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
32386 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
32387 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
32389 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
32390 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
32392 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
32393 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
32395 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
32396 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
32398 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
32399 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
32401 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
32402 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
32404 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
32405 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
32407 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
32408 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
32410 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
32411 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
32413 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
32414 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
32416 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
32417 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
32419 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
32420 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
32422 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
32423 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
32425 static void *_p_wxSpinEventTo_p_wxEvent(void *x
) {
32426 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxSpinEvent
*) x
));
32428 static void *_p_wxComboBoxTo_p_wxItemContainer(void *x
) {
32429 return (void *)((wxItemContainer
*) (wxControlWithItems
*)(wxChoice
*) ((wxComboBox
*) x
));
32431 static void *_p_wxDirFilterListCtrlTo_p_wxItemContainer(void *x
) {
32432 return (void *)((wxItemContainer
*) (wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
32434 static void *_p_wxChoiceTo_p_wxItemContainer(void *x
) {
32435 return (void *)((wxItemContainer
*) (wxControlWithItems
*) ((wxChoice
*) x
));
32437 static void *_p_wxControlWithItemsTo_p_wxItemContainer(void *x
) {
32438 return (void *)((wxItemContainer
*) ((wxControlWithItems
*) x
));
32440 static void *_p_wxListBoxTo_p_wxItemContainer(void *x
) {
32441 return (void *)((wxItemContainer
*) (wxControlWithItems
*) ((wxListBox
*) x
));
32443 static void *_p_wxCheckListBoxTo_p_wxItemContainer(void *x
) {
32444 return (void *)((wxItemContainer
*) (wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
32446 static void *_p_wxListViewTo_p_wxPyListCtrl(void *x
) {
32447 return (void *)((wxPyListCtrl
*) ((wxListView
*) x
));
32449 static void *_p_wxCheckListBoxTo_p_wxControl(void *x
) {
32450 return (void *)((wxControl
*) (wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
32452 static void *_p_wxListBoxTo_p_wxControl(void *x
) {
32453 return (void *)((wxControl
*) (wxControlWithItems
*) ((wxListBox
*) x
));
32455 static void *_p_wxChoiceTo_p_wxControl(void *x
) {
32456 return (void *)((wxControl
*) (wxControlWithItems
*) ((wxChoice
*) x
));
32458 static void *_p_wxToolBarTo_p_wxControl(void *x
) {
32459 return (void *)((wxControl
*) (wxToolBarBase
*) ((wxToolBar
*) x
));
32461 static void *_p_wxStaticBitmapTo_p_wxControl(void *x
) {
32462 return (void *)((wxControl
*) ((wxStaticBitmap
*) x
));
32464 static void *_p_wxComboBoxTo_p_wxControl(void *x
) {
32465 return (void *)((wxControl
*) (wxControlWithItems
*)(wxChoice
*) ((wxComboBox
*) x
));
32467 static void *_p_wxSpinCtrlTo_p_wxControl(void *x
) {
32468 return (void *)((wxControl
*) ((wxSpinCtrl
*) x
));
32470 static void *_p_wxStaticBoxTo_p_wxControl(void *x
) {
32471 return (void *)((wxControl
*) ((wxStaticBox
*) x
));
32473 static void *_p_wxPyListCtrlTo_p_wxControl(void *x
) {
32474 return (void *)((wxControl
*) ((wxPyListCtrl
*) x
));
32476 static void *_p_wxPyTreeCtrlTo_p_wxControl(void *x
) {
32477 return (void *)((wxControl
*) ((wxPyTreeCtrl
*) x
));
32479 static void *_p_wxDirFilterListCtrlTo_p_wxControl(void *x
) {
32480 return (void *)((wxControl
*) (wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
32482 static void *_p_wxScrollBarTo_p_wxControl(void *x
) {
32483 return (void *)((wxControl
*) ((wxScrollBar
*) x
));
32485 static void *_p_wxBookCtrlTo_p_wxControl(void *x
) {
32486 return (void *)((wxControl
*) ((wxBookCtrl
*) x
));
32488 static void *_p_wxRadioButtonTo_p_wxControl(void *x
) {
32489 return (void *)((wxControl
*) ((wxRadioButton
*) x
));
32491 static void *_p_wxToggleButtonTo_p_wxControl(void *x
) {
32492 return (void *)((wxControl
*) ((wxToggleButton
*) x
));
32494 static void *_p_wxGaugeTo_p_wxControl(void *x
) {
32495 return (void *)((wxControl
*) ((wxGauge
*) x
));
32497 static void *_p_wxToolBarBaseTo_p_wxControl(void *x
) {
32498 return (void *)((wxControl
*) ((wxToolBarBase
*) x
));
32500 static void *_p_wxBitmapButtonTo_p_wxControl(void *x
) {
32501 return (void *)((wxControl
*) (wxButton
*) ((wxBitmapButton
*) x
));
32503 static void *_p_wxButtonTo_p_wxControl(void *x
) {
32504 return (void *)((wxControl
*) ((wxButton
*) x
));
32506 static void *_p_wxSpinButtonTo_p_wxControl(void *x
) {
32507 return (void *)((wxControl
*) ((wxSpinButton
*) x
));
32509 static void *_p_wxContextHelpButtonTo_p_wxControl(void *x
) {
32510 return (void *)((wxControl
*) (wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
32512 static void *_p_wxControlWithItemsTo_p_wxControl(void *x
) {
32513 return (void *)((wxControl
*) ((wxControlWithItems
*) x
));
32515 static void *_p_wxRadioBoxTo_p_wxControl(void *x
) {
32516 return (void *)((wxControl
*) ((wxRadioBox
*) x
));
32518 static void *_p_wxNotebookTo_p_wxControl(void *x
) {
32519 return (void *)((wxControl
*) (wxBookCtrl
*) ((wxNotebook
*) x
));
32521 static void *_p_wxListbookTo_p_wxControl(void *x
) {
32522 return (void *)((wxControl
*) (wxBookCtrl
*) ((wxListbook
*) x
));
32524 static void *_p_wxCheckBoxTo_p_wxControl(void *x
) {
32525 return (void *)((wxControl
*) ((wxCheckBox
*) x
));
32527 static void *_p_wxTextCtrlTo_p_wxControl(void *x
) {
32528 return (void *)((wxControl
*) ((wxTextCtrl
*) x
));
32530 static void *_p_wxListViewTo_p_wxControl(void *x
) {
32531 return (void *)((wxControl
*) (wxPyListCtrl
*) ((wxListView
*) x
));
32533 static void *_p_wxSliderTo_p_wxControl(void *x
) {
32534 return (void *)((wxControl
*) ((wxSlider
*) x
));
32536 static void *_p_wxGenericDirCtrlTo_p_wxControl(void *x
) {
32537 return (void *)((wxControl
*) ((wxGenericDirCtrl
*) x
));
32539 static void *_p_wxPyControlTo_p_wxControl(void *x
) {
32540 return (void *)((wxControl
*) ((wxPyControl
*) x
));
32542 static void *_p_wxStaticLineTo_p_wxControl(void *x
) {
32543 return (void *)((wxControl
*) ((wxStaticLine
*) x
));
32545 static void *_p_wxStaticTextTo_p_wxControl(void *x
) {
32546 return (void *)((wxControl
*) ((wxStaticText
*) x
));
32548 static void *_p_wxToolBarTo_p_wxToolBarBase(void *x
) {
32549 return (void *)((wxToolBarBase
*) ((wxToolBar
*) x
));
32551 static void *_p_wxComboBoxTo_p_wxChoice(void *x
) {
32552 return (void *)((wxChoice
*) ((wxComboBox
*) x
));
32554 static void *_p_wxDirFilterListCtrlTo_p_wxChoice(void *x
) {
32555 return (void *)((wxChoice
*) ((wxDirFilterListCtrl
*) x
));
32557 static void *_p_wxTreeEventTo_p_wxNotifyEvent(void *x
) {
32558 return (void *)((wxNotifyEvent
*) ((wxTreeEvent
*) x
));
32560 static void *_p_wxBookCtrlEventTo_p_wxNotifyEvent(void *x
) {
32561 return (void *)((wxNotifyEvent
*) ((wxBookCtrlEvent
*) x
));
32563 static void *_p_wxListEventTo_p_wxNotifyEvent(void *x
) {
32564 return (void *)((wxNotifyEvent
*) ((wxListEvent
*) x
));
32566 static void *_p_wxSpinEventTo_p_wxNotifyEvent(void *x
) {
32567 return (void *)((wxNotifyEvent
*) ((wxSpinEvent
*) x
));
32569 static void *_p_wxNotebookEventTo_p_wxNotifyEvent(void *x
) {
32570 return (void *)((wxNotifyEvent
*) (wxBookCtrlEvent
*) ((wxNotebookEvent
*) x
));
32572 static void *_p_wxListbookEventTo_p_wxNotifyEvent(void *x
) {
32573 return (void *)((wxNotifyEvent
*) (wxBookCtrlEvent
*) ((wxListbookEvent
*) x
));
32575 static void *_p_wxBookCtrlTo_p_wxEvtHandler(void *x
) {
32576 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxBookCtrl
*) x
));
32578 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
32579 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
32581 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
32582 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
32584 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
32585 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
32587 static void *_p_wxToolBarTo_p_wxEvtHandler(void *x
) {
32588 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
32590 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
32591 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
32593 static void *_p_wxToggleButtonTo_p_wxEvtHandler(void *x
) {
32594 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxToggleButton
*) x
));
32596 static void *_p_wxRadioButtonTo_p_wxEvtHandler(void *x
) {
32597 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxRadioButton
*) x
));
32599 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
32600 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
32602 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
32603 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
32605 static void *_p_wxToolBarBaseTo_p_wxEvtHandler(void *x
) {
32606 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxToolBarBase
*) x
));
32608 static void *_p_wxPyListCtrlTo_p_wxEvtHandler(void *x
) {
32609 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyListCtrl
*) x
));
32611 static void *_p_wxComboBoxTo_p_wxEvtHandler(void *x
) {
32612 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxComboBox
*) x
));
32614 static void *_p_wxDirFilterListCtrlTo_p_wxEvtHandler(void *x
) {
32615 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
32617 static void *_p_wxPyControlTo_p_wxEvtHandler(void *x
) {
32618 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyControl
*) x
));
32620 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
32621 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
32623 static void *_p_wxGenericDirCtrlTo_p_wxEvtHandler(void *x
) {
32624 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxGenericDirCtrl
*) x
));
32626 static void *_p_wxScrollBarTo_p_wxEvtHandler(void *x
) {
32627 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxScrollBar
*) x
));
32629 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
32630 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
32632 static void *_p_wxGaugeTo_p_wxEvtHandler(void *x
) {
32633 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxGauge
*) x
));
32635 static void *_p_wxStaticLineTo_p_wxEvtHandler(void *x
) {
32636 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticLine
*) x
));
32638 static void *_p_wxListbookTo_p_wxEvtHandler(void *x
) {
32639 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrl
*) ((wxListbook
*) x
));
32641 static void *_p_wxPyTreeCtrlTo_p_wxEvtHandler(void *x
) {
32642 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyTreeCtrl
*) x
));
32644 static void *_p_wxCheckBoxTo_p_wxEvtHandler(void *x
) {
32645 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxCheckBox
*) x
));
32647 static void *_p_wxRadioBoxTo_p_wxEvtHandler(void *x
) {
32648 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxRadioBox
*) x
));
32650 static void *_p_wxCheckListBoxTo_p_wxEvtHandler(void *x
) {
32651 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
32653 static void *_p_wxListBoxTo_p_wxEvtHandler(void *x
) {
32654 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
32656 static void *_p_wxChoiceTo_p_wxEvtHandler(void *x
) {
32657 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
32659 static void *_p_wxNotebookTo_p_wxEvtHandler(void *x
) {
32660 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrl
*) ((wxNotebook
*) x
));
32662 static void *_p_wxStaticBitmapTo_p_wxEvtHandler(void *x
) {
32663 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticBitmap
*) x
));
32665 static void *_p_wxListViewTo_p_wxEvtHandler(void *x
) {
32666 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
32668 static void *_p_wxSpinCtrlTo_p_wxEvtHandler(void *x
) {
32669 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSpinCtrl
*) x
));
32671 static void *_p_wxStaticTextTo_p_wxEvtHandler(void *x
) {
32672 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticText
*) x
));
32674 static void *_p_wxStaticBoxTo_p_wxEvtHandler(void *x
) {
32675 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticBox
*) x
));
32677 static void *_p_wxSliderTo_p_wxEvtHandler(void *x
) {
32678 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSlider
*) x
));
32680 static void *_p_wxSpinButtonTo_p_wxEvtHandler(void *x
) {
32681 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSpinButton
*) x
));
32683 static void *_p_wxButtonTo_p_wxEvtHandler(void *x
) {
32684 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxButton
*) x
));
32686 static void *_p_wxBitmapButtonTo_p_wxEvtHandler(void *x
) {
32687 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
32689 static void *_p_wxContextHelpButtonTo_p_wxEvtHandler(void *x
) {
32690 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
32692 static void *_p_wxTextCtrlTo_p_wxEvtHandler(void *x
) {
32693 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxTextCtrl
*) x
));
32695 static void *_p_wxCheckListBoxTo_p_wxListBox(void *x
) {
32696 return (void *)((wxListBox
*) ((wxCheckListBox
*) x
));
32698 static void *_p_wxListbookTo_p_wxBookCtrl(void *x
) {
32699 return (void *)((wxBookCtrl
*) ((wxListbook
*) x
));
32701 static void *_p_wxNotebookTo_p_wxBookCtrl(void *x
) {
32702 return (void *)((wxBookCtrl
*) ((wxNotebook
*) x
));
32704 static void *_p_wxBitmapButtonTo_p_wxButton(void *x
) {
32705 return (void *)((wxButton
*) ((wxBitmapButton
*) x
));
32707 static void *_p_wxContextHelpButtonTo_p_wxButton(void *x
) {
32708 return (void *)((wxButton
*) (wxBitmapButton
*) ((wxContextHelpButton
*) x
));
32710 static void *_p_wxContextHelpButtonTo_p_wxBitmapButton(void *x
) {
32711 return (void *)((wxBitmapButton
*) ((wxContextHelpButton
*) x
));
32713 static void *_p_wxSimpleHelpProviderTo_p_wxHelpProvider(void *x
) {
32714 return (void *)((wxHelpProvider
*) ((wxSimpleHelpProvider
*) x
));
32716 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
32717 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
32719 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
32720 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
32722 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
32723 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
32725 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
32726 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
32728 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
32729 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
32731 static void *_p_wxTextUrlEventTo_p_wxObject(void *x
) {
32732 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
32734 static void *_p_wxBookCtrlEventTo_p_wxObject(void *x
) {
32735 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxBookCtrlEvent
*) x
));
32737 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
32738 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
32740 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
32741 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
32743 static void *_p_wxSizerTo_p_wxObject(void *x
) {
32744 return (void *)((wxObject
*) ((wxSizer
*) x
));
32746 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
32747 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
32749 static void *_p_wxCheckBoxTo_p_wxObject(void *x
) {
32750 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxCheckBox
*) x
));
32752 static void *_p_wxPyTreeCtrlTo_p_wxObject(void *x
) {
32753 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyTreeCtrl
*) x
));
32755 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
32756 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
32758 static void *_p_wxEventTo_p_wxObject(void *x
) {
32759 return (void *)((wxObject
*) ((wxEvent
*) x
));
32761 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
32762 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
32764 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
32765 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
32767 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
32768 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
32770 static void *_p_wxGenericDirCtrlTo_p_wxObject(void *x
) {
32771 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxGenericDirCtrl
*) x
));
32773 static void *_p_wxPyListCtrlTo_p_wxObject(void *x
) {
32774 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyListCtrl
*) x
));
32776 static void *_p_wxDirFilterListCtrlTo_p_wxObject(void *x
) {
32777 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
32779 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
32780 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
32782 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
32783 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
32785 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
32786 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
32788 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
32789 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
32791 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
32792 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
32794 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
32795 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
32797 static void *_p_wxStaticLineTo_p_wxObject(void *x
) {
32798 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticLine
*) x
));
32800 static void *_p_wxControlTo_p_wxObject(void *x
) {
32801 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
32803 static void *_p_wxPyControlTo_p_wxObject(void *x
) {
32804 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyControl
*) x
));
32806 static void *_p_wxGaugeTo_p_wxObject(void *x
) {
32807 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxGauge
*) x
));
32809 static void *_p_wxRadioButtonTo_p_wxObject(void *x
) {
32810 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxRadioButton
*) x
));
32812 static void *_p_wxToggleButtonTo_p_wxObject(void *x
) {
32813 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxToggleButton
*) x
));
32815 static void *_p_wxToolBarBaseTo_p_wxObject(void *x
) {
32816 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxToolBarBase
*) x
));
32818 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
32819 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
32821 static void *_p_wxChoiceTo_p_wxObject(void *x
) {
32822 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
32824 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
32825 return (void *)((wxObject
*) ((wxFSFile
*) x
));
32827 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
32828 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
32830 static void *_p_wxListViewTo_p_wxObject(void *x
) {
32831 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
32833 static void *_p_wxTextCtrlTo_p_wxObject(void *x
) {
32834 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxTextCtrl
*) x
));
32836 static void *_p_wxNotebookTo_p_wxObject(void *x
) {
32837 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrl
*) ((wxNotebook
*) x
));
32839 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
32840 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
32842 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
32843 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
32845 static void *_p_wxListbookTo_p_wxObject(void *x
) {
32846 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrl
*) ((wxListbook
*) x
));
32848 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
32849 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
32851 static void *_p_wxStaticBitmapTo_p_wxObject(void *x
) {
32852 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticBitmap
*) x
));
32854 static void *_p_wxSliderTo_p_wxObject(void *x
) {
32855 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSlider
*) x
));
32857 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
32858 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
32860 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
32861 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
32863 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
32864 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
32866 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
32867 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
32869 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
32870 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
32872 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
32873 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
32875 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
32876 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
32878 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
32879 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
32881 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
32882 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
32884 static void *_p_wxStaticBoxTo_p_wxObject(void *x
) {
32885 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticBox
*) x
));
32887 static void *_p_wxContextHelpTo_p_wxObject(void *x
) {
32888 return (void *)((wxObject
*) ((wxContextHelp
*) x
));
32890 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
32891 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
32893 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
32894 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
32896 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
32897 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
32899 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
32900 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
32902 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
32903 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
32905 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
32906 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
32908 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
32909 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
32911 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
32912 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
32914 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
32915 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
32917 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
32918 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
32920 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
32921 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
32923 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
32924 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
32926 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
32927 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
32929 static void *_p_wxListEventTo_p_wxObject(void *x
) {
32930 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxListEvent
*) x
));
32932 static void *_p_wxListBoxTo_p_wxObject(void *x
) {
32933 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
32935 static void *_p_wxCheckListBoxTo_p_wxObject(void *x
) {
32936 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
32938 static void *_p_wxBookCtrlTo_p_wxObject(void *x
) {
32939 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxBookCtrl
*) x
));
32941 static void *_p_wxButtonTo_p_wxObject(void *x
) {
32942 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxButton
*) x
));
32944 static void *_p_wxBitmapButtonTo_p_wxObject(void *x
) {
32945 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
32947 static void *_p_wxSpinButtonTo_p_wxObject(void *x
) {
32948 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSpinButton
*) x
));
32950 static void *_p_wxContextHelpButtonTo_p_wxObject(void *x
) {
32951 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
32953 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
32954 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
32956 static void *_p_wxScrollBarTo_p_wxObject(void *x
) {
32957 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxScrollBar
*) x
));
32959 static void *_p_wxRadioBoxTo_p_wxObject(void *x
) {
32960 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxRadioBox
*) x
));
32962 static void *_p_wxComboBoxTo_p_wxObject(void *x
) {
32963 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxComboBox
*) x
));
32965 static void *_p_wxHelpEventTo_p_wxObject(void *x
) {
32966 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxHelpEvent
*) x
));
32968 static void *_p_wxListItemTo_p_wxObject(void *x
) {
32969 return (void *)((wxObject
*) ((wxListItem
*) x
));
32971 static void *_p_wxImageTo_p_wxObject(void *x
) {
32972 return (void *)((wxObject
*) ((wxImage
*) x
));
32974 static void *_p_wxNotebookSizerTo_p_wxObject(void *x
) {
32975 return (void *)((wxObject
*) (wxSizer
*) ((wxNotebookSizer
*) x
));
32977 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
32978 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
32980 static void *_p_wxSpinEventTo_p_wxObject(void *x
) {
32981 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxSpinEvent
*) x
));
32983 static void *_p_wxGenericDragImageTo_p_wxObject(void *x
) {
32984 return (void *)((wxObject
*) ((wxGenericDragImage
*) x
));
32986 static void *_p_wxSpinCtrlTo_p_wxObject(void *x
) {
32987 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSpinCtrl
*) x
));
32989 static void *_p_wxNotebookEventTo_p_wxObject(void *x
) {
32990 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlEvent
*) ((wxNotebookEvent
*) x
));
32992 static void *_p_wxListbookEventTo_p_wxObject(void *x
) {
32993 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlEvent
*) ((wxListbookEvent
*) x
));
32995 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
32996 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
32998 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
32999 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
33001 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
33002 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
33004 static void *_p_wxWindowTo_p_wxObject(void *x
) {
33005 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
33007 static void *_p_wxMenuTo_p_wxObject(void *x
) {
33008 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
33010 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
33011 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
33013 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
33014 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
33016 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
33017 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
33019 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
33020 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
33022 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
33023 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
33025 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
33026 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
33028 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
33029 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
33031 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
33032 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
33034 static void *_p_wxTreeEventTo_p_wxObject(void *x
) {
33035 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxTreeEvent
*) x
));
33037 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
33038 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
33040 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
33041 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
33043 static void *_p_wxStaticTextTo_p_wxObject(void *x
) {
33044 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticText
*) x
));
33046 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
33047 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
33049 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
33050 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
33052 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
33053 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
33055 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
33056 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
33058 static void *_p_wxToolBarToolBaseTo_p_wxObject(void *x
) {
33059 return (void *)((wxObject
*) ((wxToolBarToolBase
*) x
));
33061 static void *_p_wxToolBarTo_p_wxObject(void *x
) {
33062 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
33064 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
33065 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
33067 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
33068 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
33070 static void *_p_wxBookCtrlSizerTo_p_wxObject(void *x
) {
33071 return (void *)((wxObject
*) (wxSizer
*) ((wxBookCtrlSizer
*) x
));
33073 static void *_p_wxBookCtrlTo_p_wxWindow(void *x
) {
33074 return (void *)((wxWindow
*) (wxControl
*) ((wxBookCtrl
*) x
));
33076 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
33077 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
33079 static void *_p_wxToolBarTo_p_wxWindow(void *x
) {
33080 return (void *)((wxWindow
*) (wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
33082 static void *_p_wxToggleButtonTo_p_wxWindow(void *x
) {
33083 return (void *)((wxWindow
*) (wxControl
*) ((wxToggleButton
*) x
));
33085 static void *_p_wxRadioButtonTo_p_wxWindow(void *x
) {
33086 return (void *)((wxWindow
*) (wxControl
*) ((wxRadioButton
*) x
));
33088 static void *_p_wxPyControlTo_p_wxWindow(void *x
) {
33089 return (void *)((wxWindow
*) (wxControl
*) ((wxPyControl
*) x
));
33091 static void *_p_wxControlTo_p_wxWindow(void *x
) {
33092 return (void *)((wxWindow
*) ((wxControl
*) x
));
33094 static void *_p_wxToolBarBaseTo_p_wxWindow(void *x
) {
33095 return (void *)((wxWindow
*) (wxControl
*) ((wxToolBarBase
*) x
));
33097 static void *_p_wxDirFilterListCtrlTo_p_wxWindow(void *x
) {
33098 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
33100 static void *_p_wxPyListCtrlTo_p_wxWindow(void *x
) {
33101 return (void *)((wxWindow
*) (wxControl
*) ((wxPyListCtrl
*) x
));
33103 static void *_p_wxComboBoxTo_p_wxWindow(void *x
) {
33104 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxComboBox
*) x
));
33106 static void *_p_wxGenericDirCtrlTo_p_wxWindow(void *x
) {
33107 return (void *)((wxWindow
*) (wxControl
*) ((wxGenericDirCtrl
*) x
));
33109 static void *_p_wxScrollBarTo_p_wxWindow(void *x
) {
33110 return (void *)((wxWindow
*) (wxControl
*) ((wxScrollBar
*) x
));
33112 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
33113 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
33115 static void *_p_wxGaugeTo_p_wxWindow(void *x
) {
33116 return (void *)((wxWindow
*) (wxControl
*) ((wxGauge
*) x
));
33118 static void *_p_wxStaticLineTo_p_wxWindow(void *x
) {
33119 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticLine
*) x
));
33121 static void *_p_wxListbookTo_p_wxWindow(void *x
) {
33122 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrl
*) ((wxListbook
*) x
));
33124 static void *_p_wxPyTreeCtrlTo_p_wxWindow(void *x
) {
33125 return (void *)((wxWindow
*) (wxControl
*) ((wxPyTreeCtrl
*) x
));
33127 static void *_p_wxCheckBoxTo_p_wxWindow(void *x
) {
33128 return (void *)((wxWindow
*) (wxControl
*) ((wxCheckBox
*) x
));
33130 static void *_p_wxRadioBoxTo_p_wxWindow(void *x
) {
33131 return (void *)((wxWindow
*) (wxControl
*) ((wxRadioBox
*) x
));
33133 static void *_p_wxCheckListBoxTo_p_wxWindow(void *x
) {
33134 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
33136 static void *_p_wxChoiceTo_p_wxWindow(void *x
) {
33137 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
33139 static void *_p_wxListBoxTo_p_wxWindow(void *x
) {
33140 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
33142 static void *_p_wxListViewTo_p_wxWindow(void *x
) {
33143 return (void *)((wxWindow
*) (wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
33145 static void *_p_wxNotebookTo_p_wxWindow(void *x
) {
33146 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrl
*) ((wxNotebook
*) x
));
33148 static void *_p_wxStaticBitmapTo_p_wxWindow(void *x
) {
33149 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticBitmap
*) x
));
33151 static void *_p_wxSpinCtrlTo_p_wxWindow(void *x
) {
33152 return (void *)((wxWindow
*) (wxControl
*) ((wxSpinCtrl
*) x
));
33154 static void *_p_wxStaticTextTo_p_wxWindow(void *x
) {
33155 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticText
*) x
));
33157 static void *_p_wxStaticBoxTo_p_wxWindow(void *x
) {
33158 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticBox
*) x
));
33160 static void *_p_wxSliderTo_p_wxWindow(void *x
) {
33161 return (void *)((wxWindow
*) (wxControl
*) ((wxSlider
*) x
));
33163 static void *_p_wxSpinButtonTo_p_wxWindow(void *x
) {
33164 return (void *)((wxWindow
*) (wxControl
*) ((wxSpinButton
*) x
));
33166 static void *_p_wxButtonTo_p_wxWindow(void *x
) {
33167 return (void *)((wxWindow
*) (wxControl
*) ((wxButton
*) x
));
33169 static void *_p_wxBitmapButtonTo_p_wxWindow(void *x
) {
33170 return (void *)((wxWindow
*) (wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
33172 static void *_p_wxContextHelpButtonTo_p_wxWindow(void *x
) {
33173 return (void *)((wxWindow
*) (wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
33175 static void *_p_wxTextCtrlTo_p_wxWindow(void *x
) {
33176 return (void *)((wxWindow
*) (wxControl
*) ((wxTextCtrl
*) x
));
33178 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x
) {
33179 return (void *)((wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
33181 static void *_p_wxBookCtrlEventTo_p_wxCommandEvent(void *x
) {
33182 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxBookCtrlEvent
*) x
));
33184 static void *_p_wxTextUrlEventTo_p_wxCommandEvent(void *x
) {
33185 return (void *)((wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
33187 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x
) {
33188 return (void *)((wxCommandEvent
*) ((wxScrollEvent
*) x
));
33190 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x
) {
33191 return (void *)((wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
33193 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x
) {
33194 return (void *)((wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
33196 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x
) {
33197 return (void *)((wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
33199 static void *_p_wxListbookEventTo_p_wxCommandEvent(void *x
) {
33200 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlEvent
*) ((wxListbookEvent
*) x
));
33202 static void *_p_wxNotebookEventTo_p_wxCommandEvent(void *x
) {
33203 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlEvent
*) ((wxNotebookEvent
*) x
));
33205 static void *_p_wxListEventTo_p_wxCommandEvent(void *x
) {
33206 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxListEvent
*) x
));
33208 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x
) {
33209 return (void *)((wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
33211 static void *_p_wxTreeEventTo_p_wxCommandEvent(void *x
) {
33212 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxTreeEvent
*) x
));
33214 static void *_p_wxSpinEventTo_p_wxCommandEvent(void *x
) {
33215 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxSpinEvent
*) x
));
33217 static void *_p_wxHelpEventTo_p_wxCommandEvent(void *x
) {
33218 return (void *)((wxCommandEvent
*) ((wxHelpEvent
*) x
));
33220 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x
) {
33221 return (void *)((wxCommandEvent
*) ((wxNotifyEvent
*) x
));
33223 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x
) {
33224 return (void *)((wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
33226 static void *_p_wxComboBoxTo_p_wxControlWithItems(void *x
) {
33227 return (void *)((wxControlWithItems
*) (wxChoice
*) ((wxComboBox
*) x
));
33229 static void *_p_wxDirFilterListCtrlTo_p_wxControlWithItems(void *x
) {
33230 return (void *)((wxControlWithItems
*) (wxChoice
*) ((wxDirFilterListCtrl
*) x
));
33232 static void *_p_wxChoiceTo_p_wxControlWithItems(void *x
) {
33233 return (void *)((wxControlWithItems
*) ((wxChoice
*) x
));
33235 static void *_p_wxListBoxTo_p_wxControlWithItems(void *x
) {
33236 return (void *)((wxControlWithItems
*) ((wxListBox
*) x
));
33238 static void *_p_wxCheckListBoxTo_p_wxControlWithItems(void *x
) {
33239 return (void *)((wxControlWithItems
*) (wxListBox
*) ((wxCheckListBox
*) x
));
33241 static void *_p_wxPyValidatorTo_p_wxValidator(void *x
) {
33242 return (void *)((wxValidator
*) ((wxPyValidator
*) x
));
33244 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}};
33245 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}};
33246 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}};
33247 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}};
33248 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}};
33249 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}};
33250 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}};
33251 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}};
33252 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}};
33253 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}};
33254 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}};
33255 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}};
33256 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}};
33257 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}};
33258 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}};
33259 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}};
33260 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}};
33261 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}};
33262 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}};
33263 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}};
33264 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}};
33265 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}};
33266 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}};
33267 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}};
33268 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}};
33269 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}};
33270 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}};
33271 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}};
33272 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}};
33273 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}};
33274 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}};
33275 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}};
33276 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}};
33277 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}};
33278 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}};
33279 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}};
33280 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}};
33281 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}};
33282 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}};
33283 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}};
33284 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}};
33285 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}};
33286 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}};
33287 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}};
33288 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}};
33289 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}};
33290 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}};
33291 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}};
33292 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}};
33293 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}};
33294 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}};
33295 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}};
33296 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}};
33297 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}};
33298 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}};
33299 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}};
33300 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}};
33301 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}};
33302 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}};
33303 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}};
33304 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}};
33305 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}};
33306 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}};
33307 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}};
33308 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}};
33309 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}};
33310 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}};
33311 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}};
33312 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}};
33313 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}};
33314 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}};
33315 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}};
33316 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}};
33317 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}};
33318 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}};
33319 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}};
33320 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}};
33321 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}};
33322 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}};
33323 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}};
33324 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}};
33325 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}};
33326 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}};
33327 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}};
33328 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}};
33330 static swig_type_info
*swig_types_initial
[] = {
33331 _swigt__p_wxTextUrlEvent
,
33332 _swigt__p_wxBookCtrlEvent
,
33334 _swigt__p_wxCheckBox
,
33335 _swigt__p_wxPyTreeCtrl
,
33337 _swigt__p_wxGenericDirCtrl
,
33339 _swigt__p_wxPyTreeItemData
,
33340 _swigt__p_wxItemContainer
,
33341 _swigt__p_wxPyListCtrl
,
33342 _swigt__p_wxDirFilterListCtrl
,
33343 _swigt__p_wxStaticLine
,
33344 _swigt__p_wxControl
,
33345 _swigt__p_wxPyControl
,
33347 _swigt__p_wxToolBarBase
,
33349 _swigt__p_wxToggleButton
,
33350 _swigt__p_wxRadioButton
,
33351 _swigt__p_wxChoice
,
33352 _swigt__p_wxMemoryDC
,
33353 _swigt__p_wxListItemAttr
,
33358 _swigt__p_wxListView
,
33360 _swigt__p_wxVisualAttributes
,
33361 _swigt__p_wxTextCtrl
,
33362 _swigt__p_wxNotebook
,
33363 _swigt__p_wxNotifyEvent
,
33364 _swigt__p_wxArrayString
,
33365 _swigt__p_wxListbook
,
33366 _swigt__p_wxStaticBitmap
,
33367 _swigt__p_wxSlider
,
33368 _swigt__p_wxStaticBox
,
33369 _swigt__p_wxArrayInt
,
33370 _swigt__p_wxContextHelp
,
33372 _swigt__p_wxEvtHandler
,
33373 _swigt__p_wxListEvent
,
33374 _swigt__p_wxCheckListBox
,
33375 _swigt__p_wxListBox
,
33376 _swigt__p_wxBookCtrl
,
33377 _swigt__p_wxSpinButton
,
33378 _swigt__p_wxButton
,
33379 _swigt__p_wxBitmapButton
,
33381 _swigt__p_wxContextHelpButton
,
33382 _swigt__p_wxRadioBox
,
33383 _swigt__p_wxScrollBar
,
33385 _swigt__p_wxTreeItemId
,
33386 _swigt__p_wxComboBox
,
33387 _swigt__p_wxHelpEvent
,
33388 _swigt__p_wxListItem
,
33389 _swigt__p_wxNotebookSizer
,
33390 _swigt__p_wxSpinEvent
,
33391 _swigt__p_wxGenericDragImage
,
33392 _swigt__p_wxSpinCtrl
,
33393 _swigt__p_wxImageList
,
33394 _swigt__p_wxHelpProvider
,
33395 _swigt__p_wxTextAttr
,
33396 _swigt__p_wxSimpleHelpProvider
,
33398 _swigt__p_wxListbookEvent
,
33399 _swigt__p_wxNotebookEvent
,
33400 _swigt__p_wxObject
,
33401 _swigt__p_wxCursor
,
33402 _swigt__p_wxKeyEvent
,
33403 _swigt__p_wxWindow
,
33404 _swigt__p_wxString
,
33405 _swigt__p_wxBitmap
,
33406 _swigt__p_wxTreeEvent
,
33407 _swigt__p_wxMouseEvent
,
33408 _swigt__p_wxCommandEvent
,
33409 _swigt__p_wxStaticText
,
33410 _swigt__p_wxControlWithItems
,
33411 _swigt__p_wxToolBarToolBase
,
33412 _swigt__p_wxColour
,
33413 _swigt__p_wxToolBar
,
33414 _swigt__p_wxBookCtrlSizer
,
33415 _swigt__p_wxValidator
,
33420 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
33422 static swig_const_info swig_const_table
[] = {
33432 SWIGEXPORT(void) SWIG_init(void) {
33433 static PyObject
*SWIG_globals
= 0;
33434 static int typeinit
= 0;
33437 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
33438 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
33439 d
= PyModule_GetDict(m
);
33442 for (i
= 0; swig_types_initial
[i
]; i
++) {
33443 swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]);
33447 SWIG_InstallConstants(d
,swig_const_table
);
33449 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
);
33450 SWIG_addvarlink(SWIG_globals
,(char*)"ButtonNameStr",_wrap_ButtonNameStr_get
, _wrap_ButtonNameStr_set
);
33451 PyDict_SetItemString(d
,"BU_LEFT", SWIG_FromInt((int)wxBU_LEFT
));
33452 PyDict_SetItemString(d
,"BU_TOP", SWIG_FromInt((int)wxBU_TOP
));
33453 PyDict_SetItemString(d
,"BU_RIGHT", SWIG_FromInt((int)wxBU_RIGHT
));
33454 PyDict_SetItemString(d
,"BU_BOTTOM", SWIG_FromInt((int)wxBU_BOTTOM
));
33455 PyDict_SetItemString(d
,"BU_EXACTFIT", SWIG_FromInt((int)wxBU_EXACTFIT
));
33456 PyDict_SetItemString(d
,"BU_AUTODRAW", SWIG_FromInt((int)wxBU_AUTODRAW
));
33457 SWIG_addvarlink(SWIG_globals
,(char*)"CheckBoxNameStr",_wrap_CheckBoxNameStr_get
, _wrap_CheckBoxNameStr_set
);
33458 PyDict_SetItemString(d
,"CHK_2STATE", SWIG_FromInt((int)wxCHK_2STATE
));
33459 PyDict_SetItemString(d
,"CHK_3STATE", SWIG_FromInt((int)wxCHK_3STATE
));
33460 PyDict_SetItemString(d
,"CHK_ALLOW_3RD_STATE_FOR_USER", SWIG_FromInt((int)wxCHK_ALLOW_3RD_STATE_FOR_USER
));
33461 PyDict_SetItemString(d
,"CHK_UNCHECKED", SWIG_FromInt((int)wxCHK_UNCHECKED
));
33462 PyDict_SetItemString(d
,"CHK_CHECKED", SWIG_FromInt((int)wxCHK_CHECKED
));
33463 PyDict_SetItemString(d
,"CHK_UNDETERMINED", SWIG_FromInt((int)wxCHK_UNDETERMINED
));
33464 SWIG_addvarlink(SWIG_globals
,(char*)"ChoiceNameStr",_wrap_ChoiceNameStr_get
, _wrap_ChoiceNameStr_set
);
33465 SWIG_addvarlink(SWIG_globals
,(char*)"ComboBoxNameStr",_wrap_ComboBoxNameStr_get
, _wrap_ComboBoxNameStr_set
);
33466 SWIG_addvarlink(SWIG_globals
,(char*)"GaugeNameStr",_wrap_GaugeNameStr_get
, _wrap_GaugeNameStr_set
);
33467 PyDict_SetItemString(d
,"GA_HORIZONTAL", SWIG_FromInt((int)wxGA_HORIZONTAL
));
33468 PyDict_SetItemString(d
,"GA_VERTICAL", SWIG_FromInt((int)wxGA_VERTICAL
));
33469 PyDict_SetItemString(d
,"GA_SMOOTH", SWIG_FromInt((int)wxGA_SMOOTH
));
33470 PyDict_SetItemString(d
,"GA_PROGRESSBAR", SWIG_FromInt((int)wxGA_PROGRESSBAR
));
33471 SWIG_addvarlink(SWIG_globals
,(char*)"StaticBitmapNameStr",_wrap_StaticBitmapNameStr_get
, _wrap_StaticBitmapNameStr_set
);
33472 SWIG_addvarlink(SWIG_globals
,(char*)"StaticBoxNameStr",_wrap_StaticBoxNameStr_get
, _wrap_StaticBoxNameStr_set
);
33473 SWIG_addvarlink(SWIG_globals
,(char*)"StaticTextNameStr",_wrap_StaticTextNameStr_get
, _wrap_StaticTextNameStr_set
);
33474 SWIG_addvarlink(SWIG_globals
,(char*)"ListBoxNameStr",_wrap_ListBoxNameStr_get
, _wrap_ListBoxNameStr_set
);
33475 SWIG_addvarlink(SWIG_globals
,(char*)"TextCtrlNameStr",_wrap_TextCtrlNameStr_get
, _wrap_TextCtrlNameStr_set
);
33476 PyDict_SetItemString(d
,"TE_NO_VSCROLL", SWIG_FromInt((int)wxTE_NO_VSCROLL
));
33477 PyDict_SetItemString(d
,"TE_AUTO_SCROLL", SWIG_FromInt((int)wxTE_AUTO_SCROLL
));
33478 PyDict_SetItemString(d
,"TE_READONLY", SWIG_FromInt((int)wxTE_READONLY
));
33479 PyDict_SetItemString(d
,"TE_MULTILINE", SWIG_FromInt((int)wxTE_MULTILINE
));
33480 PyDict_SetItemString(d
,"TE_PROCESS_TAB", SWIG_FromInt((int)wxTE_PROCESS_TAB
));
33481 PyDict_SetItemString(d
,"TE_LEFT", SWIG_FromInt((int)wxTE_LEFT
));
33482 PyDict_SetItemString(d
,"TE_CENTER", SWIG_FromInt((int)wxTE_CENTER
));
33483 PyDict_SetItemString(d
,"TE_RIGHT", SWIG_FromInt((int)wxTE_RIGHT
));
33484 PyDict_SetItemString(d
,"TE_CENTRE", SWIG_FromInt((int)wxTE_CENTRE
));
33485 PyDict_SetItemString(d
,"TE_RICH", SWIG_FromInt((int)wxTE_RICH
));
33486 PyDict_SetItemString(d
,"TE_PROCESS_ENTER", SWIG_FromInt((int)wxTE_PROCESS_ENTER
));
33487 PyDict_SetItemString(d
,"TE_PASSWORD", SWIG_FromInt((int)wxTE_PASSWORD
));
33488 PyDict_SetItemString(d
,"TE_AUTO_URL", SWIG_FromInt((int)wxTE_AUTO_URL
));
33489 PyDict_SetItemString(d
,"TE_NOHIDESEL", SWIG_FromInt((int)wxTE_NOHIDESEL
));
33490 PyDict_SetItemString(d
,"TE_DONTWRAP", SWIG_FromInt((int)wxTE_DONTWRAP
));
33491 PyDict_SetItemString(d
,"TE_LINEWRAP", SWIG_FromInt((int)wxTE_LINEWRAP
));
33492 PyDict_SetItemString(d
,"TE_WORDWRAP", SWIG_FromInt((int)wxTE_WORDWRAP
));
33493 PyDict_SetItemString(d
,"TE_RICH2", SWIG_FromInt((int)wxTE_RICH2
));
33494 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_DEFAULT", SWIG_FromInt((int)wxTEXT_ALIGNMENT_DEFAULT
));
33495 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_LEFT", SWIG_FromInt((int)wxTEXT_ALIGNMENT_LEFT
));
33496 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_CENTRE", SWIG_FromInt((int)wxTEXT_ALIGNMENT_CENTRE
));
33497 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_CENTER", SWIG_FromInt((int)wxTEXT_ALIGNMENT_CENTER
));
33498 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_RIGHT", SWIG_FromInt((int)wxTEXT_ALIGNMENT_RIGHT
));
33499 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_JUSTIFIED", SWIG_FromInt((int)wxTEXT_ALIGNMENT_JUSTIFIED
));
33500 PyDict_SetItemString(d
,"TEXT_ATTR_TEXT_COLOUR", SWIG_FromInt((int)wxTEXT_ATTR_TEXT_COLOUR
));
33501 PyDict_SetItemString(d
,"TEXT_ATTR_BACKGROUND_COLOUR", SWIG_FromInt((int)wxTEXT_ATTR_BACKGROUND_COLOUR
));
33502 PyDict_SetItemString(d
,"TEXT_ATTR_FONT_FACE", SWIG_FromInt((int)wxTEXT_ATTR_FONT_FACE
));
33503 PyDict_SetItemString(d
,"TEXT_ATTR_FONT_SIZE", SWIG_FromInt((int)wxTEXT_ATTR_FONT_SIZE
));
33504 PyDict_SetItemString(d
,"TEXT_ATTR_FONT_WEIGHT", SWIG_FromInt((int)wxTEXT_ATTR_FONT_WEIGHT
));
33505 PyDict_SetItemString(d
,"TEXT_ATTR_FONT_ITALIC", SWIG_FromInt((int)wxTEXT_ATTR_FONT_ITALIC
));
33506 PyDict_SetItemString(d
,"TEXT_ATTR_FONT_UNDERLINE", SWIG_FromInt((int)wxTEXT_ATTR_FONT_UNDERLINE
));
33507 PyDict_SetItemString(d
,"TEXT_ATTR_FONT", SWIG_FromInt((int)wxTEXT_ATTR_FONT
));
33508 PyDict_SetItemString(d
,"TEXT_ATTR_ALIGNMENT", SWIG_FromInt((int)wxTEXT_ATTR_ALIGNMENT
));
33509 PyDict_SetItemString(d
,"TEXT_ATTR_LEFT_INDENT", SWIG_FromInt((int)wxTEXT_ATTR_LEFT_INDENT
));
33510 PyDict_SetItemString(d
,"TEXT_ATTR_RIGHT_INDENT", SWIG_FromInt((int)wxTEXT_ATTR_RIGHT_INDENT
));
33511 PyDict_SetItemString(d
,"TEXT_ATTR_TABS", SWIG_FromInt((int)wxTEXT_ATTR_TABS
));
33512 PyDict_SetItemString(d
,"TE_HT_UNKNOWN", SWIG_FromInt((int)wxTE_HT_UNKNOWN
));
33513 PyDict_SetItemString(d
,"TE_HT_BEFORE", SWIG_FromInt((int)wxTE_HT_BEFORE
));
33514 PyDict_SetItemString(d
,"TE_HT_ON_TEXT", SWIG_FromInt((int)wxTE_HT_ON_TEXT
));
33515 PyDict_SetItemString(d
,"TE_HT_BELOW", SWIG_FromInt((int)wxTE_HT_BELOW
));
33516 PyDict_SetItemString(d
,"TE_HT_BEYOND", SWIG_FromInt((int)wxTE_HT_BEYOND
));
33517 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_UPDATED", PyInt_FromLong(wxEVT_COMMAND_TEXT_UPDATED
));
33518 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_ENTER", PyInt_FromLong(wxEVT_COMMAND_TEXT_ENTER
));
33519 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_URL", PyInt_FromLong(wxEVT_COMMAND_TEXT_URL
));
33520 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_MAXLEN", PyInt_FromLong(wxEVT_COMMAND_TEXT_MAXLEN
));
33521 SWIG_addvarlink(SWIG_globals
,(char*)"ScrollBarNameStr",_wrap_ScrollBarNameStr_get
, _wrap_ScrollBarNameStr_set
);
33522 SWIG_addvarlink(SWIG_globals
,(char*)"SPIN_BUTTON_NAME",_wrap_SPIN_BUTTON_NAME_get
, _wrap_SPIN_BUTTON_NAME_set
);
33523 SWIG_addvarlink(SWIG_globals
,(char*)"SpinCtrlNameStr",_wrap_SpinCtrlNameStr_get
, _wrap_SpinCtrlNameStr_set
);
33524 PyDict_SetItemString(d
,"SP_HORIZONTAL", SWIG_FromInt((int)wxSP_HORIZONTAL
));
33525 PyDict_SetItemString(d
,"SP_VERTICAL", SWIG_FromInt((int)wxSP_VERTICAL
));
33526 PyDict_SetItemString(d
,"SP_ARROW_KEYS", SWIG_FromInt((int)wxSP_ARROW_KEYS
));
33527 PyDict_SetItemString(d
,"SP_WRAP", SWIG_FromInt((int)wxSP_WRAP
));
33528 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPINCTRL_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SPINCTRL_UPDATED
));
33529 SWIG_addvarlink(SWIG_globals
,(char*)"RadioBoxNameStr",_wrap_RadioBoxNameStr_get
, _wrap_RadioBoxNameStr_set
);
33530 SWIG_addvarlink(SWIG_globals
,(char*)"RadioButtonNameStr",_wrap_RadioButtonNameStr_get
, _wrap_RadioButtonNameStr_set
);
33531 SWIG_addvarlink(SWIG_globals
,(char*)"SliderNameStr",_wrap_SliderNameStr_get
, _wrap_SliderNameStr_set
);
33532 SWIG_addvarlink(SWIG_globals
,(char*)"ToggleButtonNameStr",_wrap_ToggleButtonNameStr_get
, _wrap_ToggleButtonNameStr_set
);
33533 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOGGLEBUTTON_CLICKED", PyInt_FromLong(wxEVT_COMMAND_TOGGLEBUTTON_CLICKED
));
33534 SWIG_addvarlink(SWIG_globals
,(char*)"NOTEBOOK_NAME",_wrap_NOTEBOOK_NAME_get
, _wrap_NOTEBOOK_NAME_set
);
33535 PyDict_SetItemString(d
,"NB_FIXEDWIDTH", SWIG_FromInt((int)wxNB_FIXEDWIDTH
));
33536 PyDict_SetItemString(d
,"NB_TOP", SWIG_FromInt((int)wxNB_TOP
));
33537 PyDict_SetItemString(d
,"NB_LEFT", SWIG_FromInt((int)wxNB_LEFT
));
33538 PyDict_SetItemString(d
,"NB_RIGHT", SWIG_FromInt((int)wxNB_RIGHT
));
33539 PyDict_SetItemString(d
,"NB_BOTTOM", SWIG_FromInt((int)wxNB_BOTTOM
));
33540 PyDict_SetItemString(d
,"NB_MULTILINE", SWIG_FromInt((int)wxNB_MULTILINE
));
33541 PyDict_SetItemString(d
,"NB_HITTEST_NOWHERE", SWIG_FromInt((int)wxNB_HITTEST_NOWHERE
));
33542 PyDict_SetItemString(d
,"NB_HITTEST_ONICON", SWIG_FromInt((int)wxNB_HITTEST_ONICON
));
33543 PyDict_SetItemString(d
,"NB_HITTEST_ONLABEL", SWIG_FromInt((int)wxNB_HITTEST_ONLABEL
));
33544 PyDict_SetItemString(d
,"NB_HITTEST_ONITEM", SWIG_FromInt((int)wxNB_HITTEST_ONITEM
));
33545 PyDict_SetItemString(d
, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED
));
33546 PyDict_SetItemString(d
, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING
));
33547 PyDict_SetItemString(d
,"LB_DEFAULT", SWIG_FromInt((int)wxLB_DEFAULT
));
33548 PyDict_SetItemString(d
,"LB_TOP", SWIG_FromInt((int)wxLB_TOP
));
33549 PyDict_SetItemString(d
,"LB_BOTTOM", SWIG_FromInt((int)wxLB_BOTTOM
));
33550 PyDict_SetItemString(d
,"LB_LEFT", SWIG_FromInt((int)wxLB_LEFT
));
33551 PyDict_SetItemString(d
,"LB_RIGHT", SWIG_FromInt((int)wxLB_RIGHT
));
33552 PyDict_SetItemString(d
,"LB_ALIGN_MASK", SWIG_FromInt((int)wxLB_ALIGN_MASK
));
33553 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED
));
33554 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING
));
33555 PyDict_SetItemString(d
,"TOOL_STYLE_BUTTON", SWIG_FromInt((int)wxTOOL_STYLE_BUTTON
));
33556 PyDict_SetItemString(d
,"TOOL_STYLE_SEPARATOR", SWIG_FromInt((int)wxTOOL_STYLE_SEPARATOR
));
33557 PyDict_SetItemString(d
,"TOOL_STYLE_CONTROL", SWIG_FromInt((int)wxTOOL_STYLE_CONTROL
));
33558 PyDict_SetItemString(d
,"TB_HORIZONTAL", SWIG_FromInt((int)wxTB_HORIZONTAL
));
33559 PyDict_SetItemString(d
,"TB_VERTICAL", SWIG_FromInt((int)wxTB_VERTICAL
));
33560 PyDict_SetItemString(d
,"TB_3DBUTTONS", SWIG_FromInt((int)wxTB_3DBUTTONS
));
33561 PyDict_SetItemString(d
,"TB_FLAT", SWIG_FromInt((int)wxTB_FLAT
));
33562 PyDict_SetItemString(d
,"TB_DOCKABLE", SWIG_FromInt((int)wxTB_DOCKABLE
));
33563 PyDict_SetItemString(d
,"TB_NOICONS", SWIG_FromInt((int)wxTB_NOICONS
));
33564 PyDict_SetItemString(d
,"TB_TEXT", SWIG_FromInt((int)wxTB_TEXT
));
33565 PyDict_SetItemString(d
,"TB_NODIVIDER", SWIG_FromInt((int)wxTB_NODIVIDER
));
33566 PyDict_SetItemString(d
,"TB_NOALIGN", SWIG_FromInt((int)wxTB_NOALIGN
));
33567 PyDict_SetItemString(d
,"TB_HORZ_LAYOUT", SWIG_FromInt((int)wxTB_HORZ_LAYOUT
));
33568 PyDict_SetItemString(d
,"TB_HORZ_TEXT", SWIG_FromInt((int)wxTB_HORZ_TEXT
));
33569 SWIG_addvarlink(SWIG_globals
,(char*)"ListCtrlNameStr",_wrap_ListCtrlNameStr_get
, _wrap_ListCtrlNameStr_set
);
33570 PyDict_SetItemString(d
,"LC_VRULES", SWIG_FromInt((int)wxLC_VRULES
));
33571 PyDict_SetItemString(d
,"LC_HRULES", SWIG_FromInt((int)wxLC_HRULES
));
33572 PyDict_SetItemString(d
,"LC_ICON", SWIG_FromInt((int)wxLC_ICON
));
33573 PyDict_SetItemString(d
,"LC_SMALL_ICON", SWIG_FromInt((int)wxLC_SMALL_ICON
));
33574 PyDict_SetItemString(d
,"LC_LIST", SWIG_FromInt((int)wxLC_LIST
));
33575 PyDict_SetItemString(d
,"LC_REPORT", SWIG_FromInt((int)wxLC_REPORT
));
33576 PyDict_SetItemString(d
,"LC_ALIGN_TOP", SWIG_FromInt((int)wxLC_ALIGN_TOP
));
33577 PyDict_SetItemString(d
,"LC_ALIGN_LEFT", SWIG_FromInt((int)wxLC_ALIGN_LEFT
));
33578 PyDict_SetItemString(d
,"LC_AUTOARRANGE", SWIG_FromInt((int)wxLC_AUTOARRANGE
));
33579 PyDict_SetItemString(d
,"LC_VIRTUAL", SWIG_FromInt((int)wxLC_VIRTUAL
));
33580 PyDict_SetItemString(d
,"LC_EDIT_LABELS", SWIG_FromInt((int)wxLC_EDIT_LABELS
));
33581 PyDict_SetItemString(d
,"LC_NO_HEADER", SWIG_FromInt((int)wxLC_NO_HEADER
));
33582 PyDict_SetItemString(d
,"LC_NO_SORT_HEADER", SWIG_FromInt((int)wxLC_NO_SORT_HEADER
));
33583 PyDict_SetItemString(d
,"LC_SINGLE_SEL", SWIG_FromInt((int)wxLC_SINGLE_SEL
));
33584 PyDict_SetItemString(d
,"LC_SORT_ASCENDING", SWIG_FromInt((int)wxLC_SORT_ASCENDING
));
33585 PyDict_SetItemString(d
,"LC_SORT_DESCENDING", SWIG_FromInt((int)wxLC_SORT_DESCENDING
));
33586 PyDict_SetItemString(d
,"LC_MASK_TYPE", SWIG_FromInt((int)wxLC_MASK_TYPE
));
33587 PyDict_SetItemString(d
,"LC_MASK_ALIGN", SWIG_FromInt((int)wxLC_MASK_ALIGN
));
33588 PyDict_SetItemString(d
,"LC_MASK_SORT", SWIG_FromInt((int)wxLC_MASK_SORT
));
33589 PyDict_SetItemString(d
,"LIST_MASK_STATE", SWIG_FromInt((int)wxLIST_MASK_STATE
));
33590 PyDict_SetItemString(d
,"LIST_MASK_TEXT", SWIG_FromInt((int)wxLIST_MASK_TEXT
));
33591 PyDict_SetItemString(d
,"LIST_MASK_IMAGE", SWIG_FromInt((int)wxLIST_MASK_IMAGE
));
33592 PyDict_SetItemString(d
,"LIST_MASK_DATA", SWIG_FromInt((int)wxLIST_MASK_DATA
));
33593 PyDict_SetItemString(d
,"LIST_SET_ITEM", SWIG_FromInt((int)wxLIST_SET_ITEM
));
33594 PyDict_SetItemString(d
,"LIST_MASK_WIDTH", SWIG_FromInt((int)wxLIST_MASK_WIDTH
));
33595 PyDict_SetItemString(d
,"LIST_MASK_FORMAT", SWIG_FromInt((int)wxLIST_MASK_FORMAT
));
33596 PyDict_SetItemString(d
,"LIST_STATE_DONTCARE", SWIG_FromInt((int)wxLIST_STATE_DONTCARE
));
33597 PyDict_SetItemString(d
,"LIST_STATE_DROPHILITED", SWIG_FromInt((int)wxLIST_STATE_DROPHILITED
));
33598 PyDict_SetItemString(d
,"LIST_STATE_FOCUSED", SWIG_FromInt((int)wxLIST_STATE_FOCUSED
));
33599 PyDict_SetItemString(d
,"LIST_STATE_SELECTED", SWIG_FromInt((int)wxLIST_STATE_SELECTED
));
33600 PyDict_SetItemString(d
,"LIST_STATE_CUT", SWIG_FromInt((int)wxLIST_STATE_CUT
));
33601 PyDict_SetItemString(d
,"LIST_STATE_DISABLED", SWIG_FromInt((int)wxLIST_STATE_DISABLED
));
33602 PyDict_SetItemString(d
,"LIST_STATE_FILTERED", SWIG_FromInt((int)wxLIST_STATE_FILTERED
));
33603 PyDict_SetItemString(d
,"LIST_STATE_INUSE", SWIG_FromInt((int)wxLIST_STATE_INUSE
));
33604 PyDict_SetItemString(d
,"LIST_STATE_PICKED", SWIG_FromInt((int)wxLIST_STATE_PICKED
));
33605 PyDict_SetItemString(d
,"LIST_STATE_SOURCE", SWIG_FromInt((int)wxLIST_STATE_SOURCE
));
33606 PyDict_SetItemString(d
,"LIST_HITTEST_ABOVE", SWIG_FromInt((int)wxLIST_HITTEST_ABOVE
));
33607 PyDict_SetItemString(d
,"LIST_HITTEST_BELOW", SWIG_FromInt((int)wxLIST_HITTEST_BELOW
));
33608 PyDict_SetItemString(d
,"LIST_HITTEST_NOWHERE", SWIG_FromInt((int)wxLIST_HITTEST_NOWHERE
));
33609 PyDict_SetItemString(d
,"LIST_HITTEST_ONITEMICON", SWIG_FromInt((int)wxLIST_HITTEST_ONITEMICON
));
33610 PyDict_SetItemString(d
,"LIST_HITTEST_ONITEMLABEL", SWIG_FromInt((int)wxLIST_HITTEST_ONITEMLABEL
));
33611 PyDict_SetItemString(d
,"LIST_HITTEST_ONITEMRIGHT", SWIG_FromInt((int)wxLIST_HITTEST_ONITEMRIGHT
));
33612 PyDict_SetItemString(d
,"LIST_HITTEST_ONITEMSTATEICON", SWIG_FromInt((int)wxLIST_HITTEST_ONITEMSTATEICON
));
33613 PyDict_SetItemString(d
,"LIST_HITTEST_TOLEFT", SWIG_FromInt((int)wxLIST_HITTEST_TOLEFT
));
33614 PyDict_SetItemString(d
,"LIST_HITTEST_TORIGHT", SWIG_FromInt((int)wxLIST_HITTEST_TORIGHT
));
33615 PyDict_SetItemString(d
,"LIST_HITTEST_ONITEM", SWIG_FromInt((int)wxLIST_HITTEST_ONITEM
));
33616 PyDict_SetItemString(d
,"LIST_NEXT_ABOVE", SWIG_FromInt((int)wxLIST_NEXT_ABOVE
));
33617 PyDict_SetItemString(d
,"LIST_NEXT_ALL", SWIG_FromInt((int)wxLIST_NEXT_ALL
));
33618 PyDict_SetItemString(d
,"LIST_NEXT_BELOW", SWIG_FromInt((int)wxLIST_NEXT_BELOW
));
33619 PyDict_SetItemString(d
,"LIST_NEXT_LEFT", SWIG_FromInt((int)wxLIST_NEXT_LEFT
));
33620 PyDict_SetItemString(d
,"LIST_NEXT_RIGHT", SWIG_FromInt((int)wxLIST_NEXT_RIGHT
));
33621 PyDict_SetItemString(d
,"LIST_ALIGN_DEFAULT", SWIG_FromInt((int)wxLIST_ALIGN_DEFAULT
));
33622 PyDict_SetItemString(d
,"LIST_ALIGN_LEFT", SWIG_FromInt((int)wxLIST_ALIGN_LEFT
));
33623 PyDict_SetItemString(d
,"LIST_ALIGN_TOP", SWIG_FromInt((int)wxLIST_ALIGN_TOP
));
33624 PyDict_SetItemString(d
,"LIST_ALIGN_SNAP_TO_GRID", SWIG_FromInt((int)wxLIST_ALIGN_SNAP_TO_GRID
));
33625 PyDict_SetItemString(d
,"LIST_FORMAT_LEFT", SWIG_FromInt((int)wxLIST_FORMAT_LEFT
));
33626 PyDict_SetItemString(d
,"LIST_FORMAT_RIGHT", SWIG_FromInt((int)wxLIST_FORMAT_RIGHT
));
33627 PyDict_SetItemString(d
,"LIST_FORMAT_CENTRE", SWIG_FromInt((int)wxLIST_FORMAT_CENTRE
));
33628 PyDict_SetItemString(d
,"LIST_FORMAT_CENTER", SWIG_FromInt((int)wxLIST_FORMAT_CENTER
));
33629 PyDict_SetItemString(d
,"LIST_AUTOSIZE", SWIG_FromInt((int)wxLIST_AUTOSIZE
));
33630 PyDict_SetItemString(d
,"LIST_AUTOSIZE_USEHEADER", SWIG_FromInt((int)wxLIST_AUTOSIZE_USEHEADER
));
33631 PyDict_SetItemString(d
,"LIST_RECT_BOUNDS", SWIG_FromInt((int)wxLIST_RECT_BOUNDS
));
33632 PyDict_SetItemString(d
,"LIST_RECT_ICON", SWIG_FromInt((int)wxLIST_RECT_ICON
));
33633 PyDict_SetItemString(d
,"LIST_RECT_LABEL", SWIG_FromInt((int)wxLIST_RECT_LABEL
));
33634 PyDict_SetItemString(d
,"LIST_FIND_UP", SWIG_FromInt((int)wxLIST_FIND_UP
));
33635 PyDict_SetItemString(d
,"LIST_FIND_DOWN", SWIG_FromInt((int)wxLIST_FIND_DOWN
));
33636 PyDict_SetItemString(d
,"LIST_FIND_LEFT", SWIG_FromInt((int)wxLIST_FIND_LEFT
));
33637 PyDict_SetItemString(d
,"LIST_FIND_RIGHT", SWIG_FromInt((int)wxLIST_FIND_RIGHT
));
33638 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_DRAG
));
33639 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_RDRAG
));
33640 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT
));
33641 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_END_LABEL_EDIT
));
33642 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ITEM
));
33643 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS
));
33644 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_GET_INFO", PyInt_FromLong(wxEVT_COMMAND_LIST_GET_INFO
));
33645 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_SET_INFO", PyInt_FromLong(wxEVT_COMMAND_LIST_SET_INFO
));
33646 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_SELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_SELECTED
));
33647 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_DESELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_DESELECTED
));
33648 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_LIST_KEY_DOWN
));
33649 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_INSERT_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_INSERT_ITEM
));
33650 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_CLICK
));
33651 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK
));
33652 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK
));
33653 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_ACTIVATED
));
33654 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_CACHE_HINT", PyInt_FromLong(wxEVT_COMMAND_LIST_CACHE_HINT
));
33655 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_RIGHT_CLICK
));
33656 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_BEGIN_DRAG
));
33657 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_DRAGGING", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_DRAGGING
));
33658 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_END_DRAG
));
33659 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_FOCUSED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_FOCUSED
));
33661 // Map renamed classes back to their common name for OOR
33662 wxPyPtrTypeMap_Add("wxListCtrl", "wxPyListCtrl");
33664 SWIG_addvarlink(SWIG_globals
,(char*)"TreeCtrlNameStr",_wrap_TreeCtrlNameStr_get
, _wrap_TreeCtrlNameStr_set
);
33665 PyDict_SetItemString(d
,"TR_NO_BUTTONS", SWIG_FromInt((int)wxTR_NO_BUTTONS
));
33666 PyDict_SetItemString(d
,"TR_HAS_BUTTONS", SWIG_FromInt((int)wxTR_HAS_BUTTONS
));
33667 PyDict_SetItemString(d
,"TR_NO_LINES", SWIG_FromInt((int)wxTR_NO_LINES
));
33668 PyDict_SetItemString(d
,"TR_LINES_AT_ROOT", SWIG_FromInt((int)wxTR_LINES_AT_ROOT
));
33669 PyDict_SetItemString(d
,"TR_SINGLE", SWIG_FromInt((int)wxTR_SINGLE
));
33670 PyDict_SetItemString(d
,"TR_MULTIPLE", SWIG_FromInt((int)wxTR_MULTIPLE
));
33671 PyDict_SetItemString(d
,"TR_EXTENDED", SWIG_FromInt((int)wxTR_EXTENDED
));
33672 PyDict_SetItemString(d
,"TR_HAS_VARIABLE_ROW_HEIGHT", SWIG_FromInt((int)wxTR_HAS_VARIABLE_ROW_HEIGHT
));
33673 PyDict_SetItemString(d
,"TR_EDIT_LABELS", SWIG_FromInt((int)wxTR_EDIT_LABELS
));
33674 PyDict_SetItemString(d
,"TR_HIDE_ROOT", SWIG_FromInt((int)wxTR_HIDE_ROOT
));
33675 PyDict_SetItemString(d
,"TR_ROW_LINES", SWIG_FromInt((int)wxTR_ROW_LINES
));
33676 PyDict_SetItemString(d
,"TR_FULL_ROW_HIGHLIGHT", SWIG_FromInt((int)wxTR_FULL_ROW_HIGHLIGHT
));
33677 PyDict_SetItemString(d
,"TR_DEFAULT_STYLE", SWIG_FromInt((int)wxTR_DEFAULT_STYLE
));
33678 PyDict_SetItemString(d
,"TR_TWIST_BUTTONS", SWIG_FromInt((int)wxTR_TWIST_BUTTONS
));
33679 PyDict_SetItemString(d
,"TR_MAC_BUTTONS", SWIG_FromInt((int)wxTR_MAC_BUTTONS
));
33680 PyDict_SetItemString(d
,"TR_AQUA_BUTTONS", SWIG_FromInt((int)wxTR_AQUA_BUTTONS
));
33681 PyDict_SetItemString(d
,"TreeItemIcon_Normal", SWIG_FromInt((int)wxTreeItemIcon_Normal
));
33682 PyDict_SetItemString(d
,"TreeItemIcon_Selected", SWIG_FromInt((int)wxTreeItemIcon_Selected
));
33683 PyDict_SetItemString(d
,"TreeItemIcon_Expanded", SWIG_FromInt((int)wxTreeItemIcon_Expanded
));
33684 PyDict_SetItemString(d
,"TreeItemIcon_SelectedExpanded", SWIG_FromInt((int)wxTreeItemIcon_SelectedExpanded
));
33685 PyDict_SetItemString(d
,"TreeItemIcon_Max", SWIG_FromInt((int)wxTreeItemIcon_Max
));
33686 PyDict_SetItemString(d
,"TREE_HITTEST_ABOVE", SWIG_FromInt((int)wxTREE_HITTEST_ABOVE
));
33687 PyDict_SetItemString(d
,"TREE_HITTEST_BELOW", SWIG_FromInt((int)wxTREE_HITTEST_BELOW
));
33688 PyDict_SetItemString(d
,"TREE_HITTEST_NOWHERE", SWIG_FromInt((int)wxTREE_HITTEST_NOWHERE
));
33689 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMBUTTON", SWIG_FromInt((int)wxTREE_HITTEST_ONITEMBUTTON
));
33690 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMICON", SWIG_FromInt((int)wxTREE_HITTEST_ONITEMICON
));
33691 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMINDENT", SWIG_FromInt((int)wxTREE_HITTEST_ONITEMINDENT
));
33692 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMLABEL", SWIG_FromInt((int)wxTREE_HITTEST_ONITEMLABEL
));
33693 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMRIGHT", SWIG_FromInt((int)wxTREE_HITTEST_ONITEMRIGHT
));
33694 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMSTATEICON", SWIG_FromInt((int)wxTREE_HITTEST_ONITEMSTATEICON
));
33695 PyDict_SetItemString(d
,"TREE_HITTEST_TOLEFT", SWIG_FromInt((int)wxTREE_HITTEST_TOLEFT
));
33696 PyDict_SetItemString(d
,"TREE_HITTEST_TORIGHT", SWIG_FromInt((int)wxTREE_HITTEST_TORIGHT
));
33697 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMUPPERPART", SWIG_FromInt((int)wxTREE_HITTEST_ONITEMUPPERPART
));
33698 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMLOWERPART", SWIG_FromInt((int)wxTREE_HITTEST_ONITEMLOWERPART
));
33699 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEM", SWIG_FromInt((int)wxTREE_HITTEST_ONITEM
));
33700 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_DRAG
));
33701 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_RDRAG
));
33702 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT
));
33703 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_END_LABEL_EDIT
));
33704 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_TREE_DELETE_ITEM
));
33705 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_GET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_GET_INFO
));
33706 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_SET_INFO
));
33707 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_EXPANDED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDED
));
33708 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_EXPANDING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDING
));
33709 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_COLLAPSED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSED
));
33710 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_COLLAPSING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSING
));
33711 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SEL_CHANGED", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGED
));
33712 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SEL_CHANGING", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGING
));
33713 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_TREE_KEY_DOWN
));
33714 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_ACTIVATED
));
33715 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK
));
33716 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK
));
33717 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_END_DRAG
));
33718 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK
));
33719 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP
));
33721 // Map renamed classes back to their common name for OOR
33722 wxPyPtrTypeMap_Add("wxTreeItemData", "wxPyTreeItemData");
33723 wxPyPtrTypeMap_Add("wxTreeCtrl", "wxPyTreeCtrl");
33725 SWIG_addvarlink(SWIG_globals
,(char*)"DirDialogDefaultFolderStr",_wrap_DirDialogDefaultFolderStr_get
, _wrap_DirDialogDefaultFolderStr_set
);
33726 PyDict_SetItemString(d
,"DIRCTRL_DIR_ONLY", SWIG_FromInt((int)wxDIRCTRL_DIR_ONLY
));
33727 PyDict_SetItemString(d
,"DIRCTRL_SELECT_FIRST", SWIG_FromInt((int)wxDIRCTRL_SELECT_FIRST
));
33728 PyDict_SetItemString(d
,"DIRCTRL_SHOW_FILTERS", SWIG_FromInt((int)wxDIRCTRL_SHOW_FILTERS
));
33729 PyDict_SetItemString(d
,"DIRCTRL_3D_INTERNAL", SWIG_FromInt((int)wxDIRCTRL_3D_INTERNAL
));
33730 PyDict_SetItemString(d
,"DIRCTRL_EDIT_LABELS", SWIG_FromInt((int)wxDIRCTRL_EDIT_LABELS
));
33731 PyDict_SetItemString(d
,"FRAME_EX_CONTEXTHELP", SWIG_FromInt((int)wxFRAME_EX_CONTEXTHELP
));
33732 PyDict_SetItemString(d
,"DIALOG_EX_CONTEXTHELP", SWIG_FromInt((int)wxDIALOG_EX_CONTEXTHELP
));
33733 PyDict_SetItemString(d
, "wxEVT_HELP", PyInt_FromLong(wxEVT_HELP
));
33734 PyDict_SetItemString(d
, "wxEVT_DETAILED_HELP", PyInt_FromLong(wxEVT_DETAILED_HELP
));
33736 wxPyPtrTypeMap_Add("wxDragImage", "wxGenericDragImage");