1 /* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
5 * This file is not intended to be easily readable and contains a number of
6 * coding conventions designed to improve portability and efficiency. Do not make
7 * changes to this file unless you know what you are doing--modify the SWIG
8 * interface file instead.
9 * ----------------------------------------------------------------------------- */
12 #define SWIG_NOINCLUDE
15 template<class T
> class SwigValueWrapper
{
18 SwigValueWrapper() : tt(0) { }
19 SwigValueWrapper(const SwigValueWrapper
<T
>& rhs
) : tt(new T(*rhs
.tt
)) { }
20 SwigValueWrapper(const T
& t
) : tt(new T(t
)) { }
21 ~SwigValueWrapper() { delete tt
; }
22 SwigValueWrapper
& operator=(const T
& t
) { delete tt
; tt
= new T(t
); return *this; }
23 operator T
&() const { return *tt
; }
24 T
*operator&() { return tt
; }
26 SwigValueWrapper
& operator=(const SwigValueWrapper
<T
>& rhs
);
33 /*************************************************************** -*- c -*-
34 * python/precommon.swg
36 * Rename all exported symbols from common.swg, to avoid symbol
37 * clashes if multiple interpreters are included
39 ************************************************************************/
41 #define SWIG_TypeRegister SWIG_Python_TypeRegister
42 #define SWIG_TypeCheck SWIG_Python_TypeCheck
43 #define SWIG_TypeCast SWIG_Python_TypeCast
44 #define SWIG_TypeDynamicCast SWIG_Python_TypeDynamicCast
45 #define SWIG_TypeName SWIG_Python_TypeName
46 #define SWIG_TypeQuery SWIG_Python_TypeQuery
47 #define SWIG_TypeClientData SWIG_Python_TypeClientData
48 #define SWIG_PackData SWIG_Python_PackData
49 #define SWIG_UnpackData SWIG_Python_UnpackData
52 /***********************************************************************
53 * common.swg for wxPython
55 * Include only the function prototypes and such from SWIG's common.swg,
56 * but not the runtime functions themselves. This helps keep the
57 * wrapper files clean of unnecessary stuff that is in the libpy.c file
60 ************************************************************************/
64 #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
65 # if defined(_MSC_VER) || defined(__GNUC__)
66 # if defined(STATIC_LINKED)
67 # define SWIGEXPORT(a) a
68 # define SWIGIMPORT(a) extern a
70 # define SWIGEXPORT(a) __declspec(dllexport) a
71 # define SWIGIMPORT(a) extern a
74 # if defined(__BORLANDC__)
75 # define SWIGEXPORT(a) a _export
76 # define SWIGIMPORT(a) a _export
78 # define SWIGEXPORT(a) a
79 # define SWIGIMPORT(a) a
83 # define SWIGEXPORT(a) a
84 # define SWIGIMPORT(a) a
88 # define SWIGRUNTIME(a) SWIGEXPORT(a)
90 # define SWIGRUNTIME(a) static a
97 typedef void *(*swig_converter_func
)(void *);
98 typedef struct swig_type_info
*(*swig_dycast_func
)(void **);
100 typedef struct swig_type_info
{
102 swig_converter_func converter
;
105 swig_dycast_func dcast
;
106 struct swig_type_info
*next
;
107 struct swig_type_info
*prev
;
111 SWIGIMPORT(swig_type_info
*) SWIG_TypeRegister(swig_type_info
*);
112 SWIGIMPORT(swig_type_info
*) SWIG_TypeCheck(char *c
, swig_type_info
*);
113 SWIGIMPORT(void *) SWIG_TypeCast(swig_type_info
*, void *);
114 SWIGIMPORT(swig_type_info
*) SWIG_TypeDynamicCast(swig_type_info
*, void **);
115 SWIGIMPORT(const char *) SWIG_TypeName(const swig_type_info
*);
116 SWIGIMPORT(swig_type_info
*) SWIG_TypeQuery(const char *);
117 SWIGIMPORT(void) SWIG_TypeClientData(swig_type_info
*, void *);
118 SWIGIMPORT(char *) SWIG_PackData(char *, void *, int);
119 SWIGIMPORT(char *) SWIG_UnpackData(char *, void *, int);
126 /***********************************************************************
127 * pyrun.swg for wxPython
129 * Include only the function prototypes and such from SWIG's pyrun.swg,
130 * but not the runtime functions themselves. This helps keep the
131 * wrapper files clean of unnecessary stuff that is in the libpy.c file
134 ************************************************************************/
142 #define SWIG_PY_INT 1
143 #define SWIG_PY_FLOAT 2
144 #define SWIG_PY_STRING 3
145 #define SWIG_PY_POINTER 4
146 #define SWIG_PY_BINARY 5
148 /* Flags for pointer conversion */
150 #define SWIG_POINTER_EXCEPTION 0x1
151 #define SWIG_POINTER_DISOWN 0x2
153 /* Exception handling in wrappers */
154 #define SWIG_fail goto fail
156 /* Constant information structure */
157 typedef struct swig_const_info
{
163 swig_type_info
**ptype
;
166 /* Common SWIG API */
167 #define SWIG_ConvertPtr(obj, pp, type, flags) \
168 SWIG_Python_ConvertPtr(obj, pp, type, flags)
169 #define SWIG_NewPointerObj(p, type, flags) \
170 SWIG_Python_NewPointerObj(p, type, flags)
171 #define SWIG_MustGetPtr(p, type, argnum, flags) \
172 SWIG_Python_MustGetPtr(p, type, argnum, flags)
174 /* Python-specific SWIG API */
175 #define SWIG_newvarlink() \
176 SWIG_Python_newvarlink()
177 #define SWIG_addvarlink(p, name, get_attr, set_attr) \
178 SWIG_Python_addvarlink(p, name, get_attr, set_attr)
179 #define SWIG_ConvertPacked(obj, ptr, sz, ty, flags) \
180 SWIG_Python_ConvertPacked(obj, ptr, sz, ty, flags)
181 #define SWIG_NewPackedObj(ptr, sz, type) \
182 SWIG_Python_NewPackedObj(ptr, sz, type)
183 #define SWIG_InstallConstants(d, constants) \
184 SWIG_Python_InstallConstants(d, constants)
186 typedef double (*py_objasdbl_conv
)(PyObject
*obj
);
188 SWIGIMPORT(int) SWIG_Python_ConvertPtr(PyObject
*, void **, swig_type_info
*, int);
189 SWIGIMPORT(PyObject
*) SWIG_Python_NewPointerObj(void *, swig_type_info
*,int own
);
190 SWIGIMPORT(void *) SWIG_Python_MustGetPtr(PyObject
*, swig_type_info
*, int, int);
191 SWIGIMPORT(PyObject
*) SWIG_Python_newvarlink(void);
192 SWIGIMPORT(void) SWIG_Python_addvarlink(PyObject
*, char *, PyObject
*(*)(void), int (*)(PyObject
*));
193 SWIGIMPORT(int) SWIG_Python_ConvertPacked(PyObject
*, void *, int sz
, swig_type_info
*, int);
194 SWIGIMPORT(PyObject
*) SWIG_Python_NewPackedObj(void *, int sz
, swig_type_info
*);
195 SWIGIMPORT(void) SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]);
198 /* Contract support */
200 #define SWIG_contract_assert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else
207 /* -------- TYPES TABLE (BEGIN) -------- */
209 #define SWIGTYPE_p_wxTextUrlEvent swig_types[0]
210 #define SWIGTYPE_p_wxBookCtrlEvent swig_types[1]
211 #define SWIGTYPE_p_wxSizer swig_types[2]
212 #define SWIGTYPE_p_wxCheckBox swig_types[3]
213 #define SWIGTYPE_p_wxPyTreeCtrl swig_types[4]
214 #define SWIGTYPE_p_wxEvent swig_types[5]
215 #define SWIGTYPE_p_wxGenericDirCtrl swig_types[6]
216 #define SWIGTYPE_p_bool swig_types[7]
217 #define SWIGTYPE_p_wxPyTreeItemData swig_types[8]
218 #define SWIGTYPE_p_wxItemContainer swig_types[9]
219 #define SWIGTYPE_p_wxPyListCtrl swig_types[10]
220 #define SWIGTYPE_p_wxDirFilterListCtrl swig_types[11]
221 #define SWIGTYPE_p_wxStaticLine swig_types[12]
222 #define SWIGTYPE_p_wxControl swig_types[13]
223 #define SWIGTYPE_p_wxPyControl swig_types[14]
224 #define SWIGTYPE_p_wxGauge swig_types[15]
225 #define SWIGTYPE_p_wxToolBarBase swig_types[16]
226 #define SWIGTYPE_p_wxFont swig_types[17]
227 #define SWIGTYPE_p_wxToggleButton swig_types[18]
228 #define SWIGTYPE_p_wxRadioButton swig_types[19]
229 #define SWIGTYPE_p_wxChoice swig_types[20]
230 #define SWIGTYPE_p_wxMemoryDC swig_types[21]
231 #define SWIGTYPE_p_wxListItemAttr swig_types[22]
232 #define SWIGTYPE_p_void swig_types[23]
233 #define SWIGTYPE_p_int swig_types[24]
234 #define SWIGTYPE_p_wxSize swig_types[25]
235 #define SWIGTYPE_p_wxDC swig_types[26]
236 #define SWIGTYPE_p_wxListView swig_types[27]
237 #define SWIGTYPE_p_wxIcon swig_types[28]
238 #define SWIGTYPE_p_wxVisualAttributes swig_types[29]
239 #define SWIGTYPE_p_wxTextCtrl swig_types[30]
240 #define SWIGTYPE_p_wxNotebook swig_types[31]
241 #define SWIGTYPE_p_wxNotifyEvent swig_types[32]
242 #define SWIGTYPE_p_wxArrayString swig_types[33]
243 #define SWIGTYPE_p_wxListbook swig_types[34]
244 #define SWIGTYPE_p_wxStaticBitmap swig_types[35]
245 #define SWIGTYPE_p_wxSlider swig_types[36]
246 #define SWIGTYPE_p_wxStaticBox swig_types[37]
247 #define SWIGTYPE_p_wxArrayInt swig_types[38]
248 #define SWIGTYPE_p_wxContextHelp swig_types[39]
249 #define SWIGTYPE_p_long swig_types[40]
250 #define SWIGTYPE_p_wxEvtHandler swig_types[41]
251 #define SWIGTYPE_p_wxListEvent swig_types[42]
252 #define SWIGTYPE_p_wxCheckListBox swig_types[43]
253 #define SWIGTYPE_p_wxListBox swig_types[44]
254 #define SWIGTYPE_p_wxBookCtrl swig_types[45]
255 #define SWIGTYPE_p_wxSpinButton swig_types[46]
256 #define SWIGTYPE_p_wxButton swig_types[47]
257 #define SWIGTYPE_p_wxBitmapButton swig_types[48]
258 #define SWIGTYPE_p_wxRect swig_types[49]
259 #define SWIGTYPE_p_wxContextHelpButton swig_types[50]
260 #define SWIGTYPE_p_wxRadioBox swig_types[51]
261 #define SWIGTYPE_p_wxScrollBar swig_types[52]
262 #define SWIGTYPE_p_char swig_types[53]
263 #define SWIGTYPE_p_wxTreeItemId swig_types[54]
264 #define SWIGTYPE_p_wxComboBox swig_types[55]
265 #define SWIGTYPE_p_wxHelpEvent swig_types[56]
266 #define SWIGTYPE_p_wxListItem swig_types[57]
267 #define SWIGTYPE_p_wxNotebookSizer swig_types[58]
268 #define SWIGTYPE_p_wxSpinEvent swig_types[59]
269 #define SWIGTYPE_p_wxGenericDragImage swig_types[60]
270 #define SWIGTYPE_p_wxSpinCtrl swig_types[61]
271 #define SWIGTYPE_p_wxImageList swig_types[62]
272 #define SWIGTYPE_p_wxHelpProvider swig_types[63]
273 #define SWIGTYPE_p_wxTextAttr swig_types[64]
274 #define SWIGTYPE_p_wxSimpleHelpProvider swig_types[65]
275 #define SWIGTYPE_p_wxPoint swig_types[66]
276 #define SWIGTYPE_p_wxListbookEvent swig_types[67]
277 #define SWIGTYPE_p_wxNotebookEvent swig_types[68]
278 #define SWIGTYPE_p_wxObject swig_types[69]
279 #define SWIGTYPE_p_wxCursor swig_types[70]
280 #define SWIGTYPE_p_wxKeyEvent swig_types[71]
281 #define SWIGTYPE_p_wxWindow swig_types[72]
282 #define SWIGTYPE_p_wxString swig_types[73]
283 #define SWIGTYPE_p_wxBitmap swig_types[74]
284 #define SWIGTYPE_p_wxTreeEvent swig_types[75]
285 #define SWIGTYPE_p_wxMouseEvent swig_types[76]
286 #define SWIGTYPE_p_wxCommandEvent swig_types[77]
287 #define SWIGTYPE_p_wxStaticText swig_types[78]
288 #define SWIGTYPE_p_wxControlWithItems swig_types[79]
289 #define SWIGTYPE_p_wxToolBarToolBase swig_types[80]
290 #define SWIGTYPE_p_wxColour swig_types[81]
291 #define SWIGTYPE_p_wxToolBar swig_types[82]
292 #define SWIGTYPE_p_wxBookCtrlSizer swig_types[83]
293 #define SWIGTYPE_p_wxValidator swig_types[84]
294 static swig_type_info
*swig_types
[86];
296 /* -------- TYPES TABLE (END) -------- */
299 /*-----------------------------------------------
300 @(target):= _controls_.so
301 ------------------------------------------------*/
302 #define SWIG_init init_controls_
304 #define SWIG_name "_controls_"
306 /* Auxiliar swig macros */
309 #define SWIGSTATICINLINE(a) static inline a
310 #define SWIGSTATIC(a) static a
311 #define swig_new_array(type, size) (new type[(size)])
312 #define swig_delete_array(cptr) delete[] cptr
313 #define swig_const_cast(type,a) const_cast<type>(a)
314 #define swig_static_cast(type,a) static_cast<type>(a)
315 #define swig_reinterpret_cast(type,a) reinterpret_cast<type>(a)
317 #ifdef HAVE_NUMERIC_CAST
318 #define swig_numeric_cast(type,a) numeric_cast<type>(a)
320 #define swig_numeric_cast(type,a) static_cast<type>(a)
325 #define SWIGSTATICINLINE(a) static a
326 #define SWIGSTATIC(a) static a
327 #define swig_new_array(type, size) ((type*) malloc((size)*sizeof(type)))
328 #define swig_delete_array(cptr) free((char*)cptr)
329 #define swig_const_cast(type,a) (type)(a)
330 #define swig_static_cast(type,a) (type)(a)
331 #define swig_reinterpret_cast(type,a) (type)(a)
332 #define swig_numeric_cast(type,a) (type)(a)
334 #endif /* __cplusplus */
337 #define SWIG_FromSignedChar PyInt_FromLong
338 #define SWIG_FromUnsignedChar PyInt_FromLong
339 #define SWIG_FromShort PyInt_FromLong
340 #define SWIG_FromUnsignedShort PyInt_FromLong
341 #define SWIG_FromInt PyInt_FromLong
342 #define SWIG_FromLong PyInt_FromLong
343 #define SWIG_FromFloat PyFloat_FromDouble
344 #define SWIG_FromDouble PyFloat_FromDouble
345 #define SWIG_FromFloat PyFloat_FromDouble
346 #define SWIG_FromDouble PyFloat_FromDouble
349 #include "wx/wxPython/wxPython.h"
350 #include "wx/wxPython/pyclasses.h"
352 static const wxString
wxPyPanelNameStr(wxPanelNameStr
);
353 static const wxString
wxPyEmptyString(wxEmptyString
);
354 static const wxString
wxPyControlNameStr(wxControlNameStr
);
356 const wxArrayString wxPyEmptyStringArray
;
358 static const wxString
wxPyButtonNameStr(wxButtonNameStr
);
363 SWIGSTATICINLINE(long)
364 SWIG_CheckLongInRange(long value
, const char* type
,
365 long min_value
, long max_value
)
367 if (!PyErr_Occurred()) {
368 if (value
< min_value
) {
370 PyString_FromFormat("value %ld is less than '%s' minimum %ld",
371 value
, type
, min_value
);
373 PyErr_SetObject(PyExc_OverflowError
, err
);
375 } else if (value
> max_value
) {
377 PyString_FromFormat("value %ld is greater than '%s' maximum %ld",
378 value
, type
, max_value
);
379 PyErr_SetObject(PyExc_OverflowError
, err
);
387 SWIGSTATICINLINE(long)
388 SWIG_AsLong(PyObject
* obj
)
390 if (PyNumber_Check(obj
))
391 return PyInt_AsLong(obj
);
393 PyObject
* errmsg
= PyString_FromFormat("Expected number, got %s",
394 obj
->ob_type
->tp_name
);
395 PyErr_SetObject(PyExc_TypeError
, errmsg
);
402 #if INT_MAX != LONG_MAX
403 SWIGSTATICINLINE(int)
404 SWIG_AsInt(PyObject
*obj
)
406 return swig_numeric_cast(int,
407 SWIG_CheckLongInRange(SWIG_AsLong(obj
),
408 "int", INT_MIN
, INT_MAX
));
411 #define SWIG_AsInt SWIG_AsLong
415 SWIGSTATICINLINE(int)
416 SWIG_CheckInt(PyObject
* obj
)
419 if (PyErr_Occurred()) {
428 SWIGSTATICINLINE(int)
429 SWIG_CheckLong(PyObject
* obj
)
432 if (PyErr_Occurred()) {
440 static const wxString
wxPyCheckBoxNameStr(wxCheckBoxNameStr
);
442 SWIGSTATICINLINE(bool)
443 SWIG_AsBool(PyObject
*obj
)
445 return PyObject_IsTrue(obj
) ? true : false;
449 SWIGSTATICINLINE(int)
450 SWIG_CheckBool(PyObject
* obj
)
453 if (PyErr_Occurred()) {
461 static const wxString
wxPyChoiceNameStr(wxChoiceNameStr
);
462 static const wxString
wxPyComboBoxNameStr(wxComboBoxNameStr
);
463 static const wxString
wxPyGaugeNameStr(wxGaugeNameStr
);
464 static const wxString
wxPyStaticBitmapNameStr(wxStaticBitmapNameStr
);
465 static const wxString
wxPyStaticBoxNameStr(wxStaticBoxNameStr
);
466 static const wxString
wxPyStaticTextNameStr(wxStaticTextNameStr
);
468 #include <wx/checklst.h>
471 static const wxString
wxPyListBoxNameStr(wxListBoxNameStr
);
472 void wxListBox_Insert(wxListBox
*self
,wxString
const &item
,int pos
,PyObject
*clientData
){
474 wxPyClientData
* data
= new wxPyClientData(clientData
);
475 self
->Insert(item
, pos
, data
);
477 self
->Insert(item
, pos
);
479 PyObject
*wxListBox_GetSelections(wxListBox
*self
){
481 self
->GetSelections(lst
);
482 PyObject
*tup
= PyTuple_New(lst
.GetCount());
483 for(size_t i
=0; i
<lst
.GetCount(); i
++) {
484 PyTuple_SetItem(tup
, i
, PyInt_FromLong(lst
[i
]));
488 void wxListBox_SetItemForegroundColour(wxListBox
*self
,int item
,wxColour
const &c
){
490 if (self
->GetWindowStyle() & wxLB_OWNERDRAW
)
491 self
->GetItem(item
)->SetTextColour(c
);
494 void wxListBox_SetItemBackgroundColour(wxListBox
*self
,int item
,wxColour
const &c
){
496 if (self
->GetWindowStyle() & wxLB_OWNERDRAW
)
497 self
->GetItem(item
)->SetBackgroundColour(c
);
500 void wxListBox_SetItemFont(wxListBox
*self
,int item
,wxFont
const &f
){
502 if (self
->GetWindowStyle() & wxLB_OWNERDRAW
)
503 self
->GetItem(item
)->SetFont(f
);
506 static const wxString
wxPyTextCtrlNameStr(wxTextCtrlNameStr
);
508 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
514 } else if (target
== Py_None
) {
518 if (!PyTuple_Check(target
)) {
520 target
= PyTuple_New(1);
521 PyTuple_SetItem(target
, 0, o2
);
524 PyTuple_SetItem(o3
, 0, o
);
527 target
= PySequence_Concat(o2
, o3
);
535 SWIGSTATICINLINE(unsigned long)
536 SWIG_AsUnsignedLong(PyObject
* obj
)
538 if (PyLong_Check(obj
)) {
539 return PyLong_AsUnsignedLong(obj
);
541 long i
= SWIG_AsLong(obj
);
542 if ( !PyErr_Occurred() && (i
< 0)) {
543 PyErr_SetString(PyExc_TypeError
, "negative value received for unsigned type");
550 SWIGSTATICINLINE(int)
551 SWIG_CheckUnsignedLong(PyObject
* obj
)
553 SWIG_AsUnsignedLong(obj
);
554 if (PyErr_Occurred()) {
562 void wxTextCtrl_write(wxTextCtrl
*self
,wxString
const &text
){
563 self
->AppendText(text
);
565 wxString
wxTextCtrl_GetString(wxTextCtrl
*self
,long from
,long to
){
566 return self
->GetValue().Mid(from
, to
- from
);
568 static const wxString
wxPyScrollBarNameStr(wxScrollBarNameStr
);
569 static const wxString
wxPySPIN_BUTTON_NAME(wxSPIN_BUTTON_NAME
);
570 static const wxString
wxPySpinCtrlNameStr(_T("wxSpinCtrl"));
571 static const wxString
wxPyRadioBoxNameStr(wxRadioBoxNameStr
);
572 static const wxString
wxPyRadioButtonNameStr(wxRadioButtonNameStr
);
574 #include <wx/slider.h>
577 static const wxString
wxPySliderNameStr(wxSliderNameStr
);
578 static const wxString
wxPyToggleButtonNameStr(_T("wxToggleButton"));
581 // implement dummy items for platforms that don't have this class
583 #define wxEVT_COMMAND_TOGGLEBUTTON_CLICKED 0
585 class wxToggleButton
: public wxControl
588 wxToggleButton(wxWindow
*, wxWindowID
, const wxString
&,
589 const wxPoint
&, const wxSize
&, long,
590 const wxValidator
&, const wxString
&)
591 { wxPyRaiseNotImplemented(); }
594 { wxPyRaiseNotImplemented(); }
598 static const wxString
wxPyNOTEBOOK_NAME(wxNOTEBOOK_NAME
);
600 SWIGSTATICINLINE(PyObject
* )
601 SWIG_FromUnsignedLong(unsigned long value
)
603 return (value
> LONG_MAX
) ?
604 PyLong_FromUnsignedLong(value
)
605 : PyInt_FromLong(swig_numeric_cast(long,value
));
608 static const wxString
wxPyToolBarNameStr(wxToolBarNameStr
);
609 PyObject
*wxToolBarToolBase_GetClientData(wxToolBarToolBase
*self
){
610 wxPyUserData
* udata
= (wxPyUserData
*)self
->GetClientData();
612 Py_INCREF(udata
->m_obj
);
619 void wxToolBarToolBase_SetClientData(wxToolBarToolBase
*self
,PyObject
*clientData
){
620 self
->SetClientData(new wxPyUserData(clientData
));
622 wxToolBarToolBase
*wxToolBarBase_DoAddTool(wxToolBarBase
*self
,int id
,wxString
const &label
,wxBitmap
const &bitmap
,wxBitmap
const &bmpDisabled
,wxItemKind kind
,wxString
const &shortHelp
,wxString
const &longHelp
,PyObject
*clientData
){
623 wxPyUserData
* udata
= NULL
;
624 if (clientData
&& clientData
!= Py_None
)
625 udata
= new wxPyUserData(clientData
);
626 return self
->AddTool(id
, label
, bitmap
, bmpDisabled
, kind
,
627 shortHelp
, longHelp
, udata
);
629 wxToolBarToolBase
*wxToolBarBase_DoInsertTool(wxToolBarBase
*self
,size_t pos
,int id
,wxString
const &label
,wxBitmap
const &bitmap
,wxBitmap
const &bmpDisabled
,wxItemKind kind
,wxString
const &shortHelp
,wxString
const &longHelp
,PyObject
*clientData
){
630 wxPyUserData
* udata
= NULL
;
631 if (clientData
&& clientData
!= Py_None
)
632 udata
= new wxPyUserData(clientData
);
633 return self
->InsertTool(pos
, id
, label
, bitmap
, bmpDisabled
, kind
,
634 shortHelp
, longHelp
, udata
);
636 PyObject
*wxToolBarBase_GetToolClientData(wxToolBarBase
*self
,int id
){
637 wxPyUserData
* udata
= (wxPyUserData
*)self
->GetToolClientData(id
);
639 Py_INCREF(udata
->m_obj
);
646 void wxToolBarBase_SetToolClientData(wxToolBarBase
*self
,int id
,PyObject
*clientData
){
647 self
->SetToolClientData(id
, new wxPyUserData(clientData
));
650 #include <wx/listctrl.h>
652 static const wxString
wxPyListCtrlNameStr(_T("wxListCtrl"));
653 void wxListItemAttr_Destroy(wxListItemAttr
*self
){ delete self
; }
654 // Python aware sorting function for wxPyListCtrl
655 static int wxCALLBACK
wxPyListCtrl_SortItems(long item1
, long item2
, long funcPtr
) {
657 PyObject
* func
= (PyObject
*)funcPtr
;
658 bool blocked
= wxPyBeginBlockThreads();
660 PyObject
* args
= Py_BuildValue("(ii)", item1
, item2
);
661 PyObject
* result
= PyEval_CallObject(func
, args
);
664 retval
= PyInt_AsLong(result
);
668 wxPyEndBlockThreads(blocked
);
672 // C++ Version of a Python aware class
673 class wxPyListCtrl
: public wxListCtrl
{
674 DECLARE_ABSTRACT_CLASS(wxPyListCtrl
);
676 wxPyListCtrl() : wxListCtrl() {}
677 wxPyListCtrl(wxWindow
* parent
, wxWindowID id
,
681 const wxValidator
& validator
,
682 const wxString
& name
) :
683 wxListCtrl(parent
, id
, pos
, size
, style
, validator
, name
) {}
685 bool Create(wxWindow
* parent
, wxWindowID id
,
689 const wxValidator
& validator
,
690 const wxString
& name
) {
691 return wxListCtrl::Create(parent
, id
, pos
, size
, style
, validator
, name
);
694 DEC_PYCALLBACK_STRING_LONGLONG(OnGetItemText
);
695 DEC_PYCALLBACK_INT_LONG(OnGetItemImage
);
696 DEC_PYCALLBACK_LISTATTR_LONG(OnGetItemAttr
);
701 IMPLEMENT_ABSTRACT_CLASS(wxPyListCtrl
, wxListCtrl
);
703 IMP_PYCALLBACK_STRING_LONGLONG(wxPyListCtrl
, wxListCtrl
, OnGetItemText
);
704 IMP_PYCALLBACK_INT_LONG(wxPyListCtrl
, wxListCtrl
, OnGetItemImage
);
705 IMP_PYCALLBACK_LISTATTR_LONG(wxPyListCtrl
, wxListCtrl
, OnGetItemAttr
);
707 wxListItem
*wxPyListCtrl_GetColumn(wxPyListCtrl
*self
,int col
){
709 item
.SetMask( wxLIST_MASK_STATE
|
717 if (self
->GetColumn(col
, item
))
718 return new wxListItem(item
);
722 wxListItem
*wxPyListCtrl_GetItem(wxPyListCtrl
*self
,long itemId
,int col
){
723 wxListItem
* info
= new wxListItem
;
724 info
->m_itemId
= itemId
;
726 info
->m_mask
= 0xFFFF;
727 self
->GetItem(*info
);
730 wxPoint
wxPyListCtrl_GetItemPosition(wxPyListCtrl
*self
,long item
){
732 self
->GetItemPosition(item
, pos
);
735 wxRect
wxPyListCtrl_GetItemRect(wxPyListCtrl
*self
,long item
,int code
){
737 self
->GetItemRect(item
, rect
, code
);
740 bool wxPyListCtrl_SortItems(wxPyListCtrl
*self
,PyObject
*func
){
741 if (!PyCallable_Check(func
))
743 return self
->SortItems((wxListCtrlCompare
)wxPyListCtrl_SortItems
, (long)func
);
745 wxWindow
*wxPyListCtrl_GetMainWindow(wxPyListCtrl
*self
){
749 return (wxWindow
*)self
->m_mainWin
;
753 #include <wx/treectrl.h>
754 #include "wx/wxPython/pytree.h"
756 static const wxString
wxPyTreeCtrlNameStr(_T("wxTreeCtrl"));
757 bool wxTreeItemId___eq__(wxTreeItemId
*self
,wxTreeItemId
const *other
){ return other
? (*self
== *other
) : False
; }
758 bool wxTreeItemId___ne__(wxTreeItemId
*self
,wxTreeItemId
const *other
){ return other
? (*self
!= *other
) : True
; }
759 void wxPyTreeItemData_Destroy(wxPyTreeItemData
*self
){ delete self
; }
760 // C++ version of Python aware wxTreeCtrl
761 class wxPyTreeCtrl
: public wxTreeCtrl
{
762 DECLARE_ABSTRACT_CLASS(wxPyTreeCtrl
);
764 wxPyTreeCtrl() : wxTreeCtrl() {}
765 wxPyTreeCtrl(wxWindow
*parent
, wxWindowID id
,
769 const wxValidator
& validator
,
770 const wxString
& name
) :
771 wxTreeCtrl(parent
, id
, pos
, size
, style
, validator
, name
) {}
773 bool Create(wxWindow
*parent
, wxWindowID id
,
777 const wxValidator
& validator
,
778 const wxString
& name
) {
779 return wxTreeCtrl::Create(parent
, id
, pos
, size
, style
, validator
, name
);
783 int OnCompareItems(const wxTreeItemId
& item1
,
784 const wxTreeItemId
& item2
) {
787 bool blocked
= wxPyBeginBlockThreads();
788 if ((found
= wxPyCBH_findCallback(m_myInst
, "OnCompareItems"))) {
789 PyObject
*o1
= wxPyConstructObject((void*)&item1
, wxT("wxTreeItemId"), False
);
790 PyObject
*o2
= wxPyConstructObject((void*)&item2
, wxT("wxTreeItemId"), False
);
791 rval
= wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(OO)",o1
,o2
));
795 wxPyEndBlockThreads(blocked
);
797 rval
= wxTreeCtrl::OnCompareItems(item1
, item2
);
803 IMPLEMENT_ABSTRACT_CLASS(wxPyTreeCtrl
, wxTreeCtrl
);
807 #if UINT_MAX < LONG_MAX
808 #define SWIG_FromUnsignedInt SWIG_FromLong
810 #define SWIG_FromUnsignedInt SWIG_FromUnsignedLong
814 SWIGSTATICINLINE(unsigned long)
815 SWIG_CheckUnsignedLongInRange(unsigned long value
, const char* type
,
816 unsigned long max_value
)
818 if (!PyErr_Occurred()) {
819 if (value
> max_value
) {
821 PyString_FromFormat("value %ld is greater than '%s' minimum %ld",
822 value
, type
, max_value
);
823 PyErr_SetObject(PyExc_OverflowError
, err
);
831 #if UINT_MAX != ULONG_MAX
832 SWIGSTATICINLINE(unsigned int)
833 SWIG_AsUnsignedInt(PyObject
*obj
)
835 return swig_numeric_cast(unsigned int,
836 SWIG_CheckUnsignedLongInRange(SWIG_AsUnsignedLong(obj
),
837 "unsigned int", UINT_MAX
));
840 #define SWIG_AsUnsignedInt SWIG_AsUnsignedLong
844 SWIGSTATICINLINE(int)
845 SWIG_CheckUnsignedInt(PyObject
* obj
)
847 SWIG_AsUnsignedInt(obj
);
848 if (PyErr_Occurred()) {
856 wxPyTreeItemData
*wxPyTreeCtrl_GetItemData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
){
857 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
859 data
= new wxPyTreeItemData();
860 data
->SetId(item
); // set the id
861 self
->SetItemData(item
, data
);
865 PyObject
*wxPyTreeCtrl_GetItemPyData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
){
866 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
868 data
= new wxPyTreeItemData();
869 data
->SetId(item
); // set the id
870 self
->SetItemData(item
, data
);
872 return data
->GetData();
874 void wxPyTreeCtrl_SetItemData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,wxPyTreeItemData
*data
){
875 data
->SetId(item
); // set the id
876 self
->SetItemData(item
, data
);
878 void wxPyTreeCtrl_SetItemPyData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,PyObject
*obj
){
879 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
881 data
= new wxPyTreeItemData(obj
);
882 data
->SetId(item
); // set the id
883 self
->SetItemData(item
, data
);
887 PyObject
*wxPyTreeCtrl_GetSelections(wxPyTreeCtrl
*self
){
888 bool blocked
= wxPyBeginBlockThreads();
889 PyObject
* rval
= PyList_New(0);
890 wxArrayTreeItemIds array
;
892 num
= self
->GetSelections(array
);
893 for (x
=0; x
< num
; x
++) {
894 wxTreeItemId
*tii
= new wxTreeItemId(array
.Item(x
));
895 PyObject
* item
= wxPyConstructObject((void*)tii
, wxT("wxTreeItemId"), True
);
896 PyList_Append(rval
, item
);
899 wxPyEndBlockThreads(blocked
);
902 PyObject
*wxPyTreeCtrl_GetFirstChild(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
){
904 wxTreeItemId
* ritem
= new wxTreeItemId(self
->GetFirstChild(item
, cookie
));
905 bool blocked
= wxPyBeginBlockThreads();
906 PyObject
* tup
= PyTuple_New(2);
907 PyTuple_SET_ITEM(tup
, 0, wxPyConstructObject(ritem
, wxT("wxTreeItemId"), True
));
908 PyTuple_SET_ITEM(tup
, 1, wxPyMakeSwigPtr(cookie
, wxT("void")));
909 wxPyEndBlockThreads(blocked
);
912 PyObject
*wxPyTreeCtrl_GetNextChild(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,void *cookie
){
913 wxTreeItemId
* ritem
= new wxTreeItemId(self
->GetNextChild(item
, cookie
));
914 bool blocked
= wxPyBeginBlockThreads();
915 PyObject
* tup
= PyTuple_New(2);
916 PyTuple_SET_ITEM(tup
, 0, wxPyConstructObject(ritem
, wxT("wxTreeItemId"), True
));
917 PyTuple_SET_ITEM(tup
, 1, wxPyMakeSwigPtr(cookie
, wxT("void")));
918 wxPyEndBlockThreads(blocked
);
921 PyObject
*wxPyTreeCtrl_GetBoundingRect(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,bool textOnly
){
923 if (self
->GetBoundingRect(item
, rect
, textOnly
)) {
924 bool blocked
= wxPyBeginBlockThreads();
925 wxRect
* r
= new wxRect(rect
);
926 PyObject
* val
= wxPyConstructObject((void*)r
, wxT("wxRect"), True
);
927 wxPyEndBlockThreads(blocked
);
933 static const wxString
wxPyDirDialogDefaultFolderStr(wxDirDialogDefaultFolderStr
);
934 // C++ version of Python aware wxControl
935 class wxPyControl
: public wxControl
937 DECLARE_DYNAMIC_CLASS(wxPyControl
)
939 wxPyControl() : wxControl() {}
940 wxPyControl(wxWindow
* parent
, const wxWindowID id
,
941 const wxPoint
& pos
= wxDefaultPosition
,
942 const wxSize
& size
= wxDefaultSize
,
944 const wxValidator
& validator
=wxDefaultValidator
,
945 const wxString
& name
= wxPyControlNameStr
)
946 : wxControl(parent
, id
, pos
, size
, style
, validator
, name
) {}
948 void SetBestSize(const wxSize
& size
) { wxControl::SetBestSize(size
); }
950 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
);
951 DEC_PYCALLBACK_VOID_INT5(DoSetSize
);
952 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
);
953 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
);
955 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
);
956 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
);
957 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
);
959 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
);
960 DEC_PYCALLBACK_SIZE_const(DoGetBestSize
);
962 DEC_PYCALLBACK__(InitDialog
);
963 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
);
964 DEC_PYCALLBACK_BOOL_(TransferDataToWindow
);
965 DEC_PYCALLBACK_BOOL_(Validate
);
967 DEC_PYCALLBACK_BOOL_const(AcceptsFocus
);
968 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
);
969 DEC_PYCALLBACK_SIZE_const(GetMaxSize
);
971 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
);
972 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
);
974 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours
);
975 DEC_PYCALLBACK__COLOUR(ApplyParentThemeBackground
);
976 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes
);
981 IMPLEMENT_DYNAMIC_CLASS(wxPyControl
, wxControl
);
983 IMP_PYCALLBACK_VOID_INT4(wxPyControl
, wxControl
, DoMoveWindow
);
984 IMP_PYCALLBACK_VOID_INT5(wxPyControl
, wxControl
, DoSetSize
);
985 IMP_PYCALLBACK_VOID_INTINT(wxPyControl
, wxControl
, DoSetClientSize
);
986 IMP_PYCALLBACK_VOID_INTINT(wxPyControl
, wxControl
, DoSetVirtualSize
);
988 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl
, wxControl
, DoGetSize
);
989 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl
, wxControl
, DoGetClientSize
);
990 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl
, wxControl
, DoGetPosition
);
992 IMP_PYCALLBACK_SIZE_const(wxPyControl
, wxControl
, DoGetVirtualSize
);
993 IMP_PYCALLBACK_SIZE_const(wxPyControl
, wxControl
, DoGetBestSize
);
995 IMP_PYCALLBACK__(wxPyControl
, wxControl
, InitDialog
);
996 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, TransferDataFromWindow
);
997 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, TransferDataToWindow
);
998 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, Validate
);
1000 IMP_PYCALLBACK_BOOL_const(wxPyControl
, wxControl
, AcceptsFocus
);
1001 IMP_PYCALLBACK_BOOL_const(wxPyControl
, wxControl
, AcceptsFocusFromKeyboard
);
1002 IMP_PYCALLBACK_SIZE_const(wxPyControl
, wxControl
, GetMaxSize
);
1004 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyControl
, wxControl
, AddChild
);
1005 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyControl
, wxControl
, RemoveChild
);
1007 IMP_PYCALLBACK_BOOL_const(wxPyControl
, wxControl
, ShouldInheritColours
);
1008 IMP_PYCALLBACK__COLOUR(wxPyControl
, wxControl
, ApplyParentThemeBackground
);
1009 IMP_PYCALLBACK_VIZATTR_(wxPyControl
, wxControl
, GetDefaultAttributes
);
1013 void wxHelpProvider_Destroy(wxHelpProvider
*self
){ delete self
; }
1015 #include <wx/generic/dragimgg.h>
1020 static int _wrap_ButtonNameStr_set(PyObject
*_val
) {
1021 PyErr_SetString(PyExc_TypeError
,"Variable ButtonNameStr is read-only.");
1026 static PyObject
*_wrap_ButtonNameStr_get() {
1031 pyobj
= PyUnicode_FromWideChar((&wxPyButtonNameStr
)->c_str(), (&wxPyButtonNameStr
)->Len());
1033 pyobj
= PyString_FromStringAndSize((&wxPyButtonNameStr
)->c_str(), (&wxPyButtonNameStr
)->Len());
1040 static PyObject
*_wrap_new_Button(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1041 PyObject
*resultobj
;
1042 wxWindow
*arg1
= (wxWindow
*) 0 ;
1043 int arg2
= (int) -1 ;
1044 wxString
const &arg3_defvalue
= wxPyEmptyString
;
1045 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
1046 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
1047 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
1048 wxSize
const &arg5_defvalue
= wxDefaultSize
;
1049 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
1050 long arg6
= (long) 0 ;
1051 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
1052 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
1053 wxString
const &arg8_defvalue
= wxPyButtonNameStr
;
1054 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
1056 bool temp3
= False
;
1059 bool temp8
= False
;
1060 PyObject
* obj0
= 0 ;
1061 PyObject
* obj1
= 0 ;
1062 PyObject
* obj2
= 0 ;
1063 PyObject
* obj3
= 0 ;
1064 PyObject
* obj4
= 0 ;
1065 PyObject
* obj5
= 0 ;
1066 PyObject
* obj6
= 0 ;
1067 PyObject
* obj7
= 0 ;
1069 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1072 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_Button",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
1073 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
1074 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1076 arg2
= (int) SWIG_AsInt(obj1
);
1077 if (PyErr_Occurred()) SWIG_fail
;
1081 arg3
= wxString_in_helper(obj2
);
1082 if (arg3
== NULL
) SWIG_fail
;
1089 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
1095 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
1099 arg6
= (long) SWIG_AsLong(obj5
);
1100 if (PyErr_Occurred()) SWIG_fail
;
1103 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
1104 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1107 PyErr_SetString(PyExc_TypeError
,"null reference");
1113 arg8
= wxString_in_helper(obj7
);
1114 if (arg8
== NULL
) SWIG_fail
;
1119 if (!wxPyCheckForApp()) SWIG_fail
;
1120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1121 result
= (wxButton
*)new wxButton(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
1123 wxPyEndAllowThreads(__tstate
);
1124 if (PyErr_Occurred()) SWIG_fail
;
1126 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxButton
, 1);
1149 static PyObject
*_wrap_new_PreButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1150 PyObject
*resultobj
;
1156 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreButton",kwnames
)) goto fail
;
1158 if (!wxPyCheckForApp()) SWIG_fail
;
1159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1160 result
= (wxButton
*)new wxButton();
1162 wxPyEndAllowThreads(__tstate
);
1163 if (PyErr_Occurred()) SWIG_fail
;
1165 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxButton
, 1);
1172 static PyObject
*_wrap_Button_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1173 PyObject
*resultobj
;
1174 wxButton
*arg1
= (wxButton
*) 0 ;
1175 wxWindow
*arg2
= (wxWindow
*) 0 ;
1176 int arg3
= (int) -1 ;
1177 wxString
const &arg4_defvalue
= wxPyEmptyString
;
1178 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
1179 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
1180 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
1181 wxSize
const &arg6_defvalue
= wxDefaultSize
;
1182 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
1183 long arg7
= (long) 0 ;
1184 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
1185 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
1186 wxString
const &arg9_defvalue
= wxPyButtonNameStr
;
1187 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
1189 bool temp4
= False
;
1192 bool temp9
= False
;
1193 PyObject
* obj0
= 0 ;
1194 PyObject
* obj1
= 0 ;
1195 PyObject
* obj2
= 0 ;
1196 PyObject
* obj3
= 0 ;
1197 PyObject
* obj4
= 0 ;
1198 PyObject
* obj5
= 0 ;
1199 PyObject
* obj6
= 0 ;
1200 PyObject
* obj7
= 0 ;
1201 PyObject
* obj8
= 0 ;
1203 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1206 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:Button_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
1207 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxButton
,
1208 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1209 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
1210 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1212 arg3
= (int) SWIG_AsInt(obj2
);
1213 if (PyErr_Occurred()) SWIG_fail
;
1217 arg4
= wxString_in_helper(obj3
);
1218 if (arg4
== NULL
) SWIG_fail
;
1225 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
1231 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
1235 arg7
= (long) SWIG_AsLong(obj6
);
1236 if (PyErr_Occurred()) SWIG_fail
;
1239 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
1240 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1243 PyErr_SetString(PyExc_TypeError
,"null reference");
1249 arg9
= wxString_in_helper(obj8
);
1250 if (arg9
== NULL
) SWIG_fail
;
1255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1256 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
1258 wxPyEndAllowThreads(__tstate
);
1259 if (PyErr_Occurred()) SWIG_fail
;
1262 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1286 static PyObject
*_wrap_Button_SetDefault(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1287 PyObject
*resultobj
;
1288 wxButton
*arg1
= (wxButton
*) 0 ;
1289 PyObject
* obj0
= 0 ;
1291 (char *) "self", NULL
1294 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Button_SetDefault",kwnames
,&obj0
)) goto fail
;
1295 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxButton
,
1296 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1299 (arg1
)->SetDefault();
1301 wxPyEndAllowThreads(__tstate
);
1302 if (PyErr_Occurred()) SWIG_fail
;
1304 Py_INCREF(Py_None
); resultobj
= Py_None
;
1311 static PyObject
*_wrap_Button_GetDefaultSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1312 PyObject
*resultobj
;
1318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Button_GetDefaultSize",kwnames
)) goto fail
;
1320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1321 result
= wxButton::GetDefaultSize();
1323 wxPyEndAllowThreads(__tstate
);
1324 if (PyErr_Occurred()) SWIG_fail
;
1328 resultptr
= new wxSize((wxSize
&) result
);
1329 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
1337 static PyObject
*_wrap_Button_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1338 PyObject
*resultobj
;
1339 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
1340 wxVisualAttributes result
;
1341 PyObject
* obj0
= 0 ;
1343 (char *) "variant", NULL
1346 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Button_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
1348 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
1349 if (PyErr_Occurred()) SWIG_fail
;
1352 if (!wxPyCheckForApp()) SWIG_fail
;
1353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1354 result
= wxButton::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
1356 wxPyEndAllowThreads(__tstate
);
1357 if (PyErr_Occurred()) SWIG_fail
;
1360 wxVisualAttributes
* resultptr
;
1361 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
1362 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
1370 static PyObject
* Button_swigregister(PyObject
*self
, PyObject
*args
) {
1372 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1373 SWIG_TypeClientData(SWIGTYPE_p_wxButton
, obj
);
1375 return Py_BuildValue((char *)"");
1377 static PyObject
*_wrap_new_BitmapButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1378 PyObject
*resultobj
;
1379 wxWindow
*arg1
= (wxWindow
*) 0 ;
1380 int arg2
= (int) -1 ;
1381 wxBitmap
const &arg3_defvalue
= wxNullBitmap
;
1382 wxBitmap
*arg3
= (wxBitmap
*) &arg3_defvalue
;
1383 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
1384 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
1385 wxSize
const &arg5_defvalue
= wxDefaultSize
;
1386 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
1387 long arg6
= (long) wxBU_AUTODRAW
;
1388 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
1389 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
1390 wxString
const &arg8_defvalue
= wxPyButtonNameStr
;
1391 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
1392 wxBitmapButton
*result
;
1395 bool temp8
= False
;
1396 PyObject
* obj0
= 0 ;
1397 PyObject
* obj1
= 0 ;
1398 PyObject
* obj2
= 0 ;
1399 PyObject
* obj3
= 0 ;
1400 PyObject
* obj4
= 0 ;
1401 PyObject
* obj5
= 0 ;
1402 PyObject
* obj6
= 0 ;
1403 PyObject
* obj7
= 0 ;
1405 (char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1408 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_BitmapButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
1409 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
1410 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1412 arg2
= (int) SWIG_AsInt(obj1
);
1413 if (PyErr_Occurred()) SWIG_fail
;
1416 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxBitmap
,
1417 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1420 PyErr_SetString(PyExc_TypeError
,"null reference");
1427 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
1433 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
1437 arg6
= (long) SWIG_AsLong(obj5
);
1438 if (PyErr_Occurred()) SWIG_fail
;
1441 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
1442 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1445 PyErr_SetString(PyExc_TypeError
,"null reference");
1451 arg8
= wxString_in_helper(obj7
);
1452 if (arg8
== NULL
) SWIG_fail
;
1457 if (!wxPyCheckForApp()) SWIG_fail
;
1458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1459 result
= (wxBitmapButton
*)new wxBitmapButton(arg1
,arg2
,(wxBitmap
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
1461 wxPyEndAllowThreads(__tstate
);
1462 if (PyErr_Occurred()) SWIG_fail
;
1464 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmapButton
, 1);
1479 static PyObject
*_wrap_new_PreBitmapButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1480 PyObject
*resultobj
;
1481 wxBitmapButton
*result
;
1486 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreBitmapButton",kwnames
)) goto fail
;
1488 if (!wxPyCheckForApp()) SWIG_fail
;
1489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1490 result
= (wxBitmapButton
*)new wxBitmapButton();
1492 wxPyEndAllowThreads(__tstate
);
1493 if (PyErr_Occurred()) SWIG_fail
;
1495 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmapButton
, 1);
1502 static PyObject
*_wrap_BitmapButton_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1503 PyObject
*resultobj
;
1504 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1505 wxWindow
*arg2
= (wxWindow
*) 0 ;
1506 int arg3
= (int) -1 ;
1507 wxBitmap
const &arg4_defvalue
= wxNullBitmap
;
1508 wxBitmap
*arg4
= (wxBitmap
*) &arg4_defvalue
;
1509 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
1510 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
1511 wxSize
const &arg6_defvalue
= wxDefaultSize
;
1512 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
1513 long arg7
= (long) wxBU_AUTODRAW
;
1514 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
1515 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
1516 wxString
const &arg9_defvalue
= wxPyButtonNameStr
;
1517 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
1521 bool temp9
= False
;
1522 PyObject
* obj0
= 0 ;
1523 PyObject
* obj1
= 0 ;
1524 PyObject
* obj2
= 0 ;
1525 PyObject
* obj3
= 0 ;
1526 PyObject
* obj4
= 0 ;
1527 PyObject
* obj5
= 0 ;
1528 PyObject
* obj6
= 0 ;
1529 PyObject
* obj7
= 0 ;
1530 PyObject
* obj8
= 0 ;
1532 (char *) "self",(char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1535 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:BitmapButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
1536 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
1537 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1538 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
1539 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1541 arg3
= (int) SWIG_AsInt(obj2
);
1542 if (PyErr_Occurred()) SWIG_fail
;
1545 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxBitmap
,
1546 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1549 PyErr_SetString(PyExc_TypeError
,"null reference");
1556 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
1562 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
1566 arg7
= (long) SWIG_AsLong(obj6
);
1567 if (PyErr_Occurred()) SWIG_fail
;
1570 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
1571 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1574 PyErr_SetString(PyExc_TypeError
,"null reference");
1580 arg9
= wxString_in_helper(obj8
);
1581 if (arg9
== NULL
) SWIG_fail
;
1586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1587 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxBitmap
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
1589 wxPyEndAllowThreads(__tstate
);
1590 if (PyErr_Occurred()) SWIG_fail
;
1593 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1609 static PyObject
*_wrap_BitmapButton_GetBitmapLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1610 PyObject
*resultobj
;
1611 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1613 PyObject
* obj0
= 0 ;
1615 (char *) "self", NULL
1618 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetBitmapLabel",kwnames
,&obj0
)) goto fail
;
1619 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
1620 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1623 result
= (arg1
)->GetBitmapLabel();
1625 wxPyEndAllowThreads(__tstate
);
1626 if (PyErr_Occurred()) SWIG_fail
;
1629 wxBitmap
* resultptr
;
1630 resultptr
= new wxBitmap((wxBitmap
&) result
);
1631 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
1639 static PyObject
*_wrap_BitmapButton_GetBitmapDisabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1640 PyObject
*resultobj
;
1641 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1643 PyObject
* obj0
= 0 ;
1645 (char *) "self", NULL
1648 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetBitmapDisabled",kwnames
,&obj0
)) goto fail
;
1649 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
1650 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1653 result
= (arg1
)->GetBitmapDisabled();
1655 wxPyEndAllowThreads(__tstate
);
1656 if (PyErr_Occurred()) SWIG_fail
;
1659 wxBitmap
* resultptr
;
1660 resultptr
= new wxBitmap((wxBitmap
&) result
);
1661 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
1669 static PyObject
*_wrap_BitmapButton_GetBitmapFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1670 PyObject
*resultobj
;
1671 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1673 PyObject
* obj0
= 0 ;
1675 (char *) "self", NULL
1678 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetBitmapFocus",kwnames
,&obj0
)) goto fail
;
1679 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
1680 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1683 result
= (arg1
)->GetBitmapFocus();
1685 wxPyEndAllowThreads(__tstate
);
1686 if (PyErr_Occurred()) SWIG_fail
;
1689 wxBitmap
* resultptr
;
1690 resultptr
= new wxBitmap((wxBitmap
&) result
);
1691 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
1699 static PyObject
*_wrap_BitmapButton_GetBitmapSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1700 PyObject
*resultobj
;
1701 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1703 PyObject
* obj0
= 0 ;
1705 (char *) "self", NULL
1708 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetBitmapSelected",kwnames
,&obj0
)) goto fail
;
1709 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
1710 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1713 result
= (arg1
)->GetBitmapSelected();
1715 wxPyEndAllowThreads(__tstate
);
1716 if (PyErr_Occurred()) SWIG_fail
;
1719 wxBitmap
* resultptr
;
1720 resultptr
= new wxBitmap((wxBitmap
&) result
);
1721 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
1729 static PyObject
*_wrap_BitmapButton_SetBitmapDisabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1730 PyObject
*resultobj
;
1731 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1732 wxBitmap
*arg2
= 0 ;
1733 PyObject
* obj0
= 0 ;
1734 PyObject
* obj1
= 0 ;
1736 (char *) "self",(char *) "bitmap", NULL
1739 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapDisabled",kwnames
,&obj0
,&obj1
)) goto fail
;
1740 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
1741 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1742 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
1743 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1746 PyErr_SetString(PyExc_TypeError
,"null reference");
1750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1751 (arg1
)->SetBitmapDisabled((wxBitmap
const &)*arg2
);
1753 wxPyEndAllowThreads(__tstate
);
1754 if (PyErr_Occurred()) SWIG_fail
;
1756 Py_INCREF(Py_None
); resultobj
= Py_None
;
1763 static PyObject
*_wrap_BitmapButton_SetBitmapFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1764 PyObject
*resultobj
;
1765 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1766 wxBitmap
*arg2
= 0 ;
1767 PyObject
* obj0
= 0 ;
1768 PyObject
* obj1
= 0 ;
1770 (char *) "self",(char *) "bitmap", NULL
1773 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapFocus",kwnames
,&obj0
,&obj1
)) goto fail
;
1774 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
1775 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1776 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
1777 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1780 PyErr_SetString(PyExc_TypeError
,"null reference");
1784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1785 (arg1
)->SetBitmapFocus((wxBitmap
const &)*arg2
);
1787 wxPyEndAllowThreads(__tstate
);
1788 if (PyErr_Occurred()) SWIG_fail
;
1790 Py_INCREF(Py_None
); resultobj
= Py_None
;
1797 static PyObject
*_wrap_BitmapButton_SetBitmapSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1798 PyObject
*resultobj
;
1799 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1800 wxBitmap
*arg2
= 0 ;
1801 PyObject
* obj0
= 0 ;
1802 PyObject
* obj1
= 0 ;
1804 (char *) "self",(char *) "bitmap", NULL
1807 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
1808 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
1809 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1810 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
1811 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1814 PyErr_SetString(PyExc_TypeError
,"null reference");
1818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1819 (arg1
)->SetBitmapSelected((wxBitmap
const &)*arg2
);
1821 wxPyEndAllowThreads(__tstate
);
1822 if (PyErr_Occurred()) SWIG_fail
;
1824 Py_INCREF(Py_None
); resultobj
= Py_None
;
1831 static PyObject
*_wrap_BitmapButton_SetBitmapLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1832 PyObject
*resultobj
;
1833 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1834 wxBitmap
*arg2
= 0 ;
1835 PyObject
* obj0
= 0 ;
1836 PyObject
* obj1
= 0 ;
1838 (char *) "self",(char *) "bitmap", NULL
1841 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
1842 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
1843 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1844 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
1845 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1848 PyErr_SetString(PyExc_TypeError
,"null reference");
1852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1853 (arg1
)->SetBitmapLabel((wxBitmap
const &)*arg2
);
1855 wxPyEndAllowThreads(__tstate
);
1856 if (PyErr_Occurred()) SWIG_fail
;
1858 Py_INCREF(Py_None
); resultobj
= Py_None
;
1865 static PyObject
*_wrap_BitmapButton_SetMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1866 PyObject
*resultobj
;
1867 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1870 PyObject
* obj0
= 0 ;
1871 PyObject
* obj1
= 0 ;
1872 PyObject
* obj2
= 0 ;
1874 (char *) "self",(char *) "x",(char *) "y", NULL
1877 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BitmapButton_SetMargins",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
1878 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
1879 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1880 arg2
= (int) SWIG_AsInt(obj1
);
1881 if (PyErr_Occurred()) SWIG_fail
;
1882 arg3
= (int) SWIG_AsInt(obj2
);
1883 if (PyErr_Occurred()) SWIG_fail
;
1885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1886 (arg1
)->SetMargins(arg2
,arg3
);
1888 wxPyEndAllowThreads(__tstate
);
1889 if (PyErr_Occurred()) SWIG_fail
;
1891 Py_INCREF(Py_None
); resultobj
= Py_None
;
1898 static PyObject
*_wrap_BitmapButton_GetMarginX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1899 PyObject
*resultobj
;
1900 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1902 PyObject
* obj0
= 0 ;
1904 (char *) "self", NULL
1907 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetMarginX",kwnames
,&obj0
)) goto fail
;
1908 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
1909 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1912 result
= (int)((wxBitmapButton
const *)arg1
)->GetMarginX();
1914 wxPyEndAllowThreads(__tstate
);
1915 if (PyErr_Occurred()) SWIG_fail
;
1917 resultobj
= SWIG_FromInt((int)result
);
1924 static PyObject
*_wrap_BitmapButton_GetMarginY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1925 PyObject
*resultobj
;
1926 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1928 PyObject
* obj0
= 0 ;
1930 (char *) "self", NULL
1933 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetMarginY",kwnames
,&obj0
)) goto fail
;
1934 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
1935 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1938 result
= (int)((wxBitmapButton
const *)arg1
)->GetMarginY();
1940 wxPyEndAllowThreads(__tstate
);
1941 if (PyErr_Occurred()) SWIG_fail
;
1943 resultobj
= SWIG_FromInt((int)result
);
1950 static PyObject
* BitmapButton_swigregister(PyObject
*self
, PyObject
*args
) {
1952 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1953 SWIG_TypeClientData(SWIGTYPE_p_wxBitmapButton
, obj
);
1955 return Py_BuildValue((char *)"");
1957 static int _wrap_CheckBoxNameStr_set(PyObject
*_val
) {
1958 PyErr_SetString(PyExc_TypeError
,"Variable CheckBoxNameStr is read-only.");
1963 static PyObject
*_wrap_CheckBoxNameStr_get() {
1968 pyobj
= PyUnicode_FromWideChar((&wxPyCheckBoxNameStr
)->c_str(), (&wxPyCheckBoxNameStr
)->Len());
1970 pyobj
= PyString_FromStringAndSize((&wxPyCheckBoxNameStr
)->c_str(), (&wxPyCheckBoxNameStr
)->Len());
1977 static PyObject
*_wrap_new_CheckBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1978 PyObject
*resultobj
;
1979 wxWindow
*arg1
= (wxWindow
*) 0 ;
1980 int arg2
= (int) -1 ;
1981 wxString
const &arg3_defvalue
= wxPyEmptyString
;
1982 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
1983 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
1984 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
1985 wxSize
const &arg5_defvalue
= wxDefaultSize
;
1986 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
1987 long arg6
= (long) 0 ;
1988 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
1989 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
1990 wxString
const &arg8_defvalue
= wxPyCheckBoxNameStr
;
1991 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
1993 bool temp3
= False
;
1996 bool temp8
= False
;
1997 PyObject
* obj0
= 0 ;
1998 PyObject
* obj1
= 0 ;
1999 PyObject
* obj2
= 0 ;
2000 PyObject
* obj3
= 0 ;
2001 PyObject
* obj4
= 0 ;
2002 PyObject
* obj5
= 0 ;
2003 PyObject
* obj6
= 0 ;
2004 PyObject
* obj7
= 0 ;
2006 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
2009 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_CheckBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
2010 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
2011 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2013 arg2
= (int) SWIG_AsInt(obj1
);
2014 if (PyErr_Occurred()) SWIG_fail
;
2018 arg3
= wxString_in_helper(obj2
);
2019 if (arg3
== NULL
) SWIG_fail
;
2026 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
2032 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
2036 arg6
= (long) SWIG_AsLong(obj5
);
2037 if (PyErr_Occurred()) SWIG_fail
;
2040 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
2041 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2044 PyErr_SetString(PyExc_TypeError
,"null reference");
2050 arg8
= wxString_in_helper(obj7
);
2051 if (arg8
== NULL
) SWIG_fail
;
2056 if (!wxPyCheckForApp()) SWIG_fail
;
2057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2058 result
= (wxCheckBox
*)new wxCheckBox(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
2060 wxPyEndAllowThreads(__tstate
);
2061 if (PyErr_Occurred()) SWIG_fail
;
2063 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCheckBox
, 1);
2086 static PyObject
*_wrap_new_PreCheckBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2087 PyObject
*resultobj
;
2093 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreCheckBox",kwnames
)) goto fail
;
2095 if (!wxPyCheckForApp()) SWIG_fail
;
2096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2097 result
= (wxCheckBox
*)new wxCheckBox();
2099 wxPyEndAllowThreads(__tstate
);
2100 if (PyErr_Occurred()) SWIG_fail
;
2102 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCheckBox
, 1);
2109 static PyObject
*_wrap_CheckBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2110 PyObject
*resultobj
;
2111 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
2112 wxWindow
*arg2
= (wxWindow
*) 0 ;
2113 int arg3
= (int) -1 ;
2114 wxString
const &arg4_defvalue
= wxPyEmptyString
;
2115 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
2116 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
2117 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
2118 wxSize
const &arg6_defvalue
= wxDefaultSize
;
2119 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
2120 long arg7
= (long) 0 ;
2121 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
2122 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
2123 wxString
const &arg9_defvalue
= wxPyCheckBoxNameStr
;
2124 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
2126 bool temp4
= False
;
2129 bool temp9
= False
;
2130 PyObject
* obj0
= 0 ;
2131 PyObject
* obj1
= 0 ;
2132 PyObject
* obj2
= 0 ;
2133 PyObject
* obj3
= 0 ;
2134 PyObject
* obj4
= 0 ;
2135 PyObject
* obj5
= 0 ;
2136 PyObject
* obj6
= 0 ;
2137 PyObject
* obj7
= 0 ;
2138 PyObject
* obj8
= 0 ;
2140 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
2143 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:CheckBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
2144 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckBox
,
2145 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2146 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
2147 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2149 arg3
= (int) SWIG_AsInt(obj2
);
2150 if (PyErr_Occurred()) SWIG_fail
;
2154 arg4
= wxString_in_helper(obj3
);
2155 if (arg4
== NULL
) SWIG_fail
;
2162 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
2168 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
2172 arg7
= (long) SWIG_AsLong(obj6
);
2173 if (PyErr_Occurred()) SWIG_fail
;
2176 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
2177 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2180 PyErr_SetString(PyExc_TypeError
,"null reference");
2186 arg9
= wxString_in_helper(obj8
);
2187 if (arg9
== NULL
) SWIG_fail
;
2192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2193 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
2195 wxPyEndAllowThreads(__tstate
);
2196 if (PyErr_Occurred()) SWIG_fail
;
2199 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2223 static PyObject
*_wrap_CheckBox_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2224 PyObject
*resultobj
;
2225 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
2227 PyObject
* obj0
= 0 ;
2229 (char *) "self", NULL
2232 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckBox_GetValue",kwnames
,&obj0
)) goto fail
;
2233 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckBox
,
2234 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2237 result
= (bool)(arg1
)->GetValue();
2239 wxPyEndAllowThreads(__tstate
);
2240 if (PyErr_Occurred()) SWIG_fail
;
2243 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2251 static PyObject
*_wrap_CheckBox_IsChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2252 PyObject
*resultobj
;
2253 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
2255 PyObject
* obj0
= 0 ;
2257 (char *) "self", NULL
2260 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckBox_IsChecked",kwnames
,&obj0
)) goto fail
;
2261 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckBox
,
2262 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2265 result
= (bool)(arg1
)->IsChecked();
2267 wxPyEndAllowThreads(__tstate
);
2268 if (PyErr_Occurred()) SWIG_fail
;
2271 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2279 static PyObject
*_wrap_CheckBox_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2280 PyObject
*resultobj
;
2281 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
2283 PyObject
* obj0
= 0 ;
2284 PyObject
* obj1
= 0 ;
2286 (char *) "self",(char *) "state", NULL
2289 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckBox_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
2290 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckBox
,
2291 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2292 arg2
= (bool const) SWIG_AsBool(obj1
);
2293 if (PyErr_Occurred()) SWIG_fail
;
2295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2296 (arg1
)->SetValue(arg2
);
2298 wxPyEndAllowThreads(__tstate
);
2299 if (PyErr_Occurred()) SWIG_fail
;
2301 Py_INCREF(Py_None
); resultobj
= Py_None
;
2308 static PyObject
*_wrap_CheckBox_Get3StateValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2309 PyObject
*resultobj
;
2310 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
2312 PyObject
* obj0
= 0 ;
2314 (char *) "self", NULL
2317 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckBox_Get3StateValue",kwnames
,&obj0
)) goto fail
;
2318 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckBox
,
2319 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2322 result
= (int)((wxCheckBox
const *)arg1
)->Get3StateValue();
2324 wxPyEndAllowThreads(__tstate
);
2325 if (PyErr_Occurred()) SWIG_fail
;
2327 resultobj
= SWIG_FromInt((int)result
);
2334 static PyObject
*_wrap_CheckBox_Set3StateValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2335 PyObject
*resultobj
;
2336 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
2338 PyObject
* obj0
= 0 ;
2339 PyObject
* obj1
= 0 ;
2341 (char *) "self",(char *) "state", NULL
2344 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckBox_Set3StateValue",kwnames
,&obj0
,&obj1
)) goto fail
;
2345 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckBox
,
2346 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2347 arg2
= (wxCheckBoxState
) SWIG_AsInt(obj1
);
2348 if (PyErr_Occurred()) SWIG_fail
;
2350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2351 (arg1
)->Set3StateValue((wxCheckBoxState
)arg2
);
2353 wxPyEndAllowThreads(__tstate
);
2354 if (PyErr_Occurred()) SWIG_fail
;
2356 Py_INCREF(Py_None
); resultobj
= Py_None
;
2363 static PyObject
*_wrap_CheckBox_Is3State(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2364 PyObject
*resultobj
;
2365 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
2367 PyObject
* obj0
= 0 ;
2369 (char *) "self", NULL
2372 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckBox_Is3State",kwnames
,&obj0
)) goto fail
;
2373 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckBox
,
2374 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2377 result
= (bool)((wxCheckBox
const *)arg1
)->Is3State();
2379 wxPyEndAllowThreads(__tstate
);
2380 if (PyErr_Occurred()) SWIG_fail
;
2383 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2391 static PyObject
*_wrap_CheckBox_Is3rdStateAllowedForUser(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2392 PyObject
*resultobj
;
2393 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
2395 PyObject
* obj0
= 0 ;
2397 (char *) "self", NULL
2400 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckBox_Is3rdStateAllowedForUser",kwnames
,&obj0
)) goto fail
;
2401 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckBox
,
2402 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2405 result
= (bool)((wxCheckBox
const *)arg1
)->Is3rdStateAllowedForUser();
2407 wxPyEndAllowThreads(__tstate
);
2408 if (PyErr_Occurred()) SWIG_fail
;
2411 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2419 static PyObject
*_wrap_CheckBox_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2420 PyObject
*resultobj
;
2421 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
2422 wxVisualAttributes result
;
2423 PyObject
* obj0
= 0 ;
2425 (char *) "variant", NULL
2428 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:CheckBox_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
2430 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
2431 if (PyErr_Occurred()) SWIG_fail
;
2434 if (!wxPyCheckForApp()) SWIG_fail
;
2435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2436 result
= wxCheckBox::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
2438 wxPyEndAllowThreads(__tstate
);
2439 if (PyErr_Occurred()) SWIG_fail
;
2442 wxVisualAttributes
* resultptr
;
2443 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
2444 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
2452 static PyObject
* CheckBox_swigregister(PyObject
*self
, PyObject
*args
) {
2454 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2455 SWIG_TypeClientData(SWIGTYPE_p_wxCheckBox
, obj
);
2457 return Py_BuildValue((char *)"");
2459 static int _wrap_ChoiceNameStr_set(PyObject
*_val
) {
2460 PyErr_SetString(PyExc_TypeError
,"Variable ChoiceNameStr is read-only.");
2465 static PyObject
*_wrap_ChoiceNameStr_get() {
2470 pyobj
= PyUnicode_FromWideChar((&wxPyChoiceNameStr
)->c_str(), (&wxPyChoiceNameStr
)->Len());
2472 pyobj
= PyString_FromStringAndSize((&wxPyChoiceNameStr
)->c_str(), (&wxPyChoiceNameStr
)->Len());
2479 static PyObject
*_wrap_new_Choice(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2480 PyObject
*resultobj
;
2481 wxWindow
*arg1
= (wxWindow
*) 0 ;
2482 int arg2
= (int) -1 ;
2483 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
2484 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
2485 wxSize
const &arg4_defvalue
= wxDefaultSize
;
2486 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
2487 wxArrayString
const &arg5_defvalue
= wxPyEmptyStringArray
;
2488 wxArrayString
*arg5
= (wxArrayString
*) &arg5_defvalue
;
2489 long arg6
= (long) 0 ;
2490 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
2491 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
2492 wxString
const &arg8_defvalue
= wxPyChoiceNameStr
;
2493 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
2497 bool temp5
= False
;
2498 bool temp8
= False
;
2499 PyObject
* obj0
= 0 ;
2500 PyObject
* obj1
= 0 ;
2501 PyObject
* obj2
= 0 ;
2502 PyObject
* obj3
= 0 ;
2503 PyObject
* obj4
= 0 ;
2504 PyObject
* obj5
= 0 ;
2505 PyObject
* obj6
= 0 ;
2506 PyObject
* obj7
= 0 ;
2508 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
2511 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_Choice",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
2512 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
2513 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2515 arg2
= (int) SWIG_AsInt(obj1
);
2516 if (PyErr_Occurred()) SWIG_fail
;
2521 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
2527 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
2532 if (! PySequence_Check(obj4
)) {
2533 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
2536 arg5
= new wxArrayString
;
2538 int i
, len
=PySequence_Length(obj4
);
2539 for (i
=0; i
<len
; i
++) {
2540 PyObject
* item
= PySequence_GetItem(obj4
, i
);
2542 PyObject
* str
= PyObject_Unicode(item
);
2544 PyObject
* str
= PyObject_Str(item
);
2546 if (PyErr_Occurred()) SWIG_fail
;
2547 arg5
->Add(Py2wxString(str
));
2554 arg6
= (long) SWIG_AsLong(obj5
);
2555 if (PyErr_Occurred()) SWIG_fail
;
2558 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
2559 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2562 PyErr_SetString(PyExc_TypeError
,"null reference");
2568 arg8
= wxString_in_helper(obj7
);
2569 if (arg8
== NULL
) SWIG_fail
;
2574 if (!wxPyCheckForApp()) SWIG_fail
;
2575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2576 result
= (wxChoice
*)new wxChoice(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,(wxArrayString
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
2578 wxPyEndAllowThreads(__tstate
);
2579 if (PyErr_Occurred()) SWIG_fail
;
2581 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxChoice
, 1);
2583 if (temp5
) delete arg5
;
2592 if (temp5
) delete arg5
;
2602 static PyObject
*_wrap_new_PreChoice(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2603 PyObject
*resultobj
;
2609 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreChoice",kwnames
)) goto fail
;
2611 if (!wxPyCheckForApp()) SWIG_fail
;
2612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2613 result
= (wxChoice
*)new wxChoice();
2615 wxPyEndAllowThreads(__tstate
);
2616 if (PyErr_Occurred()) SWIG_fail
;
2618 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxChoice
, 1);
2625 static PyObject
*_wrap_Choice_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2626 PyObject
*resultobj
;
2627 wxChoice
*arg1
= (wxChoice
*) 0 ;
2628 wxWindow
*arg2
= (wxWindow
*) 0 ;
2629 int arg3
= (int) -1 ;
2630 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
2631 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
2632 wxSize
const &arg5_defvalue
= wxDefaultSize
;
2633 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
2634 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
2635 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
2636 long arg7
= (long) 0 ;
2637 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
2638 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
2639 wxString
const &arg9_defvalue
= wxPyChoiceNameStr
;
2640 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
2644 bool temp6
= False
;
2645 bool temp9
= False
;
2646 PyObject
* obj0
= 0 ;
2647 PyObject
* obj1
= 0 ;
2648 PyObject
* obj2
= 0 ;
2649 PyObject
* obj3
= 0 ;
2650 PyObject
* obj4
= 0 ;
2651 PyObject
* obj5
= 0 ;
2652 PyObject
* obj6
= 0 ;
2653 PyObject
* obj7
= 0 ;
2654 PyObject
* obj8
= 0 ;
2656 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
2659 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:Choice_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
2660 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxChoice
,
2661 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2662 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
2663 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2665 arg3
= (int) SWIG_AsInt(obj2
);
2666 if (PyErr_Occurred()) SWIG_fail
;
2671 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
2677 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
2682 if (! PySequence_Check(obj5
)) {
2683 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
2686 arg6
= new wxArrayString
;
2688 int i
, len
=PySequence_Length(obj5
);
2689 for (i
=0; i
<len
; i
++) {
2690 PyObject
* item
= PySequence_GetItem(obj5
, i
);
2692 PyObject
* str
= PyObject_Unicode(item
);
2694 PyObject
* str
= PyObject_Str(item
);
2696 if (PyErr_Occurred()) SWIG_fail
;
2697 arg6
->Add(Py2wxString(str
));
2704 arg7
= (long) SWIG_AsLong(obj6
);
2705 if (PyErr_Occurred()) SWIG_fail
;
2708 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
2709 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2712 PyErr_SetString(PyExc_TypeError
,"null reference");
2718 arg9
= wxString_in_helper(obj8
);
2719 if (arg9
== NULL
) SWIG_fail
;
2724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2725 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,(wxArrayString
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
2727 wxPyEndAllowThreads(__tstate
);
2728 if (PyErr_Occurred()) SWIG_fail
;
2731 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2734 if (temp6
) delete arg6
;
2743 if (temp6
) delete arg6
;
2753 static PyObject
*_wrap_Choice_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2754 PyObject
*resultobj
;
2755 wxChoice
*arg1
= (wxChoice
*) 0 ;
2757 PyObject
* obj0
= 0 ;
2758 PyObject
* obj1
= 0 ;
2760 (char *) "self",(char *) "n", NULL
2763 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Choice_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
2764 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxChoice
,
2765 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2766 arg2
= (int const) SWIG_AsInt(obj1
);
2767 if (PyErr_Occurred()) SWIG_fail
;
2769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2770 (arg1
)->SetSelection(arg2
);
2772 wxPyEndAllowThreads(__tstate
);
2773 if (PyErr_Occurred()) SWIG_fail
;
2775 Py_INCREF(Py_None
); resultobj
= Py_None
;
2782 static PyObject
*_wrap_Choice_SetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2783 PyObject
*resultobj
;
2784 wxChoice
*arg1
= (wxChoice
*) 0 ;
2785 wxString
*arg2
= 0 ;
2787 bool temp2
= False
;
2788 PyObject
* obj0
= 0 ;
2789 PyObject
* obj1
= 0 ;
2791 (char *) "self",(char *) "string", NULL
2794 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Choice_SetStringSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
2795 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxChoice
,
2796 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2798 arg2
= wxString_in_helper(obj1
);
2799 if (arg2
== NULL
) SWIG_fail
;
2803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2804 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
);
2806 wxPyEndAllowThreads(__tstate
);
2807 if (PyErr_Occurred()) SWIG_fail
;
2810 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2826 static PyObject
*_wrap_Choice_SetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2827 PyObject
*resultobj
;
2828 wxChoice
*arg1
= (wxChoice
*) 0 ;
2830 wxString
*arg3
= 0 ;
2831 bool temp3
= False
;
2832 PyObject
* obj0
= 0 ;
2833 PyObject
* obj1
= 0 ;
2834 PyObject
* obj2
= 0 ;
2836 (char *) "self",(char *) "n",(char *) "string", NULL
2839 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Choice_SetString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2840 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxChoice
,
2841 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2842 arg2
= (int) SWIG_AsInt(obj1
);
2843 if (PyErr_Occurred()) SWIG_fail
;
2845 arg3
= wxString_in_helper(obj2
);
2846 if (arg3
== NULL
) SWIG_fail
;
2850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2851 (arg1
)->SetString(arg2
,(wxString
const &)*arg3
);
2853 wxPyEndAllowThreads(__tstate
);
2854 if (PyErr_Occurred()) SWIG_fail
;
2856 Py_INCREF(Py_None
); resultobj
= Py_None
;
2871 static PyObject
*_wrap_Choice_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2872 PyObject
*resultobj
;
2873 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
2874 wxVisualAttributes result
;
2875 PyObject
* obj0
= 0 ;
2877 (char *) "variant", NULL
2880 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Choice_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
2882 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
2883 if (PyErr_Occurred()) SWIG_fail
;
2886 if (!wxPyCheckForApp()) SWIG_fail
;
2887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2888 result
= wxChoice::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
2890 wxPyEndAllowThreads(__tstate
);
2891 if (PyErr_Occurred()) SWIG_fail
;
2894 wxVisualAttributes
* resultptr
;
2895 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
2896 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
2904 static PyObject
* Choice_swigregister(PyObject
*self
, PyObject
*args
) {
2906 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2907 SWIG_TypeClientData(SWIGTYPE_p_wxChoice
, obj
);
2909 return Py_BuildValue((char *)"");
2911 static int _wrap_ComboBoxNameStr_set(PyObject
*_val
) {
2912 PyErr_SetString(PyExc_TypeError
,"Variable ComboBoxNameStr is read-only.");
2917 static PyObject
*_wrap_ComboBoxNameStr_get() {
2922 pyobj
= PyUnicode_FromWideChar((&wxPyComboBoxNameStr
)->c_str(), (&wxPyComboBoxNameStr
)->Len());
2924 pyobj
= PyString_FromStringAndSize((&wxPyComboBoxNameStr
)->c_str(), (&wxPyComboBoxNameStr
)->Len());
2931 static PyObject
*_wrap_new_ComboBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2932 PyObject
*resultobj
;
2933 wxWindow
*arg1
= (wxWindow
*) 0 ;
2934 int arg2
= (int) -1 ;
2935 wxString
const &arg3_defvalue
= wxPyEmptyString
;
2936 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
2937 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
2938 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
2939 wxSize
const &arg5_defvalue
= wxDefaultSize
;
2940 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
2941 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
2942 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
2943 long arg7
= (long) 0 ;
2944 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
2945 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
2946 wxString
const &arg9_defvalue
= wxPyComboBoxNameStr
;
2947 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
2949 bool temp3
= False
;
2952 bool temp6
= False
;
2953 bool temp9
= False
;
2954 PyObject
* obj0
= 0 ;
2955 PyObject
* obj1
= 0 ;
2956 PyObject
* obj2
= 0 ;
2957 PyObject
* obj3
= 0 ;
2958 PyObject
* obj4
= 0 ;
2959 PyObject
* obj5
= 0 ;
2960 PyObject
* obj6
= 0 ;
2961 PyObject
* obj7
= 0 ;
2962 PyObject
* obj8
= 0 ;
2964 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
2967 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOO:new_ComboBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
2968 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
2969 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2971 arg2
= (int) SWIG_AsInt(obj1
);
2972 if (PyErr_Occurred()) SWIG_fail
;
2976 arg3
= wxString_in_helper(obj2
);
2977 if (arg3
== NULL
) SWIG_fail
;
2984 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
2990 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
2995 if (! PySequence_Check(obj5
)) {
2996 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
2999 arg6
= new wxArrayString
;
3001 int i
, len
=PySequence_Length(obj5
);
3002 for (i
=0; i
<len
; i
++) {
3003 PyObject
* item
= PySequence_GetItem(obj5
, i
);
3005 PyObject
* str
= PyObject_Unicode(item
);
3007 PyObject
* str
= PyObject_Str(item
);
3009 if (PyErr_Occurred()) SWIG_fail
;
3010 arg6
->Add(Py2wxString(str
));
3017 arg7
= (long) SWIG_AsLong(obj6
);
3018 if (PyErr_Occurred()) SWIG_fail
;
3021 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
3022 SWIG_POINTER_EXCEPTION
| 0)) == -1)
3025 PyErr_SetString(PyExc_TypeError
,"null reference");
3031 arg9
= wxString_in_helper(obj8
);
3032 if (arg9
== NULL
) SWIG_fail
;
3037 if (!wxPyCheckForApp()) SWIG_fail
;
3038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3039 result
= (wxComboBox
*)new wxComboBox(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,(wxArrayString
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
3041 wxPyEndAllowThreads(__tstate
);
3042 if (PyErr_Occurred()) SWIG_fail
;
3044 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxComboBox
, 1);
3050 if (temp6
) delete arg6
;
3063 if (temp6
) delete arg6
;
3073 static PyObject
*_wrap_new_PreComboBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3074 PyObject
*resultobj
;
3080 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreComboBox",kwnames
)) goto fail
;
3082 if (!wxPyCheckForApp()) SWIG_fail
;
3083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3084 result
= (wxComboBox
*)new wxComboBox();
3086 wxPyEndAllowThreads(__tstate
);
3087 if (PyErr_Occurred()) SWIG_fail
;
3089 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxComboBox
, 1);
3096 static PyObject
*_wrap_ComboBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3097 PyObject
*resultobj
;
3098 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3099 wxWindow
*arg2
= (wxWindow
*) 0 ;
3100 int arg3
= (int) -1 ;
3101 wxString
const &arg4_defvalue
= wxPyEmptyString
;
3102 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
3103 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
3104 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
3105 wxSize
const &arg6_defvalue
= wxDefaultSize
;
3106 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
3107 wxArrayString
const &arg7_defvalue
= wxPyEmptyStringArray
;
3108 wxArrayString
*arg7
= (wxArrayString
*) &arg7_defvalue
;
3109 long arg8
= (long) 0 ;
3110 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
3111 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
3112 wxString
const &arg10_defvalue
= wxPyChoiceNameStr
;
3113 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
3115 bool temp4
= False
;
3118 bool temp7
= False
;
3119 bool temp10
= False
;
3120 PyObject
* obj0
= 0 ;
3121 PyObject
* obj1
= 0 ;
3122 PyObject
* obj2
= 0 ;
3123 PyObject
* obj3
= 0 ;
3124 PyObject
* obj4
= 0 ;
3125 PyObject
* obj5
= 0 ;
3126 PyObject
* obj6
= 0 ;
3127 PyObject
* obj7
= 0 ;
3128 PyObject
* obj8
= 0 ;
3129 PyObject
* obj9
= 0 ;
3131 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
3134 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOO:ComboBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
3135 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3136 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3137 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
3138 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3140 arg3
= (int) SWIG_AsInt(obj2
);
3141 if (PyErr_Occurred()) SWIG_fail
;
3145 arg4
= wxString_in_helper(obj3
);
3146 if (arg4
== NULL
) SWIG_fail
;
3153 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
3159 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
3164 if (! PySequence_Check(obj6
)) {
3165 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
3168 arg7
= new wxArrayString
;
3170 int i
, len
=PySequence_Length(obj6
);
3171 for (i
=0; i
<len
; i
++) {
3172 PyObject
* item
= PySequence_GetItem(obj6
, i
);
3174 PyObject
* str
= PyObject_Unicode(item
);
3176 PyObject
* str
= PyObject_Str(item
);
3178 if (PyErr_Occurred()) SWIG_fail
;
3179 arg7
->Add(Py2wxString(str
));
3186 arg8
= (long) SWIG_AsLong(obj7
);
3187 if (PyErr_Occurred()) SWIG_fail
;
3190 if ((SWIG_ConvertPtr(obj8
,(void **)(&arg9
),SWIGTYPE_p_wxValidator
,
3191 SWIG_POINTER_EXCEPTION
| 0)) == -1)
3194 PyErr_SetString(PyExc_TypeError
,"null reference");
3200 arg10
= wxString_in_helper(obj9
);
3201 if (arg10
== NULL
) SWIG_fail
;
3206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3207 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,(wxArrayString
const &)*arg7
,arg8
,(wxValidator
const &)*arg9
,(wxString
const &)*arg10
);
3209 wxPyEndAllowThreads(__tstate
);
3210 if (PyErr_Occurred()) SWIG_fail
;
3213 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3220 if (temp7
) delete arg7
;
3233 if (temp7
) delete arg7
;
3243 static PyObject
*_wrap_ComboBox_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3244 PyObject
*resultobj
;
3245 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3247 PyObject
* obj0
= 0 ;
3249 (char *) "self", NULL
3252 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_GetValue",kwnames
,&obj0
)) goto fail
;
3253 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3254 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3257 result
= ((wxComboBox
const *)arg1
)->GetValue();
3259 wxPyEndAllowThreads(__tstate
);
3260 if (PyErr_Occurred()) SWIG_fail
;
3264 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3266 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3275 static PyObject
*_wrap_ComboBox_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3276 PyObject
*resultobj
;
3277 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3278 wxString
*arg2
= 0 ;
3279 bool temp2
= False
;
3280 PyObject
* obj0
= 0 ;
3281 PyObject
* obj1
= 0 ;
3283 (char *) "self",(char *) "value", NULL
3286 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
3287 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3288 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3290 arg2
= wxString_in_helper(obj1
);
3291 if (arg2
== NULL
) SWIG_fail
;
3295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3296 (arg1
)->SetValue((wxString
const &)*arg2
);
3298 wxPyEndAllowThreads(__tstate
);
3299 if (PyErr_Occurred()) SWIG_fail
;
3301 Py_INCREF(Py_None
); resultobj
= Py_None
;
3316 static PyObject
*_wrap_ComboBox_Copy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3317 PyObject
*resultobj
;
3318 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3319 PyObject
* obj0
= 0 ;
3321 (char *) "self", NULL
3324 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_Copy",kwnames
,&obj0
)) goto fail
;
3325 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3326 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3331 wxPyEndAllowThreads(__tstate
);
3332 if (PyErr_Occurred()) SWIG_fail
;
3334 Py_INCREF(Py_None
); resultobj
= Py_None
;
3341 static PyObject
*_wrap_ComboBox_Cut(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3342 PyObject
*resultobj
;
3343 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3344 PyObject
* obj0
= 0 ;
3346 (char *) "self", NULL
3349 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_Cut",kwnames
,&obj0
)) goto fail
;
3350 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3351 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3356 wxPyEndAllowThreads(__tstate
);
3357 if (PyErr_Occurred()) SWIG_fail
;
3359 Py_INCREF(Py_None
); resultobj
= Py_None
;
3366 static PyObject
*_wrap_ComboBox_Paste(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3367 PyObject
*resultobj
;
3368 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3369 PyObject
* obj0
= 0 ;
3371 (char *) "self", NULL
3374 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_Paste",kwnames
,&obj0
)) goto fail
;
3375 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3376 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3381 wxPyEndAllowThreads(__tstate
);
3382 if (PyErr_Occurred()) SWIG_fail
;
3384 Py_INCREF(Py_None
); resultobj
= Py_None
;
3391 static PyObject
*_wrap_ComboBox_SetInsertionPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3392 PyObject
*resultobj
;
3393 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3395 PyObject
* obj0
= 0 ;
3396 PyObject
* obj1
= 0 ;
3398 (char *) "self",(char *) "pos", NULL
3401 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetInsertionPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
3402 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3403 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3404 arg2
= (long) SWIG_AsLong(obj1
);
3405 if (PyErr_Occurred()) SWIG_fail
;
3407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3408 (arg1
)->SetInsertionPoint(arg2
);
3410 wxPyEndAllowThreads(__tstate
);
3411 if (PyErr_Occurred()) SWIG_fail
;
3413 Py_INCREF(Py_None
); resultobj
= Py_None
;
3420 static PyObject
*_wrap_ComboBox_GetInsertionPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3421 PyObject
*resultobj
;
3422 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3424 PyObject
* obj0
= 0 ;
3426 (char *) "self", NULL
3429 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_GetInsertionPoint",kwnames
,&obj0
)) goto fail
;
3430 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3431 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3434 result
= (long)((wxComboBox
const *)arg1
)->GetInsertionPoint();
3436 wxPyEndAllowThreads(__tstate
);
3437 if (PyErr_Occurred()) SWIG_fail
;
3439 resultobj
= SWIG_FromLong((long)result
);
3446 static PyObject
*_wrap_ComboBox_GetLastPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3447 PyObject
*resultobj
;
3448 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3450 PyObject
* obj0
= 0 ;
3452 (char *) "self", NULL
3455 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_GetLastPosition",kwnames
,&obj0
)) goto fail
;
3456 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3457 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3460 result
= (long)((wxComboBox
const *)arg1
)->GetLastPosition();
3462 wxPyEndAllowThreads(__tstate
);
3463 if (PyErr_Occurred()) SWIG_fail
;
3465 resultobj
= SWIG_FromLong((long)result
);
3472 static PyObject
*_wrap_ComboBox_Replace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3473 PyObject
*resultobj
;
3474 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3477 wxString
*arg4
= 0 ;
3478 bool temp4
= False
;
3479 PyObject
* obj0
= 0 ;
3480 PyObject
* obj1
= 0 ;
3481 PyObject
* obj2
= 0 ;
3482 PyObject
* obj3
= 0 ;
3484 (char *) "self",(char *) "from",(char *) "to",(char *) "value", NULL
3487 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ComboBox_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
3488 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3489 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3490 arg2
= (long) SWIG_AsLong(obj1
);
3491 if (PyErr_Occurred()) SWIG_fail
;
3492 arg3
= (long) SWIG_AsLong(obj2
);
3493 if (PyErr_Occurred()) SWIG_fail
;
3495 arg4
= wxString_in_helper(obj3
);
3496 if (arg4
== NULL
) SWIG_fail
;
3500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3501 (arg1
)->Replace(arg2
,arg3
,(wxString
const &)*arg4
);
3503 wxPyEndAllowThreads(__tstate
);
3504 if (PyErr_Occurred()) SWIG_fail
;
3506 Py_INCREF(Py_None
); resultobj
= Py_None
;
3521 static PyObject
*_wrap_ComboBox_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3522 PyObject
*resultobj
;
3523 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3525 PyObject
* obj0
= 0 ;
3526 PyObject
* obj1
= 0 ;
3528 (char *) "self",(char *) "n", NULL
3531 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
3532 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3533 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3534 arg2
= (int) SWIG_AsInt(obj1
);
3535 if (PyErr_Occurred()) SWIG_fail
;
3537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3538 (arg1
)->SetSelection(arg2
);
3540 wxPyEndAllowThreads(__tstate
);
3541 if (PyErr_Occurred()) SWIG_fail
;
3543 Py_INCREF(Py_None
); resultobj
= Py_None
;
3550 static PyObject
*_wrap_ComboBox_SetMark(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3551 PyObject
*resultobj
;
3552 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3555 PyObject
* obj0
= 0 ;
3556 PyObject
* obj1
= 0 ;
3557 PyObject
* obj2
= 0 ;
3559 (char *) "self",(char *) "from",(char *) "to", NULL
3562 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ComboBox_SetMark",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3563 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3564 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3565 arg2
= (long) SWIG_AsLong(obj1
);
3566 if (PyErr_Occurred()) SWIG_fail
;
3567 arg3
= (long) SWIG_AsLong(obj2
);
3568 if (PyErr_Occurred()) SWIG_fail
;
3570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3571 (arg1
)->SetSelection(arg2
,arg3
);
3573 wxPyEndAllowThreads(__tstate
);
3574 if (PyErr_Occurred()) SWIG_fail
;
3576 Py_INCREF(Py_None
); resultobj
= Py_None
;
3583 static PyObject
*_wrap_ComboBox_SetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3584 PyObject
*resultobj
;
3585 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3586 wxString
*arg2
= 0 ;
3588 bool temp2
= False
;
3589 PyObject
* obj0
= 0 ;
3590 PyObject
* obj1
= 0 ;
3592 (char *) "self",(char *) "string", NULL
3595 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetStringSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
3596 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3597 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3599 arg2
= wxString_in_helper(obj1
);
3600 if (arg2
== NULL
) SWIG_fail
;
3604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3605 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
);
3607 wxPyEndAllowThreads(__tstate
);
3608 if (PyErr_Occurred()) SWIG_fail
;
3611 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3627 static PyObject
*_wrap_ComboBox_SetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3628 PyObject
*resultobj
;
3629 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3631 wxString
*arg3
= 0 ;
3632 bool temp3
= False
;
3633 PyObject
* obj0
= 0 ;
3634 PyObject
* obj1
= 0 ;
3635 PyObject
* obj2
= 0 ;
3637 (char *) "self",(char *) "n",(char *) "string", NULL
3640 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ComboBox_SetString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3641 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3642 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3643 arg2
= (int) SWIG_AsInt(obj1
);
3644 if (PyErr_Occurred()) SWIG_fail
;
3646 arg3
= wxString_in_helper(obj2
);
3647 if (arg3
== NULL
) SWIG_fail
;
3651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3652 (arg1
)->SetString(arg2
,(wxString
const &)*arg3
);
3654 wxPyEndAllowThreads(__tstate
);
3655 if (PyErr_Occurred()) SWIG_fail
;
3657 Py_INCREF(Py_None
); resultobj
= Py_None
;
3672 static PyObject
*_wrap_ComboBox_SetEditable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3673 PyObject
*resultobj
;
3674 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3676 PyObject
* obj0
= 0 ;
3677 PyObject
* obj1
= 0 ;
3679 (char *) "self",(char *) "editable", NULL
3682 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetEditable",kwnames
,&obj0
,&obj1
)) goto fail
;
3683 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3684 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3685 arg2
= (bool) SWIG_AsBool(obj1
);
3686 if (PyErr_Occurred()) SWIG_fail
;
3688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3689 (arg1
)->SetEditable(arg2
);
3691 wxPyEndAllowThreads(__tstate
);
3692 if (PyErr_Occurred()) SWIG_fail
;
3694 Py_INCREF(Py_None
); resultobj
= Py_None
;
3701 static PyObject
*_wrap_ComboBox_SetInsertionPointEnd(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3702 PyObject
*resultobj
;
3703 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3704 PyObject
* obj0
= 0 ;
3706 (char *) "self", NULL
3709 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_SetInsertionPointEnd",kwnames
,&obj0
)) goto fail
;
3710 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3711 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3714 (arg1
)->SetInsertionPointEnd();
3716 wxPyEndAllowThreads(__tstate
);
3717 if (PyErr_Occurred()) SWIG_fail
;
3719 Py_INCREF(Py_None
); resultobj
= Py_None
;
3726 static PyObject
*_wrap_ComboBox_Remove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3727 PyObject
*resultobj
;
3728 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3731 PyObject
* obj0
= 0 ;
3732 PyObject
* obj1
= 0 ;
3733 PyObject
* obj2
= 0 ;
3735 (char *) "self",(char *) "from",(char *) "to", NULL
3738 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ComboBox_Remove",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3739 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3740 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3741 arg2
= (long) SWIG_AsLong(obj1
);
3742 if (PyErr_Occurred()) SWIG_fail
;
3743 arg3
= (long) SWIG_AsLong(obj2
);
3744 if (PyErr_Occurred()) SWIG_fail
;
3746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3747 (arg1
)->Remove(arg2
,arg3
);
3749 wxPyEndAllowThreads(__tstate
);
3750 if (PyErr_Occurred()) SWIG_fail
;
3752 Py_INCREF(Py_None
); resultobj
= Py_None
;
3759 static PyObject
*_wrap_ComboBox_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3760 PyObject
*resultobj
;
3761 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
3762 wxVisualAttributes result
;
3763 PyObject
* obj0
= 0 ;
3765 (char *) "variant", NULL
3768 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ComboBox_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
3770 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
3771 if (PyErr_Occurred()) SWIG_fail
;
3774 if (!wxPyCheckForApp()) SWIG_fail
;
3775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3776 result
= wxComboBox::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
3778 wxPyEndAllowThreads(__tstate
);
3779 if (PyErr_Occurred()) SWIG_fail
;
3782 wxVisualAttributes
* resultptr
;
3783 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
3784 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
3792 static PyObject
* ComboBox_swigregister(PyObject
*self
, PyObject
*args
) {
3794 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3795 SWIG_TypeClientData(SWIGTYPE_p_wxComboBox
, obj
);
3797 return Py_BuildValue((char *)"");
3799 static int _wrap_GaugeNameStr_set(PyObject
*_val
) {
3800 PyErr_SetString(PyExc_TypeError
,"Variable GaugeNameStr is read-only.");
3805 static PyObject
*_wrap_GaugeNameStr_get() {
3810 pyobj
= PyUnicode_FromWideChar((&wxPyGaugeNameStr
)->c_str(), (&wxPyGaugeNameStr
)->Len());
3812 pyobj
= PyString_FromStringAndSize((&wxPyGaugeNameStr
)->c_str(), (&wxPyGaugeNameStr
)->Len());
3819 static PyObject
*_wrap_new_Gauge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3820 PyObject
*resultobj
;
3821 wxWindow
*arg1
= (wxWindow
*) 0 ;
3822 int arg2
= (int) -1 ;
3823 int arg3
= (int) 100 ;
3824 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
3825 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
3826 wxSize
const &arg5_defvalue
= wxDefaultSize
;
3827 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
3828 long arg6
= (long) wxGA_HORIZONTAL
;
3829 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
3830 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
3831 wxString
const &arg8_defvalue
= wxPyGaugeNameStr
;
3832 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
3836 bool temp8
= False
;
3837 PyObject
* obj0
= 0 ;
3838 PyObject
* obj1
= 0 ;
3839 PyObject
* obj2
= 0 ;
3840 PyObject
* obj3
= 0 ;
3841 PyObject
* obj4
= 0 ;
3842 PyObject
* obj5
= 0 ;
3843 PyObject
* obj6
= 0 ;
3844 PyObject
* obj7
= 0 ;
3846 (char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3849 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_Gauge",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
3850 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
3851 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3853 arg2
= (int) SWIG_AsInt(obj1
);
3854 if (PyErr_Occurred()) SWIG_fail
;
3857 arg3
= (int) SWIG_AsInt(obj2
);
3858 if (PyErr_Occurred()) SWIG_fail
;
3863 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
3869 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
3873 arg6
= (long) SWIG_AsLong(obj5
);
3874 if (PyErr_Occurred()) SWIG_fail
;
3877 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
3878 SWIG_POINTER_EXCEPTION
| 0)) == -1)
3881 PyErr_SetString(PyExc_TypeError
,"null reference");
3887 arg8
= wxString_in_helper(obj7
);
3888 if (arg8
== NULL
) SWIG_fail
;
3893 if (!wxPyCheckForApp()) SWIG_fail
;
3894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3895 result
= (wxGauge
*)new wxGauge(arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
3897 wxPyEndAllowThreads(__tstate
);
3898 if (PyErr_Occurred()) SWIG_fail
;
3900 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGauge
, 1);
3915 static PyObject
*_wrap_new_PreGauge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3916 PyObject
*resultobj
;
3922 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreGauge",kwnames
)) goto fail
;
3924 if (!wxPyCheckForApp()) SWIG_fail
;
3925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3926 result
= (wxGauge
*)new wxGauge();
3928 wxPyEndAllowThreads(__tstate
);
3929 if (PyErr_Occurred()) SWIG_fail
;
3931 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGauge
, 1);
3938 static PyObject
*_wrap_Gauge_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3939 PyObject
*resultobj
;
3940 wxGauge
*arg1
= (wxGauge
*) 0 ;
3941 wxWindow
*arg2
= (wxWindow
*) 0 ;
3942 int arg3
= (int) -1 ;
3943 int arg4
= (int) 100 ;
3944 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
3945 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
3946 wxSize
const &arg6_defvalue
= wxDefaultSize
;
3947 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
3948 long arg7
= (long) wxGA_HORIZONTAL
;
3949 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
3950 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
3951 wxString
const &arg9_defvalue
= wxPyGaugeNameStr
;
3952 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
3956 bool temp9
= False
;
3957 PyObject
* obj0
= 0 ;
3958 PyObject
* obj1
= 0 ;
3959 PyObject
* obj2
= 0 ;
3960 PyObject
* obj3
= 0 ;
3961 PyObject
* obj4
= 0 ;
3962 PyObject
* obj5
= 0 ;
3963 PyObject
* obj6
= 0 ;
3964 PyObject
* obj7
= 0 ;
3965 PyObject
* obj8
= 0 ;
3967 (char *) "self",(char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3970 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:Gauge_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
3971 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGauge
,
3972 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3973 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
3974 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3976 arg3
= (int) SWIG_AsInt(obj2
);
3977 if (PyErr_Occurred()) SWIG_fail
;
3980 arg4
= (int) SWIG_AsInt(obj3
);
3981 if (PyErr_Occurred()) SWIG_fail
;
3986 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
3992 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
3996 arg7
= (long) SWIG_AsLong(obj6
);
3997 if (PyErr_Occurred()) SWIG_fail
;
4000 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
4001 SWIG_POINTER_EXCEPTION
| 0)) == -1)
4004 PyErr_SetString(PyExc_TypeError
,"null reference");
4010 arg9
= wxString_in_helper(obj8
);
4011 if (arg9
== NULL
) SWIG_fail
;
4016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4017 result
= (bool)(arg1
)->Create(arg2
,arg3
,arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
4019 wxPyEndAllowThreads(__tstate
);
4020 if (PyErr_Occurred()) SWIG_fail
;
4023 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4039 static PyObject
*_wrap_Gauge_SetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4040 PyObject
*resultobj
;
4041 wxGauge
*arg1
= (wxGauge
*) 0 ;
4043 PyObject
* obj0
= 0 ;
4044 PyObject
* obj1
= 0 ;
4046 (char *) "self",(char *) "range", NULL
4049 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetRange",kwnames
,&obj0
,&obj1
)) goto fail
;
4050 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGauge
,
4051 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4052 arg2
= (int) SWIG_AsInt(obj1
);
4053 if (PyErr_Occurred()) SWIG_fail
;
4055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4056 (arg1
)->SetRange(arg2
);
4058 wxPyEndAllowThreads(__tstate
);
4059 if (PyErr_Occurred()) SWIG_fail
;
4061 Py_INCREF(Py_None
); resultobj
= Py_None
;
4068 static PyObject
*_wrap_Gauge_GetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4069 PyObject
*resultobj
;
4070 wxGauge
*arg1
= (wxGauge
*) 0 ;
4072 PyObject
* obj0
= 0 ;
4074 (char *) "self", NULL
4077 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_GetRange",kwnames
,&obj0
)) goto fail
;
4078 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGauge
,
4079 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4082 result
= (int)((wxGauge
const *)arg1
)->GetRange();
4084 wxPyEndAllowThreads(__tstate
);
4085 if (PyErr_Occurred()) SWIG_fail
;
4087 resultobj
= SWIG_FromInt((int)result
);
4094 static PyObject
*_wrap_Gauge_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4095 PyObject
*resultobj
;
4096 wxGauge
*arg1
= (wxGauge
*) 0 ;
4098 PyObject
* obj0
= 0 ;
4099 PyObject
* obj1
= 0 ;
4101 (char *) "self",(char *) "pos", NULL
4104 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
4105 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGauge
,
4106 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4107 arg2
= (int) SWIG_AsInt(obj1
);
4108 if (PyErr_Occurred()) SWIG_fail
;
4110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4111 (arg1
)->SetValue(arg2
);
4113 wxPyEndAllowThreads(__tstate
);
4114 if (PyErr_Occurred()) SWIG_fail
;
4116 Py_INCREF(Py_None
); resultobj
= Py_None
;
4123 static PyObject
*_wrap_Gauge_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4124 PyObject
*resultobj
;
4125 wxGauge
*arg1
= (wxGauge
*) 0 ;
4127 PyObject
* obj0
= 0 ;
4129 (char *) "self", NULL
4132 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_GetValue",kwnames
,&obj0
)) goto fail
;
4133 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGauge
,
4134 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4137 result
= (int)((wxGauge
const *)arg1
)->GetValue();
4139 wxPyEndAllowThreads(__tstate
);
4140 if (PyErr_Occurred()) SWIG_fail
;
4142 resultobj
= SWIG_FromInt((int)result
);
4149 static PyObject
*_wrap_Gauge_IsVertical(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4150 PyObject
*resultobj
;
4151 wxGauge
*arg1
= (wxGauge
*) 0 ;
4153 PyObject
* obj0
= 0 ;
4155 (char *) "self", NULL
4158 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_IsVertical",kwnames
,&obj0
)) goto fail
;
4159 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGauge
,
4160 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4163 result
= (bool)((wxGauge
const *)arg1
)->IsVertical();
4165 wxPyEndAllowThreads(__tstate
);
4166 if (PyErr_Occurred()) SWIG_fail
;
4169 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4177 static PyObject
*_wrap_Gauge_SetShadowWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4178 PyObject
*resultobj
;
4179 wxGauge
*arg1
= (wxGauge
*) 0 ;
4181 PyObject
* obj0
= 0 ;
4182 PyObject
* obj1
= 0 ;
4184 (char *) "self",(char *) "w", NULL
4187 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetShadowWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
4188 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGauge
,
4189 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4190 arg2
= (int) SWIG_AsInt(obj1
);
4191 if (PyErr_Occurred()) SWIG_fail
;
4193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4194 (arg1
)->SetShadowWidth(arg2
);
4196 wxPyEndAllowThreads(__tstate
);
4197 if (PyErr_Occurred()) SWIG_fail
;
4199 Py_INCREF(Py_None
); resultobj
= Py_None
;
4206 static PyObject
*_wrap_Gauge_GetShadowWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4207 PyObject
*resultobj
;
4208 wxGauge
*arg1
= (wxGauge
*) 0 ;
4210 PyObject
* obj0
= 0 ;
4212 (char *) "self", NULL
4215 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_GetShadowWidth",kwnames
,&obj0
)) goto fail
;
4216 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGauge
,
4217 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4220 result
= (int)((wxGauge
const *)arg1
)->GetShadowWidth();
4222 wxPyEndAllowThreads(__tstate
);
4223 if (PyErr_Occurred()) SWIG_fail
;
4225 resultobj
= SWIG_FromInt((int)result
);
4232 static PyObject
*_wrap_Gauge_SetBezelFace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4233 PyObject
*resultobj
;
4234 wxGauge
*arg1
= (wxGauge
*) 0 ;
4236 PyObject
* obj0
= 0 ;
4237 PyObject
* obj1
= 0 ;
4239 (char *) "self",(char *) "w", NULL
4242 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetBezelFace",kwnames
,&obj0
,&obj1
)) goto fail
;
4243 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGauge
,
4244 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4245 arg2
= (int) SWIG_AsInt(obj1
);
4246 if (PyErr_Occurred()) SWIG_fail
;
4248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4249 (arg1
)->SetBezelFace(arg2
);
4251 wxPyEndAllowThreads(__tstate
);
4252 if (PyErr_Occurred()) SWIG_fail
;
4254 Py_INCREF(Py_None
); resultobj
= Py_None
;
4261 static PyObject
*_wrap_Gauge_GetBezelFace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4262 PyObject
*resultobj
;
4263 wxGauge
*arg1
= (wxGauge
*) 0 ;
4265 PyObject
* obj0
= 0 ;
4267 (char *) "self", NULL
4270 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_GetBezelFace",kwnames
,&obj0
)) goto fail
;
4271 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGauge
,
4272 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4275 result
= (int)((wxGauge
const *)arg1
)->GetBezelFace();
4277 wxPyEndAllowThreads(__tstate
);
4278 if (PyErr_Occurred()) SWIG_fail
;
4280 resultobj
= SWIG_FromInt((int)result
);
4287 static PyObject
*_wrap_Gauge_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4288 PyObject
*resultobj
;
4289 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
4290 wxVisualAttributes result
;
4291 PyObject
* obj0
= 0 ;
4293 (char *) "variant", NULL
4296 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Gauge_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
4298 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
4299 if (PyErr_Occurred()) SWIG_fail
;
4302 if (!wxPyCheckForApp()) SWIG_fail
;
4303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4304 result
= wxGauge::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
4306 wxPyEndAllowThreads(__tstate
);
4307 if (PyErr_Occurred()) SWIG_fail
;
4310 wxVisualAttributes
* resultptr
;
4311 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
4312 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
4320 static PyObject
* Gauge_swigregister(PyObject
*self
, PyObject
*args
) {
4322 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4323 SWIG_TypeClientData(SWIGTYPE_p_wxGauge
, obj
);
4325 return Py_BuildValue((char *)"");
4327 static int _wrap_StaticBitmapNameStr_set(PyObject
*_val
) {
4328 PyErr_SetString(PyExc_TypeError
,"Variable StaticBitmapNameStr is read-only.");
4333 static PyObject
*_wrap_StaticBitmapNameStr_get() {
4338 pyobj
= PyUnicode_FromWideChar((&wxPyStaticBitmapNameStr
)->c_str(), (&wxPyStaticBitmapNameStr
)->Len());
4340 pyobj
= PyString_FromStringAndSize((&wxPyStaticBitmapNameStr
)->c_str(), (&wxPyStaticBitmapNameStr
)->Len());
4347 static int _wrap_StaticBoxNameStr_set(PyObject
*_val
) {
4348 PyErr_SetString(PyExc_TypeError
,"Variable StaticBoxNameStr is read-only.");
4353 static PyObject
*_wrap_StaticBoxNameStr_get() {
4358 pyobj
= PyUnicode_FromWideChar((&wxPyStaticBoxNameStr
)->c_str(), (&wxPyStaticBoxNameStr
)->Len());
4360 pyobj
= PyString_FromStringAndSize((&wxPyStaticBoxNameStr
)->c_str(), (&wxPyStaticBoxNameStr
)->Len());
4367 static int _wrap_StaticTextNameStr_set(PyObject
*_val
) {
4368 PyErr_SetString(PyExc_TypeError
,"Variable StaticTextNameStr is read-only.");
4373 static PyObject
*_wrap_StaticTextNameStr_get() {
4378 pyobj
= PyUnicode_FromWideChar((&wxPyStaticTextNameStr
)->c_str(), (&wxPyStaticTextNameStr
)->Len());
4380 pyobj
= PyString_FromStringAndSize((&wxPyStaticTextNameStr
)->c_str(), (&wxPyStaticTextNameStr
)->Len());
4387 static PyObject
*_wrap_new_StaticBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4388 PyObject
*resultobj
;
4389 wxWindow
*arg1
= (wxWindow
*) 0 ;
4390 int arg2
= (int) -1 ;
4391 wxString
const &arg3_defvalue
= wxPyEmptyString
;
4392 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
4393 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4394 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4395 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4396 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4397 long arg6
= (long) 0 ;
4398 wxString
const &arg7_defvalue
= wxPyStaticBoxNameStr
;
4399 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
4400 wxStaticBox
*result
;
4401 bool temp3
= False
;
4404 bool temp7
= False
;
4405 PyObject
* obj0
= 0 ;
4406 PyObject
* obj1
= 0 ;
4407 PyObject
* obj2
= 0 ;
4408 PyObject
* obj3
= 0 ;
4409 PyObject
* obj4
= 0 ;
4410 PyObject
* obj5
= 0 ;
4411 PyObject
* obj6
= 0 ;
4413 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4416 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_StaticBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
4417 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
4418 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4420 arg2
= (int) SWIG_AsInt(obj1
);
4421 if (PyErr_Occurred()) SWIG_fail
;
4425 arg3
= wxString_in_helper(obj2
);
4426 if (arg3
== NULL
) SWIG_fail
;
4433 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4439 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4443 arg6
= (long) SWIG_AsLong(obj5
);
4444 if (PyErr_Occurred()) SWIG_fail
;
4448 arg7
= wxString_in_helper(obj6
);
4449 if (arg7
== NULL
) SWIG_fail
;
4454 if (!wxPyCheckForApp()) SWIG_fail
;
4455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4456 result
= (wxStaticBox
*)new wxStaticBox(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
4458 wxPyEndAllowThreads(__tstate
);
4459 if (PyErr_Occurred()) SWIG_fail
;
4461 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticBox
, 1);
4484 static PyObject
*_wrap_new_PreStaticBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4485 PyObject
*resultobj
;
4486 wxStaticBox
*result
;
4491 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreStaticBox",kwnames
)) goto fail
;
4493 if (!wxPyCheckForApp()) SWIG_fail
;
4494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4495 result
= (wxStaticBox
*)new wxStaticBox();
4497 wxPyEndAllowThreads(__tstate
);
4498 if (PyErr_Occurred()) SWIG_fail
;
4500 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticBox
, 1);
4507 static PyObject
*_wrap_StaticBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4508 PyObject
*resultobj
;
4509 wxStaticBox
*arg1
= (wxStaticBox
*) 0 ;
4510 wxWindow
*arg2
= (wxWindow
*) 0 ;
4511 int arg3
= (int) -1 ;
4512 wxString
const &arg4_defvalue
= wxPyEmptyString
;
4513 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
4514 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
4515 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
4516 wxSize
const &arg6_defvalue
= wxDefaultSize
;
4517 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
4518 long arg7
= (long) 0 ;
4519 wxString
const &arg8_defvalue
= wxPyStaticBoxNameStr
;
4520 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
4522 bool temp4
= False
;
4525 bool temp8
= False
;
4526 PyObject
* obj0
= 0 ;
4527 PyObject
* obj1
= 0 ;
4528 PyObject
* obj2
= 0 ;
4529 PyObject
* obj3
= 0 ;
4530 PyObject
* obj4
= 0 ;
4531 PyObject
* obj5
= 0 ;
4532 PyObject
* obj6
= 0 ;
4533 PyObject
* obj7
= 0 ;
4535 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4538 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:StaticBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
4539 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticBox
,
4540 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4541 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
4542 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4544 arg3
= (int) SWIG_AsInt(obj2
);
4545 if (PyErr_Occurred()) SWIG_fail
;
4549 arg4
= wxString_in_helper(obj3
);
4550 if (arg4
== NULL
) SWIG_fail
;
4557 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
4563 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
4567 arg7
= (long) SWIG_AsLong(obj6
);
4568 if (PyErr_Occurred()) SWIG_fail
;
4572 arg8
= wxString_in_helper(obj7
);
4573 if (arg8
== NULL
) SWIG_fail
;
4578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4579 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
4581 wxPyEndAllowThreads(__tstate
);
4582 if (PyErr_Occurred()) SWIG_fail
;
4585 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4609 static PyObject
*_wrap_StaticBox_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4610 PyObject
*resultobj
;
4611 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
4612 wxVisualAttributes result
;
4613 PyObject
* obj0
= 0 ;
4615 (char *) "variant", NULL
4618 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StaticBox_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
4620 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
4621 if (PyErr_Occurred()) SWIG_fail
;
4624 if (!wxPyCheckForApp()) SWIG_fail
;
4625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4626 result
= wxStaticBox::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
4628 wxPyEndAllowThreads(__tstate
);
4629 if (PyErr_Occurred()) SWIG_fail
;
4632 wxVisualAttributes
* resultptr
;
4633 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
4634 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
4642 static PyObject
* StaticBox_swigregister(PyObject
*self
, PyObject
*args
) {
4644 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4645 SWIG_TypeClientData(SWIGTYPE_p_wxStaticBox
, obj
);
4647 return Py_BuildValue((char *)"");
4649 static PyObject
*_wrap_new_StaticLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4650 PyObject
*resultobj
;
4651 wxWindow
*arg1
= (wxWindow
*) 0 ;
4652 int arg2
= (int) -1 ;
4653 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
4654 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
4655 wxSize
const &arg4_defvalue
= wxDefaultSize
;
4656 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
4657 long arg5
= (long) wxLI_HORIZONTAL
;
4658 wxString
const &arg6_defvalue
= wxPyStaticTextNameStr
;
4659 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
4660 wxStaticLine
*result
;
4663 bool temp6
= False
;
4664 PyObject
* obj0
= 0 ;
4665 PyObject
* obj1
= 0 ;
4666 PyObject
* obj2
= 0 ;
4667 PyObject
* obj3
= 0 ;
4668 PyObject
* obj4
= 0 ;
4669 PyObject
* obj5
= 0 ;
4671 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4674 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_StaticLine",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
4675 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
4676 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4678 arg2
= (int) SWIG_AsInt(obj1
);
4679 if (PyErr_Occurred()) SWIG_fail
;
4684 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
4690 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
4694 arg5
= (long) SWIG_AsLong(obj4
);
4695 if (PyErr_Occurred()) SWIG_fail
;
4699 arg6
= wxString_in_helper(obj5
);
4700 if (arg6
== NULL
) SWIG_fail
;
4705 if (!wxPyCheckForApp()) SWIG_fail
;
4706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4707 result
= (wxStaticLine
*)new wxStaticLine(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
4709 wxPyEndAllowThreads(__tstate
);
4710 if (PyErr_Occurred()) SWIG_fail
;
4712 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticLine
, 1);
4727 static PyObject
*_wrap_new_PreStaticLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4728 PyObject
*resultobj
;
4729 wxStaticLine
*result
;
4734 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreStaticLine",kwnames
)) goto fail
;
4736 if (!wxPyCheckForApp()) SWIG_fail
;
4737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4738 result
= (wxStaticLine
*)new wxStaticLine();
4740 wxPyEndAllowThreads(__tstate
);
4741 if (PyErr_Occurred()) SWIG_fail
;
4743 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticLine
, 1);
4750 static PyObject
*_wrap_StaticLine_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4751 PyObject
*resultobj
;
4752 wxStaticLine
*arg1
= (wxStaticLine
*) 0 ;
4753 wxWindow
*arg2
= (wxWindow
*) 0 ;
4754 int arg3
= (int) -1 ;
4755 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4756 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4757 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4758 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4759 long arg6
= (long) wxLI_HORIZONTAL
;
4760 wxString
const &arg7_defvalue
= wxPyStaticTextNameStr
;
4761 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
4765 bool temp7
= False
;
4766 PyObject
* obj0
= 0 ;
4767 PyObject
* obj1
= 0 ;
4768 PyObject
* obj2
= 0 ;
4769 PyObject
* obj3
= 0 ;
4770 PyObject
* obj4
= 0 ;
4771 PyObject
* obj5
= 0 ;
4772 PyObject
* obj6
= 0 ;
4774 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4777 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:StaticLine_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
4778 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticLine
,
4779 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4780 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
4781 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4783 arg3
= (int) SWIG_AsInt(obj2
);
4784 if (PyErr_Occurred()) SWIG_fail
;
4789 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4795 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4799 arg6
= (long) SWIG_AsLong(obj5
);
4800 if (PyErr_Occurred()) SWIG_fail
;
4804 arg7
= wxString_in_helper(obj6
);
4805 if (arg7
== NULL
) SWIG_fail
;
4810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4811 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
4813 wxPyEndAllowThreads(__tstate
);
4814 if (PyErr_Occurred()) SWIG_fail
;
4817 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4833 static PyObject
*_wrap_StaticLine_IsVertical(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4834 PyObject
*resultobj
;
4835 wxStaticLine
*arg1
= (wxStaticLine
*) 0 ;
4837 PyObject
* obj0
= 0 ;
4839 (char *) "self", NULL
4842 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StaticLine_IsVertical",kwnames
,&obj0
)) goto fail
;
4843 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticLine
,
4844 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4847 result
= (bool)((wxStaticLine
const *)arg1
)->IsVertical();
4849 wxPyEndAllowThreads(__tstate
);
4850 if (PyErr_Occurred()) SWIG_fail
;
4853 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4861 static PyObject
*_wrap_StaticLine_GetDefaultSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4862 PyObject
*resultobj
;
4868 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":StaticLine_GetDefaultSize",kwnames
)) goto fail
;
4870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4871 result
= (int)wxStaticLine::GetDefaultSize();
4873 wxPyEndAllowThreads(__tstate
);
4874 if (PyErr_Occurred()) SWIG_fail
;
4876 resultobj
= SWIG_FromInt((int)result
);
4883 static PyObject
*_wrap_StaticLine_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4884 PyObject
*resultobj
;
4885 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
4886 wxVisualAttributes result
;
4887 PyObject
* obj0
= 0 ;
4889 (char *) "variant", NULL
4892 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StaticLine_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
4894 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
4895 if (PyErr_Occurred()) SWIG_fail
;
4898 if (!wxPyCheckForApp()) SWIG_fail
;
4899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4900 result
= wxStaticLine::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
4902 wxPyEndAllowThreads(__tstate
);
4903 if (PyErr_Occurred()) SWIG_fail
;
4906 wxVisualAttributes
* resultptr
;
4907 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
4908 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
4916 static PyObject
* StaticLine_swigregister(PyObject
*self
, PyObject
*args
) {
4918 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4919 SWIG_TypeClientData(SWIGTYPE_p_wxStaticLine
, obj
);
4921 return Py_BuildValue((char *)"");
4923 static PyObject
*_wrap_new_StaticText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4924 PyObject
*resultobj
;
4925 wxWindow
*arg1
= (wxWindow
*) 0 ;
4926 int arg2
= (int) -1 ;
4927 wxString
const &arg3_defvalue
= wxPyEmptyString
;
4928 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
4929 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4930 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4931 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4932 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4933 long arg6
= (long) 0 ;
4934 wxString
const &arg7_defvalue
= wxPyStaticTextNameStr
;
4935 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
4936 wxStaticText
*result
;
4937 bool temp3
= False
;
4940 bool temp7
= False
;
4941 PyObject
* obj0
= 0 ;
4942 PyObject
* obj1
= 0 ;
4943 PyObject
* obj2
= 0 ;
4944 PyObject
* obj3
= 0 ;
4945 PyObject
* obj4
= 0 ;
4946 PyObject
* obj5
= 0 ;
4947 PyObject
* obj6
= 0 ;
4949 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4952 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_StaticText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
4953 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
4954 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4956 arg2
= (int) SWIG_AsInt(obj1
);
4957 if (PyErr_Occurred()) SWIG_fail
;
4961 arg3
= wxString_in_helper(obj2
);
4962 if (arg3
== NULL
) SWIG_fail
;
4969 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4975 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4979 arg6
= (long) SWIG_AsLong(obj5
);
4980 if (PyErr_Occurred()) SWIG_fail
;
4984 arg7
= wxString_in_helper(obj6
);
4985 if (arg7
== NULL
) SWIG_fail
;
4990 if (!wxPyCheckForApp()) SWIG_fail
;
4991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4992 result
= (wxStaticText
*)new wxStaticText(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
4994 wxPyEndAllowThreads(__tstate
);
4995 if (PyErr_Occurred()) SWIG_fail
;
4997 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticText
, 1);
5020 static PyObject
*_wrap_new_PreStaticText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5021 PyObject
*resultobj
;
5022 wxStaticText
*result
;
5027 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreStaticText",kwnames
)) goto fail
;
5029 if (!wxPyCheckForApp()) SWIG_fail
;
5030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5031 result
= (wxStaticText
*)new wxStaticText();
5033 wxPyEndAllowThreads(__tstate
);
5034 if (PyErr_Occurred()) SWIG_fail
;
5036 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticText
, 1);
5043 static PyObject
*_wrap_StaticText_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5044 PyObject
*resultobj
;
5045 wxStaticText
*arg1
= (wxStaticText
*) 0 ;
5046 wxWindow
*arg2
= (wxWindow
*) 0 ;
5047 int arg3
= (int) -1 ;
5048 wxString
const &arg4_defvalue
= wxPyEmptyString
;
5049 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
5050 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
5051 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
5052 wxSize
const &arg6_defvalue
= wxDefaultSize
;
5053 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
5054 long arg7
= (long) 0 ;
5055 wxString
const &arg8_defvalue
= wxPyStaticTextNameStr
;
5056 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
5058 bool temp4
= False
;
5061 bool temp8
= False
;
5062 PyObject
* obj0
= 0 ;
5063 PyObject
* obj1
= 0 ;
5064 PyObject
* obj2
= 0 ;
5065 PyObject
* obj3
= 0 ;
5066 PyObject
* obj4
= 0 ;
5067 PyObject
* obj5
= 0 ;
5068 PyObject
* obj6
= 0 ;
5069 PyObject
* obj7
= 0 ;
5071 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5074 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:StaticText_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
5075 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticText
,
5076 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5077 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
5078 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5080 arg3
= (int) SWIG_AsInt(obj2
);
5081 if (PyErr_Occurred()) SWIG_fail
;
5085 arg4
= wxString_in_helper(obj3
);
5086 if (arg4
== NULL
) SWIG_fail
;
5093 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
5099 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
5103 arg7
= (long) SWIG_AsLong(obj6
);
5104 if (PyErr_Occurred()) SWIG_fail
;
5108 arg8
= wxString_in_helper(obj7
);
5109 if (arg8
== NULL
) SWIG_fail
;
5114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5115 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
5117 wxPyEndAllowThreads(__tstate
);
5118 if (PyErr_Occurred()) SWIG_fail
;
5121 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5145 static PyObject
*_wrap_StaticText_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5146 PyObject
*resultobj
;
5147 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
5148 wxVisualAttributes result
;
5149 PyObject
* obj0
= 0 ;
5151 (char *) "variant", NULL
5154 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StaticText_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
5156 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
5157 if (PyErr_Occurred()) SWIG_fail
;
5160 if (!wxPyCheckForApp()) SWIG_fail
;
5161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5162 result
= wxStaticText::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
5164 wxPyEndAllowThreads(__tstate
);
5165 if (PyErr_Occurred()) SWIG_fail
;
5168 wxVisualAttributes
* resultptr
;
5169 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
5170 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
5178 static PyObject
* StaticText_swigregister(PyObject
*self
, PyObject
*args
) {
5180 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5181 SWIG_TypeClientData(SWIGTYPE_p_wxStaticText
, obj
);
5183 return Py_BuildValue((char *)"");
5185 static PyObject
*_wrap_new_StaticBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5186 PyObject
*resultobj
;
5187 wxWindow
*arg1
= (wxWindow
*) 0 ;
5188 int arg2
= (int) -1 ;
5189 wxBitmap
const &arg3_defvalue
= wxNullBitmap
;
5190 wxBitmap
*arg3
= (wxBitmap
*) &arg3_defvalue
;
5191 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
5192 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
5193 wxSize
const &arg5_defvalue
= wxDefaultSize
;
5194 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
5195 long arg6
= (long) 0 ;
5196 wxString
const &arg7_defvalue
= wxPyStaticBitmapNameStr
;
5197 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
5198 wxStaticBitmap
*result
;
5201 bool temp7
= False
;
5202 PyObject
* obj0
= 0 ;
5203 PyObject
* obj1
= 0 ;
5204 PyObject
* obj2
= 0 ;
5205 PyObject
* obj3
= 0 ;
5206 PyObject
* obj4
= 0 ;
5207 PyObject
* obj5
= 0 ;
5208 PyObject
* obj6
= 0 ;
5210 (char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5213 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_StaticBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
5214 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
5215 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5217 arg2
= (int) SWIG_AsInt(obj1
);
5218 if (PyErr_Occurred()) SWIG_fail
;
5221 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxBitmap
,
5222 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5225 PyErr_SetString(PyExc_TypeError
,"null reference");
5232 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
5238 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
5242 arg6
= (long) SWIG_AsLong(obj5
);
5243 if (PyErr_Occurred()) SWIG_fail
;
5247 arg7
= wxString_in_helper(obj6
);
5248 if (arg7
== NULL
) SWIG_fail
;
5253 if (!wxPyCheckForApp()) SWIG_fail
;
5254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5255 result
= (wxStaticBitmap
*)new wxStaticBitmap(arg1
,arg2
,(wxBitmap
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
5257 wxPyEndAllowThreads(__tstate
);
5258 if (PyErr_Occurred()) SWIG_fail
;
5260 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticBitmap
, 1);
5275 static PyObject
*_wrap_new_PreStaticBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5276 PyObject
*resultobj
;
5277 wxStaticBitmap
*result
;
5282 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreStaticBitmap",kwnames
)) goto fail
;
5284 if (!wxPyCheckForApp()) SWIG_fail
;
5285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5286 result
= (wxStaticBitmap
*)new wxStaticBitmap();
5288 wxPyEndAllowThreads(__tstate
);
5289 if (PyErr_Occurred()) SWIG_fail
;
5291 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticBitmap
, 1);
5298 static PyObject
*_wrap_StaticBitmap_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5299 PyObject
*resultobj
;
5300 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
5301 wxWindow
*arg2
= (wxWindow
*) 0 ;
5302 int arg3
= (int) -1 ;
5303 wxBitmap
const &arg4_defvalue
= wxNullBitmap
;
5304 wxBitmap
*arg4
= (wxBitmap
*) &arg4_defvalue
;
5305 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
5306 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
5307 wxSize
const &arg6_defvalue
= wxDefaultSize
;
5308 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
5309 long arg7
= (long) 0 ;
5310 wxString
const &arg8_defvalue
= wxPyStaticBitmapNameStr
;
5311 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
5315 bool temp8
= False
;
5316 PyObject
* obj0
= 0 ;
5317 PyObject
* obj1
= 0 ;
5318 PyObject
* obj2
= 0 ;
5319 PyObject
* obj3
= 0 ;
5320 PyObject
* obj4
= 0 ;
5321 PyObject
* obj5
= 0 ;
5322 PyObject
* obj6
= 0 ;
5323 PyObject
* obj7
= 0 ;
5325 (char *) "self",(char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5328 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:StaticBitmap_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
5329 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticBitmap
,
5330 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5331 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
5332 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5334 arg3
= (int) SWIG_AsInt(obj2
);
5335 if (PyErr_Occurred()) SWIG_fail
;
5338 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxBitmap
,
5339 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5342 PyErr_SetString(PyExc_TypeError
,"null reference");
5349 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
5355 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
5359 arg7
= (long) SWIG_AsLong(obj6
);
5360 if (PyErr_Occurred()) SWIG_fail
;
5364 arg8
= wxString_in_helper(obj7
);
5365 if (arg8
== NULL
) SWIG_fail
;
5370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5371 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxBitmap
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
5373 wxPyEndAllowThreads(__tstate
);
5374 if (PyErr_Occurred()) SWIG_fail
;
5377 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5393 static PyObject
*_wrap_StaticBitmap_GetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5394 PyObject
*resultobj
;
5395 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
5397 PyObject
* obj0
= 0 ;
5399 (char *) "self", NULL
5402 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StaticBitmap_GetBitmap",kwnames
,&obj0
)) goto fail
;
5403 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticBitmap
,
5404 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5407 result
= (arg1
)->GetBitmap();
5409 wxPyEndAllowThreads(__tstate
);
5410 if (PyErr_Occurred()) SWIG_fail
;
5413 wxBitmap
* resultptr
;
5414 resultptr
= new wxBitmap((wxBitmap
&) result
);
5415 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
5423 static PyObject
*_wrap_StaticBitmap_SetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5424 PyObject
*resultobj
;
5425 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
5426 wxBitmap
*arg2
= 0 ;
5427 PyObject
* obj0
= 0 ;
5428 PyObject
* obj1
= 0 ;
5430 (char *) "self",(char *) "bitmap", NULL
5433 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StaticBitmap_SetBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
5434 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticBitmap
,
5435 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5436 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
5437 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5440 PyErr_SetString(PyExc_TypeError
,"null reference");
5444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5445 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
5447 wxPyEndAllowThreads(__tstate
);
5448 if (PyErr_Occurred()) SWIG_fail
;
5450 Py_INCREF(Py_None
); resultobj
= Py_None
;
5457 static PyObject
*_wrap_StaticBitmap_SetIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5458 PyObject
*resultobj
;
5459 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
5461 PyObject
* obj0
= 0 ;
5462 PyObject
* obj1
= 0 ;
5464 (char *) "self",(char *) "icon", NULL
5467 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StaticBitmap_SetIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
5468 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticBitmap
,
5469 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5470 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxIcon
,
5471 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5474 PyErr_SetString(PyExc_TypeError
,"null reference");
5478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5479 (arg1
)->SetIcon((wxIcon
const &)*arg2
);
5481 wxPyEndAllowThreads(__tstate
);
5482 if (PyErr_Occurred()) SWIG_fail
;
5484 Py_INCREF(Py_None
); resultobj
= Py_None
;
5491 static PyObject
*_wrap_StaticBitmap_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5492 PyObject
*resultobj
;
5493 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
5494 wxVisualAttributes result
;
5495 PyObject
* obj0
= 0 ;
5497 (char *) "variant", NULL
5500 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StaticBitmap_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
5502 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
5503 if (PyErr_Occurred()) SWIG_fail
;
5506 if (!wxPyCheckForApp()) SWIG_fail
;
5507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5508 result
= wxStaticBitmap::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
5510 wxPyEndAllowThreads(__tstate
);
5511 if (PyErr_Occurred()) SWIG_fail
;
5514 wxVisualAttributes
* resultptr
;
5515 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
5516 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
5524 static PyObject
* StaticBitmap_swigregister(PyObject
*self
, PyObject
*args
) {
5526 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5527 SWIG_TypeClientData(SWIGTYPE_p_wxStaticBitmap
, obj
);
5529 return Py_BuildValue((char *)"");
5531 static int _wrap_ListBoxNameStr_set(PyObject
*_val
) {
5532 PyErr_SetString(PyExc_TypeError
,"Variable ListBoxNameStr is read-only.");
5537 static PyObject
*_wrap_ListBoxNameStr_get() {
5542 pyobj
= PyUnicode_FromWideChar((&wxPyListBoxNameStr
)->c_str(), (&wxPyListBoxNameStr
)->Len());
5544 pyobj
= PyString_FromStringAndSize((&wxPyListBoxNameStr
)->c_str(), (&wxPyListBoxNameStr
)->Len());
5551 static PyObject
*_wrap_new_ListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5552 PyObject
*resultobj
;
5553 wxWindow
*arg1
= (wxWindow
*) 0 ;
5554 int arg2
= (int) -1 ;
5555 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
5556 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
5557 wxSize
const &arg4_defvalue
= wxDefaultSize
;
5558 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
5559 wxArrayString
const &arg5_defvalue
= wxPyEmptyStringArray
;
5560 wxArrayString
*arg5
= (wxArrayString
*) &arg5_defvalue
;
5561 long arg6
= (long) 0 ;
5562 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
5563 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
5564 wxString
const &arg8_defvalue
= wxPyListBoxNameStr
;
5565 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
5569 bool temp5
= False
;
5570 bool temp8
= False
;
5571 PyObject
* obj0
= 0 ;
5572 PyObject
* obj1
= 0 ;
5573 PyObject
* obj2
= 0 ;
5574 PyObject
* obj3
= 0 ;
5575 PyObject
* obj4
= 0 ;
5576 PyObject
* obj5
= 0 ;
5577 PyObject
* obj6
= 0 ;
5578 PyObject
* obj7
= 0 ;
5580 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5583 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_ListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
5584 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
5585 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5587 arg2
= (int) SWIG_AsInt(obj1
);
5588 if (PyErr_Occurred()) SWIG_fail
;
5593 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
5599 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
5604 if (! PySequence_Check(obj4
)) {
5605 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
5608 arg5
= new wxArrayString
;
5610 int i
, len
=PySequence_Length(obj4
);
5611 for (i
=0; i
<len
; i
++) {
5612 PyObject
* item
= PySequence_GetItem(obj4
, i
);
5614 PyObject
* str
= PyObject_Unicode(item
);
5616 PyObject
* str
= PyObject_Str(item
);
5618 if (PyErr_Occurred()) SWIG_fail
;
5619 arg5
->Add(Py2wxString(str
));
5626 arg6
= (long) SWIG_AsLong(obj5
);
5627 if (PyErr_Occurred()) SWIG_fail
;
5630 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
5631 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5634 PyErr_SetString(PyExc_TypeError
,"null reference");
5640 arg8
= wxString_in_helper(obj7
);
5641 if (arg8
== NULL
) SWIG_fail
;
5646 if (!wxPyCheckForApp()) SWIG_fail
;
5647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5648 result
= (wxListBox
*)new wxListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,(wxArrayString
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
5650 wxPyEndAllowThreads(__tstate
);
5651 if (PyErr_Occurred()) SWIG_fail
;
5653 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListBox
, 1);
5655 if (temp5
) delete arg5
;
5664 if (temp5
) delete arg5
;
5674 static PyObject
*_wrap_new_PreListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5675 PyObject
*resultobj
;
5681 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreListBox",kwnames
)) goto fail
;
5683 if (!wxPyCheckForApp()) SWIG_fail
;
5684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5685 result
= (wxListBox
*)new wxListBox();
5687 wxPyEndAllowThreads(__tstate
);
5688 if (PyErr_Occurred()) SWIG_fail
;
5690 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListBox
, 1);
5697 static PyObject
*_wrap_ListBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5698 PyObject
*resultobj
;
5699 wxListBox
*arg1
= (wxListBox
*) 0 ;
5700 wxWindow
*arg2
= (wxWindow
*) 0 ;
5701 int arg3
= (int) -1 ;
5702 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
5703 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
5704 wxSize
const &arg5_defvalue
= wxDefaultSize
;
5705 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
5706 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
5707 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
5708 long arg7
= (long) 0 ;
5709 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
5710 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
5711 wxString
const &arg9_defvalue
= wxPyListBoxNameStr
;
5712 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
5716 bool temp6
= False
;
5717 bool temp9
= False
;
5718 PyObject
* obj0
= 0 ;
5719 PyObject
* obj1
= 0 ;
5720 PyObject
* obj2
= 0 ;
5721 PyObject
* obj3
= 0 ;
5722 PyObject
* obj4
= 0 ;
5723 PyObject
* obj5
= 0 ;
5724 PyObject
* obj6
= 0 ;
5725 PyObject
* obj7
= 0 ;
5726 PyObject
* obj8
= 0 ;
5728 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5731 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:ListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
5732 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
5733 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5734 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
5735 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5737 arg3
= (int) SWIG_AsInt(obj2
);
5738 if (PyErr_Occurred()) SWIG_fail
;
5743 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
5749 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
5754 if (! PySequence_Check(obj5
)) {
5755 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
5758 arg6
= new wxArrayString
;
5760 int i
, len
=PySequence_Length(obj5
);
5761 for (i
=0; i
<len
; i
++) {
5762 PyObject
* item
= PySequence_GetItem(obj5
, i
);
5764 PyObject
* str
= PyObject_Unicode(item
);
5766 PyObject
* str
= PyObject_Str(item
);
5768 if (PyErr_Occurred()) SWIG_fail
;
5769 arg6
->Add(Py2wxString(str
));
5776 arg7
= (long) SWIG_AsLong(obj6
);
5777 if (PyErr_Occurred()) SWIG_fail
;
5780 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
5781 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5784 PyErr_SetString(PyExc_TypeError
,"null reference");
5790 arg9
= wxString_in_helper(obj8
);
5791 if (arg9
== NULL
) SWIG_fail
;
5796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5797 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,(wxArrayString
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
5799 wxPyEndAllowThreads(__tstate
);
5800 if (PyErr_Occurred()) SWIG_fail
;
5803 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5806 if (temp6
) delete arg6
;
5815 if (temp6
) delete arg6
;
5825 static PyObject
*_wrap_ListBox_Insert(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5826 PyObject
*resultobj
;
5827 wxListBox
*arg1
= (wxListBox
*) 0 ;
5828 wxString
*arg2
= 0 ;
5830 PyObject
*arg4
= (PyObject
*) NULL
;
5831 bool temp2
= False
;
5832 PyObject
* obj0
= 0 ;
5833 PyObject
* obj1
= 0 ;
5834 PyObject
* obj2
= 0 ;
5835 PyObject
* obj3
= 0 ;
5837 (char *) "self",(char *) "item",(char *) "pos",(char *) "clientData", NULL
5840 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ListBox_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
5841 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
5842 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5844 arg2
= wxString_in_helper(obj1
);
5845 if (arg2
== NULL
) SWIG_fail
;
5848 arg3
= (int) SWIG_AsInt(obj2
);
5849 if (PyErr_Occurred()) SWIG_fail
;
5854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5855 wxListBox_Insert(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
5857 wxPyEndAllowThreads(__tstate
);
5858 if (PyErr_Occurred()) SWIG_fail
;
5860 Py_INCREF(Py_None
); resultobj
= Py_None
;
5875 static PyObject
*_wrap_ListBox_InsertItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5876 PyObject
*resultobj
;
5877 wxListBox
*arg1
= (wxListBox
*) 0 ;
5878 wxArrayString
*arg2
= 0 ;
5880 bool temp2
= False
;
5881 PyObject
* obj0
= 0 ;
5882 PyObject
* obj1
= 0 ;
5883 PyObject
* obj2
= 0 ;
5885 (char *) "self",(char *) "items",(char *) "pos", NULL
5888 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_InsertItems",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5889 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
5890 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5892 if (! PySequence_Check(obj1
)) {
5893 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
5896 arg2
= new wxArrayString
;
5898 int i
, len
=PySequence_Length(obj1
);
5899 for (i
=0; i
<len
; i
++) {
5900 PyObject
* item
= PySequence_GetItem(obj1
, i
);
5902 PyObject
* str
= PyObject_Unicode(item
);
5904 PyObject
* str
= PyObject_Str(item
);
5906 if (PyErr_Occurred()) SWIG_fail
;
5907 arg2
->Add(Py2wxString(str
));
5912 arg3
= (int) SWIG_AsInt(obj2
);
5913 if (PyErr_Occurred()) SWIG_fail
;
5915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5916 (arg1
)->InsertItems((wxArrayString
const &)*arg2
,arg3
);
5918 wxPyEndAllowThreads(__tstate
);
5919 if (PyErr_Occurred()) SWIG_fail
;
5921 Py_INCREF(Py_None
); resultobj
= Py_None
;
5923 if (temp2
) delete arg2
;
5928 if (temp2
) delete arg2
;
5934 static PyObject
*_wrap_ListBox_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5935 PyObject
*resultobj
;
5936 wxListBox
*arg1
= (wxListBox
*) 0 ;
5937 wxArrayString
*arg2
= 0 ;
5938 bool temp2
= False
;
5939 PyObject
* obj0
= 0 ;
5940 PyObject
* obj1
= 0 ;
5942 (char *) "self",(char *) "items", NULL
5945 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_Set",kwnames
,&obj0
,&obj1
)) goto fail
;
5946 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
5947 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5949 if (! PySequence_Check(obj1
)) {
5950 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
5953 arg2
= new wxArrayString
;
5955 int i
, len
=PySequence_Length(obj1
);
5956 for (i
=0; i
<len
; i
++) {
5957 PyObject
* item
= PySequence_GetItem(obj1
, i
);
5959 PyObject
* str
= PyObject_Unicode(item
);
5961 PyObject
* str
= PyObject_Str(item
);
5963 if (PyErr_Occurred()) SWIG_fail
;
5964 arg2
->Add(Py2wxString(str
));
5970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5971 (arg1
)->Set((wxArrayString
const &)*arg2
);
5973 wxPyEndAllowThreads(__tstate
);
5974 if (PyErr_Occurred()) SWIG_fail
;
5976 Py_INCREF(Py_None
); resultobj
= Py_None
;
5978 if (temp2
) delete arg2
;
5983 if (temp2
) delete arg2
;
5989 static PyObject
*_wrap_ListBox_IsSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5990 PyObject
*resultobj
;
5991 wxListBox
*arg1
= (wxListBox
*) 0 ;
5994 PyObject
* obj0
= 0 ;
5995 PyObject
* obj1
= 0 ;
5997 (char *) "self",(char *) "n", NULL
6000 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_IsSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
6001 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
6002 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6003 arg2
= (int) SWIG_AsInt(obj1
);
6004 if (PyErr_Occurred()) SWIG_fail
;
6006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6007 result
= (bool)((wxListBox
const *)arg1
)->IsSelected(arg2
);
6009 wxPyEndAllowThreads(__tstate
);
6010 if (PyErr_Occurred()) SWIG_fail
;
6013 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6021 static PyObject
*_wrap_ListBox_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6022 PyObject
*resultobj
;
6023 wxListBox
*arg1
= (wxListBox
*) 0 ;
6025 bool arg3
= (bool) True
;
6026 PyObject
* obj0
= 0 ;
6027 PyObject
* obj1
= 0 ;
6028 PyObject
* obj2
= 0 ;
6030 (char *) "self",(char *) "n",(char *) "select", NULL
6033 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListBox_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6034 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
6035 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6036 arg2
= (int) SWIG_AsInt(obj1
);
6037 if (PyErr_Occurred()) SWIG_fail
;
6039 arg3
= (bool) SWIG_AsBool(obj2
);
6040 if (PyErr_Occurred()) SWIG_fail
;
6043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6044 (arg1
)->SetSelection(arg2
,arg3
);
6046 wxPyEndAllowThreads(__tstate
);
6047 if (PyErr_Occurred()) SWIG_fail
;
6049 Py_INCREF(Py_None
); resultobj
= Py_None
;
6056 static PyObject
*_wrap_ListBox_Select(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6057 PyObject
*resultobj
;
6058 wxListBox
*arg1
= (wxListBox
*) 0 ;
6060 PyObject
* obj0
= 0 ;
6061 PyObject
* obj1
= 0 ;
6063 (char *) "self",(char *) "n", NULL
6066 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_Select",kwnames
,&obj0
,&obj1
)) goto fail
;
6067 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
6068 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6069 arg2
= (int) SWIG_AsInt(obj1
);
6070 if (PyErr_Occurred()) SWIG_fail
;
6072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6073 (arg1
)->Select(arg2
);
6075 wxPyEndAllowThreads(__tstate
);
6076 if (PyErr_Occurred()) SWIG_fail
;
6078 Py_INCREF(Py_None
); resultobj
= Py_None
;
6085 static PyObject
*_wrap_ListBox_Deselect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6086 PyObject
*resultobj
;
6087 wxListBox
*arg1
= (wxListBox
*) 0 ;
6089 PyObject
* obj0
= 0 ;
6090 PyObject
* obj1
= 0 ;
6092 (char *) "self",(char *) "n", NULL
6095 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_Deselect",kwnames
,&obj0
,&obj1
)) goto fail
;
6096 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
6097 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6098 arg2
= (int) SWIG_AsInt(obj1
);
6099 if (PyErr_Occurred()) SWIG_fail
;
6101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6102 (arg1
)->Deselect(arg2
);
6104 wxPyEndAllowThreads(__tstate
);
6105 if (PyErr_Occurred()) SWIG_fail
;
6107 Py_INCREF(Py_None
); resultobj
= Py_None
;
6114 static PyObject
*_wrap_ListBox_DeselectAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6115 PyObject
*resultobj
;
6116 wxListBox
*arg1
= (wxListBox
*) 0 ;
6117 int arg2
= (int) -1 ;
6118 PyObject
* obj0
= 0 ;
6119 PyObject
* obj1
= 0 ;
6121 (char *) "self",(char *) "itemToLeaveSelected", NULL
6124 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ListBox_DeselectAll",kwnames
,&obj0
,&obj1
)) goto fail
;
6125 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
6126 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6128 arg2
= (int) SWIG_AsInt(obj1
);
6129 if (PyErr_Occurred()) SWIG_fail
;
6132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6133 (arg1
)->DeselectAll(arg2
);
6135 wxPyEndAllowThreads(__tstate
);
6136 if (PyErr_Occurred()) SWIG_fail
;
6138 Py_INCREF(Py_None
); resultobj
= Py_None
;
6145 static PyObject
*_wrap_ListBox_SetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6146 PyObject
*resultobj
;
6147 wxListBox
*arg1
= (wxListBox
*) 0 ;
6148 wxString
*arg2
= 0 ;
6149 bool arg3
= (bool) True
;
6151 bool temp2
= False
;
6152 PyObject
* obj0
= 0 ;
6153 PyObject
* obj1
= 0 ;
6154 PyObject
* obj2
= 0 ;
6156 (char *) "self",(char *) "s",(char *) "select", NULL
6159 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListBox_SetStringSelection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6160 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
6161 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6163 arg2
= wxString_in_helper(obj1
);
6164 if (arg2
== NULL
) SWIG_fail
;
6168 arg3
= (bool) SWIG_AsBool(obj2
);
6169 if (PyErr_Occurred()) SWIG_fail
;
6172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6173 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
,arg3
);
6175 wxPyEndAllowThreads(__tstate
);
6176 if (PyErr_Occurred()) SWIG_fail
;
6179 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6195 static PyObject
*_wrap_ListBox_GetSelections(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6196 PyObject
*resultobj
;
6197 wxListBox
*arg1
= (wxListBox
*) 0 ;
6199 PyObject
* obj0
= 0 ;
6201 (char *) "self", NULL
6204 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListBox_GetSelections",kwnames
,&obj0
)) goto fail
;
6205 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
6206 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6209 result
= (PyObject
*)wxListBox_GetSelections(arg1
);
6211 wxPyEndAllowThreads(__tstate
);
6212 if (PyErr_Occurred()) SWIG_fail
;
6221 static PyObject
*_wrap_ListBox_SetFirstItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6222 PyObject
*resultobj
;
6223 wxListBox
*arg1
= (wxListBox
*) 0 ;
6225 PyObject
* obj0
= 0 ;
6226 PyObject
* obj1
= 0 ;
6228 (char *) "self",(char *) "n", NULL
6231 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_SetFirstItem",kwnames
,&obj0
,&obj1
)) goto fail
;
6232 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
6233 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6234 arg2
= (int) SWIG_AsInt(obj1
);
6235 if (PyErr_Occurred()) SWIG_fail
;
6237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6238 (arg1
)->SetFirstItem(arg2
);
6240 wxPyEndAllowThreads(__tstate
);
6241 if (PyErr_Occurred()) SWIG_fail
;
6243 Py_INCREF(Py_None
); resultobj
= Py_None
;
6250 static PyObject
*_wrap_ListBox_SetFirstItemStr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6251 PyObject
*resultobj
;
6252 wxListBox
*arg1
= (wxListBox
*) 0 ;
6253 wxString
*arg2
= 0 ;
6254 bool temp2
= False
;
6255 PyObject
* obj0
= 0 ;
6256 PyObject
* obj1
= 0 ;
6258 (char *) "self",(char *) "s", NULL
6261 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_SetFirstItemStr",kwnames
,&obj0
,&obj1
)) goto fail
;
6262 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
6263 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6265 arg2
= wxString_in_helper(obj1
);
6266 if (arg2
== NULL
) SWIG_fail
;
6270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6271 (arg1
)->SetFirstItem((wxString
const &)*arg2
);
6273 wxPyEndAllowThreads(__tstate
);
6274 if (PyErr_Occurred()) SWIG_fail
;
6276 Py_INCREF(Py_None
); resultobj
= Py_None
;
6291 static PyObject
*_wrap_ListBox_EnsureVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6292 PyObject
*resultobj
;
6293 wxListBox
*arg1
= (wxListBox
*) 0 ;
6295 PyObject
* obj0
= 0 ;
6296 PyObject
* obj1
= 0 ;
6298 (char *) "self",(char *) "n", NULL
6301 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_EnsureVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
6302 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
6303 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6304 arg2
= (int) SWIG_AsInt(obj1
);
6305 if (PyErr_Occurred()) SWIG_fail
;
6307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6308 (arg1
)->EnsureVisible(arg2
);
6310 wxPyEndAllowThreads(__tstate
);
6311 if (PyErr_Occurred()) SWIG_fail
;
6313 Py_INCREF(Py_None
); resultobj
= Py_None
;
6320 static PyObject
*_wrap_ListBox_AppendAndEnsureVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6321 PyObject
*resultobj
;
6322 wxListBox
*arg1
= (wxListBox
*) 0 ;
6323 wxString
*arg2
= 0 ;
6324 bool temp2
= False
;
6325 PyObject
* obj0
= 0 ;
6326 PyObject
* obj1
= 0 ;
6328 (char *) "self",(char *) "s", NULL
6331 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_AppendAndEnsureVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
6332 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
6333 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6335 arg2
= wxString_in_helper(obj1
);
6336 if (arg2
== NULL
) SWIG_fail
;
6340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6341 (arg1
)->AppendAndEnsureVisible((wxString
const &)*arg2
);
6343 wxPyEndAllowThreads(__tstate
);
6344 if (PyErr_Occurred()) SWIG_fail
;
6346 Py_INCREF(Py_None
); resultobj
= Py_None
;
6361 static PyObject
*_wrap_ListBox_IsSorted(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6362 PyObject
*resultobj
;
6363 wxListBox
*arg1
= (wxListBox
*) 0 ;
6365 PyObject
* obj0
= 0 ;
6367 (char *) "self", NULL
6370 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListBox_IsSorted",kwnames
,&obj0
)) goto fail
;
6371 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
6372 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6375 result
= (bool)((wxListBox
const *)arg1
)->IsSorted();
6377 wxPyEndAllowThreads(__tstate
);
6378 if (PyErr_Occurred()) SWIG_fail
;
6381 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6389 static PyObject
*_wrap_ListBox_SetItemForegroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6390 PyObject
*resultobj
;
6391 wxListBox
*arg1
= (wxListBox
*) 0 ;
6393 wxColour
*arg3
= 0 ;
6395 PyObject
* obj0
= 0 ;
6396 PyObject
* obj1
= 0 ;
6397 PyObject
* obj2
= 0 ;
6399 (char *) "self",(char *) "item",(char *) "c", NULL
6402 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_SetItemForegroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6403 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
6404 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6405 arg2
= (int) SWIG_AsInt(obj1
);
6406 if (PyErr_Occurred()) SWIG_fail
;
6409 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
6412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6413 wxListBox_SetItemForegroundColour(arg1
,arg2
,(wxColour
const &)*arg3
);
6415 wxPyEndAllowThreads(__tstate
);
6416 if (PyErr_Occurred()) SWIG_fail
;
6418 Py_INCREF(Py_None
); resultobj
= Py_None
;
6425 static PyObject
*_wrap_ListBox_SetItemBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6426 PyObject
*resultobj
;
6427 wxListBox
*arg1
= (wxListBox
*) 0 ;
6429 wxColour
*arg3
= 0 ;
6431 PyObject
* obj0
= 0 ;
6432 PyObject
* obj1
= 0 ;
6433 PyObject
* obj2
= 0 ;
6435 (char *) "self",(char *) "item",(char *) "c", NULL
6438 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_SetItemBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6439 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
6440 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6441 arg2
= (int) SWIG_AsInt(obj1
);
6442 if (PyErr_Occurred()) SWIG_fail
;
6445 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
6448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6449 wxListBox_SetItemBackgroundColour(arg1
,arg2
,(wxColour
const &)*arg3
);
6451 wxPyEndAllowThreads(__tstate
);
6452 if (PyErr_Occurred()) SWIG_fail
;
6454 Py_INCREF(Py_None
); resultobj
= Py_None
;
6461 static PyObject
*_wrap_ListBox_SetItemFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6462 PyObject
*resultobj
;
6463 wxListBox
*arg1
= (wxListBox
*) 0 ;
6466 PyObject
* obj0
= 0 ;
6467 PyObject
* obj1
= 0 ;
6468 PyObject
* obj2
= 0 ;
6470 (char *) "self",(char *) "item",(char *) "f", NULL
6473 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_SetItemFont",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6474 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
6475 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6476 arg2
= (int) SWIG_AsInt(obj1
);
6477 if (PyErr_Occurred()) SWIG_fail
;
6478 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxFont
,
6479 SWIG_POINTER_EXCEPTION
| 0)) == -1)
6482 PyErr_SetString(PyExc_TypeError
,"null reference");
6486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6487 wxListBox_SetItemFont(arg1
,arg2
,(wxFont
const &)*arg3
);
6489 wxPyEndAllowThreads(__tstate
);
6490 if (PyErr_Occurred()) SWIG_fail
;
6492 Py_INCREF(Py_None
); resultobj
= Py_None
;
6499 static PyObject
*_wrap_ListBox_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6500 PyObject
*resultobj
;
6501 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
6502 wxVisualAttributes result
;
6503 PyObject
* obj0
= 0 ;
6505 (char *) "variant", NULL
6508 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ListBox_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
6510 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
6511 if (PyErr_Occurred()) SWIG_fail
;
6514 if (!wxPyCheckForApp()) SWIG_fail
;
6515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6516 result
= wxListBox::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
6518 wxPyEndAllowThreads(__tstate
);
6519 if (PyErr_Occurred()) SWIG_fail
;
6522 wxVisualAttributes
* resultptr
;
6523 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
6524 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
6532 static PyObject
* ListBox_swigregister(PyObject
*self
, PyObject
*args
) {
6534 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6535 SWIG_TypeClientData(SWIGTYPE_p_wxListBox
, obj
);
6537 return Py_BuildValue((char *)"");
6539 static PyObject
*_wrap_new_CheckListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6540 PyObject
*resultobj
;
6541 wxWindow
*arg1
= (wxWindow
*) 0 ;
6542 int arg2
= (int) -1 ;
6543 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
6544 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
6545 wxSize
const &arg4_defvalue
= wxDefaultSize
;
6546 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
6547 wxArrayString
const &arg5_defvalue
= wxPyEmptyStringArray
;
6548 wxArrayString
*arg5
= (wxArrayString
*) &arg5_defvalue
;
6549 long arg6
= (long) 0 ;
6550 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
6551 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
6552 wxString
const &arg8_defvalue
= wxPyListBoxNameStr
;
6553 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
6554 wxCheckListBox
*result
;
6557 bool temp5
= False
;
6558 bool temp8
= False
;
6559 PyObject
* obj0
= 0 ;
6560 PyObject
* obj1
= 0 ;
6561 PyObject
* obj2
= 0 ;
6562 PyObject
* obj3
= 0 ;
6563 PyObject
* obj4
= 0 ;
6564 PyObject
* obj5
= 0 ;
6565 PyObject
* obj6
= 0 ;
6566 PyObject
* obj7
= 0 ;
6568 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
6571 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_CheckListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
6572 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
6573 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6575 arg2
= (int) SWIG_AsInt(obj1
);
6576 if (PyErr_Occurred()) SWIG_fail
;
6581 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
6587 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
6592 if (! PySequence_Check(obj4
)) {
6593 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
6596 arg5
= new wxArrayString
;
6598 int i
, len
=PySequence_Length(obj4
);
6599 for (i
=0; i
<len
; i
++) {
6600 PyObject
* item
= PySequence_GetItem(obj4
, i
);
6602 PyObject
* str
= PyObject_Unicode(item
);
6604 PyObject
* str
= PyObject_Str(item
);
6606 if (PyErr_Occurred()) SWIG_fail
;
6607 arg5
->Add(Py2wxString(str
));
6614 arg6
= (long) SWIG_AsLong(obj5
);
6615 if (PyErr_Occurred()) SWIG_fail
;
6618 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
6619 SWIG_POINTER_EXCEPTION
| 0)) == -1)
6622 PyErr_SetString(PyExc_TypeError
,"null reference");
6628 arg8
= wxString_in_helper(obj7
);
6629 if (arg8
== NULL
) SWIG_fail
;
6634 if (!wxPyCheckForApp()) SWIG_fail
;
6635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6636 result
= (wxCheckListBox
*)new wxCheckListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,(wxArrayString
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
6638 wxPyEndAllowThreads(__tstate
);
6639 if (PyErr_Occurred()) SWIG_fail
;
6641 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCheckListBox
, 1);
6643 if (temp5
) delete arg5
;
6652 if (temp5
) delete arg5
;
6662 static PyObject
*_wrap_new_PreCheckListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6663 PyObject
*resultobj
;
6664 wxCheckListBox
*result
;
6669 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreCheckListBox",kwnames
)) goto fail
;
6671 if (!wxPyCheckForApp()) SWIG_fail
;
6672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6673 result
= (wxCheckListBox
*)new wxCheckListBox();
6675 wxPyEndAllowThreads(__tstate
);
6676 if (PyErr_Occurred()) SWIG_fail
;
6678 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCheckListBox
, 1);
6685 static PyObject
*_wrap_CheckListBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6686 PyObject
*resultobj
;
6687 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
6688 wxWindow
*arg2
= (wxWindow
*) 0 ;
6689 int arg3
= (int) -1 ;
6690 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
6691 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
6692 wxSize
const &arg5_defvalue
= wxDefaultSize
;
6693 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
6694 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
6695 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
6696 long arg7
= (long) 0 ;
6697 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
6698 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
6699 wxString
const &arg9_defvalue
= wxPyListBoxNameStr
;
6700 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
6704 bool temp6
= False
;
6705 bool temp9
= False
;
6706 PyObject
* obj0
= 0 ;
6707 PyObject
* obj1
= 0 ;
6708 PyObject
* obj2
= 0 ;
6709 PyObject
* obj3
= 0 ;
6710 PyObject
* obj4
= 0 ;
6711 PyObject
* obj5
= 0 ;
6712 PyObject
* obj6
= 0 ;
6713 PyObject
* obj7
= 0 ;
6714 PyObject
* obj8
= 0 ;
6716 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
6719 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:CheckListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
6720 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckListBox
,
6721 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6722 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
6723 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6725 arg3
= (int) SWIG_AsInt(obj2
);
6726 if (PyErr_Occurred()) SWIG_fail
;
6731 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
6737 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
6742 if (! PySequence_Check(obj5
)) {
6743 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
6746 arg6
= new wxArrayString
;
6748 int i
, len
=PySequence_Length(obj5
);
6749 for (i
=0; i
<len
; i
++) {
6750 PyObject
* item
= PySequence_GetItem(obj5
, i
);
6752 PyObject
* str
= PyObject_Unicode(item
);
6754 PyObject
* str
= PyObject_Str(item
);
6756 if (PyErr_Occurred()) SWIG_fail
;
6757 arg6
->Add(Py2wxString(str
));
6764 arg7
= (long) SWIG_AsLong(obj6
);
6765 if (PyErr_Occurred()) SWIG_fail
;
6768 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
6769 SWIG_POINTER_EXCEPTION
| 0)) == -1)
6772 PyErr_SetString(PyExc_TypeError
,"null reference");
6778 arg9
= wxString_in_helper(obj8
);
6779 if (arg9
== NULL
) SWIG_fail
;
6784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6785 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,(wxArrayString
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
6787 wxPyEndAllowThreads(__tstate
);
6788 if (PyErr_Occurred()) SWIG_fail
;
6791 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6794 if (temp6
) delete arg6
;
6803 if (temp6
) delete arg6
;
6813 static PyObject
*_wrap_CheckListBox_IsChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6814 PyObject
*resultobj
;
6815 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
6818 PyObject
* obj0
= 0 ;
6819 PyObject
* obj1
= 0 ;
6821 (char *) "self",(char *) "index", NULL
6824 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckListBox_IsChecked",kwnames
,&obj0
,&obj1
)) goto fail
;
6825 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckListBox
,
6826 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6827 arg2
= (int) SWIG_AsInt(obj1
);
6828 if (PyErr_Occurred()) SWIG_fail
;
6830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6831 result
= (bool)(arg1
)->IsChecked(arg2
);
6833 wxPyEndAllowThreads(__tstate
);
6834 if (PyErr_Occurred()) SWIG_fail
;
6837 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6845 static PyObject
*_wrap_CheckListBox_Check(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6846 PyObject
*resultobj
;
6847 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
6849 int arg3
= (int) True
;
6850 PyObject
* obj0
= 0 ;
6851 PyObject
* obj1
= 0 ;
6852 PyObject
* obj2
= 0 ;
6854 (char *) "self",(char *) "index",(char *) "check", NULL
6857 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:CheckListBox_Check",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6858 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckListBox
,
6859 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6860 arg2
= (int) SWIG_AsInt(obj1
);
6861 if (PyErr_Occurred()) SWIG_fail
;
6863 arg3
= (int) SWIG_AsInt(obj2
);
6864 if (PyErr_Occurred()) SWIG_fail
;
6867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6868 (arg1
)->Check(arg2
,arg3
);
6870 wxPyEndAllowThreads(__tstate
);
6871 if (PyErr_Occurred()) SWIG_fail
;
6873 Py_INCREF(Py_None
); resultobj
= Py_None
;
6880 static PyObject
*_wrap_CheckListBox_HitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6881 PyObject
*resultobj
;
6882 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
6886 PyObject
* obj0
= 0 ;
6887 PyObject
* obj1
= 0 ;
6889 (char *) "self",(char *) "pt", NULL
6892 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckListBox_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
6893 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckListBox
,
6894 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6897 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
6900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6901 result
= (int)((wxCheckListBox
const *)arg1
)->HitTest((wxPoint
const &)*arg2
);
6903 wxPyEndAllowThreads(__tstate
);
6904 if (PyErr_Occurred()) SWIG_fail
;
6906 resultobj
= SWIG_FromInt((int)result
);
6913 static PyObject
*_wrap_CheckListBox_HitTestXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6914 PyObject
*resultobj
;
6915 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
6919 PyObject
* obj0
= 0 ;
6920 PyObject
* obj1
= 0 ;
6921 PyObject
* obj2
= 0 ;
6923 (char *) "self",(char *) "x",(char *) "y", NULL
6926 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:CheckListBox_HitTestXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6927 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckListBox
,
6928 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6929 arg2
= (int) SWIG_AsInt(obj1
);
6930 if (PyErr_Occurred()) SWIG_fail
;
6931 arg3
= (int) SWIG_AsInt(obj2
);
6932 if (PyErr_Occurred()) SWIG_fail
;
6934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6935 result
= (int)((wxCheckListBox
const *)arg1
)->HitTest(arg2
,arg3
);
6937 wxPyEndAllowThreads(__tstate
);
6938 if (PyErr_Occurred()) SWIG_fail
;
6940 resultobj
= SWIG_FromInt((int)result
);
6947 static PyObject
* CheckListBox_swigregister(PyObject
*self
, PyObject
*args
) {
6949 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6950 SWIG_TypeClientData(SWIGTYPE_p_wxCheckListBox
, obj
);
6952 return Py_BuildValue((char *)"");
6954 static int _wrap_TextCtrlNameStr_set(PyObject
*_val
) {
6955 PyErr_SetString(PyExc_TypeError
,"Variable TextCtrlNameStr is read-only.");
6960 static PyObject
*_wrap_TextCtrlNameStr_get() {
6965 pyobj
= PyUnicode_FromWideChar((&wxPyTextCtrlNameStr
)->c_str(), (&wxPyTextCtrlNameStr
)->Len());
6967 pyobj
= PyString_FromStringAndSize((&wxPyTextCtrlNameStr
)->c_str(), (&wxPyTextCtrlNameStr
)->Len());
6974 static PyObject
*_wrap_new_TextAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6975 PyObject
*resultobj
;
6976 wxColour
const &arg1_defvalue
= wxNullColour
;
6977 wxColour
*arg1
= (wxColour
*) &arg1_defvalue
;
6978 wxColour
const &arg2_defvalue
= wxNullColour
;
6979 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
6980 wxFont
const &arg3_defvalue
= wxNullFont
;
6981 wxFont
*arg3
= (wxFont
*) &arg3_defvalue
;
6982 int arg4
= (int) wxTEXT_ALIGNMENT_DEFAULT
;
6986 PyObject
* obj0
= 0 ;
6987 PyObject
* obj1
= 0 ;
6988 PyObject
* obj2
= 0 ;
6989 PyObject
* obj3
= 0 ;
6991 (char *) "colText",(char *) "colBack",(char *) "font",(char *) "alignment", NULL
6994 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_TextAttr",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
6998 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
7004 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
7008 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxFont
,
7009 SWIG_POINTER_EXCEPTION
| 0)) == -1)
7012 PyErr_SetString(PyExc_TypeError
,"null reference");
7017 arg4
= (wxTextAttrAlignment
) SWIG_AsInt(obj3
);
7018 if (PyErr_Occurred()) SWIG_fail
;
7021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7022 result
= (wxTextAttr
*)new wxTextAttr((wxColour
const &)*arg1
,(wxColour
const &)*arg2
,(wxFont
const &)*arg3
,(wxTextAttrAlignment
)arg4
);
7024 wxPyEndAllowThreads(__tstate
);
7025 if (PyErr_Occurred()) SWIG_fail
;
7027 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextAttr
, 1);
7034 static PyObject
*_wrap_delete_TextAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7035 PyObject
*resultobj
;
7036 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7037 PyObject
* obj0
= 0 ;
7039 (char *) "self", NULL
7042 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TextAttr",kwnames
,&obj0
)) goto fail
;
7043 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7044 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7049 wxPyEndAllowThreads(__tstate
);
7050 if (PyErr_Occurred()) SWIG_fail
;
7052 Py_INCREF(Py_None
); resultobj
= Py_None
;
7059 static PyObject
*_wrap_TextAttr_Init(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7060 PyObject
*resultobj
;
7061 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7062 PyObject
* obj0
= 0 ;
7064 (char *) "self", NULL
7067 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_Init",kwnames
,&obj0
)) goto fail
;
7068 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7069 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7074 wxPyEndAllowThreads(__tstate
);
7075 if (PyErr_Occurred()) SWIG_fail
;
7077 Py_INCREF(Py_None
); resultobj
= Py_None
;
7084 static PyObject
*_wrap_TextAttr_SetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7085 PyObject
*resultobj
;
7086 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7087 wxColour
*arg2
= 0 ;
7089 PyObject
* obj0
= 0 ;
7090 PyObject
* obj1
= 0 ;
7092 (char *) "self",(char *) "colText", NULL
7095 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
7096 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7097 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7100 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
7103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7104 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
7106 wxPyEndAllowThreads(__tstate
);
7107 if (PyErr_Occurred()) SWIG_fail
;
7109 Py_INCREF(Py_None
); resultobj
= Py_None
;
7116 static PyObject
*_wrap_TextAttr_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7117 PyObject
*resultobj
;
7118 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7119 wxColour
*arg2
= 0 ;
7121 PyObject
* obj0
= 0 ;
7122 PyObject
* obj1
= 0 ;
7124 (char *) "self",(char *) "colBack", NULL
7127 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
7128 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7129 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7132 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
7135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7136 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
7138 wxPyEndAllowThreads(__tstate
);
7139 if (PyErr_Occurred()) SWIG_fail
;
7141 Py_INCREF(Py_None
); resultobj
= Py_None
;
7148 static PyObject
*_wrap_TextAttr_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7149 PyObject
*resultobj
;
7150 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7152 long arg3
= (long) wxTEXT_ATTR_FONT
;
7153 PyObject
* obj0
= 0 ;
7154 PyObject
* obj1
= 0 ;
7155 PyObject
* obj2
= 0 ;
7157 (char *) "self",(char *) "font",(char *) "flags", NULL
7160 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TextAttr_SetFont",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7161 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7162 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7163 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
7164 SWIG_POINTER_EXCEPTION
| 0)) == -1)
7167 PyErr_SetString(PyExc_TypeError
,"null reference");
7171 arg3
= (long) SWIG_AsLong(obj2
);
7172 if (PyErr_Occurred()) SWIG_fail
;
7175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7176 (arg1
)->SetFont((wxFont
const &)*arg2
,arg3
);
7178 wxPyEndAllowThreads(__tstate
);
7179 if (PyErr_Occurred()) SWIG_fail
;
7181 Py_INCREF(Py_None
); resultobj
= Py_None
;
7188 static PyObject
*_wrap_TextAttr_SetAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7189 PyObject
*resultobj
;
7190 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7192 PyObject
* obj0
= 0 ;
7193 PyObject
* obj1
= 0 ;
7195 (char *) "self",(char *) "alignment", NULL
7198 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetAlignment",kwnames
,&obj0
,&obj1
)) goto fail
;
7199 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7200 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7201 arg2
= (wxTextAttrAlignment
) SWIG_AsInt(obj1
);
7202 if (PyErr_Occurred()) SWIG_fail
;
7204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7205 (arg1
)->SetAlignment((wxTextAttrAlignment
)arg2
);
7207 wxPyEndAllowThreads(__tstate
);
7208 if (PyErr_Occurred()) SWIG_fail
;
7210 Py_INCREF(Py_None
); resultobj
= Py_None
;
7217 static PyObject
*_wrap_TextAttr_SetTabs(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7218 PyObject
*resultobj
;
7219 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7220 wxArrayInt
*arg2
= 0 ;
7221 bool temp2
= False
;
7222 PyObject
* obj0
= 0 ;
7223 PyObject
* obj1
= 0 ;
7225 (char *) "self",(char *) "tabs", NULL
7228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetTabs",kwnames
,&obj0
,&obj1
)) goto fail
;
7229 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7230 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7232 if (! PySequence_Check(obj1
)) {
7233 PyErr_SetString(PyExc_TypeError
, "Sequence of integers expected.");
7236 arg2
= new wxArrayInt
;
7238 int i
, len
=PySequence_Length(obj1
);
7239 for (i
=0; i
<len
; i
++) {
7240 PyObject
* item
= PySequence_GetItem(obj1
, i
);
7241 PyObject
* number
= PyNumber_Int(item
);
7242 arg2
->Add(PyInt_AS_LONG(number
));
7248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7249 (arg1
)->SetTabs((wxArrayInt
const &)*arg2
);
7251 wxPyEndAllowThreads(__tstate
);
7252 if (PyErr_Occurred()) SWIG_fail
;
7254 Py_INCREF(Py_None
); resultobj
= Py_None
;
7256 if (temp2
) delete arg2
;
7261 if (temp2
) delete arg2
;
7267 static PyObject
*_wrap_TextAttr_SetLeftIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7268 PyObject
*resultobj
;
7269 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7271 int arg3
= (int) 0 ;
7272 PyObject
* obj0
= 0 ;
7273 PyObject
* obj1
= 0 ;
7274 PyObject
* obj2
= 0 ;
7276 (char *) "self",(char *) "indent",(char *) "subIndent", NULL
7279 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TextAttr_SetLeftIndent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7280 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7281 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7282 arg2
= (int) SWIG_AsInt(obj1
);
7283 if (PyErr_Occurred()) SWIG_fail
;
7285 arg3
= (int) SWIG_AsInt(obj2
);
7286 if (PyErr_Occurred()) SWIG_fail
;
7289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7290 (arg1
)->SetLeftIndent(arg2
,arg3
);
7292 wxPyEndAllowThreads(__tstate
);
7293 if (PyErr_Occurred()) SWIG_fail
;
7295 Py_INCREF(Py_None
); resultobj
= Py_None
;
7302 static PyObject
*_wrap_TextAttr_SetRightIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7303 PyObject
*resultobj
;
7304 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7306 PyObject
* obj0
= 0 ;
7307 PyObject
* obj1
= 0 ;
7309 (char *) "self",(char *) "indent", NULL
7312 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetRightIndent",kwnames
,&obj0
,&obj1
)) goto fail
;
7313 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7314 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7315 arg2
= (int) SWIG_AsInt(obj1
);
7316 if (PyErr_Occurred()) SWIG_fail
;
7318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7319 (arg1
)->SetRightIndent(arg2
);
7321 wxPyEndAllowThreads(__tstate
);
7322 if (PyErr_Occurred()) SWIG_fail
;
7324 Py_INCREF(Py_None
); resultobj
= Py_None
;
7331 static PyObject
*_wrap_TextAttr_SetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7332 PyObject
*resultobj
;
7333 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7335 PyObject
* obj0
= 0 ;
7336 PyObject
* obj1
= 0 ;
7338 (char *) "self",(char *) "flags", NULL
7341 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetFlags",kwnames
,&obj0
,&obj1
)) goto fail
;
7342 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7343 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7344 arg2
= (long) SWIG_AsLong(obj1
);
7345 if (PyErr_Occurred()) SWIG_fail
;
7347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7348 (arg1
)->SetFlags(arg2
);
7350 wxPyEndAllowThreads(__tstate
);
7351 if (PyErr_Occurred()) SWIG_fail
;
7353 Py_INCREF(Py_None
); resultobj
= Py_None
;
7360 static PyObject
*_wrap_TextAttr_HasTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7361 PyObject
*resultobj
;
7362 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7364 PyObject
* obj0
= 0 ;
7366 (char *) "self", NULL
7369 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasTextColour",kwnames
,&obj0
)) goto fail
;
7370 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7371 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7374 result
= (bool)((wxTextAttr
const *)arg1
)->HasTextColour();
7376 wxPyEndAllowThreads(__tstate
);
7377 if (PyErr_Occurred()) SWIG_fail
;
7380 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7388 static PyObject
*_wrap_TextAttr_HasBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7389 PyObject
*resultobj
;
7390 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7392 PyObject
* obj0
= 0 ;
7394 (char *) "self", NULL
7397 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasBackgroundColour",kwnames
,&obj0
)) goto fail
;
7398 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7399 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7402 result
= (bool)((wxTextAttr
const *)arg1
)->HasBackgroundColour();
7404 wxPyEndAllowThreads(__tstate
);
7405 if (PyErr_Occurred()) SWIG_fail
;
7408 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7416 static PyObject
*_wrap_TextAttr_HasFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7417 PyObject
*resultobj
;
7418 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7420 PyObject
* obj0
= 0 ;
7422 (char *) "self", NULL
7425 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasFont",kwnames
,&obj0
)) goto fail
;
7426 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7427 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7430 result
= (bool)((wxTextAttr
const *)arg1
)->HasFont();
7432 wxPyEndAllowThreads(__tstate
);
7433 if (PyErr_Occurred()) SWIG_fail
;
7436 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7444 static PyObject
*_wrap_TextAttr_HasAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7445 PyObject
*resultobj
;
7446 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7448 PyObject
* obj0
= 0 ;
7450 (char *) "self", NULL
7453 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasAlignment",kwnames
,&obj0
)) goto fail
;
7454 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7455 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7458 result
= (bool)((wxTextAttr
const *)arg1
)->HasAlignment();
7460 wxPyEndAllowThreads(__tstate
);
7461 if (PyErr_Occurred()) SWIG_fail
;
7464 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7472 static PyObject
*_wrap_TextAttr_HasTabs(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7473 PyObject
*resultobj
;
7474 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7476 PyObject
* obj0
= 0 ;
7478 (char *) "self", NULL
7481 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasTabs",kwnames
,&obj0
)) goto fail
;
7482 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7483 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7486 result
= (bool)((wxTextAttr
const *)arg1
)->HasTabs();
7488 wxPyEndAllowThreads(__tstate
);
7489 if (PyErr_Occurred()) SWIG_fail
;
7492 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7500 static PyObject
*_wrap_TextAttr_HasLeftIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7501 PyObject
*resultobj
;
7502 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7504 PyObject
* obj0
= 0 ;
7506 (char *) "self", NULL
7509 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasLeftIndent",kwnames
,&obj0
)) goto fail
;
7510 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7511 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7514 result
= (bool)((wxTextAttr
const *)arg1
)->HasLeftIndent();
7516 wxPyEndAllowThreads(__tstate
);
7517 if (PyErr_Occurred()) SWIG_fail
;
7520 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7528 static PyObject
*_wrap_TextAttr_HasRightIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7529 PyObject
*resultobj
;
7530 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7532 PyObject
* obj0
= 0 ;
7534 (char *) "self", NULL
7537 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasRightIndent",kwnames
,&obj0
)) goto fail
;
7538 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7539 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7542 result
= (bool)((wxTextAttr
const *)arg1
)->HasRightIndent();
7544 wxPyEndAllowThreads(__tstate
);
7545 if (PyErr_Occurred()) SWIG_fail
;
7548 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7556 static PyObject
*_wrap_TextAttr_HasFlag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7557 PyObject
*resultobj
;
7558 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7561 PyObject
* obj0
= 0 ;
7562 PyObject
* obj1
= 0 ;
7564 (char *) "self",(char *) "flag", NULL
7567 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_HasFlag",kwnames
,&obj0
,&obj1
)) goto fail
;
7568 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7569 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7570 arg2
= (long) SWIG_AsLong(obj1
);
7571 if (PyErr_Occurred()) SWIG_fail
;
7573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7574 result
= (bool)((wxTextAttr
const *)arg1
)->HasFlag(arg2
);
7576 wxPyEndAllowThreads(__tstate
);
7577 if (PyErr_Occurred()) SWIG_fail
;
7580 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7588 static PyObject
*_wrap_TextAttr_GetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7589 PyObject
*resultobj
;
7590 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7592 PyObject
* obj0
= 0 ;
7594 (char *) "self", NULL
7597 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetTextColour",kwnames
,&obj0
)) goto fail
;
7598 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7599 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7603 wxColour
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetTextColour();
7604 result
= (wxColour
*) &_result_ref
;
7607 wxPyEndAllowThreads(__tstate
);
7608 if (PyErr_Occurred()) SWIG_fail
;
7610 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0);
7617 static PyObject
*_wrap_TextAttr_GetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7618 PyObject
*resultobj
;
7619 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7621 PyObject
* obj0
= 0 ;
7623 (char *) "self", NULL
7626 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
7627 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7628 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7632 wxColour
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetBackgroundColour();
7633 result
= (wxColour
*) &_result_ref
;
7636 wxPyEndAllowThreads(__tstate
);
7637 if (PyErr_Occurred()) SWIG_fail
;
7639 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0);
7646 static PyObject
*_wrap_TextAttr_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7647 PyObject
*resultobj
;
7648 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7650 PyObject
* obj0
= 0 ;
7652 (char *) "self", NULL
7655 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetFont",kwnames
,&obj0
)) goto fail
;
7656 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7657 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7661 wxFont
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetFont();
7662 result
= (wxFont
*) &_result_ref
;
7665 wxPyEndAllowThreads(__tstate
);
7666 if (PyErr_Occurred()) SWIG_fail
;
7669 wxFont
* resultptr
= new wxFont(*result
);
7670 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxFont
, 1);
7678 static PyObject
*_wrap_TextAttr_GetAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7679 PyObject
*resultobj
;
7680 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7682 PyObject
* obj0
= 0 ;
7684 (char *) "self", NULL
7687 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetAlignment",kwnames
,&obj0
)) goto fail
;
7688 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7689 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7692 result
= (int)((wxTextAttr
const *)arg1
)->GetAlignment();
7694 wxPyEndAllowThreads(__tstate
);
7695 if (PyErr_Occurred()) SWIG_fail
;
7697 resultobj
= SWIG_FromInt((int)result
);
7704 static PyObject
*_wrap_TextAttr_GetTabs(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7705 PyObject
*resultobj
;
7706 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7708 PyObject
* obj0
= 0 ;
7710 (char *) "self", NULL
7713 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetTabs",kwnames
,&obj0
)) goto fail
;
7714 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7715 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7719 wxArrayInt
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetTabs();
7720 result
= (wxArrayInt
*) &_result_ref
;
7723 wxPyEndAllowThreads(__tstate
);
7724 if (PyErr_Occurred()) SWIG_fail
;
7727 resultobj
= PyList_New(0);
7729 for (idx
= 0; idx
< result
->GetCount(); idx
+= 1) {
7730 PyObject
* val
= PyInt_FromLong( result
->Item(idx
) );
7731 PyList_Append(resultobj
, val
);
7741 static PyObject
*_wrap_TextAttr_GetLeftIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7742 PyObject
*resultobj
;
7743 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7745 PyObject
* obj0
= 0 ;
7747 (char *) "self", NULL
7750 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetLeftIndent",kwnames
,&obj0
)) goto fail
;
7751 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7752 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7755 result
= (long)((wxTextAttr
const *)arg1
)->GetLeftIndent();
7757 wxPyEndAllowThreads(__tstate
);
7758 if (PyErr_Occurred()) SWIG_fail
;
7760 resultobj
= SWIG_FromLong((long)result
);
7767 static PyObject
*_wrap_TextAttr_GetLeftSubIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7768 PyObject
*resultobj
;
7769 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7771 PyObject
* obj0
= 0 ;
7773 (char *) "self", NULL
7776 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetLeftSubIndent",kwnames
,&obj0
)) goto fail
;
7777 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7778 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7781 result
= (long)((wxTextAttr
const *)arg1
)->GetLeftSubIndent();
7783 wxPyEndAllowThreads(__tstate
);
7784 if (PyErr_Occurred()) SWIG_fail
;
7786 resultobj
= SWIG_FromLong((long)result
);
7793 static PyObject
*_wrap_TextAttr_GetRightIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7794 PyObject
*resultobj
;
7795 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7797 PyObject
* obj0
= 0 ;
7799 (char *) "self", NULL
7802 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetRightIndent",kwnames
,&obj0
)) goto fail
;
7803 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7804 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7807 result
= (long)((wxTextAttr
const *)arg1
)->GetRightIndent();
7809 wxPyEndAllowThreads(__tstate
);
7810 if (PyErr_Occurred()) SWIG_fail
;
7812 resultobj
= SWIG_FromLong((long)result
);
7819 static PyObject
*_wrap_TextAttr_GetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7820 PyObject
*resultobj
;
7821 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7823 PyObject
* obj0
= 0 ;
7825 (char *) "self", NULL
7828 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetFlags",kwnames
,&obj0
)) goto fail
;
7829 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7830 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7833 result
= (long)((wxTextAttr
const *)arg1
)->GetFlags();
7835 wxPyEndAllowThreads(__tstate
);
7836 if (PyErr_Occurred()) SWIG_fail
;
7838 resultobj
= SWIG_FromLong((long)result
);
7845 static PyObject
*_wrap_TextAttr_IsDefault(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7846 PyObject
*resultobj
;
7847 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7849 PyObject
* obj0
= 0 ;
7851 (char *) "self", NULL
7854 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_IsDefault",kwnames
,&obj0
)) goto fail
;
7855 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7856 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7859 result
= (bool)((wxTextAttr
const *)arg1
)->IsDefault();
7861 wxPyEndAllowThreads(__tstate
);
7862 if (PyErr_Occurred()) SWIG_fail
;
7865 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7873 static PyObject
*_wrap_TextAttr_Combine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7874 PyObject
*resultobj
;
7875 wxTextAttr
*arg1
= 0 ;
7876 wxTextAttr
*arg2
= 0 ;
7877 wxTextCtrl
*arg3
= (wxTextCtrl
*) 0 ;
7879 PyObject
* obj0
= 0 ;
7880 PyObject
* obj1
= 0 ;
7881 PyObject
* obj2
= 0 ;
7883 (char *) "attr",(char *) "attrDef",(char *) "text", NULL
7886 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextAttr_Combine",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7887 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7888 SWIG_POINTER_EXCEPTION
| 0)) == -1)
7891 PyErr_SetString(PyExc_TypeError
,"null reference");
7894 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTextAttr
,
7895 SWIG_POINTER_EXCEPTION
| 0)) == -1)
7898 PyErr_SetString(PyExc_TypeError
,"null reference");
7901 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxTextCtrl
,
7902 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7905 result
= wxTextAttr::Combine((wxTextAttr
const &)*arg1
,(wxTextAttr
const &)*arg2
,(wxTextCtrl
const *)arg3
);
7907 wxPyEndAllowThreads(__tstate
);
7908 if (PyErr_Occurred()) SWIG_fail
;
7911 wxTextAttr
* resultptr
;
7912 resultptr
= new wxTextAttr((wxTextAttr
&) result
);
7913 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTextAttr
, 1);
7921 static PyObject
* TextAttr_swigregister(PyObject
*self
, PyObject
*args
) {
7923 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7924 SWIG_TypeClientData(SWIGTYPE_p_wxTextAttr
, obj
);
7926 return Py_BuildValue((char *)"");
7928 static PyObject
*_wrap_new_TextCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7929 PyObject
*resultobj
;
7930 wxWindow
*arg1
= (wxWindow
*) 0 ;
7931 int arg2
= (int) -1 ;
7932 wxString
const &arg3_defvalue
= wxPyEmptyString
;
7933 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
7934 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
7935 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
7936 wxSize
const &arg5_defvalue
= wxDefaultSize
;
7937 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
7938 long arg6
= (long) 0 ;
7939 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
7940 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
7941 wxString
const &arg8_defvalue
= wxPyTextCtrlNameStr
;
7942 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
7944 bool temp3
= False
;
7947 bool temp8
= False
;
7948 PyObject
* obj0
= 0 ;
7949 PyObject
* obj1
= 0 ;
7950 PyObject
* obj2
= 0 ;
7951 PyObject
* obj3
= 0 ;
7952 PyObject
* obj4
= 0 ;
7953 PyObject
* obj5
= 0 ;
7954 PyObject
* obj6
= 0 ;
7955 PyObject
* obj7
= 0 ;
7957 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
7960 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_TextCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
7961 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
7962 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7964 arg2
= (int) SWIG_AsInt(obj1
);
7965 if (PyErr_Occurred()) SWIG_fail
;
7969 arg3
= wxString_in_helper(obj2
);
7970 if (arg3
== NULL
) SWIG_fail
;
7977 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
7983 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
7987 arg6
= (long) SWIG_AsLong(obj5
);
7988 if (PyErr_Occurred()) SWIG_fail
;
7991 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
7992 SWIG_POINTER_EXCEPTION
| 0)) == -1)
7995 PyErr_SetString(PyExc_TypeError
,"null reference");
8001 arg8
= wxString_in_helper(obj7
);
8002 if (arg8
== NULL
) SWIG_fail
;
8007 if (!wxPyCheckForApp()) SWIG_fail
;
8008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8009 result
= (wxTextCtrl
*)new wxTextCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
8011 wxPyEndAllowThreads(__tstate
);
8012 if (PyErr_Occurred()) SWIG_fail
;
8014 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextCtrl
, 1);
8037 static PyObject
*_wrap_new_PreTextCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8038 PyObject
*resultobj
;
8044 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreTextCtrl",kwnames
)) goto fail
;
8046 if (!wxPyCheckForApp()) SWIG_fail
;
8047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8048 result
= (wxTextCtrl
*)new wxTextCtrl();
8050 wxPyEndAllowThreads(__tstate
);
8051 if (PyErr_Occurred()) SWIG_fail
;
8053 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextCtrl
, 1);
8060 static PyObject
*_wrap_TextCtrl_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8061 PyObject
*resultobj
;
8062 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8063 wxWindow
*arg2
= (wxWindow
*) 0 ;
8064 int arg3
= (int) -1 ;
8065 wxString
const &arg4_defvalue
= wxPyEmptyString
;
8066 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
8067 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
8068 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
8069 wxSize
const &arg6_defvalue
= wxDefaultSize
;
8070 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
8071 long arg7
= (long) 0 ;
8072 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
8073 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
8074 wxString
const &arg9_defvalue
= wxPyTextCtrlNameStr
;
8075 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
8077 bool temp4
= False
;
8080 bool temp9
= False
;
8081 PyObject
* obj0
= 0 ;
8082 PyObject
* obj1
= 0 ;
8083 PyObject
* obj2
= 0 ;
8084 PyObject
* obj3
= 0 ;
8085 PyObject
* obj4
= 0 ;
8086 PyObject
* obj5
= 0 ;
8087 PyObject
* obj6
= 0 ;
8088 PyObject
* obj7
= 0 ;
8089 PyObject
* obj8
= 0 ;
8091 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
8094 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:TextCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
8095 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8096 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8097 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
8098 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8100 arg3
= (int) SWIG_AsInt(obj2
);
8101 if (PyErr_Occurred()) SWIG_fail
;
8105 arg4
= wxString_in_helper(obj3
);
8106 if (arg4
== NULL
) SWIG_fail
;
8113 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
8119 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
8123 arg7
= (long) SWIG_AsLong(obj6
);
8124 if (PyErr_Occurred()) SWIG_fail
;
8127 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
8128 SWIG_POINTER_EXCEPTION
| 0)) == -1)
8131 PyErr_SetString(PyExc_TypeError
,"null reference");
8137 arg9
= wxString_in_helper(obj8
);
8138 if (arg9
== NULL
) SWIG_fail
;
8143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8144 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
8146 wxPyEndAllowThreads(__tstate
);
8147 if (PyErr_Occurred()) SWIG_fail
;
8150 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8174 static PyObject
*_wrap_TextCtrl_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8175 PyObject
*resultobj
;
8176 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8178 PyObject
* obj0
= 0 ;
8180 (char *) "self", NULL
8183 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetValue",kwnames
,&obj0
)) goto fail
;
8184 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8185 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8188 result
= ((wxTextCtrl
const *)arg1
)->GetValue();
8190 wxPyEndAllowThreads(__tstate
);
8191 if (PyErr_Occurred()) SWIG_fail
;
8195 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8197 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8206 static PyObject
*_wrap_TextCtrl_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8207 PyObject
*resultobj
;
8208 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8209 wxString
*arg2
= 0 ;
8210 bool temp2
= False
;
8211 PyObject
* obj0
= 0 ;
8212 PyObject
* obj1
= 0 ;
8214 (char *) "self",(char *) "value", NULL
8217 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
8218 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8219 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8221 arg2
= wxString_in_helper(obj1
);
8222 if (arg2
== NULL
) SWIG_fail
;
8226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8227 (arg1
)->SetValue((wxString
const &)*arg2
);
8229 wxPyEndAllowThreads(__tstate
);
8230 if (PyErr_Occurred()) SWIG_fail
;
8232 Py_INCREF(Py_None
); resultobj
= Py_None
;
8247 static PyObject
*_wrap_TextCtrl_GetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8248 PyObject
*resultobj
;
8249 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8253 PyObject
* obj0
= 0 ;
8254 PyObject
* obj1
= 0 ;
8255 PyObject
* obj2
= 0 ;
8257 (char *) "self",(char *) "from",(char *) "to", NULL
8260 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_GetRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8261 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8262 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8263 arg2
= (long) SWIG_AsLong(obj1
);
8264 if (PyErr_Occurred()) SWIG_fail
;
8265 arg3
= (long) SWIG_AsLong(obj2
);
8266 if (PyErr_Occurred()) SWIG_fail
;
8268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8269 result
= ((wxTextCtrl
const *)arg1
)->GetRange(arg2
,arg3
);
8271 wxPyEndAllowThreads(__tstate
);
8272 if (PyErr_Occurred()) SWIG_fail
;
8276 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8278 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8287 static PyObject
*_wrap_TextCtrl_GetLineLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8288 PyObject
*resultobj
;
8289 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8292 PyObject
* obj0
= 0 ;
8293 PyObject
* obj1
= 0 ;
8295 (char *) "self",(char *) "lineNo", NULL
8298 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_GetLineLength",kwnames
,&obj0
,&obj1
)) goto fail
;
8299 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8300 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8301 arg2
= (long) SWIG_AsLong(obj1
);
8302 if (PyErr_Occurred()) SWIG_fail
;
8304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8305 result
= (int)((wxTextCtrl
const *)arg1
)->GetLineLength(arg2
);
8307 wxPyEndAllowThreads(__tstate
);
8308 if (PyErr_Occurred()) SWIG_fail
;
8310 resultobj
= SWIG_FromInt((int)result
);
8317 static PyObject
*_wrap_TextCtrl_GetLineText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8318 PyObject
*resultobj
;
8319 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8322 PyObject
* obj0
= 0 ;
8323 PyObject
* obj1
= 0 ;
8325 (char *) "self",(char *) "lineNo", NULL
8328 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_GetLineText",kwnames
,&obj0
,&obj1
)) goto fail
;
8329 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8330 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8331 arg2
= (long) SWIG_AsLong(obj1
);
8332 if (PyErr_Occurred()) SWIG_fail
;
8334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8335 result
= ((wxTextCtrl
const *)arg1
)->GetLineText(arg2
);
8337 wxPyEndAllowThreads(__tstate
);
8338 if (PyErr_Occurred()) SWIG_fail
;
8342 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8344 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8353 static PyObject
*_wrap_TextCtrl_GetNumberOfLines(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8354 PyObject
*resultobj
;
8355 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8357 PyObject
* obj0
= 0 ;
8359 (char *) "self", NULL
8362 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetNumberOfLines",kwnames
,&obj0
)) goto fail
;
8363 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8364 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8367 result
= (int)((wxTextCtrl
const *)arg1
)->GetNumberOfLines();
8369 wxPyEndAllowThreads(__tstate
);
8370 if (PyErr_Occurred()) SWIG_fail
;
8372 resultobj
= SWIG_FromInt((int)result
);
8379 static PyObject
*_wrap_TextCtrl_IsModified(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8380 PyObject
*resultobj
;
8381 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8383 PyObject
* obj0
= 0 ;
8385 (char *) "self", NULL
8388 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_IsModified",kwnames
,&obj0
)) goto fail
;
8389 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8390 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8393 result
= (bool)((wxTextCtrl
const *)arg1
)->IsModified();
8395 wxPyEndAllowThreads(__tstate
);
8396 if (PyErr_Occurred()) SWIG_fail
;
8399 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8407 static PyObject
*_wrap_TextCtrl_IsEditable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8408 PyObject
*resultobj
;
8409 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8411 PyObject
* obj0
= 0 ;
8413 (char *) "self", NULL
8416 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_IsEditable",kwnames
,&obj0
)) goto fail
;
8417 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8418 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8421 result
= (bool)((wxTextCtrl
const *)arg1
)->IsEditable();
8423 wxPyEndAllowThreads(__tstate
);
8424 if (PyErr_Occurred()) SWIG_fail
;
8427 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8435 static PyObject
*_wrap_TextCtrl_IsSingleLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8436 PyObject
*resultobj
;
8437 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8439 PyObject
* obj0
= 0 ;
8441 (char *) "self", NULL
8444 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_IsSingleLine",kwnames
,&obj0
)) goto fail
;
8445 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8446 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8449 result
= (bool)((wxTextCtrl
const *)arg1
)->IsSingleLine();
8451 wxPyEndAllowThreads(__tstate
);
8452 if (PyErr_Occurred()) SWIG_fail
;
8455 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8463 static PyObject
*_wrap_TextCtrl_IsMultiLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8464 PyObject
*resultobj
;
8465 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8467 PyObject
* obj0
= 0 ;
8469 (char *) "self", NULL
8472 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_IsMultiLine",kwnames
,&obj0
)) goto fail
;
8473 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8474 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8477 result
= (bool)((wxTextCtrl
const *)arg1
)->IsMultiLine();
8479 wxPyEndAllowThreads(__tstate
);
8480 if (PyErr_Occurred()) SWIG_fail
;
8483 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8491 static PyObject
*_wrap_TextCtrl_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8492 PyObject
*resultobj
;
8493 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8494 long *arg2
= (long *) 0 ;
8495 long *arg3
= (long *) 0 ;
8498 PyObject
* obj0
= 0 ;
8500 (char *) "self", NULL
8505 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetSelection",kwnames
,&obj0
)) goto fail
;
8506 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8507 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8510 ((wxTextCtrl
const *)arg1
)->GetSelection(arg2
,arg3
);
8512 wxPyEndAllowThreads(__tstate
);
8513 if (PyErr_Occurred()) SWIG_fail
;
8515 Py_INCREF(Py_None
); resultobj
= Py_None
;
8517 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
8518 resultobj
= t_output_helper(resultobj
,o
);
8521 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
8522 resultobj
= t_output_helper(resultobj
,o
);
8530 static PyObject
*_wrap_TextCtrl_GetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8531 PyObject
*resultobj
;
8532 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8534 PyObject
* obj0
= 0 ;
8536 (char *) "self", NULL
8539 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetStringSelection",kwnames
,&obj0
)) goto fail
;
8540 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8541 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8544 result
= ((wxTextCtrl
const *)arg1
)->GetStringSelection();
8546 wxPyEndAllowThreads(__tstate
);
8547 if (PyErr_Occurred()) SWIG_fail
;
8551 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8553 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8562 static PyObject
*_wrap_TextCtrl_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8563 PyObject
*resultobj
;
8564 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8565 PyObject
* obj0
= 0 ;
8567 (char *) "self", NULL
8570 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Clear",kwnames
,&obj0
)) goto fail
;
8571 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8572 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8577 wxPyEndAllowThreads(__tstate
);
8578 if (PyErr_Occurred()) SWIG_fail
;
8580 Py_INCREF(Py_None
); resultobj
= Py_None
;
8587 static PyObject
*_wrap_TextCtrl_Replace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8588 PyObject
*resultobj
;
8589 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8592 wxString
*arg4
= 0 ;
8593 bool temp4
= False
;
8594 PyObject
* obj0
= 0 ;
8595 PyObject
* obj1
= 0 ;
8596 PyObject
* obj2
= 0 ;
8597 PyObject
* obj3
= 0 ;
8599 (char *) "self",(char *) "from",(char *) "to",(char *) "value", NULL
8602 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextCtrl_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
8603 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8604 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8605 arg2
= (long) SWIG_AsLong(obj1
);
8606 if (PyErr_Occurred()) SWIG_fail
;
8607 arg3
= (long) SWIG_AsLong(obj2
);
8608 if (PyErr_Occurred()) SWIG_fail
;
8610 arg4
= wxString_in_helper(obj3
);
8611 if (arg4
== NULL
) SWIG_fail
;
8615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8616 (arg1
)->Replace(arg2
,arg3
,(wxString
const &)*arg4
);
8618 wxPyEndAllowThreads(__tstate
);
8619 if (PyErr_Occurred()) SWIG_fail
;
8621 Py_INCREF(Py_None
); resultobj
= Py_None
;
8636 static PyObject
*_wrap_TextCtrl_Remove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8637 PyObject
*resultobj
;
8638 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8641 PyObject
* obj0
= 0 ;
8642 PyObject
* obj1
= 0 ;
8643 PyObject
* obj2
= 0 ;
8645 (char *) "self",(char *) "from",(char *) "to", NULL
8648 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_Remove",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8649 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8650 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8651 arg2
= (long) SWIG_AsLong(obj1
);
8652 if (PyErr_Occurred()) SWIG_fail
;
8653 arg3
= (long) SWIG_AsLong(obj2
);
8654 if (PyErr_Occurred()) SWIG_fail
;
8656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8657 (arg1
)->Remove(arg2
,arg3
);
8659 wxPyEndAllowThreads(__tstate
);
8660 if (PyErr_Occurred()) SWIG_fail
;
8662 Py_INCREF(Py_None
); resultobj
= Py_None
;
8669 static PyObject
*_wrap_TextCtrl_LoadFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8670 PyObject
*resultobj
;
8671 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8672 wxString
*arg2
= 0 ;
8674 bool temp2
= False
;
8675 PyObject
* obj0
= 0 ;
8676 PyObject
* obj1
= 0 ;
8678 (char *) "self",(char *) "file", NULL
8681 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_LoadFile",kwnames
,&obj0
,&obj1
)) goto fail
;
8682 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8683 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8685 arg2
= wxString_in_helper(obj1
);
8686 if (arg2
== NULL
) SWIG_fail
;
8690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8691 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
);
8693 wxPyEndAllowThreads(__tstate
);
8694 if (PyErr_Occurred()) SWIG_fail
;
8697 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8713 static PyObject
*_wrap_TextCtrl_SaveFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8714 PyObject
*resultobj
;
8715 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8716 wxString
const &arg2_defvalue
= wxPyEmptyString
;
8717 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
8719 bool temp2
= False
;
8720 PyObject
* obj0
= 0 ;
8721 PyObject
* obj1
= 0 ;
8723 (char *) "self",(char *) "file", NULL
8726 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TextCtrl_SaveFile",kwnames
,&obj0
,&obj1
)) goto fail
;
8727 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8728 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8731 arg2
= wxString_in_helper(obj1
);
8732 if (arg2
== NULL
) SWIG_fail
;
8737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8738 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
);
8740 wxPyEndAllowThreads(__tstate
);
8741 if (PyErr_Occurred()) SWIG_fail
;
8744 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8760 static PyObject
*_wrap_TextCtrl_MarkDirty(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8761 PyObject
*resultobj
;
8762 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8763 PyObject
* obj0
= 0 ;
8765 (char *) "self", NULL
8768 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_MarkDirty",kwnames
,&obj0
)) goto fail
;
8769 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8770 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8773 (arg1
)->MarkDirty();
8775 wxPyEndAllowThreads(__tstate
);
8776 if (PyErr_Occurred()) SWIG_fail
;
8778 Py_INCREF(Py_None
); resultobj
= Py_None
;
8785 static PyObject
*_wrap_TextCtrl_DiscardEdits(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8786 PyObject
*resultobj
;
8787 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8788 PyObject
* obj0
= 0 ;
8790 (char *) "self", NULL
8793 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_DiscardEdits",kwnames
,&obj0
)) goto fail
;
8794 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8795 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8797 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8798 (arg1
)->DiscardEdits();
8800 wxPyEndAllowThreads(__tstate
);
8801 if (PyErr_Occurred()) SWIG_fail
;
8803 Py_INCREF(Py_None
); resultobj
= Py_None
;
8810 static PyObject
*_wrap_TextCtrl_SetMaxLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8811 PyObject
*resultobj
;
8812 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8813 unsigned long arg2
;
8814 PyObject
* obj0
= 0 ;
8815 PyObject
* obj1
= 0 ;
8817 (char *) "self",(char *) "len", NULL
8820 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetMaxLength",kwnames
,&obj0
,&obj1
)) goto fail
;
8821 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8822 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8823 arg2
= (unsigned long) SWIG_AsUnsignedLong(obj1
);
8824 if (PyErr_Occurred()) SWIG_fail
;
8826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8827 (arg1
)->SetMaxLength(arg2
);
8829 wxPyEndAllowThreads(__tstate
);
8830 if (PyErr_Occurred()) SWIG_fail
;
8832 Py_INCREF(Py_None
); resultobj
= Py_None
;
8839 static PyObject
*_wrap_TextCtrl_WriteText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8840 PyObject
*resultobj
;
8841 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8842 wxString
*arg2
= 0 ;
8843 bool temp2
= False
;
8844 PyObject
* obj0
= 0 ;
8845 PyObject
* obj1
= 0 ;
8847 (char *) "self",(char *) "text", NULL
8850 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_WriteText",kwnames
,&obj0
,&obj1
)) goto fail
;
8851 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8852 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8854 arg2
= wxString_in_helper(obj1
);
8855 if (arg2
== NULL
) SWIG_fail
;
8859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8860 (arg1
)->WriteText((wxString
const &)*arg2
);
8862 wxPyEndAllowThreads(__tstate
);
8863 if (PyErr_Occurred()) SWIG_fail
;
8865 Py_INCREF(Py_None
); resultobj
= Py_None
;
8880 static PyObject
*_wrap_TextCtrl_AppendText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8881 PyObject
*resultobj
;
8882 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8883 wxString
*arg2
= 0 ;
8884 bool temp2
= False
;
8885 PyObject
* obj0
= 0 ;
8886 PyObject
* obj1
= 0 ;
8888 (char *) "self",(char *) "text", NULL
8891 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_AppendText",kwnames
,&obj0
,&obj1
)) goto fail
;
8892 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8893 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8895 arg2
= wxString_in_helper(obj1
);
8896 if (arg2
== NULL
) SWIG_fail
;
8900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8901 (arg1
)->AppendText((wxString
const &)*arg2
);
8903 wxPyEndAllowThreads(__tstate
);
8904 if (PyErr_Occurred()) SWIG_fail
;
8906 Py_INCREF(Py_None
); resultobj
= Py_None
;
8921 static PyObject
*_wrap_TextCtrl_EmulateKeyPress(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8922 PyObject
*resultobj
;
8923 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8924 wxKeyEvent
*arg2
= 0 ;
8926 PyObject
* obj0
= 0 ;
8927 PyObject
* obj1
= 0 ;
8929 (char *) "self",(char *) "event", NULL
8932 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_EmulateKeyPress",kwnames
,&obj0
,&obj1
)) goto fail
;
8933 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8934 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8935 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxKeyEvent
,
8936 SWIG_POINTER_EXCEPTION
| 0)) == -1)
8939 PyErr_SetString(PyExc_TypeError
,"null reference");
8943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8944 result
= (bool)(arg1
)->EmulateKeyPress((wxKeyEvent
const &)*arg2
);
8946 wxPyEndAllowThreads(__tstate
);
8947 if (PyErr_Occurred()) SWIG_fail
;
8950 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8958 static PyObject
*_wrap_TextCtrl_SetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8959 PyObject
*resultobj
;
8960 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8963 wxTextAttr
*arg4
= 0 ;
8965 PyObject
* obj0
= 0 ;
8966 PyObject
* obj1
= 0 ;
8967 PyObject
* obj2
= 0 ;
8968 PyObject
* obj3
= 0 ;
8970 (char *) "self",(char *) "start",(char *) "end",(char *) "style", NULL
8973 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextCtrl_SetStyle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
8974 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8975 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8976 arg2
= (long) SWIG_AsLong(obj1
);
8977 if (PyErr_Occurred()) SWIG_fail
;
8978 arg3
= (long) SWIG_AsLong(obj2
);
8979 if (PyErr_Occurred()) SWIG_fail
;
8980 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxTextAttr
,
8981 SWIG_POINTER_EXCEPTION
| 0)) == -1)
8984 PyErr_SetString(PyExc_TypeError
,"null reference");
8988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8989 result
= (bool)(arg1
)->SetStyle(arg2
,arg3
,(wxTextAttr
const &)*arg4
);
8991 wxPyEndAllowThreads(__tstate
);
8992 if (PyErr_Occurred()) SWIG_fail
;
8995 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9003 static PyObject
*_wrap_TextCtrl_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9004 PyObject
*resultobj
;
9005 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9007 wxTextAttr
*arg3
= 0 ;
9009 PyObject
* obj0
= 0 ;
9010 PyObject
* obj1
= 0 ;
9011 PyObject
* obj2
= 0 ;
9013 (char *) "self",(char *) "position",(char *) "style", NULL
9016 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_GetStyle",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9017 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9018 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9019 arg2
= (long) SWIG_AsLong(obj1
);
9020 if (PyErr_Occurred()) SWIG_fail
;
9021 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxTextAttr
,
9022 SWIG_POINTER_EXCEPTION
| 0)) == -1)
9025 PyErr_SetString(PyExc_TypeError
,"null reference");
9029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9030 result
= (bool)(arg1
)->GetStyle(arg2
,*arg3
);
9032 wxPyEndAllowThreads(__tstate
);
9033 if (PyErr_Occurred()) SWIG_fail
;
9036 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9044 static PyObject
*_wrap_TextCtrl_SetDefaultStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9045 PyObject
*resultobj
;
9046 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9047 wxTextAttr
*arg2
= 0 ;
9049 PyObject
* obj0
= 0 ;
9050 PyObject
* obj1
= 0 ;
9052 (char *) "self",(char *) "style", NULL
9055 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetDefaultStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
9056 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9057 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9058 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTextAttr
,
9059 SWIG_POINTER_EXCEPTION
| 0)) == -1)
9062 PyErr_SetString(PyExc_TypeError
,"null reference");
9066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9067 result
= (bool)(arg1
)->SetDefaultStyle((wxTextAttr
const &)*arg2
);
9069 wxPyEndAllowThreads(__tstate
);
9070 if (PyErr_Occurred()) SWIG_fail
;
9073 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9081 static PyObject
*_wrap_TextCtrl_GetDefaultStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9082 PyObject
*resultobj
;
9083 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9085 PyObject
* obj0
= 0 ;
9087 (char *) "self", NULL
9090 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetDefaultStyle",kwnames
,&obj0
)) goto fail
;
9091 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9092 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9096 wxTextAttr
const &_result_ref
= ((wxTextCtrl
const *)arg1
)->GetDefaultStyle();
9097 result
= (wxTextAttr
*) &_result_ref
;
9100 wxPyEndAllowThreads(__tstate
);
9101 if (PyErr_Occurred()) SWIG_fail
;
9103 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextAttr
, 0);
9110 static PyObject
*_wrap_TextCtrl_XYToPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9111 PyObject
*resultobj
;
9112 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9116 PyObject
* obj0
= 0 ;
9117 PyObject
* obj1
= 0 ;
9118 PyObject
* obj2
= 0 ;
9120 (char *) "self",(char *) "x",(char *) "y", NULL
9123 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_XYToPosition",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9124 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9125 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9126 arg2
= (long) SWIG_AsLong(obj1
);
9127 if (PyErr_Occurred()) SWIG_fail
;
9128 arg3
= (long) SWIG_AsLong(obj2
);
9129 if (PyErr_Occurred()) SWIG_fail
;
9131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9132 result
= (long)((wxTextCtrl
const *)arg1
)->XYToPosition(arg2
,arg3
);
9134 wxPyEndAllowThreads(__tstate
);
9135 if (PyErr_Occurred()) SWIG_fail
;
9137 resultobj
= SWIG_FromLong((long)result
);
9144 static PyObject
*_wrap_TextCtrl_PositionToXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9145 PyObject
*resultobj
;
9146 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9148 long *arg3
= (long *) 0 ;
9149 long *arg4
= (long *) 0 ;
9152 PyObject
* obj0
= 0 ;
9153 PyObject
* obj1
= 0 ;
9155 (char *) "self",(char *) "pos", NULL
9160 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_PositionToXY",kwnames
,&obj0
,&obj1
)) goto fail
;
9161 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9162 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9163 arg2
= (long) SWIG_AsLong(obj1
);
9164 if (PyErr_Occurred()) SWIG_fail
;
9166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9167 ((wxTextCtrl
const *)arg1
)->PositionToXY(arg2
,arg3
,arg4
);
9169 wxPyEndAllowThreads(__tstate
);
9170 if (PyErr_Occurred()) SWIG_fail
;
9172 Py_INCREF(Py_None
); resultobj
= Py_None
;
9174 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
9175 resultobj
= t_output_helper(resultobj
,o
);
9178 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
9179 resultobj
= t_output_helper(resultobj
,o
);
9187 static PyObject
*_wrap_TextCtrl_ShowPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9188 PyObject
*resultobj
;
9189 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9191 PyObject
* obj0
= 0 ;
9192 PyObject
* obj1
= 0 ;
9194 (char *) "self",(char *) "pos", NULL
9197 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_ShowPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
9198 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9199 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9200 arg2
= (long) SWIG_AsLong(obj1
);
9201 if (PyErr_Occurred()) SWIG_fail
;
9203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9204 (arg1
)->ShowPosition(arg2
);
9206 wxPyEndAllowThreads(__tstate
);
9207 if (PyErr_Occurred()) SWIG_fail
;
9209 Py_INCREF(Py_None
); resultobj
= Py_None
;
9216 static PyObject
*_wrap_TextCtrl_HitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9217 PyObject
*resultobj
;
9218 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9220 long *arg3
= (long *) 0 ;
9221 long *arg4
= (long *) 0 ;
9226 PyObject
* obj0
= 0 ;
9227 PyObject
* obj1
= 0 ;
9229 (char *) "self",(char *) "pt", NULL
9234 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
9235 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9236 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9239 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
9242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9243 result
= (int)((wxTextCtrl
const *)arg1
)->HitTest((wxPoint
const &)*arg2
,arg3
,arg4
);
9245 wxPyEndAllowThreads(__tstate
);
9246 if (PyErr_Occurred()) SWIG_fail
;
9248 resultobj
= SWIG_FromInt((int)result
);
9250 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
9251 resultobj
= t_output_helper(resultobj
,o
);
9254 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
9255 resultobj
= t_output_helper(resultobj
,o
);
9263 static PyObject
*_wrap_TextCtrl_Copy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9264 PyObject
*resultobj
;
9265 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9266 PyObject
* obj0
= 0 ;
9268 (char *) "self", NULL
9271 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Copy",kwnames
,&obj0
)) goto fail
;
9272 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9273 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9278 wxPyEndAllowThreads(__tstate
);
9279 if (PyErr_Occurred()) SWIG_fail
;
9281 Py_INCREF(Py_None
); resultobj
= Py_None
;
9288 static PyObject
*_wrap_TextCtrl_Cut(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9289 PyObject
*resultobj
;
9290 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9291 PyObject
* obj0
= 0 ;
9293 (char *) "self", NULL
9296 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Cut",kwnames
,&obj0
)) goto fail
;
9297 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9298 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9303 wxPyEndAllowThreads(__tstate
);
9304 if (PyErr_Occurred()) SWIG_fail
;
9306 Py_INCREF(Py_None
); resultobj
= Py_None
;
9313 static PyObject
*_wrap_TextCtrl_Paste(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9314 PyObject
*resultobj
;
9315 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9316 PyObject
* obj0
= 0 ;
9318 (char *) "self", NULL
9321 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Paste",kwnames
,&obj0
)) goto fail
;
9322 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9323 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9328 wxPyEndAllowThreads(__tstate
);
9329 if (PyErr_Occurred()) SWIG_fail
;
9331 Py_INCREF(Py_None
); resultobj
= Py_None
;
9338 static PyObject
*_wrap_TextCtrl_CanCopy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9339 PyObject
*resultobj
;
9340 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9342 PyObject
* obj0
= 0 ;
9344 (char *) "self", NULL
9347 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanCopy",kwnames
,&obj0
)) goto fail
;
9348 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9349 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9352 result
= (bool)((wxTextCtrl
const *)arg1
)->CanCopy();
9354 wxPyEndAllowThreads(__tstate
);
9355 if (PyErr_Occurred()) SWIG_fail
;
9358 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9366 static PyObject
*_wrap_TextCtrl_CanCut(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9367 PyObject
*resultobj
;
9368 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9370 PyObject
* obj0
= 0 ;
9372 (char *) "self", NULL
9375 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanCut",kwnames
,&obj0
)) goto fail
;
9376 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9377 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9380 result
= (bool)((wxTextCtrl
const *)arg1
)->CanCut();
9382 wxPyEndAllowThreads(__tstate
);
9383 if (PyErr_Occurred()) SWIG_fail
;
9386 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9394 static PyObject
*_wrap_TextCtrl_CanPaste(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9395 PyObject
*resultobj
;
9396 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9398 PyObject
* obj0
= 0 ;
9400 (char *) "self", NULL
9403 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanPaste",kwnames
,&obj0
)) goto fail
;
9404 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9405 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9408 result
= (bool)((wxTextCtrl
const *)arg1
)->CanPaste();
9410 wxPyEndAllowThreads(__tstate
);
9411 if (PyErr_Occurred()) SWIG_fail
;
9414 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9422 static PyObject
*_wrap_TextCtrl_Undo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9423 PyObject
*resultobj
;
9424 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9425 PyObject
* obj0
= 0 ;
9427 (char *) "self", NULL
9430 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Undo",kwnames
,&obj0
)) goto fail
;
9431 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9432 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9437 wxPyEndAllowThreads(__tstate
);
9438 if (PyErr_Occurred()) SWIG_fail
;
9440 Py_INCREF(Py_None
); resultobj
= Py_None
;
9447 static PyObject
*_wrap_TextCtrl_Redo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9448 PyObject
*resultobj
;
9449 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9450 PyObject
* obj0
= 0 ;
9452 (char *) "self", NULL
9455 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Redo",kwnames
,&obj0
)) goto fail
;
9456 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9457 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9462 wxPyEndAllowThreads(__tstate
);
9463 if (PyErr_Occurred()) SWIG_fail
;
9465 Py_INCREF(Py_None
); resultobj
= Py_None
;
9472 static PyObject
*_wrap_TextCtrl_CanUndo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9473 PyObject
*resultobj
;
9474 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9476 PyObject
* obj0
= 0 ;
9478 (char *) "self", NULL
9481 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanUndo",kwnames
,&obj0
)) goto fail
;
9482 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9483 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9486 result
= (bool)((wxTextCtrl
const *)arg1
)->CanUndo();
9488 wxPyEndAllowThreads(__tstate
);
9489 if (PyErr_Occurred()) SWIG_fail
;
9492 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9500 static PyObject
*_wrap_TextCtrl_CanRedo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9501 PyObject
*resultobj
;
9502 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9504 PyObject
* obj0
= 0 ;
9506 (char *) "self", NULL
9509 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanRedo",kwnames
,&obj0
)) goto fail
;
9510 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9511 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9514 result
= (bool)((wxTextCtrl
const *)arg1
)->CanRedo();
9516 wxPyEndAllowThreads(__tstate
);
9517 if (PyErr_Occurred()) SWIG_fail
;
9520 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9528 static PyObject
*_wrap_TextCtrl_SetInsertionPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9529 PyObject
*resultobj
;
9530 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9532 PyObject
* obj0
= 0 ;
9533 PyObject
* obj1
= 0 ;
9535 (char *) "self",(char *) "pos", NULL
9538 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetInsertionPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
9539 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9540 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9541 arg2
= (long) SWIG_AsLong(obj1
);
9542 if (PyErr_Occurred()) SWIG_fail
;
9544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9545 (arg1
)->SetInsertionPoint(arg2
);
9547 wxPyEndAllowThreads(__tstate
);
9548 if (PyErr_Occurred()) SWIG_fail
;
9550 Py_INCREF(Py_None
); resultobj
= Py_None
;
9557 static PyObject
*_wrap_TextCtrl_SetInsertionPointEnd(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9558 PyObject
*resultobj
;
9559 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9560 PyObject
* obj0
= 0 ;
9562 (char *) "self", NULL
9565 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_SetInsertionPointEnd",kwnames
,&obj0
)) goto fail
;
9566 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9567 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9570 (arg1
)->SetInsertionPointEnd();
9572 wxPyEndAllowThreads(__tstate
);
9573 if (PyErr_Occurred()) SWIG_fail
;
9575 Py_INCREF(Py_None
); resultobj
= Py_None
;
9582 static PyObject
*_wrap_TextCtrl_GetInsertionPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9583 PyObject
*resultobj
;
9584 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9586 PyObject
* obj0
= 0 ;
9588 (char *) "self", NULL
9591 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetInsertionPoint",kwnames
,&obj0
)) goto fail
;
9592 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9593 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9596 result
= (long)((wxTextCtrl
const *)arg1
)->GetInsertionPoint();
9598 wxPyEndAllowThreads(__tstate
);
9599 if (PyErr_Occurred()) SWIG_fail
;
9601 resultobj
= SWIG_FromLong((long)result
);
9608 static PyObject
*_wrap_TextCtrl_GetLastPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9609 PyObject
*resultobj
;
9610 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9612 PyObject
* obj0
= 0 ;
9614 (char *) "self", NULL
9617 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetLastPosition",kwnames
,&obj0
)) goto fail
;
9618 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9619 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9622 result
= (long)((wxTextCtrl
const *)arg1
)->GetLastPosition();
9624 wxPyEndAllowThreads(__tstate
);
9625 if (PyErr_Occurred()) SWIG_fail
;
9627 resultobj
= SWIG_FromLong((long)result
);
9634 static PyObject
*_wrap_TextCtrl_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9635 PyObject
*resultobj
;
9636 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9639 PyObject
* obj0
= 0 ;
9640 PyObject
* obj1
= 0 ;
9641 PyObject
* obj2
= 0 ;
9643 (char *) "self",(char *) "from",(char *) "to", NULL
9646 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9647 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9648 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9649 arg2
= (long) SWIG_AsLong(obj1
);
9650 if (PyErr_Occurred()) SWIG_fail
;
9651 arg3
= (long) SWIG_AsLong(obj2
);
9652 if (PyErr_Occurred()) SWIG_fail
;
9654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9655 (arg1
)->SetSelection(arg2
,arg3
);
9657 wxPyEndAllowThreads(__tstate
);
9658 if (PyErr_Occurred()) SWIG_fail
;
9660 Py_INCREF(Py_None
); resultobj
= Py_None
;
9667 static PyObject
*_wrap_TextCtrl_SelectAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9668 PyObject
*resultobj
;
9669 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9670 PyObject
* obj0
= 0 ;
9672 (char *) "self", NULL
9675 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_SelectAll",kwnames
,&obj0
)) goto fail
;
9676 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9677 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9680 (arg1
)->SelectAll();
9682 wxPyEndAllowThreads(__tstate
);
9683 if (PyErr_Occurred()) SWIG_fail
;
9685 Py_INCREF(Py_None
); resultobj
= Py_None
;
9692 static PyObject
*_wrap_TextCtrl_SetEditable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9693 PyObject
*resultobj
;
9694 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9696 PyObject
* obj0
= 0 ;
9697 PyObject
* obj1
= 0 ;
9699 (char *) "self",(char *) "editable", NULL
9702 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetEditable",kwnames
,&obj0
,&obj1
)) goto fail
;
9703 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9704 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9705 arg2
= (bool) SWIG_AsBool(obj1
);
9706 if (PyErr_Occurred()) SWIG_fail
;
9708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9709 (arg1
)->SetEditable(arg2
);
9711 wxPyEndAllowThreads(__tstate
);
9712 if (PyErr_Occurred()) SWIG_fail
;
9714 Py_INCREF(Py_None
); resultobj
= Py_None
;
9721 static PyObject
*_wrap_TextCtrl_write(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9722 PyObject
*resultobj
;
9723 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9724 wxString
*arg2
= 0 ;
9725 bool temp2
= False
;
9726 PyObject
* obj0
= 0 ;
9727 PyObject
* obj1
= 0 ;
9729 (char *) "self",(char *) "text", NULL
9732 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_write",kwnames
,&obj0
,&obj1
)) goto fail
;
9733 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9734 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9736 arg2
= wxString_in_helper(obj1
);
9737 if (arg2
== NULL
) SWIG_fail
;
9741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9742 wxTextCtrl_write(arg1
,(wxString
const &)*arg2
);
9744 wxPyEndAllowThreads(__tstate
);
9745 if (PyErr_Occurred()) SWIG_fail
;
9747 Py_INCREF(Py_None
); resultobj
= Py_None
;
9762 static PyObject
*_wrap_TextCtrl_GetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9763 PyObject
*resultobj
;
9764 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9768 PyObject
* obj0
= 0 ;
9769 PyObject
* obj1
= 0 ;
9770 PyObject
* obj2
= 0 ;
9772 (char *) "self",(char *) "from",(char *) "to", NULL
9775 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_GetString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9776 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9777 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9778 arg2
= (long) SWIG_AsLong(obj1
);
9779 if (PyErr_Occurred()) SWIG_fail
;
9780 arg3
= (long) SWIG_AsLong(obj2
);
9781 if (PyErr_Occurred()) SWIG_fail
;
9783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9784 result
= wxTextCtrl_GetString(arg1
,arg2
,arg3
);
9786 wxPyEndAllowThreads(__tstate
);
9787 if (PyErr_Occurred()) SWIG_fail
;
9791 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9793 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9802 static PyObject
*_wrap_TextCtrl_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9803 PyObject
*resultobj
;
9804 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
9805 wxVisualAttributes result
;
9806 PyObject
* obj0
= 0 ;
9808 (char *) "variant", NULL
9811 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:TextCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
9813 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
9814 if (PyErr_Occurred()) SWIG_fail
;
9817 if (!wxPyCheckForApp()) SWIG_fail
;
9818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9819 result
= wxTextCtrl::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
9821 wxPyEndAllowThreads(__tstate
);
9822 if (PyErr_Occurred()) SWIG_fail
;
9825 wxVisualAttributes
* resultptr
;
9826 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
9827 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
9835 static PyObject
* TextCtrl_swigregister(PyObject
*self
, PyObject
*args
) {
9837 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9838 SWIG_TypeClientData(SWIGTYPE_p_wxTextCtrl
, obj
);
9840 return Py_BuildValue((char *)"");
9842 static PyObject
*_wrap_new_TextUrlEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9843 PyObject
*resultobj
;
9845 wxMouseEvent
*arg2
= 0 ;
9848 wxTextUrlEvent
*result
;
9849 PyObject
* obj0
= 0 ;
9850 PyObject
* obj1
= 0 ;
9851 PyObject
* obj2
= 0 ;
9852 PyObject
* obj3
= 0 ;
9854 (char *) "winid",(char *) "evtMouse",(char *) "start",(char *) "end", NULL
9857 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_TextUrlEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9858 arg1
= (int) SWIG_AsInt(obj0
);
9859 if (PyErr_Occurred()) SWIG_fail
;
9860 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMouseEvent
,
9861 SWIG_POINTER_EXCEPTION
| 0)) == -1)
9864 PyErr_SetString(PyExc_TypeError
,"null reference");
9867 arg3
= (long) SWIG_AsLong(obj2
);
9868 if (PyErr_Occurred()) SWIG_fail
;
9869 arg4
= (long) SWIG_AsLong(obj3
);
9870 if (PyErr_Occurred()) SWIG_fail
;
9872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9873 result
= (wxTextUrlEvent
*)new wxTextUrlEvent(arg1
,(wxMouseEvent
const &)*arg2
,arg3
,arg4
);
9875 wxPyEndAllowThreads(__tstate
);
9876 if (PyErr_Occurred()) SWIG_fail
;
9878 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextUrlEvent
, 1);
9885 static PyObject
*_wrap_TextUrlEvent_GetMouseEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9886 PyObject
*resultobj
;
9887 wxTextUrlEvent
*arg1
= (wxTextUrlEvent
*) 0 ;
9888 wxMouseEvent
*result
;
9889 PyObject
* obj0
= 0 ;
9891 (char *) "self", NULL
9894 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextUrlEvent_GetMouseEvent",kwnames
,&obj0
)) goto fail
;
9895 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextUrlEvent
,
9896 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9900 wxMouseEvent
const &_result_ref
= (arg1
)->GetMouseEvent();
9901 result
= (wxMouseEvent
*) &_result_ref
;
9904 wxPyEndAllowThreads(__tstate
);
9905 if (PyErr_Occurred()) SWIG_fail
;
9907 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMouseEvent
, 0);
9914 static PyObject
*_wrap_TextUrlEvent_GetURLStart(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9915 PyObject
*resultobj
;
9916 wxTextUrlEvent
*arg1
= (wxTextUrlEvent
*) 0 ;
9918 PyObject
* obj0
= 0 ;
9920 (char *) "self", NULL
9923 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextUrlEvent_GetURLStart",kwnames
,&obj0
)) goto fail
;
9924 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextUrlEvent
,
9925 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9928 result
= (long)((wxTextUrlEvent
const *)arg1
)->GetURLStart();
9930 wxPyEndAllowThreads(__tstate
);
9931 if (PyErr_Occurred()) SWIG_fail
;
9933 resultobj
= SWIG_FromLong((long)result
);
9940 static PyObject
*_wrap_TextUrlEvent_GetURLEnd(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9941 PyObject
*resultobj
;
9942 wxTextUrlEvent
*arg1
= (wxTextUrlEvent
*) 0 ;
9944 PyObject
* obj0
= 0 ;
9946 (char *) "self", NULL
9949 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextUrlEvent_GetURLEnd",kwnames
,&obj0
)) goto fail
;
9950 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextUrlEvent
,
9951 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9954 result
= (long)((wxTextUrlEvent
const *)arg1
)->GetURLEnd();
9956 wxPyEndAllowThreads(__tstate
);
9957 if (PyErr_Occurred()) SWIG_fail
;
9959 resultobj
= SWIG_FromLong((long)result
);
9966 static PyObject
* TextUrlEvent_swigregister(PyObject
*self
, PyObject
*args
) {
9968 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9969 SWIG_TypeClientData(SWIGTYPE_p_wxTextUrlEvent
, obj
);
9971 return Py_BuildValue((char *)"");
9973 static int _wrap_ScrollBarNameStr_set(PyObject
*_val
) {
9974 PyErr_SetString(PyExc_TypeError
,"Variable ScrollBarNameStr is read-only.");
9979 static PyObject
*_wrap_ScrollBarNameStr_get() {
9984 pyobj
= PyUnicode_FromWideChar((&wxPyScrollBarNameStr
)->c_str(), (&wxPyScrollBarNameStr
)->Len());
9986 pyobj
= PyString_FromStringAndSize((&wxPyScrollBarNameStr
)->c_str(), (&wxPyScrollBarNameStr
)->Len());
9993 static PyObject
*_wrap_new_ScrollBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9994 PyObject
*resultobj
;
9995 wxWindow
*arg1
= (wxWindow
*) 0 ;
9996 int arg2
= (int) -1 ;
9997 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
9998 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
9999 wxSize
const &arg4_defvalue
= wxDefaultSize
;
10000 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
10001 long arg5
= (long) wxSB_HORIZONTAL
;
10002 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
10003 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
10004 wxString
const &arg7_defvalue
= wxPyScrollBarNameStr
;
10005 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
10006 wxScrollBar
*result
;
10009 bool temp7
= False
;
10010 PyObject
* obj0
= 0 ;
10011 PyObject
* obj1
= 0 ;
10012 PyObject
* obj2
= 0 ;
10013 PyObject
* obj3
= 0 ;
10014 PyObject
* obj4
= 0 ;
10015 PyObject
* obj5
= 0 ;
10016 PyObject
* obj6
= 0 ;
10017 char *kwnames
[] = {
10018 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
10021 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_ScrollBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
10022 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
10023 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10025 arg2
= (int) SWIG_AsInt(obj1
);
10026 if (PyErr_Occurred()) SWIG_fail
;
10031 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
10037 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
10041 arg5
= (long) SWIG_AsLong(obj4
);
10042 if (PyErr_Occurred()) SWIG_fail
;
10045 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxValidator
,
10046 SWIG_POINTER_EXCEPTION
| 0)) == -1)
10048 if (arg6
== NULL
) {
10049 PyErr_SetString(PyExc_TypeError
,"null reference");
10055 arg7
= wxString_in_helper(obj6
);
10056 if (arg7
== NULL
) SWIG_fail
;
10061 if (!wxPyCheckForApp()) SWIG_fail
;
10062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10063 result
= (wxScrollBar
*)new wxScrollBar(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
10065 wxPyEndAllowThreads(__tstate
);
10066 if (PyErr_Occurred()) SWIG_fail
;
10068 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScrollBar
, 1);
10083 static PyObject
*_wrap_new_PreScrollBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10084 PyObject
*resultobj
;
10085 wxScrollBar
*result
;
10086 char *kwnames
[] = {
10090 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreScrollBar",kwnames
)) goto fail
;
10092 if (!wxPyCheckForApp()) SWIG_fail
;
10093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10094 result
= (wxScrollBar
*)new wxScrollBar();
10096 wxPyEndAllowThreads(__tstate
);
10097 if (PyErr_Occurred()) SWIG_fail
;
10099 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScrollBar
, 1);
10106 static PyObject
*_wrap_ScrollBar_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10107 PyObject
*resultobj
;
10108 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
10109 wxWindow
*arg2
= (wxWindow
*) 0 ;
10110 int arg3
= (int) -1 ;
10111 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
10112 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
10113 wxSize
const &arg5_defvalue
= wxDefaultSize
;
10114 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
10115 long arg6
= (long) wxSB_HORIZONTAL
;
10116 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
10117 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
10118 wxString
const &arg8_defvalue
= wxPyScrollBarNameStr
;
10119 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
10123 bool temp8
= False
;
10124 PyObject
* obj0
= 0 ;
10125 PyObject
* obj1
= 0 ;
10126 PyObject
* obj2
= 0 ;
10127 PyObject
* obj3
= 0 ;
10128 PyObject
* obj4
= 0 ;
10129 PyObject
* obj5
= 0 ;
10130 PyObject
* obj6
= 0 ;
10131 PyObject
* obj7
= 0 ;
10132 char *kwnames
[] = {
10133 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
10136 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:ScrollBar_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
10137 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollBar
,
10138 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10139 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
10140 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10142 arg3
= (int) SWIG_AsInt(obj2
);
10143 if (PyErr_Occurred()) SWIG_fail
;
10148 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
10154 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
10158 arg6
= (long) SWIG_AsLong(obj5
);
10159 if (PyErr_Occurred()) SWIG_fail
;
10162 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
10163 SWIG_POINTER_EXCEPTION
| 0)) == -1)
10165 if (arg7
== NULL
) {
10166 PyErr_SetString(PyExc_TypeError
,"null reference");
10172 arg8
= wxString_in_helper(obj7
);
10173 if (arg8
== NULL
) SWIG_fail
;
10178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10179 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
10181 wxPyEndAllowThreads(__tstate
);
10182 if (PyErr_Occurred()) SWIG_fail
;
10185 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10201 static PyObject
*_wrap_ScrollBar_GetThumbPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10202 PyObject
*resultobj
;
10203 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
10205 PyObject
* obj0
= 0 ;
10206 char *kwnames
[] = {
10207 (char *) "self", NULL
10210 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_GetThumbPosition",kwnames
,&obj0
)) goto fail
;
10211 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollBar
,
10212 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10215 result
= (int)((wxScrollBar
const *)arg1
)->GetThumbPosition();
10217 wxPyEndAllowThreads(__tstate
);
10218 if (PyErr_Occurred()) SWIG_fail
;
10220 resultobj
= SWIG_FromInt((int)result
);
10227 static PyObject
*_wrap_ScrollBar_GetThumbSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10228 PyObject
*resultobj
;
10229 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
10231 PyObject
* obj0
= 0 ;
10232 char *kwnames
[] = {
10233 (char *) "self", NULL
10236 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_GetThumbSize",kwnames
,&obj0
)) goto fail
;
10237 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollBar
,
10238 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10241 result
= (int)((wxScrollBar
const *)arg1
)->GetThumbSize();
10243 wxPyEndAllowThreads(__tstate
);
10244 if (PyErr_Occurred()) SWIG_fail
;
10246 resultobj
= SWIG_FromInt((int)result
);
10253 static PyObject
*_wrap_ScrollBar_GetPageSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10254 PyObject
*resultobj
;
10255 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
10257 PyObject
* obj0
= 0 ;
10258 char *kwnames
[] = {
10259 (char *) "self", NULL
10262 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_GetPageSize",kwnames
,&obj0
)) goto fail
;
10263 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollBar
,
10264 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10267 result
= (int)((wxScrollBar
const *)arg1
)->GetPageSize();
10269 wxPyEndAllowThreads(__tstate
);
10270 if (PyErr_Occurred()) SWIG_fail
;
10272 resultobj
= SWIG_FromInt((int)result
);
10279 static PyObject
*_wrap_ScrollBar_GetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10280 PyObject
*resultobj
;
10281 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
10283 PyObject
* obj0
= 0 ;
10284 char *kwnames
[] = {
10285 (char *) "self", NULL
10288 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_GetRange",kwnames
,&obj0
)) goto fail
;
10289 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollBar
,
10290 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10293 result
= (int)((wxScrollBar
const *)arg1
)->GetRange();
10295 wxPyEndAllowThreads(__tstate
);
10296 if (PyErr_Occurred()) SWIG_fail
;
10298 resultobj
= SWIG_FromInt((int)result
);
10305 static PyObject
*_wrap_ScrollBar_IsVertical(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_IsVertical",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
= (bool)((wxScrollBar
const *)arg1
)->IsVertical();
10321 wxPyEndAllowThreads(__tstate
);
10322 if (PyErr_Occurred()) SWIG_fail
;
10325 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10333 static PyObject
*_wrap_ScrollBar_SetThumbPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10334 PyObject
*resultobj
;
10335 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
10337 PyObject
* obj0
= 0 ;
10338 PyObject
* obj1
= 0 ;
10339 char *kwnames
[] = {
10340 (char *) "self",(char *) "viewStart", NULL
10343 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollBar_SetThumbPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
10344 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollBar
,
10345 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10346 arg2
= (int) SWIG_AsInt(obj1
);
10347 if (PyErr_Occurred()) SWIG_fail
;
10349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10350 (arg1
)->SetThumbPosition(arg2
);
10352 wxPyEndAllowThreads(__tstate
);
10353 if (PyErr_Occurred()) SWIG_fail
;
10355 Py_INCREF(Py_None
); resultobj
= Py_None
;
10362 static PyObject
*_wrap_ScrollBar_SetScrollbar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10363 PyObject
*resultobj
;
10364 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
10369 bool arg6
= (bool) True
;
10370 PyObject
* obj0
= 0 ;
10371 PyObject
* obj1
= 0 ;
10372 PyObject
* obj2
= 0 ;
10373 PyObject
* obj3
= 0 ;
10374 PyObject
* obj4
= 0 ;
10375 PyObject
* obj5
= 0 ;
10376 char *kwnames
[] = {
10377 (char *) "self",(char *) "position",(char *) "thumbSize",(char *) "range",(char *) "pageSize",(char *) "refresh", NULL
10380 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:ScrollBar_SetScrollbar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
10381 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollBar
,
10382 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10383 arg2
= (int) SWIG_AsInt(obj1
);
10384 if (PyErr_Occurred()) SWIG_fail
;
10385 arg3
= (int) SWIG_AsInt(obj2
);
10386 if (PyErr_Occurred()) SWIG_fail
;
10387 arg4
= (int) SWIG_AsInt(obj3
);
10388 if (PyErr_Occurred()) SWIG_fail
;
10389 arg5
= (int) SWIG_AsInt(obj4
);
10390 if (PyErr_Occurred()) SWIG_fail
;
10392 arg6
= (bool) SWIG_AsBool(obj5
);
10393 if (PyErr_Occurred()) SWIG_fail
;
10396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10397 (arg1
)->SetScrollbar(arg2
,arg3
,arg4
,arg5
,arg6
);
10399 wxPyEndAllowThreads(__tstate
);
10400 if (PyErr_Occurred()) SWIG_fail
;
10402 Py_INCREF(Py_None
); resultobj
= Py_None
;
10409 static PyObject
*_wrap_ScrollBar_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10410 PyObject
*resultobj
;
10411 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
10412 wxVisualAttributes result
;
10413 PyObject
* obj0
= 0 ;
10414 char *kwnames
[] = {
10415 (char *) "variant", NULL
10418 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ScrollBar_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
10420 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
10421 if (PyErr_Occurred()) SWIG_fail
;
10424 if (!wxPyCheckForApp()) SWIG_fail
;
10425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10426 result
= wxScrollBar::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
10428 wxPyEndAllowThreads(__tstate
);
10429 if (PyErr_Occurred()) SWIG_fail
;
10432 wxVisualAttributes
* resultptr
;
10433 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
10434 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
10442 static PyObject
* ScrollBar_swigregister(PyObject
*self
, PyObject
*args
) {
10444 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10445 SWIG_TypeClientData(SWIGTYPE_p_wxScrollBar
, obj
);
10447 return Py_BuildValue((char *)"");
10449 static int _wrap_SPIN_BUTTON_NAME_set(PyObject
*_val
) {
10450 PyErr_SetString(PyExc_TypeError
,"Variable SPIN_BUTTON_NAME is read-only.");
10455 static PyObject
*_wrap_SPIN_BUTTON_NAME_get() {
10460 pyobj
= PyUnicode_FromWideChar((&wxPySPIN_BUTTON_NAME
)->c_str(), (&wxPySPIN_BUTTON_NAME
)->Len());
10462 pyobj
= PyString_FromStringAndSize((&wxPySPIN_BUTTON_NAME
)->c_str(), (&wxPySPIN_BUTTON_NAME
)->Len());
10469 static int _wrap_SpinCtrlNameStr_set(PyObject
*_val
) {
10470 PyErr_SetString(PyExc_TypeError
,"Variable SpinCtrlNameStr is read-only.");
10475 static PyObject
*_wrap_SpinCtrlNameStr_get() {
10480 pyobj
= PyUnicode_FromWideChar((&wxPySpinCtrlNameStr
)->c_str(), (&wxPySpinCtrlNameStr
)->Len());
10482 pyobj
= PyString_FromStringAndSize((&wxPySpinCtrlNameStr
)->c_str(), (&wxPySpinCtrlNameStr
)->Len());
10489 static PyObject
*_wrap_new_SpinButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10490 PyObject
*resultobj
;
10491 wxWindow
*arg1
= (wxWindow
*) 0 ;
10492 int arg2
= (int) -1 ;
10493 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
10494 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
10495 wxSize
const &arg4_defvalue
= wxDefaultSize
;
10496 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
10497 long arg5
= (long) wxSP_HORIZONTAL
;
10498 wxString
const &arg6_defvalue
= wxPySPIN_BUTTON_NAME
;
10499 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
10500 wxSpinButton
*result
;
10503 bool temp6
= False
;
10504 PyObject
* obj0
= 0 ;
10505 PyObject
* obj1
= 0 ;
10506 PyObject
* obj2
= 0 ;
10507 PyObject
* obj3
= 0 ;
10508 PyObject
* obj4
= 0 ;
10509 PyObject
* obj5
= 0 ;
10510 char *kwnames
[] = {
10511 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10514 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_SpinButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
10515 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
10516 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10518 arg2
= (int) SWIG_AsInt(obj1
);
10519 if (PyErr_Occurred()) SWIG_fail
;
10524 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
10530 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
10534 arg5
= (long) SWIG_AsLong(obj4
);
10535 if (PyErr_Occurred()) SWIG_fail
;
10539 arg6
= wxString_in_helper(obj5
);
10540 if (arg6
== NULL
) SWIG_fail
;
10545 if (!wxPyCheckForApp()) SWIG_fail
;
10546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10547 result
= (wxSpinButton
*)new wxSpinButton(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
10549 wxPyEndAllowThreads(__tstate
);
10550 if (PyErr_Occurred()) SWIG_fail
;
10552 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSpinButton
, 1);
10567 static PyObject
*_wrap_new_PreSpinButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10568 PyObject
*resultobj
;
10569 wxSpinButton
*result
;
10570 char *kwnames
[] = {
10574 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSpinButton",kwnames
)) goto fail
;
10576 if (!wxPyCheckForApp()) SWIG_fail
;
10577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10578 result
= (wxSpinButton
*)new wxSpinButton();
10580 wxPyEndAllowThreads(__tstate
);
10581 if (PyErr_Occurred()) SWIG_fail
;
10583 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSpinButton
, 1);
10590 static PyObject
*_wrap_SpinButton_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10591 PyObject
*resultobj
;
10592 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
10593 wxWindow
*arg2
= (wxWindow
*) 0 ;
10594 int arg3
= (int) -1 ;
10595 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
10596 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
10597 wxSize
const &arg5_defvalue
= wxDefaultSize
;
10598 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
10599 long arg6
= (long) wxSP_HORIZONTAL
;
10600 wxString
const &arg7_defvalue
= wxPySPIN_BUTTON_NAME
;
10601 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
10605 bool temp7
= False
;
10606 PyObject
* obj0
= 0 ;
10607 PyObject
* obj1
= 0 ;
10608 PyObject
* obj2
= 0 ;
10609 PyObject
* obj3
= 0 ;
10610 PyObject
* obj4
= 0 ;
10611 PyObject
* obj5
= 0 ;
10612 PyObject
* obj6
= 0 ;
10613 char *kwnames
[] = {
10614 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10617 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:SpinButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
10618 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinButton
,
10619 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10620 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
10621 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10623 arg3
= (int) SWIG_AsInt(obj2
);
10624 if (PyErr_Occurred()) SWIG_fail
;
10629 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
10635 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
10639 arg6
= (long) SWIG_AsLong(obj5
);
10640 if (PyErr_Occurred()) SWIG_fail
;
10644 arg7
= wxString_in_helper(obj6
);
10645 if (arg7
== NULL
) SWIG_fail
;
10650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10651 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
10653 wxPyEndAllowThreads(__tstate
);
10654 if (PyErr_Occurred()) SWIG_fail
;
10657 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10673 static PyObject
*_wrap_SpinButton_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10674 PyObject
*resultobj
;
10675 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
10677 PyObject
* obj0
= 0 ;
10678 char *kwnames
[] = {
10679 (char *) "self", NULL
10682 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinButton_GetValue",kwnames
,&obj0
)) goto fail
;
10683 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinButton
,
10684 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10687 result
= (int)((wxSpinButton
const *)arg1
)->GetValue();
10689 wxPyEndAllowThreads(__tstate
);
10690 if (PyErr_Occurred()) SWIG_fail
;
10692 resultobj
= SWIG_FromInt((int)result
);
10699 static PyObject
*_wrap_SpinButton_GetMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10700 PyObject
*resultobj
;
10701 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
10703 PyObject
* obj0
= 0 ;
10704 char *kwnames
[] = {
10705 (char *) "self", NULL
10708 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinButton_GetMin",kwnames
,&obj0
)) goto fail
;
10709 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinButton
,
10710 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10713 result
= (int)((wxSpinButton
const *)arg1
)->GetMin();
10715 wxPyEndAllowThreads(__tstate
);
10716 if (PyErr_Occurred()) SWIG_fail
;
10718 resultobj
= SWIG_FromInt((int)result
);
10725 static PyObject
*_wrap_SpinButton_GetMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10726 PyObject
*resultobj
;
10727 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
10729 PyObject
* obj0
= 0 ;
10730 char *kwnames
[] = {
10731 (char *) "self", NULL
10734 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinButton_GetMax",kwnames
,&obj0
)) goto fail
;
10735 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinButton
,
10736 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10739 result
= (int)((wxSpinButton
const *)arg1
)->GetMax();
10741 wxPyEndAllowThreads(__tstate
);
10742 if (PyErr_Occurred()) SWIG_fail
;
10744 resultobj
= SWIG_FromInt((int)result
);
10751 static PyObject
*_wrap_SpinButton_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10752 PyObject
*resultobj
;
10753 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
10755 PyObject
* obj0
= 0 ;
10756 PyObject
* obj1
= 0 ;
10757 char *kwnames
[] = {
10758 (char *) "self",(char *) "val", NULL
10761 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinButton_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
10762 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinButton
,
10763 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10764 arg2
= (int) SWIG_AsInt(obj1
);
10765 if (PyErr_Occurred()) SWIG_fail
;
10767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10768 (arg1
)->SetValue(arg2
);
10770 wxPyEndAllowThreads(__tstate
);
10771 if (PyErr_Occurred()) SWIG_fail
;
10773 Py_INCREF(Py_None
); resultobj
= Py_None
;
10780 static PyObject
*_wrap_SpinButton_SetMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10781 PyObject
*resultobj
;
10782 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
10784 PyObject
* obj0
= 0 ;
10785 PyObject
* obj1
= 0 ;
10786 char *kwnames
[] = {
10787 (char *) "self",(char *) "minVal", NULL
10790 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinButton_SetMin",kwnames
,&obj0
,&obj1
)) goto fail
;
10791 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinButton
,
10792 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10793 arg2
= (int) SWIG_AsInt(obj1
);
10794 if (PyErr_Occurred()) SWIG_fail
;
10796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10797 (arg1
)->SetMin(arg2
);
10799 wxPyEndAllowThreads(__tstate
);
10800 if (PyErr_Occurred()) SWIG_fail
;
10802 Py_INCREF(Py_None
); resultobj
= Py_None
;
10809 static PyObject
*_wrap_SpinButton_SetMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10810 PyObject
*resultobj
;
10811 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
10813 PyObject
* obj0
= 0 ;
10814 PyObject
* obj1
= 0 ;
10815 char *kwnames
[] = {
10816 (char *) "self",(char *) "maxVal", NULL
10819 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinButton_SetMax",kwnames
,&obj0
,&obj1
)) goto fail
;
10820 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinButton
,
10821 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10822 arg2
= (int) SWIG_AsInt(obj1
);
10823 if (PyErr_Occurred()) SWIG_fail
;
10825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10826 (arg1
)->SetMax(arg2
);
10828 wxPyEndAllowThreads(__tstate
);
10829 if (PyErr_Occurred()) SWIG_fail
;
10831 Py_INCREF(Py_None
); resultobj
= Py_None
;
10838 static PyObject
*_wrap_SpinButton_SetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10839 PyObject
*resultobj
;
10840 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
10843 PyObject
* obj0
= 0 ;
10844 PyObject
* obj1
= 0 ;
10845 PyObject
* obj2
= 0 ;
10846 char *kwnames
[] = {
10847 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
10850 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SpinButton_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10851 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinButton
,
10852 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10853 arg2
= (int) SWIG_AsInt(obj1
);
10854 if (PyErr_Occurred()) SWIG_fail
;
10855 arg3
= (int) SWIG_AsInt(obj2
);
10856 if (PyErr_Occurred()) SWIG_fail
;
10858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10859 (arg1
)->SetRange(arg2
,arg3
);
10861 wxPyEndAllowThreads(__tstate
);
10862 if (PyErr_Occurred()) SWIG_fail
;
10864 Py_INCREF(Py_None
); resultobj
= Py_None
;
10871 static PyObject
*_wrap_SpinButton_IsVertical(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10872 PyObject
*resultobj
;
10873 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
10875 PyObject
* obj0
= 0 ;
10876 char *kwnames
[] = {
10877 (char *) "self", NULL
10880 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinButton_IsVertical",kwnames
,&obj0
)) goto fail
;
10881 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinButton
,
10882 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10885 result
= (bool)((wxSpinButton
const *)arg1
)->IsVertical();
10887 wxPyEndAllowThreads(__tstate
);
10888 if (PyErr_Occurred()) SWIG_fail
;
10891 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10899 static PyObject
*_wrap_SpinButton_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10900 PyObject
*resultobj
;
10901 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
10902 wxVisualAttributes result
;
10903 PyObject
* obj0
= 0 ;
10904 char *kwnames
[] = {
10905 (char *) "variant", NULL
10908 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:SpinButton_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
10910 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
10911 if (PyErr_Occurred()) SWIG_fail
;
10914 if (!wxPyCheckForApp()) SWIG_fail
;
10915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10916 result
= wxSpinButton::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
10918 wxPyEndAllowThreads(__tstate
);
10919 if (PyErr_Occurred()) SWIG_fail
;
10922 wxVisualAttributes
* resultptr
;
10923 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
10924 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
10932 static PyObject
* SpinButton_swigregister(PyObject
*self
, PyObject
*args
) {
10934 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10935 SWIG_TypeClientData(SWIGTYPE_p_wxSpinButton
, obj
);
10937 return Py_BuildValue((char *)"");
10939 static PyObject
*_wrap_new_SpinCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10940 PyObject
*resultobj
;
10941 wxWindow
*arg1
= (wxWindow
*) 0 ;
10942 int arg2
= (int) -1 ;
10943 wxString
const &arg3_defvalue
= wxPyEmptyString
;
10944 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
10945 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
10946 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
10947 wxSize
const &arg5_defvalue
= wxDefaultSize
;
10948 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
10949 long arg6
= (long) wxSP_ARROW_KEYS
;
10950 int arg7
= (int) 0 ;
10951 int arg8
= (int) 100 ;
10952 int arg9
= (int) 0 ;
10953 wxString
const &arg10_defvalue
= wxPySpinCtrlNameStr
;
10954 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
10955 wxSpinCtrl
*result
;
10956 bool temp3
= False
;
10959 bool temp10
= False
;
10960 PyObject
* obj0
= 0 ;
10961 PyObject
* obj1
= 0 ;
10962 PyObject
* obj2
= 0 ;
10963 PyObject
* obj3
= 0 ;
10964 PyObject
* obj4
= 0 ;
10965 PyObject
* obj5
= 0 ;
10966 PyObject
* obj6
= 0 ;
10967 PyObject
* obj7
= 0 ;
10968 PyObject
* obj8
= 0 ;
10969 PyObject
* obj9
= 0 ;
10970 char *kwnames
[] = {
10971 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
10974 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOOO:new_SpinCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
10975 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
10976 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10978 arg2
= (int) SWIG_AsInt(obj1
);
10979 if (PyErr_Occurred()) SWIG_fail
;
10983 arg3
= wxString_in_helper(obj2
);
10984 if (arg3
== NULL
) SWIG_fail
;
10991 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
10997 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
11001 arg6
= (long) SWIG_AsLong(obj5
);
11002 if (PyErr_Occurred()) SWIG_fail
;
11005 arg7
= (int) SWIG_AsInt(obj6
);
11006 if (PyErr_Occurred()) SWIG_fail
;
11009 arg8
= (int) SWIG_AsInt(obj7
);
11010 if (PyErr_Occurred()) SWIG_fail
;
11013 arg9
= (int) SWIG_AsInt(obj8
);
11014 if (PyErr_Occurred()) SWIG_fail
;
11018 arg10
= wxString_in_helper(obj9
);
11019 if (arg10
== NULL
) SWIG_fail
;
11024 if (!wxPyCheckForApp()) SWIG_fail
;
11025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11026 result
= (wxSpinCtrl
*)new wxSpinCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,arg7
,arg8
,arg9
,(wxString
const &)*arg10
);
11028 wxPyEndAllowThreads(__tstate
);
11029 if (PyErr_Occurred()) SWIG_fail
;
11031 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSpinCtrl
, 1);
11054 static PyObject
*_wrap_new_PreSpinCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11055 PyObject
*resultobj
;
11056 wxSpinCtrl
*result
;
11057 char *kwnames
[] = {
11061 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSpinCtrl",kwnames
)) goto fail
;
11063 if (!wxPyCheckForApp()) SWIG_fail
;
11064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11065 result
= (wxSpinCtrl
*)new wxSpinCtrl();
11067 wxPyEndAllowThreads(__tstate
);
11068 if (PyErr_Occurred()) SWIG_fail
;
11070 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSpinCtrl
, 1);
11077 static PyObject
*_wrap_SpinCtrl_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11078 PyObject
*resultobj
;
11079 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
11080 wxWindow
*arg2
= (wxWindow
*) 0 ;
11081 int arg3
= (int) -1 ;
11082 wxString
const &arg4_defvalue
= wxPyEmptyString
;
11083 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
11084 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
11085 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
11086 wxSize
const &arg6_defvalue
= wxDefaultSize
;
11087 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
11088 long arg7
= (long) wxSP_ARROW_KEYS
;
11089 int arg8
= (int) 0 ;
11090 int arg9
= (int) 100 ;
11091 int arg10
= (int) 0 ;
11092 wxString
const &arg11_defvalue
= wxPySpinCtrlNameStr
;
11093 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
11095 bool temp4
= False
;
11098 bool temp11
= False
;
11099 PyObject
* obj0
= 0 ;
11100 PyObject
* obj1
= 0 ;
11101 PyObject
* obj2
= 0 ;
11102 PyObject
* obj3
= 0 ;
11103 PyObject
* obj4
= 0 ;
11104 PyObject
* obj5
= 0 ;
11105 PyObject
* obj6
= 0 ;
11106 PyObject
* obj7
= 0 ;
11107 PyObject
* obj8
= 0 ;
11108 PyObject
* obj9
= 0 ;
11109 PyObject
* obj10
= 0 ;
11110 char *kwnames
[] = {
11111 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
11114 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOOO:SpinCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) goto fail
;
11115 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinCtrl
,
11116 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11117 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
11118 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11120 arg3
= (int) SWIG_AsInt(obj2
);
11121 if (PyErr_Occurred()) SWIG_fail
;
11125 arg4
= wxString_in_helper(obj3
);
11126 if (arg4
== NULL
) SWIG_fail
;
11133 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
11139 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
11143 arg7
= (long) SWIG_AsLong(obj6
);
11144 if (PyErr_Occurred()) SWIG_fail
;
11147 arg8
= (int) SWIG_AsInt(obj7
);
11148 if (PyErr_Occurred()) SWIG_fail
;
11151 arg9
= (int) SWIG_AsInt(obj8
);
11152 if (PyErr_Occurred()) SWIG_fail
;
11155 arg10
= (int) SWIG_AsInt(obj9
);
11156 if (PyErr_Occurred()) SWIG_fail
;
11160 arg11
= wxString_in_helper(obj10
);
11161 if (arg11
== NULL
) SWIG_fail
;
11166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11167 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,arg8
,arg9
,arg10
,(wxString
const &)*arg11
);
11169 wxPyEndAllowThreads(__tstate
);
11170 if (PyErr_Occurred()) SWIG_fail
;
11173 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11197 static PyObject
*_wrap_SpinCtrl_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11198 PyObject
*resultobj
;
11199 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
11201 PyObject
* obj0
= 0 ;
11202 char *kwnames
[] = {
11203 (char *) "self", NULL
11206 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinCtrl_GetValue",kwnames
,&obj0
)) goto fail
;
11207 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinCtrl
,
11208 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11211 result
= (int)((wxSpinCtrl
const *)arg1
)->GetValue();
11213 wxPyEndAllowThreads(__tstate
);
11214 if (PyErr_Occurred()) SWIG_fail
;
11216 resultobj
= SWIG_FromInt((int)result
);
11223 static PyObject
*_wrap_SpinCtrl_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11224 PyObject
*resultobj
;
11225 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
11227 PyObject
* obj0
= 0 ;
11228 PyObject
* obj1
= 0 ;
11229 char *kwnames
[] = {
11230 (char *) "self",(char *) "value", NULL
11233 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinCtrl_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
11234 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinCtrl
,
11235 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11236 arg2
= (int) SWIG_AsInt(obj1
);
11237 if (PyErr_Occurred()) SWIG_fail
;
11239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11240 (arg1
)->SetValue(arg2
);
11242 wxPyEndAllowThreads(__tstate
);
11243 if (PyErr_Occurred()) SWIG_fail
;
11245 Py_INCREF(Py_None
); resultobj
= Py_None
;
11252 static PyObject
*_wrap_SpinCtrl_SetValueString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11253 PyObject
*resultobj
;
11254 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
11255 wxString
*arg2
= 0 ;
11256 bool temp2
= False
;
11257 PyObject
* obj0
= 0 ;
11258 PyObject
* obj1
= 0 ;
11259 char *kwnames
[] = {
11260 (char *) "self",(char *) "text", NULL
11263 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinCtrl_SetValueString",kwnames
,&obj0
,&obj1
)) goto fail
;
11264 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinCtrl
,
11265 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11267 arg2
= wxString_in_helper(obj1
);
11268 if (arg2
== NULL
) SWIG_fail
;
11272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11273 (arg1
)->SetValue((wxString
const &)*arg2
);
11275 wxPyEndAllowThreads(__tstate
);
11276 if (PyErr_Occurred()) SWIG_fail
;
11278 Py_INCREF(Py_None
); resultobj
= Py_None
;
11293 static PyObject
*_wrap_SpinCtrl_SetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11294 PyObject
*resultobj
;
11295 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
11298 PyObject
* obj0
= 0 ;
11299 PyObject
* obj1
= 0 ;
11300 PyObject
* obj2
= 0 ;
11301 char *kwnames
[] = {
11302 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
11305 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SpinCtrl_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11306 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinCtrl
,
11307 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11308 arg2
= (int) SWIG_AsInt(obj1
);
11309 if (PyErr_Occurred()) SWIG_fail
;
11310 arg3
= (int) SWIG_AsInt(obj2
);
11311 if (PyErr_Occurred()) SWIG_fail
;
11313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11314 (arg1
)->SetRange(arg2
,arg3
);
11316 wxPyEndAllowThreads(__tstate
);
11317 if (PyErr_Occurred()) SWIG_fail
;
11319 Py_INCREF(Py_None
); resultobj
= Py_None
;
11326 static PyObject
*_wrap_SpinCtrl_GetMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11327 PyObject
*resultobj
;
11328 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
11330 PyObject
* obj0
= 0 ;
11331 char *kwnames
[] = {
11332 (char *) "self", NULL
11335 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinCtrl_GetMin",kwnames
,&obj0
)) goto fail
;
11336 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinCtrl
,
11337 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11340 result
= (int)((wxSpinCtrl
const *)arg1
)->GetMin();
11342 wxPyEndAllowThreads(__tstate
);
11343 if (PyErr_Occurred()) SWIG_fail
;
11345 resultobj
= SWIG_FromInt((int)result
);
11352 static PyObject
*_wrap_SpinCtrl_GetMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11353 PyObject
*resultobj
;
11354 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
11356 PyObject
* obj0
= 0 ;
11357 char *kwnames
[] = {
11358 (char *) "self", NULL
11361 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinCtrl_GetMax",kwnames
,&obj0
)) goto fail
;
11362 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinCtrl
,
11363 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11366 result
= (int)((wxSpinCtrl
const *)arg1
)->GetMax();
11368 wxPyEndAllowThreads(__tstate
);
11369 if (PyErr_Occurred()) SWIG_fail
;
11371 resultobj
= SWIG_FromInt((int)result
);
11378 static PyObject
*_wrap_SpinCtrl_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11379 PyObject
*resultobj
;
11380 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
11383 PyObject
* obj0
= 0 ;
11384 PyObject
* obj1
= 0 ;
11385 PyObject
* obj2
= 0 ;
11386 char *kwnames
[] = {
11387 (char *) "self",(char *) "from",(char *) "to", NULL
11390 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SpinCtrl_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11391 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinCtrl
,
11392 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11393 arg2
= (long) SWIG_AsLong(obj1
);
11394 if (PyErr_Occurred()) SWIG_fail
;
11395 arg3
= (long) SWIG_AsLong(obj2
);
11396 if (PyErr_Occurred()) SWIG_fail
;
11398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11399 (arg1
)->SetSelection(arg2
,arg3
);
11401 wxPyEndAllowThreads(__tstate
);
11402 if (PyErr_Occurred()) SWIG_fail
;
11404 Py_INCREF(Py_None
); resultobj
= Py_None
;
11411 static PyObject
*_wrap_SpinCtrl_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11412 PyObject
*resultobj
;
11413 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
11414 wxVisualAttributes result
;
11415 PyObject
* obj0
= 0 ;
11416 char *kwnames
[] = {
11417 (char *) "variant", NULL
11420 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:SpinCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
11422 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
11423 if (PyErr_Occurred()) SWIG_fail
;
11426 if (!wxPyCheckForApp()) SWIG_fail
;
11427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11428 result
= wxSpinCtrl::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
11430 wxPyEndAllowThreads(__tstate
);
11431 if (PyErr_Occurred()) SWIG_fail
;
11434 wxVisualAttributes
* resultptr
;
11435 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
11436 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
11444 static PyObject
* SpinCtrl_swigregister(PyObject
*self
, PyObject
*args
) {
11446 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11447 SWIG_TypeClientData(SWIGTYPE_p_wxSpinCtrl
, obj
);
11449 return Py_BuildValue((char *)"");
11451 static PyObject
*_wrap_new_SpinEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11452 PyObject
*resultobj
;
11453 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
11454 int arg2
= (int) 0 ;
11455 wxSpinEvent
*result
;
11456 PyObject
* obj0
= 0 ;
11457 PyObject
* obj1
= 0 ;
11458 char *kwnames
[] = {
11459 (char *) "commandType",(char *) "winid", NULL
11462 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SpinEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
11464 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
11465 if (PyErr_Occurred()) SWIG_fail
;
11468 arg2
= (int) SWIG_AsInt(obj1
);
11469 if (PyErr_Occurred()) SWIG_fail
;
11472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11473 result
= (wxSpinEvent
*)new wxSpinEvent(arg1
,arg2
);
11475 wxPyEndAllowThreads(__tstate
);
11476 if (PyErr_Occurred()) SWIG_fail
;
11478 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSpinEvent
, 1);
11485 static PyObject
*_wrap_SpinEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11486 PyObject
*resultobj
;
11487 wxSpinEvent
*arg1
= (wxSpinEvent
*) 0 ;
11489 PyObject
* obj0
= 0 ;
11490 char *kwnames
[] = {
11491 (char *) "self", NULL
11494 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
11495 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinEvent
,
11496 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11499 result
= (int)((wxSpinEvent
const *)arg1
)->GetPosition();
11501 wxPyEndAllowThreads(__tstate
);
11502 if (PyErr_Occurred()) SWIG_fail
;
11504 resultobj
= SWIG_FromInt((int)result
);
11511 static PyObject
*_wrap_SpinEvent_SetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11512 PyObject
*resultobj
;
11513 wxSpinEvent
*arg1
= (wxSpinEvent
*) 0 ;
11515 PyObject
* obj0
= 0 ;
11516 PyObject
* obj1
= 0 ;
11517 char *kwnames
[] = {
11518 (char *) "self",(char *) "pos", NULL
11521 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
11522 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinEvent
,
11523 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11524 arg2
= (int) SWIG_AsInt(obj1
);
11525 if (PyErr_Occurred()) SWIG_fail
;
11527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11528 (arg1
)->SetPosition(arg2
);
11530 wxPyEndAllowThreads(__tstate
);
11531 if (PyErr_Occurred()) SWIG_fail
;
11533 Py_INCREF(Py_None
); resultobj
= Py_None
;
11540 static PyObject
* SpinEvent_swigregister(PyObject
*self
, PyObject
*args
) {
11542 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11543 SWIG_TypeClientData(SWIGTYPE_p_wxSpinEvent
, obj
);
11545 return Py_BuildValue((char *)"");
11547 static int _wrap_RadioBoxNameStr_set(PyObject
*_val
) {
11548 PyErr_SetString(PyExc_TypeError
,"Variable RadioBoxNameStr is read-only.");
11553 static PyObject
*_wrap_RadioBoxNameStr_get() {
11558 pyobj
= PyUnicode_FromWideChar((&wxPyRadioBoxNameStr
)->c_str(), (&wxPyRadioBoxNameStr
)->Len());
11560 pyobj
= PyString_FromStringAndSize((&wxPyRadioBoxNameStr
)->c_str(), (&wxPyRadioBoxNameStr
)->Len());
11567 static int _wrap_RadioButtonNameStr_set(PyObject
*_val
) {
11568 PyErr_SetString(PyExc_TypeError
,"Variable RadioButtonNameStr is read-only.");
11573 static PyObject
*_wrap_RadioButtonNameStr_get() {
11578 pyobj
= PyUnicode_FromWideChar((&wxPyRadioButtonNameStr
)->c_str(), (&wxPyRadioButtonNameStr
)->Len());
11580 pyobj
= PyString_FromStringAndSize((&wxPyRadioButtonNameStr
)->c_str(), (&wxPyRadioButtonNameStr
)->Len());
11587 static PyObject
*_wrap_new_RadioBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11588 PyObject
*resultobj
;
11589 wxWindow
*arg1
= (wxWindow
*) 0 ;
11590 int arg2
= (int) -1 ;
11591 wxString
const &arg3_defvalue
= wxPyEmptyString
;
11592 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
11593 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
11594 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
11595 wxSize
const &arg5_defvalue
= wxDefaultSize
;
11596 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
11597 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
11598 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
11599 int arg7
= (int) 0 ;
11600 long arg8
= (long) wxRA_HORIZONTAL
;
11601 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
11602 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
11603 wxString
const &arg10_defvalue
= wxPyRadioBoxNameStr
;
11604 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
11605 wxRadioBox
*result
;
11606 bool temp3
= False
;
11609 bool temp6
= False
;
11610 bool temp10
= False
;
11611 PyObject
* obj0
= 0 ;
11612 PyObject
* obj1
= 0 ;
11613 PyObject
* obj2
= 0 ;
11614 PyObject
* obj3
= 0 ;
11615 PyObject
* obj4
= 0 ;
11616 PyObject
* obj5
= 0 ;
11617 PyObject
* obj6
= 0 ;
11618 PyObject
* obj7
= 0 ;
11619 PyObject
* obj8
= 0 ;
11620 PyObject
* obj9
= 0 ;
11621 char *kwnames
[] = {
11622 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
11625 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOOO:new_RadioBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
11626 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
11627 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11629 arg2
= (int) SWIG_AsInt(obj1
);
11630 if (PyErr_Occurred()) SWIG_fail
;
11634 arg3
= wxString_in_helper(obj2
);
11635 if (arg3
== NULL
) SWIG_fail
;
11642 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
11648 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
11653 if (! PySequence_Check(obj5
)) {
11654 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
11657 arg6
= new wxArrayString
;
11659 int i
, len
=PySequence_Length(obj5
);
11660 for (i
=0; i
<len
; i
++) {
11661 PyObject
* item
= PySequence_GetItem(obj5
, i
);
11663 PyObject
* str
= PyObject_Unicode(item
);
11665 PyObject
* str
= PyObject_Str(item
);
11667 if (PyErr_Occurred()) SWIG_fail
;
11668 arg6
->Add(Py2wxString(str
));
11675 arg7
= (int) SWIG_AsInt(obj6
);
11676 if (PyErr_Occurred()) SWIG_fail
;
11679 arg8
= (long) SWIG_AsLong(obj7
);
11680 if (PyErr_Occurred()) SWIG_fail
;
11683 if ((SWIG_ConvertPtr(obj8
,(void **)(&arg9
),SWIGTYPE_p_wxValidator
,
11684 SWIG_POINTER_EXCEPTION
| 0)) == -1)
11686 if (arg9
== NULL
) {
11687 PyErr_SetString(PyExc_TypeError
,"null reference");
11693 arg10
= wxString_in_helper(obj9
);
11694 if (arg10
== NULL
) SWIG_fail
;
11699 if (!wxPyCheckForApp()) SWIG_fail
;
11700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11701 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
);
11703 wxPyEndAllowThreads(__tstate
);
11704 if (PyErr_Occurred()) SWIG_fail
;
11706 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRadioBox
, 1);
11712 if (temp6
) delete arg6
;
11725 if (temp6
) delete arg6
;
11735 static PyObject
*_wrap_new_PreRadioBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11736 PyObject
*resultobj
;
11737 wxRadioBox
*result
;
11738 char *kwnames
[] = {
11742 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreRadioBox",kwnames
)) goto fail
;
11744 if (!wxPyCheckForApp()) SWIG_fail
;
11745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11746 result
= (wxRadioBox
*)new wxRadioBox();
11748 wxPyEndAllowThreads(__tstate
);
11749 if (PyErr_Occurred()) SWIG_fail
;
11751 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRadioBox
, 1);
11758 static PyObject
*_wrap_RadioBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11759 PyObject
*resultobj
;
11760 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
11761 wxWindow
*arg2
= (wxWindow
*) 0 ;
11762 int arg3
= (int) -1 ;
11763 wxString
const &arg4_defvalue
= wxPyEmptyString
;
11764 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
11765 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
11766 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
11767 wxSize
const &arg6_defvalue
= wxDefaultSize
;
11768 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
11769 wxArrayString
const &arg7_defvalue
= wxPyEmptyStringArray
;
11770 wxArrayString
*arg7
= (wxArrayString
*) &arg7_defvalue
;
11771 int arg8
= (int) 0 ;
11772 long arg9
= (long) wxRA_HORIZONTAL
;
11773 wxValidator
const &arg10_defvalue
= wxDefaultValidator
;
11774 wxValidator
*arg10
= (wxValidator
*) &arg10_defvalue
;
11775 wxString
const &arg11_defvalue
= wxPyRadioBoxNameStr
;
11776 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
11778 bool temp4
= False
;
11781 bool temp7
= False
;
11782 bool temp11
= False
;
11783 PyObject
* obj0
= 0 ;
11784 PyObject
* obj1
= 0 ;
11785 PyObject
* obj2
= 0 ;
11786 PyObject
* obj3
= 0 ;
11787 PyObject
* obj4
= 0 ;
11788 PyObject
* obj5
= 0 ;
11789 PyObject
* obj6
= 0 ;
11790 PyObject
* obj7
= 0 ;
11791 PyObject
* obj8
= 0 ;
11792 PyObject
* obj9
= 0 ;
11793 PyObject
* obj10
= 0 ;
11794 char *kwnames
[] = {
11795 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
11798 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOOO:RadioBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) goto fail
;
11799 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
11800 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11801 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
11802 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11804 arg3
= (int) SWIG_AsInt(obj2
);
11805 if (PyErr_Occurred()) SWIG_fail
;
11809 arg4
= wxString_in_helper(obj3
);
11810 if (arg4
== NULL
) SWIG_fail
;
11817 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
11823 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
11828 if (! PySequence_Check(obj6
)) {
11829 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
11832 arg7
= new wxArrayString
;
11834 int i
, len
=PySequence_Length(obj6
);
11835 for (i
=0; i
<len
; i
++) {
11836 PyObject
* item
= PySequence_GetItem(obj6
, i
);
11838 PyObject
* str
= PyObject_Unicode(item
);
11840 PyObject
* str
= PyObject_Str(item
);
11842 if (PyErr_Occurred()) SWIG_fail
;
11843 arg7
->Add(Py2wxString(str
));
11850 arg8
= (int) SWIG_AsInt(obj7
);
11851 if (PyErr_Occurred()) SWIG_fail
;
11854 arg9
= (long) SWIG_AsLong(obj8
);
11855 if (PyErr_Occurred()) SWIG_fail
;
11858 if ((SWIG_ConvertPtr(obj9
,(void **)(&arg10
),SWIGTYPE_p_wxValidator
,
11859 SWIG_POINTER_EXCEPTION
| 0)) == -1)
11861 if (arg10
== NULL
) {
11862 PyErr_SetString(PyExc_TypeError
,"null reference");
11868 arg11
= wxString_in_helper(obj10
);
11869 if (arg11
== NULL
) SWIG_fail
;
11874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11875 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
);
11877 wxPyEndAllowThreads(__tstate
);
11878 if (PyErr_Occurred()) SWIG_fail
;
11881 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11888 if (temp7
) delete arg7
;
11901 if (temp7
) delete arg7
;
11911 static PyObject
*_wrap_RadioBox_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11912 PyObject
*resultobj
;
11913 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
11915 PyObject
* obj0
= 0 ;
11916 PyObject
* obj1
= 0 ;
11917 char *kwnames
[] = {
11918 (char *) "self",(char *) "n", NULL
11921 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
11922 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
11923 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11924 arg2
= (int) SWIG_AsInt(obj1
);
11925 if (PyErr_Occurred()) SWIG_fail
;
11927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11928 (arg1
)->SetSelection(arg2
);
11930 wxPyEndAllowThreads(__tstate
);
11931 if (PyErr_Occurred()) SWIG_fail
;
11933 Py_INCREF(Py_None
); resultobj
= Py_None
;
11940 static PyObject
*_wrap_RadioBox_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11941 PyObject
*resultobj
;
11942 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
11944 PyObject
* obj0
= 0 ;
11945 char *kwnames
[] = {
11946 (char *) "self", NULL
11949 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetSelection",kwnames
,&obj0
)) goto fail
;
11950 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
11951 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11954 result
= (int)((wxRadioBox
const *)arg1
)->GetSelection();
11956 wxPyEndAllowThreads(__tstate
);
11957 if (PyErr_Occurred()) SWIG_fail
;
11959 resultobj
= SWIG_FromInt((int)result
);
11966 static PyObject
*_wrap_RadioBox_GetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11967 PyObject
*resultobj
;
11968 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
11970 PyObject
* obj0
= 0 ;
11971 char *kwnames
[] = {
11972 (char *) "self", NULL
11975 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetStringSelection",kwnames
,&obj0
)) goto fail
;
11976 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
11977 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11980 result
= ((wxRadioBox
const *)arg1
)->GetStringSelection();
11982 wxPyEndAllowThreads(__tstate
);
11983 if (PyErr_Occurred()) SWIG_fail
;
11987 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11989 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11998 static PyObject
*_wrap_RadioBox_SetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11999 PyObject
*resultobj
;
12000 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
12001 wxString
*arg2
= 0 ;
12003 bool temp2
= False
;
12004 PyObject
* obj0
= 0 ;
12005 PyObject
* obj1
= 0 ;
12006 char *kwnames
[] = {
12007 (char *) "self",(char *) "s", NULL
12010 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_SetStringSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
12011 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
12012 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12014 arg2
= wxString_in_helper(obj1
);
12015 if (arg2
== NULL
) SWIG_fail
;
12019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12020 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
);
12022 wxPyEndAllowThreads(__tstate
);
12023 if (PyErr_Occurred()) SWIG_fail
;
12026 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12042 static PyObject
*_wrap_RadioBox_GetCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12043 PyObject
*resultobj
;
12044 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
12046 PyObject
* obj0
= 0 ;
12047 char *kwnames
[] = {
12048 (char *) "self", NULL
12051 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetCount",kwnames
,&obj0
)) goto fail
;
12052 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
12053 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12056 result
= (int)((wxRadioBox
const *)arg1
)->GetCount();
12058 wxPyEndAllowThreads(__tstate
);
12059 if (PyErr_Occurred()) SWIG_fail
;
12061 resultobj
= SWIG_FromInt((int)result
);
12068 static PyObject
*_wrap_RadioBox_FindString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12069 PyObject
*resultobj
;
12070 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
12071 wxString
*arg2
= 0 ;
12073 bool temp2
= False
;
12074 PyObject
* obj0
= 0 ;
12075 PyObject
* obj1
= 0 ;
12076 char *kwnames
[] = {
12077 (char *) "self",(char *) "s", NULL
12080 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_FindString",kwnames
,&obj0
,&obj1
)) goto fail
;
12081 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
12082 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12084 arg2
= wxString_in_helper(obj1
);
12085 if (arg2
== NULL
) SWIG_fail
;
12089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12090 result
= (int)((wxRadioBox
const *)arg1
)->FindString((wxString
const &)*arg2
);
12092 wxPyEndAllowThreads(__tstate
);
12093 if (PyErr_Occurred()) SWIG_fail
;
12095 resultobj
= SWIG_FromInt((int)result
);
12110 static PyObject
*_wrap_RadioBox_GetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12111 PyObject
*resultobj
;
12112 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
12115 PyObject
* obj0
= 0 ;
12116 PyObject
* obj1
= 0 ;
12117 char *kwnames
[] = {
12118 (char *) "self",(char *) "n", NULL
12121 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_GetString",kwnames
,&obj0
,&obj1
)) goto fail
;
12122 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
12123 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12124 arg2
= (int) SWIG_AsInt(obj1
);
12125 if (PyErr_Occurred()) SWIG_fail
;
12127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12128 result
= ((wxRadioBox
const *)arg1
)->GetString(arg2
);
12130 wxPyEndAllowThreads(__tstate
);
12131 if (PyErr_Occurred()) SWIG_fail
;
12135 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12137 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12146 static PyObject
*_wrap_RadioBox_SetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12147 PyObject
*resultobj
;
12148 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
12150 wxString
*arg3
= 0 ;
12151 bool temp3
= False
;
12152 PyObject
* obj0
= 0 ;
12153 PyObject
* obj1
= 0 ;
12154 PyObject
* obj2
= 0 ;
12155 char *kwnames
[] = {
12156 (char *) "self",(char *) "n",(char *) "label", NULL
12159 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:RadioBox_SetString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12160 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
12161 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12162 arg2
= (int) SWIG_AsInt(obj1
);
12163 if (PyErr_Occurred()) SWIG_fail
;
12165 arg3
= wxString_in_helper(obj2
);
12166 if (arg3
== NULL
) SWIG_fail
;
12170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12171 (arg1
)->SetString(arg2
,(wxString
const &)*arg3
);
12173 wxPyEndAllowThreads(__tstate
);
12174 if (PyErr_Occurred()) SWIG_fail
;
12176 Py_INCREF(Py_None
); resultobj
= Py_None
;
12191 static PyObject
*_wrap_RadioBox_EnableItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12192 PyObject
*resultobj
;
12193 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
12195 bool arg3
= (bool) True
;
12196 PyObject
* obj0
= 0 ;
12197 PyObject
* obj1
= 0 ;
12198 PyObject
* obj2
= 0 ;
12199 char *kwnames
[] = {
12200 (char *) "self",(char *) "n",(char *) "enable", NULL
12203 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:RadioBox_EnableItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12204 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
12205 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12206 arg2
= (int) SWIG_AsInt(obj1
);
12207 if (PyErr_Occurred()) SWIG_fail
;
12209 arg3
= (bool) SWIG_AsBool(obj2
);
12210 if (PyErr_Occurred()) SWIG_fail
;
12213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12214 (arg1
)->Enable(arg2
,arg3
);
12216 wxPyEndAllowThreads(__tstate
);
12217 if (PyErr_Occurred()) SWIG_fail
;
12219 Py_INCREF(Py_None
); resultobj
= Py_None
;
12226 static PyObject
*_wrap_RadioBox_ShowItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12227 PyObject
*resultobj
;
12228 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
12230 bool arg3
= (bool) True
;
12231 PyObject
* obj0
= 0 ;
12232 PyObject
* obj1
= 0 ;
12233 PyObject
* obj2
= 0 ;
12234 char *kwnames
[] = {
12235 (char *) "self",(char *) "n",(char *) "show", NULL
12238 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:RadioBox_ShowItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12239 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
12240 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12241 arg2
= (int) SWIG_AsInt(obj1
);
12242 if (PyErr_Occurred()) SWIG_fail
;
12244 arg3
= (bool) SWIG_AsBool(obj2
);
12245 if (PyErr_Occurred()) SWIG_fail
;
12248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12249 (arg1
)->Show(arg2
,arg3
);
12251 wxPyEndAllowThreads(__tstate
);
12252 if (PyErr_Occurred()) SWIG_fail
;
12254 Py_INCREF(Py_None
); resultobj
= Py_None
;
12261 static PyObject
*_wrap_RadioBox_GetColumnCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12262 PyObject
*resultobj
;
12263 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
12265 PyObject
* obj0
= 0 ;
12266 char *kwnames
[] = {
12267 (char *) "self", NULL
12270 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetColumnCount",kwnames
,&obj0
)) goto fail
;
12271 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
12272 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12275 result
= (int)((wxRadioBox
const *)arg1
)->GetColumnCount();
12277 wxPyEndAllowThreads(__tstate
);
12278 if (PyErr_Occurred()) SWIG_fail
;
12280 resultobj
= SWIG_FromInt((int)result
);
12287 static PyObject
*_wrap_RadioBox_GetRowCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12288 PyObject
*resultobj
;
12289 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
12291 PyObject
* obj0
= 0 ;
12292 char *kwnames
[] = {
12293 (char *) "self", NULL
12296 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetRowCount",kwnames
,&obj0
)) goto fail
;
12297 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
12298 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12301 result
= (int)((wxRadioBox
const *)arg1
)->GetRowCount();
12303 wxPyEndAllowThreads(__tstate
);
12304 if (PyErr_Occurred()) SWIG_fail
;
12306 resultobj
= SWIG_FromInt((int)result
);
12313 static PyObject
*_wrap_RadioBox_GetNextItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12314 PyObject
*resultobj
;
12315 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
12320 PyObject
* obj0
= 0 ;
12321 PyObject
* obj1
= 0 ;
12322 PyObject
* obj2
= 0 ;
12323 PyObject
* obj3
= 0 ;
12324 char *kwnames
[] = {
12325 (char *) "self",(char *) "item",(char *) "dir",(char *) "style", NULL
12328 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:RadioBox_GetNextItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
12329 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
12330 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12331 arg2
= (int) SWIG_AsInt(obj1
);
12332 if (PyErr_Occurred()) SWIG_fail
;
12333 arg3
= (wxDirection
) SWIG_AsInt(obj2
);
12334 if (PyErr_Occurred()) SWIG_fail
;
12335 arg4
= (long) SWIG_AsLong(obj3
);
12336 if (PyErr_Occurred()) SWIG_fail
;
12338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12339 result
= (int)((wxRadioBox
const *)arg1
)->GetNextItem(arg2
,(wxDirection
)arg3
,arg4
);
12341 wxPyEndAllowThreads(__tstate
);
12342 if (PyErr_Occurred()) SWIG_fail
;
12344 resultobj
= SWIG_FromInt((int)result
);
12351 static PyObject
*_wrap_RadioBox_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12352 PyObject
*resultobj
;
12353 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
12354 wxVisualAttributes result
;
12355 PyObject
* obj0
= 0 ;
12356 char *kwnames
[] = {
12357 (char *) "variant", NULL
12360 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:RadioBox_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
12362 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
12363 if (PyErr_Occurred()) SWIG_fail
;
12366 if (!wxPyCheckForApp()) SWIG_fail
;
12367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12368 result
= wxRadioBox::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
12370 wxPyEndAllowThreads(__tstate
);
12371 if (PyErr_Occurred()) SWIG_fail
;
12374 wxVisualAttributes
* resultptr
;
12375 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
12376 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
12384 static PyObject
* RadioBox_swigregister(PyObject
*self
, PyObject
*args
) {
12386 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12387 SWIG_TypeClientData(SWIGTYPE_p_wxRadioBox
, obj
);
12389 return Py_BuildValue((char *)"");
12391 static PyObject
*_wrap_new_RadioButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12392 PyObject
*resultobj
;
12393 wxWindow
*arg1
= (wxWindow
*) 0 ;
12394 int arg2
= (int) -1 ;
12395 wxString
const &arg3_defvalue
= wxPyEmptyString
;
12396 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
12397 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
12398 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
12399 wxSize
const &arg5_defvalue
= wxDefaultSize
;
12400 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
12401 long arg6
= (long) 0 ;
12402 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
12403 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
12404 wxString
const &arg8_defvalue
= wxPyRadioButtonNameStr
;
12405 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
12406 wxRadioButton
*result
;
12407 bool temp3
= False
;
12410 bool temp8
= False
;
12411 PyObject
* obj0
= 0 ;
12412 PyObject
* obj1
= 0 ;
12413 PyObject
* obj2
= 0 ;
12414 PyObject
* obj3
= 0 ;
12415 PyObject
* obj4
= 0 ;
12416 PyObject
* obj5
= 0 ;
12417 PyObject
* obj6
= 0 ;
12418 PyObject
* obj7
= 0 ;
12419 char *kwnames
[] = {
12420 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
12423 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_RadioButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
12424 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
12425 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12427 arg2
= (int) SWIG_AsInt(obj1
);
12428 if (PyErr_Occurred()) SWIG_fail
;
12432 arg3
= wxString_in_helper(obj2
);
12433 if (arg3
== NULL
) SWIG_fail
;
12440 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
12446 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
12450 arg6
= (long) SWIG_AsLong(obj5
);
12451 if (PyErr_Occurred()) SWIG_fail
;
12454 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
12455 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12457 if (arg7
== NULL
) {
12458 PyErr_SetString(PyExc_TypeError
,"null reference");
12464 arg8
= wxString_in_helper(obj7
);
12465 if (arg8
== NULL
) SWIG_fail
;
12470 if (!wxPyCheckForApp()) SWIG_fail
;
12471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12472 result
= (wxRadioButton
*)new wxRadioButton(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
12474 wxPyEndAllowThreads(__tstate
);
12475 if (PyErr_Occurred()) SWIG_fail
;
12477 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRadioButton
, 1);
12500 static PyObject
*_wrap_new_PreRadioButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12501 PyObject
*resultobj
;
12502 wxRadioButton
*result
;
12503 char *kwnames
[] = {
12507 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreRadioButton",kwnames
)) goto fail
;
12509 if (!wxPyCheckForApp()) SWIG_fail
;
12510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12511 result
= (wxRadioButton
*)new wxRadioButton();
12513 wxPyEndAllowThreads(__tstate
);
12514 if (PyErr_Occurred()) SWIG_fail
;
12516 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRadioButton
, 1);
12523 static PyObject
*_wrap_RadioButton_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12524 PyObject
*resultobj
;
12525 wxRadioButton
*arg1
= (wxRadioButton
*) 0 ;
12526 wxWindow
*arg2
= (wxWindow
*) 0 ;
12527 int arg3
= (int) -1 ;
12528 wxString
const &arg4_defvalue
= wxPyEmptyString
;
12529 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
12530 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
12531 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
12532 wxSize
const &arg6_defvalue
= wxDefaultSize
;
12533 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
12534 long arg7
= (long) 0 ;
12535 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
12536 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
12537 wxString
const &arg9_defvalue
= wxPyRadioButtonNameStr
;
12538 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
12540 bool temp4
= False
;
12543 bool temp9
= False
;
12544 PyObject
* obj0
= 0 ;
12545 PyObject
* obj1
= 0 ;
12546 PyObject
* obj2
= 0 ;
12547 PyObject
* obj3
= 0 ;
12548 PyObject
* obj4
= 0 ;
12549 PyObject
* obj5
= 0 ;
12550 PyObject
* obj6
= 0 ;
12551 PyObject
* obj7
= 0 ;
12552 PyObject
* obj8
= 0 ;
12553 char *kwnames
[] = {
12554 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
12557 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:RadioButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
12558 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioButton
,
12559 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12560 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
12561 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12563 arg3
= (int) SWIG_AsInt(obj2
);
12564 if (PyErr_Occurred()) SWIG_fail
;
12568 arg4
= wxString_in_helper(obj3
);
12569 if (arg4
== NULL
) SWIG_fail
;
12576 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
12582 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
12586 arg7
= (long) SWIG_AsLong(obj6
);
12587 if (PyErr_Occurred()) SWIG_fail
;
12590 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
12591 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12593 if (arg8
== NULL
) {
12594 PyErr_SetString(PyExc_TypeError
,"null reference");
12600 arg9
= wxString_in_helper(obj8
);
12601 if (arg9
== NULL
) SWIG_fail
;
12606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12607 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
12609 wxPyEndAllowThreads(__tstate
);
12610 if (PyErr_Occurred()) SWIG_fail
;
12613 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12637 static PyObject
*_wrap_RadioButton_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12638 PyObject
*resultobj
;
12639 wxRadioButton
*arg1
= (wxRadioButton
*) 0 ;
12641 PyObject
* obj0
= 0 ;
12642 char *kwnames
[] = {
12643 (char *) "self", NULL
12646 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioButton_GetValue",kwnames
,&obj0
)) goto fail
;
12647 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioButton
,
12648 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12651 result
= (bool)(arg1
)->GetValue();
12653 wxPyEndAllowThreads(__tstate
);
12654 if (PyErr_Occurred()) SWIG_fail
;
12657 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12665 static PyObject
*_wrap_RadioButton_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12666 PyObject
*resultobj
;
12667 wxRadioButton
*arg1
= (wxRadioButton
*) 0 ;
12669 PyObject
* obj0
= 0 ;
12670 PyObject
* obj1
= 0 ;
12671 char *kwnames
[] = {
12672 (char *) "self",(char *) "value", NULL
12675 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioButton_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
12676 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioButton
,
12677 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12678 arg2
= (bool) SWIG_AsBool(obj1
);
12679 if (PyErr_Occurred()) SWIG_fail
;
12681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12682 (arg1
)->SetValue(arg2
);
12684 wxPyEndAllowThreads(__tstate
);
12685 if (PyErr_Occurred()) SWIG_fail
;
12687 Py_INCREF(Py_None
); resultobj
= Py_None
;
12694 static PyObject
*_wrap_RadioButton_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12695 PyObject
*resultobj
;
12696 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
12697 wxVisualAttributes result
;
12698 PyObject
* obj0
= 0 ;
12699 char *kwnames
[] = {
12700 (char *) "variant", NULL
12703 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:RadioButton_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
12705 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
12706 if (PyErr_Occurred()) SWIG_fail
;
12709 if (!wxPyCheckForApp()) SWIG_fail
;
12710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12711 result
= wxRadioButton::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
12713 wxPyEndAllowThreads(__tstate
);
12714 if (PyErr_Occurred()) SWIG_fail
;
12717 wxVisualAttributes
* resultptr
;
12718 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
12719 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
12727 static PyObject
* RadioButton_swigregister(PyObject
*self
, PyObject
*args
) {
12729 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12730 SWIG_TypeClientData(SWIGTYPE_p_wxRadioButton
, obj
);
12732 return Py_BuildValue((char *)"");
12734 static int _wrap_SliderNameStr_set(PyObject
*_val
) {
12735 PyErr_SetString(PyExc_TypeError
,"Variable SliderNameStr is read-only.");
12740 static PyObject
*_wrap_SliderNameStr_get() {
12745 pyobj
= PyUnicode_FromWideChar((&wxPySliderNameStr
)->c_str(), (&wxPySliderNameStr
)->Len());
12747 pyobj
= PyString_FromStringAndSize((&wxPySliderNameStr
)->c_str(), (&wxPySliderNameStr
)->Len());
12754 static PyObject
*_wrap_new_Slider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12755 PyObject
*resultobj
;
12756 wxWindow
*arg1
= (wxWindow
*) 0 ;
12757 int arg2
= (int) -1 ;
12758 int arg3
= (int) 0 ;
12759 int arg4
= (int) 0 ;
12760 int arg5
= (int) 100 ;
12761 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
12762 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
12763 wxSize
const &arg7_defvalue
= wxDefaultSize
;
12764 wxSize
*arg7
= (wxSize
*) &arg7_defvalue
;
12765 long arg8
= (long) wxSL_HORIZONTAL
;
12766 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
12767 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
12768 wxString
const &arg10_defvalue
= wxPySliderNameStr
;
12769 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
12773 bool temp10
= False
;
12774 PyObject
* obj0
= 0 ;
12775 PyObject
* obj1
= 0 ;
12776 PyObject
* obj2
= 0 ;
12777 PyObject
* obj3
= 0 ;
12778 PyObject
* obj4
= 0 ;
12779 PyObject
* obj5
= 0 ;
12780 PyObject
* obj6
= 0 ;
12781 PyObject
* obj7
= 0 ;
12782 PyObject
* obj8
= 0 ;
12783 PyObject
* obj9
= 0 ;
12784 char *kwnames
[] = {
12785 (char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
12788 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOOO:new_Slider",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
12789 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
12790 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12792 arg2
= (int) SWIG_AsInt(obj1
);
12793 if (PyErr_Occurred()) SWIG_fail
;
12796 arg3
= (int) SWIG_AsInt(obj2
);
12797 if (PyErr_Occurred()) SWIG_fail
;
12800 arg4
= (int) SWIG_AsInt(obj3
);
12801 if (PyErr_Occurred()) SWIG_fail
;
12804 arg5
= (int) SWIG_AsInt(obj4
);
12805 if (PyErr_Occurred()) SWIG_fail
;
12810 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
12816 if ( ! wxSize_helper(obj6
, &arg7
)) SWIG_fail
;
12820 arg8
= (long) SWIG_AsLong(obj7
);
12821 if (PyErr_Occurred()) SWIG_fail
;
12824 if ((SWIG_ConvertPtr(obj8
,(void **)(&arg9
),SWIGTYPE_p_wxValidator
,
12825 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12827 if (arg9
== NULL
) {
12828 PyErr_SetString(PyExc_TypeError
,"null reference");
12834 arg10
= wxString_in_helper(obj9
);
12835 if (arg10
== NULL
) SWIG_fail
;
12840 if (!wxPyCheckForApp()) SWIG_fail
;
12841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12842 result
= (wxSlider
*)new wxSlider(arg1
,arg2
,arg3
,arg4
,arg5
,(wxPoint
const &)*arg6
,(wxSize
const &)*arg7
,arg8
,(wxValidator
const &)*arg9
,(wxString
const &)*arg10
);
12844 wxPyEndAllowThreads(__tstate
);
12845 if (PyErr_Occurred()) SWIG_fail
;
12847 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSlider
, 1);
12862 static PyObject
*_wrap_new_PreSlider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12863 PyObject
*resultobj
;
12865 char *kwnames
[] = {
12869 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSlider",kwnames
)) goto fail
;
12871 if (!wxPyCheckForApp()) SWIG_fail
;
12872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12873 result
= (wxSlider
*)new wxSlider();
12875 wxPyEndAllowThreads(__tstate
);
12876 if (PyErr_Occurred()) SWIG_fail
;
12878 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSlider
, 1);
12885 static PyObject
*_wrap_Slider_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12886 PyObject
*resultobj
;
12887 wxSlider
*arg1
= (wxSlider
*) 0 ;
12888 wxWindow
*arg2
= (wxWindow
*) 0 ;
12889 int arg3
= (int) -1 ;
12890 int arg4
= (int) 0 ;
12891 int arg5
= (int) 0 ;
12892 int arg6
= (int) 100 ;
12893 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
12894 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
12895 wxSize
const &arg8_defvalue
= wxDefaultSize
;
12896 wxSize
*arg8
= (wxSize
*) &arg8_defvalue
;
12897 long arg9
= (long) wxSL_HORIZONTAL
;
12898 wxValidator
const &arg10_defvalue
= wxDefaultValidator
;
12899 wxValidator
*arg10
= (wxValidator
*) &arg10_defvalue
;
12900 wxString
const &arg11_defvalue
= wxPySliderNameStr
;
12901 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
12905 bool temp11
= False
;
12906 PyObject
* obj0
= 0 ;
12907 PyObject
* obj1
= 0 ;
12908 PyObject
* obj2
= 0 ;
12909 PyObject
* obj3
= 0 ;
12910 PyObject
* obj4
= 0 ;
12911 PyObject
* obj5
= 0 ;
12912 PyObject
* obj6
= 0 ;
12913 PyObject
* obj7
= 0 ;
12914 PyObject
* obj8
= 0 ;
12915 PyObject
* obj9
= 0 ;
12916 PyObject
* obj10
= 0 ;
12917 char *kwnames
[] = {
12918 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
12921 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOOO:Slider_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) goto fail
;
12922 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
12923 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12924 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
12925 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12927 arg3
= (int) SWIG_AsInt(obj2
);
12928 if (PyErr_Occurred()) SWIG_fail
;
12931 arg4
= (int) SWIG_AsInt(obj3
);
12932 if (PyErr_Occurred()) SWIG_fail
;
12935 arg5
= (int) SWIG_AsInt(obj4
);
12936 if (PyErr_Occurred()) SWIG_fail
;
12939 arg6
= (int) SWIG_AsInt(obj5
);
12940 if (PyErr_Occurred()) SWIG_fail
;
12945 if ( ! wxPoint_helper(obj6
, &arg7
)) SWIG_fail
;
12951 if ( ! wxSize_helper(obj7
, &arg8
)) SWIG_fail
;
12955 arg9
= (long) SWIG_AsLong(obj8
);
12956 if (PyErr_Occurred()) SWIG_fail
;
12959 if ((SWIG_ConvertPtr(obj9
,(void **)(&arg10
),SWIGTYPE_p_wxValidator
,
12960 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12962 if (arg10
== NULL
) {
12963 PyErr_SetString(PyExc_TypeError
,"null reference");
12969 arg11
= wxString_in_helper(obj10
);
12970 if (arg11
== NULL
) SWIG_fail
;
12975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12976 result
= (bool)(arg1
)->Create(arg2
,arg3
,arg4
,arg5
,arg6
,(wxPoint
const &)*arg7
,(wxSize
const &)*arg8
,arg9
,(wxValidator
const &)*arg10
,(wxString
const &)*arg11
);
12978 wxPyEndAllowThreads(__tstate
);
12979 if (PyErr_Occurred()) SWIG_fail
;
12982 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12998 static PyObject
*_wrap_Slider_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12999 PyObject
*resultobj
;
13000 wxSlider
*arg1
= (wxSlider
*) 0 ;
13002 PyObject
* obj0
= 0 ;
13003 char *kwnames
[] = {
13004 (char *) "self", NULL
13007 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetValue",kwnames
,&obj0
)) goto fail
;
13008 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13009 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13012 result
= (int)((wxSlider
const *)arg1
)->GetValue();
13014 wxPyEndAllowThreads(__tstate
);
13015 if (PyErr_Occurred()) SWIG_fail
;
13017 resultobj
= SWIG_FromInt((int)result
);
13024 static PyObject
*_wrap_Slider_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13025 PyObject
*resultobj
;
13026 wxSlider
*arg1
= (wxSlider
*) 0 ;
13028 PyObject
* obj0
= 0 ;
13029 PyObject
* obj1
= 0 ;
13030 char *kwnames
[] = {
13031 (char *) "self",(char *) "value", NULL
13034 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
13035 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13036 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13037 arg2
= (int) SWIG_AsInt(obj1
);
13038 if (PyErr_Occurred()) SWIG_fail
;
13040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13041 (arg1
)->SetValue(arg2
);
13043 wxPyEndAllowThreads(__tstate
);
13044 if (PyErr_Occurred()) SWIG_fail
;
13046 Py_INCREF(Py_None
); resultobj
= Py_None
;
13053 static PyObject
*_wrap_Slider_SetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13054 PyObject
*resultobj
;
13055 wxSlider
*arg1
= (wxSlider
*) 0 ;
13058 PyObject
* obj0
= 0 ;
13059 PyObject
* obj1
= 0 ;
13060 PyObject
* obj2
= 0 ;
13061 char *kwnames
[] = {
13062 (char *) "self",(char *) "minValue",(char *) "maxValue", NULL
13065 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Slider_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13066 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13067 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13068 arg2
= (int) SWIG_AsInt(obj1
);
13069 if (PyErr_Occurred()) SWIG_fail
;
13070 arg3
= (int) SWIG_AsInt(obj2
);
13071 if (PyErr_Occurred()) SWIG_fail
;
13073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13074 (arg1
)->SetRange(arg2
,arg3
);
13076 wxPyEndAllowThreads(__tstate
);
13077 if (PyErr_Occurred()) SWIG_fail
;
13079 Py_INCREF(Py_None
); resultobj
= Py_None
;
13086 static PyObject
*_wrap_Slider_GetMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13087 PyObject
*resultobj
;
13088 wxSlider
*arg1
= (wxSlider
*) 0 ;
13090 PyObject
* obj0
= 0 ;
13091 char *kwnames
[] = {
13092 (char *) "self", NULL
13095 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetMin",kwnames
,&obj0
)) goto fail
;
13096 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13097 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13100 result
= (int)((wxSlider
const *)arg1
)->GetMin();
13102 wxPyEndAllowThreads(__tstate
);
13103 if (PyErr_Occurred()) SWIG_fail
;
13105 resultobj
= SWIG_FromInt((int)result
);
13112 static PyObject
*_wrap_Slider_GetMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13113 PyObject
*resultobj
;
13114 wxSlider
*arg1
= (wxSlider
*) 0 ;
13116 PyObject
* obj0
= 0 ;
13117 char *kwnames
[] = {
13118 (char *) "self", NULL
13121 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetMax",kwnames
,&obj0
)) goto fail
;
13122 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13123 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13126 result
= (int)((wxSlider
const *)arg1
)->GetMax();
13128 wxPyEndAllowThreads(__tstate
);
13129 if (PyErr_Occurred()) SWIG_fail
;
13131 resultobj
= SWIG_FromInt((int)result
);
13138 static PyObject
*_wrap_Slider_SetMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13139 PyObject
*resultobj
;
13140 wxSlider
*arg1
= (wxSlider
*) 0 ;
13142 PyObject
* obj0
= 0 ;
13143 PyObject
* obj1
= 0 ;
13144 char *kwnames
[] = {
13145 (char *) "self",(char *) "minValue", NULL
13148 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetMin",kwnames
,&obj0
,&obj1
)) goto fail
;
13149 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13150 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13151 arg2
= (int) SWIG_AsInt(obj1
);
13152 if (PyErr_Occurred()) SWIG_fail
;
13154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13155 (arg1
)->SetMin(arg2
);
13157 wxPyEndAllowThreads(__tstate
);
13158 if (PyErr_Occurred()) SWIG_fail
;
13160 Py_INCREF(Py_None
); resultobj
= Py_None
;
13167 static PyObject
*_wrap_Slider_SetMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13168 PyObject
*resultobj
;
13169 wxSlider
*arg1
= (wxSlider
*) 0 ;
13171 PyObject
* obj0
= 0 ;
13172 PyObject
* obj1
= 0 ;
13173 char *kwnames
[] = {
13174 (char *) "self",(char *) "maxValue", NULL
13177 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetMax",kwnames
,&obj0
,&obj1
)) goto fail
;
13178 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13179 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13180 arg2
= (int) SWIG_AsInt(obj1
);
13181 if (PyErr_Occurred()) SWIG_fail
;
13183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13184 (arg1
)->SetMax(arg2
);
13186 wxPyEndAllowThreads(__tstate
);
13187 if (PyErr_Occurred()) SWIG_fail
;
13189 Py_INCREF(Py_None
); resultobj
= Py_None
;
13196 static PyObject
*_wrap_Slider_SetLineSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13197 PyObject
*resultobj
;
13198 wxSlider
*arg1
= (wxSlider
*) 0 ;
13200 PyObject
* obj0
= 0 ;
13201 PyObject
* obj1
= 0 ;
13202 char *kwnames
[] = {
13203 (char *) "self",(char *) "lineSize", NULL
13206 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetLineSize",kwnames
,&obj0
,&obj1
)) goto fail
;
13207 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13208 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13209 arg2
= (int) SWIG_AsInt(obj1
);
13210 if (PyErr_Occurred()) SWIG_fail
;
13212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13213 (arg1
)->SetLineSize(arg2
);
13215 wxPyEndAllowThreads(__tstate
);
13216 if (PyErr_Occurred()) SWIG_fail
;
13218 Py_INCREF(Py_None
); resultobj
= Py_None
;
13225 static PyObject
*_wrap_Slider_SetPageSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13226 PyObject
*resultobj
;
13227 wxSlider
*arg1
= (wxSlider
*) 0 ;
13229 PyObject
* obj0
= 0 ;
13230 PyObject
* obj1
= 0 ;
13231 char *kwnames
[] = {
13232 (char *) "self",(char *) "pageSize", NULL
13235 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetPageSize",kwnames
,&obj0
,&obj1
)) goto fail
;
13236 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13237 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13238 arg2
= (int) SWIG_AsInt(obj1
);
13239 if (PyErr_Occurred()) SWIG_fail
;
13241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13242 (arg1
)->SetPageSize(arg2
);
13244 wxPyEndAllowThreads(__tstate
);
13245 if (PyErr_Occurred()) SWIG_fail
;
13247 Py_INCREF(Py_None
); resultobj
= Py_None
;
13254 static PyObject
*_wrap_Slider_GetLineSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13255 PyObject
*resultobj
;
13256 wxSlider
*arg1
= (wxSlider
*) 0 ;
13258 PyObject
* obj0
= 0 ;
13259 char *kwnames
[] = {
13260 (char *) "self", NULL
13263 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetLineSize",kwnames
,&obj0
)) goto fail
;
13264 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13265 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13268 result
= (int)((wxSlider
const *)arg1
)->GetLineSize();
13270 wxPyEndAllowThreads(__tstate
);
13271 if (PyErr_Occurred()) SWIG_fail
;
13273 resultobj
= SWIG_FromInt((int)result
);
13280 static PyObject
*_wrap_Slider_GetPageSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13281 PyObject
*resultobj
;
13282 wxSlider
*arg1
= (wxSlider
*) 0 ;
13284 PyObject
* obj0
= 0 ;
13285 char *kwnames
[] = {
13286 (char *) "self", NULL
13289 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetPageSize",kwnames
,&obj0
)) goto fail
;
13290 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13291 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13294 result
= (int)((wxSlider
const *)arg1
)->GetPageSize();
13296 wxPyEndAllowThreads(__tstate
);
13297 if (PyErr_Occurred()) SWIG_fail
;
13299 resultobj
= SWIG_FromInt((int)result
);
13306 static PyObject
*_wrap_Slider_SetThumbLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13307 PyObject
*resultobj
;
13308 wxSlider
*arg1
= (wxSlider
*) 0 ;
13310 PyObject
* obj0
= 0 ;
13311 PyObject
* obj1
= 0 ;
13312 char *kwnames
[] = {
13313 (char *) "self",(char *) "lenPixels", NULL
13316 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetThumbLength",kwnames
,&obj0
,&obj1
)) goto fail
;
13317 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13318 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13319 arg2
= (int) SWIG_AsInt(obj1
);
13320 if (PyErr_Occurred()) SWIG_fail
;
13322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13323 (arg1
)->SetThumbLength(arg2
);
13325 wxPyEndAllowThreads(__tstate
);
13326 if (PyErr_Occurred()) SWIG_fail
;
13328 Py_INCREF(Py_None
); resultobj
= Py_None
;
13335 static PyObject
*_wrap_Slider_GetThumbLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13336 PyObject
*resultobj
;
13337 wxSlider
*arg1
= (wxSlider
*) 0 ;
13339 PyObject
* obj0
= 0 ;
13340 char *kwnames
[] = {
13341 (char *) "self", NULL
13344 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetThumbLength",kwnames
,&obj0
)) goto fail
;
13345 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13346 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13349 result
= (int)((wxSlider
const *)arg1
)->GetThumbLength();
13351 wxPyEndAllowThreads(__tstate
);
13352 if (PyErr_Occurred()) SWIG_fail
;
13354 resultobj
= SWIG_FromInt((int)result
);
13361 static PyObject
*_wrap_Slider_SetTickFreq(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13362 PyObject
*resultobj
;
13363 wxSlider
*arg1
= (wxSlider
*) 0 ;
13365 int arg3
= (int) 1 ;
13366 PyObject
* obj0
= 0 ;
13367 PyObject
* obj1
= 0 ;
13368 PyObject
* obj2
= 0 ;
13369 char *kwnames
[] = {
13370 (char *) "self",(char *) "n",(char *) "pos", NULL
13373 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Slider_SetTickFreq",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13374 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13375 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13376 arg2
= (int) SWIG_AsInt(obj1
);
13377 if (PyErr_Occurred()) SWIG_fail
;
13379 arg3
= (int) SWIG_AsInt(obj2
);
13380 if (PyErr_Occurred()) SWIG_fail
;
13383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13384 (arg1
)->SetTickFreq(arg2
,arg3
);
13386 wxPyEndAllowThreads(__tstate
);
13387 if (PyErr_Occurred()) SWIG_fail
;
13389 Py_INCREF(Py_None
); resultobj
= Py_None
;
13396 static PyObject
*_wrap_Slider_GetTickFreq(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13397 PyObject
*resultobj
;
13398 wxSlider
*arg1
= (wxSlider
*) 0 ;
13400 PyObject
* obj0
= 0 ;
13401 char *kwnames
[] = {
13402 (char *) "self", NULL
13405 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetTickFreq",kwnames
,&obj0
)) goto fail
;
13406 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13407 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13410 result
= (int)((wxSlider
const *)arg1
)->GetTickFreq();
13412 wxPyEndAllowThreads(__tstate
);
13413 if (PyErr_Occurred()) SWIG_fail
;
13415 resultobj
= SWIG_FromInt((int)result
);
13422 static PyObject
*_wrap_Slider_ClearTicks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13423 PyObject
*resultobj
;
13424 wxSlider
*arg1
= (wxSlider
*) 0 ;
13425 PyObject
* obj0
= 0 ;
13426 char *kwnames
[] = {
13427 (char *) "self", NULL
13430 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_ClearTicks",kwnames
,&obj0
)) goto fail
;
13431 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13432 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13435 (arg1
)->ClearTicks();
13437 wxPyEndAllowThreads(__tstate
);
13438 if (PyErr_Occurred()) SWIG_fail
;
13440 Py_INCREF(Py_None
); resultobj
= Py_None
;
13447 static PyObject
*_wrap_Slider_SetTick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13448 PyObject
*resultobj
;
13449 wxSlider
*arg1
= (wxSlider
*) 0 ;
13451 PyObject
* obj0
= 0 ;
13452 PyObject
* obj1
= 0 ;
13453 char *kwnames
[] = {
13454 (char *) "self",(char *) "tickPos", NULL
13457 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetTick",kwnames
,&obj0
,&obj1
)) goto fail
;
13458 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13459 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13460 arg2
= (int) SWIG_AsInt(obj1
);
13461 if (PyErr_Occurred()) SWIG_fail
;
13463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13464 (arg1
)->SetTick(arg2
);
13466 wxPyEndAllowThreads(__tstate
);
13467 if (PyErr_Occurred()) SWIG_fail
;
13469 Py_INCREF(Py_None
); resultobj
= Py_None
;
13476 static PyObject
*_wrap_Slider_ClearSel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13477 PyObject
*resultobj
;
13478 wxSlider
*arg1
= (wxSlider
*) 0 ;
13479 PyObject
* obj0
= 0 ;
13480 char *kwnames
[] = {
13481 (char *) "self", NULL
13484 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_ClearSel",kwnames
,&obj0
)) goto fail
;
13485 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13486 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13489 (arg1
)->ClearSel();
13491 wxPyEndAllowThreads(__tstate
);
13492 if (PyErr_Occurred()) SWIG_fail
;
13494 Py_INCREF(Py_None
); resultobj
= Py_None
;
13501 static PyObject
*_wrap_Slider_GetSelEnd(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13502 PyObject
*resultobj
;
13503 wxSlider
*arg1
= (wxSlider
*) 0 ;
13505 PyObject
* obj0
= 0 ;
13506 char *kwnames
[] = {
13507 (char *) "self", NULL
13510 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetSelEnd",kwnames
,&obj0
)) goto fail
;
13511 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13512 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13515 result
= (int)((wxSlider
const *)arg1
)->GetSelEnd();
13517 wxPyEndAllowThreads(__tstate
);
13518 if (PyErr_Occurred()) SWIG_fail
;
13520 resultobj
= SWIG_FromInt((int)result
);
13527 static PyObject
*_wrap_Slider_GetSelStart(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13528 PyObject
*resultobj
;
13529 wxSlider
*arg1
= (wxSlider
*) 0 ;
13531 PyObject
* obj0
= 0 ;
13532 char *kwnames
[] = {
13533 (char *) "self", NULL
13536 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetSelStart",kwnames
,&obj0
)) goto fail
;
13537 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13538 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13541 result
= (int)((wxSlider
const *)arg1
)->GetSelStart();
13543 wxPyEndAllowThreads(__tstate
);
13544 if (PyErr_Occurred()) SWIG_fail
;
13546 resultobj
= SWIG_FromInt((int)result
);
13553 static PyObject
*_wrap_Slider_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13554 PyObject
*resultobj
;
13555 wxSlider
*arg1
= (wxSlider
*) 0 ;
13558 PyObject
* obj0
= 0 ;
13559 PyObject
* obj1
= 0 ;
13560 PyObject
* obj2
= 0 ;
13561 char *kwnames
[] = {
13562 (char *) "self",(char *) "min",(char *) "max", NULL
13565 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Slider_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13566 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13567 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13568 arg2
= (int) SWIG_AsInt(obj1
);
13569 if (PyErr_Occurred()) SWIG_fail
;
13570 arg3
= (int) SWIG_AsInt(obj2
);
13571 if (PyErr_Occurred()) SWIG_fail
;
13573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13574 (arg1
)->SetSelection(arg2
,arg3
);
13576 wxPyEndAllowThreads(__tstate
);
13577 if (PyErr_Occurred()) SWIG_fail
;
13579 Py_INCREF(Py_None
); resultobj
= Py_None
;
13586 static PyObject
*_wrap_Slider_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13587 PyObject
*resultobj
;
13588 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
13589 wxVisualAttributes result
;
13590 PyObject
* obj0
= 0 ;
13591 char *kwnames
[] = {
13592 (char *) "variant", NULL
13595 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Slider_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
13597 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
13598 if (PyErr_Occurred()) SWIG_fail
;
13601 if (!wxPyCheckForApp()) SWIG_fail
;
13602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13603 result
= wxSlider::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
13605 wxPyEndAllowThreads(__tstate
);
13606 if (PyErr_Occurred()) SWIG_fail
;
13609 wxVisualAttributes
* resultptr
;
13610 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
13611 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
13619 static PyObject
* Slider_swigregister(PyObject
*self
, PyObject
*args
) {
13621 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13622 SWIG_TypeClientData(SWIGTYPE_p_wxSlider
, obj
);
13624 return Py_BuildValue((char *)"");
13626 static int _wrap_ToggleButtonNameStr_set(PyObject
*_val
) {
13627 PyErr_SetString(PyExc_TypeError
,"Variable ToggleButtonNameStr is read-only.");
13632 static PyObject
*_wrap_ToggleButtonNameStr_get() {
13637 pyobj
= PyUnicode_FromWideChar((&wxPyToggleButtonNameStr
)->c_str(), (&wxPyToggleButtonNameStr
)->Len());
13639 pyobj
= PyString_FromStringAndSize((&wxPyToggleButtonNameStr
)->c_str(), (&wxPyToggleButtonNameStr
)->Len());
13646 static PyObject
*_wrap_new_ToggleButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13647 PyObject
*resultobj
;
13648 wxWindow
*arg1
= (wxWindow
*) 0 ;
13649 int arg2
= (int) -1 ;
13650 wxString
const &arg3_defvalue
= wxPyEmptyString
;
13651 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
13652 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
13653 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
13654 wxSize
const &arg5_defvalue
= wxDefaultSize
;
13655 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
13656 long arg6
= (long) 0 ;
13657 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
13658 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
13659 wxString
const &arg8_defvalue
= wxPyToggleButtonNameStr
;
13660 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
13661 wxToggleButton
*result
;
13662 bool temp3
= False
;
13665 bool temp8
= False
;
13666 PyObject
* obj0
= 0 ;
13667 PyObject
* obj1
= 0 ;
13668 PyObject
* obj2
= 0 ;
13669 PyObject
* obj3
= 0 ;
13670 PyObject
* obj4
= 0 ;
13671 PyObject
* obj5
= 0 ;
13672 PyObject
* obj6
= 0 ;
13673 PyObject
* obj7
= 0 ;
13674 char *kwnames
[] = {
13675 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
13678 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_ToggleButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
13679 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
13680 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13682 arg2
= (int) SWIG_AsInt(obj1
);
13683 if (PyErr_Occurred()) SWIG_fail
;
13687 arg3
= wxString_in_helper(obj2
);
13688 if (arg3
== NULL
) SWIG_fail
;
13695 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
13701 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
13705 arg6
= (long) SWIG_AsLong(obj5
);
13706 if (PyErr_Occurred()) SWIG_fail
;
13709 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
13710 SWIG_POINTER_EXCEPTION
| 0)) == -1)
13712 if (arg7
== NULL
) {
13713 PyErr_SetString(PyExc_TypeError
,"null reference");
13719 arg8
= wxString_in_helper(obj7
);
13720 if (arg8
== NULL
) SWIG_fail
;
13725 if (!wxPyCheckForApp()) SWIG_fail
;
13726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13727 result
= (wxToggleButton
*)new wxToggleButton(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
13729 wxPyEndAllowThreads(__tstate
);
13730 if (PyErr_Occurred()) SWIG_fail
;
13732 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxToggleButton
, 1);
13755 static PyObject
*_wrap_new_PreToggleButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13756 PyObject
*resultobj
;
13757 wxToggleButton
*result
;
13758 char *kwnames
[] = {
13762 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreToggleButton",kwnames
)) goto fail
;
13764 if (!wxPyCheckForApp()) SWIG_fail
;
13765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13766 result
= (wxToggleButton
*)new wxToggleButton();
13768 wxPyEndAllowThreads(__tstate
);
13769 if (PyErr_Occurred()) SWIG_fail
;
13771 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxToggleButton
, 1);
13778 static PyObject
*_wrap_ToggleButton_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13779 PyObject
*resultobj
;
13780 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
13781 wxWindow
*arg2
= (wxWindow
*) 0 ;
13782 int arg3
= (int) -1 ;
13783 wxString
const &arg4_defvalue
= wxPyEmptyString
;
13784 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
13785 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
13786 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
13787 wxSize
const &arg6_defvalue
= wxDefaultSize
;
13788 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
13789 long arg7
= (long) 0 ;
13790 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
13791 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
13792 wxString
const &arg9_defvalue
= wxPyToggleButtonNameStr
;
13793 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
13795 bool temp4
= False
;
13798 bool temp9
= False
;
13799 PyObject
* obj0
= 0 ;
13800 PyObject
* obj1
= 0 ;
13801 PyObject
* obj2
= 0 ;
13802 PyObject
* obj3
= 0 ;
13803 PyObject
* obj4
= 0 ;
13804 PyObject
* obj5
= 0 ;
13805 PyObject
* obj6
= 0 ;
13806 PyObject
* obj7
= 0 ;
13807 PyObject
* obj8
= 0 ;
13808 char *kwnames
[] = {
13809 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
13812 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:ToggleButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
13813 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToggleButton
,
13814 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13815 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
13816 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13818 arg3
= (int) SWIG_AsInt(obj2
);
13819 if (PyErr_Occurred()) SWIG_fail
;
13823 arg4
= wxString_in_helper(obj3
);
13824 if (arg4
== NULL
) SWIG_fail
;
13831 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
13837 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
13841 arg7
= (long) SWIG_AsLong(obj6
);
13842 if (PyErr_Occurred()) SWIG_fail
;
13845 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
13846 SWIG_POINTER_EXCEPTION
| 0)) == -1)
13848 if (arg8
== NULL
) {
13849 PyErr_SetString(PyExc_TypeError
,"null reference");
13855 arg9
= wxString_in_helper(obj8
);
13856 if (arg9
== NULL
) SWIG_fail
;
13861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13862 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
13864 wxPyEndAllowThreads(__tstate
);
13865 if (PyErr_Occurred()) SWIG_fail
;
13868 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13892 static PyObject
*_wrap_ToggleButton_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13893 PyObject
*resultobj
;
13894 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
13896 PyObject
* obj0
= 0 ;
13897 PyObject
* obj1
= 0 ;
13898 char *kwnames
[] = {
13899 (char *) "self",(char *) "value", NULL
13902 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToggleButton_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
13903 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToggleButton
,
13904 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13905 arg2
= (bool) SWIG_AsBool(obj1
);
13906 if (PyErr_Occurred()) SWIG_fail
;
13908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13909 (arg1
)->SetValue(arg2
);
13911 wxPyEndAllowThreads(__tstate
);
13912 if (PyErr_Occurred()) SWIG_fail
;
13914 Py_INCREF(Py_None
); resultobj
= Py_None
;
13921 static PyObject
*_wrap_ToggleButton_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13922 PyObject
*resultobj
;
13923 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
13925 PyObject
* obj0
= 0 ;
13926 char *kwnames
[] = {
13927 (char *) "self", NULL
13930 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToggleButton_GetValue",kwnames
,&obj0
)) goto fail
;
13931 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToggleButton
,
13932 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13935 result
= (bool)((wxToggleButton
const *)arg1
)->GetValue();
13937 wxPyEndAllowThreads(__tstate
);
13938 if (PyErr_Occurred()) SWIG_fail
;
13941 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13949 static PyObject
*_wrap_ToggleButton_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13950 PyObject
*resultobj
;
13951 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
13952 wxString
*arg2
= 0 ;
13953 bool temp2
= False
;
13954 PyObject
* obj0
= 0 ;
13955 PyObject
* obj1
= 0 ;
13956 char *kwnames
[] = {
13957 (char *) "self",(char *) "label", NULL
13960 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToggleButton_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
13961 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToggleButton
,
13962 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13964 arg2
= wxString_in_helper(obj1
);
13965 if (arg2
== NULL
) SWIG_fail
;
13969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13970 (arg1
)->SetLabel((wxString
const &)*arg2
);
13972 wxPyEndAllowThreads(__tstate
);
13973 if (PyErr_Occurred()) SWIG_fail
;
13975 Py_INCREF(Py_None
); resultobj
= Py_None
;
13990 static PyObject
*_wrap_ToggleButton_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13991 PyObject
*resultobj
;
13992 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
13993 wxVisualAttributes result
;
13994 PyObject
* obj0
= 0 ;
13995 char *kwnames
[] = {
13996 (char *) "variant", NULL
13999 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ToggleButton_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
14001 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
14002 if (PyErr_Occurred()) SWIG_fail
;
14005 if (!wxPyCheckForApp()) SWIG_fail
;
14006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14007 result
= wxToggleButton::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
14009 wxPyEndAllowThreads(__tstate
);
14010 if (PyErr_Occurred()) SWIG_fail
;
14013 wxVisualAttributes
* resultptr
;
14014 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
14015 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
14023 static PyObject
* ToggleButton_swigregister(PyObject
*self
, PyObject
*args
) {
14025 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14026 SWIG_TypeClientData(SWIGTYPE_p_wxToggleButton
, obj
);
14028 return Py_BuildValue((char *)"");
14030 static int _wrap_NOTEBOOK_NAME_set(PyObject
*_val
) {
14031 PyErr_SetString(PyExc_TypeError
,"Variable NOTEBOOK_NAME is read-only.");
14036 static PyObject
*_wrap_NOTEBOOK_NAME_get() {
14041 pyobj
= PyUnicode_FromWideChar((&wxPyNOTEBOOK_NAME
)->c_str(), (&wxPyNOTEBOOK_NAME
)->Len());
14043 pyobj
= PyString_FromStringAndSize((&wxPyNOTEBOOK_NAME
)->c_str(), (&wxPyNOTEBOOK_NAME
)->Len());
14050 static PyObject
*_wrap_BookCtrl_GetPageCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14051 PyObject
*resultobj
;
14052 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14054 PyObject
* obj0
= 0 ;
14055 char *kwnames
[] = {
14056 (char *) "self", NULL
14059 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrl_GetPageCount",kwnames
,&obj0
)) goto fail
;
14060 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14061 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14064 result
= (size_t)((wxBookCtrl
const *)arg1
)->GetPageCount();
14066 wxPyEndAllowThreads(__tstate
);
14067 if (PyErr_Occurred()) SWIG_fail
;
14069 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
14076 static PyObject
*_wrap_BookCtrl_GetPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14077 PyObject
*resultobj
;
14078 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14081 PyObject
* obj0
= 0 ;
14082 PyObject
* obj1
= 0 ;
14083 char *kwnames
[] = {
14084 (char *) "self",(char *) "n", NULL
14087 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_GetPage",kwnames
,&obj0
,&obj1
)) goto fail
;
14088 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14089 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14090 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
14091 if (PyErr_Occurred()) SWIG_fail
;
14093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14094 result
= (wxWindow
*)(arg1
)->GetPage(arg2
);
14096 wxPyEndAllowThreads(__tstate
);
14097 if (PyErr_Occurred()) SWIG_fail
;
14100 resultobj
= wxPyMake_wxObject(result
, 0);
14108 static PyObject
*_wrap_BookCtrl_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14109 PyObject
*resultobj
;
14110 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14112 PyObject
* obj0
= 0 ;
14113 char *kwnames
[] = {
14114 (char *) "self", NULL
14117 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrl_GetSelection",kwnames
,&obj0
)) goto fail
;
14118 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14119 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14122 result
= (int)((wxBookCtrl
const *)arg1
)->GetSelection();
14124 wxPyEndAllowThreads(__tstate
);
14125 if (PyErr_Occurred()) SWIG_fail
;
14127 resultobj
= SWIG_FromInt((int)result
);
14134 static PyObject
*_wrap_BookCtrl_SetPageText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14135 PyObject
*resultobj
;
14136 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14138 wxString
*arg3
= 0 ;
14140 bool temp3
= False
;
14141 PyObject
* obj0
= 0 ;
14142 PyObject
* obj1
= 0 ;
14143 PyObject
* obj2
= 0 ;
14144 char *kwnames
[] = {
14145 (char *) "self",(char *) "n",(char *) "strText", NULL
14148 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BookCtrl_SetPageText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14149 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14150 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14151 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
14152 if (PyErr_Occurred()) SWIG_fail
;
14154 arg3
= wxString_in_helper(obj2
);
14155 if (arg3
== NULL
) SWIG_fail
;
14159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14160 result
= (bool)(arg1
)->SetPageText(arg2
,(wxString
const &)*arg3
);
14162 wxPyEndAllowThreads(__tstate
);
14163 if (PyErr_Occurred()) SWIG_fail
;
14166 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14182 static PyObject
*_wrap_BookCtrl_GetPageText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14183 PyObject
*resultobj
;
14184 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14187 PyObject
* obj0
= 0 ;
14188 PyObject
* obj1
= 0 ;
14189 char *kwnames
[] = {
14190 (char *) "self",(char *) "n", NULL
14193 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_GetPageText",kwnames
,&obj0
,&obj1
)) goto fail
;
14194 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14195 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14196 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
14197 if (PyErr_Occurred()) SWIG_fail
;
14199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14200 result
= ((wxBookCtrl
const *)arg1
)->GetPageText(arg2
);
14202 wxPyEndAllowThreads(__tstate
);
14203 if (PyErr_Occurred()) SWIG_fail
;
14207 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14209 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14218 static PyObject
*_wrap_BookCtrl_SetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14219 PyObject
*resultobj
;
14220 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14221 wxImageList
*arg2
= (wxImageList
*) 0 ;
14222 PyObject
* obj0
= 0 ;
14223 PyObject
* obj1
= 0 ;
14224 char *kwnames
[] = {
14225 (char *) "self",(char *) "imageList", NULL
14228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_SetImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
14229 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14230 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14231 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImageList
,
14232 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14235 (arg1
)->SetImageList(arg2
);
14237 wxPyEndAllowThreads(__tstate
);
14238 if (PyErr_Occurred()) SWIG_fail
;
14240 Py_INCREF(Py_None
); resultobj
= Py_None
;
14247 static PyObject
*_wrap_BookCtrl_AssignImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14248 PyObject
*resultobj
;
14249 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14250 wxImageList
*arg2
= (wxImageList
*) 0 ;
14251 PyObject
* obj0
= 0 ;
14252 PyObject
* obj1
= 0 ;
14253 char *kwnames
[] = {
14254 (char *) "self",(char *) "imageList", NULL
14257 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_AssignImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
14258 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14259 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14260 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImageList
,
14261 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
14263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14264 (arg1
)->AssignImageList(arg2
);
14266 wxPyEndAllowThreads(__tstate
);
14267 if (PyErr_Occurred()) SWIG_fail
;
14269 Py_INCREF(Py_None
); resultobj
= Py_None
;
14276 static PyObject
*_wrap_BookCtrl_GetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14277 PyObject
*resultobj
;
14278 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14279 wxImageList
*result
;
14280 PyObject
* obj0
= 0 ;
14281 char *kwnames
[] = {
14282 (char *) "self", NULL
14285 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrl_GetImageList",kwnames
,&obj0
)) goto fail
;
14286 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14287 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14290 result
= (wxImageList
*)((wxBookCtrl
const *)arg1
)->GetImageList();
14292 wxPyEndAllowThreads(__tstate
);
14293 if (PyErr_Occurred()) SWIG_fail
;
14296 resultobj
= wxPyMake_wxObject(result
, 0);
14304 static PyObject
*_wrap_BookCtrl_GetPageImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14305 PyObject
*resultobj
;
14306 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14309 PyObject
* obj0
= 0 ;
14310 PyObject
* obj1
= 0 ;
14311 char *kwnames
[] = {
14312 (char *) "self",(char *) "n", NULL
14315 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_GetPageImage",kwnames
,&obj0
,&obj1
)) goto fail
;
14316 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14317 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14318 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
14319 if (PyErr_Occurred()) SWIG_fail
;
14321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14322 result
= (int)((wxBookCtrl
const *)arg1
)->GetPageImage(arg2
);
14324 wxPyEndAllowThreads(__tstate
);
14325 if (PyErr_Occurred()) SWIG_fail
;
14327 resultobj
= SWIG_FromInt((int)result
);
14334 static PyObject
*_wrap_BookCtrl_SetPageImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14335 PyObject
*resultobj
;
14336 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14340 PyObject
* obj0
= 0 ;
14341 PyObject
* obj1
= 0 ;
14342 PyObject
* obj2
= 0 ;
14343 char *kwnames
[] = {
14344 (char *) "self",(char *) "n",(char *) "imageId", NULL
14347 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BookCtrl_SetPageImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14348 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14349 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14350 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
14351 if (PyErr_Occurred()) SWIG_fail
;
14352 arg3
= (int) SWIG_AsInt(obj2
);
14353 if (PyErr_Occurred()) SWIG_fail
;
14355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14356 result
= (bool)(arg1
)->SetPageImage(arg2
,arg3
);
14358 wxPyEndAllowThreads(__tstate
);
14359 if (PyErr_Occurred()) SWIG_fail
;
14362 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14370 static PyObject
*_wrap_BookCtrl_SetPageSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14371 PyObject
*resultobj
;
14372 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14375 PyObject
* obj0
= 0 ;
14376 PyObject
* obj1
= 0 ;
14377 char *kwnames
[] = {
14378 (char *) "self",(char *) "size", NULL
14381 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_SetPageSize",kwnames
,&obj0
,&obj1
)) goto fail
;
14382 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14383 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14386 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
14389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14390 (arg1
)->SetPageSize((wxSize
const &)*arg2
);
14392 wxPyEndAllowThreads(__tstate
);
14393 if (PyErr_Occurred()) SWIG_fail
;
14395 Py_INCREF(Py_None
); resultobj
= Py_None
;
14402 static PyObject
*_wrap_BookCtrl_CalcSizeFromPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14403 PyObject
*resultobj
;
14404 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14408 PyObject
* obj0
= 0 ;
14409 PyObject
* obj1
= 0 ;
14410 char *kwnames
[] = {
14411 (char *) "self",(char *) "sizePage", NULL
14414 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_CalcSizeFromPage",kwnames
,&obj0
,&obj1
)) goto fail
;
14415 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14416 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14419 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
14422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14423 result
= ((wxBookCtrl
const *)arg1
)->CalcSizeFromPage((wxSize
const &)*arg2
);
14425 wxPyEndAllowThreads(__tstate
);
14426 if (PyErr_Occurred()) SWIG_fail
;
14429 wxSize
* resultptr
;
14430 resultptr
= new wxSize((wxSize
&) result
);
14431 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
14439 static PyObject
*_wrap_BookCtrl_DeletePage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14440 PyObject
*resultobj
;
14441 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14444 PyObject
* obj0
= 0 ;
14445 PyObject
* obj1
= 0 ;
14446 char *kwnames
[] = {
14447 (char *) "self",(char *) "n", NULL
14450 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_DeletePage",kwnames
,&obj0
,&obj1
)) goto fail
;
14451 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14452 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14453 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
14454 if (PyErr_Occurred()) SWIG_fail
;
14456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14457 result
= (bool)(arg1
)->DeletePage(arg2
);
14459 wxPyEndAllowThreads(__tstate
);
14460 if (PyErr_Occurred()) SWIG_fail
;
14463 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14471 static PyObject
*_wrap_BookCtrl_RemovePage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14472 PyObject
*resultobj
;
14473 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14476 PyObject
* obj0
= 0 ;
14477 PyObject
* obj1
= 0 ;
14478 char *kwnames
[] = {
14479 (char *) "self",(char *) "n", NULL
14482 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_RemovePage",kwnames
,&obj0
,&obj1
)) goto fail
;
14483 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14484 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14485 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
14486 if (PyErr_Occurred()) SWIG_fail
;
14488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14489 result
= (bool)(arg1
)->RemovePage(arg2
);
14491 wxPyEndAllowThreads(__tstate
);
14492 if (PyErr_Occurred()) SWIG_fail
;
14495 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14503 static PyObject
*_wrap_BookCtrl_DeleteAllPages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14504 PyObject
*resultobj
;
14505 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14507 PyObject
* obj0
= 0 ;
14508 char *kwnames
[] = {
14509 (char *) "self", NULL
14512 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrl_DeleteAllPages",kwnames
,&obj0
)) goto fail
;
14513 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14514 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14517 result
= (bool)(arg1
)->DeleteAllPages();
14519 wxPyEndAllowThreads(__tstate
);
14520 if (PyErr_Occurred()) SWIG_fail
;
14523 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14531 static PyObject
*_wrap_BookCtrl_AddPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14532 PyObject
*resultobj
;
14533 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14534 wxWindow
*arg2
= (wxWindow
*) 0 ;
14535 wxString
*arg3
= 0 ;
14536 bool arg4
= (bool) False
;
14537 int arg5
= (int) -1 ;
14539 bool temp3
= False
;
14540 PyObject
* obj0
= 0 ;
14541 PyObject
* obj1
= 0 ;
14542 PyObject
* obj2
= 0 ;
14543 PyObject
* obj3
= 0 ;
14544 PyObject
* obj4
= 0 ;
14545 char *kwnames
[] = {
14546 (char *) "self",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
14549 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:BookCtrl_AddPage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
14550 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14551 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14552 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
14553 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14555 arg3
= wxString_in_helper(obj2
);
14556 if (arg3
== NULL
) SWIG_fail
;
14560 arg4
= (bool) SWIG_AsBool(obj3
);
14561 if (PyErr_Occurred()) SWIG_fail
;
14564 arg5
= (int) SWIG_AsInt(obj4
);
14565 if (PyErr_Occurred()) SWIG_fail
;
14568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14569 result
= (bool)(arg1
)->AddPage(arg2
,(wxString
const &)*arg3
,arg4
,arg5
);
14571 wxPyEndAllowThreads(__tstate
);
14572 if (PyErr_Occurred()) SWIG_fail
;
14575 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14591 static PyObject
*_wrap_BookCtrl_InsertPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14592 PyObject
*resultobj
;
14593 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14595 wxWindow
*arg3
= (wxWindow
*) 0 ;
14596 wxString
*arg4
= 0 ;
14597 bool arg5
= (bool) False
;
14598 int arg6
= (int) -1 ;
14600 bool temp4
= False
;
14601 PyObject
* obj0
= 0 ;
14602 PyObject
* obj1
= 0 ;
14603 PyObject
* obj2
= 0 ;
14604 PyObject
* obj3
= 0 ;
14605 PyObject
* obj4
= 0 ;
14606 PyObject
* obj5
= 0 ;
14607 char *kwnames
[] = {
14608 (char *) "self",(char *) "n",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
14611 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:BookCtrl_InsertPage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
14612 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14613 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14614 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
14615 if (PyErr_Occurred()) SWIG_fail
;
14616 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
14617 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14619 arg4
= wxString_in_helper(obj3
);
14620 if (arg4
== NULL
) SWIG_fail
;
14624 arg5
= (bool) SWIG_AsBool(obj4
);
14625 if (PyErr_Occurred()) SWIG_fail
;
14628 arg6
= (int) SWIG_AsInt(obj5
);
14629 if (PyErr_Occurred()) SWIG_fail
;
14632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14633 result
= (bool)(arg1
)->InsertPage(arg2
,arg3
,(wxString
const &)*arg4
,arg5
,arg6
);
14635 wxPyEndAllowThreads(__tstate
);
14636 if (PyErr_Occurred()) SWIG_fail
;
14639 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14655 static PyObject
*_wrap_BookCtrl_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14656 PyObject
*resultobj
;
14657 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14660 PyObject
* obj0
= 0 ;
14661 PyObject
* obj1
= 0 ;
14662 char *kwnames
[] = {
14663 (char *) "self",(char *) "n", NULL
14666 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
14667 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14668 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14669 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
14670 if (PyErr_Occurred()) SWIG_fail
;
14672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14673 result
= (int)(arg1
)->SetSelection(arg2
);
14675 wxPyEndAllowThreads(__tstate
);
14676 if (PyErr_Occurred()) SWIG_fail
;
14678 resultobj
= SWIG_FromInt((int)result
);
14685 static PyObject
*_wrap_BookCtrl_AdvanceSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14686 PyObject
*resultobj
;
14687 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14688 bool arg2
= (bool) True
;
14689 PyObject
* obj0
= 0 ;
14690 PyObject
* obj1
= 0 ;
14691 char *kwnames
[] = {
14692 (char *) "self",(char *) "forward", NULL
14695 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:BookCtrl_AdvanceSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
14696 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14697 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14699 arg2
= (bool) SWIG_AsBool(obj1
);
14700 if (PyErr_Occurred()) SWIG_fail
;
14703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14704 (arg1
)->AdvanceSelection(arg2
);
14706 wxPyEndAllowThreads(__tstate
);
14707 if (PyErr_Occurred()) SWIG_fail
;
14709 Py_INCREF(Py_None
); resultobj
= Py_None
;
14716 static PyObject
*_wrap_BookCtrl_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14717 PyObject
*resultobj
;
14718 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
14719 wxVisualAttributes result
;
14720 PyObject
* obj0
= 0 ;
14721 char *kwnames
[] = {
14722 (char *) "variant", NULL
14725 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:BookCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
14727 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
14728 if (PyErr_Occurred()) SWIG_fail
;
14731 if (!wxPyCheckForApp()) SWIG_fail
;
14732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14733 result
= wxBookCtrl::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
14735 wxPyEndAllowThreads(__tstate
);
14736 if (PyErr_Occurred()) SWIG_fail
;
14739 wxVisualAttributes
* resultptr
;
14740 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
14741 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
14749 static PyObject
* BookCtrl_swigregister(PyObject
*self
, PyObject
*args
) {
14751 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14752 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrl
, obj
);
14754 return Py_BuildValue((char *)"");
14756 static PyObject
*_wrap_new_BookCtrlEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14757 PyObject
*resultobj
;
14758 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
14759 int arg2
= (int) 0 ;
14760 int arg3
= (int) -1 ;
14761 int arg4
= (int) -1 ;
14762 wxBookCtrlEvent
*result
;
14763 PyObject
* obj0
= 0 ;
14764 PyObject
* obj1
= 0 ;
14765 PyObject
* obj2
= 0 ;
14766 PyObject
* obj3
= 0 ;
14767 char *kwnames
[] = {
14768 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
14771 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_BookCtrlEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
14773 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
14774 if (PyErr_Occurred()) SWIG_fail
;
14777 arg2
= (int) SWIG_AsInt(obj1
);
14778 if (PyErr_Occurred()) SWIG_fail
;
14781 arg3
= (int) SWIG_AsInt(obj2
);
14782 if (PyErr_Occurred()) SWIG_fail
;
14785 arg4
= (int) SWIG_AsInt(obj3
);
14786 if (PyErr_Occurred()) SWIG_fail
;
14789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14790 result
= (wxBookCtrlEvent
*)new wxBookCtrlEvent(arg1
,arg2
,arg3
,arg4
);
14792 wxPyEndAllowThreads(__tstate
);
14793 if (PyErr_Occurred()) SWIG_fail
;
14795 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBookCtrlEvent
, 1);
14802 static PyObject
*_wrap_BookCtrlEvent_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14803 PyObject
*resultobj
;
14804 wxBookCtrlEvent
*arg1
= (wxBookCtrlEvent
*) 0 ;
14806 PyObject
* obj0
= 0 ;
14807 char *kwnames
[] = {
14808 (char *) "self", NULL
14811 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlEvent_GetSelection",kwnames
,&obj0
)) goto fail
;
14812 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrlEvent
,
14813 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14816 result
= (int)((wxBookCtrlEvent
const *)arg1
)->GetSelection();
14818 wxPyEndAllowThreads(__tstate
);
14819 if (PyErr_Occurred()) SWIG_fail
;
14821 resultobj
= SWIG_FromInt((int)result
);
14828 static PyObject
*_wrap_BookCtrlEvent_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14829 PyObject
*resultobj
;
14830 wxBookCtrlEvent
*arg1
= (wxBookCtrlEvent
*) 0 ;
14832 PyObject
* obj0
= 0 ;
14833 PyObject
* obj1
= 0 ;
14834 char *kwnames
[] = {
14835 (char *) "self",(char *) "nSel", NULL
14838 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlEvent_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
14839 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrlEvent
,
14840 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14841 arg2
= (int) SWIG_AsInt(obj1
);
14842 if (PyErr_Occurred()) SWIG_fail
;
14844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14845 (arg1
)->SetSelection(arg2
);
14847 wxPyEndAllowThreads(__tstate
);
14848 if (PyErr_Occurred()) SWIG_fail
;
14850 Py_INCREF(Py_None
); resultobj
= Py_None
;
14857 static PyObject
*_wrap_BookCtrlEvent_GetOldSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14858 PyObject
*resultobj
;
14859 wxBookCtrlEvent
*arg1
= (wxBookCtrlEvent
*) 0 ;
14861 PyObject
* obj0
= 0 ;
14862 char *kwnames
[] = {
14863 (char *) "self", NULL
14866 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlEvent_GetOldSelection",kwnames
,&obj0
)) goto fail
;
14867 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrlEvent
,
14868 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14871 result
= (int)((wxBookCtrlEvent
const *)arg1
)->GetOldSelection();
14873 wxPyEndAllowThreads(__tstate
);
14874 if (PyErr_Occurred()) SWIG_fail
;
14876 resultobj
= SWIG_FromInt((int)result
);
14883 static PyObject
*_wrap_BookCtrlEvent_SetOldSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14884 PyObject
*resultobj
;
14885 wxBookCtrlEvent
*arg1
= (wxBookCtrlEvent
*) 0 ;
14887 PyObject
* obj0
= 0 ;
14888 PyObject
* obj1
= 0 ;
14889 char *kwnames
[] = {
14890 (char *) "self",(char *) "nOldSel", NULL
14893 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlEvent_SetOldSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
14894 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrlEvent
,
14895 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14896 arg2
= (int) SWIG_AsInt(obj1
);
14897 if (PyErr_Occurred()) SWIG_fail
;
14899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14900 (arg1
)->SetOldSelection(arg2
);
14902 wxPyEndAllowThreads(__tstate
);
14903 if (PyErr_Occurred()) SWIG_fail
;
14905 Py_INCREF(Py_None
); resultobj
= Py_None
;
14912 static PyObject
* BookCtrlEvent_swigregister(PyObject
*self
, PyObject
*args
) {
14914 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14915 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrlEvent
, obj
);
14917 return Py_BuildValue((char *)"");
14919 static PyObject
*_wrap_new_Notebook(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14920 PyObject
*resultobj
;
14921 wxWindow
*arg1
= (wxWindow
*) 0 ;
14922 int arg2
= (int) -1 ;
14923 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
14924 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
14925 wxSize
const &arg4_defvalue
= wxDefaultSize
;
14926 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
14927 long arg5
= (long) 0 ;
14928 wxString
const &arg6_defvalue
= wxPyNOTEBOOK_NAME
;
14929 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
14930 wxNotebook
*result
;
14933 bool temp6
= False
;
14934 PyObject
* obj0
= 0 ;
14935 PyObject
* obj1
= 0 ;
14936 PyObject
* obj2
= 0 ;
14937 PyObject
* obj3
= 0 ;
14938 PyObject
* obj4
= 0 ;
14939 PyObject
* obj5
= 0 ;
14940 char *kwnames
[] = {
14941 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14944 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_Notebook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
14945 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
14946 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14948 arg2
= (int) SWIG_AsInt(obj1
);
14949 if (PyErr_Occurred()) SWIG_fail
;
14954 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
14960 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
14964 arg5
= (long) SWIG_AsLong(obj4
);
14965 if (PyErr_Occurred()) SWIG_fail
;
14969 arg6
= wxString_in_helper(obj5
);
14970 if (arg6
== NULL
) SWIG_fail
;
14975 if (!wxPyCheckForApp()) SWIG_fail
;
14976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14977 result
= (wxNotebook
*)new wxNotebook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
14979 wxPyEndAllowThreads(__tstate
);
14980 if (PyErr_Occurred()) SWIG_fail
;
14982 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNotebook
, 1);
14997 static PyObject
*_wrap_new_PreNotebook(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14998 PyObject
*resultobj
;
14999 wxNotebook
*result
;
15000 char *kwnames
[] = {
15004 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreNotebook",kwnames
)) goto fail
;
15006 if (!wxPyCheckForApp()) SWIG_fail
;
15007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15008 result
= (wxNotebook
*)new wxNotebook();
15010 wxPyEndAllowThreads(__tstate
);
15011 if (PyErr_Occurred()) SWIG_fail
;
15013 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNotebook
, 1);
15020 static PyObject
*_wrap_Notebook_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15021 PyObject
*resultobj
;
15022 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
15023 wxWindow
*arg2
= (wxWindow
*) 0 ;
15024 int arg3
= (int) -1 ;
15025 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
15026 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
15027 wxSize
const &arg5_defvalue
= wxDefaultSize
;
15028 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
15029 long arg6
= (long) 0 ;
15030 wxString
const &arg7_defvalue
= wxPyNOTEBOOK_NAME
;
15031 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
15035 bool temp7
= False
;
15036 PyObject
* obj0
= 0 ;
15037 PyObject
* obj1
= 0 ;
15038 PyObject
* obj2
= 0 ;
15039 PyObject
* obj3
= 0 ;
15040 PyObject
* obj4
= 0 ;
15041 PyObject
* obj5
= 0 ;
15042 PyObject
* obj6
= 0 ;
15043 char *kwnames
[] = {
15044 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15047 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:Notebook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
15048 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebook
,
15049 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15050 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
15051 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15053 arg3
= (int) SWIG_AsInt(obj2
);
15054 if (PyErr_Occurred()) SWIG_fail
;
15059 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
15065 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
15069 arg6
= (long) SWIG_AsLong(obj5
);
15070 if (PyErr_Occurred()) SWIG_fail
;
15074 arg7
= wxString_in_helper(obj6
);
15075 if (arg7
== NULL
) SWIG_fail
;
15080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15081 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
15083 wxPyEndAllowThreads(__tstate
);
15084 if (PyErr_Occurred()) SWIG_fail
;
15087 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15103 static PyObject
*_wrap_Notebook_GetRowCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15104 PyObject
*resultobj
;
15105 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
15107 PyObject
* obj0
= 0 ;
15108 char *kwnames
[] = {
15109 (char *) "self", NULL
15112 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Notebook_GetRowCount",kwnames
,&obj0
)) goto fail
;
15113 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebook
,
15114 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15117 result
= (int)((wxNotebook
const *)arg1
)->GetRowCount();
15119 wxPyEndAllowThreads(__tstate
);
15120 if (PyErr_Occurred()) SWIG_fail
;
15122 resultobj
= SWIG_FromInt((int)result
);
15129 static PyObject
*_wrap_Notebook_SetPadding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15130 PyObject
*resultobj
;
15131 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
15134 PyObject
* obj0
= 0 ;
15135 PyObject
* obj1
= 0 ;
15136 char *kwnames
[] = {
15137 (char *) "self",(char *) "padding", NULL
15140 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_SetPadding",kwnames
,&obj0
,&obj1
)) goto fail
;
15141 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebook
,
15142 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15145 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
15148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15149 (arg1
)->SetPadding((wxSize
const &)*arg2
);
15151 wxPyEndAllowThreads(__tstate
);
15152 if (PyErr_Occurred()) SWIG_fail
;
15154 Py_INCREF(Py_None
); resultobj
= Py_None
;
15161 static PyObject
*_wrap_Notebook_SetTabSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15162 PyObject
*resultobj
;
15163 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
15166 PyObject
* obj0
= 0 ;
15167 PyObject
* obj1
= 0 ;
15168 char *kwnames
[] = {
15169 (char *) "self",(char *) "sz", NULL
15172 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_SetTabSize",kwnames
,&obj0
,&obj1
)) goto fail
;
15173 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebook
,
15174 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15177 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
15180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15181 (arg1
)->SetTabSize((wxSize
const &)*arg2
);
15183 wxPyEndAllowThreads(__tstate
);
15184 if (PyErr_Occurred()) SWIG_fail
;
15186 Py_INCREF(Py_None
); resultobj
= Py_None
;
15193 static PyObject
*_wrap_Notebook_HitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15194 PyObject
*resultobj
;
15195 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
15196 wxPoint
*arg2
= 0 ;
15197 long *arg3
= (long *) 0 ;
15201 PyObject
* obj0
= 0 ;
15202 PyObject
* obj1
= 0 ;
15203 char *kwnames
[] = {
15204 (char *) "self",(char *) "pt", NULL
15208 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
15209 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebook
,
15210 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15213 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
15216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15217 result
= (int)((wxNotebook
const *)arg1
)->HitTest((wxPoint
const &)*arg2
,arg3
);
15219 wxPyEndAllowThreads(__tstate
);
15220 if (PyErr_Occurred()) SWIG_fail
;
15222 resultobj
= SWIG_FromInt((int)result
);
15224 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
15225 resultobj
= t_output_helper(resultobj
,o
);
15233 static PyObject
*_wrap_Notebook_CalcSizeFromPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15234 PyObject
*resultobj
;
15235 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
15239 PyObject
* obj0
= 0 ;
15240 PyObject
* obj1
= 0 ;
15241 char *kwnames
[] = {
15242 (char *) "self",(char *) "sizePage", NULL
15245 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_CalcSizeFromPage",kwnames
,&obj0
,&obj1
)) goto fail
;
15246 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebook
,
15247 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15250 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
15253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15254 result
= ((wxNotebook
const *)arg1
)->CalcSizeFromPage((wxSize
const &)*arg2
);
15256 wxPyEndAllowThreads(__tstate
);
15257 if (PyErr_Occurred()) SWIG_fail
;
15260 wxSize
* resultptr
;
15261 resultptr
= new wxSize((wxSize
&) result
);
15262 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
15270 static PyObject
*_wrap_Notebook_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15271 PyObject
*resultobj
;
15272 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
15273 wxVisualAttributes result
;
15274 PyObject
* obj0
= 0 ;
15275 char *kwnames
[] = {
15276 (char *) "variant", NULL
15279 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Notebook_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
15281 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
15282 if (PyErr_Occurred()) SWIG_fail
;
15285 if (!wxPyCheckForApp()) SWIG_fail
;
15286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15287 result
= wxNotebook::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
15289 wxPyEndAllowThreads(__tstate
);
15290 if (PyErr_Occurred()) SWIG_fail
;
15293 wxVisualAttributes
* resultptr
;
15294 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
15295 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
15303 static PyObject
* Notebook_swigregister(PyObject
*self
, PyObject
*args
) {
15305 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15306 SWIG_TypeClientData(SWIGTYPE_p_wxNotebook
, obj
);
15308 return Py_BuildValue((char *)"");
15310 static PyObject
*_wrap_new_NotebookEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15311 PyObject
*resultobj
;
15312 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
15313 int arg2
= (int) 0 ;
15314 int arg3
= (int) -1 ;
15315 int arg4
= (int) -1 ;
15316 wxNotebookEvent
*result
;
15317 PyObject
* obj0
= 0 ;
15318 PyObject
* obj1
= 0 ;
15319 PyObject
* obj2
= 0 ;
15320 PyObject
* obj3
= 0 ;
15321 char *kwnames
[] = {
15322 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
15325 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_NotebookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
15327 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
15328 if (PyErr_Occurred()) SWIG_fail
;
15331 arg2
= (int) SWIG_AsInt(obj1
);
15332 if (PyErr_Occurred()) SWIG_fail
;
15335 arg3
= (int) SWIG_AsInt(obj2
);
15336 if (PyErr_Occurred()) SWIG_fail
;
15339 arg4
= (int) SWIG_AsInt(obj3
);
15340 if (PyErr_Occurred()) SWIG_fail
;
15343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15344 result
= (wxNotebookEvent
*)new wxNotebookEvent(arg1
,arg2
,arg3
,arg4
);
15346 wxPyEndAllowThreads(__tstate
);
15347 if (PyErr_Occurred()) SWIG_fail
;
15349 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNotebookEvent
, 1);
15356 static PyObject
* NotebookEvent_swigregister(PyObject
*self
, PyObject
*args
) {
15358 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15359 SWIG_TypeClientData(SWIGTYPE_p_wxNotebookEvent
, obj
);
15361 return Py_BuildValue((char *)"");
15363 static PyObject
*_wrap_new_Listbook(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15364 PyObject
*resultobj
;
15365 wxWindow
*arg1
= (wxWindow
*) 0 ;
15366 int arg2
= (int) -1 ;
15367 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
15368 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
15369 wxSize
const &arg4_defvalue
= wxDefaultSize
;
15370 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
15371 long arg5
= (long) 0 ;
15372 wxString
const &arg6_defvalue
= wxPyEmptyString
;
15373 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
15374 wxListbook
*result
;
15377 bool temp6
= False
;
15378 PyObject
* obj0
= 0 ;
15379 PyObject
* obj1
= 0 ;
15380 PyObject
* obj2
= 0 ;
15381 PyObject
* obj3
= 0 ;
15382 PyObject
* obj4
= 0 ;
15383 PyObject
* obj5
= 0 ;
15384 char *kwnames
[] = {
15385 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15388 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_Listbook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
15389 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
15390 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15392 arg2
= (int) SWIG_AsInt(obj1
);
15393 if (PyErr_Occurred()) SWIG_fail
;
15398 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
15404 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
15408 arg5
= (long) SWIG_AsLong(obj4
);
15409 if (PyErr_Occurred()) SWIG_fail
;
15413 arg6
= wxString_in_helper(obj5
);
15414 if (arg6
== NULL
) SWIG_fail
;
15419 if (!wxPyCheckForApp()) SWIG_fail
;
15420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15421 result
= (wxListbook
*)new wxListbook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
15423 wxPyEndAllowThreads(__tstate
);
15424 if (PyErr_Occurred()) SWIG_fail
;
15426 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListbook
, 1);
15441 static PyObject
*_wrap_new_PreListbook(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15442 PyObject
*resultobj
;
15443 wxListbook
*result
;
15444 char *kwnames
[] = {
15448 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreListbook",kwnames
)) goto fail
;
15450 if (!wxPyCheckForApp()) SWIG_fail
;
15451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15452 result
= (wxListbook
*)new wxListbook();
15454 wxPyEndAllowThreads(__tstate
);
15455 if (PyErr_Occurred()) SWIG_fail
;
15457 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListbook
, 1);
15464 static PyObject
*_wrap_Listbook_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15465 PyObject
*resultobj
;
15466 wxListbook
*arg1
= (wxListbook
*) 0 ;
15467 wxWindow
*arg2
= (wxWindow
*) 0 ;
15468 int arg3
= (int) -1 ;
15469 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
15470 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
15471 wxSize
const &arg5_defvalue
= wxDefaultSize
;
15472 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
15473 long arg6
= (long) 0 ;
15474 wxString
const &arg7_defvalue
= wxPyEmptyString
;
15475 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
15479 bool temp7
= False
;
15480 PyObject
* obj0
= 0 ;
15481 PyObject
* obj1
= 0 ;
15482 PyObject
* obj2
= 0 ;
15483 PyObject
* obj3
= 0 ;
15484 PyObject
* obj4
= 0 ;
15485 PyObject
* obj5
= 0 ;
15486 PyObject
* obj6
= 0 ;
15487 char *kwnames
[] = {
15488 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15491 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:Listbook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
15492 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListbook
,
15493 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15494 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
15495 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15497 arg3
= (int) SWIG_AsInt(obj2
);
15498 if (PyErr_Occurred()) SWIG_fail
;
15503 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
15509 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
15513 arg6
= (long) SWIG_AsLong(obj5
);
15514 if (PyErr_Occurred()) SWIG_fail
;
15518 arg7
= wxString_in_helper(obj6
);
15519 if (arg7
== NULL
) SWIG_fail
;
15524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15525 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
15527 wxPyEndAllowThreads(__tstate
);
15528 if (PyErr_Occurred()) SWIG_fail
;
15531 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15547 static PyObject
*_wrap_Listbook_IsVertical(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15548 PyObject
*resultobj
;
15549 wxListbook
*arg1
= (wxListbook
*) 0 ;
15551 PyObject
* obj0
= 0 ;
15552 char *kwnames
[] = {
15553 (char *) "self", NULL
15556 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Listbook_IsVertical",kwnames
,&obj0
)) goto fail
;
15557 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListbook
,
15558 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15561 result
= (bool)((wxListbook
const *)arg1
)->IsVertical();
15563 wxPyEndAllowThreads(__tstate
);
15564 if (PyErr_Occurred()) SWIG_fail
;
15567 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15575 static PyObject
* Listbook_swigregister(PyObject
*self
, PyObject
*args
) {
15577 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15578 SWIG_TypeClientData(SWIGTYPE_p_wxListbook
, obj
);
15580 return Py_BuildValue((char *)"");
15582 static PyObject
*_wrap_new_ListbookEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15583 PyObject
*resultobj
;
15584 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
15585 int arg2
= (int) 0 ;
15586 int arg3
= (int) -1 ;
15587 int arg4
= (int) -1 ;
15588 wxListbookEvent
*result
;
15589 PyObject
* obj0
= 0 ;
15590 PyObject
* obj1
= 0 ;
15591 PyObject
* obj2
= 0 ;
15592 PyObject
* obj3
= 0 ;
15593 char *kwnames
[] = {
15594 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
15597 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_ListbookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
15599 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
15600 if (PyErr_Occurred()) SWIG_fail
;
15603 arg2
= (int) SWIG_AsInt(obj1
);
15604 if (PyErr_Occurred()) SWIG_fail
;
15607 arg3
= (int) SWIG_AsInt(obj2
);
15608 if (PyErr_Occurred()) SWIG_fail
;
15611 arg4
= (int) SWIG_AsInt(obj3
);
15612 if (PyErr_Occurred()) SWIG_fail
;
15615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15616 result
= (wxListbookEvent
*)new wxListbookEvent(arg1
,arg2
,arg3
,arg4
);
15618 wxPyEndAllowThreads(__tstate
);
15619 if (PyErr_Occurred()) SWIG_fail
;
15621 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListbookEvent
, 1);
15628 static PyObject
* ListbookEvent_swigregister(PyObject
*self
, PyObject
*args
) {
15630 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15631 SWIG_TypeClientData(SWIGTYPE_p_wxListbookEvent
, obj
);
15633 return Py_BuildValue((char *)"");
15635 static PyObject
*_wrap_new_BookCtrlSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15636 PyObject
*resultobj
;
15637 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
15638 wxBookCtrlSizer
*result
;
15639 PyObject
* obj0
= 0 ;
15640 char *kwnames
[] = {
15641 (char *) "nb", NULL
15644 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BookCtrlSizer",kwnames
,&obj0
)) goto fail
;
15645 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
15646 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15649 result
= (wxBookCtrlSizer
*)new wxBookCtrlSizer(arg1
);
15651 wxPyEndAllowThreads(__tstate
);
15652 if (PyErr_Occurred()) SWIG_fail
;
15654 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBookCtrlSizer
, 1);
15661 static PyObject
*_wrap_BookCtrlSizer_RecalcSizes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15662 PyObject
*resultobj
;
15663 wxBookCtrlSizer
*arg1
= (wxBookCtrlSizer
*) 0 ;
15664 PyObject
* obj0
= 0 ;
15665 char *kwnames
[] = {
15666 (char *) "self", NULL
15669 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlSizer_RecalcSizes",kwnames
,&obj0
)) goto fail
;
15670 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrlSizer
,
15671 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15674 (arg1
)->RecalcSizes();
15676 wxPyEndAllowThreads(__tstate
);
15677 if (PyErr_Occurred()) SWIG_fail
;
15679 Py_INCREF(Py_None
); resultobj
= Py_None
;
15686 static PyObject
*_wrap_BookCtrlSizer_CalcMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15687 PyObject
*resultobj
;
15688 wxBookCtrlSizer
*arg1
= (wxBookCtrlSizer
*) 0 ;
15690 PyObject
* obj0
= 0 ;
15691 char *kwnames
[] = {
15692 (char *) "self", NULL
15695 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlSizer_CalcMin",kwnames
,&obj0
)) goto fail
;
15696 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrlSizer
,
15697 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15700 result
= (arg1
)->CalcMin();
15702 wxPyEndAllowThreads(__tstate
);
15703 if (PyErr_Occurred()) SWIG_fail
;
15706 wxSize
* resultptr
;
15707 resultptr
= new wxSize((wxSize
&) result
);
15708 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
15716 static PyObject
*_wrap_BookCtrlSizer_GetControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15717 PyObject
*resultobj
;
15718 wxBookCtrlSizer
*arg1
= (wxBookCtrlSizer
*) 0 ;
15719 wxBookCtrl
*result
;
15720 PyObject
* obj0
= 0 ;
15721 char *kwnames
[] = {
15722 (char *) "self", NULL
15725 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlSizer_GetControl",kwnames
,&obj0
)) goto fail
;
15726 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrlSizer
,
15727 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15730 result
= (wxBookCtrl
*)(arg1
)->GetControl();
15732 wxPyEndAllowThreads(__tstate
);
15733 if (PyErr_Occurred()) SWIG_fail
;
15735 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBookCtrl
, 0);
15742 static PyObject
* BookCtrlSizer_swigregister(PyObject
*self
, PyObject
*args
) {
15744 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15745 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrlSizer
, obj
);
15747 return Py_BuildValue((char *)"");
15749 static PyObject
*_wrap_new_NotebookSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15750 PyObject
*resultobj
;
15751 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
15752 wxNotebookSizer
*result
;
15753 PyObject
* obj0
= 0 ;
15754 char *kwnames
[] = {
15755 (char *) "nb", NULL
15758 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_NotebookSizer",kwnames
,&obj0
)) goto fail
;
15759 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebook
,
15760 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15763 result
= (wxNotebookSizer
*)new wxNotebookSizer(arg1
);
15765 wxPyEndAllowThreads(__tstate
);
15766 if (PyErr_Occurred()) SWIG_fail
;
15768 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNotebookSizer
, 1);
15775 static PyObject
*_wrap_NotebookSizer_RecalcSizes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15776 PyObject
*resultobj
;
15777 wxNotebookSizer
*arg1
= (wxNotebookSizer
*) 0 ;
15778 PyObject
* obj0
= 0 ;
15779 char *kwnames
[] = {
15780 (char *) "self", NULL
15783 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotebookSizer_RecalcSizes",kwnames
,&obj0
)) goto fail
;
15784 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebookSizer
,
15785 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15788 (arg1
)->RecalcSizes();
15790 wxPyEndAllowThreads(__tstate
);
15791 if (PyErr_Occurred()) SWIG_fail
;
15793 Py_INCREF(Py_None
); resultobj
= Py_None
;
15800 static PyObject
*_wrap_NotebookSizer_CalcMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15801 PyObject
*resultobj
;
15802 wxNotebookSizer
*arg1
= (wxNotebookSizer
*) 0 ;
15804 PyObject
* obj0
= 0 ;
15805 char *kwnames
[] = {
15806 (char *) "self", NULL
15809 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotebookSizer_CalcMin",kwnames
,&obj0
)) goto fail
;
15810 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebookSizer
,
15811 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15814 result
= (arg1
)->CalcMin();
15816 wxPyEndAllowThreads(__tstate
);
15817 if (PyErr_Occurred()) SWIG_fail
;
15820 wxSize
* resultptr
;
15821 resultptr
= new wxSize((wxSize
&) result
);
15822 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
15830 static PyObject
*_wrap_NotebookSizer_GetNotebook(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15831 PyObject
*resultobj
;
15832 wxNotebookSizer
*arg1
= (wxNotebookSizer
*) 0 ;
15833 wxNotebook
*result
;
15834 PyObject
* obj0
= 0 ;
15835 char *kwnames
[] = {
15836 (char *) "self", NULL
15839 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotebookSizer_GetNotebook",kwnames
,&obj0
)) goto fail
;
15840 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebookSizer
,
15841 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15844 result
= (wxNotebook
*)(arg1
)->GetNotebook();
15846 wxPyEndAllowThreads(__tstate
);
15847 if (PyErr_Occurred()) SWIG_fail
;
15850 resultobj
= wxPyMake_wxObject(result
, 0);
15858 static PyObject
* NotebookSizer_swigregister(PyObject
*self
, PyObject
*args
) {
15860 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15861 SWIG_TypeClientData(SWIGTYPE_p_wxNotebookSizer
, obj
);
15863 return Py_BuildValue((char *)"");
15865 static PyObject
*_wrap_ToolBarToolBase_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15866 PyObject
*resultobj
;
15867 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15869 PyObject
* obj0
= 0 ;
15870 char *kwnames
[] = {
15871 (char *) "self", NULL
15874 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetId",kwnames
,&obj0
)) goto fail
;
15875 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15876 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15879 result
= (int)(arg1
)->GetId();
15881 wxPyEndAllowThreads(__tstate
);
15882 if (PyErr_Occurred()) SWIG_fail
;
15884 resultobj
= SWIG_FromInt((int)result
);
15891 static PyObject
*_wrap_ToolBarToolBase_GetControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15892 PyObject
*resultobj
;
15893 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15895 PyObject
* obj0
= 0 ;
15896 char *kwnames
[] = {
15897 (char *) "self", NULL
15900 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetControl",kwnames
,&obj0
)) goto fail
;
15901 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15902 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15905 result
= (wxControl
*)(arg1
)->GetControl();
15907 wxPyEndAllowThreads(__tstate
);
15908 if (PyErr_Occurred()) SWIG_fail
;
15911 resultobj
= wxPyMake_wxObject(result
, 0);
15919 static PyObject
*_wrap_ToolBarToolBase_GetToolBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15920 PyObject
*resultobj
;
15921 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15922 wxToolBarBase
*result
;
15923 PyObject
* obj0
= 0 ;
15924 char *kwnames
[] = {
15925 (char *) "self", NULL
15928 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetToolBar",kwnames
,&obj0
)) goto fail
;
15929 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15930 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15933 result
= (wxToolBarBase
*)(arg1
)->GetToolBar();
15935 wxPyEndAllowThreads(__tstate
);
15936 if (PyErr_Occurred()) SWIG_fail
;
15939 resultobj
= wxPyMake_wxObject(result
, 0);
15947 static PyObject
*_wrap_ToolBarToolBase_IsButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15948 PyObject
*resultobj
;
15949 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15951 PyObject
* obj0
= 0 ;
15952 char *kwnames
[] = {
15953 (char *) "self", NULL
15956 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsButton",kwnames
,&obj0
)) goto fail
;
15957 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15958 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15961 result
= (int)(arg1
)->IsButton();
15963 wxPyEndAllowThreads(__tstate
);
15964 if (PyErr_Occurred()) SWIG_fail
;
15966 resultobj
= SWIG_FromInt((int)result
);
15973 static PyObject
*_wrap_ToolBarToolBase_IsControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15974 PyObject
*resultobj
;
15975 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15977 PyObject
* obj0
= 0 ;
15978 char *kwnames
[] = {
15979 (char *) "self", NULL
15982 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsControl",kwnames
,&obj0
)) goto fail
;
15983 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15984 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15987 result
= (int)(arg1
)->IsControl();
15989 wxPyEndAllowThreads(__tstate
);
15990 if (PyErr_Occurred()) SWIG_fail
;
15992 resultobj
= SWIG_FromInt((int)result
);
15999 static PyObject
*_wrap_ToolBarToolBase_IsSeparator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16000 PyObject
*resultobj
;
16001 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16003 PyObject
* obj0
= 0 ;
16004 char *kwnames
[] = {
16005 (char *) "self", NULL
16008 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsSeparator",kwnames
,&obj0
)) goto fail
;
16009 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16010 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16013 result
= (int)(arg1
)->IsSeparator();
16015 wxPyEndAllowThreads(__tstate
);
16016 if (PyErr_Occurred()) SWIG_fail
;
16018 resultobj
= SWIG_FromInt((int)result
);
16025 static PyObject
*_wrap_ToolBarToolBase_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16026 PyObject
*resultobj
;
16027 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16029 PyObject
* obj0
= 0 ;
16030 char *kwnames
[] = {
16031 (char *) "self", NULL
16034 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetStyle",kwnames
,&obj0
)) goto fail
;
16035 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16036 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16039 result
= (int)(arg1
)->GetStyle();
16041 wxPyEndAllowThreads(__tstate
);
16042 if (PyErr_Occurred()) SWIG_fail
;
16044 resultobj
= SWIG_FromInt((int)result
);
16051 static PyObject
*_wrap_ToolBarToolBase_GetKind(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16052 PyObject
*resultobj
;
16053 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16055 PyObject
* obj0
= 0 ;
16056 char *kwnames
[] = {
16057 (char *) "self", NULL
16060 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetKind",kwnames
,&obj0
)) goto fail
;
16061 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16062 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16065 result
= (int)(arg1
)->GetKind();
16067 wxPyEndAllowThreads(__tstate
);
16068 if (PyErr_Occurred()) SWIG_fail
;
16070 resultobj
= SWIG_FromInt((int)result
);
16077 static PyObject
*_wrap_ToolBarToolBase_IsEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16078 PyObject
*resultobj
;
16079 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16081 PyObject
* obj0
= 0 ;
16082 char *kwnames
[] = {
16083 (char *) "self", NULL
16086 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsEnabled",kwnames
,&obj0
)) goto fail
;
16087 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16088 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16091 result
= (bool)(arg1
)->IsEnabled();
16093 wxPyEndAllowThreads(__tstate
);
16094 if (PyErr_Occurred()) SWIG_fail
;
16097 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16105 static PyObject
*_wrap_ToolBarToolBase_IsToggled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16106 PyObject
*resultobj
;
16107 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16109 PyObject
* obj0
= 0 ;
16110 char *kwnames
[] = {
16111 (char *) "self", NULL
16114 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsToggled",kwnames
,&obj0
)) goto fail
;
16115 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16116 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16119 result
= (bool)(arg1
)->IsToggled();
16121 wxPyEndAllowThreads(__tstate
);
16122 if (PyErr_Occurred()) SWIG_fail
;
16125 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16133 static PyObject
*_wrap_ToolBarToolBase_CanBeToggled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16134 PyObject
*resultobj
;
16135 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16137 PyObject
* obj0
= 0 ;
16138 char *kwnames
[] = {
16139 (char *) "self", NULL
16142 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_CanBeToggled",kwnames
,&obj0
)) goto fail
;
16143 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16144 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16147 result
= (bool)(arg1
)->CanBeToggled();
16149 wxPyEndAllowThreads(__tstate
);
16150 if (PyErr_Occurred()) SWIG_fail
;
16153 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16161 static PyObject
*_wrap_ToolBarToolBase_GetNormalBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16162 PyObject
*resultobj
;
16163 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16165 PyObject
* obj0
= 0 ;
16166 char *kwnames
[] = {
16167 (char *) "self", NULL
16170 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetNormalBitmap",kwnames
,&obj0
)) goto fail
;
16171 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16172 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16176 wxBitmap
const &_result_ref
= (arg1
)->GetNormalBitmap();
16177 result
= (wxBitmap
*) &_result_ref
;
16180 wxPyEndAllowThreads(__tstate
);
16181 if (PyErr_Occurred()) SWIG_fail
;
16184 wxBitmap
* resultptr
= new wxBitmap(*result
);
16185 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
16193 static PyObject
*_wrap_ToolBarToolBase_GetDisabledBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16194 PyObject
*resultobj
;
16195 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16197 PyObject
* obj0
= 0 ;
16198 char *kwnames
[] = {
16199 (char *) "self", NULL
16202 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetDisabledBitmap",kwnames
,&obj0
)) goto fail
;
16203 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16204 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16208 wxBitmap
const &_result_ref
= (arg1
)->GetDisabledBitmap();
16209 result
= (wxBitmap
*) &_result_ref
;
16212 wxPyEndAllowThreads(__tstate
);
16213 if (PyErr_Occurred()) SWIG_fail
;
16216 wxBitmap
* resultptr
= new wxBitmap(*result
);
16217 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
16225 static PyObject
*_wrap_ToolBarToolBase_GetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16226 PyObject
*resultobj
;
16227 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16229 PyObject
* obj0
= 0 ;
16230 char *kwnames
[] = {
16231 (char *) "self", NULL
16234 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetBitmap",kwnames
,&obj0
)) goto fail
;
16235 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16236 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16239 result
= (arg1
)->GetBitmap();
16241 wxPyEndAllowThreads(__tstate
);
16242 if (PyErr_Occurred()) SWIG_fail
;
16245 wxBitmap
* resultptr
;
16246 resultptr
= new wxBitmap((wxBitmap
&) result
);
16247 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
16255 static PyObject
*_wrap_ToolBarToolBase_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16256 PyObject
*resultobj
;
16257 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16259 PyObject
* obj0
= 0 ;
16260 char *kwnames
[] = {
16261 (char *) "self", NULL
16264 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetLabel",kwnames
,&obj0
)) goto fail
;
16265 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16266 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16269 result
= (arg1
)->GetLabel();
16271 wxPyEndAllowThreads(__tstate
);
16272 if (PyErr_Occurred()) SWIG_fail
;
16276 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16278 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16287 static PyObject
*_wrap_ToolBarToolBase_GetShortHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16288 PyObject
*resultobj
;
16289 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16291 PyObject
* obj0
= 0 ;
16292 char *kwnames
[] = {
16293 (char *) "self", NULL
16296 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetShortHelp",kwnames
,&obj0
)) goto fail
;
16297 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16298 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16301 result
= (arg1
)->GetShortHelp();
16303 wxPyEndAllowThreads(__tstate
);
16304 if (PyErr_Occurred()) SWIG_fail
;
16308 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16310 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16319 static PyObject
*_wrap_ToolBarToolBase_GetLongHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16320 PyObject
*resultobj
;
16321 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16323 PyObject
* obj0
= 0 ;
16324 char *kwnames
[] = {
16325 (char *) "self", NULL
16328 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetLongHelp",kwnames
,&obj0
)) goto fail
;
16329 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16330 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16333 result
= (arg1
)->GetLongHelp();
16335 wxPyEndAllowThreads(__tstate
);
16336 if (PyErr_Occurred()) SWIG_fail
;
16340 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16342 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16351 static PyObject
*_wrap_ToolBarToolBase_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16352 PyObject
*resultobj
;
16353 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16356 PyObject
* obj0
= 0 ;
16357 PyObject
* obj1
= 0 ;
16358 char *kwnames
[] = {
16359 (char *) "self",(char *) "enable", NULL
16362 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_Enable",kwnames
,&obj0
,&obj1
)) goto fail
;
16363 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16364 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16365 arg2
= (bool) SWIG_AsBool(obj1
);
16366 if (PyErr_Occurred()) SWIG_fail
;
16368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16369 result
= (bool)(arg1
)->Enable(arg2
);
16371 wxPyEndAllowThreads(__tstate
);
16372 if (PyErr_Occurred()) SWIG_fail
;
16375 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16383 static PyObject
*_wrap_ToolBarToolBase_Toggle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16384 PyObject
*resultobj
;
16385 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16386 PyObject
* obj0
= 0 ;
16387 char *kwnames
[] = {
16388 (char *) "self", NULL
16391 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_Toggle",kwnames
,&obj0
)) goto fail
;
16392 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16393 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16398 wxPyEndAllowThreads(__tstate
);
16399 if (PyErr_Occurred()) SWIG_fail
;
16401 Py_INCREF(Py_None
); resultobj
= Py_None
;
16408 static PyObject
*_wrap_ToolBarToolBase_SetToggle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16409 PyObject
*resultobj
;
16410 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16413 PyObject
* obj0
= 0 ;
16414 PyObject
* obj1
= 0 ;
16415 char *kwnames
[] = {
16416 (char *) "self",(char *) "toggle", NULL
16419 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetToggle",kwnames
,&obj0
,&obj1
)) goto fail
;
16420 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16421 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16422 arg2
= (bool) SWIG_AsBool(obj1
);
16423 if (PyErr_Occurred()) SWIG_fail
;
16425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16426 result
= (bool)(arg1
)->SetToggle(arg2
);
16428 wxPyEndAllowThreads(__tstate
);
16429 if (PyErr_Occurred()) SWIG_fail
;
16432 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16440 static PyObject
*_wrap_ToolBarToolBase_SetShortHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16441 PyObject
*resultobj
;
16442 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16443 wxString
*arg2
= 0 ;
16445 bool temp2
= False
;
16446 PyObject
* obj0
= 0 ;
16447 PyObject
* obj1
= 0 ;
16448 char *kwnames
[] = {
16449 (char *) "self",(char *) "help", NULL
16452 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetShortHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
16453 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16454 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16456 arg2
= wxString_in_helper(obj1
);
16457 if (arg2
== NULL
) SWIG_fail
;
16461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16462 result
= (bool)(arg1
)->SetShortHelp((wxString
const &)*arg2
);
16464 wxPyEndAllowThreads(__tstate
);
16465 if (PyErr_Occurred()) SWIG_fail
;
16468 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16484 static PyObject
*_wrap_ToolBarToolBase_SetLongHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16485 PyObject
*resultobj
;
16486 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16487 wxString
*arg2
= 0 ;
16489 bool temp2
= False
;
16490 PyObject
* obj0
= 0 ;
16491 PyObject
* obj1
= 0 ;
16492 char *kwnames
[] = {
16493 (char *) "self",(char *) "help", NULL
16496 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetLongHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
16497 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16498 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16500 arg2
= wxString_in_helper(obj1
);
16501 if (arg2
== NULL
) SWIG_fail
;
16505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16506 result
= (bool)(arg1
)->SetLongHelp((wxString
const &)*arg2
);
16508 wxPyEndAllowThreads(__tstate
);
16509 if (PyErr_Occurred()) SWIG_fail
;
16512 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16528 static PyObject
*_wrap_ToolBarToolBase_SetNormalBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16529 PyObject
*resultobj
;
16530 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16531 wxBitmap
*arg2
= 0 ;
16532 PyObject
* obj0
= 0 ;
16533 PyObject
* obj1
= 0 ;
16534 char *kwnames
[] = {
16535 (char *) "self",(char *) "bmp", NULL
16538 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetNormalBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
16539 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16540 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16541 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
16542 SWIG_POINTER_EXCEPTION
| 0)) == -1)
16544 if (arg2
== NULL
) {
16545 PyErr_SetString(PyExc_TypeError
,"null reference");
16549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16550 (arg1
)->SetNormalBitmap((wxBitmap
const &)*arg2
);
16552 wxPyEndAllowThreads(__tstate
);
16553 if (PyErr_Occurred()) SWIG_fail
;
16555 Py_INCREF(Py_None
); resultobj
= Py_None
;
16562 static PyObject
*_wrap_ToolBarToolBase_SetDisabledBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16563 PyObject
*resultobj
;
16564 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16565 wxBitmap
*arg2
= 0 ;
16566 PyObject
* obj0
= 0 ;
16567 PyObject
* obj1
= 0 ;
16568 char *kwnames
[] = {
16569 (char *) "self",(char *) "bmp", NULL
16572 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetDisabledBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
16573 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16574 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16575 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
16576 SWIG_POINTER_EXCEPTION
| 0)) == -1)
16578 if (arg2
== NULL
) {
16579 PyErr_SetString(PyExc_TypeError
,"null reference");
16583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16584 (arg1
)->SetDisabledBitmap((wxBitmap
const &)*arg2
);
16586 wxPyEndAllowThreads(__tstate
);
16587 if (PyErr_Occurred()) SWIG_fail
;
16589 Py_INCREF(Py_None
); resultobj
= Py_None
;
16596 static PyObject
*_wrap_ToolBarToolBase_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16597 PyObject
*resultobj
;
16598 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16599 wxString
*arg2
= 0 ;
16600 bool temp2
= False
;
16601 PyObject
* obj0
= 0 ;
16602 PyObject
* obj1
= 0 ;
16603 char *kwnames
[] = {
16604 (char *) "self",(char *) "label", NULL
16607 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
16608 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16609 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16611 arg2
= wxString_in_helper(obj1
);
16612 if (arg2
== NULL
) SWIG_fail
;
16616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16617 (arg1
)->SetLabel((wxString
const &)*arg2
);
16619 wxPyEndAllowThreads(__tstate
);
16620 if (PyErr_Occurred()) SWIG_fail
;
16622 Py_INCREF(Py_None
); resultobj
= Py_None
;
16637 static PyObject
*_wrap_ToolBarToolBase_Detach(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16638 PyObject
*resultobj
;
16639 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16640 PyObject
* obj0
= 0 ;
16641 char *kwnames
[] = {
16642 (char *) "self", NULL
16645 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_Detach",kwnames
,&obj0
)) goto fail
;
16646 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16647 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16652 wxPyEndAllowThreads(__tstate
);
16653 if (PyErr_Occurred()) SWIG_fail
;
16655 Py_INCREF(Py_None
); resultobj
= Py_None
;
16662 static PyObject
*_wrap_ToolBarToolBase_Attach(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16663 PyObject
*resultobj
;
16664 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16665 wxToolBarBase
*arg2
= (wxToolBarBase
*) 0 ;
16666 PyObject
* obj0
= 0 ;
16667 PyObject
* obj1
= 0 ;
16668 char *kwnames
[] = {
16669 (char *) "self",(char *) "tbar", NULL
16672 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_Attach",kwnames
,&obj0
,&obj1
)) goto fail
;
16673 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16674 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16675 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxToolBarBase
,
16676 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16679 (arg1
)->Attach(arg2
);
16681 wxPyEndAllowThreads(__tstate
);
16682 if (PyErr_Occurred()) SWIG_fail
;
16684 Py_INCREF(Py_None
); resultobj
= Py_None
;
16691 static PyObject
*_wrap_ToolBarToolBase_GetClientData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16692 PyObject
*resultobj
;
16693 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16695 PyObject
* obj0
= 0 ;
16696 char *kwnames
[] = {
16697 (char *) "self", NULL
16700 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetClientData",kwnames
,&obj0
)) goto fail
;
16701 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16702 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16705 result
= (PyObject
*)wxToolBarToolBase_GetClientData(arg1
);
16707 wxPyEndAllowThreads(__tstate
);
16708 if (PyErr_Occurred()) SWIG_fail
;
16710 resultobj
= result
;
16717 static PyObject
*_wrap_ToolBarToolBase_SetClientData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16718 PyObject
*resultobj
;
16719 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16720 PyObject
*arg2
= (PyObject
*) 0 ;
16721 PyObject
* obj0
= 0 ;
16722 PyObject
* obj1
= 0 ;
16723 char *kwnames
[] = {
16724 (char *) "self",(char *) "clientData", NULL
16727 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetClientData",kwnames
,&obj0
,&obj1
)) goto fail
;
16728 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16729 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16733 wxToolBarToolBase_SetClientData(arg1
,arg2
);
16735 wxPyEndAllowThreads(__tstate
);
16736 if (PyErr_Occurred()) SWIG_fail
;
16738 Py_INCREF(Py_None
); resultobj
= Py_None
;
16745 static PyObject
* ToolBarToolBase_swigregister(PyObject
*self
, PyObject
*args
) {
16747 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16748 SWIG_TypeClientData(SWIGTYPE_p_wxToolBarToolBase
, obj
);
16750 return Py_BuildValue((char *)"");
16752 static PyObject
*_wrap_ToolBarBase_DoAddTool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16753 PyObject
*resultobj
;
16754 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16756 wxString
*arg3
= 0 ;
16757 wxBitmap
*arg4
= 0 ;
16758 wxBitmap
const &arg5_defvalue
= wxNullBitmap
;
16759 wxBitmap
*arg5
= (wxBitmap
*) &arg5_defvalue
;
16760 int arg6
= (int) wxITEM_NORMAL
;
16761 wxString
const &arg7_defvalue
= wxPyEmptyString
;
16762 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
16763 wxString
const &arg8_defvalue
= wxPyEmptyString
;
16764 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
16765 PyObject
*arg9
= (PyObject
*) NULL
;
16766 wxToolBarToolBase
*result
;
16767 bool temp3
= False
;
16768 bool temp7
= False
;
16769 bool temp8
= False
;
16770 PyObject
* obj0
= 0 ;
16771 PyObject
* obj1
= 0 ;
16772 PyObject
* obj2
= 0 ;
16773 PyObject
* obj3
= 0 ;
16774 PyObject
* obj4
= 0 ;
16775 PyObject
* obj5
= 0 ;
16776 PyObject
* obj6
= 0 ;
16777 PyObject
* obj7
= 0 ;
16778 PyObject
* obj8
= 0 ;
16779 char *kwnames
[] = {
16780 (char *) "self",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
16783 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOOO:ToolBarBase_DoAddTool",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
16784 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16785 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16786 arg2
= (int) SWIG_AsInt(obj1
);
16787 if (PyErr_Occurred()) SWIG_fail
;
16789 arg3
= wxString_in_helper(obj2
);
16790 if (arg3
== NULL
) SWIG_fail
;
16793 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxBitmap
,
16794 SWIG_POINTER_EXCEPTION
| 0)) == -1)
16796 if (arg4
== NULL
) {
16797 PyErr_SetString(PyExc_TypeError
,"null reference");
16801 if ((SWIG_ConvertPtr(obj4
,(void **)(&arg5
),SWIGTYPE_p_wxBitmap
,
16802 SWIG_POINTER_EXCEPTION
| 0)) == -1)
16804 if (arg5
== NULL
) {
16805 PyErr_SetString(PyExc_TypeError
,"null reference");
16810 arg6
= (wxItemKind
) SWIG_AsInt(obj5
);
16811 if (PyErr_Occurred()) SWIG_fail
;
16815 arg7
= wxString_in_helper(obj6
);
16816 if (arg7
== NULL
) SWIG_fail
;
16822 arg8
= wxString_in_helper(obj7
);
16823 if (arg8
== NULL
) SWIG_fail
;
16831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16832 result
= (wxToolBarToolBase
*)wxToolBarBase_DoAddTool(arg1
,arg2
,(wxString
const &)*arg3
,(wxBitmap
const &)*arg4
,(wxBitmap
const &)*arg5
,(wxItemKind
)arg6
,(wxString
const &)*arg7
,(wxString
const &)*arg8
,arg9
);
16834 wxPyEndAllowThreads(__tstate
);
16835 if (PyErr_Occurred()) SWIG_fail
;
16838 resultobj
= wxPyMake_wxObject(result
, 0);
16870 static PyObject
*_wrap_ToolBarBase_DoInsertTool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16871 PyObject
*resultobj
;
16872 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16875 wxString
*arg4
= 0 ;
16876 wxBitmap
*arg5
= 0 ;
16877 wxBitmap
const &arg6_defvalue
= wxNullBitmap
;
16878 wxBitmap
*arg6
= (wxBitmap
*) &arg6_defvalue
;
16879 int arg7
= (int) wxITEM_NORMAL
;
16880 wxString
const &arg8_defvalue
= wxPyEmptyString
;
16881 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
16882 wxString
const &arg9_defvalue
= wxPyEmptyString
;
16883 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
16884 PyObject
*arg10
= (PyObject
*) NULL
;
16885 wxToolBarToolBase
*result
;
16886 bool temp4
= False
;
16887 bool temp8
= False
;
16888 bool temp9
= False
;
16889 PyObject
* obj0
= 0 ;
16890 PyObject
* obj1
= 0 ;
16891 PyObject
* obj2
= 0 ;
16892 PyObject
* obj3
= 0 ;
16893 PyObject
* obj4
= 0 ;
16894 PyObject
* obj5
= 0 ;
16895 PyObject
* obj6
= 0 ;
16896 PyObject
* obj7
= 0 ;
16897 PyObject
* obj8
= 0 ;
16898 PyObject
* obj9
= 0 ;
16899 char *kwnames
[] = {
16900 (char *) "self",(char *) "pos",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
16903 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOOOO:ToolBarBase_DoInsertTool",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
16904 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16905 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16906 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
16907 if (PyErr_Occurred()) SWIG_fail
;
16908 arg3
= (int) SWIG_AsInt(obj2
);
16909 if (PyErr_Occurred()) SWIG_fail
;
16911 arg4
= wxString_in_helper(obj3
);
16912 if (arg4
== NULL
) SWIG_fail
;
16915 if ((SWIG_ConvertPtr(obj4
,(void **)(&arg5
),SWIGTYPE_p_wxBitmap
,
16916 SWIG_POINTER_EXCEPTION
| 0)) == -1)
16918 if (arg5
== NULL
) {
16919 PyErr_SetString(PyExc_TypeError
,"null reference");
16923 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxBitmap
,
16924 SWIG_POINTER_EXCEPTION
| 0)) == -1)
16926 if (arg6
== NULL
) {
16927 PyErr_SetString(PyExc_TypeError
,"null reference");
16932 arg7
= (wxItemKind
) SWIG_AsInt(obj6
);
16933 if (PyErr_Occurred()) SWIG_fail
;
16937 arg8
= wxString_in_helper(obj7
);
16938 if (arg8
== NULL
) SWIG_fail
;
16944 arg9
= wxString_in_helper(obj8
);
16945 if (arg9
== NULL
) SWIG_fail
;
16953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16954 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
);
16956 wxPyEndAllowThreads(__tstate
);
16957 if (PyErr_Occurred()) SWIG_fail
;
16960 resultobj
= wxPyMake_wxObject(result
, 0);
16992 static PyObject
*_wrap_ToolBarBase_AddToolItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16993 PyObject
*resultobj
;
16994 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16995 wxToolBarToolBase
*arg2
= (wxToolBarToolBase
*) 0 ;
16996 wxToolBarToolBase
*result
;
16997 PyObject
* obj0
= 0 ;
16998 PyObject
* obj1
= 0 ;
16999 char *kwnames
[] = {
17000 (char *) "self",(char *) "tool", NULL
17003 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_AddToolItem",kwnames
,&obj0
,&obj1
)) goto fail
;
17004 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17005 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17006 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxToolBarToolBase
,
17007 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17010 result
= (wxToolBarToolBase
*)(arg1
)->AddTool(arg2
);
17012 wxPyEndAllowThreads(__tstate
);
17013 if (PyErr_Occurred()) SWIG_fail
;
17016 resultobj
= wxPyMake_wxObject(result
, 0);
17024 static PyObject
*_wrap_ToolBarBase_InsertToolItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17025 PyObject
*resultobj
;
17026 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17028 wxToolBarToolBase
*arg3
= (wxToolBarToolBase
*) 0 ;
17029 wxToolBarToolBase
*result
;
17030 PyObject
* obj0
= 0 ;
17031 PyObject
* obj1
= 0 ;
17032 PyObject
* obj2
= 0 ;
17033 char *kwnames
[] = {
17034 (char *) "self",(char *) "pos",(char *) "tool", NULL
17037 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_InsertToolItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17038 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17039 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17040 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
17041 if (PyErr_Occurred()) SWIG_fail
;
17042 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxToolBarToolBase
,
17043 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17046 result
= (wxToolBarToolBase
*)(arg1
)->InsertTool(arg2
,arg3
);
17048 wxPyEndAllowThreads(__tstate
);
17049 if (PyErr_Occurred()) SWIG_fail
;
17052 resultobj
= wxPyMake_wxObject(result
, 0);
17060 static PyObject
*_wrap_ToolBarBase_AddControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17061 PyObject
*resultobj
;
17062 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17063 wxControl
*arg2
= (wxControl
*) 0 ;
17064 wxToolBarToolBase
*result
;
17065 PyObject
* obj0
= 0 ;
17066 PyObject
* obj1
= 0 ;
17067 char *kwnames
[] = {
17068 (char *) "self",(char *) "control", NULL
17071 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_AddControl",kwnames
,&obj0
,&obj1
)) goto fail
;
17072 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17073 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17074 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxControl
,
17075 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17078 result
= (wxToolBarToolBase
*)(arg1
)->AddControl(arg2
);
17080 wxPyEndAllowThreads(__tstate
);
17081 if (PyErr_Occurred()) SWIG_fail
;
17084 resultobj
= wxPyMake_wxObject(result
, 0);
17092 static PyObject
*_wrap_ToolBarBase_InsertControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17093 PyObject
*resultobj
;
17094 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17096 wxControl
*arg3
= (wxControl
*) 0 ;
17097 wxToolBarToolBase
*result
;
17098 PyObject
* obj0
= 0 ;
17099 PyObject
* obj1
= 0 ;
17100 PyObject
* obj2
= 0 ;
17101 char *kwnames
[] = {
17102 (char *) "self",(char *) "pos",(char *) "control", NULL
17105 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_InsertControl",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17106 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17107 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17108 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
17109 if (PyErr_Occurred()) SWIG_fail
;
17110 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxControl
,
17111 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17114 result
= (wxToolBarToolBase
*)(arg1
)->InsertControl(arg2
,arg3
);
17116 wxPyEndAllowThreads(__tstate
);
17117 if (PyErr_Occurred()) SWIG_fail
;
17120 resultobj
= wxPyMake_wxObject(result
, 0);
17128 static PyObject
*_wrap_ToolBarBase_FindControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17129 PyObject
*resultobj
;
17130 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17133 PyObject
* obj0
= 0 ;
17134 PyObject
* obj1
= 0 ;
17135 char *kwnames
[] = {
17136 (char *) "self",(char *) "id", NULL
17139 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_FindControl",kwnames
,&obj0
,&obj1
)) goto fail
;
17140 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17141 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17142 arg2
= (int) SWIG_AsInt(obj1
);
17143 if (PyErr_Occurred()) SWIG_fail
;
17145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17146 result
= (wxControl
*)(arg1
)->FindControl(arg2
);
17148 wxPyEndAllowThreads(__tstate
);
17149 if (PyErr_Occurred()) SWIG_fail
;
17152 resultobj
= wxPyMake_wxObject(result
, 0);
17160 static PyObject
*_wrap_ToolBarBase_AddSeparator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17161 PyObject
*resultobj
;
17162 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17163 wxToolBarToolBase
*result
;
17164 PyObject
* obj0
= 0 ;
17165 char *kwnames
[] = {
17166 (char *) "self", NULL
17169 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_AddSeparator",kwnames
,&obj0
)) goto fail
;
17170 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17171 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17174 result
= (wxToolBarToolBase
*)(arg1
)->AddSeparator();
17176 wxPyEndAllowThreads(__tstate
);
17177 if (PyErr_Occurred()) SWIG_fail
;
17180 resultobj
= wxPyMake_wxObject(result
, 0);
17188 static PyObject
*_wrap_ToolBarBase_InsertSeparator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17189 PyObject
*resultobj
;
17190 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17192 wxToolBarToolBase
*result
;
17193 PyObject
* obj0
= 0 ;
17194 PyObject
* obj1
= 0 ;
17195 char *kwnames
[] = {
17196 (char *) "self",(char *) "pos", NULL
17199 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_InsertSeparator",kwnames
,&obj0
,&obj1
)) goto fail
;
17200 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17201 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17202 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
17203 if (PyErr_Occurred()) SWIG_fail
;
17205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17206 result
= (wxToolBarToolBase
*)(arg1
)->InsertSeparator(arg2
);
17208 wxPyEndAllowThreads(__tstate
);
17209 if (PyErr_Occurred()) SWIG_fail
;
17212 resultobj
= wxPyMake_wxObject(result
, 0);
17220 static PyObject
*_wrap_ToolBarBase_RemoveTool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17221 PyObject
*resultobj
;
17222 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17224 wxToolBarToolBase
*result
;
17225 PyObject
* obj0
= 0 ;
17226 PyObject
* obj1
= 0 ;
17227 char *kwnames
[] = {
17228 (char *) "self",(char *) "id", NULL
17231 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_RemoveTool",kwnames
,&obj0
,&obj1
)) goto fail
;
17232 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17233 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17234 arg2
= (int) SWIG_AsInt(obj1
);
17235 if (PyErr_Occurred()) SWIG_fail
;
17237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17238 result
= (wxToolBarToolBase
*)(arg1
)->RemoveTool(arg2
);
17240 wxPyEndAllowThreads(__tstate
);
17241 if (PyErr_Occurred()) SWIG_fail
;
17244 resultobj
= wxPyMake_wxObject(result
, 0);
17252 static PyObject
*_wrap_ToolBarBase_DeleteToolByPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17253 PyObject
*resultobj
;
17254 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17257 PyObject
* obj0
= 0 ;
17258 PyObject
* obj1
= 0 ;
17259 char *kwnames
[] = {
17260 (char *) "self",(char *) "pos", NULL
17263 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_DeleteToolByPos",kwnames
,&obj0
,&obj1
)) goto fail
;
17264 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17265 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17266 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
17267 if (PyErr_Occurred()) SWIG_fail
;
17269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17270 result
= (bool)(arg1
)->DeleteToolByPos(arg2
);
17272 wxPyEndAllowThreads(__tstate
);
17273 if (PyErr_Occurred()) SWIG_fail
;
17276 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17284 static PyObject
*_wrap_ToolBarBase_DeleteTool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17285 PyObject
*resultobj
;
17286 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17289 PyObject
* obj0
= 0 ;
17290 PyObject
* obj1
= 0 ;
17291 char *kwnames
[] = {
17292 (char *) "self",(char *) "id", NULL
17295 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_DeleteTool",kwnames
,&obj0
,&obj1
)) goto fail
;
17296 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17297 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17298 arg2
= (int) SWIG_AsInt(obj1
);
17299 if (PyErr_Occurred()) SWIG_fail
;
17301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17302 result
= (bool)(arg1
)->DeleteTool(arg2
);
17304 wxPyEndAllowThreads(__tstate
);
17305 if (PyErr_Occurred()) SWIG_fail
;
17308 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17316 static PyObject
*_wrap_ToolBarBase_ClearTools(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17317 PyObject
*resultobj
;
17318 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17319 PyObject
* obj0
= 0 ;
17320 char *kwnames
[] = {
17321 (char *) "self", NULL
17324 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_ClearTools",kwnames
,&obj0
)) goto fail
;
17325 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17326 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17329 (arg1
)->ClearTools();
17331 wxPyEndAllowThreads(__tstate
);
17332 if (PyErr_Occurred()) SWIG_fail
;
17334 Py_INCREF(Py_None
); resultobj
= Py_None
;
17341 static PyObject
*_wrap_ToolBarBase_Realize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17342 PyObject
*resultobj
;
17343 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17345 PyObject
* obj0
= 0 ;
17346 char *kwnames
[] = {
17347 (char *) "self", NULL
17350 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_Realize",kwnames
,&obj0
)) goto fail
;
17351 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17352 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17355 result
= (bool)(arg1
)->Realize();
17357 wxPyEndAllowThreads(__tstate
);
17358 if (PyErr_Occurred()) SWIG_fail
;
17361 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17369 static PyObject
*_wrap_ToolBarBase_EnableTool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17370 PyObject
*resultobj
;
17371 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17374 PyObject
* obj0
= 0 ;
17375 PyObject
* obj1
= 0 ;
17376 PyObject
* obj2
= 0 ;
17377 char *kwnames
[] = {
17378 (char *) "self",(char *) "id",(char *) "enable", NULL
17381 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_EnableTool",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17382 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17383 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17384 arg2
= (int) SWIG_AsInt(obj1
);
17385 if (PyErr_Occurred()) SWIG_fail
;
17386 arg3
= (bool) SWIG_AsBool(obj2
);
17387 if (PyErr_Occurred()) SWIG_fail
;
17389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17390 (arg1
)->EnableTool(arg2
,arg3
);
17392 wxPyEndAllowThreads(__tstate
);
17393 if (PyErr_Occurred()) SWIG_fail
;
17395 Py_INCREF(Py_None
); resultobj
= Py_None
;
17402 static PyObject
*_wrap_ToolBarBase_ToggleTool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17403 PyObject
*resultobj
;
17404 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17407 PyObject
* obj0
= 0 ;
17408 PyObject
* obj1
= 0 ;
17409 PyObject
* obj2
= 0 ;
17410 char *kwnames
[] = {
17411 (char *) "self",(char *) "id",(char *) "toggle", NULL
17414 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_ToggleTool",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17415 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17416 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17417 arg2
= (int) SWIG_AsInt(obj1
);
17418 if (PyErr_Occurred()) SWIG_fail
;
17419 arg3
= (bool) SWIG_AsBool(obj2
);
17420 if (PyErr_Occurred()) SWIG_fail
;
17422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17423 (arg1
)->ToggleTool(arg2
,arg3
);
17425 wxPyEndAllowThreads(__tstate
);
17426 if (PyErr_Occurred()) SWIG_fail
;
17428 Py_INCREF(Py_None
); resultobj
= Py_None
;
17435 static PyObject
*_wrap_ToolBarBase_SetToggle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17436 PyObject
*resultobj
;
17437 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17440 PyObject
* obj0
= 0 ;
17441 PyObject
* obj1
= 0 ;
17442 PyObject
* obj2
= 0 ;
17443 char *kwnames
[] = {
17444 (char *) "self",(char *) "id",(char *) "toggle", NULL
17447 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToggle",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17448 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17449 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17450 arg2
= (int) SWIG_AsInt(obj1
);
17451 if (PyErr_Occurred()) SWIG_fail
;
17452 arg3
= (bool) SWIG_AsBool(obj2
);
17453 if (PyErr_Occurred()) SWIG_fail
;
17455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17456 (arg1
)->SetToggle(arg2
,arg3
);
17458 wxPyEndAllowThreads(__tstate
);
17459 if (PyErr_Occurred()) SWIG_fail
;
17461 Py_INCREF(Py_None
); resultobj
= Py_None
;
17468 static PyObject
*_wrap_ToolBarBase_GetToolClientData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17469 PyObject
*resultobj
;
17470 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17473 PyObject
* obj0
= 0 ;
17474 PyObject
* obj1
= 0 ;
17475 char *kwnames
[] = {
17476 (char *) "self",(char *) "id", NULL
17479 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolClientData",kwnames
,&obj0
,&obj1
)) goto fail
;
17480 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17481 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17482 arg2
= (int) SWIG_AsInt(obj1
);
17483 if (PyErr_Occurred()) SWIG_fail
;
17485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17486 result
= (PyObject
*)wxToolBarBase_GetToolClientData(arg1
,arg2
);
17488 wxPyEndAllowThreads(__tstate
);
17489 if (PyErr_Occurred()) SWIG_fail
;
17491 resultobj
= result
;
17498 static PyObject
*_wrap_ToolBarBase_SetToolClientData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17499 PyObject
*resultobj
;
17500 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17502 PyObject
*arg3
= (PyObject
*) 0 ;
17503 PyObject
* obj0
= 0 ;
17504 PyObject
* obj1
= 0 ;
17505 PyObject
* obj2
= 0 ;
17506 char *kwnames
[] = {
17507 (char *) "self",(char *) "id",(char *) "clientData", NULL
17510 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToolClientData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17511 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17512 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17513 arg2
= (int) SWIG_AsInt(obj1
);
17514 if (PyErr_Occurred()) SWIG_fail
;
17517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17518 wxToolBarBase_SetToolClientData(arg1
,arg2
,arg3
);
17520 wxPyEndAllowThreads(__tstate
);
17521 if (PyErr_Occurred()) SWIG_fail
;
17523 Py_INCREF(Py_None
); resultobj
= Py_None
;
17530 static PyObject
*_wrap_ToolBarBase_GetToolPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17531 PyObject
*resultobj
;
17532 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17535 PyObject
* obj0
= 0 ;
17536 PyObject
* obj1
= 0 ;
17537 char *kwnames
[] = {
17538 (char *) "self",(char *) "id", NULL
17541 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolPos",kwnames
,&obj0
,&obj1
)) goto fail
;
17542 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17543 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17544 arg2
= (int) SWIG_AsInt(obj1
);
17545 if (PyErr_Occurred()) SWIG_fail
;
17547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17548 result
= (int)((wxToolBarBase
const *)arg1
)->GetToolPos(arg2
);
17550 wxPyEndAllowThreads(__tstate
);
17551 if (PyErr_Occurred()) SWIG_fail
;
17553 resultobj
= SWIG_FromInt((int)result
);
17560 static PyObject
*_wrap_ToolBarBase_GetToolState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17561 PyObject
*resultobj
;
17562 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17565 PyObject
* obj0
= 0 ;
17566 PyObject
* obj1
= 0 ;
17567 char *kwnames
[] = {
17568 (char *) "self",(char *) "id", NULL
17571 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolState",kwnames
,&obj0
,&obj1
)) goto fail
;
17572 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17573 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17574 arg2
= (int) SWIG_AsInt(obj1
);
17575 if (PyErr_Occurred()) SWIG_fail
;
17577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17578 result
= (bool)(arg1
)->GetToolState(arg2
);
17580 wxPyEndAllowThreads(__tstate
);
17581 if (PyErr_Occurred()) SWIG_fail
;
17584 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17592 static PyObject
*_wrap_ToolBarBase_GetToolEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17593 PyObject
*resultobj
;
17594 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17597 PyObject
* obj0
= 0 ;
17598 PyObject
* obj1
= 0 ;
17599 char *kwnames
[] = {
17600 (char *) "self",(char *) "id", NULL
17603 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolEnabled",kwnames
,&obj0
,&obj1
)) goto fail
;
17604 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17605 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17606 arg2
= (int) SWIG_AsInt(obj1
);
17607 if (PyErr_Occurred()) SWIG_fail
;
17609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17610 result
= (bool)(arg1
)->GetToolEnabled(arg2
);
17612 wxPyEndAllowThreads(__tstate
);
17613 if (PyErr_Occurred()) SWIG_fail
;
17616 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17624 static PyObject
*_wrap_ToolBarBase_SetToolShortHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17625 PyObject
*resultobj
;
17626 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17628 wxString
*arg3
= 0 ;
17629 bool temp3
= False
;
17630 PyObject
* obj0
= 0 ;
17631 PyObject
* obj1
= 0 ;
17632 PyObject
* obj2
= 0 ;
17633 char *kwnames
[] = {
17634 (char *) "self",(char *) "id",(char *) "helpString", NULL
17637 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToolShortHelp",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17638 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17639 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17640 arg2
= (int) SWIG_AsInt(obj1
);
17641 if (PyErr_Occurred()) SWIG_fail
;
17643 arg3
= wxString_in_helper(obj2
);
17644 if (arg3
== NULL
) SWIG_fail
;
17648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17649 (arg1
)->SetToolShortHelp(arg2
,(wxString
const &)*arg3
);
17651 wxPyEndAllowThreads(__tstate
);
17652 if (PyErr_Occurred()) SWIG_fail
;
17654 Py_INCREF(Py_None
); resultobj
= Py_None
;
17669 static PyObject
*_wrap_ToolBarBase_GetToolShortHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17670 PyObject
*resultobj
;
17671 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17674 PyObject
* obj0
= 0 ;
17675 PyObject
* obj1
= 0 ;
17676 char *kwnames
[] = {
17677 (char *) "self",(char *) "id", NULL
17680 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolShortHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
17681 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17682 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17683 arg2
= (int) SWIG_AsInt(obj1
);
17684 if (PyErr_Occurred()) SWIG_fail
;
17686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17687 result
= (arg1
)->GetToolShortHelp(arg2
);
17689 wxPyEndAllowThreads(__tstate
);
17690 if (PyErr_Occurred()) SWIG_fail
;
17694 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17696 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17705 static PyObject
*_wrap_ToolBarBase_SetToolLongHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17706 PyObject
*resultobj
;
17707 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17709 wxString
*arg3
= 0 ;
17710 bool temp3
= False
;
17711 PyObject
* obj0
= 0 ;
17712 PyObject
* obj1
= 0 ;
17713 PyObject
* obj2
= 0 ;
17714 char *kwnames
[] = {
17715 (char *) "self",(char *) "id",(char *) "helpString", NULL
17718 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToolLongHelp",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17719 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17720 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17721 arg2
= (int) SWIG_AsInt(obj1
);
17722 if (PyErr_Occurred()) SWIG_fail
;
17724 arg3
= wxString_in_helper(obj2
);
17725 if (arg3
== NULL
) SWIG_fail
;
17729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17730 (arg1
)->SetToolLongHelp(arg2
,(wxString
const &)*arg3
);
17732 wxPyEndAllowThreads(__tstate
);
17733 if (PyErr_Occurred()) SWIG_fail
;
17735 Py_INCREF(Py_None
); resultobj
= Py_None
;
17750 static PyObject
*_wrap_ToolBarBase_GetToolLongHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17751 PyObject
*resultobj
;
17752 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17755 PyObject
* obj0
= 0 ;
17756 PyObject
* obj1
= 0 ;
17757 char *kwnames
[] = {
17758 (char *) "self",(char *) "id", NULL
17761 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolLongHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
17762 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17763 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17764 arg2
= (int) SWIG_AsInt(obj1
);
17765 if (PyErr_Occurred()) SWIG_fail
;
17767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17768 result
= (arg1
)->GetToolLongHelp(arg2
);
17770 wxPyEndAllowThreads(__tstate
);
17771 if (PyErr_Occurred()) SWIG_fail
;
17775 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17777 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17786 static PyObject
*_wrap_ToolBarBase_SetMarginsXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17787 PyObject
*resultobj
;
17788 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17791 PyObject
* obj0
= 0 ;
17792 PyObject
* obj1
= 0 ;
17793 PyObject
* obj2
= 0 ;
17794 char *kwnames
[] = {
17795 (char *) "self",(char *) "x",(char *) "y", NULL
17798 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetMarginsXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17799 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17800 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17801 arg2
= (int) SWIG_AsInt(obj1
);
17802 if (PyErr_Occurred()) SWIG_fail
;
17803 arg3
= (int) SWIG_AsInt(obj2
);
17804 if (PyErr_Occurred()) SWIG_fail
;
17806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17807 (arg1
)->SetMargins(arg2
,arg3
);
17809 wxPyEndAllowThreads(__tstate
);
17810 if (PyErr_Occurred()) SWIG_fail
;
17812 Py_INCREF(Py_None
); resultobj
= Py_None
;
17819 static PyObject
*_wrap_ToolBarBase_SetMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17820 PyObject
*resultobj
;
17821 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17824 PyObject
* obj0
= 0 ;
17825 PyObject
* obj1
= 0 ;
17826 char *kwnames
[] = {
17827 (char *) "self",(char *) "size", NULL
17830 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetMargins",kwnames
,&obj0
,&obj1
)) goto fail
;
17831 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17832 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17835 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
17838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17839 (arg1
)->SetMargins((wxSize
const &)*arg2
);
17841 wxPyEndAllowThreads(__tstate
);
17842 if (PyErr_Occurred()) SWIG_fail
;
17844 Py_INCREF(Py_None
); resultobj
= Py_None
;
17851 static PyObject
*_wrap_ToolBarBase_SetToolPacking(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17852 PyObject
*resultobj
;
17853 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17855 PyObject
* obj0
= 0 ;
17856 PyObject
* obj1
= 0 ;
17857 char *kwnames
[] = {
17858 (char *) "self",(char *) "packing", NULL
17861 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetToolPacking",kwnames
,&obj0
,&obj1
)) goto fail
;
17862 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17863 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17864 arg2
= (int) SWIG_AsInt(obj1
);
17865 if (PyErr_Occurred()) SWIG_fail
;
17867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17868 (arg1
)->SetToolPacking(arg2
);
17870 wxPyEndAllowThreads(__tstate
);
17871 if (PyErr_Occurred()) SWIG_fail
;
17873 Py_INCREF(Py_None
); resultobj
= Py_None
;
17880 static PyObject
*_wrap_ToolBarBase_SetToolSeparation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17881 PyObject
*resultobj
;
17882 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17884 PyObject
* obj0
= 0 ;
17885 PyObject
* obj1
= 0 ;
17886 char *kwnames
[] = {
17887 (char *) "self",(char *) "separation", NULL
17890 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetToolSeparation",kwnames
,&obj0
,&obj1
)) goto fail
;
17891 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17892 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17893 arg2
= (int) SWIG_AsInt(obj1
);
17894 if (PyErr_Occurred()) SWIG_fail
;
17896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17897 (arg1
)->SetToolSeparation(arg2
);
17899 wxPyEndAllowThreads(__tstate
);
17900 if (PyErr_Occurred()) SWIG_fail
;
17902 Py_INCREF(Py_None
); resultobj
= Py_None
;
17909 static PyObject
*_wrap_ToolBarBase_GetToolMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17910 PyObject
*resultobj
;
17911 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17913 PyObject
* obj0
= 0 ;
17914 char *kwnames
[] = {
17915 (char *) "self", NULL
17918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolMargins",kwnames
,&obj0
)) goto fail
;
17919 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17920 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17923 result
= (arg1
)->GetToolMargins();
17925 wxPyEndAllowThreads(__tstate
);
17926 if (PyErr_Occurred()) SWIG_fail
;
17929 wxSize
* resultptr
;
17930 resultptr
= new wxSize((wxSize
&) result
);
17931 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
17939 static PyObject
*_wrap_ToolBarBase_GetMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17940 PyObject
*resultobj
;
17941 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17943 PyObject
* obj0
= 0 ;
17944 char *kwnames
[] = {
17945 (char *) "self", NULL
17948 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetMargins",kwnames
,&obj0
)) goto fail
;
17949 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17950 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17953 result
= (arg1
)->GetMargins();
17955 wxPyEndAllowThreads(__tstate
);
17956 if (PyErr_Occurred()) SWIG_fail
;
17959 wxSize
* resultptr
;
17960 resultptr
= new wxSize((wxSize
&) result
);
17961 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
17969 static PyObject
*_wrap_ToolBarBase_GetToolPacking(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17970 PyObject
*resultobj
;
17971 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17973 PyObject
* obj0
= 0 ;
17974 char *kwnames
[] = {
17975 (char *) "self", NULL
17978 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolPacking",kwnames
,&obj0
)) goto fail
;
17979 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17980 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17983 result
= (int)(arg1
)->GetToolPacking();
17985 wxPyEndAllowThreads(__tstate
);
17986 if (PyErr_Occurred()) SWIG_fail
;
17988 resultobj
= SWIG_FromInt((int)result
);
17995 static PyObject
*_wrap_ToolBarBase_GetToolSeparation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17996 PyObject
*resultobj
;
17997 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17999 PyObject
* obj0
= 0 ;
18000 char *kwnames
[] = {
18001 (char *) "self", NULL
18004 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolSeparation",kwnames
,&obj0
)) goto fail
;
18005 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18006 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18009 result
= (int)(arg1
)->GetToolSeparation();
18011 wxPyEndAllowThreads(__tstate
);
18012 if (PyErr_Occurred()) SWIG_fail
;
18014 resultobj
= SWIG_FromInt((int)result
);
18021 static PyObject
*_wrap_ToolBarBase_SetRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18022 PyObject
*resultobj
;
18023 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18025 PyObject
* obj0
= 0 ;
18026 PyObject
* obj1
= 0 ;
18027 char *kwnames
[] = {
18028 (char *) "self",(char *) "nRows", NULL
18031 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetRows",kwnames
,&obj0
,&obj1
)) goto fail
;
18032 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18033 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18034 arg2
= (int) SWIG_AsInt(obj1
);
18035 if (PyErr_Occurred()) SWIG_fail
;
18037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18038 (arg1
)->SetRows(arg2
);
18040 wxPyEndAllowThreads(__tstate
);
18041 if (PyErr_Occurred()) SWIG_fail
;
18043 Py_INCREF(Py_None
); resultobj
= Py_None
;
18050 static PyObject
*_wrap_ToolBarBase_SetMaxRowsCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18051 PyObject
*resultobj
;
18052 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18055 PyObject
* obj0
= 0 ;
18056 PyObject
* obj1
= 0 ;
18057 PyObject
* obj2
= 0 ;
18058 char *kwnames
[] = {
18059 (char *) "self",(char *) "rows",(char *) "cols", NULL
18062 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetMaxRowsCols",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18063 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18064 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18065 arg2
= (int) SWIG_AsInt(obj1
);
18066 if (PyErr_Occurred()) SWIG_fail
;
18067 arg3
= (int) SWIG_AsInt(obj2
);
18068 if (PyErr_Occurred()) SWIG_fail
;
18070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18071 (arg1
)->SetMaxRowsCols(arg2
,arg3
);
18073 wxPyEndAllowThreads(__tstate
);
18074 if (PyErr_Occurred()) SWIG_fail
;
18076 Py_INCREF(Py_None
); resultobj
= Py_None
;
18083 static PyObject
*_wrap_ToolBarBase_GetMaxRows(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_GetMaxRows",kwnames
,&obj0
)) goto fail
;
18093 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18094 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18097 result
= (int)(arg1
)->GetMaxRows();
18099 wxPyEndAllowThreads(__tstate
);
18100 if (PyErr_Occurred()) SWIG_fail
;
18102 resultobj
= SWIG_FromInt((int)result
);
18109 static PyObject
*_wrap_ToolBarBase_GetMaxCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18110 PyObject
*resultobj
;
18111 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18113 PyObject
* obj0
= 0 ;
18114 char *kwnames
[] = {
18115 (char *) "self", NULL
18118 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetMaxCols",kwnames
,&obj0
)) goto fail
;
18119 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18120 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18123 result
= (int)(arg1
)->GetMaxCols();
18125 wxPyEndAllowThreads(__tstate
);
18126 if (PyErr_Occurred()) SWIG_fail
;
18128 resultobj
= SWIG_FromInt((int)result
);
18135 static PyObject
*_wrap_ToolBarBase_SetToolBitmapSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18136 PyObject
*resultobj
;
18137 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18140 PyObject
* obj0
= 0 ;
18141 PyObject
* obj1
= 0 ;
18142 char *kwnames
[] = {
18143 (char *) "self",(char *) "size", NULL
18146 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetToolBitmapSize",kwnames
,&obj0
,&obj1
)) goto fail
;
18147 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18148 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18151 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
18154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18155 (arg1
)->SetToolBitmapSize((wxSize
const &)*arg2
);
18157 wxPyEndAllowThreads(__tstate
);
18158 if (PyErr_Occurred()) SWIG_fail
;
18160 Py_INCREF(Py_None
); resultobj
= Py_None
;
18167 static PyObject
*_wrap_ToolBarBase_GetToolBitmapSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18168 PyObject
*resultobj
;
18169 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18171 PyObject
* obj0
= 0 ;
18172 char *kwnames
[] = {
18173 (char *) "self", NULL
18176 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolBitmapSize",kwnames
,&obj0
)) goto fail
;
18177 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18178 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18181 result
= (arg1
)->GetToolBitmapSize();
18183 wxPyEndAllowThreads(__tstate
);
18184 if (PyErr_Occurred()) SWIG_fail
;
18187 wxSize
* resultptr
;
18188 resultptr
= new wxSize((wxSize
&) result
);
18189 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
18197 static PyObject
*_wrap_ToolBarBase_GetToolSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18198 PyObject
*resultobj
;
18199 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18201 PyObject
* obj0
= 0 ;
18202 char *kwnames
[] = {
18203 (char *) "self", NULL
18206 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolSize",kwnames
,&obj0
)) goto fail
;
18207 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18208 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18211 result
= (arg1
)->GetToolSize();
18213 wxPyEndAllowThreads(__tstate
);
18214 if (PyErr_Occurred()) SWIG_fail
;
18217 wxSize
* resultptr
;
18218 resultptr
= new wxSize((wxSize
&) result
);
18219 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
18227 static PyObject
*_wrap_ToolBarBase_FindToolForPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18228 PyObject
*resultobj
;
18229 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18232 wxToolBarToolBase
*result
;
18233 PyObject
* obj0
= 0 ;
18234 PyObject
* obj1
= 0 ;
18235 PyObject
* obj2
= 0 ;
18236 char *kwnames
[] = {
18237 (char *) "self",(char *) "x",(char *) "y", NULL
18240 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_FindToolForPosition",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18241 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18242 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18243 arg2
= (int) SWIG_AsInt(obj1
);
18244 if (PyErr_Occurred()) SWIG_fail
;
18245 arg3
= (int) SWIG_AsInt(obj2
);
18246 if (PyErr_Occurred()) SWIG_fail
;
18248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18249 result
= (wxToolBarToolBase
*)(arg1
)->FindToolForPosition(arg2
,arg3
);
18251 wxPyEndAllowThreads(__tstate
);
18252 if (PyErr_Occurred()) SWIG_fail
;
18255 resultobj
= wxPyMake_wxObject(result
, 0);
18263 static PyObject
*_wrap_ToolBarBase_FindById(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18264 PyObject
*resultobj
;
18265 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18267 wxToolBarToolBase
*result
;
18268 PyObject
* obj0
= 0 ;
18269 PyObject
* obj1
= 0 ;
18270 char *kwnames
[] = {
18271 (char *) "self",(char *) "toolid", NULL
18274 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_FindById",kwnames
,&obj0
,&obj1
)) goto fail
;
18275 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18276 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18277 arg2
= (int) SWIG_AsInt(obj1
);
18278 if (PyErr_Occurred()) SWIG_fail
;
18280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18281 result
= (wxToolBarToolBase
*)((wxToolBarBase
const *)arg1
)->FindById(arg2
);
18283 wxPyEndAllowThreads(__tstate
);
18284 if (PyErr_Occurred()) SWIG_fail
;
18287 resultobj
= wxPyMake_wxObject(result
, 0);
18295 static PyObject
*_wrap_ToolBarBase_IsVertical(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18296 PyObject
*resultobj
;
18297 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18299 PyObject
* obj0
= 0 ;
18300 char *kwnames
[] = {
18301 (char *) "self", NULL
18304 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_IsVertical",kwnames
,&obj0
)) goto fail
;
18305 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18306 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18309 result
= (bool)(arg1
)->IsVertical();
18311 wxPyEndAllowThreads(__tstate
);
18312 if (PyErr_Occurred()) SWIG_fail
;
18315 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18323 static PyObject
* ToolBarBase_swigregister(PyObject
*self
, PyObject
*args
) {
18325 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18326 SWIG_TypeClientData(SWIGTYPE_p_wxToolBarBase
, obj
);
18328 return Py_BuildValue((char *)"");
18330 static PyObject
*_wrap_new_ToolBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18331 PyObject
*resultobj
;
18332 wxWindow
*arg1
= (wxWindow
*) 0 ;
18333 int arg2
= (int) -1 ;
18334 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
18335 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
18336 wxSize
const &arg4_defvalue
= wxDefaultSize
;
18337 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
18338 long arg5
= (long) wxNO_BORDER
|wxTB_HORIZONTAL
;
18339 wxString
const &arg6_defvalue
= wxPyToolBarNameStr
;
18340 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
18344 bool temp6
= False
;
18345 PyObject
* obj0
= 0 ;
18346 PyObject
* obj1
= 0 ;
18347 PyObject
* obj2
= 0 ;
18348 PyObject
* obj3
= 0 ;
18349 PyObject
* obj4
= 0 ;
18350 PyObject
* obj5
= 0 ;
18351 char *kwnames
[] = {
18352 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
18355 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_ToolBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
18356 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
18357 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18359 arg2
= (int) SWIG_AsInt(obj1
);
18360 if (PyErr_Occurred()) SWIG_fail
;
18365 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
18371 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
18375 arg5
= (long) SWIG_AsLong(obj4
);
18376 if (PyErr_Occurred()) SWIG_fail
;
18380 arg6
= wxString_in_helper(obj5
);
18381 if (arg6
== NULL
) SWIG_fail
;
18386 if (!wxPyCheckForApp()) SWIG_fail
;
18387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18388 result
= (wxToolBar
*)new wxToolBar(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
18390 wxPyEndAllowThreads(__tstate
);
18391 if (PyErr_Occurred()) SWIG_fail
;
18393 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxToolBar
, 1);
18408 static PyObject
*_wrap_new_PreToolBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18409 PyObject
*resultobj
;
18411 char *kwnames
[] = {
18415 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreToolBar",kwnames
)) goto fail
;
18417 if (!wxPyCheckForApp()) SWIG_fail
;
18418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18419 result
= (wxToolBar
*)new wxToolBar();
18421 wxPyEndAllowThreads(__tstate
);
18422 if (PyErr_Occurred()) SWIG_fail
;
18424 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxToolBar
, 1);
18431 static PyObject
*_wrap_ToolBar_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18432 PyObject
*resultobj
;
18433 wxToolBar
*arg1
= (wxToolBar
*) 0 ;
18434 wxWindow
*arg2
= (wxWindow
*) 0 ;
18435 int arg3
= (int) -1 ;
18436 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
18437 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
18438 wxSize
const &arg5_defvalue
= wxDefaultSize
;
18439 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
18440 long arg6
= (long) wxNO_BORDER
|wxTB_HORIZONTAL
;
18441 wxString
const &arg7_defvalue
= wxPyToolBarNameStr
;
18442 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
18446 bool temp7
= False
;
18447 PyObject
* obj0
= 0 ;
18448 PyObject
* obj1
= 0 ;
18449 PyObject
* obj2
= 0 ;
18450 PyObject
* obj3
= 0 ;
18451 PyObject
* obj4
= 0 ;
18452 PyObject
* obj5
= 0 ;
18453 PyObject
* obj6
= 0 ;
18454 char *kwnames
[] = {
18455 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
18458 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:ToolBar_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
18459 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBar
,
18460 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18461 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
18462 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18464 arg3
= (int) SWIG_AsInt(obj2
);
18465 if (PyErr_Occurred()) SWIG_fail
;
18470 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
18476 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
18480 arg6
= (long) SWIG_AsLong(obj5
);
18481 if (PyErr_Occurred()) SWIG_fail
;
18485 arg7
= wxString_in_helper(obj6
);
18486 if (arg7
== NULL
) SWIG_fail
;
18491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18492 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
18494 wxPyEndAllowThreads(__tstate
);
18495 if (PyErr_Occurred()) SWIG_fail
;
18498 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18514 static PyObject
*_wrap_ToolBar_FindToolForPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18515 PyObject
*resultobj
;
18516 wxToolBar
*arg1
= (wxToolBar
*) 0 ;
18519 wxToolBarToolBase
*result
;
18520 PyObject
* obj0
= 0 ;
18521 PyObject
* obj1
= 0 ;
18522 PyObject
* obj2
= 0 ;
18523 char *kwnames
[] = {
18524 (char *) "self",(char *) "x",(char *) "y", NULL
18527 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBar_FindToolForPosition",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18528 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBar
,
18529 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18530 arg2
= (int) SWIG_AsInt(obj1
);
18531 if (PyErr_Occurred()) SWIG_fail
;
18532 arg3
= (int) SWIG_AsInt(obj2
);
18533 if (PyErr_Occurred()) SWIG_fail
;
18535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18536 result
= (wxToolBarToolBase
*)(arg1
)->FindToolForPosition(arg2
,arg3
);
18538 wxPyEndAllowThreads(__tstate
);
18539 if (PyErr_Occurred()) SWIG_fail
;
18542 resultobj
= wxPyMake_wxObject(result
, 0);
18550 static PyObject
*_wrap_ToolBar_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18551 PyObject
*resultobj
;
18552 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
18553 wxVisualAttributes result
;
18554 PyObject
* obj0
= 0 ;
18555 char *kwnames
[] = {
18556 (char *) "variant", NULL
18559 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ToolBar_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
18561 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
18562 if (PyErr_Occurred()) SWIG_fail
;
18565 if (!wxPyCheckForApp()) SWIG_fail
;
18566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18567 result
= wxToolBar::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
18569 wxPyEndAllowThreads(__tstate
);
18570 if (PyErr_Occurred()) SWIG_fail
;
18573 wxVisualAttributes
* resultptr
;
18574 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
18575 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
18583 static PyObject
* ToolBar_swigregister(PyObject
*self
, PyObject
*args
) {
18585 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18586 SWIG_TypeClientData(SWIGTYPE_p_wxToolBar
, obj
);
18588 return Py_BuildValue((char *)"");
18590 static int _wrap_ListCtrlNameStr_set(PyObject
*_val
) {
18591 PyErr_SetString(PyExc_TypeError
,"Variable ListCtrlNameStr is read-only.");
18596 static PyObject
*_wrap_ListCtrlNameStr_get() {
18601 pyobj
= PyUnicode_FromWideChar((&wxPyListCtrlNameStr
)->c_str(), (&wxPyListCtrlNameStr
)->Len());
18603 pyobj
= PyString_FromStringAndSize((&wxPyListCtrlNameStr
)->c_str(), (&wxPyListCtrlNameStr
)->Len());
18610 static PyObject
*_wrap_new_ListItemAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18611 PyObject
*resultobj
;
18612 wxColour
const &arg1_defvalue
= wxNullColour
;
18613 wxColour
*arg1
= (wxColour
*) &arg1_defvalue
;
18614 wxColour
const &arg2_defvalue
= wxNullColour
;
18615 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
18616 wxFont
const &arg3_defvalue
= wxNullFont
;
18617 wxFont
*arg3
= (wxFont
*) &arg3_defvalue
;
18618 wxListItemAttr
*result
;
18621 PyObject
* obj0
= 0 ;
18622 PyObject
* obj1
= 0 ;
18623 PyObject
* obj2
= 0 ;
18624 char *kwnames
[] = {
18625 (char *) "colText",(char *) "colBack",(char *) "font", NULL
18628 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ListItemAttr",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18632 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
18638 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
18642 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxFont
,
18643 SWIG_POINTER_EXCEPTION
| 0)) == -1)
18645 if (arg3
== NULL
) {
18646 PyErr_SetString(PyExc_TypeError
,"null reference");
18651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18652 result
= (wxListItemAttr
*)new wxListItemAttr((wxColour
const &)*arg1
,(wxColour
const &)*arg2
,(wxFont
const &)*arg3
);
18654 wxPyEndAllowThreads(__tstate
);
18655 if (PyErr_Occurred()) SWIG_fail
;
18657 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListItemAttr
, 1);
18664 static PyObject
*_wrap_ListItemAttr_SetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18665 PyObject
*resultobj
;
18666 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
18667 wxColour
*arg2
= 0 ;
18669 PyObject
* obj0
= 0 ;
18670 PyObject
* obj1
= 0 ;
18671 char *kwnames
[] = {
18672 (char *) "self",(char *) "colText", NULL
18675 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
18676 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
18677 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18680 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
18683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18684 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
18686 wxPyEndAllowThreads(__tstate
);
18687 if (PyErr_Occurred()) SWIG_fail
;
18689 Py_INCREF(Py_None
); resultobj
= Py_None
;
18696 static PyObject
*_wrap_ListItemAttr_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18697 PyObject
*resultobj
;
18698 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
18699 wxColour
*arg2
= 0 ;
18701 PyObject
* obj0
= 0 ;
18702 PyObject
* obj1
= 0 ;
18703 char *kwnames
[] = {
18704 (char *) "self",(char *) "colBack", NULL
18707 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
18708 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
18709 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18712 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
18715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18716 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
18718 wxPyEndAllowThreads(__tstate
);
18719 if (PyErr_Occurred()) SWIG_fail
;
18721 Py_INCREF(Py_None
); resultobj
= Py_None
;
18728 static PyObject
*_wrap_ListItemAttr_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18729 PyObject
*resultobj
;
18730 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
18732 PyObject
* obj0
= 0 ;
18733 PyObject
* obj1
= 0 ;
18734 char *kwnames
[] = {
18735 (char *) "self",(char *) "font", NULL
18738 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
;
18739 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
18740 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18741 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
18742 SWIG_POINTER_EXCEPTION
| 0)) == -1)
18744 if (arg2
== NULL
) {
18745 PyErr_SetString(PyExc_TypeError
,"null reference");
18749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18750 (arg1
)->SetFont((wxFont
const &)*arg2
);
18752 wxPyEndAllowThreads(__tstate
);
18753 if (PyErr_Occurred()) SWIG_fail
;
18755 Py_INCREF(Py_None
); resultobj
= Py_None
;
18762 static PyObject
*_wrap_ListItemAttr_HasTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18763 PyObject
*resultobj
;
18764 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
18766 PyObject
* obj0
= 0 ;
18767 char *kwnames
[] = {
18768 (char *) "self", NULL
18771 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_HasTextColour",kwnames
,&obj0
)) goto fail
;
18772 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
18773 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18776 result
= (bool)(arg1
)->HasTextColour();
18778 wxPyEndAllowThreads(__tstate
);
18779 if (PyErr_Occurred()) SWIG_fail
;
18782 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18790 static PyObject
*_wrap_ListItemAttr_HasBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18791 PyObject
*resultobj
;
18792 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
18794 PyObject
* obj0
= 0 ;
18795 char *kwnames
[] = {
18796 (char *) "self", NULL
18799 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_HasBackgroundColour",kwnames
,&obj0
)) goto fail
;
18800 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
18801 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18804 result
= (bool)(arg1
)->HasBackgroundColour();
18806 wxPyEndAllowThreads(__tstate
);
18807 if (PyErr_Occurred()) SWIG_fail
;
18810 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18818 static PyObject
*_wrap_ListItemAttr_HasFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18819 PyObject
*resultobj
;
18820 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
18822 PyObject
* obj0
= 0 ;
18823 char *kwnames
[] = {
18824 (char *) "self", NULL
18827 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_HasFont",kwnames
,&obj0
)) goto fail
;
18828 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
18829 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18832 result
= (bool)(arg1
)->HasFont();
18834 wxPyEndAllowThreads(__tstate
);
18835 if (PyErr_Occurred()) SWIG_fail
;
18838 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18846 static PyObject
*_wrap_ListItemAttr_GetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18847 PyObject
*resultobj
;
18848 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
18850 PyObject
* obj0
= 0 ;
18851 char *kwnames
[] = {
18852 (char *) "self", NULL
18855 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_GetTextColour",kwnames
,&obj0
)) goto fail
;
18856 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
18857 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18860 result
= (arg1
)->GetTextColour();
18862 wxPyEndAllowThreads(__tstate
);
18863 if (PyErr_Occurred()) SWIG_fail
;
18866 wxColour
* resultptr
;
18867 resultptr
= new wxColour((wxColour
&) result
);
18868 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
18876 static PyObject
*_wrap_ListItemAttr_GetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18877 PyObject
*resultobj
;
18878 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
18880 PyObject
* obj0
= 0 ;
18881 char *kwnames
[] = {
18882 (char *) "self", NULL
18885 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
18886 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
18887 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18890 result
= (arg1
)->GetBackgroundColour();
18892 wxPyEndAllowThreads(__tstate
);
18893 if (PyErr_Occurred()) SWIG_fail
;
18896 wxColour
* resultptr
;
18897 resultptr
= new wxColour((wxColour
&) result
);
18898 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
18906 static PyObject
*_wrap_ListItemAttr_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18907 PyObject
*resultobj
;
18908 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
18910 PyObject
* obj0
= 0 ;
18911 char *kwnames
[] = {
18912 (char *) "self", NULL
18915 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_GetFont",kwnames
,&obj0
)) goto fail
;
18916 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
18917 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18920 result
= (arg1
)->GetFont();
18922 wxPyEndAllowThreads(__tstate
);
18923 if (PyErr_Occurred()) SWIG_fail
;
18926 wxFont
* resultptr
;
18927 resultptr
= new wxFont((wxFont
&) result
);
18928 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
18936 static PyObject
*_wrap_ListItemAttr_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18937 PyObject
*resultobj
;
18938 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
18939 PyObject
* obj0
= 0 ;
18940 char *kwnames
[] = {
18941 (char *) "self", NULL
18944 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_Destroy",kwnames
,&obj0
)) goto fail
;
18945 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
18946 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18949 wxListItemAttr_Destroy(arg1
);
18951 wxPyEndAllowThreads(__tstate
);
18952 if (PyErr_Occurred()) SWIG_fail
;
18954 Py_INCREF(Py_None
); resultobj
= Py_None
;
18961 static PyObject
* ListItemAttr_swigregister(PyObject
*self
, PyObject
*args
) {
18963 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18964 SWIG_TypeClientData(SWIGTYPE_p_wxListItemAttr
, obj
);
18966 return Py_BuildValue((char *)"");
18968 static PyObject
*_wrap_new_ListItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18969 PyObject
*resultobj
;
18970 wxListItem
*result
;
18971 char *kwnames
[] = {
18975 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ListItem",kwnames
)) goto fail
;
18977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18978 result
= (wxListItem
*)new wxListItem();
18980 wxPyEndAllowThreads(__tstate
);
18981 if (PyErr_Occurred()) SWIG_fail
;
18984 resultobj
= wxPyMake_wxObject(result
, 1);
18992 static PyObject
*_wrap_delete_ListItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18993 PyObject
*resultobj
;
18994 wxListItem
*arg1
= (wxListItem
*) 0 ;
18995 PyObject
* obj0
= 0 ;
18996 char *kwnames
[] = {
18997 (char *) "self", NULL
19000 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ListItem",kwnames
,&obj0
)) goto fail
;
19001 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19002 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19007 wxPyEndAllowThreads(__tstate
);
19008 if (PyErr_Occurred()) SWIG_fail
;
19010 Py_INCREF(Py_None
); resultobj
= Py_None
;
19017 static PyObject
*_wrap_ListItem_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19018 PyObject
*resultobj
;
19019 wxListItem
*arg1
= (wxListItem
*) 0 ;
19020 PyObject
* obj0
= 0 ;
19021 char *kwnames
[] = {
19022 (char *) "self", NULL
19025 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_Clear",kwnames
,&obj0
)) goto fail
;
19026 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19027 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19032 wxPyEndAllowThreads(__tstate
);
19033 if (PyErr_Occurred()) SWIG_fail
;
19035 Py_INCREF(Py_None
); resultobj
= Py_None
;
19042 static PyObject
*_wrap_ListItem_ClearAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19043 PyObject
*resultobj
;
19044 wxListItem
*arg1
= (wxListItem
*) 0 ;
19045 PyObject
* obj0
= 0 ;
19046 char *kwnames
[] = {
19047 (char *) "self", NULL
19050 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_ClearAttributes",kwnames
,&obj0
)) goto fail
;
19051 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19052 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19055 (arg1
)->ClearAttributes();
19057 wxPyEndAllowThreads(__tstate
);
19058 if (PyErr_Occurred()) SWIG_fail
;
19060 Py_INCREF(Py_None
); resultobj
= Py_None
;
19067 static PyObject
*_wrap_ListItem_SetMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19068 PyObject
*resultobj
;
19069 wxListItem
*arg1
= (wxListItem
*) 0 ;
19071 PyObject
* obj0
= 0 ;
19072 PyObject
* obj1
= 0 ;
19073 char *kwnames
[] = {
19074 (char *) "self",(char *) "mask", NULL
19077 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetMask",kwnames
,&obj0
,&obj1
)) goto fail
;
19078 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19079 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19080 arg2
= (long) SWIG_AsLong(obj1
);
19081 if (PyErr_Occurred()) SWIG_fail
;
19083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19084 (arg1
)->SetMask(arg2
);
19086 wxPyEndAllowThreads(__tstate
);
19087 if (PyErr_Occurred()) SWIG_fail
;
19089 Py_INCREF(Py_None
); resultobj
= Py_None
;
19096 static PyObject
*_wrap_ListItem_SetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19097 PyObject
*resultobj
;
19098 wxListItem
*arg1
= (wxListItem
*) 0 ;
19100 PyObject
* obj0
= 0 ;
19101 PyObject
* obj1
= 0 ;
19102 char *kwnames
[] = {
19103 (char *) "self",(char *) "id", NULL
19106 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
19107 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19108 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19109 arg2
= (long) SWIG_AsLong(obj1
);
19110 if (PyErr_Occurred()) SWIG_fail
;
19112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19113 (arg1
)->SetId(arg2
);
19115 wxPyEndAllowThreads(__tstate
);
19116 if (PyErr_Occurred()) SWIG_fail
;
19118 Py_INCREF(Py_None
); resultobj
= Py_None
;
19125 static PyObject
*_wrap_ListItem_SetColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19126 PyObject
*resultobj
;
19127 wxListItem
*arg1
= (wxListItem
*) 0 ;
19129 PyObject
* obj0
= 0 ;
19130 PyObject
* obj1
= 0 ;
19131 char *kwnames
[] = {
19132 (char *) "self",(char *) "col", NULL
19135 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetColumn",kwnames
,&obj0
,&obj1
)) goto fail
;
19136 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19137 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19138 arg2
= (int) SWIG_AsInt(obj1
);
19139 if (PyErr_Occurred()) SWIG_fail
;
19141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19142 (arg1
)->SetColumn(arg2
);
19144 wxPyEndAllowThreads(__tstate
);
19145 if (PyErr_Occurred()) SWIG_fail
;
19147 Py_INCREF(Py_None
); resultobj
= Py_None
;
19154 static PyObject
*_wrap_ListItem_SetState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19155 PyObject
*resultobj
;
19156 wxListItem
*arg1
= (wxListItem
*) 0 ;
19158 PyObject
* obj0
= 0 ;
19159 PyObject
* obj1
= 0 ;
19160 char *kwnames
[] = {
19161 (char *) "self",(char *) "state", NULL
19164 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetState",kwnames
,&obj0
,&obj1
)) goto fail
;
19165 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19166 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19167 arg2
= (long) SWIG_AsLong(obj1
);
19168 if (PyErr_Occurred()) SWIG_fail
;
19170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19171 (arg1
)->SetState(arg2
);
19173 wxPyEndAllowThreads(__tstate
);
19174 if (PyErr_Occurred()) SWIG_fail
;
19176 Py_INCREF(Py_None
); resultobj
= Py_None
;
19183 static PyObject
*_wrap_ListItem_SetStateMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19184 PyObject
*resultobj
;
19185 wxListItem
*arg1
= (wxListItem
*) 0 ;
19187 PyObject
* obj0
= 0 ;
19188 PyObject
* obj1
= 0 ;
19189 char *kwnames
[] = {
19190 (char *) "self",(char *) "stateMask", NULL
19193 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetStateMask",kwnames
,&obj0
,&obj1
)) goto fail
;
19194 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19195 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19196 arg2
= (long) SWIG_AsLong(obj1
);
19197 if (PyErr_Occurred()) SWIG_fail
;
19199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19200 (arg1
)->SetStateMask(arg2
);
19202 wxPyEndAllowThreads(__tstate
);
19203 if (PyErr_Occurred()) SWIG_fail
;
19205 Py_INCREF(Py_None
); resultobj
= Py_None
;
19212 static PyObject
*_wrap_ListItem_SetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19213 PyObject
*resultobj
;
19214 wxListItem
*arg1
= (wxListItem
*) 0 ;
19215 wxString
*arg2
= 0 ;
19216 bool temp2
= False
;
19217 PyObject
* obj0
= 0 ;
19218 PyObject
* obj1
= 0 ;
19219 char *kwnames
[] = {
19220 (char *) "self",(char *) "text", NULL
19223 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetText",kwnames
,&obj0
,&obj1
)) goto fail
;
19224 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19225 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19227 arg2
= wxString_in_helper(obj1
);
19228 if (arg2
== NULL
) SWIG_fail
;
19232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19233 (arg1
)->SetText((wxString
const &)*arg2
);
19235 wxPyEndAllowThreads(__tstate
);
19236 if (PyErr_Occurred()) SWIG_fail
;
19238 Py_INCREF(Py_None
); resultobj
= Py_None
;
19253 static PyObject
*_wrap_ListItem_SetImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19254 PyObject
*resultobj
;
19255 wxListItem
*arg1
= (wxListItem
*) 0 ;
19257 PyObject
* obj0
= 0 ;
19258 PyObject
* obj1
= 0 ;
19259 char *kwnames
[] = {
19260 (char *) "self",(char *) "image", NULL
19263 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetImage",kwnames
,&obj0
,&obj1
)) goto fail
;
19264 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19265 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19266 arg2
= (int) SWIG_AsInt(obj1
);
19267 if (PyErr_Occurred()) SWIG_fail
;
19269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19270 (arg1
)->SetImage(arg2
);
19272 wxPyEndAllowThreads(__tstate
);
19273 if (PyErr_Occurred()) SWIG_fail
;
19275 Py_INCREF(Py_None
); resultobj
= Py_None
;
19282 static PyObject
*_wrap_ListItem_SetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19283 PyObject
*resultobj
;
19284 wxListItem
*arg1
= (wxListItem
*) 0 ;
19286 PyObject
* obj0
= 0 ;
19287 PyObject
* obj1
= 0 ;
19288 char *kwnames
[] = {
19289 (char *) "self",(char *) "data", NULL
19292 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
19293 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19294 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19295 arg2
= (long) SWIG_AsLong(obj1
);
19296 if (PyErr_Occurred()) SWIG_fail
;
19298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19299 (arg1
)->SetData(arg2
);
19301 wxPyEndAllowThreads(__tstate
);
19302 if (PyErr_Occurred()) SWIG_fail
;
19304 Py_INCREF(Py_None
); resultobj
= Py_None
;
19311 static PyObject
*_wrap_ListItem_SetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19312 PyObject
*resultobj
;
19313 wxListItem
*arg1
= (wxListItem
*) 0 ;
19315 PyObject
* obj0
= 0 ;
19316 PyObject
* obj1
= 0 ;
19317 char *kwnames
[] = {
19318 (char *) "self",(char *) "width", NULL
19321 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
19322 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19323 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19324 arg2
= (int) SWIG_AsInt(obj1
);
19325 if (PyErr_Occurred()) SWIG_fail
;
19327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19328 (arg1
)->SetWidth(arg2
);
19330 wxPyEndAllowThreads(__tstate
);
19331 if (PyErr_Occurred()) SWIG_fail
;
19333 Py_INCREF(Py_None
); resultobj
= Py_None
;
19340 static PyObject
*_wrap_ListItem_SetAlign(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19341 PyObject
*resultobj
;
19342 wxListItem
*arg1
= (wxListItem
*) 0 ;
19344 PyObject
* obj0
= 0 ;
19345 PyObject
* obj1
= 0 ;
19346 char *kwnames
[] = {
19347 (char *) "self",(char *) "align", NULL
19350 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetAlign",kwnames
,&obj0
,&obj1
)) goto fail
;
19351 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19352 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19353 arg2
= (wxListColumnFormat
) SWIG_AsInt(obj1
);
19354 if (PyErr_Occurred()) SWIG_fail
;
19356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19357 (arg1
)->SetAlign((wxListColumnFormat
)arg2
);
19359 wxPyEndAllowThreads(__tstate
);
19360 if (PyErr_Occurred()) SWIG_fail
;
19362 Py_INCREF(Py_None
); resultobj
= Py_None
;
19369 static PyObject
*_wrap_ListItem_SetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19370 PyObject
*resultobj
;
19371 wxListItem
*arg1
= (wxListItem
*) 0 ;
19372 wxColour
*arg2
= 0 ;
19374 PyObject
* obj0
= 0 ;
19375 PyObject
* obj1
= 0 ;
19376 char *kwnames
[] = {
19377 (char *) "self",(char *) "colText", NULL
19380 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
19381 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19382 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19385 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
19388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19389 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
19391 wxPyEndAllowThreads(__tstate
);
19392 if (PyErr_Occurred()) SWIG_fail
;
19394 Py_INCREF(Py_None
); resultobj
= Py_None
;
19401 static PyObject
*_wrap_ListItem_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19402 PyObject
*resultobj
;
19403 wxListItem
*arg1
= (wxListItem
*) 0 ;
19404 wxColour
*arg2
= 0 ;
19406 PyObject
* obj0
= 0 ;
19407 PyObject
* obj1
= 0 ;
19408 char *kwnames
[] = {
19409 (char *) "self",(char *) "colBack", NULL
19412 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
19413 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19414 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19417 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
19420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19421 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
19423 wxPyEndAllowThreads(__tstate
);
19424 if (PyErr_Occurred()) SWIG_fail
;
19426 Py_INCREF(Py_None
); resultobj
= Py_None
;
19433 static PyObject
*_wrap_ListItem_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19434 PyObject
*resultobj
;
19435 wxListItem
*arg1
= (wxListItem
*) 0 ;
19437 PyObject
* obj0
= 0 ;
19438 PyObject
* obj1
= 0 ;
19439 char *kwnames
[] = {
19440 (char *) "self",(char *) "font", NULL
19443 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
;
19444 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19445 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19446 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
19447 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19449 if (arg2
== NULL
) {
19450 PyErr_SetString(PyExc_TypeError
,"null reference");
19454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19455 (arg1
)->SetFont((wxFont
const &)*arg2
);
19457 wxPyEndAllowThreads(__tstate
);
19458 if (PyErr_Occurred()) SWIG_fail
;
19460 Py_INCREF(Py_None
); resultobj
= Py_None
;
19467 static PyObject
*_wrap_ListItem_GetMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19468 PyObject
*resultobj
;
19469 wxListItem
*arg1
= (wxListItem
*) 0 ;
19471 PyObject
* obj0
= 0 ;
19472 char *kwnames
[] = {
19473 (char *) "self", NULL
19476 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetMask",kwnames
,&obj0
)) goto fail
;
19477 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19478 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19481 result
= (long)(arg1
)->GetMask();
19483 wxPyEndAllowThreads(__tstate
);
19484 if (PyErr_Occurred()) SWIG_fail
;
19486 resultobj
= SWIG_FromLong((long)result
);
19493 static PyObject
*_wrap_ListItem_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19494 PyObject
*resultobj
;
19495 wxListItem
*arg1
= (wxListItem
*) 0 ;
19497 PyObject
* obj0
= 0 ;
19498 char *kwnames
[] = {
19499 (char *) "self", NULL
19502 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetId",kwnames
,&obj0
)) goto fail
;
19503 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19504 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19507 result
= (long)(arg1
)->GetId();
19509 wxPyEndAllowThreads(__tstate
);
19510 if (PyErr_Occurred()) SWIG_fail
;
19512 resultobj
= SWIG_FromLong((long)result
);
19519 static PyObject
*_wrap_ListItem_GetColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19520 PyObject
*resultobj
;
19521 wxListItem
*arg1
= (wxListItem
*) 0 ;
19523 PyObject
* obj0
= 0 ;
19524 char *kwnames
[] = {
19525 (char *) "self", NULL
19528 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetColumn",kwnames
,&obj0
)) goto fail
;
19529 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19530 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19533 result
= (int)(arg1
)->GetColumn();
19535 wxPyEndAllowThreads(__tstate
);
19536 if (PyErr_Occurred()) SWIG_fail
;
19538 resultobj
= SWIG_FromInt((int)result
);
19545 static PyObject
*_wrap_ListItem_GetState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19546 PyObject
*resultobj
;
19547 wxListItem
*arg1
= (wxListItem
*) 0 ;
19549 PyObject
* obj0
= 0 ;
19550 char *kwnames
[] = {
19551 (char *) "self", NULL
19554 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetState",kwnames
,&obj0
)) goto fail
;
19555 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19556 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19559 result
= (long)(arg1
)->GetState();
19561 wxPyEndAllowThreads(__tstate
);
19562 if (PyErr_Occurred()) SWIG_fail
;
19564 resultobj
= SWIG_FromLong((long)result
);
19571 static PyObject
*_wrap_ListItem_GetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19572 PyObject
*resultobj
;
19573 wxListItem
*arg1
= (wxListItem
*) 0 ;
19575 PyObject
* obj0
= 0 ;
19576 char *kwnames
[] = {
19577 (char *) "self", NULL
19580 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetText",kwnames
,&obj0
)) goto fail
;
19581 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19582 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19586 wxString
const &_result_ref
= (arg1
)->GetText();
19587 result
= (wxString
*) &_result_ref
;
19590 wxPyEndAllowThreads(__tstate
);
19591 if (PyErr_Occurred()) SWIG_fail
;
19595 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
19597 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
19606 static PyObject
*_wrap_ListItem_GetImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19607 PyObject
*resultobj
;
19608 wxListItem
*arg1
= (wxListItem
*) 0 ;
19610 PyObject
* obj0
= 0 ;
19611 char *kwnames
[] = {
19612 (char *) "self", NULL
19615 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetImage",kwnames
,&obj0
)) goto fail
;
19616 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19617 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19620 result
= (int)(arg1
)->GetImage();
19622 wxPyEndAllowThreads(__tstate
);
19623 if (PyErr_Occurred()) SWIG_fail
;
19625 resultobj
= SWIG_FromInt((int)result
);
19632 static PyObject
*_wrap_ListItem_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19633 PyObject
*resultobj
;
19634 wxListItem
*arg1
= (wxListItem
*) 0 ;
19636 PyObject
* obj0
= 0 ;
19637 char *kwnames
[] = {
19638 (char *) "self", NULL
19641 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetData",kwnames
,&obj0
)) goto fail
;
19642 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19643 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19646 result
= (long)(arg1
)->GetData();
19648 wxPyEndAllowThreads(__tstate
);
19649 if (PyErr_Occurred()) SWIG_fail
;
19651 resultobj
= SWIG_FromLong((long)result
);
19658 static PyObject
*_wrap_ListItem_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19659 PyObject
*resultobj
;
19660 wxListItem
*arg1
= (wxListItem
*) 0 ;
19662 PyObject
* obj0
= 0 ;
19663 char *kwnames
[] = {
19664 (char *) "self", NULL
19667 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetWidth",kwnames
,&obj0
)) goto fail
;
19668 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19669 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19672 result
= (int)(arg1
)->GetWidth();
19674 wxPyEndAllowThreads(__tstate
);
19675 if (PyErr_Occurred()) SWIG_fail
;
19677 resultobj
= SWIG_FromInt((int)result
);
19684 static PyObject
*_wrap_ListItem_GetAlign(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19685 PyObject
*resultobj
;
19686 wxListItem
*arg1
= (wxListItem
*) 0 ;
19688 PyObject
* obj0
= 0 ;
19689 char *kwnames
[] = {
19690 (char *) "self", NULL
19693 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetAlign",kwnames
,&obj0
)) goto fail
;
19694 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19695 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19698 result
= (int)(arg1
)->GetAlign();
19700 wxPyEndAllowThreads(__tstate
);
19701 if (PyErr_Occurred()) SWIG_fail
;
19703 resultobj
= SWIG_FromInt((int)result
);
19710 static PyObject
*_wrap_ListItem_GetAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19711 PyObject
*resultobj
;
19712 wxListItem
*arg1
= (wxListItem
*) 0 ;
19713 wxListItemAttr
*result
;
19714 PyObject
* obj0
= 0 ;
19715 char *kwnames
[] = {
19716 (char *) "self", NULL
19719 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetAttributes",kwnames
,&obj0
)) goto fail
;
19720 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19721 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19724 result
= (wxListItemAttr
*)(arg1
)->GetAttributes();
19726 wxPyEndAllowThreads(__tstate
);
19727 if (PyErr_Occurred()) SWIG_fail
;
19729 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListItemAttr
, 0);
19736 static PyObject
*_wrap_ListItem_HasAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19737 PyObject
*resultobj
;
19738 wxListItem
*arg1
= (wxListItem
*) 0 ;
19740 PyObject
* obj0
= 0 ;
19741 char *kwnames
[] = {
19742 (char *) "self", NULL
19745 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_HasAttributes",kwnames
,&obj0
)) goto fail
;
19746 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19747 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19750 result
= (bool)(arg1
)->HasAttributes();
19752 wxPyEndAllowThreads(__tstate
);
19753 if (PyErr_Occurred()) SWIG_fail
;
19756 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19764 static PyObject
*_wrap_ListItem_GetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19765 PyObject
*resultobj
;
19766 wxListItem
*arg1
= (wxListItem
*) 0 ;
19768 PyObject
* obj0
= 0 ;
19769 char *kwnames
[] = {
19770 (char *) "self", NULL
19773 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetTextColour",kwnames
,&obj0
)) goto fail
;
19774 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19775 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19778 result
= ((wxListItem
const *)arg1
)->GetTextColour();
19780 wxPyEndAllowThreads(__tstate
);
19781 if (PyErr_Occurred()) SWIG_fail
;
19784 wxColour
* resultptr
;
19785 resultptr
= new wxColour((wxColour
&) result
);
19786 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
19794 static PyObject
*_wrap_ListItem_GetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19795 PyObject
*resultobj
;
19796 wxListItem
*arg1
= (wxListItem
*) 0 ;
19798 PyObject
* obj0
= 0 ;
19799 char *kwnames
[] = {
19800 (char *) "self", NULL
19803 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
19804 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19805 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19808 result
= ((wxListItem
const *)arg1
)->GetBackgroundColour();
19810 wxPyEndAllowThreads(__tstate
);
19811 if (PyErr_Occurred()) SWIG_fail
;
19814 wxColour
* resultptr
;
19815 resultptr
= new wxColour((wxColour
&) result
);
19816 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
19824 static PyObject
*_wrap_ListItem_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19825 PyObject
*resultobj
;
19826 wxListItem
*arg1
= (wxListItem
*) 0 ;
19828 PyObject
* obj0
= 0 ;
19829 char *kwnames
[] = {
19830 (char *) "self", NULL
19833 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetFont",kwnames
,&obj0
)) goto fail
;
19834 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19835 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19838 result
= ((wxListItem
const *)arg1
)->GetFont();
19840 wxPyEndAllowThreads(__tstate
);
19841 if (PyErr_Occurred()) SWIG_fail
;
19844 wxFont
* resultptr
;
19845 resultptr
= new wxFont((wxFont
&) result
);
19846 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
19854 static PyObject
*_wrap_ListItem_m_mask_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19855 PyObject
*resultobj
;
19856 wxListItem
*arg1
= (wxListItem
*) 0 ;
19858 PyObject
* obj0
= 0 ;
19859 PyObject
* obj1
= 0 ;
19860 char *kwnames
[] = {
19861 (char *) "self",(char *) "m_mask", NULL
19864 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_mask_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19865 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19866 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19867 arg2
= (long) SWIG_AsLong(obj1
);
19868 if (PyErr_Occurred()) SWIG_fail
;
19869 if (arg1
) (arg1
)->m_mask
= arg2
;
19871 Py_INCREF(Py_None
); resultobj
= Py_None
;
19878 static PyObject
*_wrap_ListItem_m_mask_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19879 PyObject
*resultobj
;
19880 wxListItem
*arg1
= (wxListItem
*) 0 ;
19882 PyObject
* obj0
= 0 ;
19883 char *kwnames
[] = {
19884 (char *) "self", NULL
19887 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_mask_get",kwnames
,&obj0
)) goto fail
;
19888 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19889 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19890 result
= (long) ((arg1
)->m_mask
);
19892 resultobj
= SWIG_FromLong((long)result
);
19899 static PyObject
*_wrap_ListItem_m_itemId_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19900 PyObject
*resultobj
;
19901 wxListItem
*arg1
= (wxListItem
*) 0 ;
19903 PyObject
* obj0
= 0 ;
19904 PyObject
* obj1
= 0 ;
19905 char *kwnames
[] = {
19906 (char *) "self",(char *) "m_itemId", NULL
19909 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_itemId_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19910 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19911 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19912 arg2
= (long) SWIG_AsLong(obj1
);
19913 if (PyErr_Occurred()) SWIG_fail
;
19914 if (arg1
) (arg1
)->m_itemId
= arg2
;
19916 Py_INCREF(Py_None
); resultobj
= Py_None
;
19923 static PyObject
*_wrap_ListItem_m_itemId_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19924 PyObject
*resultobj
;
19925 wxListItem
*arg1
= (wxListItem
*) 0 ;
19927 PyObject
* obj0
= 0 ;
19928 char *kwnames
[] = {
19929 (char *) "self", NULL
19932 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_itemId_get",kwnames
,&obj0
)) goto fail
;
19933 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19934 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19935 result
= (long) ((arg1
)->m_itemId
);
19937 resultobj
= SWIG_FromLong((long)result
);
19944 static PyObject
*_wrap_ListItem_m_col_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19945 PyObject
*resultobj
;
19946 wxListItem
*arg1
= (wxListItem
*) 0 ;
19948 PyObject
* obj0
= 0 ;
19949 PyObject
* obj1
= 0 ;
19950 char *kwnames
[] = {
19951 (char *) "self",(char *) "m_col", NULL
19954 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_col_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19955 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19956 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19957 arg2
= (int) SWIG_AsInt(obj1
);
19958 if (PyErr_Occurred()) SWIG_fail
;
19959 if (arg1
) (arg1
)->m_col
= arg2
;
19961 Py_INCREF(Py_None
); resultobj
= Py_None
;
19968 static PyObject
*_wrap_ListItem_m_col_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19969 PyObject
*resultobj
;
19970 wxListItem
*arg1
= (wxListItem
*) 0 ;
19972 PyObject
* obj0
= 0 ;
19973 char *kwnames
[] = {
19974 (char *) "self", NULL
19977 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_col_get",kwnames
,&obj0
)) goto fail
;
19978 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19979 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19980 result
= (int) ((arg1
)->m_col
);
19982 resultobj
= SWIG_FromInt((int)result
);
19989 static PyObject
*_wrap_ListItem_m_state_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19990 PyObject
*resultobj
;
19991 wxListItem
*arg1
= (wxListItem
*) 0 ;
19993 PyObject
* obj0
= 0 ;
19994 PyObject
* obj1
= 0 ;
19995 char *kwnames
[] = {
19996 (char *) "self",(char *) "m_state", NULL
19999 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_state_set",kwnames
,&obj0
,&obj1
)) goto fail
;
20000 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20001 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20002 arg2
= (long) SWIG_AsLong(obj1
);
20003 if (PyErr_Occurred()) SWIG_fail
;
20004 if (arg1
) (arg1
)->m_state
= arg2
;
20006 Py_INCREF(Py_None
); resultobj
= Py_None
;
20013 static PyObject
*_wrap_ListItem_m_state_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20014 PyObject
*resultobj
;
20015 wxListItem
*arg1
= (wxListItem
*) 0 ;
20017 PyObject
* obj0
= 0 ;
20018 char *kwnames
[] = {
20019 (char *) "self", NULL
20022 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_state_get",kwnames
,&obj0
)) goto fail
;
20023 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20024 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20025 result
= (long) ((arg1
)->m_state
);
20027 resultobj
= SWIG_FromLong((long)result
);
20034 static PyObject
*_wrap_ListItem_m_stateMask_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20035 PyObject
*resultobj
;
20036 wxListItem
*arg1
= (wxListItem
*) 0 ;
20038 PyObject
* obj0
= 0 ;
20039 PyObject
* obj1
= 0 ;
20040 char *kwnames
[] = {
20041 (char *) "self",(char *) "m_stateMask", NULL
20044 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_stateMask_set",kwnames
,&obj0
,&obj1
)) goto fail
;
20045 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20046 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20047 arg2
= (long) SWIG_AsLong(obj1
);
20048 if (PyErr_Occurred()) SWIG_fail
;
20049 if (arg1
) (arg1
)->m_stateMask
= arg2
;
20051 Py_INCREF(Py_None
); resultobj
= Py_None
;
20058 static PyObject
*_wrap_ListItem_m_stateMask_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20059 PyObject
*resultobj
;
20060 wxListItem
*arg1
= (wxListItem
*) 0 ;
20062 PyObject
* obj0
= 0 ;
20063 char *kwnames
[] = {
20064 (char *) "self", NULL
20067 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_stateMask_get",kwnames
,&obj0
)) goto fail
;
20068 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20069 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20070 result
= (long) ((arg1
)->m_stateMask
);
20072 resultobj
= SWIG_FromLong((long)result
);
20079 static PyObject
*_wrap_ListItem_m_text_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20080 PyObject
*resultobj
;
20081 wxListItem
*arg1
= (wxListItem
*) 0 ;
20082 wxString
*arg2
= (wxString
*) 0 ;
20083 bool temp2
= False
;
20084 PyObject
* obj0
= 0 ;
20085 PyObject
* obj1
= 0 ;
20086 char *kwnames
[] = {
20087 (char *) "self",(char *) "m_text", NULL
20090 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_text_set",kwnames
,&obj0
,&obj1
)) goto fail
;
20091 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20092 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20094 arg2
= wxString_in_helper(obj1
);
20095 if (arg2
== NULL
) SWIG_fail
;
20098 if (arg1
) (arg1
)->m_text
= *arg2
;
20100 Py_INCREF(Py_None
); resultobj
= Py_None
;
20115 static PyObject
*_wrap_ListItem_m_text_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20116 PyObject
*resultobj
;
20117 wxListItem
*arg1
= (wxListItem
*) 0 ;
20119 PyObject
* obj0
= 0 ;
20120 char *kwnames
[] = {
20121 (char *) "self", NULL
20124 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_text_get",kwnames
,&obj0
)) goto fail
;
20125 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20126 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20127 result
= (wxString
*)& ((arg1
)->m_text
);
20131 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
20133 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
20142 static PyObject
*_wrap_ListItem_m_image_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20143 PyObject
*resultobj
;
20144 wxListItem
*arg1
= (wxListItem
*) 0 ;
20146 PyObject
* obj0
= 0 ;
20147 PyObject
* obj1
= 0 ;
20148 char *kwnames
[] = {
20149 (char *) "self",(char *) "m_image", NULL
20152 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_image_set",kwnames
,&obj0
,&obj1
)) goto fail
;
20153 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20154 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20155 arg2
= (int) SWIG_AsInt(obj1
);
20156 if (PyErr_Occurred()) SWIG_fail
;
20157 if (arg1
) (arg1
)->m_image
= arg2
;
20159 Py_INCREF(Py_None
); resultobj
= Py_None
;
20166 static PyObject
*_wrap_ListItem_m_image_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20167 PyObject
*resultobj
;
20168 wxListItem
*arg1
= (wxListItem
*) 0 ;
20170 PyObject
* obj0
= 0 ;
20171 char *kwnames
[] = {
20172 (char *) "self", NULL
20175 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_image_get",kwnames
,&obj0
)) goto fail
;
20176 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20177 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20178 result
= (int) ((arg1
)->m_image
);
20180 resultobj
= SWIG_FromInt((int)result
);
20187 static PyObject
*_wrap_ListItem_m_data_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20188 PyObject
*resultobj
;
20189 wxListItem
*arg1
= (wxListItem
*) 0 ;
20191 PyObject
* obj0
= 0 ;
20192 PyObject
* obj1
= 0 ;
20193 char *kwnames
[] = {
20194 (char *) "self",(char *) "m_data", NULL
20197 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_data_set",kwnames
,&obj0
,&obj1
)) goto fail
;
20198 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20199 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20200 arg2
= (long) SWIG_AsLong(obj1
);
20201 if (PyErr_Occurred()) SWIG_fail
;
20202 if (arg1
) (arg1
)->m_data
= arg2
;
20204 Py_INCREF(Py_None
); resultobj
= Py_None
;
20211 static PyObject
*_wrap_ListItem_m_data_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20212 PyObject
*resultobj
;
20213 wxListItem
*arg1
= (wxListItem
*) 0 ;
20215 PyObject
* obj0
= 0 ;
20216 char *kwnames
[] = {
20217 (char *) "self", NULL
20220 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_data_get",kwnames
,&obj0
)) goto fail
;
20221 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20222 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20223 result
= (long) ((arg1
)->m_data
);
20225 resultobj
= SWIG_FromLong((long)result
);
20232 static PyObject
*_wrap_ListItem_m_format_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20233 PyObject
*resultobj
;
20234 wxListItem
*arg1
= (wxListItem
*) 0 ;
20236 PyObject
* obj0
= 0 ;
20237 PyObject
* obj1
= 0 ;
20238 char *kwnames
[] = {
20239 (char *) "self",(char *) "m_format", NULL
20242 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_format_set",kwnames
,&obj0
,&obj1
)) goto fail
;
20243 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20244 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20245 arg2
= (int) SWIG_AsInt(obj1
);
20246 if (PyErr_Occurred()) SWIG_fail
;
20247 if (arg1
) (arg1
)->m_format
= arg2
;
20249 Py_INCREF(Py_None
); resultobj
= Py_None
;
20256 static PyObject
*_wrap_ListItem_m_format_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20257 PyObject
*resultobj
;
20258 wxListItem
*arg1
= (wxListItem
*) 0 ;
20260 PyObject
* obj0
= 0 ;
20261 char *kwnames
[] = {
20262 (char *) "self", NULL
20265 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_format_get",kwnames
,&obj0
)) goto fail
;
20266 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20267 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20268 result
= (int) ((arg1
)->m_format
);
20270 resultobj
= SWIG_FromInt((int)result
);
20277 static PyObject
*_wrap_ListItem_m_width_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20278 PyObject
*resultobj
;
20279 wxListItem
*arg1
= (wxListItem
*) 0 ;
20281 PyObject
* obj0
= 0 ;
20282 PyObject
* obj1
= 0 ;
20283 char *kwnames
[] = {
20284 (char *) "self",(char *) "m_width", NULL
20287 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_width_set",kwnames
,&obj0
,&obj1
)) goto fail
;
20288 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20289 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20290 arg2
= (int) SWIG_AsInt(obj1
);
20291 if (PyErr_Occurred()) SWIG_fail
;
20292 if (arg1
) (arg1
)->m_width
= arg2
;
20294 Py_INCREF(Py_None
); resultobj
= Py_None
;
20301 static PyObject
*_wrap_ListItem_m_width_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20302 PyObject
*resultobj
;
20303 wxListItem
*arg1
= (wxListItem
*) 0 ;
20305 PyObject
* obj0
= 0 ;
20306 char *kwnames
[] = {
20307 (char *) "self", NULL
20310 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_width_get",kwnames
,&obj0
)) goto fail
;
20311 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20312 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20313 result
= (int) ((arg1
)->m_width
);
20315 resultobj
= SWIG_FromInt((int)result
);
20322 static PyObject
* ListItem_swigregister(PyObject
*self
, PyObject
*args
) {
20324 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20325 SWIG_TypeClientData(SWIGTYPE_p_wxListItem
, obj
);
20327 return Py_BuildValue((char *)"");
20329 static PyObject
*_wrap_new_ListEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20330 PyObject
*resultobj
;
20331 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
20332 int arg2
= (int) 0 ;
20333 wxListEvent
*result
;
20334 PyObject
* obj0
= 0 ;
20335 PyObject
* obj1
= 0 ;
20336 char *kwnames
[] = {
20337 (char *) "commandType",(char *) "id", NULL
20340 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_ListEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
20342 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
20343 if (PyErr_Occurred()) SWIG_fail
;
20346 arg2
= (int) SWIG_AsInt(obj1
);
20347 if (PyErr_Occurred()) SWIG_fail
;
20350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20351 result
= (wxListEvent
*)new wxListEvent(arg1
,arg2
);
20353 wxPyEndAllowThreads(__tstate
);
20354 if (PyErr_Occurred()) SWIG_fail
;
20356 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListEvent
, 1);
20363 static PyObject
*_wrap_ListEvent_m_code_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20364 PyObject
*resultobj
;
20365 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20367 PyObject
* obj0
= 0 ;
20368 PyObject
* obj1
= 0 ;
20369 char *kwnames
[] = {
20370 (char *) "self",(char *) "m_code", NULL
20373 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_code_set",kwnames
,&obj0
,&obj1
)) goto fail
;
20374 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20375 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20376 arg2
= (int) SWIG_AsInt(obj1
);
20377 if (PyErr_Occurred()) SWIG_fail
;
20378 if (arg1
) (arg1
)->m_code
= arg2
;
20380 Py_INCREF(Py_None
); resultobj
= Py_None
;
20387 static PyObject
*_wrap_ListEvent_m_code_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20388 PyObject
*resultobj
;
20389 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20391 PyObject
* obj0
= 0 ;
20392 char *kwnames
[] = {
20393 (char *) "self", NULL
20396 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_code_get",kwnames
,&obj0
)) goto fail
;
20397 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20398 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20399 result
= (int) ((arg1
)->m_code
);
20401 resultobj
= SWIG_FromInt((int)result
);
20408 static PyObject
*_wrap_ListEvent_m_oldItemIndex_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20409 PyObject
*resultobj
;
20410 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20412 PyObject
* obj0
= 0 ;
20413 PyObject
* obj1
= 0 ;
20414 char *kwnames
[] = {
20415 (char *) "self",(char *) "m_oldItemIndex", NULL
20418 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_oldItemIndex_set",kwnames
,&obj0
,&obj1
)) goto fail
;
20419 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20420 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20421 arg2
= (long) SWIG_AsLong(obj1
);
20422 if (PyErr_Occurred()) SWIG_fail
;
20423 if (arg1
) (arg1
)->m_oldItemIndex
= arg2
;
20425 Py_INCREF(Py_None
); resultobj
= Py_None
;
20432 static PyObject
*_wrap_ListEvent_m_oldItemIndex_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20433 PyObject
*resultobj
;
20434 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20436 PyObject
* obj0
= 0 ;
20437 char *kwnames
[] = {
20438 (char *) "self", NULL
20441 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_oldItemIndex_get",kwnames
,&obj0
)) goto fail
;
20442 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20443 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20444 result
= (long) ((arg1
)->m_oldItemIndex
);
20446 resultobj
= SWIG_FromLong((long)result
);
20453 static PyObject
*_wrap_ListEvent_m_itemIndex_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20454 PyObject
*resultobj
;
20455 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20457 PyObject
* obj0
= 0 ;
20458 PyObject
* obj1
= 0 ;
20459 char *kwnames
[] = {
20460 (char *) "self",(char *) "m_itemIndex", NULL
20463 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_itemIndex_set",kwnames
,&obj0
,&obj1
)) goto fail
;
20464 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20465 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20466 arg2
= (long) SWIG_AsLong(obj1
);
20467 if (PyErr_Occurred()) SWIG_fail
;
20468 if (arg1
) (arg1
)->m_itemIndex
= arg2
;
20470 Py_INCREF(Py_None
); resultobj
= Py_None
;
20477 static PyObject
*_wrap_ListEvent_m_itemIndex_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20478 PyObject
*resultobj
;
20479 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20481 PyObject
* obj0
= 0 ;
20482 char *kwnames
[] = {
20483 (char *) "self", NULL
20486 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_itemIndex_get",kwnames
,&obj0
)) goto fail
;
20487 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20488 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20489 result
= (long) ((arg1
)->m_itemIndex
);
20491 resultobj
= SWIG_FromLong((long)result
);
20498 static PyObject
*_wrap_ListEvent_m_col_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20499 PyObject
*resultobj
;
20500 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20502 PyObject
* obj0
= 0 ;
20503 PyObject
* obj1
= 0 ;
20504 char *kwnames
[] = {
20505 (char *) "self",(char *) "m_col", NULL
20508 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_col_set",kwnames
,&obj0
,&obj1
)) goto fail
;
20509 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20510 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20511 arg2
= (int) SWIG_AsInt(obj1
);
20512 if (PyErr_Occurred()) SWIG_fail
;
20513 if (arg1
) (arg1
)->m_col
= arg2
;
20515 Py_INCREF(Py_None
); resultobj
= Py_None
;
20522 static PyObject
*_wrap_ListEvent_m_col_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20523 PyObject
*resultobj
;
20524 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20526 PyObject
* obj0
= 0 ;
20527 char *kwnames
[] = {
20528 (char *) "self", NULL
20531 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_col_get",kwnames
,&obj0
)) goto fail
;
20532 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20533 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20534 result
= (int) ((arg1
)->m_col
);
20536 resultobj
= SWIG_FromInt((int)result
);
20543 static PyObject
*_wrap_ListEvent_m_pointDrag_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20544 PyObject
*resultobj
;
20545 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20546 wxPoint
*arg2
= (wxPoint
*) 0 ;
20547 PyObject
* obj0
= 0 ;
20548 PyObject
* obj1
= 0 ;
20549 char *kwnames
[] = {
20550 (char *) "self",(char *) "m_pointDrag", NULL
20553 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_pointDrag_set",kwnames
,&obj0
,&obj1
)) goto fail
;
20554 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20555 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20556 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPoint
,
20557 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20558 if (arg1
) (arg1
)->m_pointDrag
= *arg2
;
20560 Py_INCREF(Py_None
); resultobj
= Py_None
;
20567 static PyObject
*_wrap_ListEvent_m_pointDrag_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20568 PyObject
*resultobj
;
20569 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20571 PyObject
* obj0
= 0 ;
20572 char *kwnames
[] = {
20573 (char *) "self", NULL
20576 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_pointDrag_get",kwnames
,&obj0
)) goto fail
;
20577 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20578 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20579 result
= (wxPoint
*)& ((arg1
)->m_pointDrag
);
20581 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 0);
20588 static PyObject
*_wrap_ListEvent_m_item_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20589 PyObject
*resultobj
;
20590 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20591 wxListItem
*result
;
20592 PyObject
* obj0
= 0 ;
20593 char *kwnames
[] = {
20594 (char *) "self", NULL
20597 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_item_get",kwnames
,&obj0
)) goto fail
;
20598 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20599 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20600 result
= (wxListItem
*)& ((arg1
)->m_item
);
20603 resultobj
= wxPyMake_wxObject(result
, 0);
20611 static PyObject
*_wrap_ListEvent_GetKeyCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20612 PyObject
*resultobj
;
20613 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20615 PyObject
* obj0
= 0 ;
20616 char *kwnames
[] = {
20617 (char *) "self", NULL
20620 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetKeyCode",kwnames
,&obj0
)) goto fail
;
20621 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20622 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20625 result
= (int)(arg1
)->GetKeyCode();
20627 wxPyEndAllowThreads(__tstate
);
20628 if (PyErr_Occurred()) SWIG_fail
;
20630 resultobj
= SWIG_FromInt((int)result
);
20637 static PyObject
*_wrap_ListEvent_GetIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20638 PyObject
*resultobj
;
20639 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20641 PyObject
* obj0
= 0 ;
20642 char *kwnames
[] = {
20643 (char *) "self", NULL
20646 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetIndex",kwnames
,&obj0
)) goto fail
;
20647 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20648 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20651 result
= (long)(arg1
)->GetIndex();
20653 wxPyEndAllowThreads(__tstate
);
20654 if (PyErr_Occurred()) SWIG_fail
;
20656 resultobj
= SWIG_FromLong((long)result
);
20663 static PyObject
*_wrap_ListEvent_GetColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20664 PyObject
*resultobj
;
20665 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20667 PyObject
* obj0
= 0 ;
20668 char *kwnames
[] = {
20669 (char *) "self", NULL
20672 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetColumn",kwnames
,&obj0
)) goto fail
;
20673 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20674 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20677 result
= (int)(arg1
)->GetColumn();
20679 wxPyEndAllowThreads(__tstate
);
20680 if (PyErr_Occurred()) SWIG_fail
;
20682 resultobj
= SWIG_FromInt((int)result
);
20689 static PyObject
*_wrap_ListEvent_GetPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20690 PyObject
*resultobj
;
20691 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20693 PyObject
* obj0
= 0 ;
20694 char *kwnames
[] = {
20695 (char *) "self", NULL
20698 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetPoint",kwnames
,&obj0
)) goto fail
;
20699 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20700 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20703 result
= (arg1
)->GetPoint();
20705 wxPyEndAllowThreads(__tstate
);
20706 if (PyErr_Occurred()) SWIG_fail
;
20709 wxPoint
* resultptr
;
20710 resultptr
= new wxPoint((wxPoint
&) result
);
20711 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
20719 static PyObject
*_wrap_ListEvent_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20720 PyObject
*resultobj
;
20721 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20723 PyObject
* obj0
= 0 ;
20724 char *kwnames
[] = {
20725 (char *) "self", NULL
20728 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetLabel",kwnames
,&obj0
)) goto fail
;
20729 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20730 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20734 wxString
const &_result_ref
= (arg1
)->GetLabel();
20735 result
= (wxString
*) &_result_ref
;
20738 wxPyEndAllowThreads(__tstate
);
20739 if (PyErr_Occurred()) SWIG_fail
;
20743 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
20745 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
20754 static PyObject
*_wrap_ListEvent_GetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20755 PyObject
*resultobj
;
20756 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20758 PyObject
* obj0
= 0 ;
20759 char *kwnames
[] = {
20760 (char *) "self", NULL
20763 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetText",kwnames
,&obj0
)) goto fail
;
20764 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20765 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20769 wxString
const &_result_ref
= (arg1
)->GetText();
20770 result
= (wxString
*) &_result_ref
;
20773 wxPyEndAllowThreads(__tstate
);
20774 if (PyErr_Occurred()) SWIG_fail
;
20778 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
20780 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
20789 static PyObject
*_wrap_ListEvent_GetImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20790 PyObject
*resultobj
;
20791 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20793 PyObject
* obj0
= 0 ;
20794 char *kwnames
[] = {
20795 (char *) "self", NULL
20798 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetImage",kwnames
,&obj0
)) goto fail
;
20799 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20800 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20803 result
= (int)(arg1
)->GetImage();
20805 wxPyEndAllowThreads(__tstate
);
20806 if (PyErr_Occurred()) SWIG_fail
;
20808 resultobj
= SWIG_FromInt((int)result
);
20815 static PyObject
*_wrap_ListEvent_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20816 PyObject
*resultobj
;
20817 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20819 PyObject
* obj0
= 0 ;
20820 char *kwnames
[] = {
20821 (char *) "self", NULL
20824 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetData",kwnames
,&obj0
)) goto fail
;
20825 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20826 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20829 result
= (long)(arg1
)->GetData();
20831 wxPyEndAllowThreads(__tstate
);
20832 if (PyErr_Occurred()) SWIG_fail
;
20834 resultobj
= SWIG_FromLong((long)result
);
20841 static PyObject
*_wrap_ListEvent_GetMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20842 PyObject
*resultobj
;
20843 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20845 PyObject
* obj0
= 0 ;
20846 char *kwnames
[] = {
20847 (char *) "self", NULL
20850 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetMask",kwnames
,&obj0
)) goto fail
;
20851 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20852 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20855 result
= (long)(arg1
)->GetMask();
20857 wxPyEndAllowThreads(__tstate
);
20858 if (PyErr_Occurred()) SWIG_fail
;
20860 resultobj
= SWIG_FromLong((long)result
);
20867 static PyObject
*_wrap_ListEvent_GetItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20868 PyObject
*resultobj
;
20869 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20870 wxListItem
*result
;
20871 PyObject
* obj0
= 0 ;
20872 char *kwnames
[] = {
20873 (char *) "self", NULL
20876 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetItem",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 wxListItem
const &_result_ref
= (arg1
)->GetItem();
20883 result
= (wxListItem
*) &_result_ref
;
20886 wxPyEndAllowThreads(__tstate
);
20887 if (PyErr_Occurred()) SWIG_fail
;
20889 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListItem
, 0);
20896 static PyObject
*_wrap_ListEvent_GetCacheFrom(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20897 PyObject
*resultobj
;
20898 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20900 PyObject
* obj0
= 0 ;
20901 char *kwnames
[] = {
20902 (char *) "self", NULL
20905 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetCacheFrom",kwnames
,&obj0
)) goto fail
;
20906 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20907 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20910 result
= (long)(arg1
)->GetCacheFrom();
20912 wxPyEndAllowThreads(__tstate
);
20913 if (PyErr_Occurred()) SWIG_fail
;
20915 resultobj
= SWIG_FromLong((long)result
);
20922 static PyObject
*_wrap_ListEvent_GetCacheTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20923 PyObject
*resultobj
;
20924 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20926 PyObject
* obj0
= 0 ;
20927 char *kwnames
[] = {
20928 (char *) "self", NULL
20931 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetCacheTo",kwnames
,&obj0
)) goto fail
;
20932 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20933 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20936 result
= (long)(arg1
)->GetCacheTo();
20938 wxPyEndAllowThreads(__tstate
);
20939 if (PyErr_Occurred()) SWIG_fail
;
20941 resultobj
= SWIG_FromLong((long)result
);
20948 static PyObject
*_wrap_ListEvent_IsEditCancelled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20949 PyObject
*resultobj
;
20950 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20952 PyObject
* obj0
= 0 ;
20953 char *kwnames
[] = {
20954 (char *) "self", NULL
20957 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_IsEditCancelled",kwnames
,&obj0
)) goto fail
;
20958 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20959 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20962 result
= (bool)((wxListEvent
const *)arg1
)->IsEditCancelled();
20964 wxPyEndAllowThreads(__tstate
);
20965 if (PyErr_Occurred()) SWIG_fail
;
20968 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20976 static PyObject
*_wrap_ListEvent_SetEditCanceled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20977 PyObject
*resultobj
;
20978 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20980 PyObject
* obj0
= 0 ;
20981 PyObject
* obj1
= 0 ;
20982 char *kwnames
[] = {
20983 (char *) "self",(char *) "editCancelled", NULL
20986 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_SetEditCanceled",kwnames
,&obj0
,&obj1
)) goto fail
;
20987 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20988 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20989 arg2
= (bool) SWIG_AsBool(obj1
);
20990 if (PyErr_Occurred()) SWIG_fail
;
20992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20993 (arg1
)->SetEditCanceled(arg2
);
20995 wxPyEndAllowThreads(__tstate
);
20996 if (PyErr_Occurred()) SWIG_fail
;
20998 Py_INCREF(Py_None
); resultobj
= Py_None
;
21005 static PyObject
* ListEvent_swigregister(PyObject
*self
, PyObject
*args
) {
21007 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21008 SWIG_TypeClientData(SWIGTYPE_p_wxListEvent
, obj
);
21010 return Py_BuildValue((char *)"");
21012 static PyObject
*_wrap_new_ListCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21013 PyObject
*resultobj
;
21014 wxWindow
*arg1
= (wxWindow
*) 0 ;
21015 int arg2
= (int) -1 ;
21016 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
21017 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
21018 wxSize
const &arg4_defvalue
= wxDefaultSize
;
21019 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
21020 long arg5
= (long) wxLC_ICON
;
21021 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
21022 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
21023 wxString
const &arg7_defvalue
= wxPyListCtrlNameStr
;
21024 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
21025 wxPyListCtrl
*result
;
21028 bool temp7
= False
;
21029 PyObject
* obj0
= 0 ;
21030 PyObject
* obj1
= 0 ;
21031 PyObject
* obj2
= 0 ;
21032 PyObject
* obj3
= 0 ;
21033 PyObject
* obj4
= 0 ;
21034 PyObject
* obj5
= 0 ;
21035 PyObject
* obj6
= 0 ;
21036 char *kwnames
[] = {
21037 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
21040 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_ListCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
21041 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21042 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21044 arg2
= (int) SWIG_AsInt(obj1
);
21045 if (PyErr_Occurred()) SWIG_fail
;
21050 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
21056 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
21060 arg5
= (long) SWIG_AsLong(obj4
);
21061 if (PyErr_Occurred()) SWIG_fail
;
21064 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxValidator
,
21065 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21067 if (arg6
== NULL
) {
21068 PyErr_SetString(PyExc_TypeError
,"null reference");
21074 arg7
= wxString_in_helper(obj6
);
21075 if (arg7
== NULL
) SWIG_fail
;
21080 if (!wxPyCheckForApp()) SWIG_fail
;
21081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21082 result
= (wxPyListCtrl
*)new wxPyListCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
21084 wxPyEndAllowThreads(__tstate
);
21085 if (PyErr_Occurred()) SWIG_fail
;
21087 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyListCtrl
, 1);
21102 static PyObject
*_wrap_new_PreListCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21103 PyObject
*resultobj
;
21104 wxPyListCtrl
*result
;
21105 char *kwnames
[] = {
21109 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreListCtrl",kwnames
)) goto fail
;
21111 if (!wxPyCheckForApp()) SWIG_fail
;
21112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21113 result
= (wxPyListCtrl
*)new wxPyListCtrl();
21115 wxPyEndAllowThreads(__tstate
);
21116 if (PyErr_Occurred()) SWIG_fail
;
21118 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyListCtrl
, 1);
21125 static PyObject
*_wrap_ListCtrl_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21126 PyObject
*resultobj
;
21127 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21128 wxWindow
*arg2
= (wxWindow
*) 0 ;
21129 int arg3
= (int) -1 ;
21130 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
21131 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
21132 wxSize
const &arg5_defvalue
= wxDefaultSize
;
21133 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
21134 long arg6
= (long) wxLC_ICON
;
21135 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
21136 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
21137 wxString
const &arg8_defvalue
= wxPyListCtrlNameStr
;
21138 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
21142 bool temp8
= False
;
21143 PyObject
* obj0
= 0 ;
21144 PyObject
* obj1
= 0 ;
21145 PyObject
* obj2
= 0 ;
21146 PyObject
* obj3
= 0 ;
21147 PyObject
* obj4
= 0 ;
21148 PyObject
* obj5
= 0 ;
21149 PyObject
* obj6
= 0 ;
21150 PyObject
* obj7
= 0 ;
21151 char *kwnames
[] = {
21152 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
21155 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:ListCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
21156 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21157 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21158 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
21159 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21161 arg3
= (int) SWIG_AsInt(obj2
);
21162 if (PyErr_Occurred()) SWIG_fail
;
21167 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
21173 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
21177 arg6
= (long) SWIG_AsLong(obj5
);
21178 if (PyErr_Occurred()) SWIG_fail
;
21181 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
21182 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21184 if (arg7
== NULL
) {
21185 PyErr_SetString(PyExc_TypeError
,"null reference");
21191 arg8
= wxString_in_helper(obj7
);
21192 if (arg8
== NULL
) SWIG_fail
;
21197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21198 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
21200 wxPyEndAllowThreads(__tstate
);
21201 if (PyErr_Occurred()) SWIG_fail
;
21204 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21220 static PyObject
*_wrap_ListCtrl__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21221 PyObject
*resultobj
;
21222 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21223 PyObject
*arg2
= (PyObject
*) 0 ;
21224 PyObject
*arg3
= (PyObject
*) 0 ;
21225 PyObject
* obj0
= 0 ;
21226 PyObject
* obj1
= 0 ;
21227 PyObject
* obj2
= 0 ;
21228 char *kwnames
[] = {
21229 (char *) "self",(char *) "self",(char *) "_class", NULL
21232 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21233 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21234 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21239 (arg1
)->_setCallbackInfo(arg2
,arg3
);
21241 wxPyEndAllowThreads(__tstate
);
21242 if (PyErr_Occurred()) SWIG_fail
;
21244 Py_INCREF(Py_None
); resultobj
= Py_None
;
21251 static PyObject
*_wrap_ListCtrl_SetForegroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21252 PyObject
*resultobj
;
21253 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21254 wxColour
*arg2
= 0 ;
21257 PyObject
* obj0
= 0 ;
21258 PyObject
* obj1
= 0 ;
21259 char *kwnames
[] = {
21260 (char *) "self",(char *) "col", NULL
21263 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetForegroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
21264 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21265 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21268 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
21271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21272 result
= (bool)(arg1
)->SetForegroundColour((wxColour
const &)*arg2
);
21274 wxPyEndAllowThreads(__tstate
);
21275 if (PyErr_Occurred()) SWIG_fail
;
21278 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21286 static PyObject
*_wrap_ListCtrl_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21287 PyObject
*resultobj
;
21288 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21289 wxColour
*arg2
= 0 ;
21292 PyObject
* obj0
= 0 ;
21293 PyObject
* obj1
= 0 ;
21294 char *kwnames
[] = {
21295 (char *) "self",(char *) "col", NULL
21298 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
21299 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21300 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21303 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
21306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21307 result
= (bool)(arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
21309 wxPyEndAllowThreads(__tstate
);
21310 if (PyErr_Occurred()) SWIG_fail
;
21313 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21321 static PyObject
*_wrap_ListCtrl_GetColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21322 PyObject
*resultobj
;
21323 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21325 wxListItem
*result
;
21326 PyObject
* obj0
= 0 ;
21327 PyObject
* obj1
= 0 ;
21328 char *kwnames
[] = {
21329 (char *) "self",(char *) "col", NULL
21332 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetColumn",kwnames
,&obj0
,&obj1
)) goto fail
;
21333 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21334 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21335 arg2
= (int) SWIG_AsInt(obj1
);
21336 if (PyErr_Occurred()) SWIG_fail
;
21338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21339 result
= (wxListItem
*)wxPyListCtrl_GetColumn(arg1
,arg2
);
21341 wxPyEndAllowThreads(__tstate
);
21342 if (PyErr_Occurred()) SWIG_fail
;
21345 resultobj
= wxPyMake_wxObject(result
, 0);
21353 static PyObject
*_wrap_ListCtrl_SetColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21354 PyObject
*resultobj
;
21355 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21357 wxListItem
*arg3
= 0 ;
21359 PyObject
* obj0
= 0 ;
21360 PyObject
* obj1
= 0 ;
21361 PyObject
* obj2
= 0 ;
21362 char *kwnames
[] = {
21363 (char *) "self",(char *) "col",(char *) "item", NULL
21366 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetColumn",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21367 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21368 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21369 arg2
= (int) SWIG_AsInt(obj1
);
21370 if (PyErr_Occurred()) SWIG_fail
;
21371 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxListItem
,
21372 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21374 if (arg3
== NULL
) {
21375 PyErr_SetString(PyExc_TypeError
,"null reference");
21379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21380 result
= (bool)(arg1
)->SetColumn(arg2
,*arg3
);
21382 wxPyEndAllowThreads(__tstate
);
21383 if (PyErr_Occurred()) SWIG_fail
;
21386 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21394 static PyObject
*_wrap_ListCtrl_GetColumnWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21395 PyObject
*resultobj
;
21396 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21399 PyObject
* obj0
= 0 ;
21400 PyObject
* obj1
= 0 ;
21401 char *kwnames
[] = {
21402 (char *) "self",(char *) "col", NULL
21405 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetColumnWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
21406 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21407 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21408 arg2
= (int) SWIG_AsInt(obj1
);
21409 if (PyErr_Occurred()) SWIG_fail
;
21411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21412 result
= (int)((wxPyListCtrl
const *)arg1
)->GetColumnWidth(arg2
);
21414 wxPyEndAllowThreads(__tstate
);
21415 if (PyErr_Occurred()) SWIG_fail
;
21417 resultobj
= SWIG_FromInt((int)result
);
21424 static PyObject
*_wrap_ListCtrl_SetColumnWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21425 PyObject
*resultobj
;
21426 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21430 PyObject
* obj0
= 0 ;
21431 PyObject
* obj1
= 0 ;
21432 PyObject
* obj2
= 0 ;
21433 char *kwnames
[] = {
21434 (char *) "self",(char *) "col",(char *) "width", NULL
21437 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetColumnWidth",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21438 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21439 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21440 arg2
= (int) SWIG_AsInt(obj1
);
21441 if (PyErr_Occurred()) SWIG_fail
;
21442 arg3
= (int) SWIG_AsInt(obj2
);
21443 if (PyErr_Occurred()) SWIG_fail
;
21445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21446 result
= (bool)(arg1
)->SetColumnWidth(arg2
,arg3
);
21448 wxPyEndAllowThreads(__tstate
);
21449 if (PyErr_Occurred()) SWIG_fail
;
21452 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21460 static PyObject
*_wrap_ListCtrl_GetCountPerPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21461 PyObject
*resultobj
;
21462 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21464 PyObject
* obj0
= 0 ;
21465 char *kwnames
[] = {
21466 (char *) "self", NULL
21469 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetCountPerPage",kwnames
,&obj0
)) goto fail
;
21470 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21471 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21474 result
= (int)((wxPyListCtrl
const *)arg1
)->GetCountPerPage();
21476 wxPyEndAllowThreads(__tstate
);
21477 if (PyErr_Occurred()) SWIG_fail
;
21479 resultobj
= SWIG_FromInt((int)result
);
21486 static PyObject
*_wrap_ListCtrl_GetViewRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21487 PyObject
*resultobj
;
21488 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21490 PyObject
* obj0
= 0 ;
21491 char *kwnames
[] = {
21492 (char *) "self", NULL
21495 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetViewRect",kwnames
,&obj0
)) goto fail
;
21496 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21497 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21500 result
= ((wxPyListCtrl
const *)arg1
)->GetViewRect();
21502 wxPyEndAllowThreads(__tstate
);
21503 if (PyErr_Occurred()) SWIG_fail
;
21506 wxRect
* resultptr
;
21507 resultptr
= new wxRect((wxRect
&) result
);
21508 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
21516 static PyObject
*_wrap_ListCtrl_GetItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21517 PyObject
*resultobj
;
21518 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21520 int arg3
= (int) 0 ;
21521 wxListItem
*result
;
21522 PyObject
* obj0
= 0 ;
21523 PyObject
* obj1
= 0 ;
21524 PyObject
* obj2
= 0 ;
21525 char *kwnames
[] = {
21526 (char *) "self",(char *) "itemId",(char *) "col", NULL
21529 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_GetItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21530 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21531 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21532 arg2
= (long) SWIG_AsLong(obj1
);
21533 if (PyErr_Occurred()) SWIG_fail
;
21535 arg3
= (int) SWIG_AsInt(obj2
);
21536 if (PyErr_Occurred()) SWIG_fail
;
21539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21540 result
= (wxListItem
*)wxPyListCtrl_GetItem(arg1
,arg2
,arg3
);
21542 wxPyEndAllowThreads(__tstate
);
21543 if (PyErr_Occurred()) SWIG_fail
;
21546 resultobj
= wxPyMake_wxObject(result
, 0);
21554 static PyObject
*_wrap_ListCtrl_SetItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21555 PyObject
*resultobj
;
21556 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21557 wxListItem
*arg2
= 0 ;
21559 PyObject
* obj0
= 0 ;
21560 PyObject
* obj1
= 0 ;
21561 char *kwnames
[] = {
21562 (char *) "self",(char *) "info", NULL
21565 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetItem",kwnames
,&obj0
,&obj1
)) goto fail
;
21566 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21567 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21568 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxListItem
,
21569 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21571 if (arg2
== NULL
) {
21572 PyErr_SetString(PyExc_TypeError
,"null reference");
21576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21577 result
= (bool)(arg1
)->SetItem(*arg2
);
21579 wxPyEndAllowThreads(__tstate
);
21580 if (PyErr_Occurred()) SWIG_fail
;
21583 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21591 static PyObject
*_wrap_ListCtrl_SetStringItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21592 PyObject
*resultobj
;
21593 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21596 wxString
*arg4
= 0 ;
21597 int arg5
= (int) -1 ;
21599 bool temp4
= False
;
21600 PyObject
* obj0
= 0 ;
21601 PyObject
* obj1
= 0 ;
21602 PyObject
* obj2
= 0 ;
21603 PyObject
* obj3
= 0 ;
21604 PyObject
* obj4
= 0 ;
21605 char *kwnames
[] = {
21606 (char *) "self",(char *) "index",(char *) "col",(char *) "label",(char *) "imageId", NULL
21609 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:ListCtrl_SetStringItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
21610 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21611 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21612 arg2
= (long) SWIG_AsLong(obj1
);
21613 if (PyErr_Occurred()) SWIG_fail
;
21614 arg3
= (int) SWIG_AsInt(obj2
);
21615 if (PyErr_Occurred()) SWIG_fail
;
21617 arg4
= wxString_in_helper(obj3
);
21618 if (arg4
== NULL
) SWIG_fail
;
21622 arg5
= (int) SWIG_AsInt(obj4
);
21623 if (PyErr_Occurred()) SWIG_fail
;
21626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21627 result
= (long)(arg1
)->SetItem(arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
21629 wxPyEndAllowThreads(__tstate
);
21630 if (PyErr_Occurred()) SWIG_fail
;
21632 resultobj
= SWIG_FromLong((long)result
);
21647 static PyObject
*_wrap_ListCtrl_GetItemState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21648 PyObject
*resultobj
;
21649 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21653 PyObject
* obj0
= 0 ;
21654 PyObject
* obj1
= 0 ;
21655 PyObject
* obj2
= 0 ;
21656 char *kwnames
[] = {
21657 (char *) "self",(char *) "item",(char *) "stateMask", NULL
21660 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_GetItemState",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21661 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21662 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21663 arg2
= (long) SWIG_AsLong(obj1
);
21664 if (PyErr_Occurred()) SWIG_fail
;
21665 arg3
= (long) SWIG_AsLong(obj2
);
21666 if (PyErr_Occurred()) SWIG_fail
;
21668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21669 result
= (int)((wxPyListCtrl
const *)arg1
)->GetItemState(arg2
,arg3
);
21671 wxPyEndAllowThreads(__tstate
);
21672 if (PyErr_Occurred()) SWIG_fail
;
21674 resultobj
= SWIG_FromInt((int)result
);
21681 static PyObject
*_wrap_ListCtrl_SetItemState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21682 PyObject
*resultobj
;
21683 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21688 PyObject
* obj0
= 0 ;
21689 PyObject
* obj1
= 0 ;
21690 PyObject
* obj2
= 0 ;
21691 PyObject
* obj3
= 0 ;
21692 char *kwnames
[] = {
21693 (char *) "self",(char *) "item",(char *) "state",(char *) "stateMask", NULL
21696 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_SetItemState",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
21697 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21698 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21699 arg2
= (long) SWIG_AsLong(obj1
);
21700 if (PyErr_Occurred()) SWIG_fail
;
21701 arg3
= (long) SWIG_AsLong(obj2
);
21702 if (PyErr_Occurred()) SWIG_fail
;
21703 arg4
= (long) SWIG_AsLong(obj3
);
21704 if (PyErr_Occurred()) SWIG_fail
;
21706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21707 result
= (bool)(arg1
)->SetItemState(arg2
,arg3
,arg4
);
21709 wxPyEndAllowThreads(__tstate
);
21710 if (PyErr_Occurred()) SWIG_fail
;
21713 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21721 static PyObject
*_wrap_ListCtrl_SetItemImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21722 PyObject
*resultobj
;
21723 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21728 PyObject
* obj0
= 0 ;
21729 PyObject
* obj1
= 0 ;
21730 PyObject
* obj2
= 0 ;
21731 PyObject
* obj3
= 0 ;
21732 char *kwnames
[] = {
21733 (char *) "self",(char *) "item",(char *) "image",(char *) "selImage", NULL
21736 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_SetItemImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
21737 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21738 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21739 arg2
= (long) SWIG_AsLong(obj1
);
21740 if (PyErr_Occurred()) SWIG_fail
;
21741 arg3
= (int) SWIG_AsInt(obj2
);
21742 if (PyErr_Occurred()) SWIG_fail
;
21743 arg4
= (int) SWIG_AsInt(obj3
);
21744 if (PyErr_Occurred()) SWIG_fail
;
21746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21747 result
= (bool)(arg1
)->SetItemImage(arg2
,arg3
,arg4
);
21749 wxPyEndAllowThreads(__tstate
);
21750 if (PyErr_Occurred()) SWIG_fail
;
21753 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21761 static PyObject
*_wrap_ListCtrl_GetItemText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21762 PyObject
*resultobj
;
21763 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21766 PyObject
* obj0
= 0 ;
21767 PyObject
* obj1
= 0 ;
21768 char *kwnames
[] = {
21769 (char *) "self",(char *) "item", NULL
21772 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemText",kwnames
,&obj0
,&obj1
)) goto fail
;
21773 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21774 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21775 arg2
= (long) SWIG_AsLong(obj1
);
21776 if (PyErr_Occurred()) SWIG_fail
;
21778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21779 result
= ((wxPyListCtrl
const *)arg1
)->GetItemText(arg2
);
21781 wxPyEndAllowThreads(__tstate
);
21782 if (PyErr_Occurred()) SWIG_fail
;
21786 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
21788 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
21797 static PyObject
*_wrap_ListCtrl_SetItemText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21798 PyObject
*resultobj
;
21799 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21801 wxString
*arg3
= 0 ;
21802 bool temp3
= False
;
21803 PyObject
* obj0
= 0 ;
21804 PyObject
* obj1
= 0 ;
21805 PyObject
* obj2
= 0 ;
21806 char *kwnames
[] = {
21807 (char *) "self",(char *) "item",(char *) "str", NULL
21810 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21811 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21812 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21813 arg2
= (long) SWIG_AsLong(obj1
);
21814 if (PyErr_Occurred()) SWIG_fail
;
21816 arg3
= wxString_in_helper(obj2
);
21817 if (arg3
== NULL
) SWIG_fail
;
21821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21822 (arg1
)->SetItemText(arg2
,(wxString
const &)*arg3
);
21824 wxPyEndAllowThreads(__tstate
);
21825 if (PyErr_Occurred()) SWIG_fail
;
21827 Py_INCREF(Py_None
); resultobj
= Py_None
;
21842 static PyObject
*_wrap_ListCtrl_GetItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21843 PyObject
*resultobj
;
21844 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21847 PyObject
* obj0
= 0 ;
21848 PyObject
* obj1
= 0 ;
21849 char *kwnames
[] = {
21850 (char *) "self",(char *) "item", NULL
21853 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemData",kwnames
,&obj0
,&obj1
)) goto fail
;
21854 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21855 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21856 arg2
= (long) SWIG_AsLong(obj1
);
21857 if (PyErr_Occurred()) SWIG_fail
;
21859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21860 result
= (long)((wxPyListCtrl
const *)arg1
)->GetItemData(arg2
);
21862 wxPyEndAllowThreads(__tstate
);
21863 if (PyErr_Occurred()) SWIG_fail
;
21865 resultobj
= SWIG_FromLong((long)result
);
21872 static PyObject
*_wrap_ListCtrl_SetItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21873 PyObject
*resultobj
;
21874 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21878 PyObject
* obj0
= 0 ;
21879 PyObject
* obj1
= 0 ;
21880 PyObject
* obj2
= 0 ;
21881 char *kwnames
[] = {
21882 (char *) "self",(char *) "item",(char *) "data", NULL
21885 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21886 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21887 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21888 arg2
= (long) SWIG_AsLong(obj1
);
21889 if (PyErr_Occurred()) SWIG_fail
;
21890 arg3
= (long) SWIG_AsLong(obj2
);
21891 if (PyErr_Occurred()) SWIG_fail
;
21893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21894 result
= (bool)(arg1
)->SetItemData(arg2
,arg3
);
21896 wxPyEndAllowThreads(__tstate
);
21897 if (PyErr_Occurred()) SWIG_fail
;
21900 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21908 static PyObject
*_wrap_ListCtrl_GetItemPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21909 PyObject
*resultobj
;
21910 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21913 PyObject
* obj0
= 0 ;
21914 PyObject
* obj1
= 0 ;
21915 char *kwnames
[] = {
21916 (char *) "self",(char *) "item", NULL
21919 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
21920 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21921 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21922 arg2
= (long) SWIG_AsLong(obj1
);
21923 if (PyErr_Occurred()) SWIG_fail
;
21925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21926 result
= wxPyListCtrl_GetItemPosition(arg1
,arg2
);
21928 wxPyEndAllowThreads(__tstate
);
21929 if (PyErr_Occurred()) SWIG_fail
;
21932 wxPoint
* resultptr
;
21933 resultptr
= new wxPoint((wxPoint
&) result
);
21934 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
21942 static PyObject
*_wrap_ListCtrl_GetItemRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21943 PyObject
*resultobj
;
21944 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21946 int arg3
= (int) wxLIST_RECT_BOUNDS
;
21948 PyObject
* obj0
= 0 ;
21949 PyObject
* obj1
= 0 ;
21950 PyObject
* obj2
= 0 ;
21951 char *kwnames
[] = {
21952 (char *) "self",(char *) "item",(char *) "code", NULL
21955 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_GetItemRect",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21956 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21957 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21958 arg2
= (long) SWIG_AsLong(obj1
);
21959 if (PyErr_Occurred()) SWIG_fail
;
21961 arg3
= (int) SWIG_AsInt(obj2
);
21962 if (PyErr_Occurred()) SWIG_fail
;
21965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21966 result
= wxPyListCtrl_GetItemRect(arg1
,arg2
,arg3
);
21968 wxPyEndAllowThreads(__tstate
);
21969 if (PyErr_Occurred()) SWIG_fail
;
21972 wxRect
* resultptr
;
21973 resultptr
= new wxRect((wxRect
&) result
);
21974 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
21982 static PyObject
*_wrap_ListCtrl_SetItemPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21983 PyObject
*resultobj
;
21984 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21986 wxPoint
*arg3
= 0 ;
21989 PyObject
* obj0
= 0 ;
21990 PyObject
* obj1
= 0 ;
21991 PyObject
* obj2
= 0 ;
21992 char *kwnames
[] = {
21993 (char *) "self",(char *) "item",(char *) "pos", NULL
21996 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemPosition",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21997 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21998 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21999 arg2
= (long) SWIG_AsLong(obj1
);
22000 if (PyErr_Occurred()) SWIG_fail
;
22003 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
22006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22007 result
= (bool)(arg1
)->SetItemPosition(arg2
,(wxPoint
const &)*arg3
);
22009 wxPyEndAllowThreads(__tstate
);
22010 if (PyErr_Occurred()) SWIG_fail
;
22013 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22021 static PyObject
*_wrap_ListCtrl_GetItemCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22022 PyObject
*resultobj
;
22023 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22025 PyObject
* obj0
= 0 ;
22026 char *kwnames
[] = {
22027 (char *) "self", NULL
22030 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetItemCount",kwnames
,&obj0
)) goto fail
;
22031 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22032 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22035 result
= (int)((wxPyListCtrl
const *)arg1
)->GetItemCount();
22037 wxPyEndAllowThreads(__tstate
);
22038 if (PyErr_Occurred()) SWIG_fail
;
22040 resultobj
= SWIG_FromInt((int)result
);
22047 static PyObject
*_wrap_ListCtrl_GetColumnCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22048 PyObject
*resultobj
;
22049 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22051 PyObject
* obj0
= 0 ;
22052 char *kwnames
[] = {
22053 (char *) "self", NULL
22056 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetColumnCount",kwnames
,&obj0
)) goto fail
;
22057 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22058 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22061 result
= (int)((wxPyListCtrl
const *)arg1
)->GetColumnCount();
22063 wxPyEndAllowThreads(__tstate
);
22064 if (PyErr_Occurred()) SWIG_fail
;
22066 resultobj
= SWIG_FromInt((int)result
);
22073 static PyObject
*_wrap_ListCtrl_GetItemSpacing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22074 PyObject
*resultobj
;
22075 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22077 PyObject
* obj0
= 0 ;
22078 char *kwnames
[] = {
22079 (char *) "self", NULL
22082 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetItemSpacing",kwnames
,&obj0
)) goto fail
;
22083 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22084 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22087 result
= ((wxPyListCtrl
const *)arg1
)->GetItemSpacing();
22089 wxPyEndAllowThreads(__tstate
);
22090 if (PyErr_Occurred()) SWIG_fail
;
22093 wxSize
* resultptr
;
22094 resultptr
= new wxSize((wxSize
&) result
);
22095 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
22103 static PyObject
*_wrap_ListCtrl_SetItemSpacing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22104 PyObject
*resultobj
;
22105 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22107 bool arg3
= (bool) False
;
22108 PyObject
* obj0
= 0 ;
22109 PyObject
* obj1
= 0 ;
22110 PyObject
* obj2
= 0 ;
22111 char *kwnames
[] = {
22112 (char *) "self",(char *) "spacing",(char *) "isSmall", NULL
22115 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_SetItemSpacing",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22116 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22117 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22118 arg2
= (int) SWIG_AsInt(obj1
);
22119 if (PyErr_Occurred()) SWIG_fail
;
22121 arg3
= (bool) SWIG_AsBool(obj2
);
22122 if (PyErr_Occurred()) SWIG_fail
;
22125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22126 (arg1
)->SetItemSpacing(arg2
,arg3
);
22128 wxPyEndAllowThreads(__tstate
);
22129 if (PyErr_Occurred()) SWIG_fail
;
22131 Py_INCREF(Py_None
); resultobj
= Py_None
;
22138 static PyObject
*_wrap_ListCtrl_GetSelectedItemCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22139 PyObject
*resultobj
;
22140 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22142 PyObject
* obj0
= 0 ;
22143 char *kwnames
[] = {
22144 (char *) "self", NULL
22147 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetSelectedItemCount",kwnames
,&obj0
)) goto fail
;
22148 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22149 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22152 result
= (int)((wxPyListCtrl
const *)arg1
)->GetSelectedItemCount();
22154 wxPyEndAllowThreads(__tstate
);
22155 if (PyErr_Occurred()) SWIG_fail
;
22157 resultobj
= SWIG_FromInt((int)result
);
22164 static PyObject
*_wrap_ListCtrl_GetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22165 PyObject
*resultobj
;
22166 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22168 PyObject
* obj0
= 0 ;
22169 char *kwnames
[] = {
22170 (char *) "self", NULL
22173 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetTextColour",kwnames
,&obj0
)) goto fail
;
22174 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22175 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22178 result
= ((wxPyListCtrl
const *)arg1
)->GetTextColour();
22180 wxPyEndAllowThreads(__tstate
);
22181 if (PyErr_Occurred()) SWIG_fail
;
22184 wxColour
* resultptr
;
22185 resultptr
= new wxColour((wxColour
&) result
);
22186 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
22194 static PyObject
*_wrap_ListCtrl_SetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22195 PyObject
*resultobj
;
22196 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22197 wxColour
*arg2
= 0 ;
22199 PyObject
* obj0
= 0 ;
22200 PyObject
* obj1
= 0 ;
22201 char *kwnames
[] = {
22202 (char *) "self",(char *) "col", NULL
22205 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
22206 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22207 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22210 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
22213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22214 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
22216 wxPyEndAllowThreads(__tstate
);
22217 if (PyErr_Occurred()) SWIG_fail
;
22219 Py_INCREF(Py_None
); resultobj
= Py_None
;
22226 static PyObject
*_wrap_ListCtrl_GetTopItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22227 PyObject
*resultobj
;
22228 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22230 PyObject
* obj0
= 0 ;
22231 char *kwnames
[] = {
22232 (char *) "self", NULL
22235 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetTopItem",kwnames
,&obj0
)) goto fail
;
22236 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22237 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22240 result
= (long)((wxPyListCtrl
const *)arg1
)->GetTopItem();
22242 wxPyEndAllowThreads(__tstate
);
22243 if (PyErr_Occurred()) SWIG_fail
;
22245 resultobj
= SWIG_FromLong((long)result
);
22252 static PyObject
*_wrap_ListCtrl_SetSingleStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22253 PyObject
*resultobj
;
22254 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22256 bool arg3
= (bool) True
;
22257 PyObject
* obj0
= 0 ;
22258 PyObject
* obj1
= 0 ;
22259 PyObject
* obj2
= 0 ;
22260 char *kwnames
[] = {
22261 (char *) "self",(char *) "style",(char *) "add", NULL
22264 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_SetSingleStyle",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22265 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22266 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22267 arg2
= (long) SWIG_AsLong(obj1
);
22268 if (PyErr_Occurred()) SWIG_fail
;
22270 arg3
= (bool) SWIG_AsBool(obj2
);
22271 if (PyErr_Occurred()) SWIG_fail
;
22274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22275 (arg1
)->SetSingleStyle(arg2
,arg3
);
22277 wxPyEndAllowThreads(__tstate
);
22278 if (PyErr_Occurred()) SWIG_fail
;
22280 Py_INCREF(Py_None
); resultobj
= Py_None
;
22287 static PyObject
*_wrap_ListCtrl_SetWindowStyleFlag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22288 PyObject
*resultobj
;
22289 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22291 PyObject
* obj0
= 0 ;
22292 PyObject
* obj1
= 0 ;
22293 char *kwnames
[] = {
22294 (char *) "self",(char *) "style", NULL
22297 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetWindowStyleFlag",kwnames
,&obj0
,&obj1
)) goto fail
;
22298 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22299 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22300 arg2
= (long) SWIG_AsLong(obj1
);
22301 if (PyErr_Occurred()) SWIG_fail
;
22303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22304 (arg1
)->SetWindowStyleFlag(arg2
);
22306 wxPyEndAllowThreads(__tstate
);
22307 if (PyErr_Occurred()) SWIG_fail
;
22309 Py_INCREF(Py_None
); resultobj
= Py_None
;
22316 static PyObject
*_wrap_ListCtrl_GetNextItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22317 PyObject
*resultobj
;
22318 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22320 int arg3
= (int) wxLIST_NEXT_ALL
;
22321 int arg4
= (int) wxLIST_STATE_DONTCARE
;
22323 PyObject
* obj0
= 0 ;
22324 PyObject
* obj1
= 0 ;
22325 PyObject
* obj2
= 0 ;
22326 PyObject
* obj3
= 0 ;
22327 char *kwnames
[] = {
22328 (char *) "self",(char *) "item",(char *) "geometry",(char *) "state", NULL
22331 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:ListCtrl_GetNextItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
22332 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22333 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22334 arg2
= (long) SWIG_AsLong(obj1
);
22335 if (PyErr_Occurred()) SWIG_fail
;
22337 arg3
= (int) SWIG_AsInt(obj2
);
22338 if (PyErr_Occurred()) SWIG_fail
;
22341 arg4
= (int) SWIG_AsInt(obj3
);
22342 if (PyErr_Occurred()) SWIG_fail
;
22345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22346 result
= (long)((wxPyListCtrl
const *)arg1
)->GetNextItem(arg2
,arg3
,arg4
);
22348 wxPyEndAllowThreads(__tstate
);
22349 if (PyErr_Occurred()) SWIG_fail
;
22351 resultobj
= SWIG_FromLong((long)result
);
22358 static PyObject
*_wrap_ListCtrl_GetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22359 PyObject
*resultobj
;
22360 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22362 wxImageList
*result
;
22363 PyObject
* obj0
= 0 ;
22364 PyObject
* obj1
= 0 ;
22365 char *kwnames
[] = {
22366 (char *) "self",(char *) "which", NULL
22369 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
22370 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22371 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22372 arg2
= (int) SWIG_AsInt(obj1
);
22373 if (PyErr_Occurred()) SWIG_fail
;
22375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22376 result
= (wxImageList
*)((wxPyListCtrl
const *)arg1
)->GetImageList(arg2
);
22378 wxPyEndAllowThreads(__tstate
);
22379 if (PyErr_Occurred()) SWIG_fail
;
22382 resultobj
= wxPyMake_wxObject(result
, 0);
22390 static PyObject
*_wrap_ListCtrl_SetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22391 PyObject
*resultobj
;
22392 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22393 wxImageList
*arg2
= (wxImageList
*) 0 ;
22395 PyObject
* obj0
= 0 ;
22396 PyObject
* obj1
= 0 ;
22397 PyObject
* obj2
= 0 ;
22398 char *kwnames
[] = {
22399 (char *) "self",(char *) "imageList",(char *) "which", NULL
22402 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetImageList",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22403 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22404 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22405 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImageList
,
22406 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22407 arg3
= (int) SWIG_AsInt(obj2
);
22408 if (PyErr_Occurred()) SWIG_fail
;
22410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22411 (arg1
)->SetImageList(arg2
,arg3
);
22413 wxPyEndAllowThreads(__tstate
);
22414 if (PyErr_Occurred()) SWIG_fail
;
22416 Py_INCREF(Py_None
); resultobj
= Py_None
;
22423 static PyObject
*_wrap_ListCtrl_AssignImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22424 PyObject
*resultobj
;
22425 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22426 wxImageList
*arg2
= (wxImageList
*) 0 ;
22428 PyObject
* obj0
= 0 ;
22429 PyObject
* obj1
= 0 ;
22430 PyObject
* obj2
= 0 ;
22431 char *kwnames
[] = {
22432 (char *) "self",(char *) "imageList",(char *) "which", NULL
22435 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_AssignImageList",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22436 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22437 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22438 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImageList
,
22439 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
22440 arg3
= (int) SWIG_AsInt(obj2
);
22441 if (PyErr_Occurred()) SWIG_fail
;
22443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22444 (arg1
)->AssignImageList(arg2
,arg3
);
22446 wxPyEndAllowThreads(__tstate
);
22447 if (PyErr_Occurred()) SWIG_fail
;
22449 Py_INCREF(Py_None
); resultobj
= Py_None
;
22456 static PyObject
*_wrap_ListCtrl_InReportView(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22457 PyObject
*resultobj
;
22458 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22460 PyObject
* obj0
= 0 ;
22461 char *kwnames
[] = {
22462 (char *) "self", NULL
22465 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_InReportView",kwnames
,&obj0
)) goto fail
;
22466 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22467 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22470 result
= (bool)((wxPyListCtrl
const *)arg1
)->InReportView();
22472 wxPyEndAllowThreads(__tstate
);
22473 if (PyErr_Occurred()) SWIG_fail
;
22476 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22484 static PyObject
*_wrap_ListCtrl_IsVirtual(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22485 PyObject
*resultobj
;
22486 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22488 PyObject
* obj0
= 0 ;
22489 char *kwnames
[] = {
22490 (char *) "self", NULL
22493 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_IsVirtual",kwnames
,&obj0
)) goto fail
;
22494 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22495 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22498 result
= (bool)((wxPyListCtrl
const *)arg1
)->IsVirtual();
22500 wxPyEndAllowThreads(__tstate
);
22501 if (PyErr_Occurred()) SWIG_fail
;
22504 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22512 static PyObject
*_wrap_ListCtrl_RefreshItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22513 PyObject
*resultobj
;
22514 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22516 PyObject
* obj0
= 0 ;
22517 PyObject
* obj1
= 0 ;
22518 char *kwnames
[] = {
22519 (char *) "self",(char *) "item", NULL
22522 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_RefreshItem",kwnames
,&obj0
,&obj1
)) goto fail
;
22523 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22524 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22525 arg2
= (long) SWIG_AsLong(obj1
);
22526 if (PyErr_Occurred()) SWIG_fail
;
22528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22529 (arg1
)->RefreshItem(arg2
);
22531 wxPyEndAllowThreads(__tstate
);
22532 if (PyErr_Occurred()) SWIG_fail
;
22534 Py_INCREF(Py_None
); resultobj
= Py_None
;
22541 static PyObject
*_wrap_ListCtrl_RefreshItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22542 PyObject
*resultobj
;
22543 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22546 PyObject
* obj0
= 0 ;
22547 PyObject
* obj1
= 0 ;
22548 PyObject
* obj2
= 0 ;
22549 char *kwnames
[] = {
22550 (char *) "self",(char *) "itemFrom",(char *) "itemTo", NULL
22553 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_RefreshItems",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22554 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22555 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22556 arg2
= (long) SWIG_AsLong(obj1
);
22557 if (PyErr_Occurred()) SWIG_fail
;
22558 arg3
= (long) SWIG_AsLong(obj2
);
22559 if (PyErr_Occurred()) SWIG_fail
;
22561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22562 (arg1
)->RefreshItems(arg2
,arg3
);
22564 wxPyEndAllowThreads(__tstate
);
22565 if (PyErr_Occurred()) SWIG_fail
;
22567 Py_INCREF(Py_None
); resultobj
= Py_None
;
22574 static PyObject
*_wrap_ListCtrl_Arrange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22575 PyObject
*resultobj
;
22576 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22577 int arg2
= (int) wxLIST_ALIGN_DEFAULT
;
22579 PyObject
* obj0
= 0 ;
22580 PyObject
* obj1
= 0 ;
22581 char *kwnames
[] = {
22582 (char *) "self",(char *) "flag", NULL
22585 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ListCtrl_Arrange",kwnames
,&obj0
,&obj1
)) goto fail
;
22586 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22587 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22589 arg2
= (int) SWIG_AsInt(obj1
);
22590 if (PyErr_Occurred()) SWIG_fail
;
22593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22594 result
= (bool)(arg1
)->Arrange(arg2
);
22596 wxPyEndAllowThreads(__tstate
);
22597 if (PyErr_Occurred()) SWIG_fail
;
22600 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22608 static PyObject
*_wrap_ListCtrl_DeleteItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22609 PyObject
*resultobj
;
22610 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22613 PyObject
* obj0
= 0 ;
22614 PyObject
* obj1
= 0 ;
22615 char *kwnames
[] = {
22616 (char *) "self",(char *) "item", NULL
22619 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_DeleteItem",kwnames
,&obj0
,&obj1
)) goto fail
;
22620 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22621 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22622 arg2
= (long) SWIG_AsLong(obj1
);
22623 if (PyErr_Occurred()) SWIG_fail
;
22625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22626 result
= (bool)(arg1
)->DeleteItem(arg2
);
22628 wxPyEndAllowThreads(__tstate
);
22629 if (PyErr_Occurred()) SWIG_fail
;
22632 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22640 static PyObject
*_wrap_ListCtrl_DeleteAllItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22641 PyObject
*resultobj
;
22642 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22644 PyObject
* obj0
= 0 ;
22645 char *kwnames
[] = {
22646 (char *) "self", NULL
22649 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_DeleteAllItems",kwnames
,&obj0
)) goto fail
;
22650 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22651 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22654 result
= (bool)(arg1
)->DeleteAllItems();
22656 wxPyEndAllowThreads(__tstate
);
22657 if (PyErr_Occurred()) SWIG_fail
;
22660 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22668 static PyObject
*_wrap_ListCtrl_DeleteColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22669 PyObject
*resultobj
;
22670 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22673 PyObject
* obj0
= 0 ;
22674 PyObject
* obj1
= 0 ;
22675 char *kwnames
[] = {
22676 (char *) "self",(char *) "col", NULL
22679 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_DeleteColumn",kwnames
,&obj0
,&obj1
)) goto fail
;
22680 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22681 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22682 arg2
= (int) SWIG_AsInt(obj1
);
22683 if (PyErr_Occurred()) SWIG_fail
;
22685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22686 result
= (bool)(arg1
)->DeleteColumn(arg2
);
22688 wxPyEndAllowThreads(__tstate
);
22689 if (PyErr_Occurred()) SWIG_fail
;
22692 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22700 static PyObject
*_wrap_ListCtrl_DeleteAllColumns(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22701 PyObject
*resultobj
;
22702 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22704 PyObject
* obj0
= 0 ;
22705 char *kwnames
[] = {
22706 (char *) "self", NULL
22709 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_DeleteAllColumns",kwnames
,&obj0
)) goto fail
;
22710 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22711 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22714 result
= (bool)(arg1
)->DeleteAllColumns();
22716 wxPyEndAllowThreads(__tstate
);
22717 if (PyErr_Occurred()) SWIG_fail
;
22720 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22728 static PyObject
*_wrap_ListCtrl_ClearAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22729 PyObject
*resultobj
;
22730 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22731 PyObject
* obj0
= 0 ;
22732 char *kwnames
[] = {
22733 (char *) "self", NULL
22736 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_ClearAll",kwnames
,&obj0
)) goto fail
;
22737 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22738 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22741 (arg1
)->ClearAll();
22743 wxPyEndAllowThreads(__tstate
);
22744 if (PyErr_Occurred()) SWIG_fail
;
22746 Py_INCREF(Py_None
); resultobj
= Py_None
;
22753 static PyObject
*_wrap_ListCtrl_EditLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22754 PyObject
*resultobj
;
22755 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22757 PyObject
* obj0
= 0 ;
22758 PyObject
* obj1
= 0 ;
22759 char *kwnames
[] = {
22760 (char *) "self",(char *) "item", NULL
22763 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_EditLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
22764 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22765 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22766 arg2
= (long) SWIG_AsLong(obj1
);
22767 if (PyErr_Occurred()) SWIG_fail
;
22769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22770 (arg1
)->EditLabel(arg2
);
22772 wxPyEndAllowThreads(__tstate
);
22773 if (PyErr_Occurred()) SWIG_fail
;
22775 Py_INCREF(Py_None
); resultobj
= Py_None
;
22782 static PyObject
*_wrap_ListCtrl_EnsureVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22783 PyObject
*resultobj
;
22784 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22787 PyObject
* obj0
= 0 ;
22788 PyObject
* obj1
= 0 ;
22789 char *kwnames
[] = {
22790 (char *) "self",(char *) "item", NULL
22793 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_EnsureVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
22794 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22795 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22796 arg2
= (long) SWIG_AsLong(obj1
);
22797 if (PyErr_Occurred()) SWIG_fail
;
22799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22800 result
= (bool)(arg1
)->EnsureVisible(arg2
);
22802 wxPyEndAllowThreads(__tstate
);
22803 if (PyErr_Occurred()) SWIG_fail
;
22806 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22814 static PyObject
*_wrap_ListCtrl_FindItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22815 PyObject
*resultobj
;
22816 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22818 wxString
*arg3
= 0 ;
22819 bool arg4
= (bool) False
;
22821 bool temp3
= False
;
22822 PyObject
* obj0
= 0 ;
22823 PyObject
* obj1
= 0 ;
22824 PyObject
* obj2
= 0 ;
22825 PyObject
* obj3
= 0 ;
22826 char *kwnames
[] = {
22827 (char *) "self",(char *) "start",(char *) "str",(char *) "partial", NULL
22830 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ListCtrl_FindItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
22831 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22832 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22833 arg2
= (long) SWIG_AsLong(obj1
);
22834 if (PyErr_Occurred()) SWIG_fail
;
22836 arg3
= wxString_in_helper(obj2
);
22837 if (arg3
== NULL
) SWIG_fail
;
22841 arg4
= (bool) SWIG_AsBool(obj3
);
22842 if (PyErr_Occurred()) SWIG_fail
;
22845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22846 result
= (long)(arg1
)->FindItem(arg2
,(wxString
const &)*arg3
,arg4
);
22848 wxPyEndAllowThreads(__tstate
);
22849 if (PyErr_Occurred()) SWIG_fail
;
22851 resultobj
= SWIG_FromLong((long)result
);
22866 static PyObject
*_wrap_ListCtrl_FindItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22867 PyObject
*resultobj
;
22868 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22872 PyObject
* obj0
= 0 ;
22873 PyObject
* obj1
= 0 ;
22874 PyObject
* obj2
= 0 ;
22875 char *kwnames
[] = {
22876 (char *) "self",(char *) "start",(char *) "data", NULL
22879 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_FindItemData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22880 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22881 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22882 arg2
= (long) SWIG_AsLong(obj1
);
22883 if (PyErr_Occurred()) SWIG_fail
;
22884 arg3
= (long) SWIG_AsLong(obj2
);
22885 if (PyErr_Occurred()) SWIG_fail
;
22887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22888 result
= (long)(arg1
)->FindItem(arg2
,arg3
);
22890 wxPyEndAllowThreads(__tstate
);
22891 if (PyErr_Occurred()) SWIG_fail
;
22893 resultobj
= SWIG_FromLong((long)result
);
22900 static PyObject
*_wrap_ListCtrl_FindItemAtPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22901 PyObject
*resultobj
;
22902 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22904 wxPoint
*arg3
= 0 ;
22908 PyObject
* obj0
= 0 ;
22909 PyObject
* obj1
= 0 ;
22910 PyObject
* obj2
= 0 ;
22911 PyObject
* obj3
= 0 ;
22912 char *kwnames
[] = {
22913 (char *) "self",(char *) "start",(char *) "pt",(char *) "direction", NULL
22916 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_FindItemAtPos",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
22917 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22918 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22919 arg2
= (long) SWIG_AsLong(obj1
);
22920 if (PyErr_Occurred()) SWIG_fail
;
22923 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
22925 arg4
= (int) SWIG_AsInt(obj3
);
22926 if (PyErr_Occurred()) SWIG_fail
;
22928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22929 result
= (long)(arg1
)->FindItem(arg2
,(wxPoint
const &)*arg3
,arg4
);
22931 wxPyEndAllowThreads(__tstate
);
22932 if (PyErr_Occurred()) SWIG_fail
;
22934 resultobj
= SWIG_FromLong((long)result
);
22941 static PyObject
*_wrap_ListCtrl_HitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22942 PyObject
*resultobj
;
22943 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22944 wxPoint
*arg2
= 0 ;
22949 PyObject
* obj0
= 0 ;
22950 PyObject
* obj1
= 0 ;
22951 char *kwnames
[] = {
22952 (char *) "self",(char *) "point", NULL
22956 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
22957 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22958 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22961 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
22964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22965 result
= (long)(arg1
)->HitTest((wxPoint
const &)*arg2
,*arg3
);
22967 wxPyEndAllowThreads(__tstate
);
22968 if (PyErr_Occurred()) SWIG_fail
;
22970 resultobj
= SWIG_FromLong((long)result
);
22972 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
22973 resultobj
= t_output_helper(resultobj
,o
);
22981 static PyObject
*_wrap_ListCtrl_InsertItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22982 PyObject
*resultobj
;
22983 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22984 wxListItem
*arg2
= 0 ;
22986 PyObject
* obj0
= 0 ;
22987 PyObject
* obj1
= 0 ;
22988 char *kwnames
[] = {
22989 (char *) "self",(char *) "info", NULL
22992 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_InsertItem",kwnames
,&obj0
,&obj1
)) goto fail
;
22993 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22994 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22995 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxListItem
,
22996 SWIG_POINTER_EXCEPTION
| 0)) == -1)
22998 if (arg2
== NULL
) {
22999 PyErr_SetString(PyExc_TypeError
,"null reference");
23003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23004 result
= (long)(arg1
)->InsertItem(*arg2
);
23006 wxPyEndAllowThreads(__tstate
);
23007 if (PyErr_Occurred()) SWIG_fail
;
23009 resultobj
= SWIG_FromLong((long)result
);
23016 static PyObject
*_wrap_ListCtrl_InsertStringItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23017 PyObject
*resultobj
;
23018 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23020 wxString
*arg3
= 0 ;
23022 bool temp3
= False
;
23023 PyObject
* obj0
= 0 ;
23024 PyObject
* obj1
= 0 ;
23025 PyObject
* obj2
= 0 ;
23026 char *kwnames
[] = {
23027 (char *) "self",(char *) "index",(char *) "label", NULL
23030 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_InsertStringItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23031 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23032 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23033 arg2
= (long) SWIG_AsLong(obj1
);
23034 if (PyErr_Occurred()) SWIG_fail
;
23036 arg3
= wxString_in_helper(obj2
);
23037 if (arg3
== NULL
) SWIG_fail
;
23041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23042 result
= (long)(arg1
)->InsertItem(arg2
,(wxString
const &)*arg3
);
23044 wxPyEndAllowThreads(__tstate
);
23045 if (PyErr_Occurred()) SWIG_fail
;
23047 resultobj
= SWIG_FromLong((long)result
);
23062 static PyObject
*_wrap_ListCtrl_InsertImageItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23063 PyObject
*resultobj
;
23064 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23068 PyObject
* obj0
= 0 ;
23069 PyObject
* obj1
= 0 ;
23070 PyObject
* obj2
= 0 ;
23071 char *kwnames
[] = {
23072 (char *) "self",(char *) "index",(char *) "imageIndex", NULL
23075 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_InsertImageItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23076 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23077 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23078 arg2
= (long) SWIG_AsLong(obj1
);
23079 if (PyErr_Occurred()) SWIG_fail
;
23080 arg3
= (int) SWIG_AsInt(obj2
);
23081 if (PyErr_Occurred()) SWIG_fail
;
23083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23084 result
= (long)(arg1
)->InsertItem(arg2
,arg3
);
23086 wxPyEndAllowThreads(__tstate
);
23087 if (PyErr_Occurred()) SWIG_fail
;
23089 resultobj
= SWIG_FromLong((long)result
);
23096 static PyObject
*_wrap_ListCtrl_InsertImageStringItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23097 PyObject
*resultobj
;
23098 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23100 wxString
*arg3
= 0 ;
23103 bool temp3
= False
;
23104 PyObject
* obj0
= 0 ;
23105 PyObject
* obj1
= 0 ;
23106 PyObject
* obj2
= 0 ;
23107 PyObject
* obj3
= 0 ;
23108 char *kwnames
[] = {
23109 (char *) "self",(char *) "index",(char *) "label",(char *) "imageIndex", NULL
23112 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_InsertImageStringItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
23113 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23114 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23115 arg2
= (long) SWIG_AsLong(obj1
);
23116 if (PyErr_Occurred()) SWIG_fail
;
23118 arg3
= wxString_in_helper(obj2
);
23119 if (arg3
== NULL
) SWIG_fail
;
23122 arg4
= (int) SWIG_AsInt(obj3
);
23123 if (PyErr_Occurred()) SWIG_fail
;
23125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23126 result
= (long)(arg1
)->InsertItem(arg2
,(wxString
const &)*arg3
,arg4
);
23128 wxPyEndAllowThreads(__tstate
);
23129 if (PyErr_Occurred()) SWIG_fail
;
23131 resultobj
= SWIG_FromLong((long)result
);
23146 static PyObject
*_wrap_ListCtrl_InsertColumnInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23147 PyObject
*resultobj
;
23148 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23150 wxListItem
*arg3
= 0 ;
23152 PyObject
* obj0
= 0 ;
23153 PyObject
* obj1
= 0 ;
23154 PyObject
* obj2
= 0 ;
23155 char *kwnames
[] = {
23156 (char *) "self",(char *) "col",(char *) "info", NULL
23159 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_InsertColumnInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23160 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23161 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23162 arg2
= (long) SWIG_AsLong(obj1
);
23163 if (PyErr_Occurred()) SWIG_fail
;
23164 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxListItem
,
23165 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23167 if (arg3
== NULL
) {
23168 PyErr_SetString(PyExc_TypeError
,"null reference");
23172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23173 result
= (long)(arg1
)->InsertColumn(arg2
,*arg3
);
23175 wxPyEndAllowThreads(__tstate
);
23176 if (PyErr_Occurred()) SWIG_fail
;
23178 resultobj
= SWIG_FromLong((long)result
);
23185 static PyObject
*_wrap_ListCtrl_InsertColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23186 PyObject
*resultobj
;
23187 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23189 wxString
*arg3
= 0 ;
23190 int arg4
= (int) wxLIST_FORMAT_LEFT
;
23191 int arg5
= (int) -1 ;
23193 bool temp3
= False
;
23194 PyObject
* obj0
= 0 ;
23195 PyObject
* obj1
= 0 ;
23196 PyObject
* obj2
= 0 ;
23197 PyObject
* obj3
= 0 ;
23198 PyObject
* obj4
= 0 ;
23199 char *kwnames
[] = {
23200 (char *) "self",(char *) "col",(char *) "heading",(char *) "format",(char *) "width", NULL
23203 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:ListCtrl_InsertColumn",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
23204 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23205 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23206 arg2
= (long) SWIG_AsLong(obj1
);
23207 if (PyErr_Occurred()) SWIG_fail
;
23209 arg3
= wxString_in_helper(obj2
);
23210 if (arg3
== NULL
) SWIG_fail
;
23214 arg4
= (int) SWIG_AsInt(obj3
);
23215 if (PyErr_Occurred()) SWIG_fail
;
23218 arg5
= (int) SWIG_AsInt(obj4
);
23219 if (PyErr_Occurred()) SWIG_fail
;
23222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23223 result
= (long)(arg1
)->InsertColumn(arg2
,(wxString
const &)*arg3
,arg4
,arg5
);
23225 wxPyEndAllowThreads(__tstate
);
23226 if (PyErr_Occurred()) SWIG_fail
;
23228 resultobj
= SWIG_FromLong((long)result
);
23243 static PyObject
*_wrap_ListCtrl_SetItemCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23244 PyObject
*resultobj
;
23245 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23247 PyObject
* obj0
= 0 ;
23248 PyObject
* obj1
= 0 ;
23249 char *kwnames
[] = {
23250 (char *) "self",(char *) "count", NULL
23253 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetItemCount",kwnames
,&obj0
,&obj1
)) goto fail
;
23254 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23255 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23256 arg2
= (long) SWIG_AsLong(obj1
);
23257 if (PyErr_Occurred()) SWIG_fail
;
23259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23260 (arg1
)->SetItemCount(arg2
);
23262 wxPyEndAllowThreads(__tstate
);
23263 if (PyErr_Occurred()) SWIG_fail
;
23265 Py_INCREF(Py_None
); resultobj
= Py_None
;
23272 static PyObject
*_wrap_ListCtrl_ScrollList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23273 PyObject
*resultobj
;
23274 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23278 PyObject
* obj0
= 0 ;
23279 PyObject
* obj1
= 0 ;
23280 PyObject
* obj2
= 0 ;
23281 char *kwnames
[] = {
23282 (char *) "self",(char *) "dx",(char *) "dy", NULL
23285 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_ScrollList",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23286 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23287 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23288 arg2
= (int) SWIG_AsInt(obj1
);
23289 if (PyErr_Occurred()) SWIG_fail
;
23290 arg3
= (int) SWIG_AsInt(obj2
);
23291 if (PyErr_Occurred()) SWIG_fail
;
23293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23294 result
= (bool)(arg1
)->ScrollList(arg2
,arg3
);
23296 wxPyEndAllowThreads(__tstate
);
23297 if (PyErr_Occurred()) SWIG_fail
;
23300 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23308 static PyObject
*_wrap_ListCtrl_SetItemTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23309 PyObject
*resultobj
;
23310 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23312 wxColour
*arg3
= 0 ;
23314 PyObject
* obj0
= 0 ;
23315 PyObject
* obj1
= 0 ;
23316 PyObject
* obj2
= 0 ;
23317 char *kwnames
[] = {
23318 (char *) "self",(char *) "item",(char *) "col", NULL
23321 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemTextColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23322 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23323 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23324 arg2
= (long) SWIG_AsLong(obj1
);
23325 if (PyErr_Occurred()) SWIG_fail
;
23328 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
23331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23332 (arg1
)->SetItemTextColour(arg2
,(wxColour
const &)*arg3
);
23334 wxPyEndAllowThreads(__tstate
);
23335 if (PyErr_Occurred()) SWIG_fail
;
23337 Py_INCREF(Py_None
); resultobj
= Py_None
;
23344 static PyObject
*_wrap_ListCtrl_GetItemTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23345 PyObject
*resultobj
;
23346 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23349 PyObject
* obj0
= 0 ;
23350 PyObject
* obj1
= 0 ;
23351 char *kwnames
[] = {
23352 (char *) "self",(char *) "item", NULL
23355 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
23356 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23357 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23358 arg2
= (long) SWIG_AsLong(obj1
);
23359 if (PyErr_Occurred()) SWIG_fail
;
23361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23362 result
= ((wxPyListCtrl
const *)arg1
)->GetItemTextColour(arg2
);
23364 wxPyEndAllowThreads(__tstate
);
23365 if (PyErr_Occurred()) SWIG_fail
;
23368 wxColour
* resultptr
;
23369 resultptr
= new wxColour((wxColour
&) result
);
23370 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
23378 static PyObject
*_wrap_ListCtrl_SetItemBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23379 PyObject
*resultobj
;
23380 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23382 wxColour
*arg3
= 0 ;
23384 PyObject
* obj0
= 0 ;
23385 PyObject
* obj1
= 0 ;
23386 PyObject
* obj2
= 0 ;
23387 char *kwnames
[] = {
23388 (char *) "self",(char *) "item",(char *) "col", NULL
23391 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23392 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23393 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23394 arg2
= (long) SWIG_AsLong(obj1
);
23395 if (PyErr_Occurred()) SWIG_fail
;
23398 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
23401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23402 (arg1
)->SetItemBackgroundColour(arg2
,(wxColour
const &)*arg3
);
23404 wxPyEndAllowThreads(__tstate
);
23405 if (PyErr_Occurred()) SWIG_fail
;
23407 Py_INCREF(Py_None
); resultobj
= Py_None
;
23414 static PyObject
*_wrap_ListCtrl_GetItemBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23415 PyObject
*resultobj
;
23416 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23419 PyObject
* obj0
= 0 ;
23420 PyObject
* obj1
= 0 ;
23421 char *kwnames
[] = {
23422 (char *) "self",(char *) "item", NULL
23425 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
23426 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23427 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23428 arg2
= (long) SWIG_AsLong(obj1
);
23429 if (PyErr_Occurred()) SWIG_fail
;
23431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23432 result
= ((wxPyListCtrl
const *)arg1
)->GetItemBackgroundColour(arg2
);
23434 wxPyEndAllowThreads(__tstate
);
23435 if (PyErr_Occurred()) SWIG_fail
;
23438 wxColour
* resultptr
;
23439 resultptr
= new wxColour((wxColour
&) result
);
23440 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
23448 static PyObject
*_wrap_ListCtrl_SortItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23449 PyObject
*resultobj
;
23450 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23451 PyObject
*arg2
= (PyObject
*) 0 ;
23453 PyObject
* obj0
= 0 ;
23454 PyObject
* obj1
= 0 ;
23455 char *kwnames
[] = {
23456 (char *) "self",(char *) "func", NULL
23459 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SortItems",kwnames
,&obj0
,&obj1
)) goto fail
;
23460 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23461 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23465 result
= (bool)wxPyListCtrl_SortItems(arg1
,arg2
);
23467 wxPyEndAllowThreads(__tstate
);
23468 if (PyErr_Occurred()) SWIG_fail
;
23471 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23479 static PyObject
*_wrap_ListCtrl_GetMainWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23480 PyObject
*resultobj
;
23481 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23483 PyObject
* obj0
= 0 ;
23484 char *kwnames
[] = {
23485 (char *) "self", NULL
23488 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetMainWindow",kwnames
,&obj0
)) goto fail
;
23489 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23490 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23493 result
= (wxWindow
*)wxPyListCtrl_GetMainWindow(arg1
);
23495 wxPyEndAllowThreads(__tstate
);
23496 if (PyErr_Occurred()) SWIG_fail
;
23499 resultobj
= wxPyMake_wxObject(result
, 0);
23507 static PyObject
*_wrap_ListCtrl_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23508 PyObject
*resultobj
;
23509 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
23510 wxVisualAttributes result
;
23511 PyObject
* obj0
= 0 ;
23512 char *kwnames
[] = {
23513 (char *) "variant", NULL
23516 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ListCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
23518 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
23519 if (PyErr_Occurred()) SWIG_fail
;
23522 if (!wxPyCheckForApp()) SWIG_fail
;
23523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23524 result
= wxPyListCtrl::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
23526 wxPyEndAllowThreads(__tstate
);
23527 if (PyErr_Occurred()) SWIG_fail
;
23530 wxVisualAttributes
* resultptr
;
23531 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
23532 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
23540 static PyObject
* ListCtrl_swigregister(PyObject
*self
, PyObject
*args
) {
23542 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23543 SWIG_TypeClientData(SWIGTYPE_p_wxPyListCtrl
, obj
);
23545 return Py_BuildValue((char *)"");
23547 static PyObject
*_wrap_new_ListView(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23548 PyObject
*resultobj
;
23549 wxWindow
*arg1
= (wxWindow
*) 0 ;
23550 int arg2
= (int) -1 ;
23551 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
23552 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
23553 wxSize
const &arg4_defvalue
= wxDefaultSize
;
23554 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
23555 long arg5
= (long) wxLC_REPORT
;
23556 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
23557 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
23558 wxString
const &arg7_defvalue
= wxPyListCtrlNameStr
;
23559 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
23560 wxListView
*result
;
23563 bool temp7
= False
;
23564 PyObject
* obj0
= 0 ;
23565 PyObject
* obj1
= 0 ;
23566 PyObject
* obj2
= 0 ;
23567 PyObject
* obj3
= 0 ;
23568 PyObject
* obj4
= 0 ;
23569 PyObject
* obj5
= 0 ;
23570 PyObject
* obj6
= 0 ;
23571 char *kwnames
[] = {
23572 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
23575 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_ListView",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
23576 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23577 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23579 arg2
= (int) SWIG_AsInt(obj1
);
23580 if (PyErr_Occurred()) SWIG_fail
;
23585 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
23591 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
23595 arg5
= (long) SWIG_AsLong(obj4
);
23596 if (PyErr_Occurred()) SWIG_fail
;
23599 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxValidator
,
23600 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23602 if (arg6
== NULL
) {
23603 PyErr_SetString(PyExc_TypeError
,"null reference");
23609 arg7
= wxString_in_helper(obj6
);
23610 if (arg7
== NULL
) SWIG_fail
;
23615 if (!wxPyCheckForApp()) SWIG_fail
;
23616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23617 result
= (wxListView
*)new wxListView(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
23619 wxPyEndAllowThreads(__tstate
);
23620 if (PyErr_Occurred()) SWIG_fail
;
23622 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListView
, 1);
23637 static PyObject
*_wrap_new_PreListView(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23638 PyObject
*resultobj
;
23639 wxListView
*result
;
23640 char *kwnames
[] = {
23644 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreListView",kwnames
)) goto fail
;
23646 if (!wxPyCheckForApp()) SWIG_fail
;
23647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23648 result
= (wxListView
*)new wxListView();
23650 wxPyEndAllowThreads(__tstate
);
23651 if (PyErr_Occurred()) SWIG_fail
;
23653 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListView
, 1);
23660 static PyObject
*_wrap_ListView_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23661 PyObject
*resultobj
;
23662 wxListView
*arg1
= (wxListView
*) 0 ;
23663 wxWindow
*arg2
= (wxWindow
*) 0 ;
23664 int arg3
= (int) -1 ;
23665 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
23666 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
23667 wxSize
const &arg5_defvalue
= wxDefaultSize
;
23668 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
23669 long arg6
= (long) wxLC_REPORT
;
23670 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
23671 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
23672 wxString
const &arg8_defvalue
= wxPyListCtrlNameStr
;
23673 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
23677 bool temp8
= False
;
23678 PyObject
* obj0
= 0 ;
23679 PyObject
* obj1
= 0 ;
23680 PyObject
* obj2
= 0 ;
23681 PyObject
* obj3
= 0 ;
23682 PyObject
* obj4
= 0 ;
23683 PyObject
* obj5
= 0 ;
23684 PyObject
* obj6
= 0 ;
23685 PyObject
* obj7
= 0 ;
23686 char *kwnames
[] = {
23687 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
23690 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:ListView_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
23691 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListView
,
23692 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23693 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
23694 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23696 arg3
= (int) SWIG_AsInt(obj2
);
23697 if (PyErr_Occurred()) SWIG_fail
;
23702 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
23708 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
23712 arg6
= (long) SWIG_AsLong(obj5
);
23713 if (PyErr_Occurred()) SWIG_fail
;
23716 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
23717 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23719 if (arg7
== NULL
) {
23720 PyErr_SetString(PyExc_TypeError
,"null reference");
23726 arg8
= wxString_in_helper(obj7
);
23727 if (arg8
== NULL
) SWIG_fail
;
23732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23733 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
23735 wxPyEndAllowThreads(__tstate
);
23736 if (PyErr_Occurred()) SWIG_fail
;
23739 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23755 static PyObject
*_wrap_ListView_Select(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23756 PyObject
*resultobj
;
23757 wxListView
*arg1
= (wxListView
*) 0 ;
23759 bool arg3
= (bool) True
;
23760 PyObject
* obj0
= 0 ;
23761 PyObject
* obj1
= 0 ;
23762 PyObject
* obj2
= 0 ;
23763 char *kwnames
[] = {
23764 (char *) "self",(char *) "n",(char *) "on", NULL
23767 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListView_Select",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23768 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListView
,
23769 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23770 arg2
= (long) SWIG_AsLong(obj1
);
23771 if (PyErr_Occurred()) SWIG_fail
;
23773 arg3
= (bool) SWIG_AsBool(obj2
);
23774 if (PyErr_Occurred()) SWIG_fail
;
23777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23778 (arg1
)->Select(arg2
,arg3
);
23780 wxPyEndAllowThreads(__tstate
);
23781 if (PyErr_Occurred()) SWIG_fail
;
23783 Py_INCREF(Py_None
); resultobj
= Py_None
;
23790 static PyObject
*_wrap_ListView_Focus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23791 PyObject
*resultobj
;
23792 wxListView
*arg1
= (wxListView
*) 0 ;
23794 PyObject
* obj0
= 0 ;
23795 PyObject
* obj1
= 0 ;
23796 char *kwnames
[] = {
23797 (char *) "self",(char *) "index", NULL
23800 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_Focus",kwnames
,&obj0
,&obj1
)) goto fail
;
23801 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListView
,
23802 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23803 arg2
= (long) SWIG_AsLong(obj1
);
23804 if (PyErr_Occurred()) SWIG_fail
;
23806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23807 (arg1
)->Focus(arg2
);
23809 wxPyEndAllowThreads(__tstate
);
23810 if (PyErr_Occurred()) SWIG_fail
;
23812 Py_INCREF(Py_None
); resultobj
= Py_None
;
23819 static PyObject
*_wrap_ListView_GetFocusedItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23820 PyObject
*resultobj
;
23821 wxListView
*arg1
= (wxListView
*) 0 ;
23823 PyObject
* obj0
= 0 ;
23824 char *kwnames
[] = {
23825 (char *) "self", NULL
23828 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListView_GetFocusedItem",kwnames
,&obj0
)) goto fail
;
23829 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListView
,
23830 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23833 result
= (long)((wxListView
const *)arg1
)->GetFocusedItem();
23835 wxPyEndAllowThreads(__tstate
);
23836 if (PyErr_Occurred()) SWIG_fail
;
23838 resultobj
= SWIG_FromLong((long)result
);
23845 static PyObject
*_wrap_ListView_GetNextSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23846 PyObject
*resultobj
;
23847 wxListView
*arg1
= (wxListView
*) 0 ;
23850 PyObject
* obj0
= 0 ;
23851 PyObject
* obj1
= 0 ;
23852 char *kwnames
[] = {
23853 (char *) "self",(char *) "item", NULL
23856 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_GetNextSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
23857 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListView
,
23858 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23859 arg2
= (long) SWIG_AsLong(obj1
);
23860 if (PyErr_Occurred()) SWIG_fail
;
23862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23863 result
= (long)((wxListView
const *)arg1
)->GetNextSelected(arg2
);
23865 wxPyEndAllowThreads(__tstate
);
23866 if (PyErr_Occurred()) SWIG_fail
;
23868 resultobj
= SWIG_FromLong((long)result
);
23875 static PyObject
*_wrap_ListView_GetFirstSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23876 PyObject
*resultobj
;
23877 wxListView
*arg1
= (wxListView
*) 0 ;
23879 PyObject
* obj0
= 0 ;
23880 char *kwnames
[] = {
23881 (char *) "self", NULL
23884 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListView_GetFirstSelected",kwnames
,&obj0
)) goto fail
;
23885 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListView
,
23886 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23889 result
= (long)((wxListView
const *)arg1
)->GetFirstSelected();
23891 wxPyEndAllowThreads(__tstate
);
23892 if (PyErr_Occurred()) SWIG_fail
;
23894 resultobj
= SWIG_FromLong((long)result
);
23901 static PyObject
*_wrap_ListView_IsSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23902 PyObject
*resultobj
;
23903 wxListView
*arg1
= (wxListView
*) 0 ;
23906 PyObject
* obj0
= 0 ;
23907 PyObject
* obj1
= 0 ;
23908 char *kwnames
[] = {
23909 (char *) "self",(char *) "index", NULL
23912 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_IsSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
23913 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListView
,
23914 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23915 arg2
= (long) SWIG_AsLong(obj1
);
23916 if (PyErr_Occurred()) SWIG_fail
;
23918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23919 result
= (bool)(arg1
)->IsSelected(arg2
);
23921 wxPyEndAllowThreads(__tstate
);
23922 if (PyErr_Occurred()) SWIG_fail
;
23925 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23933 static PyObject
*_wrap_ListView_SetColumnImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23934 PyObject
*resultobj
;
23935 wxListView
*arg1
= (wxListView
*) 0 ;
23938 PyObject
* obj0
= 0 ;
23939 PyObject
* obj1
= 0 ;
23940 PyObject
* obj2
= 0 ;
23941 char *kwnames
[] = {
23942 (char *) "self",(char *) "col",(char *) "image", NULL
23945 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListView_SetColumnImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23946 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListView
,
23947 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23948 arg2
= (int) SWIG_AsInt(obj1
);
23949 if (PyErr_Occurred()) SWIG_fail
;
23950 arg3
= (int) SWIG_AsInt(obj2
);
23951 if (PyErr_Occurred()) SWIG_fail
;
23953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23954 (arg1
)->SetColumnImage(arg2
,arg3
);
23956 wxPyEndAllowThreads(__tstate
);
23957 if (PyErr_Occurred()) SWIG_fail
;
23959 Py_INCREF(Py_None
); resultobj
= Py_None
;
23966 static PyObject
*_wrap_ListView_ClearColumnImage(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 *) "col", NULL
23976 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_ClearColumnImage",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
= (int) SWIG_AsInt(obj1
);
23980 if (PyErr_Occurred()) SWIG_fail
;
23982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23983 (arg1
)->ClearColumnImage(arg2
);
23985 wxPyEndAllowThreads(__tstate
);
23986 if (PyErr_Occurred()) SWIG_fail
;
23988 Py_INCREF(Py_None
); resultobj
= Py_None
;
23995 static PyObject
* ListView_swigregister(PyObject
*self
, PyObject
*args
) {
23997 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23998 SWIG_TypeClientData(SWIGTYPE_p_wxListView
, obj
);
24000 return Py_BuildValue((char *)"");
24002 static int _wrap_TreeCtrlNameStr_set(PyObject
*_val
) {
24003 PyErr_SetString(PyExc_TypeError
,"Variable TreeCtrlNameStr is read-only.");
24008 static PyObject
*_wrap_TreeCtrlNameStr_get() {
24013 pyobj
= PyUnicode_FromWideChar((&wxPyTreeCtrlNameStr
)->c_str(), (&wxPyTreeCtrlNameStr
)->Len());
24015 pyobj
= PyString_FromStringAndSize((&wxPyTreeCtrlNameStr
)->c_str(), (&wxPyTreeCtrlNameStr
)->Len());
24022 static PyObject
*_wrap_new_TreeItemId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24023 PyObject
*resultobj
;
24024 wxTreeItemId
*result
;
24025 char *kwnames
[] = {
24029 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_TreeItemId",kwnames
)) goto fail
;
24031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24032 result
= (wxTreeItemId
*)new wxTreeItemId();
24034 wxPyEndAllowThreads(__tstate
);
24035 if (PyErr_Occurred()) SWIG_fail
;
24037 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTreeItemId
, 1);
24044 static PyObject
*_wrap_delete_TreeItemId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24045 PyObject
*resultobj
;
24046 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
24047 PyObject
* obj0
= 0 ;
24048 char *kwnames
[] = {
24049 (char *) "self", NULL
24052 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TreeItemId",kwnames
,&obj0
)) goto fail
;
24053 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeItemId
,
24054 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24059 wxPyEndAllowThreads(__tstate
);
24060 if (PyErr_Occurred()) SWIG_fail
;
24062 Py_INCREF(Py_None
); resultobj
= Py_None
;
24069 static PyObject
*_wrap_TreeItemId_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24070 PyObject
*resultobj
;
24071 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
24073 PyObject
* obj0
= 0 ;
24074 char *kwnames
[] = {
24075 (char *) "self", NULL
24078 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemId_IsOk",kwnames
,&obj0
)) goto fail
;
24079 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeItemId
,
24080 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24083 result
= (bool)((wxTreeItemId
const *)arg1
)->IsOk();
24085 wxPyEndAllowThreads(__tstate
);
24086 if (PyErr_Occurred()) SWIG_fail
;
24089 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24097 static PyObject
*_wrap_TreeItemId___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24098 PyObject
*resultobj
;
24099 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
24100 wxTreeItemId
*arg2
= (wxTreeItemId
*) 0 ;
24102 PyObject
* obj0
= 0 ;
24103 PyObject
* obj1
= 0 ;
24104 char *kwnames
[] = {
24105 (char *) "self",(char *) "other", NULL
24108 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemId___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
24109 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeItemId
,
24110 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24111 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
24112 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24115 result
= (bool)wxTreeItemId___eq__(arg1
,(wxTreeItemId
const *)arg2
);
24117 wxPyEndAllowThreads(__tstate
);
24118 if (PyErr_Occurred()) SWIG_fail
;
24121 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24129 static PyObject
*_wrap_TreeItemId___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24130 PyObject
*resultobj
;
24131 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
24132 wxTreeItemId
*arg2
= (wxTreeItemId
*) 0 ;
24134 PyObject
* obj0
= 0 ;
24135 PyObject
* obj1
= 0 ;
24136 char *kwnames
[] = {
24137 (char *) "self",(char *) "other", NULL
24140 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemId___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
24141 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeItemId
,
24142 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24143 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
24144 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24147 result
= (bool)wxTreeItemId___ne__(arg1
,(wxTreeItemId
const *)arg2
);
24149 wxPyEndAllowThreads(__tstate
);
24150 if (PyErr_Occurred()) SWIG_fail
;
24153 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24161 static PyObject
*_wrap_TreeItemId_m_pItem_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24162 PyObject
*resultobj
;
24163 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
24164 void *arg2
= (void *) 0 ;
24165 PyObject
* obj0
= 0 ;
24166 PyObject
* obj1
= 0 ;
24167 char *kwnames
[] = {
24168 (char *) "self",(char *) "m_pItem", NULL
24171 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemId_m_pItem_set",kwnames
,&obj0
,&obj1
)) goto fail
;
24172 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeItemId
,
24173 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24174 if ((SWIG_ConvertPtr(obj1
,&arg2
,0,SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
24175 if (arg1
) (arg1
)->m_pItem
= arg2
;
24177 Py_INCREF(Py_None
); resultobj
= Py_None
;
24184 static PyObject
*_wrap_TreeItemId_m_pItem_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24185 PyObject
*resultobj
;
24186 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
24188 PyObject
* obj0
= 0 ;
24189 char *kwnames
[] = {
24190 (char *) "self", NULL
24193 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemId_m_pItem_get",kwnames
,&obj0
)) goto fail
;
24194 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeItemId
,
24195 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24196 result
= (void *) ((arg1
)->m_pItem
);
24198 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_void
, 0);
24205 static PyObject
* TreeItemId_swigregister(PyObject
*self
, PyObject
*args
) {
24207 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24208 SWIG_TypeClientData(SWIGTYPE_p_wxTreeItemId
, obj
);
24210 return Py_BuildValue((char *)"");
24212 static PyObject
*_wrap_new_TreeItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24213 PyObject
*resultobj
;
24214 PyObject
*arg1
= (PyObject
*) NULL
;
24215 wxPyTreeItemData
*result
;
24216 PyObject
* obj0
= 0 ;
24217 char *kwnames
[] = {
24218 (char *) "obj", NULL
24221 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_TreeItemData",kwnames
,&obj0
)) goto fail
;
24226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24227 result
= (wxPyTreeItemData
*)new wxPyTreeItemData(arg1
);
24229 wxPyEndAllowThreads(__tstate
);
24230 if (PyErr_Occurred()) SWIG_fail
;
24232 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTreeItemData
, 1);
24239 static PyObject
*_wrap_TreeItemData_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24240 PyObject
*resultobj
;
24241 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
24243 PyObject
* obj0
= 0 ;
24244 char *kwnames
[] = {
24245 (char *) "self", NULL
24248 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemData_GetData",kwnames
,&obj0
)) goto fail
;
24249 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeItemData
,
24250 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24253 result
= (PyObject
*)(arg1
)->GetData();
24255 wxPyEndAllowThreads(__tstate
);
24256 if (PyErr_Occurred()) SWIG_fail
;
24258 resultobj
= result
;
24265 static PyObject
*_wrap_TreeItemData_SetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24266 PyObject
*resultobj
;
24267 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
24268 PyObject
*arg2
= (PyObject
*) 0 ;
24269 PyObject
* obj0
= 0 ;
24270 PyObject
* obj1
= 0 ;
24271 char *kwnames
[] = {
24272 (char *) "self",(char *) "obj", NULL
24275 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemData_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
24276 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeItemData
,
24277 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24281 (arg1
)->SetData(arg2
);
24283 wxPyEndAllowThreads(__tstate
);
24284 if (PyErr_Occurred()) SWIG_fail
;
24286 Py_INCREF(Py_None
); resultobj
= Py_None
;
24293 static PyObject
*_wrap_TreeItemData_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24294 PyObject
*resultobj
;
24295 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
24296 wxTreeItemId
*result
;
24297 PyObject
* obj0
= 0 ;
24298 char *kwnames
[] = {
24299 (char *) "self", NULL
24302 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemData_GetId",kwnames
,&obj0
)) goto fail
;
24303 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeItemData
,
24304 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24308 wxTreeItemId
const &_result_ref
= (arg1
)->GetId();
24309 result
= (wxTreeItemId
*) &_result_ref
;
24312 wxPyEndAllowThreads(__tstate
);
24313 if (PyErr_Occurred()) SWIG_fail
;
24315 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTreeItemId
, 0);
24322 static PyObject
*_wrap_TreeItemData_SetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24323 PyObject
*resultobj
;
24324 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
24325 wxTreeItemId
*arg2
= 0 ;
24326 PyObject
* obj0
= 0 ;
24327 PyObject
* obj1
= 0 ;
24328 char *kwnames
[] = {
24329 (char *) "self",(char *) "id", NULL
24332 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemData_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
24333 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeItemData
,
24334 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24335 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
24336 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24338 if (arg2
== NULL
) {
24339 PyErr_SetString(PyExc_TypeError
,"null reference");
24343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24344 (arg1
)->SetId((wxTreeItemId
const &)*arg2
);
24346 wxPyEndAllowThreads(__tstate
);
24347 if (PyErr_Occurred()) SWIG_fail
;
24349 Py_INCREF(Py_None
); resultobj
= Py_None
;
24356 static PyObject
*_wrap_TreeItemData_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24357 PyObject
*resultobj
;
24358 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
24359 PyObject
* obj0
= 0 ;
24360 char *kwnames
[] = {
24361 (char *) "self", NULL
24364 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemData_Destroy",kwnames
,&obj0
)) goto fail
;
24365 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeItemData
,
24366 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24369 wxPyTreeItemData_Destroy(arg1
);
24371 wxPyEndAllowThreads(__tstate
);
24372 if (PyErr_Occurred()) SWIG_fail
;
24374 Py_INCREF(Py_None
); resultobj
= Py_None
;
24381 static PyObject
* TreeItemData_swigregister(PyObject
*self
, PyObject
*args
) {
24383 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24384 SWIG_TypeClientData(SWIGTYPE_p_wxPyTreeItemData
, obj
);
24386 return Py_BuildValue((char *)"");
24388 static PyObject
*_wrap_new_TreeEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24389 PyObject
*resultobj
;
24390 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
24391 int arg2
= (int) 0 ;
24392 wxTreeEvent
*result
;
24393 PyObject
* obj0
= 0 ;
24394 PyObject
* obj1
= 0 ;
24395 char *kwnames
[] = {
24396 (char *) "commandType",(char *) "id", NULL
24399 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_TreeEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
24401 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
24402 if (PyErr_Occurred()) SWIG_fail
;
24405 arg2
= (int) SWIG_AsInt(obj1
);
24406 if (PyErr_Occurred()) SWIG_fail
;
24409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24410 result
= (wxTreeEvent
*)new wxTreeEvent(arg1
,arg2
);
24412 wxPyEndAllowThreads(__tstate
);
24413 if (PyErr_Occurred()) SWIG_fail
;
24415 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTreeEvent
, 1);
24422 static PyObject
*_wrap_TreeEvent_GetItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24423 PyObject
*resultobj
;
24424 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
24425 wxTreeItemId result
;
24426 PyObject
* obj0
= 0 ;
24427 char *kwnames
[] = {
24428 (char *) "self", NULL
24431 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetItem",kwnames
,&obj0
)) goto fail
;
24432 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
24433 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24436 result
= ((wxTreeEvent
const *)arg1
)->GetItem();
24438 wxPyEndAllowThreads(__tstate
);
24439 if (PyErr_Occurred()) SWIG_fail
;
24442 wxTreeItemId
* resultptr
;
24443 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
24444 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
24452 static PyObject
*_wrap_TreeEvent_SetItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24453 PyObject
*resultobj
;
24454 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
24455 wxTreeItemId
*arg2
= 0 ;
24456 PyObject
* obj0
= 0 ;
24457 PyObject
* obj1
= 0 ;
24458 char *kwnames
[] = {
24459 (char *) "self",(char *) "item", NULL
24462 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetItem",kwnames
,&obj0
,&obj1
)) goto fail
;
24463 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
24464 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24465 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
24466 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24468 if (arg2
== NULL
) {
24469 PyErr_SetString(PyExc_TypeError
,"null reference");
24473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24474 (arg1
)->SetItem((wxTreeItemId
const &)*arg2
);
24476 wxPyEndAllowThreads(__tstate
);
24477 if (PyErr_Occurred()) SWIG_fail
;
24479 Py_INCREF(Py_None
); resultobj
= Py_None
;
24486 static PyObject
*_wrap_TreeEvent_GetOldItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24487 PyObject
*resultobj
;
24488 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
24489 wxTreeItemId result
;
24490 PyObject
* obj0
= 0 ;
24491 char *kwnames
[] = {
24492 (char *) "self", NULL
24495 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetOldItem",kwnames
,&obj0
)) goto fail
;
24496 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
24497 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24500 result
= ((wxTreeEvent
const *)arg1
)->GetOldItem();
24502 wxPyEndAllowThreads(__tstate
);
24503 if (PyErr_Occurred()) SWIG_fail
;
24506 wxTreeItemId
* resultptr
;
24507 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
24508 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
24516 static PyObject
*_wrap_TreeEvent_SetOldItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24517 PyObject
*resultobj
;
24518 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
24519 wxTreeItemId
*arg2
= 0 ;
24520 PyObject
* obj0
= 0 ;
24521 PyObject
* obj1
= 0 ;
24522 char *kwnames
[] = {
24523 (char *) "self",(char *) "item", NULL
24526 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetOldItem",kwnames
,&obj0
,&obj1
)) goto fail
;
24527 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
24528 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24529 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
24530 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24532 if (arg2
== NULL
) {
24533 PyErr_SetString(PyExc_TypeError
,"null reference");
24537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24538 (arg1
)->SetOldItem((wxTreeItemId
const &)*arg2
);
24540 wxPyEndAllowThreads(__tstate
);
24541 if (PyErr_Occurred()) SWIG_fail
;
24543 Py_INCREF(Py_None
); resultobj
= Py_None
;
24550 static PyObject
*_wrap_TreeEvent_GetPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24551 PyObject
*resultobj
;
24552 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
24554 PyObject
* obj0
= 0 ;
24555 char *kwnames
[] = {
24556 (char *) "self", NULL
24559 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetPoint",kwnames
,&obj0
)) goto fail
;
24560 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
24561 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24564 result
= ((wxTreeEvent
const *)arg1
)->GetPoint();
24566 wxPyEndAllowThreads(__tstate
);
24567 if (PyErr_Occurred()) SWIG_fail
;
24570 wxPoint
* resultptr
;
24571 resultptr
= new wxPoint((wxPoint
&) result
);
24572 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
24580 static PyObject
*_wrap_TreeEvent_SetPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24581 PyObject
*resultobj
;
24582 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
24583 wxPoint
*arg2
= 0 ;
24585 PyObject
* obj0
= 0 ;
24586 PyObject
* obj1
= 0 ;
24587 char *kwnames
[] = {
24588 (char *) "self",(char *) "pt", NULL
24591 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
24592 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
24593 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24596 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
24599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24600 (arg1
)->SetPoint((wxPoint
const &)*arg2
);
24602 wxPyEndAllowThreads(__tstate
);
24603 if (PyErr_Occurred()) SWIG_fail
;
24605 Py_INCREF(Py_None
); resultobj
= Py_None
;
24612 static PyObject
*_wrap_TreeEvent_GetKeyEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24613 PyObject
*resultobj
;
24614 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
24615 wxKeyEvent
*result
;
24616 PyObject
* obj0
= 0 ;
24617 char *kwnames
[] = {
24618 (char *) "self", NULL
24621 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetKeyEvent",kwnames
,&obj0
)) goto fail
;
24622 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
24623 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24627 wxKeyEvent
const &_result_ref
= ((wxTreeEvent
const *)arg1
)->GetKeyEvent();
24628 result
= (wxKeyEvent
*) &_result_ref
;
24631 wxPyEndAllowThreads(__tstate
);
24632 if (PyErr_Occurred()) SWIG_fail
;
24634 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxKeyEvent
, 0);
24641 static PyObject
*_wrap_TreeEvent_GetKeyCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24642 PyObject
*resultobj
;
24643 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
24645 PyObject
* obj0
= 0 ;
24646 char *kwnames
[] = {
24647 (char *) "self", NULL
24650 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetKeyCode",kwnames
,&obj0
)) goto fail
;
24651 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
24652 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24655 result
= (int)((wxTreeEvent
const *)arg1
)->GetKeyCode();
24657 wxPyEndAllowThreads(__tstate
);
24658 if (PyErr_Occurred()) SWIG_fail
;
24660 resultobj
= SWIG_FromInt((int)result
);
24667 static PyObject
*_wrap_TreeEvent_SetKeyEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24668 PyObject
*resultobj
;
24669 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
24670 wxKeyEvent
*arg2
= 0 ;
24671 PyObject
* obj0
= 0 ;
24672 PyObject
* obj1
= 0 ;
24673 char *kwnames
[] = {
24674 (char *) "self",(char *) "evt", NULL
24677 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetKeyEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
24678 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
24679 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24680 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxKeyEvent
,
24681 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24683 if (arg2
== NULL
) {
24684 PyErr_SetString(PyExc_TypeError
,"null reference");
24688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24689 (arg1
)->SetKeyEvent((wxKeyEvent
const &)*arg2
);
24691 wxPyEndAllowThreads(__tstate
);
24692 if (PyErr_Occurred()) SWIG_fail
;
24694 Py_INCREF(Py_None
); resultobj
= Py_None
;
24701 static PyObject
*_wrap_TreeEvent_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24702 PyObject
*resultobj
;
24703 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
24705 PyObject
* obj0
= 0 ;
24706 char *kwnames
[] = {
24707 (char *) "self", NULL
24710 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetLabel",kwnames
,&obj0
)) goto fail
;
24711 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
24712 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24716 wxString
const &_result_ref
= ((wxTreeEvent
const *)arg1
)->GetLabel();
24717 result
= (wxString
*) &_result_ref
;
24720 wxPyEndAllowThreads(__tstate
);
24721 if (PyErr_Occurred()) SWIG_fail
;
24725 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
24727 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
24736 static PyObject
*_wrap_TreeEvent_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24737 PyObject
*resultobj
;
24738 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
24739 wxString
*arg2
= 0 ;
24740 bool temp2
= False
;
24741 PyObject
* obj0
= 0 ;
24742 PyObject
* obj1
= 0 ;
24743 char *kwnames
[] = {
24744 (char *) "self",(char *) "label", NULL
24747 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
24748 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
24749 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24751 arg2
= wxString_in_helper(obj1
);
24752 if (arg2
== NULL
) SWIG_fail
;
24756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24757 (arg1
)->SetLabel((wxString
const &)*arg2
);
24759 wxPyEndAllowThreads(__tstate
);
24760 if (PyErr_Occurred()) SWIG_fail
;
24762 Py_INCREF(Py_None
); resultobj
= Py_None
;
24777 static PyObject
*_wrap_TreeEvent_IsEditCancelled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24778 PyObject
*resultobj
;
24779 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
24781 PyObject
* obj0
= 0 ;
24782 char *kwnames
[] = {
24783 (char *) "self", NULL
24786 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_IsEditCancelled",kwnames
,&obj0
)) goto fail
;
24787 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
24788 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24791 result
= (bool)((wxTreeEvent
const *)arg1
)->IsEditCancelled();
24793 wxPyEndAllowThreads(__tstate
);
24794 if (PyErr_Occurred()) SWIG_fail
;
24797 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24805 static PyObject
*_wrap_TreeEvent_SetEditCanceled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24806 PyObject
*resultobj
;
24807 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
24809 PyObject
* obj0
= 0 ;
24810 PyObject
* obj1
= 0 ;
24811 char *kwnames
[] = {
24812 (char *) "self",(char *) "editCancelled", NULL
24815 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetEditCanceled",kwnames
,&obj0
,&obj1
)) goto fail
;
24816 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
24817 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24818 arg2
= (bool) SWIG_AsBool(obj1
);
24819 if (PyErr_Occurred()) SWIG_fail
;
24821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24822 (arg1
)->SetEditCanceled(arg2
);
24824 wxPyEndAllowThreads(__tstate
);
24825 if (PyErr_Occurred()) SWIG_fail
;
24827 Py_INCREF(Py_None
); resultobj
= Py_None
;
24834 static PyObject
*_wrap_TreeEvent_SetToolTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24835 PyObject
*resultobj
;
24836 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
24837 wxString
*arg2
= 0 ;
24838 bool temp2
= False
;
24839 PyObject
* obj0
= 0 ;
24840 PyObject
* obj1
= 0 ;
24841 char *kwnames
[] = {
24842 (char *) "self",(char *) "toolTip", NULL
24845 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetToolTip",kwnames
,&obj0
,&obj1
)) goto fail
;
24846 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
24847 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24849 arg2
= wxString_in_helper(obj1
);
24850 if (arg2
== NULL
) SWIG_fail
;
24854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24855 (arg1
)->SetToolTip((wxString
const &)*arg2
);
24857 wxPyEndAllowThreads(__tstate
);
24858 if (PyErr_Occurred()) SWIG_fail
;
24860 Py_INCREF(Py_None
); resultobj
= Py_None
;
24875 static PyObject
* TreeEvent_swigregister(PyObject
*self
, PyObject
*args
) {
24877 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24878 SWIG_TypeClientData(SWIGTYPE_p_wxTreeEvent
, obj
);
24880 return Py_BuildValue((char *)"");
24882 static PyObject
*_wrap_new_TreeCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24883 PyObject
*resultobj
;
24884 wxWindow
*arg1
= (wxWindow
*) 0 ;
24885 int arg2
= (int) -1 ;
24886 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
24887 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
24888 wxSize
const &arg4_defvalue
= wxDefaultSize
;
24889 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
24890 long arg5
= (long) wxTR_DEFAULT_STYLE
;
24891 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
24892 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
24893 wxString
const &arg7_defvalue
= wxPyTreeCtrlNameStr
;
24894 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
24895 wxPyTreeCtrl
*result
;
24898 bool temp7
= False
;
24899 PyObject
* obj0
= 0 ;
24900 PyObject
* obj1
= 0 ;
24901 PyObject
* obj2
= 0 ;
24902 PyObject
* obj3
= 0 ;
24903 PyObject
* obj4
= 0 ;
24904 PyObject
* obj5
= 0 ;
24905 PyObject
* obj6
= 0 ;
24906 char *kwnames
[] = {
24907 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
24910 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_TreeCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
24911 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24912 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24914 arg2
= (int) SWIG_AsInt(obj1
);
24915 if (PyErr_Occurred()) SWIG_fail
;
24920 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
24926 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
24930 arg5
= (long) SWIG_AsLong(obj4
);
24931 if (PyErr_Occurred()) SWIG_fail
;
24934 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxValidator
,
24935 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24937 if (arg6
== NULL
) {
24938 PyErr_SetString(PyExc_TypeError
,"null reference");
24944 arg7
= wxString_in_helper(obj6
);
24945 if (arg7
== NULL
) SWIG_fail
;
24950 if (!wxPyCheckForApp()) SWIG_fail
;
24951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24952 result
= (wxPyTreeCtrl
*)new wxPyTreeCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
24954 wxPyEndAllowThreads(__tstate
);
24955 if (PyErr_Occurred()) SWIG_fail
;
24957 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTreeCtrl
, 1);
24972 static PyObject
*_wrap_new_PreTreeCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24973 PyObject
*resultobj
;
24974 wxPyTreeCtrl
*result
;
24975 char *kwnames
[] = {
24979 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreTreeCtrl",kwnames
)) goto fail
;
24981 if (!wxPyCheckForApp()) SWIG_fail
;
24982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24983 result
= (wxPyTreeCtrl
*)new wxPyTreeCtrl();
24985 wxPyEndAllowThreads(__tstate
);
24986 if (PyErr_Occurred()) SWIG_fail
;
24988 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTreeCtrl
, 1);
24995 static PyObject
*_wrap_TreeCtrl_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24996 PyObject
*resultobj
;
24997 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24998 wxWindow
*arg2
= (wxWindow
*) 0 ;
24999 int arg3
= (int) -1 ;
25000 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
25001 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
25002 wxSize
const &arg5_defvalue
= wxDefaultSize
;
25003 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
25004 long arg6
= (long) wxTR_DEFAULT_STYLE
;
25005 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
25006 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
25007 wxString
const &arg8_defvalue
= wxPyTreeCtrlNameStr
;
25008 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
25012 bool temp8
= False
;
25013 PyObject
* obj0
= 0 ;
25014 PyObject
* obj1
= 0 ;
25015 PyObject
* obj2
= 0 ;
25016 PyObject
* obj3
= 0 ;
25017 PyObject
* obj4
= 0 ;
25018 PyObject
* obj5
= 0 ;
25019 PyObject
* obj6
= 0 ;
25020 PyObject
* obj7
= 0 ;
25021 char *kwnames
[] = {
25022 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
25025 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:TreeCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
25026 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25027 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25028 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
25029 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25031 arg3
= (int) SWIG_AsInt(obj2
);
25032 if (PyErr_Occurred()) SWIG_fail
;
25037 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
25043 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
25047 arg6
= (long) SWIG_AsLong(obj5
);
25048 if (PyErr_Occurred()) SWIG_fail
;
25051 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
25052 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25054 if (arg7
== NULL
) {
25055 PyErr_SetString(PyExc_TypeError
,"null reference");
25061 arg8
= wxString_in_helper(obj7
);
25062 if (arg8
== NULL
) SWIG_fail
;
25067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25068 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
25070 wxPyEndAllowThreads(__tstate
);
25071 if (PyErr_Occurred()) SWIG_fail
;
25074 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25090 static PyObject
*_wrap_TreeCtrl__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25091 PyObject
*resultobj
;
25092 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25093 PyObject
*arg2
= (PyObject
*) 0 ;
25094 PyObject
*arg3
= (PyObject
*) 0 ;
25095 PyObject
* obj0
= 0 ;
25096 PyObject
* obj1
= 0 ;
25097 PyObject
* obj2
= 0 ;
25098 char *kwnames
[] = {
25099 (char *) "self",(char *) "self",(char *) "_class", NULL
25102 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25103 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25104 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25109 (arg1
)->_setCallbackInfo(arg2
,arg3
);
25111 wxPyEndAllowThreads(__tstate
);
25112 if (PyErr_Occurred()) SWIG_fail
;
25114 Py_INCREF(Py_None
); resultobj
= Py_None
;
25121 static PyObject
*_wrap_TreeCtrl_GetCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25122 PyObject
*resultobj
;
25123 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25125 PyObject
* obj0
= 0 ;
25126 char *kwnames
[] = {
25127 (char *) "self", NULL
25130 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetCount",kwnames
,&obj0
)) goto fail
;
25131 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25132 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25135 result
= (size_t)((wxPyTreeCtrl
const *)arg1
)->GetCount();
25137 wxPyEndAllowThreads(__tstate
);
25138 if (PyErr_Occurred()) SWIG_fail
;
25140 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
25147 static PyObject
*_wrap_TreeCtrl_GetIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25148 PyObject
*resultobj
;
25149 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25150 unsigned int result
;
25151 PyObject
* obj0
= 0 ;
25152 char *kwnames
[] = {
25153 (char *) "self", NULL
25156 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetIndent",kwnames
,&obj0
)) goto fail
;
25157 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25158 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25161 result
= (unsigned int)((wxPyTreeCtrl
const *)arg1
)->GetIndent();
25163 wxPyEndAllowThreads(__tstate
);
25164 if (PyErr_Occurred()) SWIG_fail
;
25166 resultobj
= SWIG_FromUnsignedInt((unsigned int)result
);
25173 static PyObject
*_wrap_TreeCtrl_SetIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25174 PyObject
*resultobj
;
25175 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25176 unsigned int arg2
;
25177 PyObject
* obj0
= 0 ;
25178 PyObject
* obj1
= 0 ;
25179 char *kwnames
[] = {
25180 (char *) "self",(char *) "indent", NULL
25183 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetIndent",kwnames
,&obj0
,&obj1
)) goto fail
;
25184 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25185 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25186 arg2
= (unsigned int) SWIG_AsUnsignedInt(obj1
);
25187 if (PyErr_Occurred()) SWIG_fail
;
25189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25190 (arg1
)->SetIndent(arg2
);
25192 wxPyEndAllowThreads(__tstate
);
25193 if (PyErr_Occurred()) SWIG_fail
;
25195 Py_INCREF(Py_None
); resultobj
= Py_None
;
25202 static PyObject
*_wrap_TreeCtrl_GetSpacing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25203 PyObject
*resultobj
;
25204 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25205 unsigned int result
;
25206 PyObject
* obj0
= 0 ;
25207 char *kwnames
[] = {
25208 (char *) "self", NULL
25211 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetSpacing",kwnames
,&obj0
)) goto fail
;
25212 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25213 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25216 result
= (unsigned int)((wxPyTreeCtrl
const *)arg1
)->GetSpacing();
25218 wxPyEndAllowThreads(__tstate
);
25219 if (PyErr_Occurred()) SWIG_fail
;
25221 resultobj
= SWIG_FromUnsignedInt((unsigned int)result
);
25228 static PyObject
*_wrap_TreeCtrl_SetSpacing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25229 PyObject
*resultobj
;
25230 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25231 unsigned int arg2
;
25232 PyObject
* obj0
= 0 ;
25233 PyObject
* obj1
= 0 ;
25234 char *kwnames
[] = {
25235 (char *) "self",(char *) "spacing", NULL
25238 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetSpacing",kwnames
,&obj0
,&obj1
)) goto fail
;
25239 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25240 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25241 arg2
= (unsigned int) SWIG_AsUnsignedInt(obj1
);
25242 if (PyErr_Occurred()) SWIG_fail
;
25244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25245 (arg1
)->SetSpacing(arg2
);
25247 wxPyEndAllowThreads(__tstate
);
25248 if (PyErr_Occurred()) SWIG_fail
;
25250 Py_INCREF(Py_None
); resultobj
= Py_None
;
25257 static PyObject
*_wrap_TreeCtrl_GetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25258 PyObject
*resultobj
;
25259 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25260 wxImageList
*result
;
25261 PyObject
* obj0
= 0 ;
25262 char *kwnames
[] = {
25263 (char *) "self", NULL
25266 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetImageList",kwnames
,&obj0
)) goto fail
;
25267 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25268 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25271 result
= (wxImageList
*)((wxPyTreeCtrl
const *)arg1
)->GetImageList();
25273 wxPyEndAllowThreads(__tstate
);
25274 if (PyErr_Occurred()) SWIG_fail
;
25277 resultobj
= wxPyMake_wxObject(result
, 0);
25285 static PyObject
*_wrap_TreeCtrl_GetStateImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25286 PyObject
*resultobj
;
25287 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25288 wxImageList
*result
;
25289 PyObject
* obj0
= 0 ;
25290 char *kwnames
[] = {
25291 (char *) "self", NULL
25294 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetStateImageList",kwnames
,&obj0
)) goto fail
;
25295 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25296 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25299 result
= (wxImageList
*)((wxPyTreeCtrl
const *)arg1
)->GetStateImageList();
25301 wxPyEndAllowThreads(__tstate
);
25302 if (PyErr_Occurred()) SWIG_fail
;
25305 resultobj
= wxPyMake_wxObject(result
, 0);
25313 static PyObject
*_wrap_TreeCtrl_SetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25314 PyObject
*resultobj
;
25315 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25316 wxImageList
*arg2
= (wxImageList
*) 0 ;
25317 PyObject
* obj0
= 0 ;
25318 PyObject
* obj1
= 0 ;
25319 char *kwnames
[] = {
25320 (char *) "self",(char *) "imageList", NULL
25323 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
25324 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25325 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25326 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImageList
,
25327 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25330 (arg1
)->SetImageList(arg2
);
25332 wxPyEndAllowThreads(__tstate
);
25333 if (PyErr_Occurred()) SWIG_fail
;
25335 Py_INCREF(Py_None
); resultobj
= Py_None
;
25342 static PyObject
*_wrap_TreeCtrl_SetStateImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25343 PyObject
*resultobj
;
25344 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25345 wxImageList
*arg2
= (wxImageList
*) 0 ;
25346 PyObject
* obj0
= 0 ;
25347 PyObject
* obj1
= 0 ;
25348 char *kwnames
[] = {
25349 (char *) "self",(char *) "imageList", NULL
25352 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetStateImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
25353 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25354 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25355 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImageList
,
25356 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25359 (arg1
)->SetStateImageList(arg2
);
25361 wxPyEndAllowThreads(__tstate
);
25362 if (PyErr_Occurred()) SWIG_fail
;
25364 Py_INCREF(Py_None
); resultobj
= Py_None
;
25371 static PyObject
*_wrap_TreeCtrl_AssignImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25372 PyObject
*resultobj
;
25373 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25374 wxImageList
*arg2
= (wxImageList
*) 0 ;
25375 PyObject
* obj0
= 0 ;
25376 PyObject
* obj1
= 0 ;
25377 char *kwnames
[] = {
25378 (char *) "self",(char *) "imageList", NULL
25381 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_AssignImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
25382 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25383 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25384 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImageList
,
25385 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
25387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25388 (arg1
)->AssignImageList(arg2
);
25390 wxPyEndAllowThreads(__tstate
);
25391 if (PyErr_Occurred()) SWIG_fail
;
25393 Py_INCREF(Py_None
); resultobj
= Py_None
;
25400 static PyObject
*_wrap_TreeCtrl_AssignStateImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25401 PyObject
*resultobj
;
25402 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25403 wxImageList
*arg2
= (wxImageList
*) 0 ;
25404 PyObject
* obj0
= 0 ;
25405 PyObject
* obj1
= 0 ;
25406 char *kwnames
[] = {
25407 (char *) "self",(char *) "imageList", NULL
25410 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_AssignStateImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
25411 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25412 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25413 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImageList
,
25414 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
25416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25417 (arg1
)->AssignStateImageList(arg2
);
25419 wxPyEndAllowThreads(__tstate
);
25420 if (PyErr_Occurred()) SWIG_fail
;
25422 Py_INCREF(Py_None
); resultobj
= Py_None
;
25429 static PyObject
*_wrap_TreeCtrl_GetItemText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25430 PyObject
*resultobj
;
25431 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25432 wxTreeItemId
*arg2
= 0 ;
25434 PyObject
* obj0
= 0 ;
25435 PyObject
* obj1
= 0 ;
25436 char *kwnames
[] = {
25437 (char *) "self",(char *) "item", NULL
25440 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemText",kwnames
,&obj0
,&obj1
)) goto fail
;
25441 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25442 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25443 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25444 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25446 if (arg2
== NULL
) {
25447 PyErr_SetString(PyExc_TypeError
,"null reference");
25451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25452 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemText((wxTreeItemId
const &)*arg2
);
25454 wxPyEndAllowThreads(__tstate
);
25455 if (PyErr_Occurred()) SWIG_fail
;
25459 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
25461 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
25470 static PyObject
*_wrap_TreeCtrl_GetItemImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25471 PyObject
*resultobj
;
25472 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25473 wxTreeItemId
*arg2
= 0 ;
25474 int arg3
= (int) wxTreeItemIcon_Normal
;
25476 PyObject
* obj0
= 0 ;
25477 PyObject
* obj1
= 0 ;
25478 PyObject
* obj2
= 0 ;
25479 char *kwnames
[] = {
25480 (char *) "self",(char *) "item",(char *) "which", NULL
25483 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_GetItemImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25484 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25485 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25486 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25487 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25489 if (arg2
== NULL
) {
25490 PyErr_SetString(PyExc_TypeError
,"null reference");
25494 arg3
= (wxTreeItemIcon
) SWIG_AsInt(obj2
);
25495 if (PyErr_Occurred()) SWIG_fail
;
25498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25499 result
= (int)((wxPyTreeCtrl
const *)arg1
)->GetItemImage((wxTreeItemId
const &)*arg2
,(wxTreeItemIcon
)arg3
);
25501 wxPyEndAllowThreads(__tstate
);
25502 if (PyErr_Occurred()) SWIG_fail
;
25504 resultobj
= SWIG_FromInt((int)result
);
25511 static PyObject
*_wrap_TreeCtrl_GetItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25512 PyObject
*resultobj
;
25513 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25514 wxTreeItemId
*arg2
= 0 ;
25515 wxPyTreeItemData
*result
;
25516 PyObject
* obj0
= 0 ;
25517 PyObject
* obj1
= 0 ;
25518 char *kwnames
[] = {
25519 (char *) "self",(char *) "item", NULL
25522 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemData",kwnames
,&obj0
,&obj1
)) goto fail
;
25523 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25524 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25525 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25526 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25528 if (arg2
== NULL
) {
25529 PyErr_SetString(PyExc_TypeError
,"null reference");
25533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25534 result
= (wxPyTreeItemData
*)wxPyTreeCtrl_GetItemData(arg1
,(wxTreeItemId
const &)*arg2
);
25536 wxPyEndAllowThreads(__tstate
);
25537 if (PyErr_Occurred()) SWIG_fail
;
25539 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTreeItemData
, 0);
25546 static PyObject
*_wrap_TreeCtrl_GetItemPyData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25547 PyObject
*resultobj
;
25548 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25549 wxTreeItemId
*arg2
= 0 ;
25551 PyObject
* obj0
= 0 ;
25552 PyObject
* obj1
= 0 ;
25553 char *kwnames
[] = {
25554 (char *) "self",(char *) "item", NULL
25557 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemPyData",kwnames
,&obj0
,&obj1
)) goto fail
;
25558 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25559 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25560 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25561 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25563 if (arg2
== NULL
) {
25564 PyErr_SetString(PyExc_TypeError
,"null reference");
25568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25569 result
= (PyObject
*)wxPyTreeCtrl_GetItemPyData(arg1
,(wxTreeItemId
const &)*arg2
);
25571 wxPyEndAllowThreads(__tstate
);
25572 if (PyErr_Occurred()) SWIG_fail
;
25574 resultobj
= result
;
25581 static PyObject
*_wrap_TreeCtrl_GetItemTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25582 PyObject
*resultobj
;
25583 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25584 wxTreeItemId
*arg2
= 0 ;
25586 PyObject
* obj0
= 0 ;
25587 PyObject
* obj1
= 0 ;
25588 char *kwnames
[] = {
25589 (char *) "self",(char *) "item", NULL
25592 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
25593 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25594 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25595 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25596 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25598 if (arg2
== NULL
) {
25599 PyErr_SetString(PyExc_TypeError
,"null reference");
25603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25604 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemTextColour((wxTreeItemId
const &)*arg2
);
25606 wxPyEndAllowThreads(__tstate
);
25607 if (PyErr_Occurred()) SWIG_fail
;
25610 wxColour
* resultptr
;
25611 resultptr
= new wxColour((wxColour
&) result
);
25612 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
25620 static PyObject
*_wrap_TreeCtrl_GetItemBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25621 PyObject
*resultobj
;
25622 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25623 wxTreeItemId
*arg2
= 0 ;
25625 PyObject
* obj0
= 0 ;
25626 PyObject
* obj1
= 0 ;
25627 char *kwnames
[] = {
25628 (char *) "self",(char *) "item", NULL
25631 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
25632 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25633 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25634 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25635 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25637 if (arg2
== NULL
) {
25638 PyErr_SetString(PyExc_TypeError
,"null reference");
25642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25643 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemBackgroundColour((wxTreeItemId
const &)*arg2
);
25645 wxPyEndAllowThreads(__tstate
);
25646 if (PyErr_Occurred()) SWIG_fail
;
25649 wxColour
* resultptr
;
25650 resultptr
= new wxColour((wxColour
&) result
);
25651 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
25659 static PyObject
*_wrap_TreeCtrl_GetItemFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25660 PyObject
*resultobj
;
25661 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25662 wxTreeItemId
*arg2
= 0 ;
25664 PyObject
* obj0
= 0 ;
25665 PyObject
* obj1
= 0 ;
25666 char *kwnames
[] = {
25667 (char *) "self",(char *) "item", NULL
25670 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemFont",kwnames
,&obj0
,&obj1
)) goto fail
;
25671 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25672 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25673 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25674 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25676 if (arg2
== NULL
) {
25677 PyErr_SetString(PyExc_TypeError
,"null reference");
25681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25682 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemFont((wxTreeItemId
const &)*arg2
);
25684 wxPyEndAllowThreads(__tstate
);
25685 if (PyErr_Occurred()) SWIG_fail
;
25688 wxFont
* resultptr
;
25689 resultptr
= new wxFont((wxFont
&) result
);
25690 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
25698 static PyObject
*_wrap_TreeCtrl_SetItemText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25699 PyObject
*resultobj
;
25700 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25701 wxTreeItemId
*arg2
= 0 ;
25702 wxString
*arg3
= 0 ;
25703 bool temp3
= False
;
25704 PyObject
* obj0
= 0 ;
25705 PyObject
* obj1
= 0 ;
25706 PyObject
* obj2
= 0 ;
25707 char *kwnames
[] = {
25708 (char *) "self",(char *) "item",(char *) "text", NULL
25711 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25712 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25713 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25714 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25715 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25717 if (arg2
== NULL
) {
25718 PyErr_SetString(PyExc_TypeError
,"null reference");
25722 arg3
= wxString_in_helper(obj2
);
25723 if (arg3
== NULL
) SWIG_fail
;
25727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25728 (arg1
)->SetItemText((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
);
25730 wxPyEndAllowThreads(__tstate
);
25731 if (PyErr_Occurred()) SWIG_fail
;
25733 Py_INCREF(Py_None
); resultobj
= Py_None
;
25748 static PyObject
*_wrap_TreeCtrl_SetItemImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25749 PyObject
*resultobj
;
25750 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25751 wxTreeItemId
*arg2
= 0 ;
25753 int arg4
= (int) wxTreeItemIcon_Normal
;
25754 PyObject
* obj0
= 0 ;
25755 PyObject
* obj1
= 0 ;
25756 PyObject
* obj2
= 0 ;
25757 PyObject
* obj3
= 0 ;
25758 char *kwnames
[] = {
25759 (char *) "self",(char *) "item",(char *) "image",(char *) "which", NULL
25762 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:TreeCtrl_SetItemImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
25763 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25764 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25765 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25766 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25768 if (arg2
== NULL
) {
25769 PyErr_SetString(PyExc_TypeError
,"null reference");
25772 arg3
= (int) SWIG_AsInt(obj2
);
25773 if (PyErr_Occurred()) SWIG_fail
;
25775 arg4
= (wxTreeItemIcon
) SWIG_AsInt(obj3
);
25776 if (PyErr_Occurred()) SWIG_fail
;
25779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25780 (arg1
)->SetItemImage((wxTreeItemId
const &)*arg2
,arg3
,(wxTreeItemIcon
)arg4
);
25782 wxPyEndAllowThreads(__tstate
);
25783 if (PyErr_Occurred()) SWIG_fail
;
25785 Py_INCREF(Py_None
); resultobj
= Py_None
;
25792 static PyObject
*_wrap_TreeCtrl_SetItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25793 PyObject
*resultobj
;
25794 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25795 wxTreeItemId
*arg2
= 0 ;
25796 wxPyTreeItemData
*arg3
= (wxPyTreeItemData
*) 0 ;
25797 PyObject
* obj0
= 0 ;
25798 PyObject
* obj1
= 0 ;
25799 PyObject
* obj2
= 0 ;
25800 char *kwnames
[] = {
25801 (char *) "self",(char *) "item",(char *) "data", NULL
25804 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25805 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25806 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25807 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25808 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25810 if (arg2
== NULL
) {
25811 PyErr_SetString(PyExc_TypeError
,"null reference");
25814 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPyTreeItemData
,
25815 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25818 wxPyTreeCtrl_SetItemData(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
25820 wxPyEndAllowThreads(__tstate
);
25821 if (PyErr_Occurred()) SWIG_fail
;
25823 Py_INCREF(Py_None
); resultobj
= Py_None
;
25830 static PyObject
*_wrap_TreeCtrl_SetItemPyData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25831 PyObject
*resultobj
;
25832 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25833 wxTreeItemId
*arg2
= 0 ;
25834 PyObject
*arg3
= (PyObject
*) 0 ;
25835 PyObject
* obj0
= 0 ;
25836 PyObject
* obj1
= 0 ;
25837 PyObject
* obj2
= 0 ;
25838 char *kwnames
[] = {
25839 (char *) "self",(char *) "item",(char *) "obj", NULL
25842 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemPyData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25843 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25844 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25845 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25846 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25848 if (arg2
== NULL
) {
25849 PyErr_SetString(PyExc_TypeError
,"null reference");
25854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25855 wxPyTreeCtrl_SetItemPyData(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
25857 wxPyEndAllowThreads(__tstate
);
25858 if (PyErr_Occurred()) SWIG_fail
;
25860 Py_INCREF(Py_None
); resultobj
= Py_None
;
25867 static PyObject
*_wrap_TreeCtrl_SetItemHasChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25868 PyObject
*resultobj
;
25869 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25870 wxTreeItemId
*arg2
= 0 ;
25871 bool arg3
= (bool) True
;
25872 PyObject
* obj0
= 0 ;
25873 PyObject
* obj1
= 0 ;
25874 PyObject
* obj2
= 0 ;
25875 char *kwnames
[] = {
25876 (char *) "self",(char *) "item",(char *) "has", NULL
25879 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SetItemHasChildren",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25880 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25881 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25882 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25883 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25885 if (arg2
== NULL
) {
25886 PyErr_SetString(PyExc_TypeError
,"null reference");
25890 arg3
= (bool) SWIG_AsBool(obj2
);
25891 if (PyErr_Occurred()) SWIG_fail
;
25894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25895 (arg1
)->SetItemHasChildren((wxTreeItemId
const &)*arg2
,arg3
);
25897 wxPyEndAllowThreads(__tstate
);
25898 if (PyErr_Occurred()) SWIG_fail
;
25900 Py_INCREF(Py_None
); resultobj
= Py_None
;
25907 static PyObject
*_wrap_TreeCtrl_SetItemBold(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25908 PyObject
*resultobj
;
25909 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25910 wxTreeItemId
*arg2
= 0 ;
25911 bool arg3
= (bool) True
;
25912 PyObject
* obj0
= 0 ;
25913 PyObject
* obj1
= 0 ;
25914 PyObject
* obj2
= 0 ;
25915 char *kwnames
[] = {
25916 (char *) "self",(char *) "item",(char *) "bold", NULL
25919 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SetItemBold",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25920 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25921 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25922 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25923 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25925 if (arg2
== NULL
) {
25926 PyErr_SetString(PyExc_TypeError
,"null reference");
25930 arg3
= (bool) SWIG_AsBool(obj2
);
25931 if (PyErr_Occurred()) SWIG_fail
;
25934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25935 (arg1
)->SetItemBold((wxTreeItemId
const &)*arg2
,arg3
);
25937 wxPyEndAllowThreads(__tstate
);
25938 if (PyErr_Occurred()) SWIG_fail
;
25940 Py_INCREF(Py_None
); resultobj
= Py_None
;
25947 static PyObject
*_wrap_TreeCtrl_SetItemTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25948 PyObject
*resultobj
;
25949 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25950 wxTreeItemId
*arg2
= 0 ;
25951 wxColour
*arg3
= 0 ;
25953 PyObject
* obj0
= 0 ;
25954 PyObject
* obj1
= 0 ;
25955 PyObject
* obj2
= 0 ;
25956 char *kwnames
[] = {
25957 (char *) "self",(char *) "item",(char *) "col", NULL
25960 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemTextColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25961 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25962 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25963 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25964 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25966 if (arg2
== NULL
) {
25967 PyErr_SetString(PyExc_TypeError
,"null reference");
25972 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
25975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25976 (arg1
)->SetItemTextColour((wxTreeItemId
const &)*arg2
,(wxColour
const &)*arg3
);
25978 wxPyEndAllowThreads(__tstate
);
25979 if (PyErr_Occurred()) SWIG_fail
;
25981 Py_INCREF(Py_None
); resultobj
= Py_None
;
25988 static PyObject
*_wrap_TreeCtrl_SetItemBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25989 PyObject
*resultobj
;
25990 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25991 wxTreeItemId
*arg2
= 0 ;
25992 wxColour
*arg3
= 0 ;
25994 PyObject
* obj0
= 0 ;
25995 PyObject
* obj1
= 0 ;
25996 PyObject
* obj2
= 0 ;
25997 char *kwnames
[] = {
25998 (char *) "self",(char *) "item",(char *) "col", NULL
26001 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26002 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26003 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26004 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26005 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26007 if (arg2
== NULL
) {
26008 PyErr_SetString(PyExc_TypeError
,"null reference");
26013 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
26016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26017 (arg1
)->SetItemBackgroundColour((wxTreeItemId
const &)*arg2
,(wxColour
const &)*arg3
);
26019 wxPyEndAllowThreads(__tstate
);
26020 if (PyErr_Occurred()) SWIG_fail
;
26022 Py_INCREF(Py_None
); resultobj
= Py_None
;
26029 static PyObject
*_wrap_TreeCtrl_SetItemFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26030 PyObject
*resultobj
;
26031 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26032 wxTreeItemId
*arg2
= 0 ;
26034 PyObject
* obj0
= 0 ;
26035 PyObject
* obj1
= 0 ;
26036 PyObject
* obj2
= 0 ;
26037 char *kwnames
[] = {
26038 (char *) "self",(char *) "item",(char *) "font", NULL
26041 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemFont",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26042 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26043 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26044 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26045 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26047 if (arg2
== NULL
) {
26048 PyErr_SetString(PyExc_TypeError
,"null reference");
26051 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxFont
,
26052 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26054 if (arg3
== NULL
) {
26055 PyErr_SetString(PyExc_TypeError
,"null reference");
26059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26060 (arg1
)->SetItemFont((wxTreeItemId
const &)*arg2
,(wxFont
const &)*arg3
);
26062 wxPyEndAllowThreads(__tstate
);
26063 if (PyErr_Occurred()) SWIG_fail
;
26065 Py_INCREF(Py_None
); resultobj
= Py_None
;
26072 static PyObject
*_wrap_TreeCtrl_IsVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26073 PyObject
*resultobj
;
26074 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26075 wxTreeItemId
*arg2
= 0 ;
26077 PyObject
* obj0
= 0 ;
26078 PyObject
* obj1
= 0 ;
26079 char *kwnames
[] = {
26080 (char *) "self",(char *) "item", NULL
26083 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
26084 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26085 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26086 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26087 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26089 if (arg2
== NULL
) {
26090 PyErr_SetString(PyExc_TypeError
,"null reference");
26094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26095 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsVisible((wxTreeItemId
const &)*arg2
);
26097 wxPyEndAllowThreads(__tstate
);
26098 if (PyErr_Occurred()) SWIG_fail
;
26101 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26109 static PyObject
*_wrap_TreeCtrl_ItemHasChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26110 PyObject
*resultobj
;
26111 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26112 wxTreeItemId
*arg2
= 0 ;
26114 PyObject
* obj0
= 0 ;
26115 PyObject
* obj1
= 0 ;
26116 char *kwnames
[] = {
26117 (char *) "self",(char *) "item", NULL
26120 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ItemHasChildren",kwnames
,&obj0
,&obj1
)) goto fail
;
26121 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26122 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26123 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26124 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26126 if (arg2
== NULL
) {
26127 PyErr_SetString(PyExc_TypeError
,"null reference");
26131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26132 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->ItemHasChildren((wxTreeItemId
const &)*arg2
);
26134 wxPyEndAllowThreads(__tstate
);
26135 if (PyErr_Occurred()) SWIG_fail
;
26138 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26146 static PyObject
*_wrap_TreeCtrl_IsExpanded(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26147 PyObject
*resultobj
;
26148 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26149 wxTreeItemId
*arg2
= 0 ;
26151 PyObject
* obj0
= 0 ;
26152 PyObject
* obj1
= 0 ;
26153 char *kwnames
[] = {
26154 (char *) "self",(char *) "item", NULL
26157 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsExpanded",kwnames
,&obj0
,&obj1
)) goto fail
;
26158 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26159 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26160 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26161 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26163 if (arg2
== NULL
) {
26164 PyErr_SetString(PyExc_TypeError
,"null reference");
26168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26169 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsExpanded((wxTreeItemId
const &)*arg2
);
26171 wxPyEndAllowThreads(__tstate
);
26172 if (PyErr_Occurred()) SWIG_fail
;
26175 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26183 static PyObject
*_wrap_TreeCtrl_IsSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26184 PyObject
*resultobj
;
26185 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26186 wxTreeItemId
*arg2
= 0 ;
26188 PyObject
* obj0
= 0 ;
26189 PyObject
* obj1
= 0 ;
26190 char *kwnames
[] = {
26191 (char *) "self",(char *) "item", NULL
26194 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
26195 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26196 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26197 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26198 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26200 if (arg2
== NULL
) {
26201 PyErr_SetString(PyExc_TypeError
,"null reference");
26205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26206 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsSelected((wxTreeItemId
const &)*arg2
);
26208 wxPyEndAllowThreads(__tstate
);
26209 if (PyErr_Occurred()) SWIG_fail
;
26212 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26220 static PyObject
*_wrap_TreeCtrl_IsBold(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26221 PyObject
*resultobj
;
26222 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26223 wxTreeItemId
*arg2
= 0 ;
26225 PyObject
* obj0
= 0 ;
26226 PyObject
* obj1
= 0 ;
26227 char *kwnames
[] = {
26228 (char *) "self",(char *) "item", NULL
26231 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsBold",kwnames
,&obj0
,&obj1
)) goto fail
;
26232 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26233 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26234 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26235 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26237 if (arg2
== NULL
) {
26238 PyErr_SetString(PyExc_TypeError
,"null reference");
26242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26243 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsBold((wxTreeItemId
const &)*arg2
);
26245 wxPyEndAllowThreads(__tstate
);
26246 if (PyErr_Occurred()) SWIG_fail
;
26249 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26257 static PyObject
*_wrap_TreeCtrl_GetChildrenCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26258 PyObject
*resultobj
;
26259 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26260 wxTreeItemId
*arg2
= 0 ;
26261 bool arg3
= (bool) True
;
26263 PyObject
* obj0
= 0 ;
26264 PyObject
* obj1
= 0 ;
26265 PyObject
* obj2
= 0 ;
26266 char *kwnames
[] = {
26267 (char *) "self",(char *) "item",(char *) "recursively", NULL
26270 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_GetChildrenCount",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26271 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26272 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26273 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26274 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26276 if (arg2
== NULL
) {
26277 PyErr_SetString(PyExc_TypeError
,"null reference");
26281 arg3
= (bool) SWIG_AsBool(obj2
);
26282 if (PyErr_Occurred()) SWIG_fail
;
26285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26286 result
= (size_t)(arg1
)->GetChildrenCount((wxTreeItemId
const &)*arg2
,arg3
);
26288 wxPyEndAllowThreads(__tstate
);
26289 if (PyErr_Occurred()) SWIG_fail
;
26291 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
26298 static PyObject
*_wrap_TreeCtrl_GetRootItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26299 PyObject
*resultobj
;
26300 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26301 wxTreeItemId result
;
26302 PyObject
* obj0
= 0 ;
26303 char *kwnames
[] = {
26304 (char *) "self", NULL
26307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetRootItem",kwnames
,&obj0
)) goto fail
;
26308 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26309 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26312 result
= ((wxPyTreeCtrl
const *)arg1
)->GetRootItem();
26314 wxPyEndAllowThreads(__tstate
);
26315 if (PyErr_Occurred()) SWIG_fail
;
26318 wxTreeItemId
* resultptr
;
26319 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
26320 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
26328 static PyObject
*_wrap_TreeCtrl_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26329 PyObject
*resultobj
;
26330 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26331 wxTreeItemId result
;
26332 PyObject
* obj0
= 0 ;
26333 char *kwnames
[] = {
26334 (char *) "self", NULL
26337 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetSelection",kwnames
,&obj0
)) goto fail
;
26338 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26339 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26342 result
= ((wxPyTreeCtrl
const *)arg1
)->GetSelection();
26344 wxPyEndAllowThreads(__tstate
);
26345 if (PyErr_Occurred()) SWIG_fail
;
26348 wxTreeItemId
* resultptr
;
26349 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
26350 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
26358 static PyObject
*_wrap_TreeCtrl_GetSelections(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26359 PyObject
*resultobj
;
26360 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26362 PyObject
* obj0
= 0 ;
26363 char *kwnames
[] = {
26364 (char *) "self", NULL
26367 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetSelections",kwnames
,&obj0
)) goto fail
;
26368 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26369 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26372 result
= (PyObject
*)wxPyTreeCtrl_GetSelections(arg1
);
26374 wxPyEndAllowThreads(__tstate
);
26375 if (PyErr_Occurred()) SWIG_fail
;
26377 resultobj
= result
;
26384 static PyObject
*_wrap_TreeCtrl_GetItemParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26385 PyObject
*resultobj
;
26386 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26387 wxTreeItemId
*arg2
= 0 ;
26388 wxTreeItemId result
;
26389 PyObject
* obj0
= 0 ;
26390 PyObject
* obj1
= 0 ;
26391 char *kwnames
[] = {
26392 (char *) "self",(char *) "item", NULL
26395 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemParent",kwnames
,&obj0
,&obj1
)) goto fail
;
26396 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26397 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26398 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26399 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26401 if (arg2
== NULL
) {
26402 PyErr_SetString(PyExc_TypeError
,"null reference");
26406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26407 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemParent((wxTreeItemId
const &)*arg2
);
26409 wxPyEndAllowThreads(__tstate
);
26410 if (PyErr_Occurred()) SWIG_fail
;
26413 wxTreeItemId
* resultptr
;
26414 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
26415 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
26423 static PyObject
*_wrap_TreeCtrl_GetFirstChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26424 PyObject
*resultobj
;
26425 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26426 wxTreeItemId
*arg2
= 0 ;
26428 PyObject
* obj0
= 0 ;
26429 PyObject
* obj1
= 0 ;
26430 char *kwnames
[] = {
26431 (char *) "self",(char *) "item", NULL
26434 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetFirstChild",kwnames
,&obj0
,&obj1
)) goto fail
;
26435 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26436 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26437 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26438 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26440 if (arg2
== NULL
) {
26441 PyErr_SetString(PyExc_TypeError
,"null reference");
26445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26446 result
= (PyObject
*)wxPyTreeCtrl_GetFirstChild(arg1
,(wxTreeItemId
const &)*arg2
);
26448 wxPyEndAllowThreads(__tstate
);
26449 if (PyErr_Occurred()) SWIG_fail
;
26451 resultobj
= result
;
26458 static PyObject
*_wrap_TreeCtrl_GetNextChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26459 PyObject
*resultobj
;
26460 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26461 wxTreeItemId
*arg2
= 0 ;
26462 void *arg3
= (void *) 0 ;
26464 PyObject
* obj0
= 0 ;
26465 PyObject
* obj1
= 0 ;
26466 PyObject
* obj2
= 0 ;
26467 char *kwnames
[] = {
26468 (char *) "self",(char *) "item",(char *) "cookie", NULL
26471 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_GetNextChild",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26472 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26473 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26474 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26475 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26477 if (arg2
== NULL
) {
26478 PyErr_SetString(PyExc_TypeError
,"null reference");
26481 if ((SWIG_ConvertPtr(obj2
,&arg3
,0,SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26484 result
= (PyObject
*)wxPyTreeCtrl_GetNextChild(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
26486 wxPyEndAllowThreads(__tstate
);
26487 if (PyErr_Occurred()) SWIG_fail
;
26489 resultobj
= result
;
26496 static PyObject
*_wrap_TreeCtrl_GetLastChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26497 PyObject
*resultobj
;
26498 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26499 wxTreeItemId
*arg2
= 0 ;
26500 wxTreeItemId result
;
26501 PyObject
* obj0
= 0 ;
26502 PyObject
* obj1
= 0 ;
26503 char *kwnames
[] = {
26504 (char *) "self",(char *) "item", NULL
26507 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetLastChild",kwnames
,&obj0
,&obj1
)) goto fail
;
26508 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26509 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26510 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26511 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26513 if (arg2
== NULL
) {
26514 PyErr_SetString(PyExc_TypeError
,"null reference");
26518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26519 result
= ((wxPyTreeCtrl
const *)arg1
)->GetLastChild((wxTreeItemId
const &)*arg2
);
26521 wxPyEndAllowThreads(__tstate
);
26522 if (PyErr_Occurred()) SWIG_fail
;
26525 wxTreeItemId
* resultptr
;
26526 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
26527 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
26535 static PyObject
*_wrap_TreeCtrl_GetNextSibling(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26536 PyObject
*resultobj
;
26537 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26538 wxTreeItemId
*arg2
= 0 ;
26539 wxTreeItemId result
;
26540 PyObject
* obj0
= 0 ;
26541 PyObject
* obj1
= 0 ;
26542 char *kwnames
[] = {
26543 (char *) "self",(char *) "item", NULL
26546 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetNextSibling",kwnames
,&obj0
,&obj1
)) goto fail
;
26547 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26548 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26549 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26550 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26552 if (arg2
== NULL
) {
26553 PyErr_SetString(PyExc_TypeError
,"null reference");
26557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26558 result
= ((wxPyTreeCtrl
const *)arg1
)->GetNextSibling((wxTreeItemId
const &)*arg2
);
26560 wxPyEndAllowThreads(__tstate
);
26561 if (PyErr_Occurred()) SWIG_fail
;
26564 wxTreeItemId
* resultptr
;
26565 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
26566 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
26574 static PyObject
*_wrap_TreeCtrl_GetPrevSibling(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26575 PyObject
*resultobj
;
26576 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26577 wxTreeItemId
*arg2
= 0 ;
26578 wxTreeItemId result
;
26579 PyObject
* obj0
= 0 ;
26580 PyObject
* obj1
= 0 ;
26581 char *kwnames
[] = {
26582 (char *) "self",(char *) "item", NULL
26585 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetPrevSibling",kwnames
,&obj0
,&obj1
)) goto fail
;
26586 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26587 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26588 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26589 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26591 if (arg2
== NULL
) {
26592 PyErr_SetString(PyExc_TypeError
,"null reference");
26596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26597 result
= ((wxPyTreeCtrl
const *)arg1
)->GetPrevSibling((wxTreeItemId
const &)*arg2
);
26599 wxPyEndAllowThreads(__tstate
);
26600 if (PyErr_Occurred()) SWIG_fail
;
26603 wxTreeItemId
* resultptr
;
26604 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
26605 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
26613 static PyObject
*_wrap_TreeCtrl_GetFirstVisibleItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26614 PyObject
*resultobj
;
26615 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26616 wxTreeItemId result
;
26617 PyObject
* obj0
= 0 ;
26618 char *kwnames
[] = {
26619 (char *) "self", NULL
26622 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetFirstVisibleItem",kwnames
,&obj0
)) goto fail
;
26623 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26624 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26627 result
= ((wxPyTreeCtrl
const *)arg1
)->GetFirstVisibleItem();
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_GetNextVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26644 PyObject
*resultobj
;
26645 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26646 wxTreeItemId
*arg2
= 0 ;
26647 wxTreeItemId result
;
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_GetNextVisible",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
= ((wxPyTreeCtrl
const *)arg1
)->GetNextVisible((wxTreeItemId
const &)*arg2
);
26668 wxPyEndAllowThreads(__tstate
);
26669 if (PyErr_Occurred()) SWIG_fail
;
26672 wxTreeItemId
* resultptr
;
26673 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
26674 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
26682 static PyObject
*_wrap_TreeCtrl_GetPrevVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26683 PyObject
*resultobj
;
26684 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26685 wxTreeItemId
*arg2
= 0 ;
26686 wxTreeItemId result
;
26687 PyObject
* obj0
= 0 ;
26688 PyObject
* obj1
= 0 ;
26689 char *kwnames
[] = {
26690 (char *) "self",(char *) "item", NULL
26693 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetPrevVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
26694 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26695 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26696 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26697 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26699 if (arg2
== NULL
) {
26700 PyErr_SetString(PyExc_TypeError
,"null reference");
26704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26705 result
= ((wxPyTreeCtrl
const *)arg1
)->GetPrevVisible((wxTreeItemId
const &)*arg2
);
26707 wxPyEndAllowThreads(__tstate
);
26708 if (PyErr_Occurred()) SWIG_fail
;
26711 wxTreeItemId
* resultptr
;
26712 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
26713 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
26721 static PyObject
*_wrap_TreeCtrl_AddRoot(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26722 PyObject
*resultobj
;
26723 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26724 wxString
*arg2
= 0 ;
26725 int arg3
= (int) -1 ;
26726 int arg4
= (int) -1 ;
26727 wxPyTreeItemData
*arg5
= (wxPyTreeItemData
*) NULL
;
26728 wxTreeItemId result
;
26729 bool temp2
= False
;
26730 PyObject
* obj0
= 0 ;
26731 PyObject
* obj1
= 0 ;
26732 PyObject
* obj2
= 0 ;
26733 PyObject
* obj3
= 0 ;
26734 PyObject
* obj4
= 0 ;
26735 char *kwnames
[] = {
26736 (char *) "self",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
26739 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:TreeCtrl_AddRoot",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
26740 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26741 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26743 arg2
= wxString_in_helper(obj1
);
26744 if (arg2
== NULL
) SWIG_fail
;
26748 arg3
= (int) SWIG_AsInt(obj2
);
26749 if (PyErr_Occurred()) SWIG_fail
;
26752 arg4
= (int) SWIG_AsInt(obj3
);
26753 if (PyErr_Occurred()) SWIG_fail
;
26756 if ((SWIG_ConvertPtr(obj4
,(void **)(&arg5
),SWIGTYPE_p_wxPyTreeItemData
,
26757 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26761 result
= (arg1
)->AddRoot((wxString
const &)*arg2
,arg3
,arg4
,arg5
);
26763 wxPyEndAllowThreads(__tstate
);
26764 if (PyErr_Occurred()) SWIG_fail
;
26767 wxTreeItemId
* resultptr
;
26768 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
26769 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
26785 static PyObject
*_wrap_TreeCtrl_PrependItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26786 PyObject
*resultobj
;
26787 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26788 wxTreeItemId
*arg2
= 0 ;
26789 wxString
*arg3
= 0 ;
26790 int arg4
= (int) -1 ;
26791 int arg5
= (int) -1 ;
26792 wxPyTreeItemData
*arg6
= (wxPyTreeItemData
*) NULL
;
26793 wxTreeItemId result
;
26794 bool temp3
= False
;
26795 PyObject
* obj0
= 0 ;
26796 PyObject
* obj1
= 0 ;
26797 PyObject
* obj2
= 0 ;
26798 PyObject
* obj3
= 0 ;
26799 PyObject
* obj4
= 0 ;
26800 PyObject
* obj5
= 0 ;
26801 char *kwnames
[] = {
26802 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
26805 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:TreeCtrl_PrependItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) 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 arg3
= wxString_in_helper(obj2
);
26817 if (arg3
== NULL
) SWIG_fail
;
26821 arg4
= (int) SWIG_AsInt(obj3
);
26822 if (PyErr_Occurred()) SWIG_fail
;
26825 arg5
= (int) SWIG_AsInt(obj4
);
26826 if (PyErr_Occurred()) SWIG_fail
;
26829 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxPyTreeItemData
,
26830 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26834 result
= (arg1
)->PrependItem((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
);
26836 wxPyEndAllowThreads(__tstate
);
26837 if (PyErr_Occurred()) SWIG_fail
;
26840 wxTreeItemId
* resultptr
;
26841 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
26842 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
26858 static PyObject
*_wrap_TreeCtrl_InsertItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26859 PyObject
*resultobj
;
26860 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26861 wxTreeItemId
*arg2
= 0 ;
26862 wxTreeItemId
*arg3
= 0 ;
26863 wxString
*arg4
= 0 ;
26864 int arg5
= (int) -1 ;
26865 int arg6
= (int) -1 ;
26866 wxPyTreeItemData
*arg7
= (wxPyTreeItemData
*) NULL
;
26867 wxTreeItemId result
;
26868 bool temp4
= False
;
26869 PyObject
* obj0
= 0 ;
26870 PyObject
* obj1
= 0 ;
26871 PyObject
* obj2
= 0 ;
26872 PyObject
* obj3
= 0 ;
26873 PyObject
* obj4
= 0 ;
26874 PyObject
* obj5
= 0 ;
26875 PyObject
* obj6
= 0 ;
26876 char *kwnames
[] = {
26877 (char *) "self",(char *) "parent",(char *) "idPrevious",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
26880 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:TreeCtrl_InsertItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
26881 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26882 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26883 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26884 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26886 if (arg2
== NULL
) {
26887 PyErr_SetString(PyExc_TypeError
,"null reference");
26890 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxTreeItemId
,
26891 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26893 if (arg3
== NULL
) {
26894 PyErr_SetString(PyExc_TypeError
,"null reference");
26898 arg4
= wxString_in_helper(obj3
);
26899 if (arg4
== NULL
) SWIG_fail
;
26903 arg5
= (int) SWIG_AsInt(obj4
);
26904 if (PyErr_Occurred()) SWIG_fail
;
26907 arg6
= (int) SWIG_AsInt(obj5
);
26908 if (PyErr_Occurred()) SWIG_fail
;
26911 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxPyTreeItemData
,
26912 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26916 result
= (arg1
)->InsertItem((wxTreeItemId
const &)*arg2
,(wxTreeItemId
const &)*arg3
,(wxString
const &)*arg4
,arg5
,arg6
,arg7
);
26918 wxPyEndAllowThreads(__tstate
);
26919 if (PyErr_Occurred()) SWIG_fail
;
26922 wxTreeItemId
* resultptr
;
26923 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
26924 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
26940 static PyObject
*_wrap_TreeCtrl_InsertItemBefore(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26941 PyObject
*resultobj
;
26942 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26943 wxTreeItemId
*arg2
= 0 ;
26945 wxString
*arg4
= 0 ;
26946 int arg5
= (int) -1 ;
26947 int arg6
= (int) -1 ;
26948 wxPyTreeItemData
*arg7
= (wxPyTreeItemData
*) NULL
;
26949 wxTreeItemId result
;
26950 bool temp4
= False
;
26951 PyObject
* obj0
= 0 ;
26952 PyObject
* obj1
= 0 ;
26953 PyObject
* obj2
= 0 ;
26954 PyObject
* obj3
= 0 ;
26955 PyObject
* obj4
= 0 ;
26956 PyObject
* obj5
= 0 ;
26957 PyObject
* obj6
= 0 ;
26958 char *kwnames
[] = {
26959 (char *) "self",(char *) "parent",(char *) "index",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
26962 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:TreeCtrl_InsertItemBefore",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
26963 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26964 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26965 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26966 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26968 if (arg2
== NULL
) {
26969 PyErr_SetString(PyExc_TypeError
,"null reference");
26972 arg3
= (size_t) SWIG_AsUnsignedLong(obj2
);
26973 if (PyErr_Occurred()) SWIG_fail
;
26975 arg4
= wxString_in_helper(obj3
);
26976 if (arg4
== NULL
) SWIG_fail
;
26980 arg5
= (int) SWIG_AsInt(obj4
);
26981 if (PyErr_Occurred()) SWIG_fail
;
26984 arg6
= (int) SWIG_AsInt(obj5
);
26985 if (PyErr_Occurred()) SWIG_fail
;
26988 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxPyTreeItemData
,
26989 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26993 result
= (arg1
)->InsertItem((wxTreeItemId
const &)*arg2
,arg3
,(wxString
const &)*arg4
,arg5
,arg6
,arg7
);
26995 wxPyEndAllowThreads(__tstate
);
26996 if (PyErr_Occurred()) SWIG_fail
;
26999 wxTreeItemId
* resultptr
;
27000 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
27001 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
27017 static PyObject
*_wrap_TreeCtrl_AppendItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27018 PyObject
*resultobj
;
27019 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27020 wxTreeItemId
*arg2
= 0 ;
27021 wxString
*arg3
= 0 ;
27022 int arg4
= (int) -1 ;
27023 int arg5
= (int) -1 ;
27024 wxPyTreeItemData
*arg6
= (wxPyTreeItemData
*) NULL
;
27025 wxTreeItemId result
;
27026 bool temp3
= False
;
27027 PyObject
* obj0
= 0 ;
27028 PyObject
* obj1
= 0 ;
27029 PyObject
* obj2
= 0 ;
27030 PyObject
* obj3
= 0 ;
27031 PyObject
* obj4
= 0 ;
27032 PyObject
* obj5
= 0 ;
27033 char *kwnames
[] = {
27034 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
27037 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:TreeCtrl_AppendItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
27038 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27039 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27040 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27041 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27043 if (arg2
== NULL
) {
27044 PyErr_SetString(PyExc_TypeError
,"null reference");
27048 arg3
= wxString_in_helper(obj2
);
27049 if (arg3
== NULL
) SWIG_fail
;
27053 arg4
= (int) SWIG_AsInt(obj3
);
27054 if (PyErr_Occurred()) SWIG_fail
;
27057 arg5
= (int) SWIG_AsInt(obj4
);
27058 if (PyErr_Occurred()) SWIG_fail
;
27061 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxPyTreeItemData
,
27062 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27066 result
= (arg1
)->AppendItem((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
);
27068 wxPyEndAllowThreads(__tstate
);
27069 if (PyErr_Occurred()) SWIG_fail
;
27072 wxTreeItemId
* resultptr
;
27073 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
27074 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
27090 static PyObject
*_wrap_TreeCtrl_Delete(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27091 PyObject
*resultobj
;
27092 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27093 wxTreeItemId
*arg2
= 0 ;
27094 PyObject
* obj0
= 0 ;
27095 PyObject
* obj1
= 0 ;
27096 char *kwnames
[] = {
27097 (char *) "self",(char *) "item", NULL
27100 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Delete",kwnames
,&obj0
,&obj1
)) 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");
27111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27112 (arg1
)->Delete((wxTreeItemId
const &)*arg2
);
27114 wxPyEndAllowThreads(__tstate
);
27115 if (PyErr_Occurred()) SWIG_fail
;
27117 Py_INCREF(Py_None
); resultobj
= Py_None
;
27124 static PyObject
*_wrap_TreeCtrl_DeleteChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27125 PyObject
*resultobj
;
27126 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27127 wxTreeItemId
*arg2
= 0 ;
27128 PyObject
* obj0
= 0 ;
27129 PyObject
* obj1
= 0 ;
27130 char *kwnames
[] = {
27131 (char *) "self",(char *) "item", NULL
27134 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_DeleteChildren",kwnames
,&obj0
,&obj1
)) goto fail
;
27135 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27136 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27137 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27138 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27140 if (arg2
== NULL
) {
27141 PyErr_SetString(PyExc_TypeError
,"null reference");
27145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27146 (arg1
)->DeleteChildren((wxTreeItemId
const &)*arg2
);
27148 wxPyEndAllowThreads(__tstate
);
27149 if (PyErr_Occurred()) SWIG_fail
;
27151 Py_INCREF(Py_None
); resultobj
= Py_None
;
27158 static PyObject
*_wrap_TreeCtrl_DeleteAllItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27159 PyObject
*resultobj
;
27160 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27161 PyObject
* obj0
= 0 ;
27162 char *kwnames
[] = {
27163 (char *) "self", NULL
27166 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_DeleteAllItems",kwnames
,&obj0
)) goto fail
;
27167 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27168 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27171 (arg1
)->DeleteAllItems();
27173 wxPyEndAllowThreads(__tstate
);
27174 if (PyErr_Occurred()) SWIG_fail
;
27176 Py_INCREF(Py_None
); resultobj
= Py_None
;
27183 static PyObject
*_wrap_TreeCtrl_Expand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27184 PyObject
*resultobj
;
27185 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27186 wxTreeItemId
*arg2
= 0 ;
27187 PyObject
* obj0
= 0 ;
27188 PyObject
* obj1
= 0 ;
27189 char *kwnames
[] = {
27190 (char *) "self",(char *) "item", NULL
27193 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Expand",kwnames
,&obj0
,&obj1
)) goto fail
;
27194 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27195 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27196 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27197 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27199 if (arg2
== NULL
) {
27200 PyErr_SetString(PyExc_TypeError
,"null reference");
27204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27205 (arg1
)->Expand((wxTreeItemId
const &)*arg2
);
27207 wxPyEndAllowThreads(__tstate
);
27208 if (PyErr_Occurred()) SWIG_fail
;
27210 Py_INCREF(Py_None
); resultobj
= Py_None
;
27217 static PyObject
*_wrap_TreeCtrl_Collapse(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27218 PyObject
*resultobj
;
27219 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27220 wxTreeItemId
*arg2
= 0 ;
27221 PyObject
* obj0
= 0 ;
27222 PyObject
* obj1
= 0 ;
27223 char *kwnames
[] = {
27224 (char *) "self",(char *) "item", NULL
27227 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Collapse",kwnames
,&obj0
,&obj1
)) goto fail
;
27228 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27229 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27230 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27231 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27233 if (arg2
== NULL
) {
27234 PyErr_SetString(PyExc_TypeError
,"null reference");
27238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27239 (arg1
)->Collapse((wxTreeItemId
const &)*arg2
);
27241 wxPyEndAllowThreads(__tstate
);
27242 if (PyErr_Occurred()) SWIG_fail
;
27244 Py_INCREF(Py_None
); resultobj
= Py_None
;
27251 static PyObject
*_wrap_TreeCtrl_CollapseAndReset(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27252 PyObject
*resultobj
;
27253 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27254 wxTreeItemId
*arg2
= 0 ;
27255 PyObject
* obj0
= 0 ;
27256 PyObject
* obj1
= 0 ;
27257 char *kwnames
[] = {
27258 (char *) "self",(char *) "item", NULL
27261 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_CollapseAndReset",kwnames
,&obj0
,&obj1
)) goto fail
;
27262 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27263 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27264 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27265 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27267 if (arg2
== NULL
) {
27268 PyErr_SetString(PyExc_TypeError
,"null reference");
27272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27273 (arg1
)->CollapseAndReset((wxTreeItemId
const &)*arg2
);
27275 wxPyEndAllowThreads(__tstate
);
27276 if (PyErr_Occurred()) SWIG_fail
;
27278 Py_INCREF(Py_None
); resultobj
= Py_None
;
27285 static PyObject
*_wrap_TreeCtrl_Toggle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27286 PyObject
*resultobj
;
27287 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27288 wxTreeItemId
*arg2
= 0 ;
27289 PyObject
* obj0
= 0 ;
27290 PyObject
* obj1
= 0 ;
27291 char *kwnames
[] = {
27292 (char *) "self",(char *) "item", NULL
27295 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Toggle",kwnames
,&obj0
,&obj1
)) goto fail
;
27296 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27297 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27298 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27299 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27301 if (arg2
== NULL
) {
27302 PyErr_SetString(PyExc_TypeError
,"null reference");
27306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27307 (arg1
)->Toggle((wxTreeItemId
const &)*arg2
);
27309 wxPyEndAllowThreads(__tstate
);
27310 if (PyErr_Occurred()) SWIG_fail
;
27312 Py_INCREF(Py_None
); resultobj
= Py_None
;
27319 static PyObject
*_wrap_TreeCtrl_Unselect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27320 PyObject
*resultobj
;
27321 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27322 PyObject
* obj0
= 0 ;
27323 char *kwnames
[] = {
27324 (char *) "self", NULL
27327 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_Unselect",kwnames
,&obj0
)) goto fail
;
27328 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27329 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27332 (arg1
)->Unselect();
27334 wxPyEndAllowThreads(__tstate
);
27335 if (PyErr_Occurred()) SWIG_fail
;
27337 Py_INCREF(Py_None
); resultobj
= Py_None
;
27344 static PyObject
*_wrap_TreeCtrl_UnselectItem(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_UnselectItem",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
)->UnselectItem((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_UnselectAll(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_UnselectAll",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
)->UnselectAll();
27393 wxPyEndAllowThreads(__tstate
);
27394 if (PyErr_Occurred()) SWIG_fail
;
27396 Py_INCREF(Py_None
); resultobj
= Py_None
;
27403 static PyObject
*_wrap_TreeCtrl_SelectItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27404 PyObject
*resultobj
;
27405 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27406 wxTreeItemId
*arg2
= 0 ;
27407 bool arg3
= (bool) True
;
27408 PyObject
* obj0
= 0 ;
27409 PyObject
* obj1
= 0 ;
27410 PyObject
* obj2
= 0 ;
27411 char *kwnames
[] = {
27412 (char *) "self",(char *) "item",(char *) "select", NULL
27415 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SelectItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27416 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27417 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27418 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27419 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27421 if (arg2
== NULL
) {
27422 PyErr_SetString(PyExc_TypeError
,"null reference");
27426 arg3
= (bool) SWIG_AsBool(obj2
);
27427 if (PyErr_Occurred()) SWIG_fail
;
27430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27431 (arg1
)->SelectItem((wxTreeItemId
const &)*arg2
,arg3
);
27433 wxPyEndAllowThreads(__tstate
);
27434 if (PyErr_Occurred()) SWIG_fail
;
27436 Py_INCREF(Py_None
); resultobj
= Py_None
;
27443 static PyObject
*_wrap_TreeCtrl_ToggleItemSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27444 PyObject
*resultobj
;
27445 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27446 wxTreeItemId
*arg2
= 0 ;
27447 PyObject
* obj0
= 0 ;
27448 PyObject
* obj1
= 0 ;
27449 char *kwnames
[] = {
27450 (char *) "self",(char *) "item", NULL
27453 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ToggleItemSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
27454 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27455 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27456 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27457 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27459 if (arg2
== NULL
) {
27460 PyErr_SetString(PyExc_TypeError
,"null reference");
27464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27465 (arg1
)->ToggleItemSelection((wxTreeItemId
const &)*arg2
);
27467 wxPyEndAllowThreads(__tstate
);
27468 if (PyErr_Occurred()) SWIG_fail
;
27470 Py_INCREF(Py_None
); resultobj
= Py_None
;
27477 static PyObject
*_wrap_TreeCtrl_EnsureVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27478 PyObject
*resultobj
;
27479 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27480 wxTreeItemId
*arg2
= 0 ;
27481 PyObject
* obj0
= 0 ;
27482 PyObject
* obj1
= 0 ;
27483 char *kwnames
[] = {
27484 (char *) "self",(char *) "item", NULL
27487 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_EnsureVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
27488 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27489 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27490 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27491 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27493 if (arg2
== NULL
) {
27494 PyErr_SetString(PyExc_TypeError
,"null reference");
27498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27499 (arg1
)->EnsureVisible((wxTreeItemId
const &)*arg2
);
27501 wxPyEndAllowThreads(__tstate
);
27502 if (PyErr_Occurred()) SWIG_fail
;
27504 Py_INCREF(Py_None
); resultobj
= Py_None
;
27511 static PyObject
*_wrap_TreeCtrl_ScrollTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27512 PyObject
*resultobj
;
27513 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27514 wxTreeItemId
*arg2
= 0 ;
27515 PyObject
* obj0
= 0 ;
27516 PyObject
* obj1
= 0 ;
27517 char *kwnames
[] = {
27518 (char *) "self",(char *) "item", NULL
27521 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ScrollTo",kwnames
,&obj0
,&obj1
)) goto fail
;
27522 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27523 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27524 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27525 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27527 if (arg2
== NULL
) {
27528 PyErr_SetString(PyExc_TypeError
,"null reference");
27532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27533 (arg1
)->ScrollTo((wxTreeItemId
const &)*arg2
);
27535 wxPyEndAllowThreads(__tstate
);
27536 if (PyErr_Occurred()) SWIG_fail
;
27538 Py_INCREF(Py_None
); resultobj
= Py_None
;
27545 static PyObject
*_wrap_TreeCtrl_EditLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27546 PyObject
*resultobj
;
27547 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27548 wxTreeItemId
*arg2
= 0 ;
27549 PyObject
* obj0
= 0 ;
27550 PyObject
* obj1
= 0 ;
27551 char *kwnames
[] = {
27552 (char *) "self",(char *) "item", NULL
27555 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_EditLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
27556 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27557 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27558 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27559 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27561 if (arg2
== NULL
) {
27562 PyErr_SetString(PyExc_TypeError
,"null reference");
27566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27567 (arg1
)->EditLabel((wxTreeItemId
const &)*arg2
);
27569 wxPyEndAllowThreads(__tstate
);
27570 if (PyErr_Occurred()) SWIG_fail
;
27572 Py_INCREF(Py_None
); resultobj
= Py_None
;
27579 static PyObject
*_wrap_TreeCtrl_GetEditControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27580 PyObject
*resultobj
;
27581 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27582 wxTextCtrl
*result
;
27583 PyObject
* obj0
= 0 ;
27584 char *kwnames
[] = {
27585 (char *) "self", NULL
27588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetEditControl",kwnames
,&obj0
)) goto fail
;
27589 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27590 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27593 result
= (wxTextCtrl
*)((wxPyTreeCtrl
const *)arg1
)->GetEditControl();
27595 wxPyEndAllowThreads(__tstate
);
27596 if (PyErr_Occurred()) SWIG_fail
;
27599 resultobj
= wxPyMake_wxObject(result
, 0);
27607 static PyObject
*_wrap_TreeCtrl_SortChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27608 PyObject
*resultobj
;
27609 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27610 wxTreeItemId
*arg2
= 0 ;
27611 PyObject
* obj0
= 0 ;
27612 PyObject
* obj1
= 0 ;
27613 char *kwnames
[] = {
27614 (char *) "self",(char *) "item", NULL
27617 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SortChildren",kwnames
,&obj0
,&obj1
)) goto fail
;
27618 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27619 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27620 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27621 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27623 if (arg2
== NULL
) {
27624 PyErr_SetString(PyExc_TypeError
,"null reference");
27628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27629 (arg1
)->SortChildren((wxTreeItemId
const &)*arg2
);
27631 wxPyEndAllowThreads(__tstate
);
27632 if (PyErr_Occurred()) SWIG_fail
;
27634 Py_INCREF(Py_None
); resultobj
= Py_None
;
27641 static PyObject
*_wrap_TreeCtrl_HitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27642 PyObject
*resultobj
;
27643 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27644 wxPoint
*arg2
= 0 ;
27646 wxTreeItemId result
;
27649 PyObject
* obj0
= 0 ;
27650 PyObject
* obj1
= 0 ;
27651 char *kwnames
[] = {
27652 (char *) "self",(char *) "point", NULL
27656 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
27657 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27658 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27661 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
27664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27665 result
= (arg1
)->HitTest((wxPoint
const &)*arg2
,*arg3
);
27667 wxPyEndAllowThreads(__tstate
);
27668 if (PyErr_Occurred()) SWIG_fail
;
27671 wxTreeItemId
* resultptr
;
27672 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
27673 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
27676 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
27677 resultobj
= t_output_helper(resultobj
,o
);
27685 static PyObject
*_wrap_TreeCtrl_GetBoundingRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27686 PyObject
*resultobj
;
27687 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27688 wxTreeItemId
*arg2
= 0 ;
27689 bool arg3
= (bool) False
;
27691 PyObject
* obj0
= 0 ;
27692 PyObject
* obj1
= 0 ;
27693 PyObject
* obj2
= 0 ;
27694 char *kwnames
[] = {
27695 (char *) "self",(char *) "item",(char *) "textOnly", NULL
27698 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_GetBoundingRect",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27699 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27700 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27701 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27702 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27704 if (arg2
== NULL
) {
27705 PyErr_SetString(PyExc_TypeError
,"null reference");
27709 arg3
= (bool) SWIG_AsBool(obj2
);
27710 if (PyErr_Occurred()) SWIG_fail
;
27713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27714 result
= (PyObject
*)wxPyTreeCtrl_GetBoundingRect(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
27716 wxPyEndAllowThreads(__tstate
);
27717 if (PyErr_Occurred()) SWIG_fail
;
27719 resultobj
= result
;
27726 static PyObject
*_wrap_TreeCtrl_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27727 PyObject
*resultobj
;
27728 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
27729 wxVisualAttributes result
;
27730 PyObject
* obj0
= 0 ;
27731 char *kwnames
[] = {
27732 (char *) "variant", NULL
27735 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:TreeCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
27737 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
27738 if (PyErr_Occurred()) SWIG_fail
;
27741 if (!wxPyCheckForApp()) SWIG_fail
;
27742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27743 result
= wxPyTreeCtrl::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
27745 wxPyEndAllowThreads(__tstate
);
27746 if (PyErr_Occurred()) SWIG_fail
;
27749 wxVisualAttributes
* resultptr
;
27750 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
27751 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
27759 static PyObject
* TreeCtrl_swigregister(PyObject
*self
, PyObject
*args
) {
27761 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27762 SWIG_TypeClientData(SWIGTYPE_p_wxPyTreeCtrl
, obj
);
27764 return Py_BuildValue((char *)"");
27766 static int _wrap_DirDialogDefaultFolderStr_set(PyObject
*_val
) {
27767 PyErr_SetString(PyExc_TypeError
,"Variable DirDialogDefaultFolderStr is read-only.");
27772 static PyObject
*_wrap_DirDialogDefaultFolderStr_get() {
27777 pyobj
= PyUnicode_FromWideChar((&wxPyDirDialogDefaultFolderStr
)->c_str(), (&wxPyDirDialogDefaultFolderStr
)->Len());
27779 pyobj
= PyString_FromStringAndSize((&wxPyDirDialogDefaultFolderStr
)->c_str(), (&wxPyDirDialogDefaultFolderStr
)->Len());
27786 static PyObject
*_wrap_new_GenericDirCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27787 PyObject
*resultobj
;
27788 wxWindow
*arg1
= (wxWindow
*) 0 ;
27789 int arg2
= (int) (int)-1 ;
27790 wxString
const &arg3_defvalue
= wxPyDirDialogDefaultFolderStr
;
27791 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
27792 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
27793 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
27794 wxSize
const &arg5_defvalue
= wxDefaultSize
;
27795 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
27796 long arg6
= (long) wxDIRCTRL_3D_INTERNAL
|wxSUNKEN_BORDER
;
27797 wxString
const &arg7_defvalue
= wxPyEmptyString
;
27798 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
27799 int arg8
= (int) 0 ;
27800 wxString
const &arg9_defvalue
= wxPyTreeCtrlNameStr
;
27801 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
27802 wxGenericDirCtrl
*result
;
27803 bool temp3
= False
;
27806 bool temp7
= False
;
27807 bool temp9
= False
;
27808 PyObject
* obj0
= 0 ;
27809 PyObject
* obj1
= 0 ;
27810 PyObject
* obj2
= 0 ;
27811 PyObject
* obj3
= 0 ;
27812 PyObject
* obj4
= 0 ;
27813 PyObject
* obj5
= 0 ;
27814 PyObject
* obj6
= 0 ;
27815 PyObject
* obj7
= 0 ;
27816 PyObject
* obj8
= 0 ;
27817 char *kwnames
[] = {
27818 (char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
27821 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOO:new_GenericDirCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
27822 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27823 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27825 arg2
= (int const) SWIG_AsInt(obj1
);
27826 if (PyErr_Occurred()) SWIG_fail
;
27830 arg3
= wxString_in_helper(obj2
);
27831 if (arg3
== NULL
) SWIG_fail
;
27838 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
27844 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
27848 arg6
= (long) SWIG_AsLong(obj5
);
27849 if (PyErr_Occurred()) SWIG_fail
;
27853 arg7
= wxString_in_helper(obj6
);
27854 if (arg7
== NULL
) SWIG_fail
;
27859 arg8
= (int) SWIG_AsInt(obj7
);
27860 if (PyErr_Occurred()) SWIG_fail
;
27864 arg9
= wxString_in_helper(obj8
);
27865 if (arg9
== NULL
) SWIG_fail
;
27870 if (!wxPyCheckForApp()) SWIG_fail
;
27871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27872 result
= (wxGenericDirCtrl
*)new wxGenericDirCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
,arg8
,(wxString
const &)*arg9
);
27874 wxPyEndAllowThreads(__tstate
);
27875 if (PyErr_Occurred()) SWIG_fail
;
27877 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDirCtrl
, 1);
27908 static PyObject
*_wrap_new_PreGenericDirCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27909 PyObject
*resultobj
;
27910 wxGenericDirCtrl
*result
;
27911 char *kwnames
[] = {
27915 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreGenericDirCtrl",kwnames
)) goto fail
;
27917 if (!wxPyCheckForApp()) SWIG_fail
;
27918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27919 result
= (wxGenericDirCtrl
*)new wxGenericDirCtrl();
27921 wxPyEndAllowThreads(__tstate
);
27922 if (PyErr_Occurred()) SWIG_fail
;
27924 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDirCtrl
, 1);
27931 static PyObject
*_wrap_GenericDirCtrl_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27932 PyObject
*resultobj
;
27933 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
27934 wxWindow
*arg2
= (wxWindow
*) 0 ;
27935 int arg3
= (int) (int)-1 ;
27936 wxString
const &arg4_defvalue
= wxPyDirDialogDefaultFolderStr
;
27937 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
27938 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
27939 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
27940 wxSize
const &arg6_defvalue
= wxDefaultSize
;
27941 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
27942 long arg7
= (long) wxDIRCTRL_3D_INTERNAL
|wxSUNKEN_BORDER
;
27943 wxString
const &arg8_defvalue
= wxPyEmptyString
;
27944 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
27945 int arg9
= (int) 0 ;
27946 wxString
const &arg10_defvalue
= wxPyTreeCtrlNameStr
;
27947 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
27949 bool temp4
= False
;
27952 bool temp8
= False
;
27953 bool temp10
= False
;
27954 PyObject
* obj0
= 0 ;
27955 PyObject
* obj1
= 0 ;
27956 PyObject
* obj2
= 0 ;
27957 PyObject
* obj3
= 0 ;
27958 PyObject
* obj4
= 0 ;
27959 PyObject
* obj5
= 0 ;
27960 PyObject
* obj6
= 0 ;
27961 PyObject
* obj7
= 0 ;
27962 PyObject
* obj8
= 0 ;
27963 PyObject
* obj9
= 0 ;
27964 char *kwnames
[] = {
27965 (char *) "self",(char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
27968 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOO:GenericDirCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
27969 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
27970 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27971 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
27972 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27974 arg3
= (int const) SWIG_AsInt(obj2
);
27975 if (PyErr_Occurred()) SWIG_fail
;
27979 arg4
= wxString_in_helper(obj3
);
27980 if (arg4
== NULL
) SWIG_fail
;
27987 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
27993 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
27997 arg7
= (long) SWIG_AsLong(obj6
);
27998 if (PyErr_Occurred()) SWIG_fail
;
28002 arg8
= wxString_in_helper(obj7
);
28003 if (arg8
== NULL
) SWIG_fail
;
28008 arg9
= (int) SWIG_AsInt(obj8
);
28009 if (PyErr_Occurred()) SWIG_fail
;
28013 arg10
= wxString_in_helper(obj9
);
28014 if (arg10
== NULL
) SWIG_fail
;
28019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28020 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
,arg9
,(wxString
const &)*arg10
);
28022 wxPyEndAllowThreads(__tstate
);
28023 if (PyErr_Occurred()) SWIG_fail
;
28026 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28058 static PyObject
*_wrap_GenericDirCtrl_ExpandPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28059 PyObject
*resultobj
;
28060 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28061 wxString
*arg2
= 0 ;
28063 bool temp2
= False
;
28064 PyObject
* obj0
= 0 ;
28065 PyObject
* obj1
= 0 ;
28066 char *kwnames
[] = {
28067 (char *) "self",(char *) "path", NULL
28070 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_ExpandPath",kwnames
,&obj0
,&obj1
)) goto fail
;
28071 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28072 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28074 arg2
= wxString_in_helper(obj1
);
28075 if (arg2
== NULL
) SWIG_fail
;
28079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28080 result
= (bool)(arg1
)->ExpandPath((wxString
const &)*arg2
);
28082 wxPyEndAllowThreads(__tstate
);
28083 if (PyErr_Occurred()) SWIG_fail
;
28086 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28102 static PyObject
*_wrap_GenericDirCtrl_GetDefaultPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28103 PyObject
*resultobj
;
28104 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28106 PyObject
* obj0
= 0 ;
28107 char *kwnames
[] = {
28108 (char *) "self", NULL
28111 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetDefaultPath",kwnames
,&obj0
)) goto fail
;
28112 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28113 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28116 result
= ((wxGenericDirCtrl
const *)arg1
)->GetDefaultPath();
28118 wxPyEndAllowThreads(__tstate
);
28119 if (PyErr_Occurred()) SWIG_fail
;
28123 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
28125 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
28134 static PyObject
*_wrap_GenericDirCtrl_SetDefaultPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28135 PyObject
*resultobj
;
28136 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28137 wxString
*arg2
= 0 ;
28138 bool temp2
= False
;
28139 PyObject
* obj0
= 0 ;
28140 PyObject
* obj1
= 0 ;
28141 char *kwnames
[] = {
28142 (char *) "self",(char *) "path", NULL
28145 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetDefaultPath",kwnames
,&obj0
,&obj1
)) goto fail
;
28146 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28147 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28149 arg2
= wxString_in_helper(obj1
);
28150 if (arg2
== NULL
) SWIG_fail
;
28154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28155 (arg1
)->SetDefaultPath((wxString
const &)*arg2
);
28157 wxPyEndAllowThreads(__tstate
);
28158 if (PyErr_Occurred()) SWIG_fail
;
28160 Py_INCREF(Py_None
); resultobj
= Py_None
;
28175 static PyObject
*_wrap_GenericDirCtrl_GetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28176 PyObject
*resultobj
;
28177 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28179 PyObject
* obj0
= 0 ;
28180 char *kwnames
[] = {
28181 (char *) "self", NULL
28184 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetPath",kwnames
,&obj0
)) goto fail
;
28185 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28186 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28189 result
= ((wxGenericDirCtrl
const *)arg1
)->GetPath();
28191 wxPyEndAllowThreads(__tstate
);
28192 if (PyErr_Occurred()) SWIG_fail
;
28196 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
28198 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
28207 static PyObject
*_wrap_GenericDirCtrl_GetFilePath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28208 PyObject
*resultobj
;
28209 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28211 PyObject
* obj0
= 0 ;
28212 char *kwnames
[] = {
28213 (char *) "self", NULL
28216 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetFilePath",kwnames
,&obj0
)) goto fail
;
28217 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28218 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28221 result
= ((wxGenericDirCtrl
const *)arg1
)->GetFilePath();
28223 wxPyEndAllowThreads(__tstate
);
28224 if (PyErr_Occurred()) SWIG_fail
;
28228 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
28230 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
28239 static PyObject
*_wrap_GenericDirCtrl_SetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28240 PyObject
*resultobj
;
28241 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28242 wxString
*arg2
= 0 ;
28243 bool temp2
= False
;
28244 PyObject
* obj0
= 0 ;
28245 PyObject
* obj1
= 0 ;
28246 char *kwnames
[] = {
28247 (char *) "self",(char *) "path", NULL
28250 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetPath",kwnames
,&obj0
,&obj1
)) goto fail
;
28251 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28252 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28254 arg2
= wxString_in_helper(obj1
);
28255 if (arg2
== NULL
) SWIG_fail
;
28259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28260 (arg1
)->SetPath((wxString
const &)*arg2
);
28262 wxPyEndAllowThreads(__tstate
);
28263 if (PyErr_Occurred()) SWIG_fail
;
28265 Py_INCREF(Py_None
); resultobj
= Py_None
;
28280 static PyObject
*_wrap_GenericDirCtrl_ShowHidden(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28281 PyObject
*resultobj
;
28282 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28284 PyObject
* obj0
= 0 ;
28285 PyObject
* obj1
= 0 ;
28286 char *kwnames
[] = {
28287 (char *) "self",(char *) "show", NULL
28290 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_ShowHidden",kwnames
,&obj0
,&obj1
)) goto fail
;
28291 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28292 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28293 arg2
= (bool) SWIG_AsBool(obj1
);
28294 if (PyErr_Occurred()) SWIG_fail
;
28296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28297 (arg1
)->ShowHidden(arg2
);
28299 wxPyEndAllowThreads(__tstate
);
28300 if (PyErr_Occurred()) SWIG_fail
;
28302 Py_INCREF(Py_None
); resultobj
= Py_None
;
28309 static PyObject
*_wrap_GenericDirCtrl_GetShowHidden(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28310 PyObject
*resultobj
;
28311 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28313 PyObject
* obj0
= 0 ;
28314 char *kwnames
[] = {
28315 (char *) "self", NULL
28318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetShowHidden",kwnames
,&obj0
)) goto fail
;
28319 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28320 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28323 result
= (bool)(arg1
)->GetShowHidden();
28325 wxPyEndAllowThreads(__tstate
);
28326 if (PyErr_Occurred()) SWIG_fail
;
28329 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28337 static PyObject
*_wrap_GenericDirCtrl_GetFilter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28338 PyObject
*resultobj
;
28339 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28341 PyObject
* obj0
= 0 ;
28342 char *kwnames
[] = {
28343 (char *) "self", NULL
28346 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetFilter",kwnames
,&obj0
)) goto fail
;
28347 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28348 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28351 result
= ((wxGenericDirCtrl
const *)arg1
)->GetFilter();
28353 wxPyEndAllowThreads(__tstate
);
28354 if (PyErr_Occurred()) SWIG_fail
;
28358 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
28360 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
28369 static PyObject
*_wrap_GenericDirCtrl_SetFilter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28370 PyObject
*resultobj
;
28371 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28372 wxString
*arg2
= 0 ;
28373 bool temp2
= False
;
28374 PyObject
* obj0
= 0 ;
28375 PyObject
* obj1
= 0 ;
28376 char *kwnames
[] = {
28377 (char *) "self",(char *) "filter", NULL
28380 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetFilter",kwnames
,&obj0
,&obj1
)) goto fail
;
28381 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28382 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28384 arg2
= wxString_in_helper(obj1
);
28385 if (arg2
== NULL
) SWIG_fail
;
28389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28390 (arg1
)->SetFilter((wxString
const &)*arg2
);
28392 wxPyEndAllowThreads(__tstate
);
28393 if (PyErr_Occurred()) SWIG_fail
;
28395 Py_INCREF(Py_None
); resultobj
= Py_None
;
28410 static PyObject
*_wrap_GenericDirCtrl_GetFilterIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28411 PyObject
*resultobj
;
28412 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28414 PyObject
* obj0
= 0 ;
28415 char *kwnames
[] = {
28416 (char *) "self", NULL
28419 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetFilterIndex",kwnames
,&obj0
)) goto fail
;
28420 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28421 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28424 result
= (int)((wxGenericDirCtrl
const *)arg1
)->GetFilterIndex();
28426 wxPyEndAllowThreads(__tstate
);
28427 if (PyErr_Occurred()) SWIG_fail
;
28429 resultobj
= SWIG_FromInt((int)result
);
28436 static PyObject
*_wrap_GenericDirCtrl_SetFilterIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28437 PyObject
*resultobj
;
28438 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28440 PyObject
* obj0
= 0 ;
28441 PyObject
* obj1
= 0 ;
28442 char *kwnames
[] = {
28443 (char *) "self",(char *) "n", NULL
28446 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetFilterIndex",kwnames
,&obj0
,&obj1
)) goto fail
;
28447 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28448 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28449 arg2
= (int) SWIG_AsInt(obj1
);
28450 if (PyErr_Occurred()) SWIG_fail
;
28452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28453 (arg1
)->SetFilterIndex(arg2
);
28455 wxPyEndAllowThreads(__tstate
);
28456 if (PyErr_Occurred()) SWIG_fail
;
28458 Py_INCREF(Py_None
); resultobj
= Py_None
;
28465 static PyObject
*_wrap_GenericDirCtrl_GetRootId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28466 PyObject
*resultobj
;
28467 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28468 wxTreeItemId result
;
28469 PyObject
* obj0
= 0 ;
28470 char *kwnames
[] = {
28471 (char *) "self", NULL
28474 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetRootId",kwnames
,&obj0
)) goto fail
;
28475 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28476 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28479 result
= (arg1
)->GetRootId();
28481 wxPyEndAllowThreads(__tstate
);
28482 if (PyErr_Occurred()) SWIG_fail
;
28485 wxTreeItemId
* resultptr
;
28486 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
28487 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
28495 static PyObject
*_wrap_GenericDirCtrl_GetTreeCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28496 PyObject
*resultobj
;
28497 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28498 wxPyTreeCtrl
*result
;
28499 PyObject
* obj0
= 0 ;
28500 char *kwnames
[] = {
28501 (char *) "self", NULL
28504 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetTreeCtrl",kwnames
,&obj0
)) goto fail
;
28505 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28506 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28509 result
= (wxPyTreeCtrl
*)((wxGenericDirCtrl
const *)arg1
)->GetTreeCtrl();
28511 wxPyEndAllowThreads(__tstate
);
28512 if (PyErr_Occurred()) SWIG_fail
;
28515 resultobj
= wxPyMake_wxObject(result
, 0);
28523 static PyObject
*_wrap_GenericDirCtrl_GetFilterListCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28524 PyObject
*resultobj
;
28525 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28526 wxDirFilterListCtrl
*result
;
28527 PyObject
* obj0
= 0 ;
28528 char *kwnames
[] = {
28529 (char *) "self", NULL
28532 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetFilterListCtrl",kwnames
,&obj0
)) goto fail
;
28533 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28534 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28537 result
= (wxDirFilterListCtrl
*)((wxGenericDirCtrl
const *)arg1
)->GetFilterListCtrl();
28539 wxPyEndAllowThreads(__tstate
);
28540 if (PyErr_Occurred()) SWIG_fail
;
28542 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDirFilterListCtrl
, 0);
28549 static PyObject
*_wrap_GenericDirCtrl_FindChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28550 PyObject
*resultobj
;
28551 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28552 wxTreeItemId arg2
;
28553 wxString
*arg3
= 0 ;
28555 wxTreeItemId result
;
28556 wxTreeItemId
*argp2
;
28557 bool temp3
= False
;
28559 PyObject
* obj0
= 0 ;
28560 PyObject
* obj1
= 0 ;
28561 PyObject
* obj2
= 0 ;
28562 char *kwnames
[] = {
28563 (char *) "self",(char *) "parentId",(char *) "path", NULL
28567 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GenericDirCtrl_FindChild",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28568 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28569 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28570 if ((SWIG_ConvertPtr(obj1
,(void **)(&argp2
),SWIGTYPE_p_wxTreeItemId
,
28571 SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
28574 arg3
= wxString_in_helper(obj2
);
28575 if (arg3
== NULL
) SWIG_fail
;
28579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28580 result
= (arg1
)->FindChild(arg2
,(wxString
const &)*arg3
,*arg4
);
28582 wxPyEndAllowThreads(__tstate
);
28583 if (PyErr_Occurred()) SWIG_fail
;
28586 wxTreeItemId
* resultptr
;
28587 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
28588 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
28591 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
28592 resultobj
= t_output_helper(resultobj
,o
);
28608 static PyObject
*_wrap_GenericDirCtrl_DoResize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28609 PyObject
*resultobj
;
28610 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28611 PyObject
* obj0
= 0 ;
28612 char *kwnames
[] = {
28613 (char *) "self", NULL
28616 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_DoResize",kwnames
,&obj0
)) goto fail
;
28617 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28618 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28621 (arg1
)->DoResize();
28623 wxPyEndAllowThreads(__tstate
);
28624 if (PyErr_Occurred()) SWIG_fail
;
28626 Py_INCREF(Py_None
); resultobj
= Py_None
;
28633 static PyObject
*_wrap_GenericDirCtrl_ReCreateTree(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28634 PyObject
*resultobj
;
28635 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28636 PyObject
* obj0
= 0 ;
28637 char *kwnames
[] = {
28638 (char *) "self", NULL
28641 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_ReCreateTree",kwnames
,&obj0
)) goto fail
;
28642 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28643 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28646 (arg1
)->ReCreateTree();
28648 wxPyEndAllowThreads(__tstate
);
28649 if (PyErr_Occurred()) SWIG_fail
;
28651 Py_INCREF(Py_None
); resultobj
= Py_None
;
28658 static PyObject
* GenericDirCtrl_swigregister(PyObject
*self
, PyObject
*args
) {
28660 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28661 SWIG_TypeClientData(SWIGTYPE_p_wxGenericDirCtrl
, obj
);
28663 return Py_BuildValue((char *)"");
28665 static PyObject
*_wrap_new_DirFilterListCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28666 PyObject
*resultobj
;
28667 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28668 int arg2
= (int) (int)-1 ;
28669 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
28670 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
28671 wxSize
const &arg4_defvalue
= wxDefaultSize
;
28672 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
28673 long arg5
= (long) 0 ;
28674 wxDirFilterListCtrl
*result
;
28677 PyObject
* obj0
= 0 ;
28678 PyObject
* obj1
= 0 ;
28679 PyObject
* obj2
= 0 ;
28680 PyObject
* obj3
= 0 ;
28681 PyObject
* obj4
= 0 ;
28682 char *kwnames
[] = {
28683 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
28686 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:new_DirFilterListCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
28687 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28688 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28690 arg2
= (int const) SWIG_AsInt(obj1
);
28691 if (PyErr_Occurred()) SWIG_fail
;
28696 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
28702 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
28706 arg5
= (long) SWIG_AsLong(obj4
);
28707 if (PyErr_Occurred()) SWIG_fail
;
28710 if (!wxPyCheckForApp()) SWIG_fail
;
28711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28712 result
= (wxDirFilterListCtrl
*)new wxDirFilterListCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
);
28714 wxPyEndAllowThreads(__tstate
);
28715 if (PyErr_Occurred()) SWIG_fail
;
28717 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDirFilterListCtrl
, 1);
28724 static PyObject
*_wrap_new_PreDirFilterListCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28725 PyObject
*resultobj
;
28726 wxDirFilterListCtrl
*result
;
28727 char *kwnames
[] = {
28731 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreDirFilterListCtrl",kwnames
)) goto fail
;
28733 if (!wxPyCheckForApp()) SWIG_fail
;
28734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28735 result
= (wxDirFilterListCtrl
*)new wxDirFilterListCtrl();
28737 wxPyEndAllowThreads(__tstate
);
28738 if (PyErr_Occurred()) SWIG_fail
;
28740 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDirFilterListCtrl
, 1);
28747 static PyObject
*_wrap_DirFilterListCtrl_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28748 PyObject
*resultobj
;
28749 wxDirFilterListCtrl
*arg1
= (wxDirFilterListCtrl
*) 0 ;
28750 wxGenericDirCtrl
*arg2
= (wxGenericDirCtrl
*) 0 ;
28751 int arg3
= (int) (int)-1 ;
28752 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
28753 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
28754 wxSize
const &arg5_defvalue
= wxDefaultSize
;
28755 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
28756 long arg6
= (long) 0 ;
28760 PyObject
* obj0
= 0 ;
28761 PyObject
* obj1
= 0 ;
28762 PyObject
* obj2
= 0 ;
28763 PyObject
* obj3
= 0 ;
28764 PyObject
* obj4
= 0 ;
28765 PyObject
* obj5
= 0 ;
28766 char *kwnames
[] = {
28767 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
28770 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:DirFilterListCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
28771 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDirFilterListCtrl
,
28772 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28773 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxGenericDirCtrl
,
28774 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28776 arg3
= (int const) SWIG_AsInt(obj2
);
28777 if (PyErr_Occurred()) SWIG_fail
;
28782 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
28788 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
28792 arg6
= (long) SWIG_AsLong(obj5
);
28793 if (PyErr_Occurred()) SWIG_fail
;
28796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28797 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
);
28799 wxPyEndAllowThreads(__tstate
);
28800 if (PyErr_Occurred()) SWIG_fail
;
28803 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28811 static PyObject
*_wrap_DirFilterListCtrl_FillFilterList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28812 PyObject
*resultobj
;
28813 wxDirFilterListCtrl
*arg1
= (wxDirFilterListCtrl
*) 0 ;
28814 wxString
*arg2
= 0 ;
28816 bool temp2
= False
;
28817 PyObject
* obj0
= 0 ;
28818 PyObject
* obj1
= 0 ;
28819 PyObject
* obj2
= 0 ;
28820 char *kwnames
[] = {
28821 (char *) "self",(char *) "filter",(char *) "defaultFilter", NULL
28824 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DirFilterListCtrl_FillFilterList",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28825 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDirFilterListCtrl
,
28826 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28828 arg2
= wxString_in_helper(obj1
);
28829 if (arg2
== NULL
) SWIG_fail
;
28832 arg3
= (int) SWIG_AsInt(obj2
);
28833 if (PyErr_Occurred()) SWIG_fail
;
28835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28836 (arg1
)->FillFilterList((wxString
const &)*arg2
,arg3
);
28838 wxPyEndAllowThreads(__tstate
);
28839 if (PyErr_Occurred()) SWIG_fail
;
28841 Py_INCREF(Py_None
); resultobj
= Py_None
;
28856 static PyObject
* DirFilterListCtrl_swigregister(PyObject
*self
, PyObject
*args
) {
28858 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28859 SWIG_TypeClientData(SWIGTYPE_p_wxDirFilterListCtrl
, obj
);
28861 return Py_BuildValue((char *)"");
28863 static PyObject
*_wrap_new_PyControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28864 PyObject
*resultobj
;
28865 wxWindow
*arg1
= (wxWindow
*) 0 ;
28866 int arg2
= (int) (int)-1 ;
28867 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
28868 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
28869 wxSize
const &arg4_defvalue
= wxDefaultSize
;
28870 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
28871 long arg5
= (long) 0 ;
28872 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
28873 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
28874 wxString
const &arg7_defvalue
= wxPyControlNameStr
;
28875 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
28876 wxPyControl
*result
;
28879 bool temp7
= False
;
28880 PyObject
* obj0
= 0 ;
28881 PyObject
* obj1
= 0 ;
28882 PyObject
* obj2
= 0 ;
28883 PyObject
* obj3
= 0 ;
28884 PyObject
* obj4
= 0 ;
28885 PyObject
* obj5
= 0 ;
28886 PyObject
* obj6
= 0 ;
28887 char *kwnames
[] = {
28888 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
28891 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_PyControl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
28892 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28893 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28895 arg2
= (int const) SWIG_AsInt(obj1
);
28896 if (PyErr_Occurred()) SWIG_fail
;
28901 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
28907 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
28911 arg5
= (long) SWIG_AsLong(obj4
);
28912 if (PyErr_Occurred()) SWIG_fail
;
28915 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxValidator
,
28916 SWIG_POINTER_EXCEPTION
| 0)) == -1)
28918 if (arg6
== NULL
) {
28919 PyErr_SetString(PyExc_TypeError
,"null reference");
28925 arg7
= wxString_in_helper(obj6
);
28926 if (arg7
== NULL
) SWIG_fail
;
28931 if (!wxPyCheckForApp()) SWIG_fail
;
28932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28933 result
= (wxPyControl
*)new wxPyControl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
28935 wxPyEndAllowThreads(__tstate
);
28936 if (PyErr_Occurred()) SWIG_fail
;
28938 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyControl
, 1);
28953 static PyObject
*_wrap_new_PrePyControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28954 PyObject
*resultobj
;
28955 wxPyControl
*result
;
28956 char *kwnames
[] = {
28960 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePyControl",kwnames
)) goto fail
;
28962 if (!wxPyCheckForApp()) SWIG_fail
;
28963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28964 result
= (wxPyControl
*)new wxPyControl();
28966 wxPyEndAllowThreads(__tstate
);
28967 if (PyErr_Occurred()) SWIG_fail
;
28969 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyControl
, 1);
28976 static PyObject
*_wrap_PyControl__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28977 PyObject
*resultobj
;
28978 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
28979 PyObject
*arg2
= (PyObject
*) 0 ;
28980 PyObject
*arg3
= (PyObject
*) 0 ;
28981 PyObject
* obj0
= 0 ;
28982 PyObject
* obj1
= 0 ;
28983 PyObject
* obj2
= 0 ;
28984 char *kwnames
[] = {
28985 (char *) "self",(char *) "self",(char *) "_class", NULL
28988 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28989 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
28990 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28995 (arg1
)->_setCallbackInfo(arg2
,arg3
);
28997 wxPyEndAllowThreads(__tstate
);
28998 if (PyErr_Occurred()) SWIG_fail
;
29000 Py_INCREF(Py_None
); resultobj
= Py_None
;
29007 static PyObject
*_wrap_PyControl_SetBestSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29008 PyObject
*resultobj
;
29009 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29012 PyObject
* obj0
= 0 ;
29013 PyObject
* obj1
= 0 ;
29014 char *kwnames
[] = {
29015 (char *) "self",(char *) "size", NULL
29018 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControl_SetBestSize",kwnames
,&obj0
,&obj1
)) goto fail
;
29019 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29020 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29023 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
29026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29027 (arg1
)->SetBestSize((wxSize
const &)*arg2
);
29029 wxPyEndAllowThreads(__tstate
);
29030 if (PyErr_Occurred()) SWIG_fail
;
29032 Py_INCREF(Py_None
); resultobj
= Py_None
;
29039 static PyObject
*_wrap_PyControl_base_DoMoveWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29040 PyObject
*resultobj
;
29041 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29046 PyObject
* obj0
= 0 ;
29047 PyObject
* obj1
= 0 ;
29048 PyObject
* obj2
= 0 ;
29049 PyObject
* obj3
= 0 ;
29050 PyObject
* obj4
= 0 ;
29051 char *kwnames
[] = {
29052 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
29055 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyControl_base_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
29056 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29057 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29058 arg2
= (int) SWIG_AsInt(obj1
);
29059 if (PyErr_Occurred()) SWIG_fail
;
29060 arg3
= (int) SWIG_AsInt(obj2
);
29061 if (PyErr_Occurred()) SWIG_fail
;
29062 arg4
= (int) SWIG_AsInt(obj3
);
29063 if (PyErr_Occurred()) SWIG_fail
;
29064 arg5
= (int) SWIG_AsInt(obj4
);
29065 if (PyErr_Occurred()) SWIG_fail
;
29067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29068 (arg1
)->base_DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
29070 wxPyEndAllowThreads(__tstate
);
29071 if (PyErr_Occurred()) SWIG_fail
;
29073 Py_INCREF(Py_None
); resultobj
= Py_None
;
29080 static PyObject
*_wrap_PyControl_base_DoSetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29081 PyObject
*resultobj
;
29082 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29087 int arg6
= (int) wxSIZE_AUTO
;
29088 PyObject
* obj0
= 0 ;
29089 PyObject
* obj1
= 0 ;
29090 PyObject
* obj2
= 0 ;
29091 PyObject
* obj3
= 0 ;
29092 PyObject
* obj4
= 0 ;
29093 PyObject
* obj5
= 0 ;
29094 char *kwnames
[] = {
29095 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
29098 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyControl_base_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
29099 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29100 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29101 arg2
= (int) SWIG_AsInt(obj1
);
29102 if (PyErr_Occurred()) SWIG_fail
;
29103 arg3
= (int) SWIG_AsInt(obj2
);
29104 if (PyErr_Occurred()) SWIG_fail
;
29105 arg4
= (int) SWIG_AsInt(obj3
);
29106 if (PyErr_Occurred()) SWIG_fail
;
29107 arg5
= (int) SWIG_AsInt(obj4
);
29108 if (PyErr_Occurred()) SWIG_fail
;
29110 arg6
= (int) SWIG_AsInt(obj5
);
29111 if (PyErr_Occurred()) SWIG_fail
;
29114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29115 (arg1
)->base_DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
29117 wxPyEndAllowThreads(__tstate
);
29118 if (PyErr_Occurred()) SWIG_fail
;
29120 Py_INCREF(Py_None
); resultobj
= Py_None
;
29127 static PyObject
*_wrap_PyControl_base_DoSetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29128 PyObject
*resultobj
;
29129 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29132 PyObject
* obj0
= 0 ;
29133 PyObject
* obj1
= 0 ;
29134 PyObject
* obj2
= 0 ;
29135 char *kwnames
[] = {
29136 (char *) "self",(char *) "width",(char *) "height", NULL
29139 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControl_base_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29140 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29141 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29142 arg2
= (int) SWIG_AsInt(obj1
);
29143 if (PyErr_Occurred()) SWIG_fail
;
29144 arg3
= (int) SWIG_AsInt(obj2
);
29145 if (PyErr_Occurred()) SWIG_fail
;
29147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29148 (arg1
)->base_DoSetClientSize(arg2
,arg3
);
29150 wxPyEndAllowThreads(__tstate
);
29151 if (PyErr_Occurred()) SWIG_fail
;
29153 Py_INCREF(Py_None
); resultobj
= Py_None
;
29160 static PyObject
*_wrap_PyControl_base_DoSetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29161 PyObject
*resultobj
;
29162 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29165 PyObject
* obj0
= 0 ;
29166 PyObject
* obj1
= 0 ;
29167 PyObject
* obj2
= 0 ;
29168 char *kwnames
[] = {
29169 (char *) "self",(char *) "x",(char *) "y", NULL
29172 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControl_base_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29173 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29174 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29175 arg2
= (int) SWIG_AsInt(obj1
);
29176 if (PyErr_Occurred()) SWIG_fail
;
29177 arg3
= (int) SWIG_AsInt(obj2
);
29178 if (PyErr_Occurred()) SWIG_fail
;
29180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29181 (arg1
)->base_DoSetVirtualSize(arg2
,arg3
);
29183 wxPyEndAllowThreads(__tstate
);
29184 if (PyErr_Occurred()) SWIG_fail
;
29186 Py_INCREF(Py_None
); resultobj
= Py_None
;
29193 static PyObject
*_wrap_PyControl_base_DoGetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29194 PyObject
*resultobj
;
29195 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29196 int *arg2
= (int *) 0 ;
29197 int *arg3
= (int *) 0 ;
29200 PyObject
* obj0
= 0 ;
29201 char *kwnames
[] = {
29202 (char *) "self", NULL
29207 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetSize",kwnames
,&obj0
)) goto fail
;
29208 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29209 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29212 ((wxPyControl
const *)arg1
)->base_DoGetSize(arg2
,arg3
);
29214 wxPyEndAllowThreads(__tstate
);
29215 if (PyErr_Occurred()) SWIG_fail
;
29217 Py_INCREF(Py_None
); resultobj
= Py_None
;
29219 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
29220 resultobj
= t_output_helper(resultobj
,o
);
29223 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
29224 resultobj
= t_output_helper(resultobj
,o
);
29232 static PyObject
*_wrap_PyControl_base_DoGetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29233 PyObject
*resultobj
;
29234 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29235 int *arg2
= (int *) 0 ;
29236 int *arg3
= (int *) 0 ;
29239 PyObject
* obj0
= 0 ;
29240 char *kwnames
[] = {
29241 (char *) "self", NULL
29246 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetClientSize",kwnames
,&obj0
)) goto fail
;
29247 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29248 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29251 ((wxPyControl
const *)arg1
)->base_DoGetClientSize(arg2
,arg3
);
29253 wxPyEndAllowThreads(__tstate
);
29254 if (PyErr_Occurred()) SWIG_fail
;
29256 Py_INCREF(Py_None
); resultobj
= Py_None
;
29258 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
29259 resultobj
= t_output_helper(resultobj
,o
);
29262 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
29263 resultobj
= t_output_helper(resultobj
,o
);
29271 static PyObject
*_wrap_PyControl_base_DoGetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29272 PyObject
*resultobj
;
29273 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29274 int *arg2
= (int *) 0 ;
29275 int *arg3
= (int *) 0 ;
29278 PyObject
* obj0
= 0 ;
29279 char *kwnames
[] = {
29280 (char *) "self", NULL
29285 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetPosition",kwnames
,&obj0
)) goto fail
;
29286 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29287 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29290 ((wxPyControl
const *)arg1
)->base_DoGetPosition(arg2
,arg3
);
29292 wxPyEndAllowThreads(__tstate
);
29293 if (PyErr_Occurred()) SWIG_fail
;
29295 Py_INCREF(Py_None
); resultobj
= Py_None
;
29297 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
29298 resultobj
= t_output_helper(resultobj
,o
);
29301 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
29302 resultobj
= t_output_helper(resultobj
,o
);
29310 static PyObject
*_wrap_PyControl_base_DoGetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29311 PyObject
*resultobj
;
29312 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29314 PyObject
* obj0
= 0 ;
29315 char *kwnames
[] = {
29316 (char *) "self", NULL
29319 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetVirtualSize",kwnames
,&obj0
)) goto fail
;
29320 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29321 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29324 result
= ((wxPyControl
const *)arg1
)->base_DoGetVirtualSize();
29326 wxPyEndAllowThreads(__tstate
);
29327 if (PyErr_Occurred()) SWIG_fail
;
29330 wxSize
* resultptr
;
29331 resultptr
= new wxSize((wxSize
&) result
);
29332 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
29340 static PyObject
*_wrap_PyControl_base_DoGetBestSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29341 PyObject
*resultobj
;
29342 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29344 PyObject
* obj0
= 0 ;
29345 char *kwnames
[] = {
29346 (char *) "self", NULL
29349 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetBestSize",kwnames
,&obj0
)) goto fail
;
29350 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29351 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29354 result
= ((wxPyControl
const *)arg1
)->base_DoGetBestSize();
29356 wxPyEndAllowThreads(__tstate
);
29357 if (PyErr_Occurred()) SWIG_fail
;
29360 wxSize
* resultptr
;
29361 resultptr
= new wxSize((wxSize
&) result
);
29362 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
29370 static PyObject
*_wrap_PyControl_base_InitDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29371 PyObject
*resultobj
;
29372 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29373 PyObject
* obj0
= 0 ;
29374 char *kwnames
[] = {
29375 (char *) "self", NULL
29378 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_InitDialog",kwnames
,&obj0
)) goto fail
;
29379 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29380 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29383 (arg1
)->base_InitDialog();
29385 wxPyEndAllowThreads(__tstate
);
29386 if (PyErr_Occurred()) SWIG_fail
;
29388 Py_INCREF(Py_None
); resultobj
= Py_None
;
29395 static PyObject
*_wrap_PyControl_base_TransferDataToWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29396 PyObject
*resultobj
;
29397 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29399 PyObject
* obj0
= 0 ;
29400 char *kwnames
[] = {
29401 (char *) "self", NULL
29404 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_TransferDataToWindow",kwnames
,&obj0
)) goto fail
;
29405 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29406 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29409 result
= (bool)(arg1
)->base_TransferDataToWindow();
29411 wxPyEndAllowThreads(__tstate
);
29412 if (PyErr_Occurred()) SWIG_fail
;
29415 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29423 static PyObject
*_wrap_PyControl_base_TransferDataFromWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29424 PyObject
*resultobj
;
29425 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29427 PyObject
* obj0
= 0 ;
29428 char *kwnames
[] = {
29429 (char *) "self", NULL
29432 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_TransferDataFromWindow",kwnames
,&obj0
)) goto fail
;
29433 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29434 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29437 result
= (bool)(arg1
)->base_TransferDataFromWindow();
29439 wxPyEndAllowThreads(__tstate
);
29440 if (PyErr_Occurred()) SWIG_fail
;
29443 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29451 static PyObject
*_wrap_PyControl_base_Validate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29452 PyObject
*resultobj
;
29453 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29455 PyObject
* obj0
= 0 ;
29456 char *kwnames
[] = {
29457 (char *) "self", NULL
29460 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_Validate",kwnames
,&obj0
)) goto fail
;
29461 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29462 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29465 result
= (bool)(arg1
)->base_Validate();
29467 wxPyEndAllowThreads(__tstate
);
29468 if (PyErr_Occurred()) SWIG_fail
;
29471 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29479 static PyObject
*_wrap_PyControl_base_AcceptsFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29480 PyObject
*resultobj
;
29481 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29483 PyObject
* obj0
= 0 ;
29484 char *kwnames
[] = {
29485 (char *) "self", NULL
29488 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_AcceptsFocus",kwnames
,&obj0
)) goto fail
;
29489 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29490 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29493 result
= (bool)((wxPyControl
const *)arg1
)->base_AcceptsFocus();
29495 wxPyEndAllowThreads(__tstate
);
29496 if (PyErr_Occurred()) SWIG_fail
;
29499 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29507 static PyObject
*_wrap_PyControl_base_AcceptsFocusFromKeyboard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29508 PyObject
*resultobj
;
29509 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29511 PyObject
* obj0
= 0 ;
29512 char *kwnames
[] = {
29513 (char *) "self", NULL
29516 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_AcceptsFocusFromKeyboard",kwnames
,&obj0
)) goto fail
;
29517 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29518 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29521 result
= (bool)((wxPyControl
const *)arg1
)->base_AcceptsFocusFromKeyboard();
29523 wxPyEndAllowThreads(__tstate
);
29524 if (PyErr_Occurred()) SWIG_fail
;
29527 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29535 static PyObject
*_wrap_PyControl_base_GetMaxSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29536 PyObject
*resultobj
;
29537 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29539 PyObject
* obj0
= 0 ;
29540 char *kwnames
[] = {
29541 (char *) "self", NULL
29544 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_GetMaxSize",kwnames
,&obj0
)) goto fail
;
29545 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29546 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29549 result
= ((wxPyControl
const *)arg1
)->base_GetMaxSize();
29551 wxPyEndAllowThreads(__tstate
);
29552 if (PyErr_Occurred()) SWIG_fail
;
29555 wxSize
* resultptr
;
29556 resultptr
= new wxSize((wxSize
&) result
);
29557 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
29565 static PyObject
*_wrap_PyControl_base_AddChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29566 PyObject
*resultobj
;
29567 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29568 wxWindow
*arg2
= (wxWindow
*) 0 ;
29569 PyObject
* obj0
= 0 ;
29570 PyObject
* obj1
= 0 ;
29571 char *kwnames
[] = {
29572 (char *) "self",(char *) "child", NULL
29575 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControl_base_AddChild",kwnames
,&obj0
,&obj1
)) goto fail
;
29576 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29577 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29578 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
29579 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29582 (arg1
)->base_AddChild(arg2
);
29584 wxPyEndAllowThreads(__tstate
);
29585 if (PyErr_Occurred()) SWIG_fail
;
29587 Py_INCREF(Py_None
); resultobj
= Py_None
;
29594 static PyObject
*_wrap_PyControl_base_RemoveChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29595 PyObject
*resultobj
;
29596 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29597 wxWindow
*arg2
= (wxWindow
*) 0 ;
29598 PyObject
* obj0
= 0 ;
29599 PyObject
* obj1
= 0 ;
29600 char *kwnames
[] = {
29601 (char *) "self",(char *) "child", NULL
29604 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControl_base_RemoveChild",kwnames
,&obj0
,&obj1
)) goto fail
;
29605 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29606 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29607 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
29608 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29611 (arg1
)->base_RemoveChild(arg2
);
29613 wxPyEndAllowThreads(__tstate
);
29614 if (PyErr_Occurred()) SWIG_fail
;
29616 Py_INCREF(Py_None
); resultobj
= Py_None
;
29623 static PyObject
*_wrap_PyControl_base_ShouldInheritColours(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29624 PyObject
*resultobj
;
29625 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29627 PyObject
* obj0
= 0 ;
29628 char *kwnames
[] = {
29629 (char *) "self", NULL
29632 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_ShouldInheritColours",kwnames
,&obj0
)) goto fail
;
29633 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29634 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29637 result
= (bool)((wxPyControl
const *)arg1
)->base_ShouldInheritColours();
29639 wxPyEndAllowThreads(__tstate
);
29640 if (PyErr_Occurred()) SWIG_fail
;
29643 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29651 static PyObject
*_wrap_PyControl_base_ApplyParentThemeBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29652 PyObject
*resultobj
;
29653 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29654 wxColour
*arg2
= 0 ;
29656 PyObject
* obj0
= 0 ;
29657 PyObject
* obj1
= 0 ;
29658 char *kwnames
[] = {
29659 (char *) "self",(char *) "c", NULL
29662 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControl_base_ApplyParentThemeBackground",kwnames
,&obj0
,&obj1
)) goto fail
;
29663 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29664 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29667 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
29670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29671 (arg1
)->base_ApplyParentThemeBackground((wxColour
const &)*arg2
);
29673 wxPyEndAllowThreads(__tstate
);
29674 if (PyErr_Occurred()) SWIG_fail
;
29676 Py_INCREF(Py_None
); resultobj
= Py_None
;
29683 static PyObject
*_wrap_PyControl_base_GetDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29684 PyObject
*resultobj
;
29685 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29686 wxVisualAttributes result
;
29687 PyObject
* obj0
= 0 ;
29688 char *kwnames
[] = {
29689 (char *) "self", NULL
29692 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_GetDefaultAttributes",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
= (arg1
)->base_GetDefaultAttributes();
29699 wxPyEndAllowThreads(__tstate
);
29700 if (PyErr_Occurred()) SWIG_fail
;
29703 wxVisualAttributes
* resultptr
;
29704 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
29705 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
29713 static PyObject
* PyControl_swigregister(PyObject
*self
, PyObject
*args
) {
29715 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
29716 SWIG_TypeClientData(SWIGTYPE_p_wxPyControl
, obj
);
29718 return Py_BuildValue((char *)"");
29720 static PyObject
*_wrap_new_HelpEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29721 PyObject
*resultobj
;
29722 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
29723 int arg2
= (int) 0 ;
29724 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
29725 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
29726 wxHelpEvent
*result
;
29728 PyObject
* obj0
= 0 ;
29729 PyObject
* obj1
= 0 ;
29730 PyObject
* obj2
= 0 ;
29731 char *kwnames
[] = {
29732 (char *) "type",(char *) "winid",(char *) "pt", NULL
29735 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_HelpEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29737 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
29738 if (PyErr_Occurred()) SWIG_fail
;
29741 arg2
= (int) SWIG_AsInt(obj1
);
29742 if (PyErr_Occurred()) SWIG_fail
;
29747 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
29751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29752 result
= (wxHelpEvent
*)new wxHelpEvent(arg1
,arg2
,(wxPoint
const &)*arg3
);
29754 wxPyEndAllowThreads(__tstate
);
29755 if (PyErr_Occurred()) SWIG_fail
;
29757 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHelpEvent
, 1);
29764 static PyObject
*_wrap_HelpEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29765 PyObject
*resultobj
;
29766 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
29768 PyObject
* obj0
= 0 ;
29769 char *kwnames
[] = {
29770 (char *) "self", NULL
29773 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
29774 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpEvent
,
29775 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29778 result
= ((wxHelpEvent
const *)arg1
)->GetPosition();
29780 wxPyEndAllowThreads(__tstate
);
29781 if (PyErr_Occurred()) SWIG_fail
;
29784 wxPoint
* resultptr
;
29785 resultptr
= new wxPoint((wxPoint
&) result
);
29786 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
29794 static PyObject
*_wrap_HelpEvent_SetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29795 PyObject
*resultobj
;
29796 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
29797 wxPoint
*arg2
= 0 ;
29799 PyObject
* obj0
= 0 ;
29800 PyObject
* obj1
= 0 ;
29801 char *kwnames
[] = {
29802 (char *) "self",(char *) "pos", NULL
29805 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
29806 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpEvent
,
29807 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29810 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
29813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29814 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
29816 wxPyEndAllowThreads(__tstate
);
29817 if (PyErr_Occurred()) SWIG_fail
;
29819 Py_INCREF(Py_None
); resultobj
= Py_None
;
29826 static PyObject
*_wrap_HelpEvent_GetLink(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29827 PyObject
*resultobj
;
29828 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
29830 PyObject
* obj0
= 0 ;
29831 char *kwnames
[] = {
29832 (char *) "self", NULL
29835 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpEvent_GetLink",kwnames
,&obj0
)) goto fail
;
29836 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpEvent
,
29837 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29841 wxString
const &_result_ref
= ((wxHelpEvent
const *)arg1
)->GetLink();
29842 result
= (wxString
*) &_result_ref
;
29845 wxPyEndAllowThreads(__tstate
);
29846 if (PyErr_Occurred()) SWIG_fail
;
29850 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
29852 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
29861 static PyObject
*_wrap_HelpEvent_SetLink(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29862 PyObject
*resultobj
;
29863 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
29864 wxString
*arg2
= 0 ;
29865 bool temp2
= False
;
29866 PyObject
* obj0
= 0 ;
29867 PyObject
* obj1
= 0 ;
29868 char *kwnames
[] = {
29869 (char *) "self",(char *) "link", NULL
29872 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetLink",kwnames
,&obj0
,&obj1
)) goto fail
;
29873 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpEvent
,
29874 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29876 arg2
= wxString_in_helper(obj1
);
29877 if (arg2
== NULL
) SWIG_fail
;
29881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29882 (arg1
)->SetLink((wxString
const &)*arg2
);
29884 wxPyEndAllowThreads(__tstate
);
29885 if (PyErr_Occurred()) SWIG_fail
;
29887 Py_INCREF(Py_None
); resultobj
= Py_None
;
29902 static PyObject
*_wrap_HelpEvent_GetTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29903 PyObject
*resultobj
;
29904 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
29906 PyObject
* obj0
= 0 ;
29907 char *kwnames
[] = {
29908 (char *) "self", NULL
29911 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpEvent_GetTarget",kwnames
,&obj0
)) goto fail
;
29912 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpEvent
,
29913 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29917 wxString
const &_result_ref
= ((wxHelpEvent
const *)arg1
)->GetTarget();
29918 result
= (wxString
*) &_result_ref
;
29921 wxPyEndAllowThreads(__tstate
);
29922 if (PyErr_Occurred()) SWIG_fail
;
29926 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
29928 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
29937 static PyObject
*_wrap_HelpEvent_SetTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29938 PyObject
*resultobj
;
29939 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
29940 wxString
*arg2
= 0 ;
29941 bool temp2
= False
;
29942 PyObject
* obj0
= 0 ;
29943 PyObject
* obj1
= 0 ;
29944 char *kwnames
[] = {
29945 (char *) "self",(char *) "target", NULL
29948 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetTarget",kwnames
,&obj0
,&obj1
)) goto fail
;
29949 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpEvent
,
29950 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29952 arg2
= wxString_in_helper(obj1
);
29953 if (arg2
== NULL
) SWIG_fail
;
29957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29958 (arg1
)->SetTarget((wxString
const &)*arg2
);
29960 wxPyEndAllowThreads(__tstate
);
29961 if (PyErr_Occurred()) SWIG_fail
;
29963 Py_INCREF(Py_None
); resultobj
= Py_None
;
29978 static PyObject
* HelpEvent_swigregister(PyObject
*self
, PyObject
*args
) {
29980 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
29981 SWIG_TypeClientData(SWIGTYPE_p_wxHelpEvent
, obj
);
29983 return Py_BuildValue((char *)"");
29985 static PyObject
*_wrap_new_ContextHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29986 PyObject
*resultobj
;
29987 wxWindow
*arg1
= (wxWindow
*) NULL
;
29988 bool arg2
= (bool) True
;
29989 wxContextHelp
*result
;
29990 PyObject
* obj0
= 0 ;
29991 PyObject
* obj1
= 0 ;
29992 char *kwnames
[] = {
29993 (char *) "window",(char *) "doNow", NULL
29996 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_ContextHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
29998 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
29999 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30002 arg2
= (bool) SWIG_AsBool(obj1
);
30003 if (PyErr_Occurred()) SWIG_fail
;
30006 if (!wxPyCheckForApp()) SWIG_fail
;
30007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30008 result
= (wxContextHelp
*)new wxContextHelp(arg1
,arg2
);
30010 wxPyEndAllowThreads(__tstate
);
30011 if (PyErr_Occurred()) SWIG_fail
;
30013 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxContextHelp
, 1);
30020 static PyObject
*_wrap_delete_ContextHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30021 PyObject
*resultobj
;
30022 wxContextHelp
*arg1
= (wxContextHelp
*) 0 ;
30023 PyObject
* obj0
= 0 ;
30024 char *kwnames
[] = {
30025 (char *) "self", NULL
30028 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ContextHelp",kwnames
,&obj0
)) goto fail
;
30029 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxContextHelp
,
30030 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30035 wxPyEndAllowThreads(__tstate
);
30036 if (PyErr_Occurred()) SWIG_fail
;
30038 Py_INCREF(Py_None
); resultobj
= Py_None
;
30045 static PyObject
*_wrap_ContextHelp_BeginContextHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30046 PyObject
*resultobj
;
30047 wxContextHelp
*arg1
= (wxContextHelp
*) 0 ;
30048 wxWindow
*arg2
= (wxWindow
*) NULL
;
30050 PyObject
* obj0
= 0 ;
30051 PyObject
* obj1
= 0 ;
30052 char *kwnames
[] = {
30053 (char *) "self",(char *) "window", NULL
30056 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ContextHelp_BeginContextHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
30057 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxContextHelp
,
30058 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30060 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
30061 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30065 result
= (bool)(arg1
)->BeginContextHelp(arg2
);
30067 wxPyEndAllowThreads(__tstate
);
30068 if (PyErr_Occurred()) SWIG_fail
;
30071 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30079 static PyObject
*_wrap_ContextHelp_EndContextHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30080 PyObject
*resultobj
;
30081 wxContextHelp
*arg1
= (wxContextHelp
*) 0 ;
30083 PyObject
* obj0
= 0 ;
30084 char *kwnames
[] = {
30085 (char *) "self", NULL
30088 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ContextHelp_EndContextHelp",kwnames
,&obj0
)) goto fail
;
30089 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxContextHelp
,
30090 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30093 result
= (bool)(arg1
)->EndContextHelp();
30095 wxPyEndAllowThreads(__tstate
);
30096 if (PyErr_Occurred()) SWIG_fail
;
30099 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30107 static PyObject
* ContextHelp_swigregister(PyObject
*self
, PyObject
*args
) {
30109 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
30110 SWIG_TypeClientData(SWIGTYPE_p_wxContextHelp
, obj
);
30112 return Py_BuildValue((char *)"");
30114 static PyObject
*_wrap_new_ContextHelpButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30115 PyObject
*resultobj
;
30116 wxWindow
*arg1
= (wxWindow
*) 0 ;
30117 int arg2
= (int) wxID_CONTEXT_HELP
;
30118 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
30119 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
30120 wxSize
const &arg4_defvalue
= wxDefaultSize
;
30121 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
30122 long arg5
= (long) wxBU_AUTODRAW
;
30123 wxContextHelpButton
*result
;
30126 PyObject
* obj0
= 0 ;
30127 PyObject
* obj1
= 0 ;
30128 PyObject
* obj2
= 0 ;
30129 PyObject
* obj3
= 0 ;
30130 PyObject
* obj4
= 0 ;
30131 char *kwnames
[] = {
30132 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
30135 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:new_ContextHelpButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
30136 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
30137 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30139 arg2
= (int) SWIG_AsInt(obj1
);
30140 if (PyErr_Occurred()) SWIG_fail
;
30145 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
30151 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
30155 arg5
= (long) SWIG_AsLong(obj4
);
30156 if (PyErr_Occurred()) SWIG_fail
;
30159 if (!wxPyCheckForApp()) SWIG_fail
;
30160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30161 result
= (wxContextHelpButton
*)new wxContextHelpButton(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
);
30163 wxPyEndAllowThreads(__tstate
);
30164 if (PyErr_Occurred()) SWIG_fail
;
30166 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxContextHelpButton
, 1);
30173 static PyObject
* ContextHelpButton_swigregister(PyObject
*self
, PyObject
*args
) {
30175 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
30176 SWIG_TypeClientData(SWIGTYPE_p_wxContextHelpButton
, obj
);
30178 return Py_BuildValue((char *)"");
30180 static PyObject
*_wrap_HelpProvider_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30181 PyObject
*resultobj
;
30182 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
30183 wxHelpProvider
*result
;
30184 PyObject
* obj0
= 0 ;
30185 char *kwnames
[] = {
30186 (char *) "helpProvider", NULL
30189 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpProvider_Set",kwnames
,&obj0
)) goto fail
;
30190 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpProvider
,
30191 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30194 result
= (wxHelpProvider
*)wxHelpProvider::Set(arg1
);
30196 wxPyEndAllowThreads(__tstate
);
30197 if (PyErr_Occurred()) SWIG_fail
;
30199 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHelpProvider
, 0);
30206 static PyObject
*_wrap_HelpProvider_Get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30207 PyObject
*resultobj
;
30208 wxHelpProvider
*result
;
30209 char *kwnames
[] = {
30213 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":HelpProvider_Get",kwnames
)) goto fail
;
30215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30216 result
= (wxHelpProvider
*)wxHelpProvider::Get();
30218 wxPyEndAllowThreads(__tstate
);
30219 if (PyErr_Occurred()) SWIG_fail
;
30221 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHelpProvider
, 0);
30228 static PyObject
*_wrap_HelpProvider_GetHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30229 PyObject
*resultobj
;
30230 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
30231 wxWindow
*arg2
= (wxWindow
*) 0 ;
30233 PyObject
* obj0
= 0 ;
30234 PyObject
* obj1
= 0 ;
30235 char *kwnames
[] = {
30236 (char *) "self",(char *) "window", NULL
30239 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpProvider_GetHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
30240 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpProvider
,
30241 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30242 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
30243 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30246 result
= (arg1
)->GetHelp((wxWindow
const *)arg2
);
30248 wxPyEndAllowThreads(__tstate
);
30249 if (PyErr_Occurred()) SWIG_fail
;
30253 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
30255 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
30264 static PyObject
*_wrap_HelpProvider_ShowHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30265 PyObject
*resultobj
;
30266 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
30267 wxWindow
*arg2
= (wxWindow
*) 0 ;
30269 PyObject
* obj0
= 0 ;
30270 PyObject
* obj1
= 0 ;
30271 char *kwnames
[] = {
30272 (char *) "self",(char *) "window", NULL
30275 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpProvider_ShowHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
30276 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpProvider
,
30277 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30278 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
30279 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30282 result
= (bool)(arg1
)->ShowHelp(arg2
);
30284 wxPyEndAllowThreads(__tstate
);
30285 if (PyErr_Occurred()) SWIG_fail
;
30288 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30296 static PyObject
*_wrap_HelpProvider_AddHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30297 PyObject
*resultobj
;
30298 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
30299 wxWindow
*arg2
= (wxWindow
*) 0 ;
30300 wxString
*arg3
= 0 ;
30301 bool temp3
= False
;
30302 PyObject
* obj0
= 0 ;
30303 PyObject
* obj1
= 0 ;
30304 PyObject
* obj2
= 0 ;
30305 char *kwnames
[] = {
30306 (char *) "self",(char *) "window",(char *) "text", NULL
30309 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HelpProvider_AddHelp",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30310 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpProvider
,
30311 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30312 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
30313 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30315 arg3
= wxString_in_helper(obj2
);
30316 if (arg3
== NULL
) SWIG_fail
;
30320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30321 (arg1
)->AddHelp(arg2
,(wxString
const &)*arg3
);
30323 wxPyEndAllowThreads(__tstate
);
30324 if (PyErr_Occurred()) SWIG_fail
;
30326 Py_INCREF(Py_None
); resultobj
= Py_None
;
30341 static PyObject
*_wrap_HelpProvider_AddHelpById(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30342 PyObject
*resultobj
;
30343 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
30345 wxString
*arg3
= 0 ;
30346 bool temp3
= False
;
30347 PyObject
* obj0
= 0 ;
30348 PyObject
* obj1
= 0 ;
30349 PyObject
* obj2
= 0 ;
30350 char *kwnames
[] = {
30351 (char *) "self",(char *) "id",(char *) "text", NULL
30354 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HelpProvider_AddHelpById",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30355 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpProvider
,
30356 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30357 arg2
= (int) SWIG_AsInt(obj1
);
30358 if (PyErr_Occurred()) SWIG_fail
;
30360 arg3
= wxString_in_helper(obj2
);
30361 if (arg3
== NULL
) SWIG_fail
;
30365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30366 (arg1
)->AddHelp(arg2
,(wxString
const &)*arg3
);
30368 wxPyEndAllowThreads(__tstate
);
30369 if (PyErr_Occurred()) SWIG_fail
;
30371 Py_INCREF(Py_None
); resultobj
= Py_None
;
30386 static PyObject
*_wrap_HelpProvider_RemoveHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30387 PyObject
*resultobj
;
30388 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
30389 wxWindow
*arg2
= (wxWindow
*) 0 ;
30390 PyObject
* obj0
= 0 ;
30391 PyObject
* obj1
= 0 ;
30392 char *kwnames
[] = {
30393 (char *) "self",(char *) "window", NULL
30396 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpProvider_RemoveHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
30397 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpProvider
,
30398 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30399 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
30400 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30403 (arg1
)->RemoveHelp(arg2
);
30405 wxPyEndAllowThreads(__tstate
);
30406 if (PyErr_Occurred()) SWIG_fail
;
30408 Py_INCREF(Py_None
); resultobj
= Py_None
;
30415 static PyObject
*_wrap_HelpProvider_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30416 PyObject
*resultobj
;
30417 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
30418 PyObject
* obj0
= 0 ;
30419 char *kwnames
[] = {
30420 (char *) "self", NULL
30423 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpProvider_Destroy",kwnames
,&obj0
)) goto fail
;
30424 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpProvider
,
30425 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30428 wxHelpProvider_Destroy(arg1
);
30430 wxPyEndAllowThreads(__tstate
);
30431 if (PyErr_Occurred()) SWIG_fail
;
30433 Py_INCREF(Py_None
); resultobj
= Py_None
;
30440 static PyObject
* HelpProvider_swigregister(PyObject
*self
, PyObject
*args
) {
30442 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
30443 SWIG_TypeClientData(SWIGTYPE_p_wxHelpProvider
, obj
);
30445 return Py_BuildValue((char *)"");
30447 static PyObject
*_wrap_new_SimpleHelpProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30448 PyObject
*resultobj
;
30449 wxSimpleHelpProvider
*result
;
30450 char *kwnames
[] = {
30454 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_SimpleHelpProvider",kwnames
)) goto fail
;
30456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30457 result
= (wxSimpleHelpProvider
*)new wxSimpleHelpProvider();
30459 wxPyEndAllowThreads(__tstate
);
30460 if (PyErr_Occurred()) SWIG_fail
;
30462 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSimpleHelpProvider
, 1);
30469 static PyObject
* SimpleHelpProvider_swigregister(PyObject
*self
, PyObject
*args
) {
30471 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
30472 SWIG_TypeClientData(SWIGTYPE_p_wxSimpleHelpProvider
, obj
);
30474 return Py_BuildValue((char *)"");
30476 static PyObject
*_wrap_new_DragImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30477 PyObject
*resultobj
;
30478 wxBitmap
*arg1
= 0 ;
30479 wxCursor
const &arg2_defvalue
= wxNullCursor
;
30480 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
30481 wxGenericDragImage
*result
;
30482 PyObject
* obj0
= 0 ;
30483 PyObject
* obj1
= 0 ;
30484 char *kwnames
[] = {
30485 (char *) "image",(char *) "cursor", NULL
30488 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragImage",kwnames
,&obj0
,&obj1
)) goto fail
;
30489 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
30490 SWIG_POINTER_EXCEPTION
| 0)) == -1)
30492 if (arg1
== NULL
) {
30493 PyErr_SetString(PyExc_TypeError
,"null reference");
30497 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxCursor
,
30498 SWIG_POINTER_EXCEPTION
| 0)) == -1)
30500 if (arg2
== NULL
) {
30501 PyErr_SetString(PyExc_TypeError
,"null reference");
30506 if (!wxPyCheckForApp()) SWIG_fail
;
30507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30508 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxBitmap
const &)*arg1
,(wxCursor
const &)*arg2
);
30510 wxPyEndAllowThreads(__tstate
);
30511 if (PyErr_Occurred()) SWIG_fail
;
30513 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDragImage
, 1);
30520 static PyObject
*_wrap_new_DragIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30521 PyObject
*resultobj
;
30523 wxCursor
const &arg2_defvalue
= wxNullCursor
;
30524 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
30525 wxGenericDragImage
*result
;
30526 PyObject
* obj0
= 0 ;
30527 PyObject
* obj1
= 0 ;
30528 char *kwnames
[] = {
30529 (char *) "image",(char *) "cursor", NULL
30532 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
30533 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
30534 SWIG_POINTER_EXCEPTION
| 0)) == -1)
30536 if (arg1
== NULL
) {
30537 PyErr_SetString(PyExc_TypeError
,"null reference");
30541 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxCursor
,
30542 SWIG_POINTER_EXCEPTION
| 0)) == -1)
30544 if (arg2
== NULL
) {
30545 PyErr_SetString(PyExc_TypeError
,"null reference");
30550 if (!wxPyCheckForApp()) SWIG_fail
;
30551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30552 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxIcon
const &)*arg1
,(wxCursor
const &)*arg2
);
30554 wxPyEndAllowThreads(__tstate
);
30555 if (PyErr_Occurred()) SWIG_fail
;
30557 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDragImage
, 1);
30564 static PyObject
*_wrap_new_DragString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30565 PyObject
*resultobj
;
30566 wxString
*arg1
= 0 ;
30567 wxCursor
const &arg2_defvalue
= wxNullCursor
;
30568 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
30569 wxGenericDragImage
*result
;
30570 bool temp1
= False
;
30571 PyObject
* obj0
= 0 ;
30572 PyObject
* obj1
= 0 ;
30573 char *kwnames
[] = {
30574 (char *) "str",(char *) "cursor", NULL
30577 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragString",kwnames
,&obj0
,&obj1
)) goto fail
;
30579 arg1
= wxString_in_helper(obj0
);
30580 if (arg1
== NULL
) SWIG_fail
;
30584 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxCursor
,
30585 SWIG_POINTER_EXCEPTION
| 0)) == -1)
30587 if (arg2
== NULL
) {
30588 PyErr_SetString(PyExc_TypeError
,"null reference");
30593 if (!wxPyCheckForApp()) SWIG_fail
;
30594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30595 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxString
const &)*arg1
,(wxCursor
const &)*arg2
);
30597 wxPyEndAllowThreads(__tstate
);
30598 if (PyErr_Occurred()) SWIG_fail
;
30600 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDragImage
, 1);
30615 static PyObject
*_wrap_new_DragTreeItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30616 PyObject
*resultobj
;
30617 wxPyTreeCtrl
*arg1
= 0 ;
30618 wxTreeItemId
*arg2
= 0 ;
30619 wxGenericDragImage
*result
;
30620 PyObject
* obj0
= 0 ;
30621 PyObject
* obj1
= 0 ;
30622 char *kwnames
[] = {
30623 (char *) "treeCtrl",(char *) "id", NULL
30626 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_DragTreeItem",kwnames
,&obj0
,&obj1
)) goto fail
;
30627 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
30628 SWIG_POINTER_EXCEPTION
| 0)) == -1)
30630 if (arg1
== NULL
) {
30631 PyErr_SetString(PyExc_TypeError
,"null reference");
30634 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
30635 SWIG_POINTER_EXCEPTION
| 0)) == -1)
30637 if (arg2
== NULL
) {
30638 PyErr_SetString(PyExc_TypeError
,"null reference");
30642 if (!wxPyCheckForApp()) SWIG_fail
;
30643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30644 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxPyTreeCtrl
const &)*arg1
,*arg2
);
30646 wxPyEndAllowThreads(__tstate
);
30647 if (PyErr_Occurred()) SWIG_fail
;
30649 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDragImage
, 1);
30656 static PyObject
*_wrap_new_DragListItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30657 PyObject
*resultobj
;
30658 wxPyListCtrl
*arg1
= 0 ;
30660 wxGenericDragImage
*result
;
30661 PyObject
* obj0
= 0 ;
30662 PyObject
* obj1
= 0 ;
30663 char *kwnames
[] = {
30664 (char *) "listCtrl",(char *) "id", NULL
30667 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_DragListItem",kwnames
,&obj0
,&obj1
)) goto fail
;
30668 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
30669 SWIG_POINTER_EXCEPTION
| 0)) == -1)
30671 if (arg1
== NULL
) {
30672 PyErr_SetString(PyExc_TypeError
,"null reference");
30675 arg2
= (long) SWIG_AsLong(obj1
);
30676 if (PyErr_Occurred()) SWIG_fail
;
30678 if (!wxPyCheckForApp()) SWIG_fail
;
30679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30680 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxPyListCtrl
const &)*arg1
,arg2
);
30682 wxPyEndAllowThreads(__tstate
);
30683 if (PyErr_Occurred()) SWIG_fail
;
30685 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDragImage
, 1);
30692 static PyObject
*_wrap_delete_DragImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30693 PyObject
*resultobj
;
30694 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
30695 PyObject
* obj0
= 0 ;
30696 char *kwnames
[] = {
30697 (char *) "self", NULL
30700 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DragImage",kwnames
,&obj0
)) goto fail
;
30701 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
30702 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30707 wxPyEndAllowThreads(__tstate
);
30708 if (PyErr_Occurred()) SWIG_fail
;
30710 Py_INCREF(Py_None
); resultobj
= Py_None
;
30717 static PyObject
*_wrap_DragImage_SetBackingBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30718 PyObject
*resultobj
;
30719 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
30720 wxBitmap
*arg2
= (wxBitmap
*) 0 ;
30721 PyObject
* obj0
= 0 ;
30722 PyObject
* obj1
= 0 ;
30723 char *kwnames
[] = {
30724 (char *) "self",(char *) "bitmap", NULL
30727 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_SetBackingBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
30728 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
30729 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30730 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
30731 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30734 (arg1
)->SetBackingBitmap(arg2
);
30736 wxPyEndAllowThreads(__tstate
);
30737 if (PyErr_Occurred()) SWIG_fail
;
30739 Py_INCREF(Py_None
); resultobj
= Py_None
;
30746 static PyObject
*_wrap_DragImage_BeginDrag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30747 PyObject
*resultobj
;
30748 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
30749 wxPoint
*arg2
= 0 ;
30750 wxWindow
*arg3
= (wxWindow
*) 0 ;
30751 bool arg4
= (bool) False
;
30752 wxRect
*arg5
= (wxRect
*) NULL
;
30755 PyObject
* obj0
= 0 ;
30756 PyObject
* obj1
= 0 ;
30757 PyObject
* obj2
= 0 ;
30758 PyObject
* obj3
= 0 ;
30759 PyObject
* obj4
= 0 ;
30760 char *kwnames
[] = {
30761 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "fullScreen",(char *) "rect", NULL
30764 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:DragImage_BeginDrag",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
30765 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
30766 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30769 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
30771 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
30772 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30774 arg4
= (bool) SWIG_AsBool(obj3
);
30775 if (PyErr_Occurred()) SWIG_fail
;
30778 if ((SWIG_ConvertPtr(obj4
,(void **)(&arg5
),SWIGTYPE_p_wxRect
,
30779 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30783 result
= (bool)(arg1
)->BeginDrag((wxPoint
const &)*arg2
,arg3
,arg4
,arg5
);
30785 wxPyEndAllowThreads(__tstate
);
30786 if (PyErr_Occurred()) SWIG_fail
;
30789 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30797 static PyObject
*_wrap_DragImage_BeginDragBounded(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30798 PyObject
*resultobj
;
30799 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
30800 wxPoint
*arg2
= 0 ;
30801 wxWindow
*arg3
= (wxWindow
*) 0 ;
30802 wxWindow
*arg4
= (wxWindow
*) 0 ;
30805 PyObject
* obj0
= 0 ;
30806 PyObject
* obj1
= 0 ;
30807 PyObject
* obj2
= 0 ;
30808 PyObject
* obj3
= 0 ;
30809 char *kwnames
[] = {
30810 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "boundingWindow", NULL
30813 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DragImage_BeginDragBounded",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
30814 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
30815 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30818 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
30820 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
30821 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30822 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxWindow
,
30823 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30826 result
= (bool)(arg1
)->BeginDrag((wxPoint
const &)*arg2
,arg3
,arg4
);
30828 wxPyEndAllowThreads(__tstate
);
30829 if (PyErr_Occurred()) SWIG_fail
;
30832 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30840 static PyObject
*_wrap_DragImage_EndDrag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30841 PyObject
*resultobj
;
30842 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
30844 PyObject
* obj0
= 0 ;
30845 char *kwnames
[] = {
30846 (char *) "self", NULL
30849 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DragImage_EndDrag",kwnames
,&obj0
)) goto fail
;
30850 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
30851 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30854 result
= (bool)(arg1
)->EndDrag();
30856 wxPyEndAllowThreads(__tstate
);
30857 if (PyErr_Occurred()) SWIG_fail
;
30860 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30868 static PyObject
*_wrap_DragImage_Move(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30869 PyObject
*resultobj
;
30870 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
30871 wxPoint
*arg2
= 0 ;
30874 PyObject
* obj0
= 0 ;
30875 PyObject
* obj1
= 0 ;
30876 char *kwnames
[] = {
30877 (char *) "self",(char *) "pt", NULL
30880 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_Move",kwnames
,&obj0
,&obj1
)) goto fail
;
30881 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
30882 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30885 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
30888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30889 result
= (bool)(arg1
)->Move((wxPoint
const &)*arg2
);
30891 wxPyEndAllowThreads(__tstate
);
30892 if (PyErr_Occurred()) SWIG_fail
;
30895 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30903 static PyObject
*_wrap_DragImage_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30904 PyObject
*resultobj
;
30905 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
30907 PyObject
* obj0
= 0 ;
30908 char *kwnames
[] = {
30909 (char *) "self", NULL
30912 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DragImage_Show",kwnames
,&obj0
)) goto fail
;
30913 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
30914 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30917 result
= (bool)(arg1
)->Show();
30919 wxPyEndAllowThreads(__tstate
);
30920 if (PyErr_Occurred()) SWIG_fail
;
30923 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30931 static PyObject
*_wrap_DragImage_Hide(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30932 PyObject
*resultobj
;
30933 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
30935 PyObject
* obj0
= 0 ;
30936 char *kwnames
[] = {
30937 (char *) "self", NULL
30940 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DragImage_Hide",kwnames
,&obj0
)) goto fail
;
30941 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
30942 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30945 result
= (bool)(arg1
)->Hide();
30947 wxPyEndAllowThreads(__tstate
);
30948 if (PyErr_Occurred()) SWIG_fail
;
30951 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30959 static PyObject
*_wrap_DragImage_GetImageRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30960 PyObject
*resultobj
;
30961 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
30962 wxPoint
*arg2
= 0 ;
30965 PyObject
* obj0
= 0 ;
30966 PyObject
* obj1
= 0 ;
30967 char *kwnames
[] = {
30968 (char *) "self",(char *) "pos", NULL
30971 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_GetImageRect",kwnames
,&obj0
,&obj1
)) goto fail
;
30972 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
30973 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30976 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
30979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30980 result
= ((wxGenericDragImage
const *)arg1
)->GetImageRect((wxPoint
const &)*arg2
);
30982 wxPyEndAllowThreads(__tstate
);
30983 if (PyErr_Occurred()) SWIG_fail
;
30986 wxRect
* resultptr
;
30987 resultptr
= new wxRect((wxRect
&) result
);
30988 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
30996 static PyObject
*_wrap_DragImage_DoDrawImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30997 PyObject
*resultobj
;
30998 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
31000 wxPoint
*arg3
= 0 ;
31003 PyObject
* obj0
= 0 ;
31004 PyObject
* obj1
= 0 ;
31005 PyObject
* obj2
= 0 ;
31006 char *kwnames
[] = {
31007 (char *) "self",(char *) "dc",(char *) "pos", NULL
31010 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DragImage_DoDrawImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
31011 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
31012 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31013 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
31014 SWIG_POINTER_EXCEPTION
| 0)) == -1)
31016 if (arg2
== NULL
) {
31017 PyErr_SetString(PyExc_TypeError
,"null reference");
31022 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
31025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31026 result
= (bool)((wxGenericDragImage
const *)arg1
)->DoDrawImage(*arg2
,(wxPoint
const &)*arg3
);
31028 wxPyEndAllowThreads(__tstate
);
31029 if (PyErr_Occurred()) SWIG_fail
;
31032 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31040 static PyObject
*_wrap_DragImage_UpdateBackingFromWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31041 PyObject
*resultobj
;
31042 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
31044 wxMemoryDC
*arg3
= 0 ;
31050 PyObject
* obj0
= 0 ;
31051 PyObject
* obj1
= 0 ;
31052 PyObject
* obj2
= 0 ;
31053 PyObject
* obj3
= 0 ;
31054 PyObject
* obj4
= 0 ;
31055 char *kwnames
[] = {
31056 (char *) "self",(char *) "windowDC",(char *) "destDC",(char *) "sourceRect",(char *) "destRect", NULL
31059 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DragImage_UpdateBackingFromWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
31060 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
31061 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31062 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
31063 SWIG_POINTER_EXCEPTION
| 0)) == -1)
31065 if (arg2
== NULL
) {
31066 PyErr_SetString(PyExc_TypeError
,"null reference");
31069 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxMemoryDC
,
31070 SWIG_POINTER_EXCEPTION
| 0)) == -1)
31072 if (arg3
== NULL
) {
31073 PyErr_SetString(PyExc_TypeError
,"null reference");
31078 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
31082 if ( ! wxRect_helper(obj4
, &arg5
)) SWIG_fail
;
31085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31086 result
= (bool)((wxGenericDragImage
const *)arg1
)->UpdateBackingFromWindow(*arg2
,*arg3
,(wxRect
const &)*arg4
,(wxRect
const &)*arg5
);
31088 wxPyEndAllowThreads(__tstate
);
31089 if (PyErr_Occurred()) SWIG_fail
;
31092 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31100 static PyObject
*_wrap_DragImage_RedrawImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31101 PyObject
*resultobj
;
31102 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
31103 wxPoint
*arg2
= 0 ;
31104 wxPoint
*arg3
= 0 ;
31110 PyObject
* obj0
= 0 ;
31111 PyObject
* obj1
= 0 ;
31112 PyObject
* obj2
= 0 ;
31113 PyObject
* obj3
= 0 ;
31114 PyObject
* obj4
= 0 ;
31115 char *kwnames
[] = {
31116 (char *) "self",(char *) "oldPos",(char *) "newPos",(char *) "eraseOld",(char *) "drawNew", NULL
31119 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DragImage_RedrawImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
31120 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
31121 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31124 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
31128 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
31130 arg4
= (bool) SWIG_AsBool(obj3
);
31131 if (PyErr_Occurred()) SWIG_fail
;
31132 arg5
= (bool) SWIG_AsBool(obj4
);
31133 if (PyErr_Occurred()) SWIG_fail
;
31135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31136 result
= (bool)(arg1
)->RedrawImage((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
,arg5
);
31138 wxPyEndAllowThreads(__tstate
);
31139 if (PyErr_Occurred()) SWIG_fail
;
31142 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31150 static PyObject
* DragImage_swigregister(PyObject
*self
, PyObject
*args
) {
31152 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
31153 SWIG_TypeClientData(SWIGTYPE_p_wxGenericDragImage
, obj
);
31155 return Py_BuildValue((char *)"");
31157 static PyMethodDef SwigMethods
[] = {
31158 { (char *)"new_Button", (PyCFunction
) _wrap_new_Button
, METH_VARARGS
| METH_KEYWORDS
},
31159 { (char *)"new_PreButton", (PyCFunction
) _wrap_new_PreButton
, METH_VARARGS
| METH_KEYWORDS
},
31160 { (char *)"Button_Create", (PyCFunction
) _wrap_Button_Create
, METH_VARARGS
| METH_KEYWORDS
},
31161 { (char *)"Button_SetDefault", (PyCFunction
) _wrap_Button_SetDefault
, METH_VARARGS
| METH_KEYWORDS
},
31162 { (char *)"Button_GetDefaultSize", (PyCFunction
) _wrap_Button_GetDefaultSize
, METH_VARARGS
| METH_KEYWORDS
},
31163 { (char *)"Button_GetClassDefaultAttributes", (PyCFunction
) _wrap_Button_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31164 { (char *)"Button_swigregister", Button_swigregister
, METH_VARARGS
},
31165 { (char *)"new_BitmapButton", (PyCFunction
) _wrap_new_BitmapButton
, METH_VARARGS
| METH_KEYWORDS
},
31166 { (char *)"new_PreBitmapButton", (PyCFunction
) _wrap_new_PreBitmapButton
, METH_VARARGS
| METH_KEYWORDS
},
31167 { (char *)"BitmapButton_Create", (PyCFunction
) _wrap_BitmapButton_Create
, METH_VARARGS
| METH_KEYWORDS
},
31168 { (char *)"BitmapButton_GetBitmapLabel", (PyCFunction
) _wrap_BitmapButton_GetBitmapLabel
, METH_VARARGS
| METH_KEYWORDS
},
31169 { (char *)"BitmapButton_GetBitmapDisabled", (PyCFunction
) _wrap_BitmapButton_GetBitmapDisabled
, METH_VARARGS
| METH_KEYWORDS
},
31170 { (char *)"BitmapButton_GetBitmapFocus", (PyCFunction
) _wrap_BitmapButton_GetBitmapFocus
, METH_VARARGS
| METH_KEYWORDS
},
31171 { (char *)"BitmapButton_GetBitmapSelected", (PyCFunction
) _wrap_BitmapButton_GetBitmapSelected
, METH_VARARGS
| METH_KEYWORDS
},
31172 { (char *)"BitmapButton_SetBitmapDisabled", (PyCFunction
) _wrap_BitmapButton_SetBitmapDisabled
, METH_VARARGS
| METH_KEYWORDS
},
31173 { (char *)"BitmapButton_SetBitmapFocus", (PyCFunction
) _wrap_BitmapButton_SetBitmapFocus
, METH_VARARGS
| METH_KEYWORDS
},
31174 { (char *)"BitmapButton_SetBitmapSelected", (PyCFunction
) _wrap_BitmapButton_SetBitmapSelected
, METH_VARARGS
| METH_KEYWORDS
},
31175 { (char *)"BitmapButton_SetBitmapLabel", (PyCFunction
) _wrap_BitmapButton_SetBitmapLabel
, METH_VARARGS
| METH_KEYWORDS
},
31176 { (char *)"BitmapButton_SetMargins", (PyCFunction
) _wrap_BitmapButton_SetMargins
, METH_VARARGS
| METH_KEYWORDS
},
31177 { (char *)"BitmapButton_GetMarginX", (PyCFunction
) _wrap_BitmapButton_GetMarginX
, METH_VARARGS
| METH_KEYWORDS
},
31178 { (char *)"BitmapButton_GetMarginY", (PyCFunction
) _wrap_BitmapButton_GetMarginY
, METH_VARARGS
| METH_KEYWORDS
},
31179 { (char *)"BitmapButton_swigregister", BitmapButton_swigregister
, METH_VARARGS
},
31180 { (char *)"new_CheckBox", (PyCFunction
) _wrap_new_CheckBox
, METH_VARARGS
| METH_KEYWORDS
},
31181 { (char *)"new_PreCheckBox", (PyCFunction
) _wrap_new_PreCheckBox
, METH_VARARGS
| METH_KEYWORDS
},
31182 { (char *)"CheckBox_Create", (PyCFunction
) _wrap_CheckBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
31183 { (char *)"CheckBox_GetValue", (PyCFunction
) _wrap_CheckBox_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
31184 { (char *)"CheckBox_IsChecked", (PyCFunction
) _wrap_CheckBox_IsChecked
, METH_VARARGS
| METH_KEYWORDS
},
31185 { (char *)"CheckBox_SetValue", (PyCFunction
) _wrap_CheckBox_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
31186 { (char *)"CheckBox_Get3StateValue", (PyCFunction
) _wrap_CheckBox_Get3StateValue
, METH_VARARGS
| METH_KEYWORDS
},
31187 { (char *)"CheckBox_Set3StateValue", (PyCFunction
) _wrap_CheckBox_Set3StateValue
, METH_VARARGS
| METH_KEYWORDS
},
31188 { (char *)"CheckBox_Is3State", (PyCFunction
) _wrap_CheckBox_Is3State
, METH_VARARGS
| METH_KEYWORDS
},
31189 { (char *)"CheckBox_Is3rdStateAllowedForUser", (PyCFunction
) _wrap_CheckBox_Is3rdStateAllowedForUser
, METH_VARARGS
| METH_KEYWORDS
},
31190 { (char *)"CheckBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_CheckBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31191 { (char *)"CheckBox_swigregister", CheckBox_swigregister
, METH_VARARGS
},
31192 { (char *)"new_Choice", (PyCFunction
) _wrap_new_Choice
, METH_VARARGS
| METH_KEYWORDS
},
31193 { (char *)"new_PreChoice", (PyCFunction
) _wrap_new_PreChoice
, METH_VARARGS
| METH_KEYWORDS
},
31194 { (char *)"Choice_Create", (PyCFunction
) _wrap_Choice_Create
, METH_VARARGS
| METH_KEYWORDS
},
31195 { (char *)"Choice_SetSelection", (PyCFunction
) _wrap_Choice_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
31196 { (char *)"Choice_SetStringSelection", (PyCFunction
) _wrap_Choice_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
31197 { (char *)"Choice_SetString", (PyCFunction
) _wrap_Choice_SetString
, METH_VARARGS
| METH_KEYWORDS
},
31198 { (char *)"Choice_GetClassDefaultAttributes", (PyCFunction
) _wrap_Choice_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31199 { (char *)"Choice_swigregister", Choice_swigregister
, METH_VARARGS
},
31200 { (char *)"new_ComboBox", (PyCFunction
) _wrap_new_ComboBox
, METH_VARARGS
| METH_KEYWORDS
},
31201 { (char *)"new_PreComboBox", (PyCFunction
) _wrap_new_PreComboBox
, METH_VARARGS
| METH_KEYWORDS
},
31202 { (char *)"ComboBox_Create", (PyCFunction
) _wrap_ComboBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
31203 { (char *)"ComboBox_GetValue", (PyCFunction
) _wrap_ComboBox_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
31204 { (char *)"ComboBox_SetValue", (PyCFunction
) _wrap_ComboBox_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
31205 { (char *)"ComboBox_Copy", (PyCFunction
) _wrap_ComboBox_Copy
, METH_VARARGS
| METH_KEYWORDS
},
31206 { (char *)"ComboBox_Cut", (PyCFunction
) _wrap_ComboBox_Cut
, METH_VARARGS
| METH_KEYWORDS
},
31207 { (char *)"ComboBox_Paste", (PyCFunction
) _wrap_ComboBox_Paste
, METH_VARARGS
| METH_KEYWORDS
},
31208 { (char *)"ComboBox_SetInsertionPoint", (PyCFunction
) _wrap_ComboBox_SetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
},
31209 { (char *)"ComboBox_GetInsertionPoint", (PyCFunction
) _wrap_ComboBox_GetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
},
31210 { (char *)"ComboBox_GetLastPosition", (PyCFunction
) _wrap_ComboBox_GetLastPosition
, METH_VARARGS
| METH_KEYWORDS
},
31211 { (char *)"ComboBox_Replace", (PyCFunction
) _wrap_ComboBox_Replace
, METH_VARARGS
| METH_KEYWORDS
},
31212 { (char *)"ComboBox_SetSelection", (PyCFunction
) _wrap_ComboBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
31213 { (char *)"ComboBox_SetMark", (PyCFunction
) _wrap_ComboBox_SetMark
, METH_VARARGS
| METH_KEYWORDS
},
31214 { (char *)"ComboBox_SetStringSelection", (PyCFunction
) _wrap_ComboBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
31215 { (char *)"ComboBox_SetString", (PyCFunction
) _wrap_ComboBox_SetString
, METH_VARARGS
| METH_KEYWORDS
},
31216 { (char *)"ComboBox_SetEditable", (PyCFunction
) _wrap_ComboBox_SetEditable
, METH_VARARGS
| METH_KEYWORDS
},
31217 { (char *)"ComboBox_SetInsertionPointEnd", (PyCFunction
) _wrap_ComboBox_SetInsertionPointEnd
, METH_VARARGS
| METH_KEYWORDS
},
31218 { (char *)"ComboBox_Remove", (PyCFunction
) _wrap_ComboBox_Remove
, METH_VARARGS
| METH_KEYWORDS
},
31219 { (char *)"ComboBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_ComboBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31220 { (char *)"ComboBox_swigregister", ComboBox_swigregister
, METH_VARARGS
},
31221 { (char *)"new_Gauge", (PyCFunction
) _wrap_new_Gauge
, METH_VARARGS
| METH_KEYWORDS
},
31222 { (char *)"new_PreGauge", (PyCFunction
) _wrap_new_PreGauge
, METH_VARARGS
| METH_KEYWORDS
},
31223 { (char *)"Gauge_Create", (PyCFunction
) _wrap_Gauge_Create
, METH_VARARGS
| METH_KEYWORDS
},
31224 { (char *)"Gauge_SetRange", (PyCFunction
) _wrap_Gauge_SetRange
, METH_VARARGS
| METH_KEYWORDS
},
31225 { (char *)"Gauge_GetRange", (PyCFunction
) _wrap_Gauge_GetRange
, METH_VARARGS
| METH_KEYWORDS
},
31226 { (char *)"Gauge_SetValue", (PyCFunction
) _wrap_Gauge_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
31227 { (char *)"Gauge_GetValue", (PyCFunction
) _wrap_Gauge_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
31228 { (char *)"Gauge_IsVertical", (PyCFunction
) _wrap_Gauge_IsVertical
, METH_VARARGS
| METH_KEYWORDS
},
31229 { (char *)"Gauge_SetShadowWidth", (PyCFunction
) _wrap_Gauge_SetShadowWidth
, METH_VARARGS
| METH_KEYWORDS
},
31230 { (char *)"Gauge_GetShadowWidth", (PyCFunction
) _wrap_Gauge_GetShadowWidth
, METH_VARARGS
| METH_KEYWORDS
},
31231 { (char *)"Gauge_SetBezelFace", (PyCFunction
) _wrap_Gauge_SetBezelFace
, METH_VARARGS
| METH_KEYWORDS
},
31232 { (char *)"Gauge_GetBezelFace", (PyCFunction
) _wrap_Gauge_GetBezelFace
, METH_VARARGS
| METH_KEYWORDS
},
31233 { (char *)"Gauge_GetClassDefaultAttributes", (PyCFunction
) _wrap_Gauge_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31234 { (char *)"Gauge_swigregister", Gauge_swigregister
, METH_VARARGS
},
31235 { (char *)"new_StaticBox", (PyCFunction
) _wrap_new_StaticBox
, METH_VARARGS
| METH_KEYWORDS
},
31236 { (char *)"new_PreStaticBox", (PyCFunction
) _wrap_new_PreStaticBox
, METH_VARARGS
| METH_KEYWORDS
},
31237 { (char *)"StaticBox_Create", (PyCFunction
) _wrap_StaticBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
31238 { (char *)"StaticBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_StaticBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31239 { (char *)"StaticBox_swigregister", StaticBox_swigregister
, METH_VARARGS
},
31240 { (char *)"new_StaticLine", (PyCFunction
) _wrap_new_StaticLine
, METH_VARARGS
| METH_KEYWORDS
},
31241 { (char *)"new_PreStaticLine", (PyCFunction
) _wrap_new_PreStaticLine
, METH_VARARGS
| METH_KEYWORDS
},
31242 { (char *)"StaticLine_Create", (PyCFunction
) _wrap_StaticLine_Create
, METH_VARARGS
| METH_KEYWORDS
},
31243 { (char *)"StaticLine_IsVertical", (PyCFunction
) _wrap_StaticLine_IsVertical
, METH_VARARGS
| METH_KEYWORDS
},
31244 { (char *)"StaticLine_GetDefaultSize", (PyCFunction
) _wrap_StaticLine_GetDefaultSize
, METH_VARARGS
| METH_KEYWORDS
},
31245 { (char *)"StaticLine_GetClassDefaultAttributes", (PyCFunction
) _wrap_StaticLine_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31246 { (char *)"StaticLine_swigregister", StaticLine_swigregister
, METH_VARARGS
},
31247 { (char *)"new_StaticText", (PyCFunction
) _wrap_new_StaticText
, METH_VARARGS
| METH_KEYWORDS
},
31248 { (char *)"new_PreStaticText", (PyCFunction
) _wrap_new_PreStaticText
, METH_VARARGS
| METH_KEYWORDS
},
31249 { (char *)"StaticText_Create", (PyCFunction
) _wrap_StaticText_Create
, METH_VARARGS
| METH_KEYWORDS
},
31250 { (char *)"StaticText_GetClassDefaultAttributes", (PyCFunction
) _wrap_StaticText_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31251 { (char *)"StaticText_swigregister", StaticText_swigregister
, METH_VARARGS
},
31252 { (char *)"new_StaticBitmap", (PyCFunction
) _wrap_new_StaticBitmap
, METH_VARARGS
| METH_KEYWORDS
},
31253 { (char *)"new_PreStaticBitmap", (PyCFunction
) _wrap_new_PreStaticBitmap
, METH_VARARGS
| METH_KEYWORDS
},
31254 { (char *)"StaticBitmap_Create", (PyCFunction
) _wrap_StaticBitmap_Create
, METH_VARARGS
| METH_KEYWORDS
},
31255 { (char *)"StaticBitmap_GetBitmap", (PyCFunction
) _wrap_StaticBitmap_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
31256 { (char *)"StaticBitmap_SetBitmap", (PyCFunction
) _wrap_StaticBitmap_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
31257 { (char *)"StaticBitmap_SetIcon", (PyCFunction
) _wrap_StaticBitmap_SetIcon
, METH_VARARGS
| METH_KEYWORDS
},
31258 { (char *)"StaticBitmap_GetClassDefaultAttributes", (PyCFunction
) _wrap_StaticBitmap_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31259 { (char *)"StaticBitmap_swigregister", StaticBitmap_swigregister
, METH_VARARGS
},
31260 { (char *)"new_ListBox", (PyCFunction
) _wrap_new_ListBox
, METH_VARARGS
| METH_KEYWORDS
},
31261 { (char *)"new_PreListBox", (PyCFunction
) _wrap_new_PreListBox
, METH_VARARGS
| METH_KEYWORDS
},
31262 { (char *)"ListBox_Create", (PyCFunction
) _wrap_ListBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
31263 { (char *)"ListBox_Insert", (PyCFunction
) _wrap_ListBox_Insert
, METH_VARARGS
| METH_KEYWORDS
},
31264 { (char *)"ListBox_InsertItems", (PyCFunction
) _wrap_ListBox_InsertItems
, METH_VARARGS
| METH_KEYWORDS
},
31265 { (char *)"ListBox_Set", (PyCFunction
) _wrap_ListBox_Set
, METH_VARARGS
| METH_KEYWORDS
},
31266 { (char *)"ListBox_IsSelected", (PyCFunction
) _wrap_ListBox_IsSelected
, METH_VARARGS
| METH_KEYWORDS
},
31267 { (char *)"ListBox_SetSelection", (PyCFunction
) _wrap_ListBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
31268 { (char *)"ListBox_Select", (PyCFunction
) _wrap_ListBox_Select
, METH_VARARGS
| METH_KEYWORDS
},
31269 { (char *)"ListBox_Deselect", (PyCFunction
) _wrap_ListBox_Deselect
, METH_VARARGS
| METH_KEYWORDS
},
31270 { (char *)"ListBox_DeselectAll", (PyCFunction
) _wrap_ListBox_DeselectAll
, METH_VARARGS
| METH_KEYWORDS
},
31271 { (char *)"ListBox_SetStringSelection", (PyCFunction
) _wrap_ListBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
31272 { (char *)"ListBox_GetSelections", (PyCFunction
) _wrap_ListBox_GetSelections
, METH_VARARGS
| METH_KEYWORDS
},
31273 { (char *)"ListBox_SetFirstItem", (PyCFunction
) _wrap_ListBox_SetFirstItem
, METH_VARARGS
| METH_KEYWORDS
},
31274 { (char *)"ListBox_SetFirstItemStr", (PyCFunction
) _wrap_ListBox_SetFirstItemStr
, METH_VARARGS
| METH_KEYWORDS
},
31275 { (char *)"ListBox_EnsureVisible", (PyCFunction
) _wrap_ListBox_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
},
31276 { (char *)"ListBox_AppendAndEnsureVisible", (PyCFunction
) _wrap_ListBox_AppendAndEnsureVisible
, METH_VARARGS
| METH_KEYWORDS
},
31277 { (char *)"ListBox_IsSorted", (PyCFunction
) _wrap_ListBox_IsSorted
, METH_VARARGS
| METH_KEYWORDS
},
31278 { (char *)"ListBox_SetItemForegroundColour", (PyCFunction
) _wrap_ListBox_SetItemForegroundColour
, METH_VARARGS
| METH_KEYWORDS
},
31279 { (char *)"ListBox_SetItemBackgroundColour", (PyCFunction
) _wrap_ListBox_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
31280 { (char *)"ListBox_SetItemFont", (PyCFunction
) _wrap_ListBox_SetItemFont
, METH_VARARGS
| METH_KEYWORDS
},
31281 { (char *)"ListBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_ListBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31282 { (char *)"ListBox_swigregister", ListBox_swigregister
, METH_VARARGS
},
31283 { (char *)"new_CheckListBox", (PyCFunction
) _wrap_new_CheckListBox
, METH_VARARGS
| METH_KEYWORDS
},
31284 { (char *)"new_PreCheckListBox", (PyCFunction
) _wrap_new_PreCheckListBox
, METH_VARARGS
| METH_KEYWORDS
},
31285 { (char *)"CheckListBox_Create", (PyCFunction
) _wrap_CheckListBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
31286 { (char *)"CheckListBox_IsChecked", (PyCFunction
) _wrap_CheckListBox_IsChecked
, METH_VARARGS
| METH_KEYWORDS
},
31287 { (char *)"CheckListBox_Check", (PyCFunction
) _wrap_CheckListBox_Check
, METH_VARARGS
| METH_KEYWORDS
},
31288 { (char *)"CheckListBox_HitTest", (PyCFunction
) _wrap_CheckListBox_HitTest
, METH_VARARGS
| METH_KEYWORDS
},
31289 { (char *)"CheckListBox_HitTestXY", (PyCFunction
) _wrap_CheckListBox_HitTestXY
, METH_VARARGS
| METH_KEYWORDS
},
31290 { (char *)"CheckListBox_swigregister", CheckListBox_swigregister
, METH_VARARGS
},
31291 { (char *)"new_TextAttr", (PyCFunction
) _wrap_new_TextAttr
, METH_VARARGS
| METH_KEYWORDS
},
31292 { (char *)"delete_TextAttr", (PyCFunction
) _wrap_delete_TextAttr
, METH_VARARGS
| METH_KEYWORDS
},
31293 { (char *)"TextAttr_Init", (PyCFunction
) _wrap_TextAttr_Init
, METH_VARARGS
| METH_KEYWORDS
},
31294 { (char *)"TextAttr_SetTextColour", (PyCFunction
) _wrap_TextAttr_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
31295 { (char *)"TextAttr_SetBackgroundColour", (PyCFunction
) _wrap_TextAttr_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
31296 { (char *)"TextAttr_SetFont", (PyCFunction
) _wrap_TextAttr_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
31297 { (char *)"TextAttr_SetAlignment", (PyCFunction
) _wrap_TextAttr_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
},
31298 { (char *)"TextAttr_SetTabs", (PyCFunction
) _wrap_TextAttr_SetTabs
, METH_VARARGS
| METH_KEYWORDS
},
31299 { (char *)"TextAttr_SetLeftIndent", (PyCFunction
) _wrap_TextAttr_SetLeftIndent
, METH_VARARGS
| METH_KEYWORDS
},
31300 { (char *)"TextAttr_SetRightIndent", (PyCFunction
) _wrap_TextAttr_SetRightIndent
, METH_VARARGS
| METH_KEYWORDS
},
31301 { (char *)"TextAttr_SetFlags", (PyCFunction
) _wrap_TextAttr_SetFlags
, METH_VARARGS
| METH_KEYWORDS
},
31302 { (char *)"TextAttr_HasTextColour", (PyCFunction
) _wrap_TextAttr_HasTextColour
, METH_VARARGS
| METH_KEYWORDS
},
31303 { (char *)"TextAttr_HasBackgroundColour", (PyCFunction
) _wrap_TextAttr_HasBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
31304 { (char *)"TextAttr_HasFont", (PyCFunction
) _wrap_TextAttr_HasFont
, METH_VARARGS
| METH_KEYWORDS
},
31305 { (char *)"TextAttr_HasAlignment", (PyCFunction
) _wrap_TextAttr_HasAlignment
, METH_VARARGS
| METH_KEYWORDS
},
31306 { (char *)"TextAttr_HasTabs", (PyCFunction
) _wrap_TextAttr_HasTabs
, METH_VARARGS
| METH_KEYWORDS
},
31307 { (char *)"TextAttr_HasLeftIndent", (PyCFunction
) _wrap_TextAttr_HasLeftIndent
, METH_VARARGS
| METH_KEYWORDS
},
31308 { (char *)"TextAttr_HasRightIndent", (PyCFunction
) _wrap_TextAttr_HasRightIndent
, METH_VARARGS
| METH_KEYWORDS
},
31309 { (char *)"TextAttr_HasFlag", (PyCFunction
) _wrap_TextAttr_HasFlag
, METH_VARARGS
| METH_KEYWORDS
},
31310 { (char *)"TextAttr_GetTextColour", (PyCFunction
) _wrap_TextAttr_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
31311 { (char *)"TextAttr_GetBackgroundColour", (PyCFunction
) _wrap_TextAttr_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
31312 { (char *)"TextAttr_GetFont", (PyCFunction
) _wrap_TextAttr_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
31313 { (char *)"TextAttr_GetAlignment", (PyCFunction
) _wrap_TextAttr_GetAlignment
, METH_VARARGS
| METH_KEYWORDS
},
31314 { (char *)"TextAttr_GetTabs", (PyCFunction
) _wrap_TextAttr_GetTabs
, METH_VARARGS
| METH_KEYWORDS
},
31315 { (char *)"TextAttr_GetLeftIndent", (PyCFunction
) _wrap_TextAttr_GetLeftIndent
, METH_VARARGS
| METH_KEYWORDS
},
31316 { (char *)"TextAttr_GetLeftSubIndent", (PyCFunction
) _wrap_TextAttr_GetLeftSubIndent
, METH_VARARGS
| METH_KEYWORDS
},
31317 { (char *)"TextAttr_GetRightIndent", (PyCFunction
) _wrap_TextAttr_GetRightIndent
, METH_VARARGS
| METH_KEYWORDS
},
31318 { (char *)"TextAttr_GetFlags", (PyCFunction
) _wrap_TextAttr_GetFlags
, METH_VARARGS
| METH_KEYWORDS
},
31319 { (char *)"TextAttr_IsDefault", (PyCFunction
) _wrap_TextAttr_IsDefault
, METH_VARARGS
| METH_KEYWORDS
},
31320 { (char *)"TextAttr_Combine", (PyCFunction
) _wrap_TextAttr_Combine
, METH_VARARGS
| METH_KEYWORDS
},
31321 { (char *)"TextAttr_swigregister", TextAttr_swigregister
, METH_VARARGS
},
31322 { (char *)"new_TextCtrl", (PyCFunction
) _wrap_new_TextCtrl
, METH_VARARGS
| METH_KEYWORDS
},
31323 { (char *)"new_PreTextCtrl", (PyCFunction
) _wrap_new_PreTextCtrl
, METH_VARARGS
| METH_KEYWORDS
},
31324 { (char *)"TextCtrl_Create", (PyCFunction
) _wrap_TextCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
},
31325 { (char *)"TextCtrl_GetValue", (PyCFunction
) _wrap_TextCtrl_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
31326 { (char *)"TextCtrl_SetValue", (PyCFunction
) _wrap_TextCtrl_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
31327 { (char *)"TextCtrl_GetRange", (PyCFunction
) _wrap_TextCtrl_GetRange
, METH_VARARGS
| METH_KEYWORDS
},
31328 { (char *)"TextCtrl_GetLineLength", (PyCFunction
) _wrap_TextCtrl_GetLineLength
, METH_VARARGS
| METH_KEYWORDS
},
31329 { (char *)"TextCtrl_GetLineText", (PyCFunction
) _wrap_TextCtrl_GetLineText
, METH_VARARGS
| METH_KEYWORDS
},
31330 { (char *)"TextCtrl_GetNumberOfLines", (PyCFunction
) _wrap_TextCtrl_GetNumberOfLines
, METH_VARARGS
| METH_KEYWORDS
},
31331 { (char *)"TextCtrl_IsModified", (PyCFunction
) _wrap_TextCtrl_IsModified
, METH_VARARGS
| METH_KEYWORDS
},
31332 { (char *)"TextCtrl_IsEditable", (PyCFunction
) _wrap_TextCtrl_IsEditable
, METH_VARARGS
| METH_KEYWORDS
},
31333 { (char *)"TextCtrl_IsSingleLine", (PyCFunction
) _wrap_TextCtrl_IsSingleLine
, METH_VARARGS
| METH_KEYWORDS
},
31334 { (char *)"TextCtrl_IsMultiLine", (PyCFunction
) _wrap_TextCtrl_IsMultiLine
, METH_VARARGS
| METH_KEYWORDS
},
31335 { (char *)"TextCtrl_GetSelection", (PyCFunction
) _wrap_TextCtrl_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
31336 { (char *)"TextCtrl_GetStringSelection", (PyCFunction
) _wrap_TextCtrl_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
31337 { (char *)"TextCtrl_Clear", (PyCFunction
) _wrap_TextCtrl_Clear
, METH_VARARGS
| METH_KEYWORDS
},
31338 { (char *)"TextCtrl_Replace", (PyCFunction
) _wrap_TextCtrl_Replace
, METH_VARARGS
| METH_KEYWORDS
},
31339 { (char *)"TextCtrl_Remove", (PyCFunction
) _wrap_TextCtrl_Remove
, METH_VARARGS
| METH_KEYWORDS
},
31340 { (char *)"TextCtrl_LoadFile", (PyCFunction
) _wrap_TextCtrl_LoadFile
, METH_VARARGS
| METH_KEYWORDS
},
31341 { (char *)"TextCtrl_SaveFile", (PyCFunction
) _wrap_TextCtrl_SaveFile
, METH_VARARGS
| METH_KEYWORDS
},
31342 { (char *)"TextCtrl_MarkDirty", (PyCFunction
) _wrap_TextCtrl_MarkDirty
, METH_VARARGS
| METH_KEYWORDS
},
31343 { (char *)"TextCtrl_DiscardEdits", (PyCFunction
) _wrap_TextCtrl_DiscardEdits
, METH_VARARGS
| METH_KEYWORDS
},
31344 { (char *)"TextCtrl_SetMaxLength", (PyCFunction
) _wrap_TextCtrl_SetMaxLength
, METH_VARARGS
| METH_KEYWORDS
},
31345 { (char *)"TextCtrl_WriteText", (PyCFunction
) _wrap_TextCtrl_WriteText
, METH_VARARGS
| METH_KEYWORDS
},
31346 { (char *)"TextCtrl_AppendText", (PyCFunction
) _wrap_TextCtrl_AppendText
, METH_VARARGS
| METH_KEYWORDS
},
31347 { (char *)"TextCtrl_EmulateKeyPress", (PyCFunction
) _wrap_TextCtrl_EmulateKeyPress
, METH_VARARGS
| METH_KEYWORDS
},
31348 { (char *)"TextCtrl_SetStyle", (PyCFunction
) _wrap_TextCtrl_SetStyle
, METH_VARARGS
| METH_KEYWORDS
},
31349 { (char *)"TextCtrl_GetStyle", (PyCFunction
) _wrap_TextCtrl_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
31350 { (char *)"TextCtrl_SetDefaultStyle", (PyCFunction
) _wrap_TextCtrl_SetDefaultStyle
, METH_VARARGS
| METH_KEYWORDS
},
31351 { (char *)"TextCtrl_GetDefaultStyle", (PyCFunction
) _wrap_TextCtrl_GetDefaultStyle
, METH_VARARGS
| METH_KEYWORDS
},
31352 { (char *)"TextCtrl_XYToPosition", (PyCFunction
) _wrap_TextCtrl_XYToPosition
, METH_VARARGS
| METH_KEYWORDS
},
31353 { (char *)"TextCtrl_PositionToXY", (PyCFunction
) _wrap_TextCtrl_PositionToXY
, METH_VARARGS
| METH_KEYWORDS
},
31354 { (char *)"TextCtrl_ShowPosition", (PyCFunction
) _wrap_TextCtrl_ShowPosition
, METH_VARARGS
| METH_KEYWORDS
},
31355 { (char *)"TextCtrl_HitTest", (PyCFunction
) _wrap_TextCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
},
31356 { (char *)"TextCtrl_Copy", (PyCFunction
) _wrap_TextCtrl_Copy
, METH_VARARGS
| METH_KEYWORDS
},
31357 { (char *)"TextCtrl_Cut", (PyCFunction
) _wrap_TextCtrl_Cut
, METH_VARARGS
| METH_KEYWORDS
},
31358 { (char *)"TextCtrl_Paste", (PyCFunction
) _wrap_TextCtrl_Paste
, METH_VARARGS
| METH_KEYWORDS
},
31359 { (char *)"TextCtrl_CanCopy", (PyCFunction
) _wrap_TextCtrl_CanCopy
, METH_VARARGS
| METH_KEYWORDS
},
31360 { (char *)"TextCtrl_CanCut", (PyCFunction
) _wrap_TextCtrl_CanCut
, METH_VARARGS
| METH_KEYWORDS
},
31361 { (char *)"TextCtrl_CanPaste", (PyCFunction
) _wrap_TextCtrl_CanPaste
, METH_VARARGS
| METH_KEYWORDS
},
31362 { (char *)"TextCtrl_Undo", (PyCFunction
) _wrap_TextCtrl_Undo
, METH_VARARGS
| METH_KEYWORDS
},
31363 { (char *)"TextCtrl_Redo", (PyCFunction
) _wrap_TextCtrl_Redo
, METH_VARARGS
| METH_KEYWORDS
},
31364 { (char *)"TextCtrl_CanUndo", (PyCFunction
) _wrap_TextCtrl_CanUndo
, METH_VARARGS
| METH_KEYWORDS
},
31365 { (char *)"TextCtrl_CanRedo", (PyCFunction
) _wrap_TextCtrl_CanRedo
, METH_VARARGS
| METH_KEYWORDS
},
31366 { (char *)"TextCtrl_SetInsertionPoint", (PyCFunction
) _wrap_TextCtrl_SetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
},
31367 { (char *)"TextCtrl_SetInsertionPointEnd", (PyCFunction
) _wrap_TextCtrl_SetInsertionPointEnd
, METH_VARARGS
| METH_KEYWORDS
},
31368 { (char *)"TextCtrl_GetInsertionPoint", (PyCFunction
) _wrap_TextCtrl_GetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
},
31369 { (char *)"TextCtrl_GetLastPosition", (PyCFunction
) _wrap_TextCtrl_GetLastPosition
, METH_VARARGS
| METH_KEYWORDS
},
31370 { (char *)"TextCtrl_SetSelection", (PyCFunction
) _wrap_TextCtrl_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
31371 { (char *)"TextCtrl_SelectAll", (PyCFunction
) _wrap_TextCtrl_SelectAll
, METH_VARARGS
| METH_KEYWORDS
},
31372 { (char *)"TextCtrl_SetEditable", (PyCFunction
) _wrap_TextCtrl_SetEditable
, METH_VARARGS
| METH_KEYWORDS
},
31373 { (char *)"TextCtrl_write", (PyCFunction
) _wrap_TextCtrl_write
, METH_VARARGS
| METH_KEYWORDS
},
31374 { (char *)"TextCtrl_GetString", (PyCFunction
) _wrap_TextCtrl_GetString
, METH_VARARGS
| METH_KEYWORDS
},
31375 { (char *)"TextCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_TextCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31376 { (char *)"TextCtrl_swigregister", TextCtrl_swigregister
, METH_VARARGS
},
31377 { (char *)"new_TextUrlEvent", (PyCFunction
) _wrap_new_TextUrlEvent
, METH_VARARGS
| METH_KEYWORDS
},
31378 { (char *)"TextUrlEvent_GetMouseEvent", (PyCFunction
) _wrap_TextUrlEvent_GetMouseEvent
, METH_VARARGS
| METH_KEYWORDS
},
31379 { (char *)"TextUrlEvent_GetURLStart", (PyCFunction
) _wrap_TextUrlEvent_GetURLStart
, METH_VARARGS
| METH_KEYWORDS
},
31380 { (char *)"TextUrlEvent_GetURLEnd", (PyCFunction
) _wrap_TextUrlEvent_GetURLEnd
, METH_VARARGS
| METH_KEYWORDS
},
31381 { (char *)"TextUrlEvent_swigregister", TextUrlEvent_swigregister
, METH_VARARGS
},
31382 { (char *)"new_ScrollBar", (PyCFunction
) _wrap_new_ScrollBar
, METH_VARARGS
| METH_KEYWORDS
},
31383 { (char *)"new_PreScrollBar", (PyCFunction
) _wrap_new_PreScrollBar
, METH_VARARGS
| METH_KEYWORDS
},
31384 { (char *)"ScrollBar_Create", (PyCFunction
) _wrap_ScrollBar_Create
, METH_VARARGS
| METH_KEYWORDS
},
31385 { (char *)"ScrollBar_GetThumbPosition", (PyCFunction
) _wrap_ScrollBar_GetThumbPosition
, METH_VARARGS
| METH_KEYWORDS
},
31386 { (char *)"ScrollBar_GetThumbSize", (PyCFunction
) _wrap_ScrollBar_GetThumbSize
, METH_VARARGS
| METH_KEYWORDS
},
31387 { (char *)"ScrollBar_GetPageSize", (PyCFunction
) _wrap_ScrollBar_GetPageSize
, METH_VARARGS
| METH_KEYWORDS
},
31388 { (char *)"ScrollBar_GetRange", (PyCFunction
) _wrap_ScrollBar_GetRange
, METH_VARARGS
| METH_KEYWORDS
},
31389 { (char *)"ScrollBar_IsVertical", (PyCFunction
) _wrap_ScrollBar_IsVertical
, METH_VARARGS
| METH_KEYWORDS
},
31390 { (char *)"ScrollBar_SetThumbPosition", (PyCFunction
) _wrap_ScrollBar_SetThumbPosition
, METH_VARARGS
| METH_KEYWORDS
},
31391 { (char *)"ScrollBar_SetScrollbar", (PyCFunction
) _wrap_ScrollBar_SetScrollbar
, METH_VARARGS
| METH_KEYWORDS
},
31392 { (char *)"ScrollBar_GetClassDefaultAttributes", (PyCFunction
) _wrap_ScrollBar_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31393 { (char *)"ScrollBar_swigregister", ScrollBar_swigregister
, METH_VARARGS
},
31394 { (char *)"new_SpinButton", (PyCFunction
) _wrap_new_SpinButton
, METH_VARARGS
| METH_KEYWORDS
},
31395 { (char *)"new_PreSpinButton", (PyCFunction
) _wrap_new_PreSpinButton
, METH_VARARGS
| METH_KEYWORDS
},
31396 { (char *)"SpinButton_Create", (PyCFunction
) _wrap_SpinButton_Create
, METH_VARARGS
| METH_KEYWORDS
},
31397 { (char *)"SpinButton_GetValue", (PyCFunction
) _wrap_SpinButton_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
31398 { (char *)"SpinButton_GetMin", (PyCFunction
) _wrap_SpinButton_GetMin
, METH_VARARGS
| METH_KEYWORDS
},
31399 { (char *)"SpinButton_GetMax", (PyCFunction
) _wrap_SpinButton_GetMax
, METH_VARARGS
| METH_KEYWORDS
},
31400 { (char *)"SpinButton_SetValue", (PyCFunction
) _wrap_SpinButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
31401 { (char *)"SpinButton_SetMin", (PyCFunction
) _wrap_SpinButton_SetMin
, METH_VARARGS
| METH_KEYWORDS
},
31402 { (char *)"SpinButton_SetMax", (PyCFunction
) _wrap_SpinButton_SetMax
, METH_VARARGS
| METH_KEYWORDS
},
31403 { (char *)"SpinButton_SetRange", (PyCFunction
) _wrap_SpinButton_SetRange
, METH_VARARGS
| METH_KEYWORDS
},
31404 { (char *)"SpinButton_IsVertical", (PyCFunction
) _wrap_SpinButton_IsVertical
, METH_VARARGS
| METH_KEYWORDS
},
31405 { (char *)"SpinButton_GetClassDefaultAttributes", (PyCFunction
) _wrap_SpinButton_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31406 { (char *)"SpinButton_swigregister", SpinButton_swigregister
, METH_VARARGS
},
31407 { (char *)"new_SpinCtrl", (PyCFunction
) _wrap_new_SpinCtrl
, METH_VARARGS
| METH_KEYWORDS
},
31408 { (char *)"new_PreSpinCtrl", (PyCFunction
) _wrap_new_PreSpinCtrl
, METH_VARARGS
| METH_KEYWORDS
},
31409 { (char *)"SpinCtrl_Create", (PyCFunction
) _wrap_SpinCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
},
31410 { (char *)"SpinCtrl_GetValue", (PyCFunction
) _wrap_SpinCtrl_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
31411 { (char *)"SpinCtrl_SetValue", (PyCFunction
) _wrap_SpinCtrl_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
31412 { (char *)"SpinCtrl_SetValueString", (PyCFunction
) _wrap_SpinCtrl_SetValueString
, METH_VARARGS
| METH_KEYWORDS
},
31413 { (char *)"SpinCtrl_SetRange", (PyCFunction
) _wrap_SpinCtrl_SetRange
, METH_VARARGS
| METH_KEYWORDS
},
31414 { (char *)"SpinCtrl_GetMin", (PyCFunction
) _wrap_SpinCtrl_GetMin
, METH_VARARGS
| METH_KEYWORDS
},
31415 { (char *)"SpinCtrl_GetMax", (PyCFunction
) _wrap_SpinCtrl_GetMax
, METH_VARARGS
| METH_KEYWORDS
},
31416 { (char *)"SpinCtrl_SetSelection", (PyCFunction
) _wrap_SpinCtrl_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
31417 { (char *)"SpinCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_SpinCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31418 { (char *)"SpinCtrl_swigregister", SpinCtrl_swigregister
, METH_VARARGS
},
31419 { (char *)"new_SpinEvent", (PyCFunction
) _wrap_new_SpinEvent
, METH_VARARGS
| METH_KEYWORDS
},
31420 { (char *)"SpinEvent_GetPosition", (PyCFunction
) _wrap_SpinEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
31421 { (char *)"SpinEvent_SetPosition", (PyCFunction
) _wrap_SpinEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
},
31422 { (char *)"SpinEvent_swigregister", SpinEvent_swigregister
, METH_VARARGS
},
31423 { (char *)"new_RadioBox", (PyCFunction
) _wrap_new_RadioBox
, METH_VARARGS
| METH_KEYWORDS
},
31424 { (char *)"new_PreRadioBox", (PyCFunction
) _wrap_new_PreRadioBox
, METH_VARARGS
| METH_KEYWORDS
},
31425 { (char *)"RadioBox_Create", (PyCFunction
) _wrap_RadioBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
31426 { (char *)"RadioBox_SetSelection", (PyCFunction
) _wrap_RadioBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
31427 { (char *)"RadioBox_GetSelection", (PyCFunction
) _wrap_RadioBox_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
31428 { (char *)"RadioBox_GetStringSelection", (PyCFunction
) _wrap_RadioBox_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
31429 { (char *)"RadioBox_SetStringSelection", (PyCFunction
) _wrap_RadioBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
31430 { (char *)"RadioBox_GetCount", (PyCFunction
) _wrap_RadioBox_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
31431 { (char *)"RadioBox_FindString", (PyCFunction
) _wrap_RadioBox_FindString
, METH_VARARGS
| METH_KEYWORDS
},
31432 { (char *)"RadioBox_GetString", (PyCFunction
) _wrap_RadioBox_GetString
, METH_VARARGS
| METH_KEYWORDS
},
31433 { (char *)"RadioBox_SetString", (PyCFunction
) _wrap_RadioBox_SetString
, METH_VARARGS
| METH_KEYWORDS
},
31434 { (char *)"RadioBox_EnableItem", (PyCFunction
) _wrap_RadioBox_EnableItem
, METH_VARARGS
| METH_KEYWORDS
},
31435 { (char *)"RadioBox_ShowItem", (PyCFunction
) _wrap_RadioBox_ShowItem
, METH_VARARGS
| METH_KEYWORDS
},
31436 { (char *)"RadioBox_GetColumnCount", (PyCFunction
) _wrap_RadioBox_GetColumnCount
, METH_VARARGS
| METH_KEYWORDS
},
31437 { (char *)"RadioBox_GetRowCount", (PyCFunction
) _wrap_RadioBox_GetRowCount
, METH_VARARGS
| METH_KEYWORDS
},
31438 { (char *)"RadioBox_GetNextItem", (PyCFunction
) _wrap_RadioBox_GetNextItem
, METH_VARARGS
| METH_KEYWORDS
},
31439 { (char *)"RadioBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_RadioBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31440 { (char *)"RadioBox_swigregister", RadioBox_swigregister
, METH_VARARGS
},
31441 { (char *)"new_RadioButton", (PyCFunction
) _wrap_new_RadioButton
, METH_VARARGS
| METH_KEYWORDS
},
31442 { (char *)"new_PreRadioButton", (PyCFunction
) _wrap_new_PreRadioButton
, METH_VARARGS
| METH_KEYWORDS
},
31443 { (char *)"RadioButton_Create", (PyCFunction
) _wrap_RadioButton_Create
, METH_VARARGS
| METH_KEYWORDS
},
31444 { (char *)"RadioButton_GetValue", (PyCFunction
) _wrap_RadioButton_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
31445 { (char *)"RadioButton_SetValue", (PyCFunction
) _wrap_RadioButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
31446 { (char *)"RadioButton_GetClassDefaultAttributes", (PyCFunction
) _wrap_RadioButton_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31447 { (char *)"RadioButton_swigregister", RadioButton_swigregister
, METH_VARARGS
},
31448 { (char *)"new_Slider", (PyCFunction
) _wrap_new_Slider
, METH_VARARGS
| METH_KEYWORDS
},
31449 { (char *)"new_PreSlider", (PyCFunction
) _wrap_new_PreSlider
, METH_VARARGS
| METH_KEYWORDS
},
31450 { (char *)"Slider_Create", (PyCFunction
) _wrap_Slider_Create
, METH_VARARGS
| METH_KEYWORDS
},
31451 { (char *)"Slider_GetValue", (PyCFunction
) _wrap_Slider_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
31452 { (char *)"Slider_SetValue", (PyCFunction
) _wrap_Slider_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
31453 { (char *)"Slider_SetRange", (PyCFunction
) _wrap_Slider_SetRange
, METH_VARARGS
| METH_KEYWORDS
},
31454 { (char *)"Slider_GetMin", (PyCFunction
) _wrap_Slider_GetMin
, METH_VARARGS
| METH_KEYWORDS
},
31455 { (char *)"Slider_GetMax", (PyCFunction
) _wrap_Slider_GetMax
, METH_VARARGS
| METH_KEYWORDS
},
31456 { (char *)"Slider_SetMin", (PyCFunction
) _wrap_Slider_SetMin
, METH_VARARGS
| METH_KEYWORDS
},
31457 { (char *)"Slider_SetMax", (PyCFunction
) _wrap_Slider_SetMax
, METH_VARARGS
| METH_KEYWORDS
},
31458 { (char *)"Slider_SetLineSize", (PyCFunction
) _wrap_Slider_SetLineSize
, METH_VARARGS
| METH_KEYWORDS
},
31459 { (char *)"Slider_SetPageSize", (PyCFunction
) _wrap_Slider_SetPageSize
, METH_VARARGS
| METH_KEYWORDS
},
31460 { (char *)"Slider_GetLineSize", (PyCFunction
) _wrap_Slider_GetLineSize
, METH_VARARGS
| METH_KEYWORDS
},
31461 { (char *)"Slider_GetPageSize", (PyCFunction
) _wrap_Slider_GetPageSize
, METH_VARARGS
| METH_KEYWORDS
},
31462 { (char *)"Slider_SetThumbLength", (PyCFunction
) _wrap_Slider_SetThumbLength
, METH_VARARGS
| METH_KEYWORDS
},
31463 { (char *)"Slider_GetThumbLength", (PyCFunction
) _wrap_Slider_GetThumbLength
, METH_VARARGS
| METH_KEYWORDS
},
31464 { (char *)"Slider_SetTickFreq", (PyCFunction
) _wrap_Slider_SetTickFreq
, METH_VARARGS
| METH_KEYWORDS
},
31465 { (char *)"Slider_GetTickFreq", (PyCFunction
) _wrap_Slider_GetTickFreq
, METH_VARARGS
| METH_KEYWORDS
},
31466 { (char *)"Slider_ClearTicks", (PyCFunction
) _wrap_Slider_ClearTicks
, METH_VARARGS
| METH_KEYWORDS
},
31467 { (char *)"Slider_SetTick", (PyCFunction
) _wrap_Slider_SetTick
, METH_VARARGS
| METH_KEYWORDS
},
31468 { (char *)"Slider_ClearSel", (PyCFunction
) _wrap_Slider_ClearSel
, METH_VARARGS
| METH_KEYWORDS
},
31469 { (char *)"Slider_GetSelEnd", (PyCFunction
) _wrap_Slider_GetSelEnd
, METH_VARARGS
| METH_KEYWORDS
},
31470 { (char *)"Slider_GetSelStart", (PyCFunction
) _wrap_Slider_GetSelStart
, METH_VARARGS
| METH_KEYWORDS
},
31471 { (char *)"Slider_SetSelection", (PyCFunction
) _wrap_Slider_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
31472 { (char *)"Slider_GetClassDefaultAttributes", (PyCFunction
) _wrap_Slider_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31473 { (char *)"Slider_swigregister", Slider_swigregister
, METH_VARARGS
},
31474 { (char *)"new_ToggleButton", (PyCFunction
) _wrap_new_ToggleButton
, METH_VARARGS
| METH_KEYWORDS
},
31475 { (char *)"new_PreToggleButton", (PyCFunction
) _wrap_new_PreToggleButton
, METH_VARARGS
| METH_KEYWORDS
},
31476 { (char *)"ToggleButton_Create", (PyCFunction
) _wrap_ToggleButton_Create
, METH_VARARGS
| METH_KEYWORDS
},
31477 { (char *)"ToggleButton_SetValue", (PyCFunction
) _wrap_ToggleButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
31478 { (char *)"ToggleButton_GetValue", (PyCFunction
) _wrap_ToggleButton_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
31479 { (char *)"ToggleButton_SetLabel", (PyCFunction
) _wrap_ToggleButton_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
31480 { (char *)"ToggleButton_GetClassDefaultAttributes", (PyCFunction
) _wrap_ToggleButton_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31481 { (char *)"ToggleButton_swigregister", ToggleButton_swigregister
, METH_VARARGS
},
31482 { (char *)"BookCtrl_GetPageCount", (PyCFunction
) _wrap_BookCtrl_GetPageCount
, METH_VARARGS
| METH_KEYWORDS
},
31483 { (char *)"BookCtrl_GetPage", (PyCFunction
) _wrap_BookCtrl_GetPage
, METH_VARARGS
| METH_KEYWORDS
},
31484 { (char *)"BookCtrl_GetSelection", (PyCFunction
) _wrap_BookCtrl_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
31485 { (char *)"BookCtrl_SetPageText", (PyCFunction
) _wrap_BookCtrl_SetPageText
, METH_VARARGS
| METH_KEYWORDS
},
31486 { (char *)"BookCtrl_GetPageText", (PyCFunction
) _wrap_BookCtrl_GetPageText
, METH_VARARGS
| METH_KEYWORDS
},
31487 { (char *)"BookCtrl_SetImageList", (PyCFunction
) _wrap_BookCtrl_SetImageList
, METH_VARARGS
| METH_KEYWORDS
},
31488 { (char *)"BookCtrl_AssignImageList", (PyCFunction
) _wrap_BookCtrl_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
},
31489 { (char *)"BookCtrl_GetImageList", (PyCFunction
) _wrap_BookCtrl_GetImageList
, METH_VARARGS
| METH_KEYWORDS
},
31490 { (char *)"BookCtrl_GetPageImage", (PyCFunction
) _wrap_BookCtrl_GetPageImage
, METH_VARARGS
| METH_KEYWORDS
},
31491 { (char *)"BookCtrl_SetPageImage", (PyCFunction
) _wrap_BookCtrl_SetPageImage
, METH_VARARGS
| METH_KEYWORDS
},
31492 { (char *)"BookCtrl_SetPageSize", (PyCFunction
) _wrap_BookCtrl_SetPageSize
, METH_VARARGS
| METH_KEYWORDS
},
31493 { (char *)"BookCtrl_CalcSizeFromPage", (PyCFunction
) _wrap_BookCtrl_CalcSizeFromPage
, METH_VARARGS
| METH_KEYWORDS
},
31494 { (char *)"BookCtrl_DeletePage", (PyCFunction
) _wrap_BookCtrl_DeletePage
, METH_VARARGS
| METH_KEYWORDS
},
31495 { (char *)"BookCtrl_RemovePage", (PyCFunction
) _wrap_BookCtrl_RemovePage
, METH_VARARGS
| METH_KEYWORDS
},
31496 { (char *)"BookCtrl_DeleteAllPages", (PyCFunction
) _wrap_BookCtrl_DeleteAllPages
, METH_VARARGS
| METH_KEYWORDS
},
31497 { (char *)"BookCtrl_AddPage", (PyCFunction
) _wrap_BookCtrl_AddPage
, METH_VARARGS
| METH_KEYWORDS
},
31498 { (char *)"BookCtrl_InsertPage", (PyCFunction
) _wrap_BookCtrl_InsertPage
, METH_VARARGS
| METH_KEYWORDS
},
31499 { (char *)"BookCtrl_SetSelection", (PyCFunction
) _wrap_BookCtrl_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
31500 { (char *)"BookCtrl_AdvanceSelection", (PyCFunction
) _wrap_BookCtrl_AdvanceSelection
, METH_VARARGS
| METH_KEYWORDS
},
31501 { (char *)"BookCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_BookCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31502 { (char *)"BookCtrl_swigregister", BookCtrl_swigregister
, METH_VARARGS
},
31503 { (char *)"new_BookCtrlEvent", (PyCFunction
) _wrap_new_BookCtrlEvent
, METH_VARARGS
| METH_KEYWORDS
},
31504 { (char *)"BookCtrlEvent_GetSelection", (PyCFunction
) _wrap_BookCtrlEvent_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
31505 { (char *)"BookCtrlEvent_SetSelection", (PyCFunction
) _wrap_BookCtrlEvent_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
31506 { (char *)"BookCtrlEvent_GetOldSelection", (PyCFunction
) _wrap_BookCtrlEvent_GetOldSelection
, METH_VARARGS
| METH_KEYWORDS
},
31507 { (char *)"BookCtrlEvent_SetOldSelection", (PyCFunction
) _wrap_BookCtrlEvent_SetOldSelection
, METH_VARARGS
| METH_KEYWORDS
},
31508 { (char *)"BookCtrlEvent_swigregister", BookCtrlEvent_swigregister
, METH_VARARGS
},
31509 { (char *)"new_Notebook", (PyCFunction
) _wrap_new_Notebook
, METH_VARARGS
| METH_KEYWORDS
},
31510 { (char *)"new_PreNotebook", (PyCFunction
) _wrap_new_PreNotebook
, METH_VARARGS
| METH_KEYWORDS
},
31511 { (char *)"Notebook_Create", (PyCFunction
) _wrap_Notebook_Create
, METH_VARARGS
| METH_KEYWORDS
},
31512 { (char *)"Notebook_GetRowCount", (PyCFunction
) _wrap_Notebook_GetRowCount
, METH_VARARGS
| METH_KEYWORDS
},
31513 { (char *)"Notebook_SetPadding", (PyCFunction
) _wrap_Notebook_SetPadding
, METH_VARARGS
| METH_KEYWORDS
},
31514 { (char *)"Notebook_SetTabSize", (PyCFunction
) _wrap_Notebook_SetTabSize
, METH_VARARGS
| METH_KEYWORDS
},
31515 { (char *)"Notebook_HitTest", (PyCFunction
) _wrap_Notebook_HitTest
, METH_VARARGS
| METH_KEYWORDS
},
31516 { (char *)"Notebook_CalcSizeFromPage", (PyCFunction
) _wrap_Notebook_CalcSizeFromPage
, METH_VARARGS
| METH_KEYWORDS
},
31517 { (char *)"Notebook_GetClassDefaultAttributes", (PyCFunction
) _wrap_Notebook_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31518 { (char *)"Notebook_swigregister", Notebook_swigregister
, METH_VARARGS
},
31519 { (char *)"new_NotebookEvent", (PyCFunction
) _wrap_new_NotebookEvent
, METH_VARARGS
| METH_KEYWORDS
},
31520 { (char *)"NotebookEvent_swigregister", NotebookEvent_swigregister
, METH_VARARGS
},
31521 { (char *)"new_Listbook", (PyCFunction
) _wrap_new_Listbook
, METH_VARARGS
| METH_KEYWORDS
},
31522 { (char *)"new_PreListbook", (PyCFunction
) _wrap_new_PreListbook
, METH_VARARGS
| METH_KEYWORDS
},
31523 { (char *)"Listbook_Create", (PyCFunction
) _wrap_Listbook_Create
, METH_VARARGS
| METH_KEYWORDS
},
31524 { (char *)"Listbook_IsVertical", (PyCFunction
) _wrap_Listbook_IsVertical
, METH_VARARGS
| METH_KEYWORDS
},
31525 { (char *)"Listbook_swigregister", Listbook_swigregister
, METH_VARARGS
},
31526 { (char *)"new_ListbookEvent", (PyCFunction
) _wrap_new_ListbookEvent
, METH_VARARGS
| METH_KEYWORDS
},
31527 { (char *)"ListbookEvent_swigregister", ListbookEvent_swigregister
, METH_VARARGS
},
31528 { (char *)"new_BookCtrlSizer", (PyCFunction
) _wrap_new_BookCtrlSizer
, METH_VARARGS
| METH_KEYWORDS
},
31529 { (char *)"BookCtrlSizer_RecalcSizes", (PyCFunction
) _wrap_BookCtrlSizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
},
31530 { (char *)"BookCtrlSizer_CalcMin", (PyCFunction
) _wrap_BookCtrlSizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
},
31531 { (char *)"BookCtrlSizer_GetControl", (PyCFunction
) _wrap_BookCtrlSizer_GetControl
, METH_VARARGS
| METH_KEYWORDS
},
31532 { (char *)"BookCtrlSizer_swigregister", BookCtrlSizer_swigregister
, METH_VARARGS
},
31533 { (char *)"new_NotebookSizer", (PyCFunction
) _wrap_new_NotebookSizer
, METH_VARARGS
| METH_KEYWORDS
},
31534 { (char *)"NotebookSizer_RecalcSizes", (PyCFunction
) _wrap_NotebookSizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
},
31535 { (char *)"NotebookSizer_CalcMin", (PyCFunction
) _wrap_NotebookSizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
},
31536 { (char *)"NotebookSizer_GetNotebook", (PyCFunction
) _wrap_NotebookSizer_GetNotebook
, METH_VARARGS
| METH_KEYWORDS
},
31537 { (char *)"NotebookSizer_swigregister", NotebookSizer_swigregister
, METH_VARARGS
},
31538 { (char *)"ToolBarToolBase_GetId", (PyCFunction
) _wrap_ToolBarToolBase_GetId
, METH_VARARGS
| METH_KEYWORDS
},
31539 { (char *)"ToolBarToolBase_GetControl", (PyCFunction
) _wrap_ToolBarToolBase_GetControl
, METH_VARARGS
| METH_KEYWORDS
},
31540 { (char *)"ToolBarToolBase_GetToolBar", (PyCFunction
) _wrap_ToolBarToolBase_GetToolBar
, METH_VARARGS
| METH_KEYWORDS
},
31541 { (char *)"ToolBarToolBase_IsButton", (PyCFunction
) _wrap_ToolBarToolBase_IsButton
, METH_VARARGS
| METH_KEYWORDS
},
31542 { (char *)"ToolBarToolBase_IsControl", (PyCFunction
) _wrap_ToolBarToolBase_IsControl
, METH_VARARGS
| METH_KEYWORDS
},
31543 { (char *)"ToolBarToolBase_IsSeparator", (PyCFunction
) _wrap_ToolBarToolBase_IsSeparator
, METH_VARARGS
| METH_KEYWORDS
},
31544 { (char *)"ToolBarToolBase_GetStyle", (PyCFunction
) _wrap_ToolBarToolBase_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
31545 { (char *)"ToolBarToolBase_GetKind", (PyCFunction
) _wrap_ToolBarToolBase_GetKind
, METH_VARARGS
| METH_KEYWORDS
},
31546 { (char *)"ToolBarToolBase_IsEnabled", (PyCFunction
) _wrap_ToolBarToolBase_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
},
31547 { (char *)"ToolBarToolBase_IsToggled", (PyCFunction
) _wrap_ToolBarToolBase_IsToggled
, METH_VARARGS
| METH_KEYWORDS
},
31548 { (char *)"ToolBarToolBase_CanBeToggled", (PyCFunction
) _wrap_ToolBarToolBase_CanBeToggled
, METH_VARARGS
| METH_KEYWORDS
},
31549 { (char *)"ToolBarToolBase_GetNormalBitmap", (PyCFunction
) _wrap_ToolBarToolBase_GetNormalBitmap
, METH_VARARGS
| METH_KEYWORDS
},
31550 { (char *)"ToolBarToolBase_GetDisabledBitmap", (PyCFunction
) _wrap_ToolBarToolBase_GetDisabledBitmap
, METH_VARARGS
| METH_KEYWORDS
},
31551 { (char *)"ToolBarToolBase_GetBitmap", (PyCFunction
) _wrap_ToolBarToolBase_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
31552 { (char *)"ToolBarToolBase_GetLabel", (PyCFunction
) _wrap_ToolBarToolBase_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
31553 { (char *)"ToolBarToolBase_GetShortHelp", (PyCFunction
) _wrap_ToolBarToolBase_GetShortHelp
, METH_VARARGS
| METH_KEYWORDS
},
31554 { (char *)"ToolBarToolBase_GetLongHelp", (PyCFunction
) _wrap_ToolBarToolBase_GetLongHelp
, METH_VARARGS
| METH_KEYWORDS
},
31555 { (char *)"ToolBarToolBase_Enable", (PyCFunction
) _wrap_ToolBarToolBase_Enable
, METH_VARARGS
| METH_KEYWORDS
},
31556 { (char *)"ToolBarToolBase_Toggle", (PyCFunction
) _wrap_ToolBarToolBase_Toggle
, METH_VARARGS
| METH_KEYWORDS
},
31557 { (char *)"ToolBarToolBase_SetToggle", (PyCFunction
) _wrap_ToolBarToolBase_SetToggle
, METH_VARARGS
| METH_KEYWORDS
},
31558 { (char *)"ToolBarToolBase_SetShortHelp", (PyCFunction
) _wrap_ToolBarToolBase_SetShortHelp
, METH_VARARGS
| METH_KEYWORDS
},
31559 { (char *)"ToolBarToolBase_SetLongHelp", (PyCFunction
) _wrap_ToolBarToolBase_SetLongHelp
, METH_VARARGS
| METH_KEYWORDS
},
31560 { (char *)"ToolBarToolBase_SetNormalBitmap", (PyCFunction
) _wrap_ToolBarToolBase_SetNormalBitmap
, METH_VARARGS
| METH_KEYWORDS
},
31561 { (char *)"ToolBarToolBase_SetDisabledBitmap", (PyCFunction
) _wrap_ToolBarToolBase_SetDisabledBitmap
, METH_VARARGS
| METH_KEYWORDS
},
31562 { (char *)"ToolBarToolBase_SetLabel", (PyCFunction
) _wrap_ToolBarToolBase_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
31563 { (char *)"ToolBarToolBase_Detach", (PyCFunction
) _wrap_ToolBarToolBase_Detach
, METH_VARARGS
| METH_KEYWORDS
},
31564 { (char *)"ToolBarToolBase_Attach", (PyCFunction
) _wrap_ToolBarToolBase_Attach
, METH_VARARGS
| METH_KEYWORDS
},
31565 { (char *)"ToolBarToolBase_GetClientData", (PyCFunction
) _wrap_ToolBarToolBase_GetClientData
, METH_VARARGS
| METH_KEYWORDS
},
31566 { (char *)"ToolBarToolBase_SetClientData", (PyCFunction
) _wrap_ToolBarToolBase_SetClientData
, METH_VARARGS
| METH_KEYWORDS
},
31567 { (char *)"ToolBarToolBase_swigregister", ToolBarToolBase_swigregister
, METH_VARARGS
},
31568 { (char *)"ToolBarBase_DoAddTool", (PyCFunction
) _wrap_ToolBarBase_DoAddTool
, METH_VARARGS
| METH_KEYWORDS
},
31569 { (char *)"ToolBarBase_DoInsertTool", (PyCFunction
) _wrap_ToolBarBase_DoInsertTool
, METH_VARARGS
| METH_KEYWORDS
},
31570 { (char *)"ToolBarBase_AddToolItem", (PyCFunction
) _wrap_ToolBarBase_AddToolItem
, METH_VARARGS
| METH_KEYWORDS
},
31571 { (char *)"ToolBarBase_InsertToolItem", (PyCFunction
) _wrap_ToolBarBase_InsertToolItem
, METH_VARARGS
| METH_KEYWORDS
},
31572 { (char *)"ToolBarBase_AddControl", (PyCFunction
) _wrap_ToolBarBase_AddControl
, METH_VARARGS
| METH_KEYWORDS
},
31573 { (char *)"ToolBarBase_InsertControl", (PyCFunction
) _wrap_ToolBarBase_InsertControl
, METH_VARARGS
| METH_KEYWORDS
},
31574 { (char *)"ToolBarBase_FindControl", (PyCFunction
) _wrap_ToolBarBase_FindControl
, METH_VARARGS
| METH_KEYWORDS
},
31575 { (char *)"ToolBarBase_AddSeparator", (PyCFunction
) _wrap_ToolBarBase_AddSeparator
, METH_VARARGS
| METH_KEYWORDS
},
31576 { (char *)"ToolBarBase_InsertSeparator", (PyCFunction
) _wrap_ToolBarBase_InsertSeparator
, METH_VARARGS
| METH_KEYWORDS
},
31577 { (char *)"ToolBarBase_RemoveTool", (PyCFunction
) _wrap_ToolBarBase_RemoveTool
, METH_VARARGS
| METH_KEYWORDS
},
31578 { (char *)"ToolBarBase_DeleteToolByPos", (PyCFunction
) _wrap_ToolBarBase_DeleteToolByPos
, METH_VARARGS
| METH_KEYWORDS
},
31579 { (char *)"ToolBarBase_DeleteTool", (PyCFunction
) _wrap_ToolBarBase_DeleteTool
, METH_VARARGS
| METH_KEYWORDS
},
31580 { (char *)"ToolBarBase_ClearTools", (PyCFunction
) _wrap_ToolBarBase_ClearTools
, METH_VARARGS
| METH_KEYWORDS
},
31581 { (char *)"ToolBarBase_Realize", (PyCFunction
) _wrap_ToolBarBase_Realize
, METH_VARARGS
| METH_KEYWORDS
},
31582 { (char *)"ToolBarBase_EnableTool", (PyCFunction
) _wrap_ToolBarBase_EnableTool
, METH_VARARGS
| METH_KEYWORDS
},
31583 { (char *)"ToolBarBase_ToggleTool", (PyCFunction
) _wrap_ToolBarBase_ToggleTool
, METH_VARARGS
| METH_KEYWORDS
},
31584 { (char *)"ToolBarBase_SetToggle", (PyCFunction
) _wrap_ToolBarBase_SetToggle
, METH_VARARGS
| METH_KEYWORDS
},
31585 { (char *)"ToolBarBase_GetToolClientData", (PyCFunction
) _wrap_ToolBarBase_GetToolClientData
, METH_VARARGS
| METH_KEYWORDS
},
31586 { (char *)"ToolBarBase_SetToolClientData", (PyCFunction
) _wrap_ToolBarBase_SetToolClientData
, METH_VARARGS
| METH_KEYWORDS
},
31587 { (char *)"ToolBarBase_GetToolPos", (PyCFunction
) _wrap_ToolBarBase_GetToolPos
, METH_VARARGS
| METH_KEYWORDS
},
31588 { (char *)"ToolBarBase_GetToolState", (PyCFunction
) _wrap_ToolBarBase_GetToolState
, METH_VARARGS
| METH_KEYWORDS
},
31589 { (char *)"ToolBarBase_GetToolEnabled", (PyCFunction
) _wrap_ToolBarBase_GetToolEnabled
, METH_VARARGS
| METH_KEYWORDS
},
31590 { (char *)"ToolBarBase_SetToolShortHelp", (PyCFunction
) _wrap_ToolBarBase_SetToolShortHelp
, METH_VARARGS
| METH_KEYWORDS
},
31591 { (char *)"ToolBarBase_GetToolShortHelp", (PyCFunction
) _wrap_ToolBarBase_GetToolShortHelp
, METH_VARARGS
| METH_KEYWORDS
},
31592 { (char *)"ToolBarBase_SetToolLongHelp", (PyCFunction
) _wrap_ToolBarBase_SetToolLongHelp
, METH_VARARGS
| METH_KEYWORDS
},
31593 { (char *)"ToolBarBase_GetToolLongHelp", (PyCFunction
) _wrap_ToolBarBase_GetToolLongHelp
, METH_VARARGS
| METH_KEYWORDS
},
31594 { (char *)"ToolBarBase_SetMarginsXY", (PyCFunction
) _wrap_ToolBarBase_SetMarginsXY
, METH_VARARGS
| METH_KEYWORDS
},
31595 { (char *)"ToolBarBase_SetMargins", (PyCFunction
) _wrap_ToolBarBase_SetMargins
, METH_VARARGS
| METH_KEYWORDS
},
31596 { (char *)"ToolBarBase_SetToolPacking", (PyCFunction
) _wrap_ToolBarBase_SetToolPacking
, METH_VARARGS
| METH_KEYWORDS
},
31597 { (char *)"ToolBarBase_SetToolSeparation", (PyCFunction
) _wrap_ToolBarBase_SetToolSeparation
, METH_VARARGS
| METH_KEYWORDS
},
31598 { (char *)"ToolBarBase_GetToolMargins", (PyCFunction
) _wrap_ToolBarBase_GetToolMargins
, METH_VARARGS
| METH_KEYWORDS
},
31599 { (char *)"ToolBarBase_GetMargins", (PyCFunction
) _wrap_ToolBarBase_GetMargins
, METH_VARARGS
| METH_KEYWORDS
},
31600 { (char *)"ToolBarBase_GetToolPacking", (PyCFunction
) _wrap_ToolBarBase_GetToolPacking
, METH_VARARGS
| METH_KEYWORDS
},
31601 { (char *)"ToolBarBase_GetToolSeparation", (PyCFunction
) _wrap_ToolBarBase_GetToolSeparation
, METH_VARARGS
| METH_KEYWORDS
},
31602 { (char *)"ToolBarBase_SetRows", (PyCFunction
) _wrap_ToolBarBase_SetRows
, METH_VARARGS
| METH_KEYWORDS
},
31603 { (char *)"ToolBarBase_SetMaxRowsCols", (PyCFunction
) _wrap_ToolBarBase_SetMaxRowsCols
, METH_VARARGS
| METH_KEYWORDS
},
31604 { (char *)"ToolBarBase_GetMaxRows", (PyCFunction
) _wrap_ToolBarBase_GetMaxRows
, METH_VARARGS
| METH_KEYWORDS
},
31605 { (char *)"ToolBarBase_GetMaxCols", (PyCFunction
) _wrap_ToolBarBase_GetMaxCols
, METH_VARARGS
| METH_KEYWORDS
},
31606 { (char *)"ToolBarBase_SetToolBitmapSize", (PyCFunction
) _wrap_ToolBarBase_SetToolBitmapSize
, METH_VARARGS
| METH_KEYWORDS
},
31607 { (char *)"ToolBarBase_GetToolBitmapSize", (PyCFunction
) _wrap_ToolBarBase_GetToolBitmapSize
, METH_VARARGS
| METH_KEYWORDS
},
31608 { (char *)"ToolBarBase_GetToolSize", (PyCFunction
) _wrap_ToolBarBase_GetToolSize
, METH_VARARGS
| METH_KEYWORDS
},
31609 { (char *)"ToolBarBase_FindToolForPosition", (PyCFunction
) _wrap_ToolBarBase_FindToolForPosition
, METH_VARARGS
| METH_KEYWORDS
},
31610 { (char *)"ToolBarBase_FindById", (PyCFunction
) _wrap_ToolBarBase_FindById
, METH_VARARGS
| METH_KEYWORDS
},
31611 { (char *)"ToolBarBase_IsVertical", (PyCFunction
) _wrap_ToolBarBase_IsVertical
, METH_VARARGS
| METH_KEYWORDS
},
31612 { (char *)"ToolBarBase_swigregister", ToolBarBase_swigregister
, METH_VARARGS
},
31613 { (char *)"new_ToolBar", (PyCFunction
) _wrap_new_ToolBar
, METH_VARARGS
| METH_KEYWORDS
},
31614 { (char *)"new_PreToolBar", (PyCFunction
) _wrap_new_PreToolBar
, METH_VARARGS
| METH_KEYWORDS
},
31615 { (char *)"ToolBar_Create", (PyCFunction
) _wrap_ToolBar_Create
, METH_VARARGS
| METH_KEYWORDS
},
31616 { (char *)"ToolBar_FindToolForPosition", (PyCFunction
) _wrap_ToolBar_FindToolForPosition
, METH_VARARGS
| METH_KEYWORDS
},
31617 { (char *)"ToolBar_GetClassDefaultAttributes", (PyCFunction
) _wrap_ToolBar_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31618 { (char *)"ToolBar_swigregister", ToolBar_swigregister
, METH_VARARGS
},
31619 { (char *)"new_ListItemAttr", (PyCFunction
) _wrap_new_ListItemAttr
, METH_VARARGS
| METH_KEYWORDS
},
31620 { (char *)"ListItemAttr_SetTextColour", (PyCFunction
) _wrap_ListItemAttr_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
31621 { (char *)"ListItemAttr_SetBackgroundColour", (PyCFunction
) _wrap_ListItemAttr_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
31622 { (char *)"ListItemAttr_SetFont", (PyCFunction
) _wrap_ListItemAttr_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
31623 { (char *)"ListItemAttr_HasTextColour", (PyCFunction
) _wrap_ListItemAttr_HasTextColour
, METH_VARARGS
| METH_KEYWORDS
},
31624 { (char *)"ListItemAttr_HasBackgroundColour", (PyCFunction
) _wrap_ListItemAttr_HasBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
31625 { (char *)"ListItemAttr_HasFont", (PyCFunction
) _wrap_ListItemAttr_HasFont
, METH_VARARGS
| METH_KEYWORDS
},
31626 { (char *)"ListItemAttr_GetTextColour", (PyCFunction
) _wrap_ListItemAttr_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
31627 { (char *)"ListItemAttr_GetBackgroundColour", (PyCFunction
) _wrap_ListItemAttr_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
31628 { (char *)"ListItemAttr_GetFont", (PyCFunction
) _wrap_ListItemAttr_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
31629 { (char *)"ListItemAttr_Destroy", (PyCFunction
) _wrap_ListItemAttr_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
31630 { (char *)"ListItemAttr_swigregister", ListItemAttr_swigregister
, METH_VARARGS
},
31631 { (char *)"new_ListItem", (PyCFunction
) _wrap_new_ListItem
, METH_VARARGS
| METH_KEYWORDS
},
31632 { (char *)"delete_ListItem", (PyCFunction
) _wrap_delete_ListItem
, METH_VARARGS
| METH_KEYWORDS
},
31633 { (char *)"ListItem_Clear", (PyCFunction
) _wrap_ListItem_Clear
, METH_VARARGS
| METH_KEYWORDS
},
31634 { (char *)"ListItem_ClearAttributes", (PyCFunction
) _wrap_ListItem_ClearAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31635 { (char *)"ListItem_SetMask", (PyCFunction
) _wrap_ListItem_SetMask
, METH_VARARGS
| METH_KEYWORDS
},
31636 { (char *)"ListItem_SetId", (PyCFunction
) _wrap_ListItem_SetId
, METH_VARARGS
| METH_KEYWORDS
},
31637 { (char *)"ListItem_SetColumn", (PyCFunction
) _wrap_ListItem_SetColumn
, METH_VARARGS
| METH_KEYWORDS
},
31638 { (char *)"ListItem_SetState", (PyCFunction
) _wrap_ListItem_SetState
, METH_VARARGS
| METH_KEYWORDS
},
31639 { (char *)"ListItem_SetStateMask", (PyCFunction
) _wrap_ListItem_SetStateMask
, METH_VARARGS
| METH_KEYWORDS
},
31640 { (char *)"ListItem_SetText", (PyCFunction
) _wrap_ListItem_SetText
, METH_VARARGS
| METH_KEYWORDS
},
31641 { (char *)"ListItem_SetImage", (PyCFunction
) _wrap_ListItem_SetImage
, METH_VARARGS
| METH_KEYWORDS
},
31642 { (char *)"ListItem_SetData", (PyCFunction
) _wrap_ListItem_SetData
, METH_VARARGS
| METH_KEYWORDS
},
31643 { (char *)"ListItem_SetWidth", (PyCFunction
) _wrap_ListItem_SetWidth
, METH_VARARGS
| METH_KEYWORDS
},
31644 { (char *)"ListItem_SetAlign", (PyCFunction
) _wrap_ListItem_SetAlign
, METH_VARARGS
| METH_KEYWORDS
},
31645 { (char *)"ListItem_SetTextColour", (PyCFunction
) _wrap_ListItem_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
31646 { (char *)"ListItem_SetBackgroundColour", (PyCFunction
) _wrap_ListItem_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
31647 { (char *)"ListItem_SetFont", (PyCFunction
) _wrap_ListItem_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
31648 { (char *)"ListItem_GetMask", (PyCFunction
) _wrap_ListItem_GetMask
, METH_VARARGS
| METH_KEYWORDS
},
31649 { (char *)"ListItem_GetId", (PyCFunction
) _wrap_ListItem_GetId
, METH_VARARGS
| METH_KEYWORDS
},
31650 { (char *)"ListItem_GetColumn", (PyCFunction
) _wrap_ListItem_GetColumn
, METH_VARARGS
| METH_KEYWORDS
},
31651 { (char *)"ListItem_GetState", (PyCFunction
) _wrap_ListItem_GetState
, METH_VARARGS
| METH_KEYWORDS
},
31652 { (char *)"ListItem_GetText", (PyCFunction
) _wrap_ListItem_GetText
, METH_VARARGS
| METH_KEYWORDS
},
31653 { (char *)"ListItem_GetImage", (PyCFunction
) _wrap_ListItem_GetImage
, METH_VARARGS
| METH_KEYWORDS
},
31654 { (char *)"ListItem_GetData", (PyCFunction
) _wrap_ListItem_GetData
, METH_VARARGS
| METH_KEYWORDS
},
31655 { (char *)"ListItem_GetWidth", (PyCFunction
) _wrap_ListItem_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
31656 { (char *)"ListItem_GetAlign", (PyCFunction
) _wrap_ListItem_GetAlign
, METH_VARARGS
| METH_KEYWORDS
},
31657 { (char *)"ListItem_GetAttributes", (PyCFunction
) _wrap_ListItem_GetAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31658 { (char *)"ListItem_HasAttributes", (PyCFunction
) _wrap_ListItem_HasAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31659 { (char *)"ListItem_GetTextColour", (PyCFunction
) _wrap_ListItem_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
31660 { (char *)"ListItem_GetBackgroundColour", (PyCFunction
) _wrap_ListItem_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
31661 { (char *)"ListItem_GetFont", (PyCFunction
) _wrap_ListItem_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
31662 { (char *)"ListItem_m_mask_set", (PyCFunction
) _wrap_ListItem_m_mask_set
, METH_VARARGS
| METH_KEYWORDS
},
31663 { (char *)"ListItem_m_mask_get", (PyCFunction
) _wrap_ListItem_m_mask_get
, METH_VARARGS
| METH_KEYWORDS
},
31664 { (char *)"ListItem_m_itemId_set", (PyCFunction
) _wrap_ListItem_m_itemId_set
, METH_VARARGS
| METH_KEYWORDS
},
31665 { (char *)"ListItem_m_itemId_get", (PyCFunction
) _wrap_ListItem_m_itemId_get
, METH_VARARGS
| METH_KEYWORDS
},
31666 { (char *)"ListItem_m_col_set", (PyCFunction
) _wrap_ListItem_m_col_set
, METH_VARARGS
| METH_KEYWORDS
},
31667 { (char *)"ListItem_m_col_get", (PyCFunction
) _wrap_ListItem_m_col_get
, METH_VARARGS
| METH_KEYWORDS
},
31668 { (char *)"ListItem_m_state_set", (PyCFunction
) _wrap_ListItem_m_state_set
, METH_VARARGS
| METH_KEYWORDS
},
31669 { (char *)"ListItem_m_state_get", (PyCFunction
) _wrap_ListItem_m_state_get
, METH_VARARGS
| METH_KEYWORDS
},
31670 { (char *)"ListItem_m_stateMask_set", (PyCFunction
) _wrap_ListItem_m_stateMask_set
, METH_VARARGS
| METH_KEYWORDS
},
31671 { (char *)"ListItem_m_stateMask_get", (PyCFunction
) _wrap_ListItem_m_stateMask_get
, METH_VARARGS
| METH_KEYWORDS
},
31672 { (char *)"ListItem_m_text_set", (PyCFunction
) _wrap_ListItem_m_text_set
, METH_VARARGS
| METH_KEYWORDS
},
31673 { (char *)"ListItem_m_text_get", (PyCFunction
) _wrap_ListItem_m_text_get
, METH_VARARGS
| METH_KEYWORDS
},
31674 { (char *)"ListItem_m_image_set", (PyCFunction
) _wrap_ListItem_m_image_set
, METH_VARARGS
| METH_KEYWORDS
},
31675 { (char *)"ListItem_m_image_get", (PyCFunction
) _wrap_ListItem_m_image_get
, METH_VARARGS
| METH_KEYWORDS
},
31676 { (char *)"ListItem_m_data_set", (PyCFunction
) _wrap_ListItem_m_data_set
, METH_VARARGS
| METH_KEYWORDS
},
31677 { (char *)"ListItem_m_data_get", (PyCFunction
) _wrap_ListItem_m_data_get
, METH_VARARGS
| METH_KEYWORDS
},
31678 { (char *)"ListItem_m_format_set", (PyCFunction
) _wrap_ListItem_m_format_set
, METH_VARARGS
| METH_KEYWORDS
},
31679 { (char *)"ListItem_m_format_get", (PyCFunction
) _wrap_ListItem_m_format_get
, METH_VARARGS
| METH_KEYWORDS
},
31680 { (char *)"ListItem_m_width_set", (PyCFunction
) _wrap_ListItem_m_width_set
, METH_VARARGS
| METH_KEYWORDS
},
31681 { (char *)"ListItem_m_width_get", (PyCFunction
) _wrap_ListItem_m_width_get
, METH_VARARGS
| METH_KEYWORDS
},
31682 { (char *)"ListItem_swigregister", ListItem_swigregister
, METH_VARARGS
},
31683 { (char *)"new_ListEvent", (PyCFunction
) _wrap_new_ListEvent
, METH_VARARGS
| METH_KEYWORDS
},
31684 { (char *)"ListEvent_m_code_set", (PyCFunction
) _wrap_ListEvent_m_code_set
, METH_VARARGS
| METH_KEYWORDS
},
31685 { (char *)"ListEvent_m_code_get", (PyCFunction
) _wrap_ListEvent_m_code_get
, METH_VARARGS
| METH_KEYWORDS
},
31686 { (char *)"ListEvent_m_oldItemIndex_set", (PyCFunction
) _wrap_ListEvent_m_oldItemIndex_set
, METH_VARARGS
| METH_KEYWORDS
},
31687 { (char *)"ListEvent_m_oldItemIndex_get", (PyCFunction
) _wrap_ListEvent_m_oldItemIndex_get
, METH_VARARGS
| METH_KEYWORDS
},
31688 { (char *)"ListEvent_m_itemIndex_set", (PyCFunction
) _wrap_ListEvent_m_itemIndex_set
, METH_VARARGS
| METH_KEYWORDS
},
31689 { (char *)"ListEvent_m_itemIndex_get", (PyCFunction
) _wrap_ListEvent_m_itemIndex_get
, METH_VARARGS
| METH_KEYWORDS
},
31690 { (char *)"ListEvent_m_col_set", (PyCFunction
) _wrap_ListEvent_m_col_set
, METH_VARARGS
| METH_KEYWORDS
},
31691 { (char *)"ListEvent_m_col_get", (PyCFunction
) _wrap_ListEvent_m_col_get
, METH_VARARGS
| METH_KEYWORDS
},
31692 { (char *)"ListEvent_m_pointDrag_set", (PyCFunction
) _wrap_ListEvent_m_pointDrag_set
, METH_VARARGS
| METH_KEYWORDS
},
31693 { (char *)"ListEvent_m_pointDrag_get", (PyCFunction
) _wrap_ListEvent_m_pointDrag_get
, METH_VARARGS
| METH_KEYWORDS
},
31694 { (char *)"ListEvent_m_item_get", (PyCFunction
) _wrap_ListEvent_m_item_get
, METH_VARARGS
| METH_KEYWORDS
},
31695 { (char *)"ListEvent_GetKeyCode", (PyCFunction
) _wrap_ListEvent_GetKeyCode
, METH_VARARGS
| METH_KEYWORDS
},
31696 { (char *)"ListEvent_GetIndex", (PyCFunction
) _wrap_ListEvent_GetIndex
, METH_VARARGS
| METH_KEYWORDS
},
31697 { (char *)"ListEvent_GetColumn", (PyCFunction
) _wrap_ListEvent_GetColumn
, METH_VARARGS
| METH_KEYWORDS
},
31698 { (char *)"ListEvent_GetPoint", (PyCFunction
) _wrap_ListEvent_GetPoint
, METH_VARARGS
| METH_KEYWORDS
},
31699 { (char *)"ListEvent_GetLabel", (PyCFunction
) _wrap_ListEvent_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
31700 { (char *)"ListEvent_GetText", (PyCFunction
) _wrap_ListEvent_GetText
, METH_VARARGS
| METH_KEYWORDS
},
31701 { (char *)"ListEvent_GetImage", (PyCFunction
) _wrap_ListEvent_GetImage
, METH_VARARGS
| METH_KEYWORDS
},
31702 { (char *)"ListEvent_GetData", (PyCFunction
) _wrap_ListEvent_GetData
, METH_VARARGS
| METH_KEYWORDS
},
31703 { (char *)"ListEvent_GetMask", (PyCFunction
) _wrap_ListEvent_GetMask
, METH_VARARGS
| METH_KEYWORDS
},
31704 { (char *)"ListEvent_GetItem", (PyCFunction
) _wrap_ListEvent_GetItem
, METH_VARARGS
| METH_KEYWORDS
},
31705 { (char *)"ListEvent_GetCacheFrom", (PyCFunction
) _wrap_ListEvent_GetCacheFrom
, METH_VARARGS
| METH_KEYWORDS
},
31706 { (char *)"ListEvent_GetCacheTo", (PyCFunction
) _wrap_ListEvent_GetCacheTo
, METH_VARARGS
| METH_KEYWORDS
},
31707 { (char *)"ListEvent_IsEditCancelled", (PyCFunction
) _wrap_ListEvent_IsEditCancelled
, METH_VARARGS
| METH_KEYWORDS
},
31708 { (char *)"ListEvent_SetEditCanceled", (PyCFunction
) _wrap_ListEvent_SetEditCanceled
, METH_VARARGS
| METH_KEYWORDS
},
31709 { (char *)"ListEvent_swigregister", ListEvent_swigregister
, METH_VARARGS
},
31710 { (char *)"new_ListCtrl", (PyCFunction
) _wrap_new_ListCtrl
, METH_VARARGS
| METH_KEYWORDS
},
31711 { (char *)"new_PreListCtrl", (PyCFunction
) _wrap_new_PreListCtrl
, METH_VARARGS
| METH_KEYWORDS
},
31712 { (char *)"ListCtrl_Create", (PyCFunction
) _wrap_ListCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
},
31713 { (char *)"ListCtrl__setCallbackInfo", (PyCFunction
) _wrap_ListCtrl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
31714 { (char *)"ListCtrl_SetForegroundColour", (PyCFunction
) _wrap_ListCtrl_SetForegroundColour
, METH_VARARGS
| METH_KEYWORDS
},
31715 { (char *)"ListCtrl_SetBackgroundColour", (PyCFunction
) _wrap_ListCtrl_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
31716 { (char *)"ListCtrl_GetColumn", (PyCFunction
) _wrap_ListCtrl_GetColumn
, METH_VARARGS
| METH_KEYWORDS
},
31717 { (char *)"ListCtrl_SetColumn", (PyCFunction
) _wrap_ListCtrl_SetColumn
, METH_VARARGS
| METH_KEYWORDS
},
31718 { (char *)"ListCtrl_GetColumnWidth", (PyCFunction
) _wrap_ListCtrl_GetColumnWidth
, METH_VARARGS
| METH_KEYWORDS
},
31719 { (char *)"ListCtrl_SetColumnWidth", (PyCFunction
) _wrap_ListCtrl_SetColumnWidth
, METH_VARARGS
| METH_KEYWORDS
},
31720 { (char *)"ListCtrl_GetCountPerPage", (PyCFunction
) _wrap_ListCtrl_GetCountPerPage
, METH_VARARGS
| METH_KEYWORDS
},
31721 { (char *)"ListCtrl_GetViewRect", (PyCFunction
) _wrap_ListCtrl_GetViewRect
, METH_VARARGS
| METH_KEYWORDS
},
31722 { (char *)"ListCtrl_GetItem", (PyCFunction
) _wrap_ListCtrl_GetItem
, METH_VARARGS
| METH_KEYWORDS
},
31723 { (char *)"ListCtrl_SetItem", (PyCFunction
) _wrap_ListCtrl_SetItem
, METH_VARARGS
| METH_KEYWORDS
},
31724 { (char *)"ListCtrl_SetStringItem", (PyCFunction
) _wrap_ListCtrl_SetStringItem
, METH_VARARGS
| METH_KEYWORDS
},
31725 { (char *)"ListCtrl_GetItemState", (PyCFunction
) _wrap_ListCtrl_GetItemState
, METH_VARARGS
| METH_KEYWORDS
},
31726 { (char *)"ListCtrl_SetItemState", (PyCFunction
) _wrap_ListCtrl_SetItemState
, METH_VARARGS
| METH_KEYWORDS
},
31727 { (char *)"ListCtrl_SetItemImage", (PyCFunction
) _wrap_ListCtrl_SetItemImage
, METH_VARARGS
| METH_KEYWORDS
},
31728 { (char *)"ListCtrl_GetItemText", (PyCFunction
) _wrap_ListCtrl_GetItemText
, METH_VARARGS
| METH_KEYWORDS
},
31729 { (char *)"ListCtrl_SetItemText", (PyCFunction
) _wrap_ListCtrl_SetItemText
, METH_VARARGS
| METH_KEYWORDS
},
31730 { (char *)"ListCtrl_GetItemData", (PyCFunction
) _wrap_ListCtrl_GetItemData
, METH_VARARGS
| METH_KEYWORDS
},
31731 { (char *)"ListCtrl_SetItemData", (PyCFunction
) _wrap_ListCtrl_SetItemData
, METH_VARARGS
| METH_KEYWORDS
},
31732 { (char *)"ListCtrl_GetItemPosition", (PyCFunction
) _wrap_ListCtrl_GetItemPosition
, METH_VARARGS
| METH_KEYWORDS
},
31733 { (char *)"ListCtrl_GetItemRect", (PyCFunction
) _wrap_ListCtrl_GetItemRect
, METH_VARARGS
| METH_KEYWORDS
},
31734 { (char *)"ListCtrl_SetItemPosition", (PyCFunction
) _wrap_ListCtrl_SetItemPosition
, METH_VARARGS
| METH_KEYWORDS
},
31735 { (char *)"ListCtrl_GetItemCount", (PyCFunction
) _wrap_ListCtrl_GetItemCount
, METH_VARARGS
| METH_KEYWORDS
},
31736 { (char *)"ListCtrl_GetColumnCount", (PyCFunction
) _wrap_ListCtrl_GetColumnCount
, METH_VARARGS
| METH_KEYWORDS
},
31737 { (char *)"ListCtrl_GetItemSpacing", (PyCFunction
) _wrap_ListCtrl_GetItemSpacing
, METH_VARARGS
| METH_KEYWORDS
},
31738 { (char *)"ListCtrl_SetItemSpacing", (PyCFunction
) _wrap_ListCtrl_SetItemSpacing
, METH_VARARGS
| METH_KEYWORDS
},
31739 { (char *)"ListCtrl_GetSelectedItemCount", (PyCFunction
) _wrap_ListCtrl_GetSelectedItemCount
, METH_VARARGS
| METH_KEYWORDS
},
31740 { (char *)"ListCtrl_GetTextColour", (PyCFunction
) _wrap_ListCtrl_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
31741 { (char *)"ListCtrl_SetTextColour", (PyCFunction
) _wrap_ListCtrl_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
31742 { (char *)"ListCtrl_GetTopItem", (PyCFunction
) _wrap_ListCtrl_GetTopItem
, METH_VARARGS
| METH_KEYWORDS
},
31743 { (char *)"ListCtrl_SetSingleStyle", (PyCFunction
) _wrap_ListCtrl_SetSingleStyle
, METH_VARARGS
| METH_KEYWORDS
},
31744 { (char *)"ListCtrl_SetWindowStyleFlag", (PyCFunction
) _wrap_ListCtrl_SetWindowStyleFlag
, METH_VARARGS
| METH_KEYWORDS
},
31745 { (char *)"ListCtrl_GetNextItem", (PyCFunction
) _wrap_ListCtrl_GetNextItem
, METH_VARARGS
| METH_KEYWORDS
},
31746 { (char *)"ListCtrl_GetImageList", (PyCFunction
) _wrap_ListCtrl_GetImageList
, METH_VARARGS
| METH_KEYWORDS
},
31747 { (char *)"ListCtrl_SetImageList", (PyCFunction
) _wrap_ListCtrl_SetImageList
, METH_VARARGS
| METH_KEYWORDS
},
31748 { (char *)"ListCtrl_AssignImageList", (PyCFunction
) _wrap_ListCtrl_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
},
31749 { (char *)"ListCtrl_InReportView", (PyCFunction
) _wrap_ListCtrl_InReportView
, METH_VARARGS
| METH_KEYWORDS
},
31750 { (char *)"ListCtrl_IsVirtual", (PyCFunction
) _wrap_ListCtrl_IsVirtual
, METH_VARARGS
| METH_KEYWORDS
},
31751 { (char *)"ListCtrl_RefreshItem", (PyCFunction
) _wrap_ListCtrl_RefreshItem
, METH_VARARGS
| METH_KEYWORDS
},
31752 { (char *)"ListCtrl_RefreshItems", (PyCFunction
) _wrap_ListCtrl_RefreshItems
, METH_VARARGS
| METH_KEYWORDS
},
31753 { (char *)"ListCtrl_Arrange", (PyCFunction
) _wrap_ListCtrl_Arrange
, METH_VARARGS
| METH_KEYWORDS
},
31754 { (char *)"ListCtrl_DeleteItem", (PyCFunction
) _wrap_ListCtrl_DeleteItem
, METH_VARARGS
| METH_KEYWORDS
},
31755 { (char *)"ListCtrl_DeleteAllItems", (PyCFunction
) _wrap_ListCtrl_DeleteAllItems
, METH_VARARGS
| METH_KEYWORDS
},
31756 { (char *)"ListCtrl_DeleteColumn", (PyCFunction
) _wrap_ListCtrl_DeleteColumn
, METH_VARARGS
| METH_KEYWORDS
},
31757 { (char *)"ListCtrl_DeleteAllColumns", (PyCFunction
) _wrap_ListCtrl_DeleteAllColumns
, METH_VARARGS
| METH_KEYWORDS
},
31758 { (char *)"ListCtrl_ClearAll", (PyCFunction
) _wrap_ListCtrl_ClearAll
, METH_VARARGS
| METH_KEYWORDS
},
31759 { (char *)"ListCtrl_EditLabel", (PyCFunction
) _wrap_ListCtrl_EditLabel
, METH_VARARGS
| METH_KEYWORDS
},
31760 { (char *)"ListCtrl_EnsureVisible", (PyCFunction
) _wrap_ListCtrl_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
},
31761 { (char *)"ListCtrl_FindItem", (PyCFunction
) _wrap_ListCtrl_FindItem
, METH_VARARGS
| METH_KEYWORDS
},
31762 { (char *)"ListCtrl_FindItemData", (PyCFunction
) _wrap_ListCtrl_FindItemData
, METH_VARARGS
| METH_KEYWORDS
},
31763 { (char *)"ListCtrl_FindItemAtPos", (PyCFunction
) _wrap_ListCtrl_FindItemAtPos
, METH_VARARGS
| METH_KEYWORDS
},
31764 { (char *)"ListCtrl_HitTest", (PyCFunction
) _wrap_ListCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
},
31765 { (char *)"ListCtrl_InsertItem", (PyCFunction
) _wrap_ListCtrl_InsertItem
, METH_VARARGS
| METH_KEYWORDS
},
31766 { (char *)"ListCtrl_InsertStringItem", (PyCFunction
) _wrap_ListCtrl_InsertStringItem
, METH_VARARGS
| METH_KEYWORDS
},
31767 { (char *)"ListCtrl_InsertImageItem", (PyCFunction
) _wrap_ListCtrl_InsertImageItem
, METH_VARARGS
| METH_KEYWORDS
},
31768 { (char *)"ListCtrl_InsertImageStringItem", (PyCFunction
) _wrap_ListCtrl_InsertImageStringItem
, METH_VARARGS
| METH_KEYWORDS
},
31769 { (char *)"ListCtrl_InsertColumnInfo", (PyCFunction
) _wrap_ListCtrl_InsertColumnInfo
, METH_VARARGS
| METH_KEYWORDS
},
31770 { (char *)"ListCtrl_InsertColumn", (PyCFunction
) _wrap_ListCtrl_InsertColumn
, METH_VARARGS
| METH_KEYWORDS
},
31771 { (char *)"ListCtrl_SetItemCount", (PyCFunction
) _wrap_ListCtrl_SetItemCount
, METH_VARARGS
| METH_KEYWORDS
},
31772 { (char *)"ListCtrl_ScrollList", (PyCFunction
) _wrap_ListCtrl_ScrollList
, METH_VARARGS
| METH_KEYWORDS
},
31773 { (char *)"ListCtrl_SetItemTextColour", (PyCFunction
) _wrap_ListCtrl_SetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
},
31774 { (char *)"ListCtrl_GetItemTextColour", (PyCFunction
) _wrap_ListCtrl_GetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
},
31775 { (char *)"ListCtrl_SetItemBackgroundColour", (PyCFunction
) _wrap_ListCtrl_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
31776 { (char *)"ListCtrl_GetItemBackgroundColour", (PyCFunction
) _wrap_ListCtrl_GetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
31777 { (char *)"ListCtrl_SortItems", (PyCFunction
) _wrap_ListCtrl_SortItems
, METH_VARARGS
| METH_KEYWORDS
},
31778 { (char *)"ListCtrl_GetMainWindow", (PyCFunction
) _wrap_ListCtrl_GetMainWindow
, METH_VARARGS
| METH_KEYWORDS
},
31779 { (char *)"ListCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_ListCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31780 { (char *)"ListCtrl_swigregister", ListCtrl_swigregister
, METH_VARARGS
},
31781 { (char *)"new_ListView", (PyCFunction
) _wrap_new_ListView
, METH_VARARGS
| METH_KEYWORDS
},
31782 { (char *)"new_PreListView", (PyCFunction
) _wrap_new_PreListView
, METH_VARARGS
| METH_KEYWORDS
},
31783 { (char *)"ListView_Create", (PyCFunction
) _wrap_ListView_Create
, METH_VARARGS
| METH_KEYWORDS
},
31784 { (char *)"ListView_Select", (PyCFunction
) _wrap_ListView_Select
, METH_VARARGS
| METH_KEYWORDS
},
31785 { (char *)"ListView_Focus", (PyCFunction
) _wrap_ListView_Focus
, METH_VARARGS
| METH_KEYWORDS
},
31786 { (char *)"ListView_GetFocusedItem", (PyCFunction
) _wrap_ListView_GetFocusedItem
, METH_VARARGS
| METH_KEYWORDS
},
31787 { (char *)"ListView_GetNextSelected", (PyCFunction
) _wrap_ListView_GetNextSelected
, METH_VARARGS
| METH_KEYWORDS
},
31788 { (char *)"ListView_GetFirstSelected", (PyCFunction
) _wrap_ListView_GetFirstSelected
, METH_VARARGS
| METH_KEYWORDS
},
31789 { (char *)"ListView_IsSelected", (PyCFunction
) _wrap_ListView_IsSelected
, METH_VARARGS
| METH_KEYWORDS
},
31790 { (char *)"ListView_SetColumnImage", (PyCFunction
) _wrap_ListView_SetColumnImage
, METH_VARARGS
| METH_KEYWORDS
},
31791 { (char *)"ListView_ClearColumnImage", (PyCFunction
) _wrap_ListView_ClearColumnImage
, METH_VARARGS
| METH_KEYWORDS
},
31792 { (char *)"ListView_swigregister", ListView_swigregister
, METH_VARARGS
},
31793 { (char *)"new_TreeItemId", (PyCFunction
) _wrap_new_TreeItemId
, METH_VARARGS
| METH_KEYWORDS
},
31794 { (char *)"delete_TreeItemId", (PyCFunction
) _wrap_delete_TreeItemId
, METH_VARARGS
| METH_KEYWORDS
},
31795 { (char *)"TreeItemId_IsOk", (PyCFunction
) _wrap_TreeItemId_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
31796 { (char *)"TreeItemId___eq__", (PyCFunction
) _wrap_TreeItemId___eq__
, METH_VARARGS
| METH_KEYWORDS
},
31797 { (char *)"TreeItemId___ne__", (PyCFunction
) _wrap_TreeItemId___ne__
, METH_VARARGS
| METH_KEYWORDS
},
31798 { (char *)"TreeItemId_m_pItem_set", (PyCFunction
) _wrap_TreeItemId_m_pItem_set
, METH_VARARGS
| METH_KEYWORDS
},
31799 { (char *)"TreeItemId_m_pItem_get", (PyCFunction
) _wrap_TreeItemId_m_pItem_get
, METH_VARARGS
| METH_KEYWORDS
},
31800 { (char *)"TreeItemId_swigregister", TreeItemId_swigregister
, METH_VARARGS
},
31801 { (char *)"new_TreeItemData", (PyCFunction
) _wrap_new_TreeItemData
, METH_VARARGS
| METH_KEYWORDS
},
31802 { (char *)"TreeItemData_GetData", (PyCFunction
) _wrap_TreeItemData_GetData
, METH_VARARGS
| METH_KEYWORDS
},
31803 { (char *)"TreeItemData_SetData", (PyCFunction
) _wrap_TreeItemData_SetData
, METH_VARARGS
| METH_KEYWORDS
},
31804 { (char *)"TreeItemData_GetId", (PyCFunction
) _wrap_TreeItemData_GetId
, METH_VARARGS
| METH_KEYWORDS
},
31805 { (char *)"TreeItemData_SetId", (PyCFunction
) _wrap_TreeItemData_SetId
, METH_VARARGS
| METH_KEYWORDS
},
31806 { (char *)"TreeItemData_Destroy", (PyCFunction
) _wrap_TreeItemData_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
31807 { (char *)"TreeItemData_swigregister", TreeItemData_swigregister
, METH_VARARGS
},
31808 { (char *)"new_TreeEvent", (PyCFunction
) _wrap_new_TreeEvent
, METH_VARARGS
| METH_KEYWORDS
},
31809 { (char *)"TreeEvent_GetItem", (PyCFunction
) _wrap_TreeEvent_GetItem
, METH_VARARGS
| METH_KEYWORDS
},
31810 { (char *)"TreeEvent_SetItem", (PyCFunction
) _wrap_TreeEvent_SetItem
, METH_VARARGS
| METH_KEYWORDS
},
31811 { (char *)"TreeEvent_GetOldItem", (PyCFunction
) _wrap_TreeEvent_GetOldItem
, METH_VARARGS
| METH_KEYWORDS
},
31812 { (char *)"TreeEvent_SetOldItem", (PyCFunction
) _wrap_TreeEvent_SetOldItem
, METH_VARARGS
| METH_KEYWORDS
},
31813 { (char *)"TreeEvent_GetPoint", (PyCFunction
) _wrap_TreeEvent_GetPoint
, METH_VARARGS
| METH_KEYWORDS
},
31814 { (char *)"TreeEvent_SetPoint", (PyCFunction
) _wrap_TreeEvent_SetPoint
, METH_VARARGS
| METH_KEYWORDS
},
31815 { (char *)"TreeEvent_GetKeyEvent", (PyCFunction
) _wrap_TreeEvent_GetKeyEvent
, METH_VARARGS
| METH_KEYWORDS
},
31816 { (char *)"TreeEvent_GetKeyCode", (PyCFunction
) _wrap_TreeEvent_GetKeyCode
, METH_VARARGS
| METH_KEYWORDS
},
31817 { (char *)"TreeEvent_SetKeyEvent", (PyCFunction
) _wrap_TreeEvent_SetKeyEvent
, METH_VARARGS
| METH_KEYWORDS
},
31818 { (char *)"TreeEvent_GetLabel", (PyCFunction
) _wrap_TreeEvent_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
31819 { (char *)"TreeEvent_SetLabel", (PyCFunction
) _wrap_TreeEvent_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
31820 { (char *)"TreeEvent_IsEditCancelled", (PyCFunction
) _wrap_TreeEvent_IsEditCancelled
, METH_VARARGS
| METH_KEYWORDS
},
31821 { (char *)"TreeEvent_SetEditCanceled", (PyCFunction
) _wrap_TreeEvent_SetEditCanceled
, METH_VARARGS
| METH_KEYWORDS
},
31822 { (char *)"TreeEvent_SetToolTip", (PyCFunction
) _wrap_TreeEvent_SetToolTip
, METH_VARARGS
| METH_KEYWORDS
},
31823 { (char *)"TreeEvent_swigregister", TreeEvent_swigregister
, METH_VARARGS
},
31824 { (char *)"new_TreeCtrl", (PyCFunction
) _wrap_new_TreeCtrl
, METH_VARARGS
| METH_KEYWORDS
},
31825 { (char *)"new_PreTreeCtrl", (PyCFunction
) _wrap_new_PreTreeCtrl
, METH_VARARGS
| METH_KEYWORDS
},
31826 { (char *)"TreeCtrl_Create", (PyCFunction
) _wrap_TreeCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
},
31827 { (char *)"TreeCtrl__setCallbackInfo", (PyCFunction
) _wrap_TreeCtrl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
31828 { (char *)"TreeCtrl_GetCount", (PyCFunction
) _wrap_TreeCtrl_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
31829 { (char *)"TreeCtrl_GetIndent", (PyCFunction
) _wrap_TreeCtrl_GetIndent
, METH_VARARGS
| METH_KEYWORDS
},
31830 { (char *)"TreeCtrl_SetIndent", (PyCFunction
) _wrap_TreeCtrl_SetIndent
, METH_VARARGS
| METH_KEYWORDS
},
31831 { (char *)"TreeCtrl_GetSpacing", (PyCFunction
) _wrap_TreeCtrl_GetSpacing
, METH_VARARGS
| METH_KEYWORDS
},
31832 { (char *)"TreeCtrl_SetSpacing", (PyCFunction
) _wrap_TreeCtrl_SetSpacing
, METH_VARARGS
| METH_KEYWORDS
},
31833 { (char *)"TreeCtrl_GetImageList", (PyCFunction
) _wrap_TreeCtrl_GetImageList
, METH_VARARGS
| METH_KEYWORDS
},
31834 { (char *)"TreeCtrl_GetStateImageList", (PyCFunction
) _wrap_TreeCtrl_GetStateImageList
, METH_VARARGS
| METH_KEYWORDS
},
31835 { (char *)"TreeCtrl_SetImageList", (PyCFunction
) _wrap_TreeCtrl_SetImageList
, METH_VARARGS
| METH_KEYWORDS
},
31836 { (char *)"TreeCtrl_SetStateImageList", (PyCFunction
) _wrap_TreeCtrl_SetStateImageList
, METH_VARARGS
| METH_KEYWORDS
},
31837 { (char *)"TreeCtrl_AssignImageList", (PyCFunction
) _wrap_TreeCtrl_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
},
31838 { (char *)"TreeCtrl_AssignStateImageList", (PyCFunction
) _wrap_TreeCtrl_AssignStateImageList
, METH_VARARGS
| METH_KEYWORDS
},
31839 { (char *)"TreeCtrl_GetItemText", (PyCFunction
) _wrap_TreeCtrl_GetItemText
, METH_VARARGS
| METH_KEYWORDS
},
31840 { (char *)"TreeCtrl_GetItemImage", (PyCFunction
) _wrap_TreeCtrl_GetItemImage
, METH_VARARGS
| METH_KEYWORDS
},
31841 { (char *)"TreeCtrl_GetItemData", (PyCFunction
) _wrap_TreeCtrl_GetItemData
, METH_VARARGS
| METH_KEYWORDS
},
31842 { (char *)"TreeCtrl_GetItemPyData", (PyCFunction
) _wrap_TreeCtrl_GetItemPyData
, METH_VARARGS
| METH_KEYWORDS
},
31843 { (char *)"TreeCtrl_GetItemTextColour", (PyCFunction
) _wrap_TreeCtrl_GetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
},
31844 { (char *)"TreeCtrl_GetItemBackgroundColour", (PyCFunction
) _wrap_TreeCtrl_GetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
31845 { (char *)"TreeCtrl_GetItemFont", (PyCFunction
) _wrap_TreeCtrl_GetItemFont
, METH_VARARGS
| METH_KEYWORDS
},
31846 { (char *)"TreeCtrl_SetItemText", (PyCFunction
) _wrap_TreeCtrl_SetItemText
, METH_VARARGS
| METH_KEYWORDS
},
31847 { (char *)"TreeCtrl_SetItemImage", (PyCFunction
) _wrap_TreeCtrl_SetItemImage
, METH_VARARGS
| METH_KEYWORDS
},
31848 { (char *)"TreeCtrl_SetItemData", (PyCFunction
) _wrap_TreeCtrl_SetItemData
, METH_VARARGS
| METH_KEYWORDS
},
31849 { (char *)"TreeCtrl_SetItemPyData", (PyCFunction
) _wrap_TreeCtrl_SetItemPyData
, METH_VARARGS
| METH_KEYWORDS
},
31850 { (char *)"TreeCtrl_SetItemHasChildren", (PyCFunction
) _wrap_TreeCtrl_SetItemHasChildren
, METH_VARARGS
| METH_KEYWORDS
},
31851 { (char *)"TreeCtrl_SetItemBold", (PyCFunction
) _wrap_TreeCtrl_SetItemBold
, METH_VARARGS
| METH_KEYWORDS
},
31852 { (char *)"TreeCtrl_SetItemTextColour", (PyCFunction
) _wrap_TreeCtrl_SetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
},
31853 { (char *)"TreeCtrl_SetItemBackgroundColour", (PyCFunction
) _wrap_TreeCtrl_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
31854 { (char *)"TreeCtrl_SetItemFont", (PyCFunction
) _wrap_TreeCtrl_SetItemFont
, METH_VARARGS
| METH_KEYWORDS
},
31855 { (char *)"TreeCtrl_IsVisible", (PyCFunction
) _wrap_TreeCtrl_IsVisible
, METH_VARARGS
| METH_KEYWORDS
},
31856 { (char *)"TreeCtrl_ItemHasChildren", (PyCFunction
) _wrap_TreeCtrl_ItemHasChildren
, METH_VARARGS
| METH_KEYWORDS
},
31857 { (char *)"TreeCtrl_IsExpanded", (PyCFunction
) _wrap_TreeCtrl_IsExpanded
, METH_VARARGS
| METH_KEYWORDS
},
31858 { (char *)"TreeCtrl_IsSelected", (PyCFunction
) _wrap_TreeCtrl_IsSelected
, METH_VARARGS
| METH_KEYWORDS
},
31859 { (char *)"TreeCtrl_IsBold", (PyCFunction
) _wrap_TreeCtrl_IsBold
, METH_VARARGS
| METH_KEYWORDS
},
31860 { (char *)"TreeCtrl_GetChildrenCount", (PyCFunction
) _wrap_TreeCtrl_GetChildrenCount
, METH_VARARGS
| METH_KEYWORDS
},
31861 { (char *)"TreeCtrl_GetRootItem", (PyCFunction
) _wrap_TreeCtrl_GetRootItem
, METH_VARARGS
| METH_KEYWORDS
},
31862 { (char *)"TreeCtrl_GetSelection", (PyCFunction
) _wrap_TreeCtrl_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
31863 { (char *)"TreeCtrl_GetSelections", (PyCFunction
) _wrap_TreeCtrl_GetSelections
, METH_VARARGS
| METH_KEYWORDS
},
31864 { (char *)"TreeCtrl_GetItemParent", (PyCFunction
) _wrap_TreeCtrl_GetItemParent
, METH_VARARGS
| METH_KEYWORDS
},
31865 { (char *)"TreeCtrl_GetFirstChild", (PyCFunction
) _wrap_TreeCtrl_GetFirstChild
, METH_VARARGS
| METH_KEYWORDS
},
31866 { (char *)"TreeCtrl_GetNextChild", (PyCFunction
) _wrap_TreeCtrl_GetNextChild
, METH_VARARGS
| METH_KEYWORDS
},
31867 { (char *)"TreeCtrl_GetLastChild", (PyCFunction
) _wrap_TreeCtrl_GetLastChild
, METH_VARARGS
| METH_KEYWORDS
},
31868 { (char *)"TreeCtrl_GetNextSibling", (PyCFunction
) _wrap_TreeCtrl_GetNextSibling
, METH_VARARGS
| METH_KEYWORDS
},
31869 { (char *)"TreeCtrl_GetPrevSibling", (PyCFunction
) _wrap_TreeCtrl_GetPrevSibling
, METH_VARARGS
| METH_KEYWORDS
},
31870 { (char *)"TreeCtrl_GetFirstVisibleItem", (PyCFunction
) _wrap_TreeCtrl_GetFirstVisibleItem
, METH_VARARGS
| METH_KEYWORDS
},
31871 { (char *)"TreeCtrl_GetNextVisible", (PyCFunction
) _wrap_TreeCtrl_GetNextVisible
, METH_VARARGS
| METH_KEYWORDS
},
31872 { (char *)"TreeCtrl_GetPrevVisible", (PyCFunction
) _wrap_TreeCtrl_GetPrevVisible
, METH_VARARGS
| METH_KEYWORDS
},
31873 { (char *)"TreeCtrl_AddRoot", (PyCFunction
) _wrap_TreeCtrl_AddRoot
, METH_VARARGS
| METH_KEYWORDS
},
31874 { (char *)"TreeCtrl_PrependItem", (PyCFunction
) _wrap_TreeCtrl_PrependItem
, METH_VARARGS
| METH_KEYWORDS
},
31875 { (char *)"TreeCtrl_InsertItem", (PyCFunction
) _wrap_TreeCtrl_InsertItem
, METH_VARARGS
| METH_KEYWORDS
},
31876 { (char *)"TreeCtrl_InsertItemBefore", (PyCFunction
) _wrap_TreeCtrl_InsertItemBefore
, METH_VARARGS
| METH_KEYWORDS
},
31877 { (char *)"TreeCtrl_AppendItem", (PyCFunction
) _wrap_TreeCtrl_AppendItem
, METH_VARARGS
| METH_KEYWORDS
},
31878 { (char *)"TreeCtrl_Delete", (PyCFunction
) _wrap_TreeCtrl_Delete
, METH_VARARGS
| METH_KEYWORDS
},
31879 { (char *)"TreeCtrl_DeleteChildren", (PyCFunction
) _wrap_TreeCtrl_DeleteChildren
, METH_VARARGS
| METH_KEYWORDS
},
31880 { (char *)"TreeCtrl_DeleteAllItems", (PyCFunction
) _wrap_TreeCtrl_DeleteAllItems
, METH_VARARGS
| METH_KEYWORDS
},
31881 { (char *)"TreeCtrl_Expand", (PyCFunction
) _wrap_TreeCtrl_Expand
, METH_VARARGS
| METH_KEYWORDS
},
31882 { (char *)"TreeCtrl_Collapse", (PyCFunction
) _wrap_TreeCtrl_Collapse
, METH_VARARGS
| METH_KEYWORDS
},
31883 { (char *)"TreeCtrl_CollapseAndReset", (PyCFunction
) _wrap_TreeCtrl_CollapseAndReset
, METH_VARARGS
| METH_KEYWORDS
},
31884 { (char *)"TreeCtrl_Toggle", (PyCFunction
) _wrap_TreeCtrl_Toggle
, METH_VARARGS
| METH_KEYWORDS
},
31885 { (char *)"TreeCtrl_Unselect", (PyCFunction
) _wrap_TreeCtrl_Unselect
, METH_VARARGS
| METH_KEYWORDS
},
31886 { (char *)"TreeCtrl_UnselectItem", (PyCFunction
) _wrap_TreeCtrl_UnselectItem
, METH_VARARGS
| METH_KEYWORDS
},
31887 { (char *)"TreeCtrl_UnselectAll", (PyCFunction
) _wrap_TreeCtrl_UnselectAll
, METH_VARARGS
| METH_KEYWORDS
},
31888 { (char *)"TreeCtrl_SelectItem", (PyCFunction
) _wrap_TreeCtrl_SelectItem
, METH_VARARGS
| METH_KEYWORDS
},
31889 { (char *)"TreeCtrl_ToggleItemSelection", (PyCFunction
) _wrap_TreeCtrl_ToggleItemSelection
, METH_VARARGS
| METH_KEYWORDS
},
31890 { (char *)"TreeCtrl_EnsureVisible", (PyCFunction
) _wrap_TreeCtrl_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
},
31891 { (char *)"TreeCtrl_ScrollTo", (PyCFunction
) _wrap_TreeCtrl_ScrollTo
, METH_VARARGS
| METH_KEYWORDS
},
31892 { (char *)"TreeCtrl_EditLabel", (PyCFunction
) _wrap_TreeCtrl_EditLabel
, METH_VARARGS
| METH_KEYWORDS
},
31893 { (char *)"TreeCtrl_GetEditControl", (PyCFunction
) _wrap_TreeCtrl_GetEditControl
, METH_VARARGS
| METH_KEYWORDS
},
31894 { (char *)"TreeCtrl_SortChildren", (PyCFunction
) _wrap_TreeCtrl_SortChildren
, METH_VARARGS
| METH_KEYWORDS
},
31895 { (char *)"TreeCtrl_HitTest", (PyCFunction
) _wrap_TreeCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
},
31896 { (char *)"TreeCtrl_GetBoundingRect", (PyCFunction
) _wrap_TreeCtrl_GetBoundingRect
, METH_VARARGS
| METH_KEYWORDS
},
31897 { (char *)"TreeCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_TreeCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31898 { (char *)"TreeCtrl_swigregister", TreeCtrl_swigregister
, METH_VARARGS
},
31899 { (char *)"new_GenericDirCtrl", (PyCFunction
) _wrap_new_GenericDirCtrl
, METH_VARARGS
| METH_KEYWORDS
},
31900 { (char *)"new_PreGenericDirCtrl", (PyCFunction
) _wrap_new_PreGenericDirCtrl
, METH_VARARGS
| METH_KEYWORDS
},
31901 { (char *)"GenericDirCtrl_Create", (PyCFunction
) _wrap_GenericDirCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
},
31902 { (char *)"GenericDirCtrl_ExpandPath", (PyCFunction
) _wrap_GenericDirCtrl_ExpandPath
, METH_VARARGS
| METH_KEYWORDS
},
31903 { (char *)"GenericDirCtrl_GetDefaultPath", (PyCFunction
) _wrap_GenericDirCtrl_GetDefaultPath
, METH_VARARGS
| METH_KEYWORDS
},
31904 { (char *)"GenericDirCtrl_SetDefaultPath", (PyCFunction
) _wrap_GenericDirCtrl_SetDefaultPath
, METH_VARARGS
| METH_KEYWORDS
},
31905 { (char *)"GenericDirCtrl_GetPath", (PyCFunction
) _wrap_GenericDirCtrl_GetPath
, METH_VARARGS
| METH_KEYWORDS
},
31906 { (char *)"GenericDirCtrl_GetFilePath", (PyCFunction
) _wrap_GenericDirCtrl_GetFilePath
, METH_VARARGS
| METH_KEYWORDS
},
31907 { (char *)"GenericDirCtrl_SetPath", (PyCFunction
) _wrap_GenericDirCtrl_SetPath
, METH_VARARGS
| METH_KEYWORDS
},
31908 { (char *)"GenericDirCtrl_ShowHidden", (PyCFunction
) _wrap_GenericDirCtrl_ShowHidden
, METH_VARARGS
| METH_KEYWORDS
},
31909 { (char *)"GenericDirCtrl_GetShowHidden", (PyCFunction
) _wrap_GenericDirCtrl_GetShowHidden
, METH_VARARGS
| METH_KEYWORDS
},
31910 { (char *)"GenericDirCtrl_GetFilter", (PyCFunction
) _wrap_GenericDirCtrl_GetFilter
, METH_VARARGS
| METH_KEYWORDS
},
31911 { (char *)"GenericDirCtrl_SetFilter", (PyCFunction
) _wrap_GenericDirCtrl_SetFilter
, METH_VARARGS
| METH_KEYWORDS
},
31912 { (char *)"GenericDirCtrl_GetFilterIndex", (PyCFunction
) _wrap_GenericDirCtrl_GetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
},
31913 { (char *)"GenericDirCtrl_SetFilterIndex", (PyCFunction
) _wrap_GenericDirCtrl_SetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
},
31914 { (char *)"GenericDirCtrl_GetRootId", (PyCFunction
) _wrap_GenericDirCtrl_GetRootId
, METH_VARARGS
| METH_KEYWORDS
},
31915 { (char *)"GenericDirCtrl_GetTreeCtrl", (PyCFunction
) _wrap_GenericDirCtrl_GetTreeCtrl
, METH_VARARGS
| METH_KEYWORDS
},
31916 { (char *)"GenericDirCtrl_GetFilterListCtrl", (PyCFunction
) _wrap_GenericDirCtrl_GetFilterListCtrl
, METH_VARARGS
| METH_KEYWORDS
},
31917 { (char *)"GenericDirCtrl_FindChild", (PyCFunction
) _wrap_GenericDirCtrl_FindChild
, METH_VARARGS
| METH_KEYWORDS
},
31918 { (char *)"GenericDirCtrl_DoResize", (PyCFunction
) _wrap_GenericDirCtrl_DoResize
, METH_VARARGS
| METH_KEYWORDS
},
31919 { (char *)"GenericDirCtrl_ReCreateTree", (PyCFunction
) _wrap_GenericDirCtrl_ReCreateTree
, METH_VARARGS
| METH_KEYWORDS
},
31920 { (char *)"GenericDirCtrl_swigregister", GenericDirCtrl_swigregister
, METH_VARARGS
},
31921 { (char *)"new_DirFilterListCtrl", (PyCFunction
) _wrap_new_DirFilterListCtrl
, METH_VARARGS
| METH_KEYWORDS
},
31922 { (char *)"new_PreDirFilterListCtrl", (PyCFunction
) _wrap_new_PreDirFilterListCtrl
, METH_VARARGS
| METH_KEYWORDS
},
31923 { (char *)"DirFilterListCtrl_Create", (PyCFunction
) _wrap_DirFilterListCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
},
31924 { (char *)"DirFilterListCtrl_FillFilterList", (PyCFunction
) _wrap_DirFilterListCtrl_FillFilterList
, METH_VARARGS
| METH_KEYWORDS
},
31925 { (char *)"DirFilterListCtrl_swigregister", DirFilterListCtrl_swigregister
, METH_VARARGS
},
31926 { (char *)"new_PyControl", (PyCFunction
) _wrap_new_PyControl
, METH_VARARGS
| METH_KEYWORDS
},
31927 { (char *)"new_PrePyControl", (PyCFunction
) _wrap_new_PrePyControl
, METH_VARARGS
| METH_KEYWORDS
},
31928 { (char *)"PyControl__setCallbackInfo", (PyCFunction
) _wrap_PyControl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
31929 { (char *)"PyControl_SetBestSize", (PyCFunction
) _wrap_PyControl_SetBestSize
, METH_VARARGS
| METH_KEYWORDS
},
31930 { (char *)"PyControl_base_DoMoveWindow", (PyCFunction
) _wrap_PyControl_base_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
},
31931 { (char *)"PyControl_base_DoSetSize", (PyCFunction
) _wrap_PyControl_base_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
},
31932 { (char *)"PyControl_base_DoSetClientSize", (PyCFunction
) _wrap_PyControl_base_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
31933 { (char *)"PyControl_base_DoSetVirtualSize", (PyCFunction
) _wrap_PyControl_base_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
31934 { (char *)"PyControl_base_DoGetSize", (PyCFunction
) _wrap_PyControl_base_DoGetSize
, METH_VARARGS
| METH_KEYWORDS
},
31935 { (char *)"PyControl_base_DoGetClientSize", (PyCFunction
) _wrap_PyControl_base_DoGetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
31936 { (char *)"PyControl_base_DoGetPosition", (PyCFunction
) _wrap_PyControl_base_DoGetPosition
, METH_VARARGS
| METH_KEYWORDS
},
31937 { (char *)"PyControl_base_DoGetVirtualSize", (PyCFunction
) _wrap_PyControl_base_DoGetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
31938 { (char *)"PyControl_base_DoGetBestSize", (PyCFunction
) _wrap_PyControl_base_DoGetBestSize
, METH_VARARGS
| METH_KEYWORDS
},
31939 { (char *)"PyControl_base_InitDialog", (PyCFunction
) _wrap_PyControl_base_InitDialog
, METH_VARARGS
| METH_KEYWORDS
},
31940 { (char *)"PyControl_base_TransferDataToWindow", (PyCFunction
) _wrap_PyControl_base_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
},
31941 { (char *)"PyControl_base_TransferDataFromWindow", (PyCFunction
) _wrap_PyControl_base_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
},
31942 { (char *)"PyControl_base_Validate", (PyCFunction
) _wrap_PyControl_base_Validate
, METH_VARARGS
| METH_KEYWORDS
},
31943 { (char *)"PyControl_base_AcceptsFocus", (PyCFunction
) _wrap_PyControl_base_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
},
31944 { (char *)"PyControl_base_AcceptsFocusFromKeyboard", (PyCFunction
) _wrap_PyControl_base_AcceptsFocusFromKeyboard
, METH_VARARGS
| METH_KEYWORDS
},
31945 { (char *)"PyControl_base_GetMaxSize", (PyCFunction
) _wrap_PyControl_base_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
},
31946 { (char *)"PyControl_base_AddChild", (PyCFunction
) _wrap_PyControl_base_AddChild
, METH_VARARGS
| METH_KEYWORDS
},
31947 { (char *)"PyControl_base_RemoveChild", (PyCFunction
) _wrap_PyControl_base_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
},
31948 { (char *)"PyControl_base_ShouldInheritColours", (PyCFunction
) _wrap_PyControl_base_ShouldInheritColours
, METH_VARARGS
| METH_KEYWORDS
},
31949 { (char *)"PyControl_base_ApplyParentThemeBackground", (PyCFunction
) _wrap_PyControl_base_ApplyParentThemeBackground
, METH_VARARGS
| METH_KEYWORDS
},
31950 { (char *)"PyControl_base_GetDefaultAttributes", (PyCFunction
) _wrap_PyControl_base_GetDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31951 { (char *)"PyControl_swigregister", PyControl_swigregister
, METH_VARARGS
},
31952 { (char *)"new_HelpEvent", (PyCFunction
) _wrap_new_HelpEvent
, METH_VARARGS
| METH_KEYWORDS
},
31953 { (char *)"HelpEvent_GetPosition", (PyCFunction
) _wrap_HelpEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
31954 { (char *)"HelpEvent_SetPosition", (PyCFunction
) _wrap_HelpEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
},
31955 { (char *)"HelpEvent_GetLink", (PyCFunction
) _wrap_HelpEvent_GetLink
, METH_VARARGS
| METH_KEYWORDS
},
31956 { (char *)"HelpEvent_SetLink", (PyCFunction
) _wrap_HelpEvent_SetLink
, METH_VARARGS
| METH_KEYWORDS
},
31957 { (char *)"HelpEvent_GetTarget", (PyCFunction
) _wrap_HelpEvent_GetTarget
, METH_VARARGS
| METH_KEYWORDS
},
31958 { (char *)"HelpEvent_SetTarget", (PyCFunction
) _wrap_HelpEvent_SetTarget
, METH_VARARGS
| METH_KEYWORDS
},
31959 { (char *)"HelpEvent_swigregister", HelpEvent_swigregister
, METH_VARARGS
},
31960 { (char *)"new_ContextHelp", (PyCFunction
) _wrap_new_ContextHelp
, METH_VARARGS
| METH_KEYWORDS
},
31961 { (char *)"delete_ContextHelp", (PyCFunction
) _wrap_delete_ContextHelp
, METH_VARARGS
| METH_KEYWORDS
},
31962 { (char *)"ContextHelp_BeginContextHelp", (PyCFunction
) _wrap_ContextHelp_BeginContextHelp
, METH_VARARGS
| METH_KEYWORDS
},
31963 { (char *)"ContextHelp_EndContextHelp", (PyCFunction
) _wrap_ContextHelp_EndContextHelp
, METH_VARARGS
| METH_KEYWORDS
},
31964 { (char *)"ContextHelp_swigregister", ContextHelp_swigregister
, METH_VARARGS
},
31965 { (char *)"new_ContextHelpButton", (PyCFunction
) _wrap_new_ContextHelpButton
, METH_VARARGS
| METH_KEYWORDS
},
31966 { (char *)"ContextHelpButton_swigregister", ContextHelpButton_swigregister
, METH_VARARGS
},
31967 { (char *)"HelpProvider_Set", (PyCFunction
) _wrap_HelpProvider_Set
, METH_VARARGS
| METH_KEYWORDS
},
31968 { (char *)"HelpProvider_Get", (PyCFunction
) _wrap_HelpProvider_Get
, METH_VARARGS
| METH_KEYWORDS
},
31969 { (char *)"HelpProvider_GetHelp", (PyCFunction
) _wrap_HelpProvider_GetHelp
, METH_VARARGS
| METH_KEYWORDS
},
31970 { (char *)"HelpProvider_ShowHelp", (PyCFunction
) _wrap_HelpProvider_ShowHelp
, METH_VARARGS
| METH_KEYWORDS
},
31971 { (char *)"HelpProvider_AddHelp", (PyCFunction
) _wrap_HelpProvider_AddHelp
, METH_VARARGS
| METH_KEYWORDS
},
31972 { (char *)"HelpProvider_AddHelpById", (PyCFunction
) _wrap_HelpProvider_AddHelpById
, METH_VARARGS
| METH_KEYWORDS
},
31973 { (char *)"HelpProvider_RemoveHelp", (PyCFunction
) _wrap_HelpProvider_RemoveHelp
, METH_VARARGS
| METH_KEYWORDS
},
31974 { (char *)"HelpProvider_Destroy", (PyCFunction
) _wrap_HelpProvider_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
31975 { (char *)"HelpProvider_swigregister", HelpProvider_swigregister
, METH_VARARGS
},
31976 { (char *)"new_SimpleHelpProvider", (PyCFunction
) _wrap_new_SimpleHelpProvider
, METH_VARARGS
| METH_KEYWORDS
},
31977 { (char *)"SimpleHelpProvider_swigregister", SimpleHelpProvider_swigregister
, METH_VARARGS
},
31978 { (char *)"new_DragImage", (PyCFunction
) _wrap_new_DragImage
, METH_VARARGS
| METH_KEYWORDS
},
31979 { (char *)"new_DragIcon", (PyCFunction
) _wrap_new_DragIcon
, METH_VARARGS
| METH_KEYWORDS
},
31980 { (char *)"new_DragString", (PyCFunction
) _wrap_new_DragString
, METH_VARARGS
| METH_KEYWORDS
},
31981 { (char *)"new_DragTreeItem", (PyCFunction
) _wrap_new_DragTreeItem
, METH_VARARGS
| METH_KEYWORDS
},
31982 { (char *)"new_DragListItem", (PyCFunction
) _wrap_new_DragListItem
, METH_VARARGS
| METH_KEYWORDS
},
31983 { (char *)"delete_DragImage", (PyCFunction
) _wrap_delete_DragImage
, METH_VARARGS
| METH_KEYWORDS
},
31984 { (char *)"DragImage_SetBackingBitmap", (PyCFunction
) _wrap_DragImage_SetBackingBitmap
, METH_VARARGS
| METH_KEYWORDS
},
31985 { (char *)"DragImage_BeginDrag", (PyCFunction
) _wrap_DragImage_BeginDrag
, METH_VARARGS
| METH_KEYWORDS
},
31986 { (char *)"DragImage_BeginDragBounded", (PyCFunction
) _wrap_DragImage_BeginDragBounded
, METH_VARARGS
| METH_KEYWORDS
},
31987 { (char *)"DragImage_EndDrag", (PyCFunction
) _wrap_DragImage_EndDrag
, METH_VARARGS
| METH_KEYWORDS
},
31988 { (char *)"DragImage_Move", (PyCFunction
) _wrap_DragImage_Move
, METH_VARARGS
| METH_KEYWORDS
},
31989 { (char *)"DragImage_Show", (PyCFunction
) _wrap_DragImage_Show
, METH_VARARGS
| METH_KEYWORDS
},
31990 { (char *)"DragImage_Hide", (PyCFunction
) _wrap_DragImage_Hide
, METH_VARARGS
| METH_KEYWORDS
},
31991 { (char *)"DragImage_GetImageRect", (PyCFunction
) _wrap_DragImage_GetImageRect
, METH_VARARGS
| METH_KEYWORDS
},
31992 { (char *)"DragImage_DoDrawImage", (PyCFunction
) _wrap_DragImage_DoDrawImage
, METH_VARARGS
| METH_KEYWORDS
},
31993 { (char *)"DragImage_UpdateBackingFromWindow", (PyCFunction
) _wrap_DragImage_UpdateBackingFromWindow
, METH_VARARGS
| METH_KEYWORDS
},
31994 { (char *)"DragImage_RedrawImage", (PyCFunction
) _wrap_DragImage_RedrawImage
, METH_VARARGS
| METH_KEYWORDS
},
31995 { (char *)"DragImage_swigregister", DragImage_swigregister
, METH_VARARGS
},
32000 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
32002 static void *_p_wxNotebookEventTo_p_wxBookCtrlEvent(void *x
) {
32003 return (void *)((wxBookCtrlEvent
*) ((wxNotebookEvent
*) x
));
32005 static void *_p_wxListbookEventTo_p_wxBookCtrlEvent(void *x
) {
32006 return (void *)((wxBookCtrlEvent
*) ((wxListbookEvent
*) x
));
32008 static void *_p_wxBoxSizerTo_p_wxSizer(void *x
) {
32009 return (void *)((wxSizer
*) ((wxBoxSizer
*) x
));
32011 static void *_p_wxStaticBoxSizerTo_p_wxSizer(void *x
) {
32012 return (void *)((wxSizer
*) (wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
32014 static void *_p_wxGridBagSizerTo_p_wxSizer(void *x
) {
32015 return (void *)((wxSizer
*) (wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
32017 static void *_p_wxGridSizerTo_p_wxSizer(void *x
) {
32018 return (void *)((wxSizer
*) ((wxGridSizer
*) x
));
32020 static void *_p_wxFlexGridSizerTo_p_wxSizer(void *x
) {
32021 return (void *)((wxSizer
*) (wxGridSizer
*) ((wxFlexGridSizer
*) x
));
32023 static void *_p_wxNotebookSizerTo_p_wxSizer(void *x
) {
32024 return (void *)((wxSizer
*) ((wxNotebookSizer
*) x
));
32026 static void *_p_wxPySizerTo_p_wxSizer(void *x
) {
32027 return (void *)((wxSizer
*) ((wxPySizer
*) x
));
32029 static void *_p_wxBookCtrlSizerTo_p_wxSizer(void *x
) {
32030 return (void *)((wxSizer
*) ((wxBookCtrlSizer
*) x
));
32032 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
32033 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
32035 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
32036 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
32038 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
32039 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
32041 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
32042 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
32044 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
32045 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
32047 static void *_p_wxTreeEventTo_p_wxEvent(void *x
) {
32048 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxTreeEvent
*) x
));
32050 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
32051 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
32053 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
32054 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
32056 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
32057 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
32059 static void *_p_wxTextUrlEventTo_p_wxEvent(void *x
) {
32060 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
32062 static void *_p_wxBookCtrlEventTo_p_wxEvent(void *x
) {
32063 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxBookCtrlEvent
*) x
));
32065 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
32066 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
32068 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
32069 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
32071 static void *_p_wxListEventTo_p_wxEvent(void *x
) {
32072 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxListEvent
*) x
));
32074 static void *_p_wxNotebookEventTo_p_wxEvent(void *x
) {
32075 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlEvent
*) ((wxNotebookEvent
*) x
));
32077 static void *_p_wxListbookEventTo_p_wxEvent(void *x
) {
32078 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlEvent
*) ((wxListbookEvent
*) x
));
32080 static void *_p_wxHelpEventTo_p_wxEvent(void *x
) {
32081 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxHelpEvent
*) x
));
32083 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
32084 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
32086 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
32087 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
32089 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
32090 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
32092 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
32093 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
32095 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
32096 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
32098 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
32099 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
32101 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
32102 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
32104 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
32105 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
32107 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
32108 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
32110 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
32111 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
32113 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
32114 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
32116 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
32117 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
32119 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
32120 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
32122 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
32123 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
32125 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
32126 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
32128 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
32129 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
32131 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
32132 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
32134 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
32135 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
32137 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
32138 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
32140 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
32141 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
32143 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
32144 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
32146 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
32147 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
32149 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
32150 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
32152 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
32153 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
32155 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
32156 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
32158 static void *_p_wxSpinEventTo_p_wxEvent(void *x
) {
32159 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxSpinEvent
*) x
));
32161 static void *_p_wxComboBoxTo_p_wxItemContainer(void *x
) {
32162 return (void *)((wxItemContainer
*) ((wxComboBox
*) x
));
32164 static void *_p_wxDirFilterListCtrlTo_p_wxItemContainer(void *x
) {
32165 return (void *)((wxItemContainer
*) (wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
32167 static void *_p_wxChoiceTo_p_wxItemContainer(void *x
) {
32168 return (void *)((wxItemContainer
*) (wxControlWithItems
*) ((wxChoice
*) x
));
32170 static void *_p_wxControlWithItemsTo_p_wxItemContainer(void *x
) {
32171 return (void *)((wxItemContainer
*) ((wxControlWithItems
*) x
));
32173 static void *_p_wxListBoxTo_p_wxItemContainer(void *x
) {
32174 return (void *)((wxItemContainer
*) (wxControlWithItems
*) ((wxListBox
*) x
));
32176 static void *_p_wxCheckListBoxTo_p_wxItemContainer(void *x
) {
32177 return (void *)((wxItemContainer
*) (wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
32179 static void *_p_wxListViewTo_p_wxPyListCtrl(void *x
) {
32180 return (void *)((wxPyListCtrl
*) ((wxListView
*) x
));
32182 static void *_p_wxCheckListBoxTo_p_wxControl(void *x
) {
32183 return (void *)((wxControl
*) (wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
32185 static void *_p_wxListBoxTo_p_wxControl(void *x
) {
32186 return (void *)((wxControl
*) (wxControlWithItems
*) ((wxListBox
*) x
));
32188 static void *_p_wxChoiceTo_p_wxControl(void *x
) {
32189 return (void *)((wxControl
*) (wxControlWithItems
*) ((wxChoice
*) x
));
32191 static void *_p_wxToolBarTo_p_wxControl(void *x
) {
32192 return (void *)((wxControl
*) (wxToolBarBase
*) ((wxToolBar
*) x
));
32194 static void *_p_wxStaticBitmapTo_p_wxControl(void *x
) {
32195 return (void *)((wxControl
*) ((wxStaticBitmap
*) x
));
32197 static void *_p_wxComboBoxTo_p_wxControl(void *x
) {
32198 return (void *)((wxControl
*) ((wxComboBox
*) x
));
32200 static void *_p_wxSpinCtrlTo_p_wxControl(void *x
) {
32201 return (void *)((wxControl
*) ((wxSpinCtrl
*) x
));
32203 static void *_p_wxStaticBoxTo_p_wxControl(void *x
) {
32204 return (void *)((wxControl
*) ((wxStaticBox
*) x
));
32206 static void *_p_wxPyListCtrlTo_p_wxControl(void *x
) {
32207 return (void *)((wxControl
*) ((wxPyListCtrl
*) x
));
32209 static void *_p_wxPyTreeCtrlTo_p_wxControl(void *x
) {
32210 return (void *)((wxControl
*) ((wxPyTreeCtrl
*) x
));
32212 static void *_p_wxDirFilterListCtrlTo_p_wxControl(void *x
) {
32213 return (void *)((wxControl
*) (wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
32215 static void *_p_wxScrollBarTo_p_wxControl(void *x
) {
32216 return (void *)((wxControl
*) ((wxScrollBar
*) x
));
32218 static void *_p_wxBookCtrlTo_p_wxControl(void *x
) {
32219 return (void *)((wxControl
*) ((wxBookCtrl
*) x
));
32221 static void *_p_wxRadioButtonTo_p_wxControl(void *x
) {
32222 return (void *)((wxControl
*) ((wxRadioButton
*) x
));
32224 static void *_p_wxToggleButtonTo_p_wxControl(void *x
) {
32225 return (void *)((wxControl
*) ((wxToggleButton
*) x
));
32227 static void *_p_wxGaugeTo_p_wxControl(void *x
) {
32228 return (void *)((wxControl
*) ((wxGauge
*) x
));
32230 static void *_p_wxToolBarBaseTo_p_wxControl(void *x
) {
32231 return (void *)((wxControl
*) ((wxToolBarBase
*) x
));
32233 static void *_p_wxBitmapButtonTo_p_wxControl(void *x
) {
32234 return (void *)((wxControl
*) (wxButton
*) ((wxBitmapButton
*) x
));
32236 static void *_p_wxButtonTo_p_wxControl(void *x
) {
32237 return (void *)((wxControl
*) ((wxButton
*) x
));
32239 static void *_p_wxSpinButtonTo_p_wxControl(void *x
) {
32240 return (void *)((wxControl
*) ((wxSpinButton
*) x
));
32242 static void *_p_wxContextHelpButtonTo_p_wxControl(void *x
) {
32243 return (void *)((wxControl
*) (wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
32245 static void *_p_wxControlWithItemsTo_p_wxControl(void *x
) {
32246 return (void *)((wxControl
*) ((wxControlWithItems
*) x
));
32248 static void *_p_wxRadioBoxTo_p_wxControl(void *x
) {
32249 return (void *)((wxControl
*) ((wxRadioBox
*) x
));
32251 static void *_p_wxNotebookTo_p_wxControl(void *x
) {
32252 return (void *)((wxControl
*) (wxBookCtrl
*) ((wxNotebook
*) x
));
32254 static void *_p_wxListbookTo_p_wxControl(void *x
) {
32255 return (void *)((wxControl
*) (wxBookCtrl
*) ((wxListbook
*) x
));
32257 static void *_p_wxCheckBoxTo_p_wxControl(void *x
) {
32258 return (void *)((wxControl
*) ((wxCheckBox
*) x
));
32260 static void *_p_wxTextCtrlTo_p_wxControl(void *x
) {
32261 return (void *)((wxControl
*) ((wxTextCtrl
*) x
));
32263 static void *_p_wxListViewTo_p_wxControl(void *x
) {
32264 return (void *)((wxControl
*) (wxPyListCtrl
*) ((wxListView
*) x
));
32266 static void *_p_wxSliderTo_p_wxControl(void *x
) {
32267 return (void *)((wxControl
*) ((wxSlider
*) x
));
32269 static void *_p_wxGenericDirCtrlTo_p_wxControl(void *x
) {
32270 return (void *)((wxControl
*) ((wxGenericDirCtrl
*) x
));
32272 static void *_p_wxPyControlTo_p_wxControl(void *x
) {
32273 return (void *)((wxControl
*) ((wxPyControl
*) x
));
32275 static void *_p_wxStaticLineTo_p_wxControl(void *x
) {
32276 return (void *)((wxControl
*) ((wxStaticLine
*) x
));
32278 static void *_p_wxStaticTextTo_p_wxControl(void *x
) {
32279 return (void *)((wxControl
*) ((wxStaticText
*) x
));
32281 static void *_p_wxToolBarTo_p_wxToolBarBase(void *x
) {
32282 return (void *)((wxToolBarBase
*) ((wxToolBar
*) x
));
32284 static void *_p_wxDirFilterListCtrlTo_p_wxChoice(void *x
) {
32285 return (void *)((wxChoice
*) ((wxDirFilterListCtrl
*) x
));
32287 static void *_p_wxTreeEventTo_p_wxNotifyEvent(void *x
) {
32288 return (void *)((wxNotifyEvent
*) ((wxTreeEvent
*) x
));
32290 static void *_p_wxBookCtrlEventTo_p_wxNotifyEvent(void *x
) {
32291 return (void *)((wxNotifyEvent
*) ((wxBookCtrlEvent
*) x
));
32293 static void *_p_wxListEventTo_p_wxNotifyEvent(void *x
) {
32294 return (void *)((wxNotifyEvent
*) ((wxListEvent
*) x
));
32296 static void *_p_wxSpinEventTo_p_wxNotifyEvent(void *x
) {
32297 return (void *)((wxNotifyEvent
*) ((wxSpinEvent
*) x
));
32299 static void *_p_wxNotebookEventTo_p_wxNotifyEvent(void *x
) {
32300 return (void *)((wxNotifyEvent
*) (wxBookCtrlEvent
*) ((wxNotebookEvent
*) x
));
32302 static void *_p_wxListbookEventTo_p_wxNotifyEvent(void *x
) {
32303 return (void *)((wxNotifyEvent
*) (wxBookCtrlEvent
*) ((wxListbookEvent
*) x
));
32305 static void *_p_wxBookCtrlTo_p_wxEvtHandler(void *x
) {
32306 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxBookCtrl
*) x
));
32308 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
32309 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
32311 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
32312 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
32314 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
32315 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
32317 static void *_p_wxToolBarTo_p_wxEvtHandler(void *x
) {
32318 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
32320 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
32321 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
32323 static void *_p_wxToggleButtonTo_p_wxEvtHandler(void *x
) {
32324 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxToggleButton
*) x
));
32326 static void *_p_wxRadioButtonTo_p_wxEvtHandler(void *x
) {
32327 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxRadioButton
*) x
));
32329 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
32330 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
32332 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
32333 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
32335 static void *_p_wxToolBarBaseTo_p_wxEvtHandler(void *x
) {
32336 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxToolBarBase
*) x
));
32338 static void *_p_wxPyListCtrlTo_p_wxEvtHandler(void *x
) {
32339 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyListCtrl
*) x
));
32341 static void *_p_wxComboBoxTo_p_wxEvtHandler(void *x
) {
32342 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxComboBox
*) x
));
32344 static void *_p_wxDirFilterListCtrlTo_p_wxEvtHandler(void *x
) {
32345 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
32347 static void *_p_wxPyControlTo_p_wxEvtHandler(void *x
) {
32348 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyControl
*) x
));
32350 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
32351 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
32353 static void *_p_wxGenericDirCtrlTo_p_wxEvtHandler(void *x
) {
32354 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxGenericDirCtrl
*) x
));
32356 static void *_p_wxScrollBarTo_p_wxEvtHandler(void *x
) {
32357 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxScrollBar
*) x
));
32359 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
32360 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
32362 static void *_p_wxGaugeTo_p_wxEvtHandler(void *x
) {
32363 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxGauge
*) x
));
32365 static void *_p_wxStaticLineTo_p_wxEvtHandler(void *x
) {
32366 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticLine
*) x
));
32368 static void *_p_wxListbookTo_p_wxEvtHandler(void *x
) {
32369 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrl
*) ((wxListbook
*) x
));
32371 static void *_p_wxPyTreeCtrlTo_p_wxEvtHandler(void *x
) {
32372 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyTreeCtrl
*) x
));
32374 static void *_p_wxCheckBoxTo_p_wxEvtHandler(void *x
) {
32375 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxCheckBox
*) x
));
32377 static void *_p_wxRadioBoxTo_p_wxEvtHandler(void *x
) {
32378 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxRadioBox
*) x
));
32380 static void *_p_wxCheckListBoxTo_p_wxEvtHandler(void *x
) {
32381 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
32383 static void *_p_wxListBoxTo_p_wxEvtHandler(void *x
) {
32384 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
32386 static void *_p_wxChoiceTo_p_wxEvtHandler(void *x
) {
32387 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
32389 static void *_p_wxNotebookTo_p_wxEvtHandler(void *x
) {
32390 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrl
*) ((wxNotebook
*) x
));
32392 static void *_p_wxStaticBitmapTo_p_wxEvtHandler(void *x
) {
32393 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticBitmap
*) x
));
32395 static void *_p_wxListViewTo_p_wxEvtHandler(void *x
) {
32396 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
32398 static void *_p_wxSpinCtrlTo_p_wxEvtHandler(void *x
) {
32399 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSpinCtrl
*) x
));
32401 static void *_p_wxStaticTextTo_p_wxEvtHandler(void *x
) {
32402 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticText
*) x
));
32404 static void *_p_wxStaticBoxTo_p_wxEvtHandler(void *x
) {
32405 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticBox
*) x
));
32407 static void *_p_wxSliderTo_p_wxEvtHandler(void *x
) {
32408 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSlider
*) x
));
32410 static void *_p_wxSpinButtonTo_p_wxEvtHandler(void *x
) {
32411 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSpinButton
*) x
));
32413 static void *_p_wxButtonTo_p_wxEvtHandler(void *x
) {
32414 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxButton
*) x
));
32416 static void *_p_wxBitmapButtonTo_p_wxEvtHandler(void *x
) {
32417 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
32419 static void *_p_wxContextHelpButtonTo_p_wxEvtHandler(void *x
) {
32420 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
32422 static void *_p_wxTextCtrlTo_p_wxEvtHandler(void *x
) {
32423 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxTextCtrl
*) x
));
32425 static void *_p_wxCheckListBoxTo_p_wxListBox(void *x
) {
32426 return (void *)((wxListBox
*) ((wxCheckListBox
*) x
));
32428 static void *_p_wxListbookTo_p_wxBookCtrl(void *x
) {
32429 return (void *)((wxBookCtrl
*) ((wxListbook
*) x
));
32431 static void *_p_wxNotebookTo_p_wxBookCtrl(void *x
) {
32432 return (void *)((wxBookCtrl
*) ((wxNotebook
*) x
));
32434 static void *_p_wxBitmapButtonTo_p_wxButton(void *x
) {
32435 return (void *)((wxButton
*) ((wxBitmapButton
*) x
));
32437 static void *_p_wxContextHelpButtonTo_p_wxButton(void *x
) {
32438 return (void *)((wxButton
*) (wxBitmapButton
*) ((wxContextHelpButton
*) x
));
32440 static void *_p_wxContextHelpButtonTo_p_wxBitmapButton(void *x
) {
32441 return (void *)((wxBitmapButton
*) ((wxContextHelpButton
*) x
));
32443 static void *_p_wxSimpleHelpProviderTo_p_wxHelpProvider(void *x
) {
32444 return (void *)((wxHelpProvider
*) ((wxSimpleHelpProvider
*) x
));
32446 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
32447 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
32449 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
32450 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
32452 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
32453 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
32455 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
32456 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
32458 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
32459 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
32461 static void *_p_wxTextUrlEventTo_p_wxObject(void *x
) {
32462 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
32464 static void *_p_wxBookCtrlEventTo_p_wxObject(void *x
) {
32465 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxBookCtrlEvent
*) x
));
32467 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
32468 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
32470 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
32471 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
32473 static void *_p_wxSizerTo_p_wxObject(void *x
) {
32474 return (void *)((wxObject
*) ((wxSizer
*) x
));
32476 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
32477 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
32479 static void *_p_wxCheckBoxTo_p_wxObject(void *x
) {
32480 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxCheckBox
*) x
));
32482 static void *_p_wxPyTreeCtrlTo_p_wxObject(void *x
) {
32483 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyTreeCtrl
*) x
));
32485 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
32486 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
32488 static void *_p_wxEventTo_p_wxObject(void *x
) {
32489 return (void *)((wxObject
*) ((wxEvent
*) x
));
32491 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
32492 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
32494 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
32495 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
32497 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
32498 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
32500 static void *_p_wxGenericDirCtrlTo_p_wxObject(void *x
) {
32501 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxGenericDirCtrl
*) x
));
32503 static void *_p_wxPyListCtrlTo_p_wxObject(void *x
) {
32504 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyListCtrl
*) x
));
32506 static void *_p_wxDirFilterListCtrlTo_p_wxObject(void *x
) {
32507 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
32509 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
32510 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
32512 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
32513 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
32515 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
32516 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
32518 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
32519 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
32521 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
32522 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
32524 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
32525 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
32527 static void *_p_wxStaticLineTo_p_wxObject(void *x
) {
32528 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticLine
*) x
));
32530 static void *_p_wxControlTo_p_wxObject(void *x
) {
32531 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
32533 static void *_p_wxPyControlTo_p_wxObject(void *x
) {
32534 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyControl
*) x
));
32536 static void *_p_wxGaugeTo_p_wxObject(void *x
) {
32537 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxGauge
*) x
));
32539 static void *_p_wxRadioButtonTo_p_wxObject(void *x
) {
32540 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxRadioButton
*) x
));
32542 static void *_p_wxToggleButtonTo_p_wxObject(void *x
) {
32543 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxToggleButton
*) x
));
32545 static void *_p_wxToolBarBaseTo_p_wxObject(void *x
) {
32546 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxToolBarBase
*) x
));
32548 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
32549 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
32551 static void *_p_wxChoiceTo_p_wxObject(void *x
) {
32552 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
32554 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
32555 return (void *)((wxObject
*) ((wxFSFile
*) x
));
32557 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
32558 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
32560 static void *_p_wxListViewTo_p_wxObject(void *x
) {
32561 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
32563 static void *_p_wxTextCtrlTo_p_wxObject(void *x
) {
32564 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxTextCtrl
*) x
));
32566 static void *_p_wxNotebookTo_p_wxObject(void *x
) {
32567 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrl
*) ((wxNotebook
*) x
));
32569 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
32570 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
32572 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
32573 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
32575 static void *_p_wxListbookTo_p_wxObject(void *x
) {
32576 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrl
*) ((wxListbook
*) x
));
32578 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
32579 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
32581 static void *_p_wxStaticBitmapTo_p_wxObject(void *x
) {
32582 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticBitmap
*) x
));
32584 static void *_p_wxSliderTo_p_wxObject(void *x
) {
32585 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSlider
*) x
));
32587 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
32588 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
32590 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
32591 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
32593 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
32594 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
32596 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
32597 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
32599 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
32600 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
32602 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
32603 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
32605 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
32606 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
32608 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
32609 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
32611 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
32612 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
32614 static void *_p_wxStaticBoxTo_p_wxObject(void *x
) {
32615 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticBox
*) x
));
32617 static void *_p_wxContextHelpTo_p_wxObject(void *x
) {
32618 return (void *)((wxObject
*) ((wxContextHelp
*) x
));
32620 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
32621 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
32623 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
32624 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
32626 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
32627 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
32629 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
32630 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
32632 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
32633 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
32635 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
32636 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
32638 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
32639 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
32641 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
32642 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
32644 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
32645 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
32647 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
32648 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
32650 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
32651 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
32653 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
32654 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
32656 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
32657 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
32659 static void *_p_wxListEventTo_p_wxObject(void *x
) {
32660 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxListEvent
*) x
));
32662 static void *_p_wxListBoxTo_p_wxObject(void *x
) {
32663 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
32665 static void *_p_wxCheckListBoxTo_p_wxObject(void *x
) {
32666 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
32668 static void *_p_wxBookCtrlTo_p_wxObject(void *x
) {
32669 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxBookCtrl
*) x
));
32671 static void *_p_wxButtonTo_p_wxObject(void *x
) {
32672 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxButton
*) x
));
32674 static void *_p_wxBitmapButtonTo_p_wxObject(void *x
) {
32675 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
32677 static void *_p_wxSpinButtonTo_p_wxObject(void *x
) {
32678 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSpinButton
*) x
));
32680 static void *_p_wxContextHelpButtonTo_p_wxObject(void *x
) {
32681 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
32683 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
32684 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
32686 static void *_p_wxScrollBarTo_p_wxObject(void *x
) {
32687 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxScrollBar
*) x
));
32689 static void *_p_wxRadioBoxTo_p_wxObject(void *x
) {
32690 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxRadioBox
*) x
));
32692 static void *_p_wxComboBoxTo_p_wxObject(void *x
) {
32693 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxComboBox
*) x
));
32695 static void *_p_wxHelpEventTo_p_wxObject(void *x
) {
32696 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxHelpEvent
*) x
));
32698 static void *_p_wxListItemTo_p_wxObject(void *x
) {
32699 return (void *)((wxObject
*) ((wxListItem
*) x
));
32701 static void *_p_wxImageTo_p_wxObject(void *x
) {
32702 return (void *)((wxObject
*) ((wxImage
*) x
));
32704 static void *_p_wxNotebookSizerTo_p_wxObject(void *x
) {
32705 return (void *)((wxObject
*) (wxSizer
*) ((wxNotebookSizer
*) x
));
32707 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
32708 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
32710 static void *_p_wxSpinEventTo_p_wxObject(void *x
) {
32711 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxSpinEvent
*) x
));
32713 static void *_p_wxGenericDragImageTo_p_wxObject(void *x
) {
32714 return (void *)((wxObject
*) ((wxGenericDragImage
*) x
));
32716 static void *_p_wxSpinCtrlTo_p_wxObject(void *x
) {
32717 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSpinCtrl
*) x
));
32719 static void *_p_wxNotebookEventTo_p_wxObject(void *x
) {
32720 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlEvent
*) ((wxNotebookEvent
*) x
));
32722 static void *_p_wxListbookEventTo_p_wxObject(void *x
) {
32723 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlEvent
*) ((wxListbookEvent
*) x
));
32725 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
32726 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
32728 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
32729 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
32731 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
32732 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
32734 static void *_p_wxWindowTo_p_wxObject(void *x
) {
32735 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
32737 static void *_p_wxMenuTo_p_wxObject(void *x
) {
32738 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
32740 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
32741 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
32743 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
32744 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
32746 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
32747 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
32749 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
32750 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
32752 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
32753 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
32755 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
32756 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
32758 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
32759 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
32761 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
32762 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
32764 static void *_p_wxTreeEventTo_p_wxObject(void *x
) {
32765 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxTreeEvent
*) x
));
32767 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
32768 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
32770 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
32771 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
32773 static void *_p_wxStaticTextTo_p_wxObject(void *x
) {
32774 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticText
*) x
));
32776 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
32777 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
32779 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
32780 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
32782 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
32783 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
32785 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
32786 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
32788 static void *_p_wxToolBarToolBaseTo_p_wxObject(void *x
) {
32789 return (void *)((wxObject
*) ((wxToolBarToolBase
*) x
));
32791 static void *_p_wxToolBarTo_p_wxObject(void *x
) {
32792 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
32794 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
32795 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
32797 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
32798 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
32800 static void *_p_wxBookCtrlSizerTo_p_wxObject(void *x
) {
32801 return (void *)((wxObject
*) (wxSizer
*) ((wxBookCtrlSizer
*) x
));
32803 static void *_p_wxBookCtrlTo_p_wxWindow(void *x
) {
32804 return (void *)((wxWindow
*) (wxControl
*) ((wxBookCtrl
*) x
));
32806 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
32807 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
32809 static void *_p_wxToolBarTo_p_wxWindow(void *x
) {
32810 return (void *)((wxWindow
*) (wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
32812 static void *_p_wxToggleButtonTo_p_wxWindow(void *x
) {
32813 return (void *)((wxWindow
*) (wxControl
*) ((wxToggleButton
*) x
));
32815 static void *_p_wxRadioButtonTo_p_wxWindow(void *x
) {
32816 return (void *)((wxWindow
*) (wxControl
*) ((wxRadioButton
*) x
));
32818 static void *_p_wxPyControlTo_p_wxWindow(void *x
) {
32819 return (void *)((wxWindow
*) (wxControl
*) ((wxPyControl
*) x
));
32821 static void *_p_wxControlTo_p_wxWindow(void *x
) {
32822 return (void *)((wxWindow
*) ((wxControl
*) x
));
32824 static void *_p_wxToolBarBaseTo_p_wxWindow(void *x
) {
32825 return (void *)((wxWindow
*) (wxControl
*) ((wxToolBarBase
*) x
));
32827 static void *_p_wxDirFilterListCtrlTo_p_wxWindow(void *x
) {
32828 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
32830 static void *_p_wxPyListCtrlTo_p_wxWindow(void *x
) {
32831 return (void *)((wxWindow
*) (wxControl
*) ((wxPyListCtrl
*) x
));
32833 static void *_p_wxComboBoxTo_p_wxWindow(void *x
) {
32834 return (void *)((wxWindow
*) (wxControl
*) ((wxComboBox
*) x
));
32836 static void *_p_wxGenericDirCtrlTo_p_wxWindow(void *x
) {
32837 return (void *)((wxWindow
*) (wxControl
*) ((wxGenericDirCtrl
*) x
));
32839 static void *_p_wxScrollBarTo_p_wxWindow(void *x
) {
32840 return (void *)((wxWindow
*) (wxControl
*) ((wxScrollBar
*) x
));
32842 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
32843 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
32845 static void *_p_wxGaugeTo_p_wxWindow(void *x
) {
32846 return (void *)((wxWindow
*) (wxControl
*) ((wxGauge
*) x
));
32848 static void *_p_wxStaticLineTo_p_wxWindow(void *x
) {
32849 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticLine
*) x
));
32851 static void *_p_wxListbookTo_p_wxWindow(void *x
) {
32852 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrl
*) ((wxListbook
*) x
));
32854 static void *_p_wxPyTreeCtrlTo_p_wxWindow(void *x
) {
32855 return (void *)((wxWindow
*) (wxControl
*) ((wxPyTreeCtrl
*) x
));
32857 static void *_p_wxCheckBoxTo_p_wxWindow(void *x
) {
32858 return (void *)((wxWindow
*) (wxControl
*) ((wxCheckBox
*) x
));
32860 static void *_p_wxRadioBoxTo_p_wxWindow(void *x
) {
32861 return (void *)((wxWindow
*) (wxControl
*) ((wxRadioBox
*) x
));
32863 static void *_p_wxCheckListBoxTo_p_wxWindow(void *x
) {
32864 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
32866 static void *_p_wxChoiceTo_p_wxWindow(void *x
) {
32867 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
32869 static void *_p_wxListBoxTo_p_wxWindow(void *x
) {
32870 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
32872 static void *_p_wxListViewTo_p_wxWindow(void *x
) {
32873 return (void *)((wxWindow
*) (wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
32875 static void *_p_wxNotebookTo_p_wxWindow(void *x
) {
32876 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrl
*) ((wxNotebook
*) x
));
32878 static void *_p_wxStaticBitmapTo_p_wxWindow(void *x
) {
32879 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticBitmap
*) x
));
32881 static void *_p_wxSpinCtrlTo_p_wxWindow(void *x
) {
32882 return (void *)((wxWindow
*) (wxControl
*) ((wxSpinCtrl
*) x
));
32884 static void *_p_wxStaticTextTo_p_wxWindow(void *x
) {
32885 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticText
*) x
));
32887 static void *_p_wxStaticBoxTo_p_wxWindow(void *x
) {
32888 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticBox
*) x
));
32890 static void *_p_wxSliderTo_p_wxWindow(void *x
) {
32891 return (void *)((wxWindow
*) (wxControl
*) ((wxSlider
*) x
));
32893 static void *_p_wxSpinButtonTo_p_wxWindow(void *x
) {
32894 return (void *)((wxWindow
*) (wxControl
*) ((wxSpinButton
*) x
));
32896 static void *_p_wxButtonTo_p_wxWindow(void *x
) {
32897 return (void *)((wxWindow
*) (wxControl
*) ((wxButton
*) x
));
32899 static void *_p_wxBitmapButtonTo_p_wxWindow(void *x
) {
32900 return (void *)((wxWindow
*) (wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
32902 static void *_p_wxContextHelpButtonTo_p_wxWindow(void *x
) {
32903 return (void *)((wxWindow
*) (wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
32905 static void *_p_wxTextCtrlTo_p_wxWindow(void *x
) {
32906 return (void *)((wxWindow
*) (wxControl
*) ((wxTextCtrl
*) x
));
32908 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x
) {
32909 return (void *)((wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
32911 static void *_p_wxBookCtrlEventTo_p_wxCommandEvent(void *x
) {
32912 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxBookCtrlEvent
*) x
));
32914 static void *_p_wxTextUrlEventTo_p_wxCommandEvent(void *x
) {
32915 return (void *)((wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
32917 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x
) {
32918 return (void *)((wxCommandEvent
*) ((wxScrollEvent
*) x
));
32920 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x
) {
32921 return (void *)((wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
32923 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x
) {
32924 return (void *)((wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
32926 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x
) {
32927 return (void *)((wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
32929 static void *_p_wxListbookEventTo_p_wxCommandEvent(void *x
) {
32930 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlEvent
*) ((wxListbookEvent
*) x
));
32932 static void *_p_wxNotebookEventTo_p_wxCommandEvent(void *x
) {
32933 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlEvent
*) ((wxNotebookEvent
*) x
));
32935 static void *_p_wxListEventTo_p_wxCommandEvent(void *x
) {
32936 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxListEvent
*) x
));
32938 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x
) {
32939 return (void *)((wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
32941 static void *_p_wxTreeEventTo_p_wxCommandEvent(void *x
) {
32942 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxTreeEvent
*) x
));
32944 static void *_p_wxSpinEventTo_p_wxCommandEvent(void *x
) {
32945 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxSpinEvent
*) x
));
32947 static void *_p_wxHelpEventTo_p_wxCommandEvent(void *x
) {
32948 return (void *)((wxCommandEvent
*) ((wxHelpEvent
*) x
));
32950 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x
) {
32951 return (void *)((wxCommandEvent
*) ((wxNotifyEvent
*) x
));
32953 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x
) {
32954 return (void *)((wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
32956 static void *_p_wxDirFilterListCtrlTo_p_wxControlWithItems(void *x
) {
32957 return (void *)((wxControlWithItems
*) (wxChoice
*) ((wxDirFilterListCtrl
*) x
));
32959 static void *_p_wxChoiceTo_p_wxControlWithItems(void *x
) {
32960 return (void *)((wxControlWithItems
*) ((wxChoice
*) x
));
32962 static void *_p_wxListBoxTo_p_wxControlWithItems(void *x
) {
32963 return (void *)((wxControlWithItems
*) ((wxListBox
*) x
));
32965 static void *_p_wxCheckListBoxTo_p_wxControlWithItems(void *x
) {
32966 return (void *)((wxControlWithItems
*) (wxListBox
*) ((wxCheckListBox
*) x
));
32968 static void *_p_wxPyValidatorTo_p_wxValidator(void *x
) {
32969 return (void *)((wxValidator
*) ((wxPyValidator
*) x
));
32971 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}};
32972 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}};
32973 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}};
32974 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}};
32975 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}};
32976 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}};
32977 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}};
32978 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}};
32979 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}};
32980 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}};
32981 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}};
32982 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}};
32983 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}};
32984 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}};
32985 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}};
32986 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}};
32987 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}};
32988 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}};
32989 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}};
32990 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}};
32991 static swig_type_info _swigt__p_wxChoice
[] = {{"_p_wxChoice", 0, "wxChoice *", 0, 0, 0, 0},{"_p_wxDirFilterListCtrl", _p_wxDirFilterListCtrlTo_p_wxChoice
, 0, 0, 0, 0, 0},{"_p_wxChoice", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
32992 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}};
32993 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}};
32994 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}};
32995 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}};
32996 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}};
32997 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}};
32998 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}};
32999 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}};
33000 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}};
33001 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}};
33002 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}};
33003 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}};
33004 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}};
33005 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}};
33006 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}};
33007 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}};
33008 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}};
33009 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}};
33010 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}};
33011 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}};
33012 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}};
33013 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}};
33014 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}};
33015 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}};
33016 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}};
33017 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}};
33018 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}};
33019 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}};
33020 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}};
33021 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}};
33022 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}};
33023 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}};
33024 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}};
33025 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}};
33026 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}};
33027 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}};
33028 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}};
33029 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}};
33030 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}};
33031 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}};
33032 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}};
33033 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}};
33034 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}};
33035 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}};
33036 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}};
33037 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}};
33038 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}};
33039 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}};
33040 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}};
33041 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}};
33042 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}};
33043 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}};
33044 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}};
33045 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}};
33046 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}};
33047 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}};
33048 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}};
33049 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}};
33050 static swig_type_info _swigt__p_wxControlWithItems
[] = {{"_p_wxControlWithItems", 0, "wxControlWithItems *", 0, 0, 0, 0},{"_p_wxDirFilterListCtrl", _p_wxDirFilterListCtrlTo_p_wxControlWithItems
, 0, 0, 0, 0, 0},{"_p_wxChoice", _p_wxChoiceTo_p_wxControlWithItems
, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", 0, 0, 0, 0, 0, 0},{"_p_wxListBox", _p_wxListBoxTo_p_wxControlWithItems
, 0, 0, 0, 0, 0},{"_p_wxCheckListBox", _p_wxCheckListBoxTo_p_wxControlWithItems
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
33051 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}};
33052 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}};
33053 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}};
33054 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}};
33055 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}};
33057 static swig_type_info
*swig_types_initial
[] = {
33058 _swigt__p_wxTextUrlEvent
,
33059 _swigt__p_wxBookCtrlEvent
,
33061 _swigt__p_wxCheckBox
,
33062 _swigt__p_wxPyTreeCtrl
,
33064 _swigt__p_wxGenericDirCtrl
,
33066 _swigt__p_wxPyTreeItemData
,
33067 _swigt__p_wxItemContainer
,
33068 _swigt__p_wxPyListCtrl
,
33069 _swigt__p_wxDirFilterListCtrl
,
33070 _swigt__p_wxStaticLine
,
33071 _swigt__p_wxControl
,
33072 _swigt__p_wxPyControl
,
33074 _swigt__p_wxToolBarBase
,
33076 _swigt__p_wxToggleButton
,
33077 _swigt__p_wxRadioButton
,
33078 _swigt__p_wxChoice
,
33079 _swigt__p_wxMemoryDC
,
33080 _swigt__p_wxListItemAttr
,
33085 _swigt__p_wxListView
,
33087 _swigt__p_wxVisualAttributes
,
33088 _swigt__p_wxTextCtrl
,
33089 _swigt__p_wxNotebook
,
33090 _swigt__p_wxNotifyEvent
,
33091 _swigt__p_wxArrayString
,
33092 _swigt__p_wxListbook
,
33093 _swigt__p_wxStaticBitmap
,
33094 _swigt__p_wxSlider
,
33095 _swigt__p_wxStaticBox
,
33096 _swigt__p_wxArrayInt
,
33097 _swigt__p_wxContextHelp
,
33099 _swigt__p_wxEvtHandler
,
33100 _swigt__p_wxListEvent
,
33101 _swigt__p_wxCheckListBox
,
33102 _swigt__p_wxListBox
,
33103 _swigt__p_wxBookCtrl
,
33104 _swigt__p_wxSpinButton
,
33105 _swigt__p_wxButton
,
33106 _swigt__p_wxBitmapButton
,
33108 _swigt__p_wxContextHelpButton
,
33109 _swigt__p_wxRadioBox
,
33110 _swigt__p_wxScrollBar
,
33112 _swigt__p_wxTreeItemId
,
33113 _swigt__p_wxComboBox
,
33114 _swigt__p_wxHelpEvent
,
33115 _swigt__p_wxListItem
,
33116 _swigt__p_wxNotebookSizer
,
33117 _swigt__p_wxSpinEvent
,
33118 _swigt__p_wxGenericDragImage
,
33119 _swigt__p_wxSpinCtrl
,
33120 _swigt__p_wxImageList
,
33121 _swigt__p_wxHelpProvider
,
33122 _swigt__p_wxTextAttr
,
33123 _swigt__p_wxSimpleHelpProvider
,
33125 _swigt__p_wxListbookEvent
,
33126 _swigt__p_wxNotebookEvent
,
33127 _swigt__p_wxObject
,
33128 _swigt__p_wxCursor
,
33129 _swigt__p_wxKeyEvent
,
33130 _swigt__p_wxWindow
,
33131 _swigt__p_wxString
,
33132 _swigt__p_wxBitmap
,
33133 _swigt__p_wxTreeEvent
,
33134 _swigt__p_wxMouseEvent
,
33135 _swigt__p_wxCommandEvent
,
33136 _swigt__p_wxStaticText
,
33137 _swigt__p_wxControlWithItems
,
33138 _swigt__p_wxToolBarToolBase
,
33139 _swigt__p_wxColour
,
33140 _swigt__p_wxToolBar
,
33141 _swigt__p_wxBookCtrlSizer
,
33142 _swigt__p_wxValidator
,
33147 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
33149 static swig_const_info swig_const_table
[] = {
33159 SWIGEXPORT(void) SWIG_init(void) {
33160 static PyObject
*SWIG_globals
= 0;
33161 static int typeinit
= 0;
33164 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
33165 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
33166 d
= PyModule_GetDict(m
);
33169 for (i
= 0; swig_types_initial
[i
]; i
++) {
33170 swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]);
33174 SWIG_InstallConstants(d
,swig_const_table
);
33176 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
);
33177 SWIG_addvarlink(SWIG_globals
,(char*)"ButtonNameStr",_wrap_ButtonNameStr_get
, _wrap_ButtonNameStr_set
);
33178 PyDict_SetItemString(d
,"BU_LEFT", SWIG_FromInt((int)wxBU_LEFT
));
33179 PyDict_SetItemString(d
,"BU_TOP", SWIG_FromInt((int)wxBU_TOP
));
33180 PyDict_SetItemString(d
,"BU_RIGHT", SWIG_FromInt((int)wxBU_RIGHT
));
33181 PyDict_SetItemString(d
,"BU_BOTTOM", SWIG_FromInt((int)wxBU_BOTTOM
));
33182 PyDict_SetItemString(d
,"BU_EXACTFIT", SWIG_FromInt((int)wxBU_EXACTFIT
));
33183 PyDict_SetItemString(d
,"BU_AUTODRAW", SWIG_FromInt((int)wxBU_AUTODRAW
));
33184 SWIG_addvarlink(SWIG_globals
,(char*)"CheckBoxNameStr",_wrap_CheckBoxNameStr_get
, _wrap_CheckBoxNameStr_set
);
33185 PyDict_SetItemString(d
,"CHK_2STATE", SWIG_FromInt((int)wxCHK_2STATE
));
33186 PyDict_SetItemString(d
,"CHK_3STATE", SWIG_FromInt((int)wxCHK_3STATE
));
33187 PyDict_SetItemString(d
,"CHK_ALLOW_3RD_STATE_FOR_USER", SWIG_FromInt((int)wxCHK_ALLOW_3RD_STATE_FOR_USER
));
33188 PyDict_SetItemString(d
,"CHK_UNCHECKED", SWIG_FromInt((int)wxCHK_UNCHECKED
));
33189 PyDict_SetItemString(d
,"CHK_CHECKED", SWIG_FromInt((int)wxCHK_CHECKED
));
33190 PyDict_SetItemString(d
,"CHK_UNDETERMINED", SWIG_FromInt((int)wxCHK_UNDETERMINED
));
33191 SWIG_addvarlink(SWIG_globals
,(char*)"ChoiceNameStr",_wrap_ChoiceNameStr_get
, _wrap_ChoiceNameStr_set
);
33192 SWIG_addvarlink(SWIG_globals
,(char*)"ComboBoxNameStr",_wrap_ComboBoxNameStr_get
, _wrap_ComboBoxNameStr_set
);
33193 SWIG_addvarlink(SWIG_globals
,(char*)"GaugeNameStr",_wrap_GaugeNameStr_get
, _wrap_GaugeNameStr_set
);
33194 PyDict_SetItemString(d
,"GA_HORIZONTAL", SWIG_FromInt((int)wxGA_HORIZONTAL
));
33195 PyDict_SetItemString(d
,"GA_VERTICAL", SWIG_FromInt((int)wxGA_VERTICAL
));
33196 PyDict_SetItemString(d
,"GA_SMOOTH", SWIG_FromInt((int)wxGA_SMOOTH
));
33197 PyDict_SetItemString(d
,"GA_PROGRESSBAR", SWIG_FromInt((int)wxGA_PROGRESSBAR
));
33198 SWIG_addvarlink(SWIG_globals
,(char*)"StaticBitmapNameStr",_wrap_StaticBitmapNameStr_get
, _wrap_StaticBitmapNameStr_set
);
33199 SWIG_addvarlink(SWIG_globals
,(char*)"StaticBoxNameStr",_wrap_StaticBoxNameStr_get
, _wrap_StaticBoxNameStr_set
);
33200 SWIG_addvarlink(SWIG_globals
,(char*)"StaticTextNameStr",_wrap_StaticTextNameStr_get
, _wrap_StaticTextNameStr_set
);
33201 SWIG_addvarlink(SWIG_globals
,(char*)"ListBoxNameStr",_wrap_ListBoxNameStr_get
, _wrap_ListBoxNameStr_set
);
33202 SWIG_addvarlink(SWIG_globals
,(char*)"TextCtrlNameStr",_wrap_TextCtrlNameStr_get
, _wrap_TextCtrlNameStr_set
);
33203 PyDict_SetItemString(d
,"TE_NO_VSCROLL", SWIG_FromInt((int)wxTE_NO_VSCROLL
));
33204 PyDict_SetItemString(d
,"TE_AUTO_SCROLL", SWIG_FromInt((int)wxTE_AUTO_SCROLL
));
33205 PyDict_SetItemString(d
,"TE_READONLY", SWIG_FromInt((int)wxTE_READONLY
));
33206 PyDict_SetItemString(d
,"TE_MULTILINE", SWIG_FromInt((int)wxTE_MULTILINE
));
33207 PyDict_SetItemString(d
,"TE_PROCESS_TAB", SWIG_FromInt((int)wxTE_PROCESS_TAB
));
33208 PyDict_SetItemString(d
,"TE_LEFT", SWIG_FromInt((int)wxTE_LEFT
));
33209 PyDict_SetItemString(d
,"TE_CENTER", SWIG_FromInt((int)wxTE_CENTER
));
33210 PyDict_SetItemString(d
,"TE_RIGHT", SWIG_FromInt((int)wxTE_RIGHT
));
33211 PyDict_SetItemString(d
,"TE_CENTRE", SWIG_FromInt((int)wxTE_CENTRE
));
33212 PyDict_SetItemString(d
,"TE_RICH", SWIG_FromInt((int)wxTE_RICH
));
33213 PyDict_SetItemString(d
,"TE_PROCESS_ENTER", SWIG_FromInt((int)wxTE_PROCESS_ENTER
));
33214 PyDict_SetItemString(d
,"TE_PASSWORD", SWIG_FromInt((int)wxTE_PASSWORD
));
33215 PyDict_SetItemString(d
,"TE_AUTO_URL", SWIG_FromInt((int)wxTE_AUTO_URL
));
33216 PyDict_SetItemString(d
,"TE_NOHIDESEL", SWIG_FromInt((int)wxTE_NOHIDESEL
));
33217 PyDict_SetItemString(d
,"TE_DONTWRAP", SWIG_FromInt((int)wxTE_DONTWRAP
));
33218 PyDict_SetItemString(d
,"TE_LINEWRAP", SWIG_FromInt((int)wxTE_LINEWRAP
));
33219 PyDict_SetItemString(d
,"TE_WORDWRAP", SWIG_FromInt((int)wxTE_WORDWRAP
));
33220 PyDict_SetItemString(d
,"TE_RICH2", SWIG_FromInt((int)wxTE_RICH2
));
33221 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_DEFAULT", SWIG_FromInt((int)wxTEXT_ALIGNMENT_DEFAULT
));
33222 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_LEFT", SWIG_FromInt((int)wxTEXT_ALIGNMENT_LEFT
));
33223 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_CENTRE", SWIG_FromInt((int)wxTEXT_ALIGNMENT_CENTRE
));
33224 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_CENTER", SWIG_FromInt((int)wxTEXT_ALIGNMENT_CENTER
));
33225 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_RIGHT", SWIG_FromInt((int)wxTEXT_ALIGNMENT_RIGHT
));
33226 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_JUSTIFIED", SWIG_FromInt((int)wxTEXT_ALIGNMENT_JUSTIFIED
));
33227 PyDict_SetItemString(d
,"TEXT_ATTR_TEXT_COLOUR", SWIG_FromInt((int)wxTEXT_ATTR_TEXT_COLOUR
));
33228 PyDict_SetItemString(d
,"TEXT_ATTR_BACKGROUND_COLOUR", SWIG_FromInt((int)wxTEXT_ATTR_BACKGROUND_COLOUR
));
33229 PyDict_SetItemString(d
,"TEXT_ATTR_FONT_FACE", SWIG_FromInt((int)wxTEXT_ATTR_FONT_FACE
));
33230 PyDict_SetItemString(d
,"TEXT_ATTR_FONT_SIZE", SWIG_FromInt((int)wxTEXT_ATTR_FONT_SIZE
));
33231 PyDict_SetItemString(d
,"TEXT_ATTR_FONT_WEIGHT", SWIG_FromInt((int)wxTEXT_ATTR_FONT_WEIGHT
));
33232 PyDict_SetItemString(d
,"TEXT_ATTR_FONT_ITALIC", SWIG_FromInt((int)wxTEXT_ATTR_FONT_ITALIC
));
33233 PyDict_SetItemString(d
,"TEXT_ATTR_FONT_UNDERLINE", SWIG_FromInt((int)wxTEXT_ATTR_FONT_UNDERLINE
));
33234 PyDict_SetItemString(d
,"TEXT_ATTR_FONT", SWIG_FromInt((int)wxTEXT_ATTR_FONT
));
33235 PyDict_SetItemString(d
,"TEXT_ATTR_ALIGNMENT", SWIG_FromInt((int)wxTEXT_ATTR_ALIGNMENT
));
33236 PyDict_SetItemString(d
,"TEXT_ATTR_LEFT_INDENT", SWIG_FromInt((int)wxTEXT_ATTR_LEFT_INDENT
));
33237 PyDict_SetItemString(d
,"TEXT_ATTR_RIGHT_INDENT", SWIG_FromInt((int)wxTEXT_ATTR_RIGHT_INDENT
));
33238 PyDict_SetItemString(d
,"TEXT_ATTR_TABS", SWIG_FromInt((int)wxTEXT_ATTR_TABS
));
33239 PyDict_SetItemString(d
,"TE_HT_UNKNOWN", SWIG_FromInt((int)wxTE_HT_UNKNOWN
));
33240 PyDict_SetItemString(d
,"TE_HT_BEFORE", SWIG_FromInt((int)wxTE_HT_BEFORE
));
33241 PyDict_SetItemString(d
,"TE_HT_ON_TEXT", SWIG_FromInt((int)wxTE_HT_ON_TEXT
));
33242 PyDict_SetItemString(d
,"TE_HT_BELOW", SWIG_FromInt((int)wxTE_HT_BELOW
));
33243 PyDict_SetItemString(d
,"TE_HT_BEYOND", SWIG_FromInt((int)wxTE_HT_BEYOND
));
33244 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_UPDATED", PyInt_FromLong(wxEVT_COMMAND_TEXT_UPDATED
));
33245 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_ENTER", PyInt_FromLong(wxEVT_COMMAND_TEXT_ENTER
));
33246 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_URL", PyInt_FromLong(wxEVT_COMMAND_TEXT_URL
));
33247 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_MAXLEN", PyInt_FromLong(wxEVT_COMMAND_TEXT_MAXLEN
));
33248 SWIG_addvarlink(SWIG_globals
,(char*)"ScrollBarNameStr",_wrap_ScrollBarNameStr_get
, _wrap_ScrollBarNameStr_set
);
33249 SWIG_addvarlink(SWIG_globals
,(char*)"SPIN_BUTTON_NAME",_wrap_SPIN_BUTTON_NAME_get
, _wrap_SPIN_BUTTON_NAME_set
);
33250 SWIG_addvarlink(SWIG_globals
,(char*)"SpinCtrlNameStr",_wrap_SpinCtrlNameStr_get
, _wrap_SpinCtrlNameStr_set
);
33251 PyDict_SetItemString(d
,"SP_HORIZONTAL", SWIG_FromInt((int)wxSP_HORIZONTAL
));
33252 PyDict_SetItemString(d
,"SP_VERTICAL", SWIG_FromInt((int)wxSP_VERTICAL
));
33253 PyDict_SetItemString(d
,"SP_ARROW_KEYS", SWIG_FromInt((int)wxSP_ARROW_KEYS
));
33254 PyDict_SetItemString(d
,"SP_WRAP", SWIG_FromInt((int)wxSP_WRAP
));
33255 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPINCTRL_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SPINCTRL_UPDATED
));
33256 SWIG_addvarlink(SWIG_globals
,(char*)"RadioBoxNameStr",_wrap_RadioBoxNameStr_get
, _wrap_RadioBoxNameStr_set
);
33257 SWIG_addvarlink(SWIG_globals
,(char*)"RadioButtonNameStr",_wrap_RadioButtonNameStr_get
, _wrap_RadioButtonNameStr_set
);
33258 SWIG_addvarlink(SWIG_globals
,(char*)"SliderNameStr",_wrap_SliderNameStr_get
, _wrap_SliderNameStr_set
);
33259 SWIG_addvarlink(SWIG_globals
,(char*)"ToggleButtonNameStr",_wrap_ToggleButtonNameStr_get
, _wrap_ToggleButtonNameStr_set
);
33260 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOGGLEBUTTON_CLICKED", PyInt_FromLong(wxEVT_COMMAND_TOGGLEBUTTON_CLICKED
));
33261 SWIG_addvarlink(SWIG_globals
,(char*)"NOTEBOOK_NAME",_wrap_NOTEBOOK_NAME_get
, _wrap_NOTEBOOK_NAME_set
);
33262 PyDict_SetItemString(d
,"NB_FIXEDWIDTH", SWIG_FromInt((int)wxNB_FIXEDWIDTH
));
33263 PyDict_SetItemString(d
,"NB_TOP", SWIG_FromInt((int)wxNB_TOP
));
33264 PyDict_SetItemString(d
,"NB_LEFT", SWIG_FromInt((int)wxNB_LEFT
));
33265 PyDict_SetItemString(d
,"NB_RIGHT", SWIG_FromInt((int)wxNB_RIGHT
));
33266 PyDict_SetItemString(d
,"NB_BOTTOM", SWIG_FromInt((int)wxNB_BOTTOM
));
33267 PyDict_SetItemString(d
,"NB_MULTILINE", SWIG_FromInt((int)wxNB_MULTILINE
));
33268 PyDict_SetItemString(d
,"NB_HITTEST_NOWHERE", SWIG_FromInt((int)wxNB_HITTEST_NOWHERE
));
33269 PyDict_SetItemString(d
,"NB_HITTEST_ONICON", SWIG_FromInt((int)wxNB_HITTEST_ONICON
));
33270 PyDict_SetItemString(d
,"NB_HITTEST_ONLABEL", SWIG_FromInt((int)wxNB_HITTEST_ONLABEL
));
33271 PyDict_SetItemString(d
,"NB_HITTEST_ONITEM", SWIG_FromInt((int)wxNB_HITTEST_ONITEM
));
33272 PyDict_SetItemString(d
, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED
));
33273 PyDict_SetItemString(d
, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING
));
33274 PyDict_SetItemString(d
,"LB_DEFAULT", SWIG_FromInt((int)wxLB_DEFAULT
));
33275 PyDict_SetItemString(d
,"LB_TOP", SWIG_FromInt((int)wxLB_TOP
));
33276 PyDict_SetItemString(d
,"LB_BOTTOM", SWIG_FromInt((int)wxLB_BOTTOM
));
33277 PyDict_SetItemString(d
,"LB_LEFT", SWIG_FromInt((int)wxLB_LEFT
));
33278 PyDict_SetItemString(d
,"LB_RIGHT", SWIG_FromInt((int)wxLB_RIGHT
));
33279 PyDict_SetItemString(d
,"LB_ALIGN_MASK", SWIG_FromInt((int)wxLB_ALIGN_MASK
));
33280 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED
));
33281 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING
));
33282 PyDict_SetItemString(d
,"TOOL_STYLE_BUTTON", SWIG_FromInt((int)wxTOOL_STYLE_BUTTON
));
33283 PyDict_SetItemString(d
,"TOOL_STYLE_SEPARATOR", SWIG_FromInt((int)wxTOOL_STYLE_SEPARATOR
));
33284 PyDict_SetItemString(d
,"TOOL_STYLE_CONTROL", SWIG_FromInt((int)wxTOOL_STYLE_CONTROL
));
33285 PyDict_SetItemString(d
,"TB_HORIZONTAL", SWIG_FromInt((int)wxTB_HORIZONTAL
));
33286 PyDict_SetItemString(d
,"TB_VERTICAL", SWIG_FromInt((int)wxTB_VERTICAL
));
33287 PyDict_SetItemString(d
,"TB_3DBUTTONS", SWIG_FromInt((int)wxTB_3DBUTTONS
));
33288 PyDict_SetItemString(d
,"TB_FLAT", SWIG_FromInt((int)wxTB_FLAT
));
33289 PyDict_SetItemString(d
,"TB_DOCKABLE", SWIG_FromInt((int)wxTB_DOCKABLE
));
33290 PyDict_SetItemString(d
,"TB_NOICONS", SWIG_FromInt((int)wxTB_NOICONS
));
33291 PyDict_SetItemString(d
,"TB_TEXT", SWIG_FromInt((int)wxTB_TEXT
));
33292 PyDict_SetItemString(d
,"TB_NODIVIDER", SWIG_FromInt((int)wxTB_NODIVIDER
));
33293 PyDict_SetItemString(d
,"TB_NOALIGN", SWIG_FromInt((int)wxTB_NOALIGN
));
33294 PyDict_SetItemString(d
,"TB_HORZ_LAYOUT", SWIG_FromInt((int)wxTB_HORZ_LAYOUT
));
33295 PyDict_SetItemString(d
,"TB_HORZ_TEXT", SWIG_FromInt((int)wxTB_HORZ_TEXT
));
33296 SWIG_addvarlink(SWIG_globals
,(char*)"ListCtrlNameStr",_wrap_ListCtrlNameStr_get
, _wrap_ListCtrlNameStr_set
);
33297 PyDict_SetItemString(d
,"LC_VRULES", SWIG_FromInt((int)wxLC_VRULES
));
33298 PyDict_SetItemString(d
,"LC_HRULES", SWIG_FromInt((int)wxLC_HRULES
));
33299 PyDict_SetItemString(d
,"LC_ICON", SWIG_FromInt((int)wxLC_ICON
));
33300 PyDict_SetItemString(d
,"LC_SMALL_ICON", SWIG_FromInt((int)wxLC_SMALL_ICON
));
33301 PyDict_SetItemString(d
,"LC_LIST", SWIG_FromInt((int)wxLC_LIST
));
33302 PyDict_SetItemString(d
,"LC_REPORT", SWIG_FromInt((int)wxLC_REPORT
));
33303 PyDict_SetItemString(d
,"LC_ALIGN_TOP", SWIG_FromInt((int)wxLC_ALIGN_TOP
));
33304 PyDict_SetItemString(d
,"LC_ALIGN_LEFT", SWIG_FromInt((int)wxLC_ALIGN_LEFT
));
33305 PyDict_SetItemString(d
,"LC_AUTOARRANGE", SWIG_FromInt((int)wxLC_AUTOARRANGE
));
33306 PyDict_SetItemString(d
,"LC_VIRTUAL", SWIG_FromInt((int)wxLC_VIRTUAL
));
33307 PyDict_SetItemString(d
,"LC_EDIT_LABELS", SWIG_FromInt((int)wxLC_EDIT_LABELS
));
33308 PyDict_SetItemString(d
,"LC_NO_HEADER", SWIG_FromInt((int)wxLC_NO_HEADER
));
33309 PyDict_SetItemString(d
,"LC_NO_SORT_HEADER", SWIG_FromInt((int)wxLC_NO_SORT_HEADER
));
33310 PyDict_SetItemString(d
,"LC_SINGLE_SEL", SWIG_FromInt((int)wxLC_SINGLE_SEL
));
33311 PyDict_SetItemString(d
,"LC_SORT_ASCENDING", SWIG_FromInt((int)wxLC_SORT_ASCENDING
));
33312 PyDict_SetItemString(d
,"LC_SORT_DESCENDING", SWIG_FromInt((int)wxLC_SORT_DESCENDING
));
33313 PyDict_SetItemString(d
,"LC_MASK_TYPE", SWIG_FromInt((int)wxLC_MASK_TYPE
));
33314 PyDict_SetItemString(d
,"LC_MASK_ALIGN", SWIG_FromInt((int)wxLC_MASK_ALIGN
));
33315 PyDict_SetItemString(d
,"LC_MASK_SORT", SWIG_FromInt((int)wxLC_MASK_SORT
));
33316 PyDict_SetItemString(d
,"LIST_MASK_STATE", SWIG_FromInt((int)wxLIST_MASK_STATE
));
33317 PyDict_SetItemString(d
,"LIST_MASK_TEXT", SWIG_FromInt((int)wxLIST_MASK_TEXT
));
33318 PyDict_SetItemString(d
,"LIST_MASK_IMAGE", SWIG_FromInt((int)wxLIST_MASK_IMAGE
));
33319 PyDict_SetItemString(d
,"LIST_MASK_DATA", SWIG_FromInt((int)wxLIST_MASK_DATA
));
33320 PyDict_SetItemString(d
,"LIST_SET_ITEM", SWIG_FromInt((int)wxLIST_SET_ITEM
));
33321 PyDict_SetItemString(d
,"LIST_MASK_WIDTH", SWIG_FromInt((int)wxLIST_MASK_WIDTH
));
33322 PyDict_SetItemString(d
,"LIST_MASK_FORMAT", SWIG_FromInt((int)wxLIST_MASK_FORMAT
));
33323 PyDict_SetItemString(d
,"LIST_STATE_DONTCARE", SWIG_FromInt((int)wxLIST_STATE_DONTCARE
));
33324 PyDict_SetItemString(d
,"LIST_STATE_DROPHILITED", SWIG_FromInt((int)wxLIST_STATE_DROPHILITED
));
33325 PyDict_SetItemString(d
,"LIST_STATE_FOCUSED", SWIG_FromInt((int)wxLIST_STATE_FOCUSED
));
33326 PyDict_SetItemString(d
,"LIST_STATE_SELECTED", SWIG_FromInt((int)wxLIST_STATE_SELECTED
));
33327 PyDict_SetItemString(d
,"LIST_STATE_CUT", SWIG_FromInt((int)wxLIST_STATE_CUT
));
33328 PyDict_SetItemString(d
,"LIST_STATE_DISABLED", SWIG_FromInt((int)wxLIST_STATE_DISABLED
));
33329 PyDict_SetItemString(d
,"LIST_STATE_FILTERED", SWIG_FromInt((int)wxLIST_STATE_FILTERED
));
33330 PyDict_SetItemString(d
,"LIST_STATE_INUSE", SWIG_FromInt((int)wxLIST_STATE_INUSE
));
33331 PyDict_SetItemString(d
,"LIST_STATE_PICKED", SWIG_FromInt((int)wxLIST_STATE_PICKED
));
33332 PyDict_SetItemString(d
,"LIST_STATE_SOURCE", SWIG_FromInt((int)wxLIST_STATE_SOURCE
));
33333 PyDict_SetItemString(d
,"LIST_HITTEST_ABOVE", SWIG_FromInt((int)wxLIST_HITTEST_ABOVE
));
33334 PyDict_SetItemString(d
,"LIST_HITTEST_BELOW", SWIG_FromInt((int)wxLIST_HITTEST_BELOW
));
33335 PyDict_SetItemString(d
,"LIST_HITTEST_NOWHERE", SWIG_FromInt((int)wxLIST_HITTEST_NOWHERE
));
33336 PyDict_SetItemString(d
,"LIST_HITTEST_ONITEMICON", SWIG_FromInt((int)wxLIST_HITTEST_ONITEMICON
));
33337 PyDict_SetItemString(d
,"LIST_HITTEST_ONITEMLABEL", SWIG_FromInt((int)wxLIST_HITTEST_ONITEMLABEL
));
33338 PyDict_SetItemString(d
,"LIST_HITTEST_ONITEMRIGHT", SWIG_FromInt((int)wxLIST_HITTEST_ONITEMRIGHT
));
33339 PyDict_SetItemString(d
,"LIST_HITTEST_ONITEMSTATEICON", SWIG_FromInt((int)wxLIST_HITTEST_ONITEMSTATEICON
));
33340 PyDict_SetItemString(d
,"LIST_HITTEST_TOLEFT", SWIG_FromInt((int)wxLIST_HITTEST_TOLEFT
));
33341 PyDict_SetItemString(d
,"LIST_HITTEST_TORIGHT", SWIG_FromInt((int)wxLIST_HITTEST_TORIGHT
));
33342 PyDict_SetItemString(d
,"LIST_HITTEST_ONITEM", SWIG_FromInt((int)wxLIST_HITTEST_ONITEM
));
33343 PyDict_SetItemString(d
,"LIST_NEXT_ABOVE", SWIG_FromInt((int)wxLIST_NEXT_ABOVE
));
33344 PyDict_SetItemString(d
,"LIST_NEXT_ALL", SWIG_FromInt((int)wxLIST_NEXT_ALL
));
33345 PyDict_SetItemString(d
,"LIST_NEXT_BELOW", SWIG_FromInt((int)wxLIST_NEXT_BELOW
));
33346 PyDict_SetItemString(d
,"LIST_NEXT_LEFT", SWIG_FromInt((int)wxLIST_NEXT_LEFT
));
33347 PyDict_SetItemString(d
,"LIST_NEXT_RIGHT", SWIG_FromInt((int)wxLIST_NEXT_RIGHT
));
33348 PyDict_SetItemString(d
,"LIST_ALIGN_DEFAULT", SWIG_FromInt((int)wxLIST_ALIGN_DEFAULT
));
33349 PyDict_SetItemString(d
,"LIST_ALIGN_LEFT", SWIG_FromInt((int)wxLIST_ALIGN_LEFT
));
33350 PyDict_SetItemString(d
,"LIST_ALIGN_TOP", SWIG_FromInt((int)wxLIST_ALIGN_TOP
));
33351 PyDict_SetItemString(d
,"LIST_ALIGN_SNAP_TO_GRID", SWIG_FromInt((int)wxLIST_ALIGN_SNAP_TO_GRID
));
33352 PyDict_SetItemString(d
,"LIST_FORMAT_LEFT", SWIG_FromInt((int)wxLIST_FORMAT_LEFT
));
33353 PyDict_SetItemString(d
,"LIST_FORMAT_RIGHT", SWIG_FromInt((int)wxLIST_FORMAT_RIGHT
));
33354 PyDict_SetItemString(d
,"LIST_FORMAT_CENTRE", SWIG_FromInt((int)wxLIST_FORMAT_CENTRE
));
33355 PyDict_SetItemString(d
,"LIST_FORMAT_CENTER", SWIG_FromInt((int)wxLIST_FORMAT_CENTER
));
33356 PyDict_SetItemString(d
,"LIST_AUTOSIZE", SWIG_FromInt((int)wxLIST_AUTOSIZE
));
33357 PyDict_SetItemString(d
,"LIST_AUTOSIZE_USEHEADER", SWIG_FromInt((int)wxLIST_AUTOSIZE_USEHEADER
));
33358 PyDict_SetItemString(d
,"LIST_RECT_BOUNDS", SWIG_FromInt((int)wxLIST_RECT_BOUNDS
));
33359 PyDict_SetItemString(d
,"LIST_RECT_ICON", SWIG_FromInt((int)wxLIST_RECT_ICON
));
33360 PyDict_SetItemString(d
,"LIST_RECT_LABEL", SWIG_FromInt((int)wxLIST_RECT_LABEL
));
33361 PyDict_SetItemString(d
,"LIST_FIND_UP", SWIG_FromInt((int)wxLIST_FIND_UP
));
33362 PyDict_SetItemString(d
,"LIST_FIND_DOWN", SWIG_FromInt((int)wxLIST_FIND_DOWN
));
33363 PyDict_SetItemString(d
,"LIST_FIND_LEFT", SWIG_FromInt((int)wxLIST_FIND_LEFT
));
33364 PyDict_SetItemString(d
,"LIST_FIND_RIGHT", SWIG_FromInt((int)wxLIST_FIND_RIGHT
));
33365 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_DRAG
));
33366 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_RDRAG
));
33367 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT
));
33368 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_END_LABEL_EDIT
));
33369 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ITEM
));
33370 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS
));
33371 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_GET_INFO", PyInt_FromLong(wxEVT_COMMAND_LIST_GET_INFO
));
33372 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_SET_INFO", PyInt_FromLong(wxEVT_COMMAND_LIST_SET_INFO
));
33373 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_SELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_SELECTED
));
33374 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_DESELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_DESELECTED
));
33375 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_LIST_KEY_DOWN
));
33376 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_INSERT_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_INSERT_ITEM
));
33377 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_CLICK
));
33378 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK
));
33379 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK
));
33380 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_ACTIVATED
));
33381 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_CACHE_HINT", PyInt_FromLong(wxEVT_COMMAND_LIST_CACHE_HINT
));
33382 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_RIGHT_CLICK
));
33383 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_BEGIN_DRAG
));
33384 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_DRAGGING", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_DRAGGING
));
33385 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_END_DRAG
));
33386 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_FOCUSED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_FOCUSED
));
33388 // Map renamed classes back to their common name for OOR
33389 wxPyPtrTypeMap_Add("wxListCtrl", "wxPyListCtrl");
33391 SWIG_addvarlink(SWIG_globals
,(char*)"TreeCtrlNameStr",_wrap_TreeCtrlNameStr_get
, _wrap_TreeCtrlNameStr_set
);
33392 PyDict_SetItemString(d
,"TR_NO_BUTTONS", SWIG_FromInt((int)wxTR_NO_BUTTONS
));
33393 PyDict_SetItemString(d
,"TR_HAS_BUTTONS", SWIG_FromInt((int)wxTR_HAS_BUTTONS
));
33394 PyDict_SetItemString(d
,"TR_NO_LINES", SWIG_FromInt((int)wxTR_NO_LINES
));
33395 PyDict_SetItemString(d
,"TR_LINES_AT_ROOT", SWIG_FromInt((int)wxTR_LINES_AT_ROOT
));
33396 PyDict_SetItemString(d
,"TR_SINGLE", SWIG_FromInt((int)wxTR_SINGLE
));
33397 PyDict_SetItemString(d
,"TR_MULTIPLE", SWIG_FromInt((int)wxTR_MULTIPLE
));
33398 PyDict_SetItemString(d
,"TR_EXTENDED", SWIG_FromInt((int)wxTR_EXTENDED
));
33399 PyDict_SetItemString(d
,"TR_HAS_VARIABLE_ROW_HEIGHT", SWIG_FromInt((int)wxTR_HAS_VARIABLE_ROW_HEIGHT
));
33400 PyDict_SetItemString(d
,"TR_EDIT_LABELS", SWIG_FromInt((int)wxTR_EDIT_LABELS
));
33401 PyDict_SetItemString(d
,"TR_HIDE_ROOT", SWIG_FromInt((int)wxTR_HIDE_ROOT
));
33402 PyDict_SetItemString(d
,"TR_ROW_LINES", SWIG_FromInt((int)wxTR_ROW_LINES
));
33403 PyDict_SetItemString(d
,"TR_FULL_ROW_HIGHLIGHT", SWIG_FromInt((int)wxTR_FULL_ROW_HIGHLIGHT
));
33404 PyDict_SetItemString(d
,"TR_DEFAULT_STYLE", SWIG_FromInt((int)wxTR_DEFAULT_STYLE
));
33405 PyDict_SetItemString(d
,"TR_TWIST_BUTTONS", SWIG_FromInt((int)wxTR_TWIST_BUTTONS
));
33406 PyDict_SetItemString(d
,"TR_MAC_BUTTONS", SWIG_FromInt((int)wxTR_MAC_BUTTONS
));
33407 PyDict_SetItemString(d
,"TR_AQUA_BUTTONS", SWIG_FromInt((int)wxTR_AQUA_BUTTONS
));
33408 PyDict_SetItemString(d
,"TreeItemIcon_Normal", SWIG_FromInt((int)wxTreeItemIcon_Normal
));
33409 PyDict_SetItemString(d
,"TreeItemIcon_Selected", SWIG_FromInt((int)wxTreeItemIcon_Selected
));
33410 PyDict_SetItemString(d
,"TreeItemIcon_Expanded", SWIG_FromInt((int)wxTreeItemIcon_Expanded
));
33411 PyDict_SetItemString(d
,"TreeItemIcon_SelectedExpanded", SWIG_FromInt((int)wxTreeItemIcon_SelectedExpanded
));
33412 PyDict_SetItemString(d
,"TreeItemIcon_Max", SWIG_FromInt((int)wxTreeItemIcon_Max
));
33413 PyDict_SetItemString(d
,"TREE_HITTEST_ABOVE", SWIG_FromInt((int)wxTREE_HITTEST_ABOVE
));
33414 PyDict_SetItemString(d
,"TREE_HITTEST_BELOW", SWIG_FromInt((int)wxTREE_HITTEST_BELOW
));
33415 PyDict_SetItemString(d
,"TREE_HITTEST_NOWHERE", SWIG_FromInt((int)wxTREE_HITTEST_NOWHERE
));
33416 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMBUTTON", SWIG_FromInt((int)wxTREE_HITTEST_ONITEMBUTTON
));
33417 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMICON", SWIG_FromInt((int)wxTREE_HITTEST_ONITEMICON
));
33418 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMINDENT", SWIG_FromInt((int)wxTREE_HITTEST_ONITEMINDENT
));
33419 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMLABEL", SWIG_FromInt((int)wxTREE_HITTEST_ONITEMLABEL
));
33420 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMRIGHT", SWIG_FromInt((int)wxTREE_HITTEST_ONITEMRIGHT
));
33421 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMSTATEICON", SWIG_FromInt((int)wxTREE_HITTEST_ONITEMSTATEICON
));
33422 PyDict_SetItemString(d
,"TREE_HITTEST_TOLEFT", SWIG_FromInt((int)wxTREE_HITTEST_TOLEFT
));
33423 PyDict_SetItemString(d
,"TREE_HITTEST_TORIGHT", SWIG_FromInt((int)wxTREE_HITTEST_TORIGHT
));
33424 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMUPPERPART", SWIG_FromInt((int)wxTREE_HITTEST_ONITEMUPPERPART
));
33425 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMLOWERPART", SWIG_FromInt((int)wxTREE_HITTEST_ONITEMLOWERPART
));
33426 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEM", SWIG_FromInt((int)wxTREE_HITTEST_ONITEM
));
33427 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_DRAG
));
33428 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_RDRAG
));
33429 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT
));
33430 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_END_LABEL_EDIT
));
33431 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_TREE_DELETE_ITEM
));
33432 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_GET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_GET_INFO
));
33433 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_SET_INFO
));
33434 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_EXPANDED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDED
));
33435 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_EXPANDING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDING
));
33436 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_COLLAPSED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSED
));
33437 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_COLLAPSING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSING
));
33438 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SEL_CHANGED", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGED
));
33439 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SEL_CHANGING", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGING
));
33440 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_TREE_KEY_DOWN
));
33441 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_ACTIVATED
));
33442 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK
));
33443 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK
));
33444 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_END_DRAG
));
33445 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK
));
33446 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP
));
33448 // Map renamed classes back to their common name for OOR
33449 wxPyPtrTypeMap_Add("wxTreeItemData", "wxPyTreeItemData");
33450 wxPyPtrTypeMap_Add("wxTreeCtrl", "wxPyTreeCtrl");
33452 SWIG_addvarlink(SWIG_globals
,(char*)"DirDialogDefaultFolderStr",_wrap_DirDialogDefaultFolderStr_get
, _wrap_DirDialogDefaultFolderStr_set
);
33453 PyDict_SetItemString(d
,"DIRCTRL_DIR_ONLY", SWIG_FromInt((int)wxDIRCTRL_DIR_ONLY
));
33454 PyDict_SetItemString(d
,"DIRCTRL_SELECT_FIRST", SWIG_FromInt((int)wxDIRCTRL_SELECT_FIRST
));
33455 PyDict_SetItemString(d
,"DIRCTRL_SHOW_FILTERS", SWIG_FromInt((int)wxDIRCTRL_SHOW_FILTERS
));
33456 PyDict_SetItemString(d
,"DIRCTRL_3D_INTERNAL", SWIG_FromInt((int)wxDIRCTRL_3D_INTERNAL
));
33457 PyDict_SetItemString(d
,"DIRCTRL_EDIT_LABELS", SWIG_FromInt((int)wxDIRCTRL_EDIT_LABELS
));
33458 PyDict_SetItemString(d
,"FRAME_EX_CONTEXTHELP", SWIG_FromInt((int)wxFRAME_EX_CONTEXTHELP
));
33459 PyDict_SetItemString(d
,"DIALOG_EX_CONTEXTHELP", SWIG_FromInt((int)wxDIALOG_EX_CONTEXTHELP
));
33460 PyDict_SetItemString(d
, "wxEVT_HELP", PyInt_FromLong(wxEVT_HELP
));
33461 PyDict_SetItemString(d
, "wxEVT_DETAILED_HELP", PyInt_FromLong(wxEVT_DETAILED_HELP
));
33463 wxPyPtrTypeMap_Add("wxDragImage", "wxGenericDragImage");