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>
653 static const wxString
wxPyListCtrlNameStr(_T("wxListCtrl"));
654 void wxListItemAttr_Destroy(wxListItemAttr
*self
){ delete self
; }
655 // Python aware sorting function for wxPyListCtrl
656 static int wxCALLBACK
wxPyListCtrl_SortItems(long item1
, long item2
, long funcPtr
) {
658 PyObject
* func
= (PyObject
*)funcPtr
;
659 bool blocked
= wxPyBeginBlockThreads();
661 PyObject
* args
= Py_BuildValue("(ii)", item1
, item2
);
662 PyObject
* result
= PyEval_CallObject(func
, args
);
665 retval
= PyInt_AsLong(result
);
669 wxPyEndBlockThreads(blocked
);
673 // C++ Version of a Python aware class
674 class wxPyListCtrl
: public wxListCtrl
{
675 DECLARE_ABSTRACT_CLASS(wxPyListCtrl
);
677 wxPyListCtrl() : wxListCtrl() {}
678 wxPyListCtrl(wxWindow
* parent
, wxWindowID id
,
682 const wxValidator
& validator
,
683 const wxString
& name
) :
684 wxListCtrl(parent
, id
, pos
, size
, style
, validator
, name
) {}
686 bool Create(wxWindow
* parent
, wxWindowID id
,
690 const wxValidator
& validator
,
691 const wxString
& name
) {
692 return wxListCtrl::Create(parent
, id
, pos
, size
, style
, validator
, name
);
695 DEC_PYCALLBACK_STRING_LONGLONG(OnGetItemText
);
696 DEC_PYCALLBACK_INT_LONG(OnGetItemImage
);
697 DEC_PYCALLBACK_LISTATTR_LONG(OnGetItemAttr
);
702 IMPLEMENT_ABSTRACT_CLASS(wxPyListCtrl
, wxListCtrl
);
704 IMP_PYCALLBACK_STRING_LONGLONG(wxPyListCtrl
, wxListCtrl
, OnGetItemText
);
705 IMP_PYCALLBACK_INT_LONG(wxPyListCtrl
, wxListCtrl
, OnGetItemImage
);
706 IMP_PYCALLBACK_LISTATTR_LONG(wxPyListCtrl
, wxListCtrl
, OnGetItemAttr
);
708 wxListItem
*wxPyListCtrl_GetColumn(wxPyListCtrl
*self
,int col
){
710 item
.SetMask( wxLIST_MASK_STATE
|
718 if (self
->GetColumn(col
, item
))
719 return new wxListItem(item
);
723 wxListItem
*wxPyListCtrl_GetItem(wxPyListCtrl
*self
,long itemId
,int col
){
724 wxListItem
* info
= new wxListItem
;
725 info
->m_itemId
= itemId
;
727 info
->m_mask
= 0xFFFF;
728 self
->GetItem(*info
);
731 wxPoint
wxPyListCtrl_GetItemPosition(wxPyListCtrl
*self
,long item
){
733 self
->GetItemPosition(item
, pos
);
736 wxRect
wxPyListCtrl_GetItemRect(wxPyListCtrl
*self
,long item
,int code
){
738 self
->GetItemRect(item
, rect
, code
);
741 bool wxPyListCtrl_SortItems(wxPyListCtrl
*self
,PyObject
*func
){
742 if (!PyCallable_Check(func
))
744 return self
->SortItems((wxListCtrlCompare
)wxPyListCtrl_SortItems
, (long)func
);
746 wxWindow
*wxPyListCtrl_GetMainWindow(wxPyListCtrl
*self
){
754 #include <wx/treectrl.h>
755 #include "wx/wxPython/pytree.h"
757 static const wxString
wxPyTreeCtrlNameStr(_T("wxTreeCtrl"));
758 bool wxTreeItemId___eq__(wxTreeItemId
*self
,wxTreeItemId
const *other
){ return other
? (*self
== *other
) : False
; }
759 bool wxTreeItemId___ne__(wxTreeItemId
*self
,wxTreeItemId
const *other
){ return other
? (*self
!= *other
) : True
; }
760 void wxPyTreeItemData_Destroy(wxPyTreeItemData
*self
){ delete self
; }
761 // C++ version of Python aware wxTreeCtrl
762 class wxPyTreeCtrl
: public wxTreeCtrl
{
763 DECLARE_ABSTRACT_CLASS(wxPyTreeCtrl
);
765 wxPyTreeCtrl() : wxTreeCtrl() {}
766 wxPyTreeCtrl(wxWindow
*parent
, wxWindowID id
,
770 const wxValidator
& validator
,
771 const wxString
& name
) :
772 wxTreeCtrl(parent
, id
, pos
, size
, style
, validator
, name
) {}
774 bool Create(wxWindow
*parent
, wxWindowID id
,
778 const wxValidator
& validator
,
779 const wxString
& name
) {
780 return wxTreeCtrl::Create(parent
, id
, pos
, size
, style
, validator
, name
);
784 int OnCompareItems(const wxTreeItemId
& item1
,
785 const wxTreeItemId
& item2
) {
788 bool blocked
= wxPyBeginBlockThreads();
789 if ((found
= wxPyCBH_findCallback(m_myInst
, "OnCompareItems"))) {
790 PyObject
*o1
= wxPyConstructObject((void*)&item1
, wxT("wxTreeItemId"), False
);
791 PyObject
*o2
= wxPyConstructObject((void*)&item2
, wxT("wxTreeItemId"), False
);
792 rval
= wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(OO)",o1
,o2
));
796 wxPyEndBlockThreads(blocked
);
798 rval
= wxTreeCtrl::OnCompareItems(item1
, item2
);
804 IMPLEMENT_ABSTRACT_CLASS(wxPyTreeCtrl
, wxTreeCtrl
);
808 #if UINT_MAX < LONG_MAX
809 #define SWIG_FromUnsignedInt SWIG_FromLong
811 #define SWIG_FromUnsignedInt SWIG_FromUnsignedLong
815 SWIGSTATICINLINE(unsigned long)
816 SWIG_CheckUnsignedLongInRange(unsigned long value
, const char* type
,
817 unsigned long max_value
)
819 if (!PyErr_Occurred()) {
820 if (value
> max_value
) {
822 PyString_FromFormat("value %ld is greater than '%s' minimum %ld",
823 value
, type
, max_value
);
824 PyErr_SetObject(PyExc_OverflowError
, err
);
832 #if UINT_MAX != ULONG_MAX
833 SWIGSTATICINLINE(unsigned int)
834 SWIG_AsUnsignedInt(PyObject
*obj
)
836 return swig_numeric_cast(unsigned int,
837 SWIG_CheckUnsignedLongInRange(SWIG_AsUnsignedLong(obj
),
838 "unsigned int", UINT_MAX
));
841 #define SWIG_AsUnsignedInt SWIG_AsUnsignedLong
845 SWIGSTATICINLINE(int)
846 SWIG_CheckUnsignedInt(PyObject
* obj
)
848 SWIG_AsUnsignedInt(obj
);
849 if (PyErr_Occurred()) {
857 wxPyTreeItemData
*wxPyTreeCtrl_GetItemData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
){
858 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
860 data
= new wxPyTreeItemData();
861 data
->SetId(item
); // set the id
862 self
->SetItemData(item
, data
);
866 PyObject
*wxPyTreeCtrl_GetItemPyData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
){
867 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
869 data
= new wxPyTreeItemData();
870 data
->SetId(item
); // set the id
871 self
->SetItemData(item
, data
);
873 return data
->GetData();
875 void wxPyTreeCtrl_SetItemData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,wxPyTreeItemData
*data
){
876 data
->SetId(item
); // set the id
877 self
->SetItemData(item
, data
);
879 void wxPyTreeCtrl_SetItemPyData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,PyObject
*obj
){
880 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
882 data
= new wxPyTreeItemData(obj
);
883 data
->SetId(item
); // set the id
884 self
->SetItemData(item
, data
);
888 PyObject
*wxPyTreeCtrl_GetSelections(wxPyTreeCtrl
*self
){
889 bool blocked
= wxPyBeginBlockThreads();
890 PyObject
* rval
= PyList_New(0);
891 wxArrayTreeItemIds array
;
893 num
= self
->GetSelections(array
);
894 for (x
=0; x
< num
; x
++) {
895 wxTreeItemId
*tii
= new wxTreeItemId(array
.Item(x
));
896 PyObject
* item
= wxPyConstructObject((void*)tii
, wxT("wxTreeItemId"), True
);
897 PyList_Append(rval
, item
);
900 wxPyEndBlockThreads(blocked
);
903 PyObject
*wxPyTreeCtrl_GetFirstChild(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
){
905 wxTreeItemId
* ritem
= new wxTreeItemId(self
->GetFirstChild(item
, cookie
));
906 bool blocked
= wxPyBeginBlockThreads();
907 PyObject
* tup
= PyTuple_New(2);
908 PyTuple_SET_ITEM(tup
, 0, wxPyConstructObject(ritem
, wxT("wxTreeItemId"), True
));
909 PyTuple_SET_ITEM(tup
, 1, wxPyMakeSwigPtr(cookie
, wxT("void")));
910 wxPyEndBlockThreads(blocked
);
913 PyObject
*wxPyTreeCtrl_GetNextChild(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,void *cookie
){
914 wxTreeItemId
* ritem
= new wxTreeItemId(self
->GetNextChild(item
, cookie
));
915 bool blocked
= wxPyBeginBlockThreads();
916 PyObject
* tup
= PyTuple_New(2);
917 PyTuple_SET_ITEM(tup
, 0, wxPyConstructObject(ritem
, wxT("wxTreeItemId"), True
));
918 PyTuple_SET_ITEM(tup
, 1, wxPyMakeSwigPtr(cookie
, wxT("void")));
919 wxPyEndBlockThreads(blocked
);
922 PyObject
*wxPyTreeCtrl_GetBoundingRect(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,bool textOnly
){
924 if (self
->GetBoundingRect(item
, rect
, textOnly
)) {
925 bool blocked
= wxPyBeginBlockThreads();
926 wxRect
* r
= new wxRect(rect
);
927 PyObject
* val
= wxPyConstructObject((void*)r
, wxT("wxRect"), True
);
928 wxPyEndBlockThreads(blocked
);
934 static const wxString
wxPyDirDialogDefaultFolderStr(wxDirDialogDefaultFolderStr
);
935 // C++ version of Python aware wxControl
936 class wxPyControl
: public wxControl
938 DECLARE_DYNAMIC_CLASS(wxPyControl
)
940 wxPyControl() : wxControl() {}
941 wxPyControl(wxWindow
* parent
, const wxWindowID id
,
942 const wxPoint
& pos
= wxDefaultPosition
,
943 const wxSize
& size
= wxDefaultSize
,
945 const wxValidator
& validator
=wxDefaultValidator
,
946 const wxString
& name
= wxPyControlNameStr
)
947 : wxControl(parent
, id
, pos
, size
, style
, validator
, name
) {}
949 void SetBestSize(const wxSize
& size
) { wxControl::SetBestSize(size
); }
951 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
);
952 DEC_PYCALLBACK_VOID_INT5(DoSetSize
);
953 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
);
954 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
);
956 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
);
957 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
);
958 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
);
960 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
);
961 DEC_PYCALLBACK_SIZE_const(DoGetBestSize
);
963 DEC_PYCALLBACK__(InitDialog
);
964 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
);
965 DEC_PYCALLBACK_BOOL_(TransferDataToWindow
);
966 DEC_PYCALLBACK_BOOL_(Validate
);
968 DEC_PYCALLBACK_BOOL_const(AcceptsFocus
);
969 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
);
970 DEC_PYCALLBACK_SIZE_const(GetMaxSize
);
972 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
);
973 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
);
975 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours
);
976 DEC_PYCALLBACK__COLOUR(ApplyParentThemeBackground
);
977 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes
);
982 IMPLEMENT_DYNAMIC_CLASS(wxPyControl
, wxControl
);
984 IMP_PYCALLBACK_VOID_INT4(wxPyControl
, wxControl
, DoMoveWindow
);
985 IMP_PYCALLBACK_VOID_INT5(wxPyControl
, wxControl
, DoSetSize
);
986 IMP_PYCALLBACK_VOID_INTINT(wxPyControl
, wxControl
, DoSetClientSize
);
987 IMP_PYCALLBACK_VOID_INTINT(wxPyControl
, wxControl
, DoSetVirtualSize
);
989 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl
, wxControl
, DoGetSize
);
990 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl
, wxControl
, DoGetClientSize
);
991 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl
, wxControl
, DoGetPosition
);
993 IMP_PYCALLBACK_SIZE_const(wxPyControl
, wxControl
, DoGetVirtualSize
);
994 IMP_PYCALLBACK_SIZE_const(wxPyControl
, wxControl
, DoGetBestSize
);
996 IMP_PYCALLBACK__(wxPyControl
, wxControl
, InitDialog
);
997 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, TransferDataFromWindow
);
998 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, TransferDataToWindow
);
999 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, Validate
);
1001 IMP_PYCALLBACK_BOOL_const(wxPyControl
, wxControl
, AcceptsFocus
);
1002 IMP_PYCALLBACK_BOOL_const(wxPyControl
, wxControl
, AcceptsFocusFromKeyboard
);
1003 IMP_PYCALLBACK_SIZE_const(wxPyControl
, wxControl
, GetMaxSize
);
1005 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyControl
, wxControl
, AddChild
);
1006 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyControl
, wxControl
, RemoveChild
);
1008 IMP_PYCALLBACK_BOOL_const(wxPyControl
, wxControl
, ShouldInheritColours
);
1009 IMP_PYCALLBACK__COLOUR(wxPyControl
, wxControl
, ApplyParentThemeBackground
);
1010 IMP_PYCALLBACK_VIZATTR_(wxPyControl
, wxControl
, GetDefaultAttributes
);
1014 void wxHelpProvider_Destroy(wxHelpProvider
*self
){ delete self
; }
1016 #include <wx/generic/dragimgg.h>
1021 static int _wrap_ButtonNameStr_set(PyObject
*_val
) {
1022 PyErr_SetString(PyExc_TypeError
,"Variable ButtonNameStr is read-only.");
1027 static PyObject
*_wrap_ButtonNameStr_get() {
1032 pyobj
= PyUnicode_FromWideChar((&wxPyButtonNameStr
)->c_str(), (&wxPyButtonNameStr
)->Len());
1034 pyobj
= PyString_FromStringAndSize((&wxPyButtonNameStr
)->c_str(), (&wxPyButtonNameStr
)->Len());
1041 static PyObject
*_wrap_new_Button(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1042 PyObject
*resultobj
;
1043 wxWindow
*arg1
= (wxWindow
*) 0 ;
1045 wxString
*arg3
= 0 ;
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 *)"OOO|OOOOO: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
;
1075 arg2
= (int) SWIG_AsInt(obj1
);
1076 if (PyErr_Occurred()) SWIG_fail
;
1078 arg3
= wxString_in_helper(obj2
);
1079 if (arg3
== NULL
) SWIG_fail
;
1085 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
1091 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
1095 arg6
= (long) SWIG_AsLong(obj5
);
1096 if (PyErr_Occurred()) SWIG_fail
;
1099 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
1100 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1103 PyErr_SetString(PyExc_TypeError
,"null reference");
1109 arg8
= wxString_in_helper(obj7
);
1110 if (arg8
== NULL
) SWIG_fail
;
1115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1116 result
= (wxButton
*)new wxButton(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
1118 wxPyEndAllowThreads(__tstate
);
1119 if (PyErr_Occurred()) SWIG_fail
;
1122 resultobj
= wxPyMake_wxObject(result
);
1146 static PyObject
*_wrap_new_PreButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1147 PyObject
*resultobj
;
1153 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreButton",kwnames
)) goto fail
;
1155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1156 result
= (wxButton
*)new wxButton();
1158 wxPyEndAllowThreads(__tstate
);
1159 if (PyErr_Occurred()) SWIG_fail
;
1162 resultobj
= wxPyMake_wxObject(result
);
1170 static PyObject
*_wrap_Button_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1171 PyObject
*resultobj
;
1172 wxButton
*arg1
= (wxButton
*) 0 ;
1173 wxWindow
*arg2
= (wxWindow
*) 0 ;
1175 wxString
*arg4
= 0 ;
1176 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
1177 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
1178 wxSize
const &arg6_defvalue
= wxDefaultSize
;
1179 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
1180 long arg7
= (long) 0 ;
1181 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
1182 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
1183 wxString
const &arg9_defvalue
= wxPyButtonNameStr
;
1184 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
1186 bool temp4
= False
;
1189 bool temp9
= False
;
1190 PyObject
* obj0
= 0 ;
1191 PyObject
* obj1
= 0 ;
1192 PyObject
* obj2
= 0 ;
1193 PyObject
* obj3
= 0 ;
1194 PyObject
* obj4
= 0 ;
1195 PyObject
* obj5
= 0 ;
1196 PyObject
* obj6
= 0 ;
1197 PyObject
* obj7
= 0 ;
1198 PyObject
* obj8
= 0 ;
1200 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1203 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOOO:Button_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
1204 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxButton
,
1205 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1206 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
1207 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1208 arg3
= (int) SWIG_AsInt(obj2
);
1209 if (PyErr_Occurred()) SWIG_fail
;
1211 arg4
= wxString_in_helper(obj3
);
1212 if (arg4
== NULL
) SWIG_fail
;
1218 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
1224 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
1228 arg7
= (long) SWIG_AsLong(obj6
);
1229 if (PyErr_Occurred()) SWIG_fail
;
1232 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
1233 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1236 PyErr_SetString(PyExc_TypeError
,"null reference");
1242 arg9
= wxString_in_helper(obj8
);
1243 if (arg9
== NULL
) SWIG_fail
;
1248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1249 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
1251 wxPyEndAllowThreads(__tstate
);
1252 if (PyErr_Occurred()) SWIG_fail
;
1255 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1279 static PyObject
*_wrap_Button_SetDefault(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1280 PyObject
*resultobj
;
1281 wxButton
*arg1
= (wxButton
*) 0 ;
1282 PyObject
* obj0
= 0 ;
1284 (char *) "self", NULL
1287 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Button_SetDefault",kwnames
,&obj0
)) goto fail
;
1288 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxButton
,
1289 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1292 (arg1
)->SetDefault();
1294 wxPyEndAllowThreads(__tstate
);
1295 if (PyErr_Occurred()) SWIG_fail
;
1297 Py_INCREF(Py_None
); resultobj
= Py_None
;
1304 static PyObject
*_wrap_Button_GetDefaultSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1305 PyObject
*resultobj
;
1311 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Button_GetDefaultSize",kwnames
)) goto fail
;
1313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1314 result
= wxButton::GetDefaultSize();
1316 wxPyEndAllowThreads(__tstate
);
1317 if (PyErr_Occurred()) SWIG_fail
;
1321 resultptr
= new wxSize((wxSize
&) result
);
1322 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
1330 static PyObject
*_wrap_Button_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1331 PyObject
*resultobj
;
1332 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
1333 wxVisualAttributes result
;
1334 PyObject
* obj0
= 0 ;
1336 (char *) "variant", NULL
1339 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Button_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
1341 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
1342 if (PyErr_Occurred()) SWIG_fail
;
1345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1346 result
= wxButton::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
1348 wxPyEndAllowThreads(__tstate
);
1349 if (PyErr_Occurred()) SWIG_fail
;
1352 wxVisualAttributes
* resultptr
;
1353 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
1354 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
1362 static PyObject
* Button_swigregister(PyObject
*self
, PyObject
*args
) {
1364 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1365 SWIG_TypeClientData(SWIGTYPE_p_wxButton
, obj
);
1367 return Py_BuildValue((char *)"");
1369 static PyObject
*_wrap_new_BitmapButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1370 PyObject
*resultobj
;
1371 wxWindow
*arg1
= (wxWindow
*) 0 ;
1373 wxBitmap
*arg3
= 0 ;
1374 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
1375 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
1376 wxSize
const &arg5_defvalue
= wxDefaultSize
;
1377 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
1378 long arg6
= (long) wxBU_AUTODRAW
;
1379 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
1380 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
1381 wxString
const &arg8_defvalue
= wxPyButtonNameStr
;
1382 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
1383 wxBitmapButton
*result
;
1386 bool temp8
= False
;
1387 PyObject
* obj0
= 0 ;
1388 PyObject
* obj1
= 0 ;
1389 PyObject
* obj2
= 0 ;
1390 PyObject
* obj3
= 0 ;
1391 PyObject
* obj4
= 0 ;
1392 PyObject
* obj5
= 0 ;
1393 PyObject
* obj6
= 0 ;
1394 PyObject
* obj7
= 0 ;
1396 (char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1399 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOO:new_BitmapButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
1400 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
1401 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1402 arg2
= (int) SWIG_AsInt(obj1
);
1403 if (PyErr_Occurred()) SWIG_fail
;
1404 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxBitmap
,
1405 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1408 PyErr_SetString(PyExc_TypeError
,"null reference");
1414 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
1420 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
1424 arg6
= (long) SWIG_AsLong(obj5
);
1425 if (PyErr_Occurred()) SWIG_fail
;
1428 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
1429 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1432 PyErr_SetString(PyExc_TypeError
,"null reference");
1438 arg8
= wxString_in_helper(obj7
);
1439 if (arg8
== NULL
) SWIG_fail
;
1444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1445 result
= (wxBitmapButton
*)new wxBitmapButton(arg1
,arg2
,(wxBitmap
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
1447 wxPyEndAllowThreads(__tstate
);
1448 if (PyErr_Occurred()) SWIG_fail
;
1451 resultobj
= wxPyMake_wxObject(result
);
1467 static PyObject
*_wrap_new_PreBitmapButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1468 PyObject
*resultobj
;
1469 wxBitmapButton
*result
;
1474 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreBitmapButton",kwnames
)) goto fail
;
1476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1477 result
= (wxBitmapButton
*)new wxBitmapButton();
1479 wxPyEndAllowThreads(__tstate
);
1480 if (PyErr_Occurred()) SWIG_fail
;
1483 resultobj
= wxPyMake_wxObject(result
);
1491 static PyObject
*_wrap_BitmapButton_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1492 PyObject
*resultobj
;
1493 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1494 wxWindow
*arg2
= (wxWindow
*) 0 ;
1496 wxBitmap
*arg4
= 0 ;
1497 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
1498 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
1499 wxSize
const &arg6_defvalue
= wxDefaultSize
;
1500 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
1501 long arg7
= (long) wxBU_AUTODRAW
;
1502 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
1503 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
1504 wxString
const &arg9_defvalue
= wxPyButtonNameStr
;
1505 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
1509 bool temp9
= False
;
1510 PyObject
* obj0
= 0 ;
1511 PyObject
* obj1
= 0 ;
1512 PyObject
* obj2
= 0 ;
1513 PyObject
* obj3
= 0 ;
1514 PyObject
* obj4
= 0 ;
1515 PyObject
* obj5
= 0 ;
1516 PyObject
* obj6
= 0 ;
1517 PyObject
* obj7
= 0 ;
1518 PyObject
* obj8
= 0 ;
1520 (char *) "self",(char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1523 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOOO:BitmapButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
1524 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
1525 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1526 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
1527 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1528 arg3
= (int) SWIG_AsInt(obj2
);
1529 if (PyErr_Occurred()) SWIG_fail
;
1530 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxBitmap
,
1531 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1534 PyErr_SetString(PyExc_TypeError
,"null reference");
1540 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
1546 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
1550 arg7
= (long) SWIG_AsLong(obj6
);
1551 if (PyErr_Occurred()) SWIG_fail
;
1554 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
1555 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1558 PyErr_SetString(PyExc_TypeError
,"null reference");
1564 arg9
= wxString_in_helper(obj8
);
1565 if (arg9
== NULL
) SWIG_fail
;
1570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1571 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxBitmap
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
1573 wxPyEndAllowThreads(__tstate
);
1574 if (PyErr_Occurred()) SWIG_fail
;
1577 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1593 static PyObject
*_wrap_BitmapButton_GetBitmapLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1594 PyObject
*resultobj
;
1595 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1597 PyObject
* obj0
= 0 ;
1599 (char *) "self", NULL
1602 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetBitmapLabel",kwnames
,&obj0
)) goto fail
;
1603 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
1604 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1607 result
= (arg1
)->GetBitmapLabel();
1609 wxPyEndAllowThreads(__tstate
);
1610 if (PyErr_Occurred()) SWIG_fail
;
1613 wxBitmap
* resultptr
;
1614 resultptr
= new wxBitmap((wxBitmap
&) result
);
1615 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
1623 static PyObject
*_wrap_BitmapButton_GetBitmapDisabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1624 PyObject
*resultobj
;
1625 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1627 PyObject
* obj0
= 0 ;
1629 (char *) "self", NULL
1632 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetBitmapDisabled",kwnames
,&obj0
)) goto fail
;
1633 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
1634 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1637 result
= (arg1
)->GetBitmapDisabled();
1639 wxPyEndAllowThreads(__tstate
);
1640 if (PyErr_Occurred()) SWIG_fail
;
1643 wxBitmap
* resultptr
;
1644 resultptr
= new wxBitmap((wxBitmap
&) result
);
1645 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
1653 static PyObject
*_wrap_BitmapButton_GetBitmapFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1654 PyObject
*resultobj
;
1655 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1657 PyObject
* obj0
= 0 ;
1659 (char *) "self", NULL
1662 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetBitmapFocus",kwnames
,&obj0
)) goto fail
;
1663 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
1664 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1667 result
= (arg1
)->GetBitmapFocus();
1669 wxPyEndAllowThreads(__tstate
);
1670 if (PyErr_Occurred()) SWIG_fail
;
1673 wxBitmap
* resultptr
;
1674 resultptr
= new wxBitmap((wxBitmap
&) result
);
1675 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
1683 static PyObject
*_wrap_BitmapButton_GetBitmapSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1684 PyObject
*resultobj
;
1685 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1687 PyObject
* obj0
= 0 ;
1689 (char *) "self", NULL
1692 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetBitmapSelected",kwnames
,&obj0
)) goto fail
;
1693 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
1694 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1697 result
= (arg1
)->GetBitmapSelected();
1699 wxPyEndAllowThreads(__tstate
);
1700 if (PyErr_Occurred()) SWIG_fail
;
1703 wxBitmap
* resultptr
;
1704 resultptr
= new wxBitmap((wxBitmap
&) result
);
1705 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
1713 static PyObject
*_wrap_BitmapButton_SetBitmapDisabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1714 PyObject
*resultobj
;
1715 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1716 wxBitmap
*arg2
= 0 ;
1717 PyObject
* obj0
= 0 ;
1718 PyObject
* obj1
= 0 ;
1720 (char *) "self",(char *) "bitmap", NULL
1723 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapDisabled",kwnames
,&obj0
,&obj1
)) goto fail
;
1724 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
1725 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1726 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
1727 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1730 PyErr_SetString(PyExc_TypeError
,"null reference");
1734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1735 (arg1
)->SetBitmapDisabled((wxBitmap
const &)*arg2
);
1737 wxPyEndAllowThreads(__tstate
);
1738 if (PyErr_Occurred()) SWIG_fail
;
1740 Py_INCREF(Py_None
); resultobj
= Py_None
;
1747 static PyObject
*_wrap_BitmapButton_SetBitmapFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1748 PyObject
*resultobj
;
1749 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1750 wxBitmap
*arg2
= 0 ;
1751 PyObject
* obj0
= 0 ;
1752 PyObject
* obj1
= 0 ;
1754 (char *) "self",(char *) "bitmap", NULL
1757 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapFocus",kwnames
,&obj0
,&obj1
)) goto fail
;
1758 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
1759 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1760 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
1761 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1764 PyErr_SetString(PyExc_TypeError
,"null reference");
1768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1769 (arg1
)->SetBitmapFocus((wxBitmap
const &)*arg2
);
1771 wxPyEndAllowThreads(__tstate
);
1772 if (PyErr_Occurred()) SWIG_fail
;
1774 Py_INCREF(Py_None
); resultobj
= Py_None
;
1781 static PyObject
*_wrap_BitmapButton_SetBitmapSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1782 PyObject
*resultobj
;
1783 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1784 wxBitmap
*arg2
= 0 ;
1785 PyObject
* obj0
= 0 ;
1786 PyObject
* obj1
= 0 ;
1788 (char *) "self",(char *) "bitmap", NULL
1791 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
1792 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
1793 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1794 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
1795 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1798 PyErr_SetString(PyExc_TypeError
,"null reference");
1802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1803 (arg1
)->SetBitmapSelected((wxBitmap
const &)*arg2
);
1805 wxPyEndAllowThreads(__tstate
);
1806 if (PyErr_Occurred()) SWIG_fail
;
1808 Py_INCREF(Py_None
); resultobj
= Py_None
;
1815 static PyObject
*_wrap_BitmapButton_SetBitmapLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1816 PyObject
*resultobj
;
1817 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1818 wxBitmap
*arg2
= 0 ;
1819 PyObject
* obj0
= 0 ;
1820 PyObject
* obj1
= 0 ;
1822 (char *) "self",(char *) "bitmap", NULL
1825 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
1826 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
1827 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1828 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
1829 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1832 PyErr_SetString(PyExc_TypeError
,"null reference");
1836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1837 (arg1
)->SetBitmapLabel((wxBitmap
const &)*arg2
);
1839 wxPyEndAllowThreads(__tstate
);
1840 if (PyErr_Occurred()) SWIG_fail
;
1842 Py_INCREF(Py_None
); resultobj
= Py_None
;
1849 static PyObject
*_wrap_BitmapButton_SetMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1850 PyObject
*resultobj
;
1851 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1854 PyObject
* obj0
= 0 ;
1855 PyObject
* obj1
= 0 ;
1856 PyObject
* obj2
= 0 ;
1858 (char *) "self",(char *) "x",(char *) "y", NULL
1861 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BitmapButton_SetMargins",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
1862 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
1863 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1864 arg2
= (int) SWIG_AsInt(obj1
);
1865 if (PyErr_Occurred()) SWIG_fail
;
1866 arg3
= (int) SWIG_AsInt(obj2
);
1867 if (PyErr_Occurred()) SWIG_fail
;
1869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1870 (arg1
)->SetMargins(arg2
,arg3
);
1872 wxPyEndAllowThreads(__tstate
);
1873 if (PyErr_Occurred()) SWIG_fail
;
1875 Py_INCREF(Py_None
); resultobj
= Py_None
;
1882 static PyObject
*_wrap_BitmapButton_GetMarginX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1883 PyObject
*resultobj
;
1884 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1886 PyObject
* obj0
= 0 ;
1888 (char *) "self", NULL
1891 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetMarginX",kwnames
,&obj0
)) goto fail
;
1892 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
1893 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1896 result
= (int)((wxBitmapButton
const *)arg1
)->GetMarginX();
1898 wxPyEndAllowThreads(__tstate
);
1899 if (PyErr_Occurred()) SWIG_fail
;
1901 resultobj
= SWIG_FromInt((int)result
);
1908 static PyObject
*_wrap_BitmapButton_GetMarginY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1909 PyObject
*resultobj
;
1910 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1912 PyObject
* obj0
= 0 ;
1914 (char *) "self", NULL
1917 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetMarginY",kwnames
,&obj0
)) goto fail
;
1918 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
1919 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1922 result
= (int)((wxBitmapButton
const *)arg1
)->GetMarginY();
1924 wxPyEndAllowThreads(__tstate
);
1925 if (PyErr_Occurred()) SWIG_fail
;
1927 resultobj
= SWIG_FromInt((int)result
);
1934 static PyObject
* BitmapButton_swigregister(PyObject
*self
, PyObject
*args
) {
1936 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1937 SWIG_TypeClientData(SWIGTYPE_p_wxBitmapButton
, obj
);
1939 return Py_BuildValue((char *)"");
1941 static int _wrap_CheckBoxNameStr_set(PyObject
*_val
) {
1942 PyErr_SetString(PyExc_TypeError
,"Variable CheckBoxNameStr is read-only.");
1947 static PyObject
*_wrap_CheckBoxNameStr_get() {
1952 pyobj
= PyUnicode_FromWideChar((&wxPyCheckBoxNameStr
)->c_str(), (&wxPyCheckBoxNameStr
)->Len());
1954 pyobj
= PyString_FromStringAndSize((&wxPyCheckBoxNameStr
)->c_str(), (&wxPyCheckBoxNameStr
)->Len());
1961 static PyObject
*_wrap_new_CheckBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1962 PyObject
*resultobj
;
1963 wxWindow
*arg1
= (wxWindow
*) 0 ;
1965 wxString
*arg3
= 0 ;
1966 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
1967 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
1968 wxSize
const &arg5_defvalue
= wxDefaultSize
;
1969 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
1970 long arg6
= (long) 0 ;
1971 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
1972 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
1973 wxString
const &arg8_defvalue
= wxPyCheckBoxNameStr
;
1974 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
1976 bool temp3
= False
;
1979 bool temp8
= False
;
1980 PyObject
* obj0
= 0 ;
1981 PyObject
* obj1
= 0 ;
1982 PyObject
* obj2
= 0 ;
1983 PyObject
* obj3
= 0 ;
1984 PyObject
* obj4
= 0 ;
1985 PyObject
* obj5
= 0 ;
1986 PyObject
* obj6
= 0 ;
1987 PyObject
* obj7
= 0 ;
1989 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1992 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOO:new_CheckBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
1993 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
1994 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1995 arg2
= (int) SWIG_AsInt(obj1
);
1996 if (PyErr_Occurred()) SWIG_fail
;
1998 arg3
= wxString_in_helper(obj2
);
1999 if (arg3
== NULL
) SWIG_fail
;
2005 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
2011 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
2015 arg6
= (long) SWIG_AsLong(obj5
);
2016 if (PyErr_Occurred()) SWIG_fail
;
2019 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
2020 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2023 PyErr_SetString(PyExc_TypeError
,"null reference");
2029 arg8
= wxString_in_helper(obj7
);
2030 if (arg8
== NULL
) SWIG_fail
;
2035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2036 result
= (wxCheckBox
*)new wxCheckBox(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
2038 wxPyEndAllowThreads(__tstate
);
2039 if (PyErr_Occurred()) SWIG_fail
;
2041 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCheckBox
, 1);
2064 static PyObject
*_wrap_new_PreCheckBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2065 PyObject
*resultobj
;
2071 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreCheckBox",kwnames
)) goto fail
;
2073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2074 result
= (wxCheckBox
*)new wxCheckBox();
2076 wxPyEndAllowThreads(__tstate
);
2077 if (PyErr_Occurred()) SWIG_fail
;
2079 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCheckBox
, 1);
2086 static PyObject
*_wrap_CheckBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2087 PyObject
*resultobj
;
2088 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
2089 wxWindow
*arg2
= (wxWindow
*) 0 ;
2091 wxString
*arg4
= 0 ;
2092 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
2093 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
2094 wxSize
const &arg6_defvalue
= wxDefaultSize
;
2095 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
2096 long arg7
= (long) 0 ;
2097 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
2098 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
2099 wxString
const &arg9_defvalue
= wxPyCheckBoxNameStr
;
2100 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
2102 bool temp4
= False
;
2105 bool temp9
= False
;
2106 PyObject
* obj0
= 0 ;
2107 PyObject
* obj1
= 0 ;
2108 PyObject
* obj2
= 0 ;
2109 PyObject
* obj3
= 0 ;
2110 PyObject
* obj4
= 0 ;
2111 PyObject
* obj5
= 0 ;
2112 PyObject
* obj6
= 0 ;
2113 PyObject
* obj7
= 0 ;
2114 PyObject
* obj8
= 0 ;
2116 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
2119 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOOO:CheckBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
2120 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckBox
,
2121 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2122 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
2123 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2124 arg3
= (int) SWIG_AsInt(obj2
);
2125 if (PyErr_Occurred()) SWIG_fail
;
2127 arg4
= wxString_in_helper(obj3
);
2128 if (arg4
== NULL
) SWIG_fail
;
2134 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
2140 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
2144 arg7
= (long) SWIG_AsLong(obj6
);
2145 if (PyErr_Occurred()) SWIG_fail
;
2148 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
2149 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2152 PyErr_SetString(PyExc_TypeError
,"null reference");
2158 arg9
= wxString_in_helper(obj8
);
2159 if (arg9
== NULL
) SWIG_fail
;
2164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2165 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
2167 wxPyEndAllowThreads(__tstate
);
2168 if (PyErr_Occurred()) SWIG_fail
;
2171 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2195 static PyObject
*_wrap_CheckBox_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2196 PyObject
*resultobj
;
2197 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
2199 PyObject
* obj0
= 0 ;
2201 (char *) "self", NULL
2204 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckBox_GetValue",kwnames
,&obj0
)) goto fail
;
2205 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckBox
,
2206 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2209 result
= (bool)(arg1
)->GetValue();
2211 wxPyEndAllowThreads(__tstate
);
2212 if (PyErr_Occurred()) SWIG_fail
;
2215 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2223 static PyObject
*_wrap_CheckBox_IsChecked(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_IsChecked",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
)->IsChecked();
2239 wxPyEndAllowThreads(__tstate
);
2240 if (PyErr_Occurred()) SWIG_fail
;
2243 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2251 static PyObject
*_wrap_CheckBox_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2252 PyObject
*resultobj
;
2253 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
2255 PyObject
* obj0
= 0 ;
2256 PyObject
* obj1
= 0 ;
2258 (char *) "self",(char *) "state", NULL
2261 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckBox_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
2262 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckBox
,
2263 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2264 arg2
= (bool const) SWIG_AsBool(obj1
);
2265 if (PyErr_Occurred()) SWIG_fail
;
2267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2268 (arg1
)->SetValue(arg2
);
2270 wxPyEndAllowThreads(__tstate
);
2271 if (PyErr_Occurred()) SWIG_fail
;
2273 Py_INCREF(Py_None
); resultobj
= Py_None
;
2280 static PyObject
*_wrap_CheckBox_Get3StateValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2281 PyObject
*resultobj
;
2282 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
2284 PyObject
* obj0
= 0 ;
2286 (char *) "self", NULL
2289 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckBox_Get3StateValue",kwnames
,&obj0
)) goto fail
;
2290 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckBox
,
2291 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2294 result
= (int)((wxCheckBox
const *)arg1
)->Get3StateValue();
2296 wxPyEndAllowThreads(__tstate
);
2297 if (PyErr_Occurred()) SWIG_fail
;
2299 resultobj
= SWIG_FromInt((int)result
);
2306 static PyObject
*_wrap_CheckBox_Set3StateValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2307 PyObject
*resultobj
;
2308 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
2310 PyObject
* obj0
= 0 ;
2311 PyObject
* obj1
= 0 ;
2313 (char *) "self",(char *) "state", NULL
2316 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckBox_Set3StateValue",kwnames
,&obj0
,&obj1
)) goto fail
;
2317 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckBox
,
2318 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2319 arg2
= (wxCheckBoxState
) SWIG_AsInt(obj1
);
2320 if (PyErr_Occurred()) SWIG_fail
;
2322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2323 (arg1
)->Set3StateValue((wxCheckBoxState
)arg2
);
2325 wxPyEndAllowThreads(__tstate
);
2326 if (PyErr_Occurred()) SWIG_fail
;
2328 Py_INCREF(Py_None
); resultobj
= Py_None
;
2335 static PyObject
*_wrap_CheckBox_Is3State(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2336 PyObject
*resultobj
;
2337 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
2339 PyObject
* obj0
= 0 ;
2341 (char *) "self", NULL
2344 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckBox_Is3State",kwnames
,&obj0
)) goto fail
;
2345 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckBox
,
2346 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2349 result
= (bool)((wxCheckBox
const *)arg1
)->Is3State();
2351 wxPyEndAllowThreads(__tstate
);
2352 if (PyErr_Occurred()) SWIG_fail
;
2355 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2363 static PyObject
*_wrap_CheckBox_Is3rdStateAllowedForUser(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_Is3rdStateAllowedForUser",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
)->Is3rdStateAllowedForUser();
2379 wxPyEndAllowThreads(__tstate
);
2380 if (PyErr_Occurred()) SWIG_fail
;
2383 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2391 static PyObject
*_wrap_CheckBox_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2392 PyObject
*resultobj
;
2393 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
2394 wxVisualAttributes result
;
2395 PyObject
* obj0
= 0 ;
2397 (char *) "variant", NULL
2400 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:CheckBox_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
2402 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
2403 if (PyErr_Occurred()) SWIG_fail
;
2406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2407 result
= wxCheckBox::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
2409 wxPyEndAllowThreads(__tstate
);
2410 if (PyErr_Occurred()) SWIG_fail
;
2413 wxVisualAttributes
* resultptr
;
2414 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
2415 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
2423 static PyObject
* CheckBox_swigregister(PyObject
*self
, PyObject
*args
) {
2425 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2426 SWIG_TypeClientData(SWIGTYPE_p_wxCheckBox
, obj
);
2428 return Py_BuildValue((char *)"");
2430 static int _wrap_ChoiceNameStr_set(PyObject
*_val
) {
2431 PyErr_SetString(PyExc_TypeError
,"Variable ChoiceNameStr is read-only.");
2436 static PyObject
*_wrap_ChoiceNameStr_get() {
2441 pyobj
= PyUnicode_FromWideChar((&wxPyChoiceNameStr
)->c_str(), (&wxPyChoiceNameStr
)->Len());
2443 pyobj
= PyString_FromStringAndSize((&wxPyChoiceNameStr
)->c_str(), (&wxPyChoiceNameStr
)->Len());
2450 static PyObject
*_wrap_new_Choice(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2451 PyObject
*resultobj
;
2452 wxWindow
*arg1
= (wxWindow
*) 0 ;
2453 int arg2
= (int) -1 ;
2454 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
2455 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
2456 wxSize
const &arg4_defvalue
= wxDefaultSize
;
2457 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
2458 wxArrayString
const &arg5_defvalue
= wxPyEmptyStringArray
;
2459 wxArrayString
*arg5
= (wxArrayString
*) &arg5_defvalue
;
2460 long arg6
= (long) 0 ;
2461 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
2462 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
2463 wxString
const &arg8_defvalue
= wxPyChoiceNameStr
;
2464 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
2468 bool temp5
= False
;
2469 bool temp8
= False
;
2470 PyObject
* obj0
= 0 ;
2471 PyObject
* obj1
= 0 ;
2472 PyObject
* obj2
= 0 ;
2473 PyObject
* obj3
= 0 ;
2474 PyObject
* obj4
= 0 ;
2475 PyObject
* obj5
= 0 ;
2476 PyObject
* obj6
= 0 ;
2477 PyObject
* obj7
= 0 ;
2479 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
2482 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_Choice",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
2483 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
2484 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2486 arg2
= (int) SWIG_AsInt(obj1
);
2487 if (PyErr_Occurred()) SWIG_fail
;
2492 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
2498 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
2503 if (! PySequence_Check(obj4
)) {
2504 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
2507 arg5
= new wxArrayString
;
2509 int i
, len
=PySequence_Length(obj4
);
2510 for (i
=0; i
<len
; i
++) {
2511 PyObject
* item
= PySequence_GetItem(obj4
, i
);
2513 PyObject
* str
= PyObject_Unicode(item
);
2515 PyObject
* str
= PyObject_Str(item
);
2517 if (PyErr_Occurred()) SWIG_fail
;
2518 arg5
->Add(Py2wxString(str
));
2525 arg6
= (long) SWIG_AsLong(obj5
);
2526 if (PyErr_Occurred()) SWIG_fail
;
2529 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
2530 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2533 PyErr_SetString(PyExc_TypeError
,"null reference");
2539 arg8
= wxString_in_helper(obj7
);
2540 if (arg8
== NULL
) SWIG_fail
;
2545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2546 result
= (wxChoice
*)new wxChoice(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,(wxArrayString
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
2548 wxPyEndAllowThreads(__tstate
);
2549 if (PyErr_Occurred()) SWIG_fail
;
2551 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxChoice
, 1);
2553 if (temp5
) delete arg5
;
2562 if (temp5
) delete arg5
;
2572 static PyObject
*_wrap_new_PreChoice(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2573 PyObject
*resultobj
;
2579 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreChoice",kwnames
)) goto fail
;
2581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2582 result
= (wxChoice
*)new wxChoice();
2584 wxPyEndAllowThreads(__tstate
);
2585 if (PyErr_Occurred()) SWIG_fail
;
2587 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxChoice
, 1);
2594 static PyObject
*_wrap_Choice_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2595 PyObject
*resultobj
;
2596 wxChoice
*arg1
= (wxChoice
*) 0 ;
2597 wxWindow
*arg2
= (wxWindow
*) 0 ;
2598 int arg3
= (int) -1 ;
2599 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
2600 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
2601 wxSize
const &arg5_defvalue
= wxDefaultSize
;
2602 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
2603 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
2604 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
2605 long arg7
= (long) 0 ;
2606 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
2607 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
2608 wxString
const &arg9_defvalue
= wxPyChoiceNameStr
;
2609 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
2613 bool temp6
= False
;
2614 bool temp9
= False
;
2615 PyObject
* obj0
= 0 ;
2616 PyObject
* obj1
= 0 ;
2617 PyObject
* obj2
= 0 ;
2618 PyObject
* obj3
= 0 ;
2619 PyObject
* obj4
= 0 ;
2620 PyObject
* obj5
= 0 ;
2621 PyObject
* obj6
= 0 ;
2622 PyObject
* obj7
= 0 ;
2623 PyObject
* obj8
= 0 ;
2625 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
2628 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:Choice_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
2629 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxChoice
,
2630 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2631 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
2632 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2634 arg3
= (int) SWIG_AsInt(obj2
);
2635 if (PyErr_Occurred()) SWIG_fail
;
2640 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
2646 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
2651 if (! PySequence_Check(obj5
)) {
2652 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
2655 arg6
= new wxArrayString
;
2657 int i
, len
=PySequence_Length(obj5
);
2658 for (i
=0; i
<len
; i
++) {
2659 PyObject
* item
= PySequence_GetItem(obj5
, i
);
2661 PyObject
* str
= PyObject_Unicode(item
);
2663 PyObject
* str
= PyObject_Str(item
);
2665 if (PyErr_Occurred()) SWIG_fail
;
2666 arg6
->Add(Py2wxString(str
));
2673 arg7
= (long) SWIG_AsLong(obj6
);
2674 if (PyErr_Occurred()) SWIG_fail
;
2677 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
2678 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2681 PyErr_SetString(PyExc_TypeError
,"null reference");
2687 arg9
= wxString_in_helper(obj8
);
2688 if (arg9
== NULL
) SWIG_fail
;
2693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2694 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,(wxArrayString
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
2696 wxPyEndAllowThreads(__tstate
);
2697 if (PyErr_Occurred()) SWIG_fail
;
2700 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2703 if (temp6
) delete arg6
;
2712 if (temp6
) delete arg6
;
2722 static PyObject
*_wrap_Choice_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2723 PyObject
*resultobj
;
2724 wxChoice
*arg1
= (wxChoice
*) 0 ;
2726 PyObject
* obj0
= 0 ;
2727 PyObject
* obj1
= 0 ;
2729 (char *) "self",(char *) "n", NULL
2732 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Choice_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
2733 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxChoice
,
2734 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2735 arg2
= (int const) SWIG_AsInt(obj1
);
2736 if (PyErr_Occurred()) SWIG_fail
;
2738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2739 (arg1
)->SetSelection(arg2
);
2741 wxPyEndAllowThreads(__tstate
);
2742 if (PyErr_Occurred()) SWIG_fail
;
2744 Py_INCREF(Py_None
); resultobj
= Py_None
;
2751 static PyObject
*_wrap_Choice_SetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2752 PyObject
*resultobj
;
2753 wxChoice
*arg1
= (wxChoice
*) 0 ;
2754 wxString
*arg2
= 0 ;
2756 bool temp2
= False
;
2757 PyObject
* obj0
= 0 ;
2758 PyObject
* obj1
= 0 ;
2760 (char *) "self",(char *) "string", NULL
2763 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Choice_SetStringSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
2764 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxChoice
,
2765 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2767 arg2
= wxString_in_helper(obj1
);
2768 if (arg2
== NULL
) SWIG_fail
;
2772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2773 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
);
2775 wxPyEndAllowThreads(__tstate
);
2776 if (PyErr_Occurred()) SWIG_fail
;
2779 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2795 static PyObject
*_wrap_Choice_SetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2796 PyObject
*resultobj
;
2797 wxChoice
*arg1
= (wxChoice
*) 0 ;
2799 wxString
*arg3
= 0 ;
2800 bool temp3
= False
;
2801 PyObject
* obj0
= 0 ;
2802 PyObject
* obj1
= 0 ;
2803 PyObject
* obj2
= 0 ;
2805 (char *) "self",(char *) "n",(char *) "string", NULL
2808 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Choice_SetString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2809 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxChoice
,
2810 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2811 arg2
= (int) SWIG_AsInt(obj1
);
2812 if (PyErr_Occurred()) SWIG_fail
;
2814 arg3
= wxString_in_helper(obj2
);
2815 if (arg3
== NULL
) SWIG_fail
;
2819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2820 (arg1
)->SetString(arg2
,(wxString
const &)*arg3
);
2822 wxPyEndAllowThreads(__tstate
);
2823 if (PyErr_Occurred()) SWIG_fail
;
2825 Py_INCREF(Py_None
); resultobj
= Py_None
;
2840 static PyObject
*_wrap_Choice_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2841 PyObject
*resultobj
;
2842 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
2843 wxVisualAttributes result
;
2844 PyObject
* obj0
= 0 ;
2846 (char *) "variant", NULL
2849 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Choice_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
2851 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
2852 if (PyErr_Occurred()) SWIG_fail
;
2855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2856 result
= wxChoice::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
2858 wxPyEndAllowThreads(__tstate
);
2859 if (PyErr_Occurred()) SWIG_fail
;
2862 wxVisualAttributes
* resultptr
;
2863 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
2864 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
2872 static PyObject
* Choice_swigregister(PyObject
*self
, PyObject
*args
) {
2874 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2875 SWIG_TypeClientData(SWIGTYPE_p_wxChoice
, obj
);
2877 return Py_BuildValue((char *)"");
2879 static int _wrap_ComboBoxNameStr_set(PyObject
*_val
) {
2880 PyErr_SetString(PyExc_TypeError
,"Variable ComboBoxNameStr is read-only.");
2885 static PyObject
*_wrap_ComboBoxNameStr_get() {
2890 pyobj
= PyUnicode_FromWideChar((&wxPyComboBoxNameStr
)->c_str(), (&wxPyComboBoxNameStr
)->Len());
2892 pyobj
= PyString_FromStringAndSize((&wxPyComboBoxNameStr
)->c_str(), (&wxPyComboBoxNameStr
)->Len());
2899 static PyObject
*_wrap_new_ComboBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2900 PyObject
*resultobj
;
2901 wxWindow
*arg1
= (wxWindow
*) 0 ;
2902 int arg2
= (int) -1 ;
2903 wxString
const &arg3_defvalue
= wxPyEmptyString
;
2904 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
2905 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
2906 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
2907 wxSize
const &arg5_defvalue
= wxDefaultSize
;
2908 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
2909 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
2910 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
2911 long arg7
= (long) 0 ;
2912 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
2913 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
2914 wxString
const &arg9_defvalue
= wxPyComboBoxNameStr
;
2915 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
2917 bool temp3
= False
;
2920 bool temp6
= False
;
2921 bool temp9
= False
;
2922 PyObject
* obj0
= 0 ;
2923 PyObject
* obj1
= 0 ;
2924 PyObject
* obj2
= 0 ;
2925 PyObject
* obj3
= 0 ;
2926 PyObject
* obj4
= 0 ;
2927 PyObject
* obj5
= 0 ;
2928 PyObject
* obj6
= 0 ;
2929 PyObject
* obj7
= 0 ;
2930 PyObject
* obj8
= 0 ;
2932 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
2935 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOO:new_ComboBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
2936 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
2937 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2939 arg2
= (int) SWIG_AsInt(obj1
);
2940 if (PyErr_Occurred()) SWIG_fail
;
2944 arg3
= wxString_in_helper(obj2
);
2945 if (arg3
== NULL
) SWIG_fail
;
2952 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
2958 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
2963 if (! PySequence_Check(obj5
)) {
2964 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
2967 arg6
= new wxArrayString
;
2969 int i
, len
=PySequence_Length(obj5
);
2970 for (i
=0; i
<len
; i
++) {
2971 PyObject
* item
= PySequence_GetItem(obj5
, i
);
2973 PyObject
* str
= PyObject_Unicode(item
);
2975 PyObject
* str
= PyObject_Str(item
);
2977 if (PyErr_Occurred()) SWIG_fail
;
2978 arg6
->Add(Py2wxString(str
));
2985 arg7
= (long) SWIG_AsLong(obj6
);
2986 if (PyErr_Occurred()) SWIG_fail
;
2989 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
2990 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2993 PyErr_SetString(PyExc_TypeError
,"null reference");
2999 arg9
= wxString_in_helper(obj8
);
3000 if (arg9
== NULL
) SWIG_fail
;
3005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3006 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
);
3008 wxPyEndAllowThreads(__tstate
);
3009 if (PyErr_Occurred()) SWIG_fail
;
3011 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxComboBox
, 1);
3017 if (temp6
) delete arg6
;
3030 if (temp6
) delete arg6
;
3040 static PyObject
*_wrap_new_PreComboBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3041 PyObject
*resultobj
;
3047 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreComboBox",kwnames
)) goto fail
;
3049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3050 result
= (wxComboBox
*)new wxComboBox();
3052 wxPyEndAllowThreads(__tstate
);
3053 if (PyErr_Occurred()) SWIG_fail
;
3055 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxComboBox
, 1);
3062 static PyObject
*_wrap_ComboBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3063 PyObject
*resultobj
;
3064 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3065 wxWindow
*arg2
= (wxWindow
*) 0 ;
3066 int arg3
= (int) -1 ;
3067 wxString
const &arg4_defvalue
= wxPyEmptyString
;
3068 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
3069 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
3070 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
3071 wxSize
const &arg6_defvalue
= wxDefaultSize
;
3072 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
3073 wxArrayString
const &arg7_defvalue
= wxPyEmptyStringArray
;
3074 wxArrayString
*arg7
= (wxArrayString
*) &arg7_defvalue
;
3075 long arg8
= (long) 0 ;
3076 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
3077 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
3078 wxString
const &arg10_defvalue
= wxPyChoiceNameStr
;
3079 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
3081 bool temp4
= False
;
3084 bool temp7
= False
;
3085 bool temp10
= False
;
3086 PyObject
* obj0
= 0 ;
3087 PyObject
* obj1
= 0 ;
3088 PyObject
* obj2
= 0 ;
3089 PyObject
* obj3
= 0 ;
3090 PyObject
* obj4
= 0 ;
3091 PyObject
* obj5
= 0 ;
3092 PyObject
* obj6
= 0 ;
3093 PyObject
* obj7
= 0 ;
3094 PyObject
* obj8
= 0 ;
3095 PyObject
* obj9
= 0 ;
3097 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
3100 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOO:ComboBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
3101 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3102 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3103 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
3104 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3106 arg3
= (int) SWIG_AsInt(obj2
);
3107 if (PyErr_Occurred()) SWIG_fail
;
3111 arg4
= wxString_in_helper(obj3
);
3112 if (arg4
== NULL
) SWIG_fail
;
3119 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
3125 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
3130 if (! PySequence_Check(obj6
)) {
3131 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
3134 arg7
= new wxArrayString
;
3136 int i
, len
=PySequence_Length(obj6
);
3137 for (i
=0; i
<len
; i
++) {
3138 PyObject
* item
= PySequence_GetItem(obj6
, i
);
3140 PyObject
* str
= PyObject_Unicode(item
);
3142 PyObject
* str
= PyObject_Str(item
);
3144 if (PyErr_Occurred()) SWIG_fail
;
3145 arg7
->Add(Py2wxString(str
));
3152 arg8
= (long) SWIG_AsLong(obj7
);
3153 if (PyErr_Occurred()) SWIG_fail
;
3156 if ((SWIG_ConvertPtr(obj8
,(void **)(&arg9
),SWIGTYPE_p_wxValidator
,
3157 SWIG_POINTER_EXCEPTION
| 0)) == -1)
3160 PyErr_SetString(PyExc_TypeError
,"null reference");
3166 arg10
= wxString_in_helper(obj9
);
3167 if (arg10
== NULL
) SWIG_fail
;
3172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3173 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
);
3175 wxPyEndAllowThreads(__tstate
);
3176 if (PyErr_Occurred()) SWIG_fail
;
3179 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3186 if (temp7
) delete arg7
;
3199 if (temp7
) delete arg7
;
3209 static PyObject
*_wrap_ComboBox_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3210 PyObject
*resultobj
;
3211 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3213 PyObject
* obj0
= 0 ;
3215 (char *) "self", NULL
3218 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_GetValue",kwnames
,&obj0
)) goto fail
;
3219 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3220 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3223 result
= ((wxComboBox
const *)arg1
)->GetValue();
3225 wxPyEndAllowThreads(__tstate
);
3226 if (PyErr_Occurred()) SWIG_fail
;
3230 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3232 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3241 static PyObject
*_wrap_ComboBox_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3242 PyObject
*resultobj
;
3243 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3244 wxString
*arg2
= 0 ;
3245 bool temp2
= False
;
3246 PyObject
* obj0
= 0 ;
3247 PyObject
* obj1
= 0 ;
3249 (char *) "self",(char *) "value", NULL
3252 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
3253 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3254 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3256 arg2
= wxString_in_helper(obj1
);
3257 if (arg2
== NULL
) SWIG_fail
;
3261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3262 (arg1
)->SetValue((wxString
const &)*arg2
);
3264 wxPyEndAllowThreads(__tstate
);
3265 if (PyErr_Occurred()) SWIG_fail
;
3267 Py_INCREF(Py_None
); resultobj
= Py_None
;
3282 static PyObject
*_wrap_ComboBox_Copy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3283 PyObject
*resultobj
;
3284 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3285 PyObject
* obj0
= 0 ;
3287 (char *) "self", NULL
3290 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_Copy",kwnames
,&obj0
)) goto fail
;
3291 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3292 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3297 wxPyEndAllowThreads(__tstate
);
3298 if (PyErr_Occurred()) SWIG_fail
;
3300 Py_INCREF(Py_None
); resultobj
= Py_None
;
3307 static PyObject
*_wrap_ComboBox_Cut(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3308 PyObject
*resultobj
;
3309 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3310 PyObject
* obj0
= 0 ;
3312 (char *) "self", NULL
3315 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_Cut",kwnames
,&obj0
)) goto fail
;
3316 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3317 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3322 wxPyEndAllowThreads(__tstate
);
3323 if (PyErr_Occurred()) SWIG_fail
;
3325 Py_INCREF(Py_None
); resultobj
= Py_None
;
3332 static PyObject
*_wrap_ComboBox_Paste(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3333 PyObject
*resultobj
;
3334 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3335 PyObject
* obj0
= 0 ;
3337 (char *) "self", NULL
3340 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_Paste",kwnames
,&obj0
)) goto fail
;
3341 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3342 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3347 wxPyEndAllowThreads(__tstate
);
3348 if (PyErr_Occurred()) SWIG_fail
;
3350 Py_INCREF(Py_None
); resultobj
= Py_None
;
3357 static PyObject
*_wrap_ComboBox_SetInsertionPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3358 PyObject
*resultobj
;
3359 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3361 PyObject
* obj0
= 0 ;
3362 PyObject
* obj1
= 0 ;
3364 (char *) "self",(char *) "pos", NULL
3367 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetInsertionPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
3368 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3369 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3370 arg2
= (long) SWIG_AsLong(obj1
);
3371 if (PyErr_Occurred()) SWIG_fail
;
3373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3374 (arg1
)->SetInsertionPoint(arg2
);
3376 wxPyEndAllowThreads(__tstate
);
3377 if (PyErr_Occurred()) SWIG_fail
;
3379 Py_INCREF(Py_None
); resultobj
= Py_None
;
3386 static PyObject
*_wrap_ComboBox_GetInsertionPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3387 PyObject
*resultobj
;
3388 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3390 PyObject
* obj0
= 0 ;
3392 (char *) "self", NULL
3395 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_GetInsertionPoint",kwnames
,&obj0
)) goto fail
;
3396 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3397 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3400 result
= (long)((wxComboBox
const *)arg1
)->GetInsertionPoint();
3402 wxPyEndAllowThreads(__tstate
);
3403 if (PyErr_Occurred()) SWIG_fail
;
3405 resultobj
= SWIG_FromLong((long)result
);
3412 static PyObject
*_wrap_ComboBox_GetLastPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3413 PyObject
*resultobj
;
3414 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3416 PyObject
* obj0
= 0 ;
3418 (char *) "self", NULL
3421 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_GetLastPosition",kwnames
,&obj0
)) goto fail
;
3422 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3423 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3426 result
= (long)((wxComboBox
const *)arg1
)->GetLastPosition();
3428 wxPyEndAllowThreads(__tstate
);
3429 if (PyErr_Occurred()) SWIG_fail
;
3431 resultobj
= SWIG_FromLong((long)result
);
3438 static PyObject
*_wrap_ComboBox_Replace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3439 PyObject
*resultobj
;
3440 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3443 wxString
*arg4
= 0 ;
3444 bool temp4
= False
;
3445 PyObject
* obj0
= 0 ;
3446 PyObject
* obj1
= 0 ;
3447 PyObject
* obj2
= 0 ;
3448 PyObject
* obj3
= 0 ;
3450 (char *) "self",(char *) "from",(char *) "to",(char *) "value", NULL
3453 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ComboBox_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
3454 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3455 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3456 arg2
= (long) SWIG_AsLong(obj1
);
3457 if (PyErr_Occurred()) SWIG_fail
;
3458 arg3
= (long) SWIG_AsLong(obj2
);
3459 if (PyErr_Occurred()) SWIG_fail
;
3461 arg4
= wxString_in_helper(obj3
);
3462 if (arg4
== NULL
) SWIG_fail
;
3466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3467 (arg1
)->Replace(arg2
,arg3
,(wxString
const &)*arg4
);
3469 wxPyEndAllowThreads(__tstate
);
3470 if (PyErr_Occurred()) SWIG_fail
;
3472 Py_INCREF(Py_None
); resultobj
= Py_None
;
3487 static PyObject
*_wrap_ComboBox_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3488 PyObject
*resultobj
;
3489 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3491 PyObject
* obj0
= 0 ;
3492 PyObject
* obj1
= 0 ;
3494 (char *) "self",(char *) "n", NULL
3497 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
3498 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3499 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3500 arg2
= (int) SWIG_AsInt(obj1
);
3501 if (PyErr_Occurred()) SWIG_fail
;
3503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3504 (arg1
)->SetSelection(arg2
);
3506 wxPyEndAllowThreads(__tstate
);
3507 if (PyErr_Occurred()) SWIG_fail
;
3509 Py_INCREF(Py_None
); resultobj
= Py_None
;
3516 static PyObject
*_wrap_ComboBox_SetMark(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3517 PyObject
*resultobj
;
3518 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3521 PyObject
* obj0
= 0 ;
3522 PyObject
* obj1
= 0 ;
3523 PyObject
* obj2
= 0 ;
3525 (char *) "self",(char *) "from",(char *) "to", NULL
3528 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ComboBox_SetMark",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3529 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3530 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3531 arg2
= (long) SWIG_AsLong(obj1
);
3532 if (PyErr_Occurred()) SWIG_fail
;
3533 arg3
= (long) SWIG_AsLong(obj2
);
3534 if (PyErr_Occurred()) SWIG_fail
;
3536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3537 (arg1
)->SetSelection(arg2
,arg3
);
3539 wxPyEndAllowThreads(__tstate
);
3540 if (PyErr_Occurred()) SWIG_fail
;
3542 Py_INCREF(Py_None
); resultobj
= Py_None
;
3549 static PyObject
*_wrap_ComboBox_SetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3550 PyObject
*resultobj
;
3551 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3552 wxString
*arg2
= 0 ;
3554 bool temp2
= False
;
3555 PyObject
* obj0
= 0 ;
3556 PyObject
* obj1
= 0 ;
3558 (char *) "self",(char *) "string", NULL
3561 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetStringSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
3562 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3563 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3565 arg2
= wxString_in_helper(obj1
);
3566 if (arg2
== NULL
) SWIG_fail
;
3570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3571 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
);
3573 wxPyEndAllowThreads(__tstate
);
3574 if (PyErr_Occurred()) SWIG_fail
;
3577 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3593 static PyObject
*_wrap_ComboBox_SetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3594 PyObject
*resultobj
;
3595 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3597 wxString
*arg3
= 0 ;
3598 bool temp3
= False
;
3599 PyObject
* obj0
= 0 ;
3600 PyObject
* obj1
= 0 ;
3601 PyObject
* obj2
= 0 ;
3603 (char *) "self",(char *) "n",(char *) "string", NULL
3606 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ComboBox_SetString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3607 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3608 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3609 arg2
= (int) SWIG_AsInt(obj1
);
3610 if (PyErr_Occurred()) SWIG_fail
;
3612 arg3
= wxString_in_helper(obj2
);
3613 if (arg3
== NULL
) SWIG_fail
;
3617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3618 (arg1
)->SetString(arg2
,(wxString
const &)*arg3
);
3620 wxPyEndAllowThreads(__tstate
);
3621 if (PyErr_Occurred()) SWIG_fail
;
3623 Py_INCREF(Py_None
); resultobj
= Py_None
;
3638 static PyObject
*_wrap_ComboBox_SetEditable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3639 PyObject
*resultobj
;
3640 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3642 PyObject
* obj0
= 0 ;
3643 PyObject
* obj1
= 0 ;
3645 (char *) "self",(char *) "editable", NULL
3648 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetEditable",kwnames
,&obj0
,&obj1
)) goto fail
;
3649 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3650 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3651 arg2
= (bool) SWIG_AsBool(obj1
);
3652 if (PyErr_Occurred()) SWIG_fail
;
3654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3655 (arg1
)->SetEditable(arg2
);
3657 wxPyEndAllowThreads(__tstate
);
3658 if (PyErr_Occurred()) SWIG_fail
;
3660 Py_INCREF(Py_None
); resultobj
= Py_None
;
3667 static PyObject
*_wrap_ComboBox_SetInsertionPointEnd(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3668 PyObject
*resultobj
;
3669 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3670 PyObject
* obj0
= 0 ;
3672 (char *) "self", NULL
3675 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_SetInsertionPointEnd",kwnames
,&obj0
)) goto fail
;
3676 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3677 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3680 (arg1
)->SetInsertionPointEnd();
3682 wxPyEndAllowThreads(__tstate
);
3683 if (PyErr_Occurred()) SWIG_fail
;
3685 Py_INCREF(Py_None
); resultobj
= Py_None
;
3692 static PyObject
*_wrap_ComboBox_Remove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3693 PyObject
*resultobj
;
3694 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3697 PyObject
* obj0
= 0 ;
3698 PyObject
* obj1
= 0 ;
3699 PyObject
* obj2
= 0 ;
3701 (char *) "self",(char *) "from",(char *) "to", NULL
3704 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ComboBox_Remove",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3705 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3706 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3707 arg2
= (long) SWIG_AsLong(obj1
);
3708 if (PyErr_Occurred()) SWIG_fail
;
3709 arg3
= (long) SWIG_AsLong(obj2
);
3710 if (PyErr_Occurred()) SWIG_fail
;
3712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3713 (arg1
)->Remove(arg2
,arg3
);
3715 wxPyEndAllowThreads(__tstate
);
3716 if (PyErr_Occurred()) SWIG_fail
;
3718 Py_INCREF(Py_None
); resultobj
= Py_None
;
3725 static PyObject
*_wrap_ComboBox_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3726 PyObject
*resultobj
;
3727 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
3728 wxVisualAttributes result
;
3729 PyObject
* obj0
= 0 ;
3731 (char *) "variant", NULL
3734 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ComboBox_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
3736 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
3737 if (PyErr_Occurred()) SWIG_fail
;
3740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3741 result
= wxComboBox::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
3743 wxPyEndAllowThreads(__tstate
);
3744 if (PyErr_Occurred()) SWIG_fail
;
3747 wxVisualAttributes
* resultptr
;
3748 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
3749 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
3757 static PyObject
* ComboBox_swigregister(PyObject
*self
, PyObject
*args
) {
3759 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3760 SWIG_TypeClientData(SWIGTYPE_p_wxComboBox
, obj
);
3762 return Py_BuildValue((char *)"");
3764 static int _wrap_GaugeNameStr_set(PyObject
*_val
) {
3765 PyErr_SetString(PyExc_TypeError
,"Variable GaugeNameStr is read-only.");
3770 static PyObject
*_wrap_GaugeNameStr_get() {
3775 pyobj
= PyUnicode_FromWideChar((&wxPyGaugeNameStr
)->c_str(), (&wxPyGaugeNameStr
)->Len());
3777 pyobj
= PyString_FromStringAndSize((&wxPyGaugeNameStr
)->c_str(), (&wxPyGaugeNameStr
)->Len());
3784 static PyObject
*_wrap_new_Gauge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3785 PyObject
*resultobj
;
3786 wxWindow
*arg1
= (wxWindow
*) 0 ;
3789 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
3790 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
3791 wxSize
const &arg5_defvalue
= wxDefaultSize
;
3792 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
3793 long arg6
= (long) wxGA_HORIZONTAL
;
3794 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
3795 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
3796 wxString
const &arg8_defvalue
= wxPyGaugeNameStr
;
3797 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
3801 bool temp8
= False
;
3802 PyObject
* obj0
= 0 ;
3803 PyObject
* obj1
= 0 ;
3804 PyObject
* obj2
= 0 ;
3805 PyObject
* obj3
= 0 ;
3806 PyObject
* obj4
= 0 ;
3807 PyObject
* obj5
= 0 ;
3808 PyObject
* obj6
= 0 ;
3809 PyObject
* obj7
= 0 ;
3811 (char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3814 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOO:new_Gauge",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
3815 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
3816 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3817 arg2
= (int) SWIG_AsInt(obj1
);
3818 if (PyErr_Occurred()) SWIG_fail
;
3819 arg3
= (int) SWIG_AsInt(obj2
);
3820 if (PyErr_Occurred()) SWIG_fail
;
3824 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
3830 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
3834 arg6
= (long) SWIG_AsLong(obj5
);
3835 if (PyErr_Occurred()) SWIG_fail
;
3838 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
3839 SWIG_POINTER_EXCEPTION
| 0)) == -1)
3842 PyErr_SetString(PyExc_TypeError
,"null reference");
3848 arg8
= wxString_in_helper(obj7
);
3849 if (arg8
== NULL
) SWIG_fail
;
3854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3855 result
= (wxGauge
*)new wxGauge(arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
3857 wxPyEndAllowThreads(__tstate
);
3858 if (PyErr_Occurred()) SWIG_fail
;
3860 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGauge
, 1);
3875 static PyObject
*_wrap_new_PreGauge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3876 PyObject
*resultobj
;
3882 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreGauge",kwnames
)) goto fail
;
3884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3885 result
= (wxGauge
*)new wxGauge();
3887 wxPyEndAllowThreads(__tstate
);
3888 if (PyErr_Occurred()) SWIG_fail
;
3890 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGauge
, 1);
3897 static PyObject
*_wrap_Gauge_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3898 PyObject
*resultobj
;
3899 wxGauge
*arg1
= (wxGauge
*) 0 ;
3900 wxWindow
*arg2
= (wxWindow
*) 0 ;
3903 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
3904 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
3905 wxSize
const &arg6_defvalue
= wxDefaultSize
;
3906 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
3907 long arg7
= (long) wxGA_HORIZONTAL
;
3908 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
3909 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
3910 wxString
const &arg9_defvalue
= wxPyGaugeNameStr
;
3911 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
3915 bool temp9
= False
;
3916 PyObject
* obj0
= 0 ;
3917 PyObject
* obj1
= 0 ;
3918 PyObject
* obj2
= 0 ;
3919 PyObject
* obj3
= 0 ;
3920 PyObject
* obj4
= 0 ;
3921 PyObject
* obj5
= 0 ;
3922 PyObject
* obj6
= 0 ;
3923 PyObject
* obj7
= 0 ;
3924 PyObject
* obj8
= 0 ;
3926 (char *) "self",(char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3929 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOOO:Gauge_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
3930 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGauge
,
3931 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3932 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
3933 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3934 arg3
= (int) SWIG_AsInt(obj2
);
3935 if (PyErr_Occurred()) SWIG_fail
;
3936 arg4
= (int) SWIG_AsInt(obj3
);
3937 if (PyErr_Occurred()) SWIG_fail
;
3941 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
3947 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
3951 arg7
= (long) SWIG_AsLong(obj6
);
3952 if (PyErr_Occurred()) SWIG_fail
;
3955 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
3956 SWIG_POINTER_EXCEPTION
| 0)) == -1)
3959 PyErr_SetString(PyExc_TypeError
,"null reference");
3965 arg9
= wxString_in_helper(obj8
);
3966 if (arg9
== NULL
) SWIG_fail
;
3971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3972 result
= (bool)(arg1
)->Create(arg2
,arg3
,arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
3974 wxPyEndAllowThreads(__tstate
);
3975 if (PyErr_Occurred()) SWIG_fail
;
3978 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3994 static PyObject
*_wrap_Gauge_SetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3995 PyObject
*resultobj
;
3996 wxGauge
*arg1
= (wxGauge
*) 0 ;
3998 PyObject
* obj0
= 0 ;
3999 PyObject
* obj1
= 0 ;
4001 (char *) "self",(char *) "range", NULL
4004 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetRange",kwnames
,&obj0
,&obj1
)) goto fail
;
4005 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGauge
,
4006 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4007 arg2
= (int) SWIG_AsInt(obj1
);
4008 if (PyErr_Occurred()) SWIG_fail
;
4010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4011 (arg1
)->SetRange(arg2
);
4013 wxPyEndAllowThreads(__tstate
);
4014 if (PyErr_Occurred()) SWIG_fail
;
4016 Py_INCREF(Py_None
); resultobj
= Py_None
;
4023 static PyObject
*_wrap_Gauge_GetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4024 PyObject
*resultobj
;
4025 wxGauge
*arg1
= (wxGauge
*) 0 ;
4027 PyObject
* obj0
= 0 ;
4029 (char *) "self", NULL
4032 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_GetRange",kwnames
,&obj0
)) goto fail
;
4033 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGauge
,
4034 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4037 result
= (int)((wxGauge
const *)arg1
)->GetRange();
4039 wxPyEndAllowThreads(__tstate
);
4040 if (PyErr_Occurred()) SWIG_fail
;
4042 resultobj
= SWIG_FromInt((int)result
);
4049 static PyObject
*_wrap_Gauge_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4050 PyObject
*resultobj
;
4051 wxGauge
*arg1
= (wxGauge
*) 0 ;
4053 PyObject
* obj0
= 0 ;
4054 PyObject
* obj1
= 0 ;
4056 (char *) "self",(char *) "pos", NULL
4059 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
4060 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGauge
,
4061 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4062 arg2
= (int) SWIG_AsInt(obj1
);
4063 if (PyErr_Occurred()) SWIG_fail
;
4065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4066 (arg1
)->SetValue(arg2
);
4068 wxPyEndAllowThreads(__tstate
);
4069 if (PyErr_Occurred()) SWIG_fail
;
4071 Py_INCREF(Py_None
); resultobj
= Py_None
;
4078 static PyObject
*_wrap_Gauge_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4079 PyObject
*resultobj
;
4080 wxGauge
*arg1
= (wxGauge
*) 0 ;
4082 PyObject
* obj0
= 0 ;
4084 (char *) "self", NULL
4087 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_GetValue",kwnames
,&obj0
)) goto fail
;
4088 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGauge
,
4089 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4092 result
= (int)((wxGauge
const *)arg1
)->GetValue();
4094 wxPyEndAllowThreads(__tstate
);
4095 if (PyErr_Occurred()) SWIG_fail
;
4097 resultobj
= SWIG_FromInt((int)result
);
4104 static PyObject
*_wrap_Gauge_IsVertical(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4105 PyObject
*resultobj
;
4106 wxGauge
*arg1
= (wxGauge
*) 0 ;
4108 PyObject
* obj0
= 0 ;
4110 (char *) "self", NULL
4113 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_IsVertical",kwnames
,&obj0
)) goto fail
;
4114 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGauge
,
4115 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4118 result
= (bool)((wxGauge
const *)arg1
)->IsVertical();
4120 wxPyEndAllowThreads(__tstate
);
4121 if (PyErr_Occurred()) SWIG_fail
;
4124 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4132 static PyObject
*_wrap_Gauge_SetShadowWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4133 PyObject
*resultobj
;
4134 wxGauge
*arg1
= (wxGauge
*) 0 ;
4136 PyObject
* obj0
= 0 ;
4137 PyObject
* obj1
= 0 ;
4139 (char *) "self",(char *) "w", NULL
4142 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetShadowWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
4143 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGauge
,
4144 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4145 arg2
= (int) SWIG_AsInt(obj1
);
4146 if (PyErr_Occurred()) SWIG_fail
;
4148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4149 (arg1
)->SetShadowWidth(arg2
);
4151 wxPyEndAllowThreads(__tstate
);
4152 if (PyErr_Occurred()) SWIG_fail
;
4154 Py_INCREF(Py_None
); resultobj
= Py_None
;
4161 static PyObject
*_wrap_Gauge_GetShadowWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4162 PyObject
*resultobj
;
4163 wxGauge
*arg1
= (wxGauge
*) 0 ;
4165 PyObject
* obj0
= 0 ;
4167 (char *) "self", NULL
4170 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_GetShadowWidth",kwnames
,&obj0
)) goto fail
;
4171 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGauge
,
4172 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4175 result
= (int)((wxGauge
const *)arg1
)->GetShadowWidth();
4177 wxPyEndAllowThreads(__tstate
);
4178 if (PyErr_Occurred()) SWIG_fail
;
4180 resultobj
= SWIG_FromInt((int)result
);
4187 static PyObject
*_wrap_Gauge_SetBezelFace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4188 PyObject
*resultobj
;
4189 wxGauge
*arg1
= (wxGauge
*) 0 ;
4191 PyObject
* obj0
= 0 ;
4192 PyObject
* obj1
= 0 ;
4194 (char *) "self",(char *) "w", NULL
4197 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetBezelFace",kwnames
,&obj0
,&obj1
)) goto fail
;
4198 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGauge
,
4199 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4200 arg2
= (int) SWIG_AsInt(obj1
);
4201 if (PyErr_Occurred()) SWIG_fail
;
4203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4204 (arg1
)->SetBezelFace(arg2
);
4206 wxPyEndAllowThreads(__tstate
);
4207 if (PyErr_Occurred()) SWIG_fail
;
4209 Py_INCREF(Py_None
); resultobj
= Py_None
;
4216 static PyObject
*_wrap_Gauge_GetBezelFace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4217 PyObject
*resultobj
;
4218 wxGauge
*arg1
= (wxGauge
*) 0 ;
4220 PyObject
* obj0
= 0 ;
4222 (char *) "self", NULL
4225 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_GetBezelFace",kwnames
,&obj0
)) goto fail
;
4226 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGauge
,
4227 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4230 result
= (int)((wxGauge
const *)arg1
)->GetBezelFace();
4232 wxPyEndAllowThreads(__tstate
);
4233 if (PyErr_Occurred()) SWIG_fail
;
4235 resultobj
= SWIG_FromInt((int)result
);
4242 static PyObject
*_wrap_Gauge_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4243 PyObject
*resultobj
;
4244 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
4245 wxVisualAttributes result
;
4246 PyObject
* obj0
= 0 ;
4248 (char *) "variant", NULL
4251 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Gauge_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
4253 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
4254 if (PyErr_Occurred()) SWIG_fail
;
4257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4258 result
= wxGauge::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
4260 wxPyEndAllowThreads(__tstate
);
4261 if (PyErr_Occurred()) SWIG_fail
;
4264 wxVisualAttributes
* resultptr
;
4265 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
4266 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
4274 static PyObject
* Gauge_swigregister(PyObject
*self
, PyObject
*args
) {
4276 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4277 SWIG_TypeClientData(SWIGTYPE_p_wxGauge
, obj
);
4279 return Py_BuildValue((char *)"");
4281 static int _wrap_StaticBitmapNameStr_set(PyObject
*_val
) {
4282 PyErr_SetString(PyExc_TypeError
,"Variable StaticBitmapNameStr is read-only.");
4287 static PyObject
*_wrap_StaticBitmapNameStr_get() {
4292 pyobj
= PyUnicode_FromWideChar((&wxPyStaticBitmapNameStr
)->c_str(), (&wxPyStaticBitmapNameStr
)->Len());
4294 pyobj
= PyString_FromStringAndSize((&wxPyStaticBitmapNameStr
)->c_str(), (&wxPyStaticBitmapNameStr
)->Len());
4301 static int _wrap_StaticBoxNameStr_set(PyObject
*_val
) {
4302 PyErr_SetString(PyExc_TypeError
,"Variable StaticBoxNameStr is read-only.");
4307 static PyObject
*_wrap_StaticBoxNameStr_get() {
4312 pyobj
= PyUnicode_FromWideChar((&wxPyStaticBoxNameStr
)->c_str(), (&wxPyStaticBoxNameStr
)->Len());
4314 pyobj
= PyString_FromStringAndSize((&wxPyStaticBoxNameStr
)->c_str(), (&wxPyStaticBoxNameStr
)->Len());
4321 static int _wrap_StaticTextNameStr_set(PyObject
*_val
) {
4322 PyErr_SetString(PyExc_TypeError
,"Variable StaticTextNameStr is read-only.");
4327 static PyObject
*_wrap_StaticTextNameStr_get() {
4332 pyobj
= PyUnicode_FromWideChar((&wxPyStaticTextNameStr
)->c_str(), (&wxPyStaticTextNameStr
)->Len());
4334 pyobj
= PyString_FromStringAndSize((&wxPyStaticTextNameStr
)->c_str(), (&wxPyStaticTextNameStr
)->Len());
4341 static PyObject
*_wrap_new_StaticBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4342 PyObject
*resultobj
;
4343 wxWindow
*arg1
= (wxWindow
*) 0 ;
4345 wxString
*arg3
= 0 ;
4346 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4347 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4348 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4349 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4350 long arg6
= (long) 0 ;
4351 wxString
const &arg7_defvalue
= wxPyStaticBoxNameStr
;
4352 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
4353 wxStaticBox
*result
;
4354 bool temp3
= False
;
4357 bool temp7
= False
;
4358 PyObject
* obj0
= 0 ;
4359 PyObject
* obj1
= 0 ;
4360 PyObject
* obj2
= 0 ;
4361 PyObject
* obj3
= 0 ;
4362 PyObject
* obj4
= 0 ;
4363 PyObject
* obj5
= 0 ;
4364 PyObject
* obj6
= 0 ;
4366 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4369 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_StaticBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
4370 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
4371 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4372 arg2
= (int) SWIG_AsInt(obj1
);
4373 if (PyErr_Occurred()) SWIG_fail
;
4375 arg3
= wxString_in_helper(obj2
);
4376 if (arg3
== NULL
) SWIG_fail
;
4382 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4388 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4392 arg6
= (long) SWIG_AsLong(obj5
);
4393 if (PyErr_Occurred()) SWIG_fail
;
4397 arg7
= wxString_in_helper(obj6
);
4398 if (arg7
== NULL
) SWIG_fail
;
4403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4404 result
= (wxStaticBox
*)new wxStaticBox(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
4406 wxPyEndAllowThreads(__tstate
);
4407 if (PyErr_Occurred()) SWIG_fail
;
4410 resultobj
= wxPyMake_wxObject(result
);
4434 static PyObject
*_wrap_new_PreStaticBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4435 PyObject
*resultobj
;
4436 wxStaticBox
*result
;
4441 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreStaticBox",kwnames
)) goto fail
;
4443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4444 result
= (wxStaticBox
*)new wxStaticBox();
4446 wxPyEndAllowThreads(__tstate
);
4447 if (PyErr_Occurred()) SWIG_fail
;
4450 resultobj
= wxPyMake_wxObject(result
);
4458 static PyObject
*_wrap_StaticBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4459 PyObject
*resultobj
;
4460 wxStaticBox
*arg1
= (wxStaticBox
*) 0 ;
4461 wxWindow
*arg2
= (wxWindow
*) 0 ;
4463 wxString
*arg4
= 0 ;
4464 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
4465 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
4466 wxSize
const &arg6_defvalue
= wxDefaultSize
;
4467 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
4468 long arg7
= (long) 0 ;
4469 wxString
const &arg8_defvalue
= wxPyStaticBoxNameStr
;
4470 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
4472 bool temp4
= False
;
4475 bool temp8
= False
;
4476 PyObject
* obj0
= 0 ;
4477 PyObject
* obj1
= 0 ;
4478 PyObject
* obj2
= 0 ;
4479 PyObject
* obj3
= 0 ;
4480 PyObject
* obj4
= 0 ;
4481 PyObject
* obj5
= 0 ;
4482 PyObject
* obj6
= 0 ;
4483 PyObject
* obj7
= 0 ;
4485 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4488 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOO:StaticBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
4489 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticBox
,
4490 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4491 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
4492 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4493 arg3
= (int) SWIG_AsInt(obj2
);
4494 if (PyErr_Occurred()) SWIG_fail
;
4496 arg4
= wxString_in_helper(obj3
);
4497 if (arg4
== NULL
) SWIG_fail
;
4503 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
4509 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
4513 arg7
= (long) SWIG_AsLong(obj6
);
4514 if (PyErr_Occurred()) SWIG_fail
;
4518 arg8
= wxString_in_helper(obj7
);
4519 if (arg8
== NULL
) SWIG_fail
;
4524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4525 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
4527 wxPyEndAllowThreads(__tstate
);
4528 if (PyErr_Occurred()) SWIG_fail
;
4531 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4555 static PyObject
*_wrap_StaticBox_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4556 PyObject
*resultobj
;
4557 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
4558 wxVisualAttributes result
;
4559 PyObject
* obj0
= 0 ;
4561 (char *) "variant", NULL
4564 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StaticBox_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
4566 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
4567 if (PyErr_Occurred()) SWIG_fail
;
4570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4571 result
= wxStaticBox::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
4573 wxPyEndAllowThreads(__tstate
);
4574 if (PyErr_Occurred()) SWIG_fail
;
4577 wxVisualAttributes
* resultptr
;
4578 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
4579 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
4587 static PyObject
* StaticBox_swigregister(PyObject
*self
, PyObject
*args
) {
4589 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4590 SWIG_TypeClientData(SWIGTYPE_p_wxStaticBox
, obj
);
4592 return Py_BuildValue((char *)"");
4594 static PyObject
*_wrap_new_StaticLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4595 PyObject
*resultobj
;
4596 wxWindow
*arg1
= (wxWindow
*) 0 ;
4598 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
4599 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
4600 wxSize
const &arg4_defvalue
= wxDefaultSize
;
4601 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
4602 long arg5
= (long) wxLI_HORIZONTAL
;
4603 wxString
const &arg6_defvalue
= wxPyStaticTextNameStr
;
4604 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
4605 wxStaticLine
*result
;
4608 bool temp6
= False
;
4609 PyObject
* obj0
= 0 ;
4610 PyObject
* obj1
= 0 ;
4611 PyObject
* obj2
= 0 ;
4612 PyObject
* obj3
= 0 ;
4613 PyObject
* obj4
= 0 ;
4614 PyObject
* obj5
= 0 ;
4616 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4619 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_StaticLine",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
4620 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
4621 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4622 arg2
= (int) SWIG_AsInt(obj1
);
4623 if (PyErr_Occurred()) SWIG_fail
;
4627 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
4633 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
4637 arg5
= (long) SWIG_AsLong(obj4
);
4638 if (PyErr_Occurred()) SWIG_fail
;
4642 arg6
= wxString_in_helper(obj5
);
4643 if (arg6
== NULL
) SWIG_fail
;
4648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4649 result
= (wxStaticLine
*)new wxStaticLine(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
4651 wxPyEndAllowThreads(__tstate
);
4652 if (PyErr_Occurred()) SWIG_fail
;
4654 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticLine
, 1);
4669 static PyObject
*_wrap_new_PreStaticLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4670 PyObject
*resultobj
;
4671 wxStaticLine
*result
;
4676 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreStaticLine",kwnames
)) goto fail
;
4678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4679 result
= (wxStaticLine
*)new wxStaticLine();
4681 wxPyEndAllowThreads(__tstate
);
4682 if (PyErr_Occurred()) SWIG_fail
;
4684 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticLine
, 1);
4691 static PyObject
*_wrap_StaticLine_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4692 PyObject
*resultobj
;
4693 wxStaticLine
*arg1
= (wxStaticLine
*) 0 ;
4694 wxWindow
*arg2
= (wxWindow
*) 0 ;
4696 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4697 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4698 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4699 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4700 long arg6
= (long) wxLI_HORIZONTAL
;
4701 wxString
const &arg7_defvalue
= wxPyStaticTextNameStr
;
4702 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
4706 bool temp7
= False
;
4707 PyObject
* obj0
= 0 ;
4708 PyObject
* obj1
= 0 ;
4709 PyObject
* obj2
= 0 ;
4710 PyObject
* obj3
= 0 ;
4711 PyObject
* obj4
= 0 ;
4712 PyObject
* obj5
= 0 ;
4713 PyObject
* obj6
= 0 ;
4715 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4718 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:StaticLine_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
4719 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticLine
,
4720 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4721 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
4722 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4723 arg3
= (int) SWIG_AsInt(obj2
);
4724 if (PyErr_Occurred()) SWIG_fail
;
4728 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4734 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4738 arg6
= (long) SWIG_AsLong(obj5
);
4739 if (PyErr_Occurred()) SWIG_fail
;
4743 arg7
= wxString_in_helper(obj6
);
4744 if (arg7
== NULL
) SWIG_fail
;
4749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4750 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
4752 wxPyEndAllowThreads(__tstate
);
4753 if (PyErr_Occurred()) SWIG_fail
;
4756 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4772 static PyObject
*_wrap_StaticLine_IsVertical(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4773 PyObject
*resultobj
;
4774 wxStaticLine
*arg1
= (wxStaticLine
*) 0 ;
4776 PyObject
* obj0
= 0 ;
4778 (char *) "self", NULL
4781 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StaticLine_IsVertical",kwnames
,&obj0
)) goto fail
;
4782 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticLine
,
4783 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4786 result
= (bool)((wxStaticLine
const *)arg1
)->IsVertical();
4788 wxPyEndAllowThreads(__tstate
);
4789 if (PyErr_Occurred()) SWIG_fail
;
4792 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4800 static PyObject
*_wrap_StaticLine_GetDefaultSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4801 PyObject
*resultobj
;
4807 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":StaticLine_GetDefaultSize",kwnames
)) goto fail
;
4809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4810 result
= (int)wxStaticLine::GetDefaultSize();
4812 wxPyEndAllowThreads(__tstate
);
4813 if (PyErr_Occurred()) SWIG_fail
;
4815 resultobj
= SWIG_FromInt((int)result
);
4822 static PyObject
*_wrap_StaticLine_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4823 PyObject
*resultobj
;
4824 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
4825 wxVisualAttributes result
;
4826 PyObject
* obj0
= 0 ;
4828 (char *) "variant", NULL
4831 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StaticLine_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
4833 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
4834 if (PyErr_Occurred()) SWIG_fail
;
4837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4838 result
= wxStaticLine::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
4840 wxPyEndAllowThreads(__tstate
);
4841 if (PyErr_Occurred()) SWIG_fail
;
4844 wxVisualAttributes
* resultptr
;
4845 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
4846 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
4854 static PyObject
* StaticLine_swigregister(PyObject
*self
, PyObject
*args
) {
4856 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4857 SWIG_TypeClientData(SWIGTYPE_p_wxStaticLine
, obj
);
4859 return Py_BuildValue((char *)"");
4861 static PyObject
*_wrap_new_StaticText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4862 PyObject
*resultobj
;
4863 wxWindow
*arg1
= (wxWindow
*) 0 ;
4865 wxString
*arg3
= 0 ;
4866 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4867 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4868 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4869 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4870 long arg6
= (long) 0 ;
4871 wxString
const &arg7_defvalue
= wxPyStaticTextNameStr
;
4872 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
4873 wxStaticText
*result
;
4874 bool temp3
= False
;
4877 bool temp7
= False
;
4878 PyObject
* obj0
= 0 ;
4879 PyObject
* obj1
= 0 ;
4880 PyObject
* obj2
= 0 ;
4881 PyObject
* obj3
= 0 ;
4882 PyObject
* obj4
= 0 ;
4883 PyObject
* obj5
= 0 ;
4884 PyObject
* obj6
= 0 ;
4886 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4889 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_StaticText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
4890 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
4891 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4892 arg2
= (int) SWIG_AsInt(obj1
);
4893 if (PyErr_Occurred()) SWIG_fail
;
4895 arg3
= wxString_in_helper(obj2
);
4896 if (arg3
== NULL
) SWIG_fail
;
4902 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4908 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4912 arg6
= (long) SWIG_AsLong(obj5
);
4913 if (PyErr_Occurred()) SWIG_fail
;
4917 arg7
= wxString_in_helper(obj6
);
4918 if (arg7
== NULL
) SWIG_fail
;
4923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4924 result
= (wxStaticText
*)new wxStaticText(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
4926 wxPyEndAllowThreads(__tstate
);
4927 if (PyErr_Occurred()) SWIG_fail
;
4929 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticText
, 1);
4952 static PyObject
*_wrap_new_PreStaticText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4953 PyObject
*resultobj
;
4954 wxStaticText
*result
;
4959 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreStaticText",kwnames
)) goto fail
;
4961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4962 result
= (wxStaticText
*)new wxStaticText();
4964 wxPyEndAllowThreads(__tstate
);
4965 if (PyErr_Occurred()) SWIG_fail
;
4967 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticText
, 1);
4974 static PyObject
*_wrap_StaticText_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4975 PyObject
*resultobj
;
4976 wxStaticText
*arg1
= (wxStaticText
*) 0 ;
4977 wxWindow
*arg2
= (wxWindow
*) 0 ;
4979 wxString
*arg4
= 0 ;
4980 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
4981 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
4982 wxSize
const &arg6_defvalue
= wxDefaultSize
;
4983 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
4984 long arg7
= (long) 0 ;
4985 wxString
const &arg8_defvalue
= wxPyStaticTextNameStr
;
4986 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
4988 bool temp4
= False
;
4991 bool temp8
= False
;
4992 PyObject
* obj0
= 0 ;
4993 PyObject
* obj1
= 0 ;
4994 PyObject
* obj2
= 0 ;
4995 PyObject
* obj3
= 0 ;
4996 PyObject
* obj4
= 0 ;
4997 PyObject
* obj5
= 0 ;
4998 PyObject
* obj6
= 0 ;
4999 PyObject
* obj7
= 0 ;
5001 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5004 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOO:StaticText_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
5005 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticText
,
5006 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5007 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
5008 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5009 arg3
= (int) SWIG_AsInt(obj2
);
5010 if (PyErr_Occurred()) SWIG_fail
;
5012 arg4
= wxString_in_helper(obj3
);
5013 if (arg4
== NULL
) SWIG_fail
;
5019 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
5025 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
5029 arg7
= (long) SWIG_AsLong(obj6
);
5030 if (PyErr_Occurred()) SWIG_fail
;
5034 arg8
= wxString_in_helper(obj7
);
5035 if (arg8
== NULL
) SWIG_fail
;
5040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5041 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
5043 wxPyEndAllowThreads(__tstate
);
5044 if (PyErr_Occurred()) SWIG_fail
;
5047 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5071 static PyObject
*_wrap_StaticText_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5072 PyObject
*resultobj
;
5073 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
5074 wxVisualAttributes result
;
5075 PyObject
* obj0
= 0 ;
5077 (char *) "variant", NULL
5080 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StaticText_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
5082 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
5083 if (PyErr_Occurred()) SWIG_fail
;
5086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5087 result
= wxStaticText::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
5089 wxPyEndAllowThreads(__tstate
);
5090 if (PyErr_Occurred()) SWIG_fail
;
5093 wxVisualAttributes
* resultptr
;
5094 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
5095 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
5103 static PyObject
* StaticText_swigregister(PyObject
*self
, PyObject
*args
) {
5105 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5106 SWIG_TypeClientData(SWIGTYPE_p_wxStaticText
, obj
);
5108 return Py_BuildValue((char *)"");
5110 static PyObject
*_wrap_new_StaticBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5111 PyObject
*resultobj
;
5112 wxWindow
*arg1
= (wxWindow
*) 0 ;
5114 wxBitmap
*arg3
= 0 ;
5115 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
5116 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
5117 wxSize
const &arg5_defvalue
= wxDefaultSize
;
5118 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
5119 long arg6
= (long) 0 ;
5120 wxString
const &arg7_defvalue
= wxPyStaticBitmapNameStr
;
5121 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
5122 wxStaticBitmap
*result
;
5125 bool temp7
= False
;
5126 PyObject
* obj0
= 0 ;
5127 PyObject
* obj1
= 0 ;
5128 PyObject
* obj2
= 0 ;
5129 PyObject
* obj3
= 0 ;
5130 PyObject
* obj4
= 0 ;
5131 PyObject
* obj5
= 0 ;
5132 PyObject
* obj6
= 0 ;
5134 (char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5137 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_StaticBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
5138 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
5139 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5140 arg2
= (int) SWIG_AsInt(obj1
);
5141 if (PyErr_Occurred()) SWIG_fail
;
5142 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxBitmap
,
5143 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5146 PyErr_SetString(PyExc_TypeError
,"null reference");
5152 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
5158 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
5162 arg6
= (long) SWIG_AsLong(obj5
);
5163 if (PyErr_Occurred()) SWIG_fail
;
5167 arg7
= wxString_in_helper(obj6
);
5168 if (arg7
== NULL
) SWIG_fail
;
5173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5174 result
= (wxStaticBitmap
*)new wxStaticBitmap(arg1
,arg2
,(wxBitmap
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
5176 wxPyEndAllowThreads(__tstate
);
5177 if (PyErr_Occurred()) SWIG_fail
;
5179 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticBitmap
, 1);
5194 static PyObject
*_wrap_new_PreStaticBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5195 PyObject
*resultobj
;
5196 wxStaticBitmap
*result
;
5201 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreStaticBitmap",kwnames
)) goto fail
;
5203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5204 result
= (wxStaticBitmap
*)new wxStaticBitmap();
5206 wxPyEndAllowThreads(__tstate
);
5207 if (PyErr_Occurred()) SWIG_fail
;
5209 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticBitmap
, 1);
5216 static PyObject
*_wrap_StaticBitmap_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5217 PyObject
*resultobj
;
5218 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
5219 wxWindow
*arg2
= (wxWindow
*) 0 ;
5221 wxBitmap
*arg4
= 0 ;
5222 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
5223 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
5224 wxSize
const &arg6_defvalue
= wxDefaultSize
;
5225 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
5226 long arg7
= (long) 0 ;
5227 wxString
const &arg8_defvalue
= wxPyStaticBitmapNameStr
;
5228 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
5232 bool temp8
= False
;
5233 PyObject
* obj0
= 0 ;
5234 PyObject
* obj1
= 0 ;
5235 PyObject
* obj2
= 0 ;
5236 PyObject
* obj3
= 0 ;
5237 PyObject
* obj4
= 0 ;
5238 PyObject
* obj5
= 0 ;
5239 PyObject
* obj6
= 0 ;
5240 PyObject
* obj7
= 0 ;
5242 (char *) "self",(char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5245 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOO:StaticBitmap_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
5246 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticBitmap
,
5247 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5248 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
5249 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5250 arg3
= (int) SWIG_AsInt(obj2
);
5251 if (PyErr_Occurred()) SWIG_fail
;
5252 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxBitmap
,
5253 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5256 PyErr_SetString(PyExc_TypeError
,"null reference");
5262 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
5268 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
5272 arg7
= (long) SWIG_AsLong(obj6
);
5273 if (PyErr_Occurred()) SWIG_fail
;
5277 arg8
= wxString_in_helper(obj7
);
5278 if (arg8
== NULL
) SWIG_fail
;
5283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5284 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxBitmap
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
5286 wxPyEndAllowThreads(__tstate
);
5287 if (PyErr_Occurred()) SWIG_fail
;
5290 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5306 static PyObject
*_wrap_StaticBitmap_GetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5307 PyObject
*resultobj
;
5308 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
5310 PyObject
* obj0
= 0 ;
5312 (char *) "self", NULL
5315 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StaticBitmap_GetBitmap",kwnames
,&obj0
)) goto fail
;
5316 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticBitmap
,
5317 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5320 result
= (arg1
)->GetBitmap();
5322 wxPyEndAllowThreads(__tstate
);
5323 if (PyErr_Occurred()) SWIG_fail
;
5326 wxBitmap
* resultptr
;
5327 resultptr
= new wxBitmap((wxBitmap
&) result
);
5328 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
5336 static PyObject
*_wrap_StaticBitmap_SetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5337 PyObject
*resultobj
;
5338 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
5339 wxBitmap
*arg2
= 0 ;
5340 PyObject
* obj0
= 0 ;
5341 PyObject
* obj1
= 0 ;
5343 (char *) "self",(char *) "bitmap", NULL
5346 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StaticBitmap_SetBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
5347 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticBitmap
,
5348 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5349 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
5350 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5353 PyErr_SetString(PyExc_TypeError
,"null reference");
5357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5358 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
5360 wxPyEndAllowThreads(__tstate
);
5361 if (PyErr_Occurred()) SWIG_fail
;
5363 Py_INCREF(Py_None
); resultobj
= Py_None
;
5370 static PyObject
*_wrap_StaticBitmap_SetIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5371 PyObject
*resultobj
;
5372 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
5374 PyObject
* obj0
= 0 ;
5375 PyObject
* obj1
= 0 ;
5377 (char *) "self",(char *) "icon", NULL
5380 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StaticBitmap_SetIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
5381 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticBitmap
,
5382 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5383 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxIcon
,
5384 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5387 PyErr_SetString(PyExc_TypeError
,"null reference");
5391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5392 (arg1
)->SetIcon((wxIcon
const &)*arg2
);
5394 wxPyEndAllowThreads(__tstate
);
5395 if (PyErr_Occurred()) SWIG_fail
;
5397 Py_INCREF(Py_None
); resultobj
= Py_None
;
5404 static PyObject
*_wrap_StaticBitmap_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5405 PyObject
*resultobj
;
5406 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
5407 wxVisualAttributes result
;
5408 PyObject
* obj0
= 0 ;
5410 (char *) "variant", NULL
5413 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StaticBitmap_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
5415 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
5416 if (PyErr_Occurred()) SWIG_fail
;
5419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5420 result
= wxStaticBitmap::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
5422 wxPyEndAllowThreads(__tstate
);
5423 if (PyErr_Occurred()) SWIG_fail
;
5426 wxVisualAttributes
* resultptr
;
5427 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
5428 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
5436 static PyObject
* StaticBitmap_swigregister(PyObject
*self
, PyObject
*args
) {
5438 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5439 SWIG_TypeClientData(SWIGTYPE_p_wxStaticBitmap
, obj
);
5441 return Py_BuildValue((char *)"");
5443 static int _wrap_ListBoxNameStr_set(PyObject
*_val
) {
5444 PyErr_SetString(PyExc_TypeError
,"Variable ListBoxNameStr is read-only.");
5449 static PyObject
*_wrap_ListBoxNameStr_get() {
5454 pyobj
= PyUnicode_FromWideChar((&wxPyListBoxNameStr
)->c_str(), (&wxPyListBoxNameStr
)->Len());
5456 pyobj
= PyString_FromStringAndSize((&wxPyListBoxNameStr
)->c_str(), (&wxPyListBoxNameStr
)->Len());
5463 static PyObject
*_wrap_new_ListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5464 PyObject
*resultobj
;
5465 wxWindow
*arg1
= (wxWindow
*) 0 ;
5467 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
5468 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
5469 wxSize
const &arg4_defvalue
= wxDefaultSize
;
5470 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
5471 wxArrayString
const &arg5_defvalue
= wxPyEmptyStringArray
;
5472 wxArrayString
*arg5
= (wxArrayString
*) &arg5_defvalue
;
5473 long arg6
= (long) 0 ;
5474 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
5475 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
5476 wxString
const &arg8_defvalue
= wxPyListBoxNameStr
;
5477 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
5481 bool temp5
= False
;
5482 bool temp8
= False
;
5483 PyObject
* obj0
= 0 ;
5484 PyObject
* obj1
= 0 ;
5485 PyObject
* obj2
= 0 ;
5486 PyObject
* obj3
= 0 ;
5487 PyObject
* obj4
= 0 ;
5488 PyObject
* obj5
= 0 ;
5489 PyObject
* obj6
= 0 ;
5490 PyObject
* obj7
= 0 ;
5492 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5495 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:new_ListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
5496 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
5497 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5498 arg2
= (int) SWIG_AsInt(obj1
);
5499 if (PyErr_Occurred()) SWIG_fail
;
5503 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
5509 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
5514 if (! PySequence_Check(obj4
)) {
5515 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
5518 arg5
= new wxArrayString
;
5520 int i
, len
=PySequence_Length(obj4
);
5521 for (i
=0; i
<len
; i
++) {
5522 PyObject
* item
= PySequence_GetItem(obj4
, i
);
5524 PyObject
* str
= PyObject_Unicode(item
);
5526 PyObject
* str
= PyObject_Str(item
);
5528 if (PyErr_Occurred()) SWIG_fail
;
5529 arg5
->Add(Py2wxString(str
));
5536 arg6
= (long) SWIG_AsLong(obj5
);
5537 if (PyErr_Occurred()) SWIG_fail
;
5540 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
5541 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5544 PyErr_SetString(PyExc_TypeError
,"null reference");
5550 arg8
= wxString_in_helper(obj7
);
5551 if (arg8
== NULL
) SWIG_fail
;
5556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5557 result
= (wxListBox
*)new wxListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,(wxArrayString
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
5559 wxPyEndAllowThreads(__tstate
);
5560 if (PyErr_Occurred()) SWIG_fail
;
5562 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListBox
, 1);
5564 if (temp5
) delete arg5
;
5573 if (temp5
) delete arg5
;
5583 static PyObject
*_wrap_new_PreListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5584 PyObject
*resultobj
;
5590 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreListBox",kwnames
)) goto fail
;
5592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5593 result
= (wxListBox
*)new wxListBox();
5595 wxPyEndAllowThreads(__tstate
);
5596 if (PyErr_Occurred()) SWIG_fail
;
5598 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListBox
, 1);
5605 static PyObject
*_wrap_ListBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5606 PyObject
*resultobj
;
5607 wxListBox
*arg1
= (wxListBox
*) 0 ;
5608 wxWindow
*arg2
= (wxWindow
*) 0 ;
5610 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
5611 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
5612 wxSize
const &arg5_defvalue
= wxDefaultSize
;
5613 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
5614 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
5615 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
5616 long arg7
= (long) 0 ;
5617 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
5618 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
5619 wxString
const &arg9_defvalue
= wxPyListBoxNameStr
;
5620 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
5624 bool temp6
= False
;
5625 bool temp9
= False
;
5626 PyObject
* obj0
= 0 ;
5627 PyObject
* obj1
= 0 ;
5628 PyObject
* obj2
= 0 ;
5629 PyObject
* obj3
= 0 ;
5630 PyObject
* obj4
= 0 ;
5631 PyObject
* obj5
= 0 ;
5632 PyObject
* obj6
= 0 ;
5633 PyObject
* obj7
= 0 ;
5634 PyObject
* obj8
= 0 ;
5636 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5639 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOO:ListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
5640 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
5641 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5642 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
5643 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5644 arg3
= (int) SWIG_AsInt(obj2
);
5645 if (PyErr_Occurred()) SWIG_fail
;
5649 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
5655 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
5660 if (! PySequence_Check(obj5
)) {
5661 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
5664 arg6
= new wxArrayString
;
5666 int i
, len
=PySequence_Length(obj5
);
5667 for (i
=0; i
<len
; i
++) {
5668 PyObject
* item
= PySequence_GetItem(obj5
, i
);
5670 PyObject
* str
= PyObject_Unicode(item
);
5672 PyObject
* str
= PyObject_Str(item
);
5674 if (PyErr_Occurred()) SWIG_fail
;
5675 arg6
->Add(Py2wxString(str
));
5682 arg7
= (long) SWIG_AsLong(obj6
);
5683 if (PyErr_Occurred()) SWIG_fail
;
5686 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
5687 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5690 PyErr_SetString(PyExc_TypeError
,"null reference");
5696 arg9
= wxString_in_helper(obj8
);
5697 if (arg9
== NULL
) SWIG_fail
;
5702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5703 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,(wxArrayString
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
5705 wxPyEndAllowThreads(__tstate
);
5706 if (PyErr_Occurred()) SWIG_fail
;
5709 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5712 if (temp6
) delete arg6
;
5721 if (temp6
) delete arg6
;
5731 static PyObject
*_wrap_ListBox_Insert(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5732 PyObject
*resultobj
;
5733 wxListBox
*arg1
= (wxListBox
*) 0 ;
5734 wxString
*arg2
= 0 ;
5736 PyObject
*arg4
= (PyObject
*) NULL
;
5737 bool temp2
= False
;
5738 PyObject
* obj0
= 0 ;
5739 PyObject
* obj1
= 0 ;
5740 PyObject
* obj2
= 0 ;
5741 PyObject
* obj3
= 0 ;
5743 (char *) "self",(char *) "item",(char *) "pos",(char *) "clientData", NULL
5746 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ListBox_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
5747 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
5748 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5750 arg2
= wxString_in_helper(obj1
);
5751 if (arg2
== NULL
) SWIG_fail
;
5754 arg3
= (int) SWIG_AsInt(obj2
);
5755 if (PyErr_Occurred()) SWIG_fail
;
5760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5761 wxListBox_Insert(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
5763 wxPyEndAllowThreads(__tstate
);
5764 if (PyErr_Occurred()) SWIG_fail
;
5766 Py_INCREF(Py_None
); resultobj
= Py_None
;
5781 static PyObject
*_wrap_ListBox_InsertItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5782 PyObject
*resultobj
;
5783 wxListBox
*arg1
= (wxListBox
*) 0 ;
5784 wxArrayString
*arg2
= 0 ;
5786 bool temp2
= False
;
5787 PyObject
* obj0
= 0 ;
5788 PyObject
* obj1
= 0 ;
5789 PyObject
* obj2
= 0 ;
5791 (char *) "self",(char *) "items",(char *) "pos", NULL
5794 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_InsertItems",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5795 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
5796 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5798 if (! PySequence_Check(obj1
)) {
5799 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
5802 arg2
= new wxArrayString
;
5804 int i
, len
=PySequence_Length(obj1
);
5805 for (i
=0; i
<len
; i
++) {
5806 PyObject
* item
= PySequence_GetItem(obj1
, i
);
5808 PyObject
* str
= PyObject_Unicode(item
);
5810 PyObject
* str
= PyObject_Str(item
);
5812 if (PyErr_Occurred()) SWIG_fail
;
5813 arg2
->Add(Py2wxString(str
));
5818 arg3
= (int) SWIG_AsInt(obj2
);
5819 if (PyErr_Occurred()) SWIG_fail
;
5821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5822 (arg1
)->InsertItems((wxArrayString
const &)*arg2
,arg3
);
5824 wxPyEndAllowThreads(__tstate
);
5825 if (PyErr_Occurred()) SWIG_fail
;
5827 Py_INCREF(Py_None
); resultobj
= Py_None
;
5829 if (temp2
) delete arg2
;
5834 if (temp2
) delete arg2
;
5840 static PyObject
*_wrap_ListBox_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5841 PyObject
*resultobj
;
5842 wxListBox
*arg1
= (wxListBox
*) 0 ;
5843 wxArrayString
*arg2
= 0 ;
5844 bool temp2
= False
;
5845 PyObject
* obj0
= 0 ;
5846 PyObject
* obj1
= 0 ;
5848 (char *) "self",(char *) "items", NULL
5851 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_Set",kwnames
,&obj0
,&obj1
)) goto fail
;
5852 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
5853 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5855 if (! PySequence_Check(obj1
)) {
5856 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
5859 arg2
= new wxArrayString
;
5861 int i
, len
=PySequence_Length(obj1
);
5862 for (i
=0; i
<len
; i
++) {
5863 PyObject
* item
= PySequence_GetItem(obj1
, i
);
5865 PyObject
* str
= PyObject_Unicode(item
);
5867 PyObject
* str
= PyObject_Str(item
);
5869 if (PyErr_Occurred()) SWIG_fail
;
5870 arg2
->Add(Py2wxString(str
));
5876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5877 (arg1
)->Set((wxArrayString
const &)*arg2
);
5879 wxPyEndAllowThreads(__tstate
);
5880 if (PyErr_Occurred()) SWIG_fail
;
5882 Py_INCREF(Py_None
); resultobj
= Py_None
;
5884 if (temp2
) delete arg2
;
5889 if (temp2
) delete arg2
;
5895 static PyObject
*_wrap_ListBox_IsSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5896 PyObject
*resultobj
;
5897 wxListBox
*arg1
= (wxListBox
*) 0 ;
5900 PyObject
* obj0
= 0 ;
5901 PyObject
* obj1
= 0 ;
5903 (char *) "self",(char *) "n", NULL
5906 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_IsSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
5907 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
5908 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5909 arg2
= (int) SWIG_AsInt(obj1
);
5910 if (PyErr_Occurred()) SWIG_fail
;
5912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5913 result
= (bool)((wxListBox
const *)arg1
)->IsSelected(arg2
);
5915 wxPyEndAllowThreads(__tstate
);
5916 if (PyErr_Occurred()) SWIG_fail
;
5919 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5927 static PyObject
*_wrap_ListBox_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5928 PyObject
*resultobj
;
5929 wxListBox
*arg1
= (wxListBox
*) 0 ;
5931 bool arg3
= (bool) True
;
5932 PyObject
* obj0
= 0 ;
5933 PyObject
* obj1
= 0 ;
5934 PyObject
* obj2
= 0 ;
5936 (char *) "self",(char *) "n",(char *) "select", NULL
5939 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListBox_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5940 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
5941 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5942 arg2
= (int) SWIG_AsInt(obj1
);
5943 if (PyErr_Occurred()) SWIG_fail
;
5945 arg3
= (bool) SWIG_AsBool(obj2
);
5946 if (PyErr_Occurred()) SWIG_fail
;
5949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5950 (arg1
)->SetSelection(arg2
,arg3
);
5952 wxPyEndAllowThreads(__tstate
);
5953 if (PyErr_Occurred()) SWIG_fail
;
5955 Py_INCREF(Py_None
); resultobj
= Py_None
;
5962 static PyObject
*_wrap_ListBox_Select(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5963 PyObject
*resultobj
;
5964 wxListBox
*arg1
= (wxListBox
*) 0 ;
5966 PyObject
* obj0
= 0 ;
5967 PyObject
* obj1
= 0 ;
5969 (char *) "self",(char *) "n", NULL
5972 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_Select",kwnames
,&obj0
,&obj1
)) goto fail
;
5973 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
5974 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5975 arg2
= (int) SWIG_AsInt(obj1
);
5976 if (PyErr_Occurred()) SWIG_fail
;
5978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5979 (arg1
)->Select(arg2
);
5981 wxPyEndAllowThreads(__tstate
);
5982 if (PyErr_Occurred()) SWIG_fail
;
5984 Py_INCREF(Py_None
); resultobj
= Py_None
;
5991 static PyObject
*_wrap_ListBox_Deselect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5992 PyObject
*resultobj
;
5993 wxListBox
*arg1
= (wxListBox
*) 0 ;
5995 PyObject
* obj0
= 0 ;
5996 PyObject
* obj1
= 0 ;
5998 (char *) "self",(char *) "n", NULL
6001 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_Deselect",kwnames
,&obj0
,&obj1
)) goto fail
;
6002 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
6003 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6004 arg2
= (int) SWIG_AsInt(obj1
);
6005 if (PyErr_Occurred()) SWIG_fail
;
6007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6008 (arg1
)->Deselect(arg2
);
6010 wxPyEndAllowThreads(__tstate
);
6011 if (PyErr_Occurred()) SWIG_fail
;
6013 Py_INCREF(Py_None
); resultobj
= Py_None
;
6020 static PyObject
*_wrap_ListBox_DeselectAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6021 PyObject
*resultobj
;
6022 wxListBox
*arg1
= (wxListBox
*) 0 ;
6023 int arg2
= (int) -1 ;
6024 PyObject
* obj0
= 0 ;
6025 PyObject
* obj1
= 0 ;
6027 (char *) "self",(char *) "itemToLeaveSelected", NULL
6030 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ListBox_DeselectAll",kwnames
,&obj0
,&obj1
)) goto fail
;
6031 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
6032 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6034 arg2
= (int) SWIG_AsInt(obj1
);
6035 if (PyErr_Occurred()) SWIG_fail
;
6038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6039 (arg1
)->DeselectAll(arg2
);
6041 wxPyEndAllowThreads(__tstate
);
6042 if (PyErr_Occurred()) SWIG_fail
;
6044 Py_INCREF(Py_None
); resultobj
= Py_None
;
6051 static PyObject
*_wrap_ListBox_SetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6052 PyObject
*resultobj
;
6053 wxListBox
*arg1
= (wxListBox
*) 0 ;
6054 wxString
*arg2
= 0 ;
6055 bool arg3
= (bool) True
;
6057 bool temp2
= False
;
6058 PyObject
* obj0
= 0 ;
6059 PyObject
* obj1
= 0 ;
6060 PyObject
* obj2
= 0 ;
6062 (char *) "self",(char *) "s",(char *) "select", NULL
6065 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListBox_SetStringSelection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6066 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
6067 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6069 arg2
= wxString_in_helper(obj1
);
6070 if (arg2
== NULL
) SWIG_fail
;
6074 arg3
= (bool) SWIG_AsBool(obj2
);
6075 if (PyErr_Occurred()) SWIG_fail
;
6078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6079 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
,arg3
);
6081 wxPyEndAllowThreads(__tstate
);
6082 if (PyErr_Occurred()) SWIG_fail
;
6085 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6101 static PyObject
*_wrap_ListBox_GetSelections(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6102 PyObject
*resultobj
;
6103 wxListBox
*arg1
= (wxListBox
*) 0 ;
6105 PyObject
* obj0
= 0 ;
6107 (char *) "self", NULL
6110 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListBox_GetSelections",kwnames
,&obj0
)) goto fail
;
6111 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
6112 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6115 result
= (PyObject
*)wxListBox_GetSelections(arg1
);
6117 wxPyEndAllowThreads(__tstate
);
6118 if (PyErr_Occurred()) SWIG_fail
;
6127 static PyObject
*_wrap_ListBox_SetFirstItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6128 PyObject
*resultobj
;
6129 wxListBox
*arg1
= (wxListBox
*) 0 ;
6131 PyObject
* obj0
= 0 ;
6132 PyObject
* obj1
= 0 ;
6134 (char *) "self",(char *) "n", NULL
6137 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_SetFirstItem",kwnames
,&obj0
,&obj1
)) goto fail
;
6138 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
6139 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6140 arg2
= (int) SWIG_AsInt(obj1
);
6141 if (PyErr_Occurred()) SWIG_fail
;
6143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6144 (arg1
)->SetFirstItem(arg2
);
6146 wxPyEndAllowThreads(__tstate
);
6147 if (PyErr_Occurred()) SWIG_fail
;
6149 Py_INCREF(Py_None
); resultobj
= Py_None
;
6156 static PyObject
*_wrap_ListBox_SetFirstItemStr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6157 PyObject
*resultobj
;
6158 wxListBox
*arg1
= (wxListBox
*) 0 ;
6159 wxString
*arg2
= 0 ;
6160 bool temp2
= False
;
6161 PyObject
* obj0
= 0 ;
6162 PyObject
* obj1
= 0 ;
6164 (char *) "self",(char *) "s", NULL
6167 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_SetFirstItemStr",kwnames
,&obj0
,&obj1
)) goto fail
;
6168 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
6169 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6171 arg2
= wxString_in_helper(obj1
);
6172 if (arg2
== NULL
) SWIG_fail
;
6176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6177 (arg1
)->SetFirstItem((wxString
const &)*arg2
);
6179 wxPyEndAllowThreads(__tstate
);
6180 if (PyErr_Occurred()) SWIG_fail
;
6182 Py_INCREF(Py_None
); resultobj
= Py_None
;
6197 static PyObject
*_wrap_ListBox_EnsureVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6198 PyObject
*resultobj
;
6199 wxListBox
*arg1
= (wxListBox
*) 0 ;
6201 PyObject
* obj0
= 0 ;
6202 PyObject
* obj1
= 0 ;
6204 (char *) "self",(char *) "n", NULL
6207 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_EnsureVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
6208 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
6209 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6210 arg2
= (int) SWIG_AsInt(obj1
);
6211 if (PyErr_Occurred()) SWIG_fail
;
6213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6214 (arg1
)->EnsureVisible(arg2
);
6216 wxPyEndAllowThreads(__tstate
);
6217 if (PyErr_Occurred()) SWIG_fail
;
6219 Py_INCREF(Py_None
); resultobj
= Py_None
;
6226 static PyObject
*_wrap_ListBox_AppendAndEnsureVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6227 PyObject
*resultobj
;
6228 wxListBox
*arg1
= (wxListBox
*) 0 ;
6229 wxString
*arg2
= 0 ;
6230 bool temp2
= False
;
6231 PyObject
* obj0
= 0 ;
6232 PyObject
* obj1
= 0 ;
6234 (char *) "self",(char *) "s", NULL
6237 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_AppendAndEnsureVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
6238 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
6239 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6241 arg2
= wxString_in_helper(obj1
);
6242 if (arg2
== NULL
) SWIG_fail
;
6246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6247 (arg1
)->AppendAndEnsureVisible((wxString
const &)*arg2
);
6249 wxPyEndAllowThreads(__tstate
);
6250 if (PyErr_Occurred()) SWIG_fail
;
6252 Py_INCREF(Py_None
); resultobj
= Py_None
;
6267 static PyObject
*_wrap_ListBox_IsSorted(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6268 PyObject
*resultobj
;
6269 wxListBox
*arg1
= (wxListBox
*) 0 ;
6271 PyObject
* obj0
= 0 ;
6273 (char *) "self", NULL
6276 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListBox_IsSorted",kwnames
,&obj0
)) goto fail
;
6277 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
6278 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6281 result
= (bool)((wxListBox
const *)arg1
)->IsSorted();
6283 wxPyEndAllowThreads(__tstate
);
6284 if (PyErr_Occurred()) SWIG_fail
;
6287 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6295 static PyObject
*_wrap_ListBox_SetItemForegroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6296 PyObject
*resultobj
;
6297 wxListBox
*arg1
= (wxListBox
*) 0 ;
6299 wxColour
*arg3
= 0 ;
6301 PyObject
* obj0
= 0 ;
6302 PyObject
* obj1
= 0 ;
6303 PyObject
* obj2
= 0 ;
6305 (char *) "self",(char *) "item",(char *) "c", NULL
6308 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_SetItemForegroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6309 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
6310 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6311 arg2
= (int) SWIG_AsInt(obj1
);
6312 if (PyErr_Occurred()) SWIG_fail
;
6315 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
6318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6319 wxListBox_SetItemForegroundColour(arg1
,arg2
,(wxColour
const &)*arg3
);
6321 wxPyEndAllowThreads(__tstate
);
6322 if (PyErr_Occurred()) SWIG_fail
;
6324 Py_INCREF(Py_None
); resultobj
= Py_None
;
6331 static PyObject
*_wrap_ListBox_SetItemBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6332 PyObject
*resultobj
;
6333 wxListBox
*arg1
= (wxListBox
*) 0 ;
6335 wxColour
*arg3
= 0 ;
6337 PyObject
* obj0
= 0 ;
6338 PyObject
* obj1
= 0 ;
6339 PyObject
* obj2
= 0 ;
6341 (char *) "self",(char *) "item",(char *) "c", NULL
6344 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_SetItemBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6345 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
6346 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6347 arg2
= (int) SWIG_AsInt(obj1
);
6348 if (PyErr_Occurred()) SWIG_fail
;
6351 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
6354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6355 wxListBox_SetItemBackgroundColour(arg1
,arg2
,(wxColour
const &)*arg3
);
6357 wxPyEndAllowThreads(__tstate
);
6358 if (PyErr_Occurred()) SWIG_fail
;
6360 Py_INCREF(Py_None
); resultobj
= Py_None
;
6367 static PyObject
*_wrap_ListBox_SetItemFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6368 PyObject
*resultobj
;
6369 wxListBox
*arg1
= (wxListBox
*) 0 ;
6372 PyObject
* obj0
= 0 ;
6373 PyObject
* obj1
= 0 ;
6374 PyObject
* obj2
= 0 ;
6376 (char *) "self",(char *) "item",(char *) "f", NULL
6379 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_SetItemFont",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6380 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
6381 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6382 arg2
= (int) SWIG_AsInt(obj1
);
6383 if (PyErr_Occurred()) SWIG_fail
;
6384 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxFont
,
6385 SWIG_POINTER_EXCEPTION
| 0)) == -1)
6388 PyErr_SetString(PyExc_TypeError
,"null reference");
6392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6393 wxListBox_SetItemFont(arg1
,arg2
,(wxFont
const &)*arg3
);
6395 wxPyEndAllowThreads(__tstate
);
6396 if (PyErr_Occurred()) SWIG_fail
;
6398 Py_INCREF(Py_None
); resultobj
= Py_None
;
6405 static PyObject
*_wrap_ListBox_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6406 PyObject
*resultobj
;
6407 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
6408 wxVisualAttributes result
;
6409 PyObject
* obj0
= 0 ;
6411 (char *) "variant", NULL
6414 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ListBox_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
6416 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
6417 if (PyErr_Occurred()) SWIG_fail
;
6420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6421 result
= wxListBox::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
6423 wxPyEndAllowThreads(__tstate
);
6424 if (PyErr_Occurred()) SWIG_fail
;
6427 wxVisualAttributes
* resultptr
;
6428 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
6429 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
6437 static PyObject
* ListBox_swigregister(PyObject
*self
, PyObject
*args
) {
6439 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6440 SWIG_TypeClientData(SWIGTYPE_p_wxListBox
, obj
);
6442 return Py_BuildValue((char *)"");
6444 static PyObject
*_wrap_new_CheckListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6445 PyObject
*resultobj
;
6446 wxWindow
*arg1
= (wxWindow
*) 0 ;
6448 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
6449 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
6450 wxSize
const &arg4_defvalue
= wxDefaultSize
;
6451 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
6452 wxArrayString
const &arg5_defvalue
= wxPyEmptyStringArray
;
6453 wxArrayString
*arg5
= (wxArrayString
*) &arg5_defvalue
;
6454 long arg6
= (long) 0 ;
6455 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
6456 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
6457 wxString
const &arg8_defvalue
= wxPyListBoxNameStr
;
6458 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
6459 wxCheckListBox
*result
;
6462 bool temp5
= False
;
6463 bool temp8
= False
;
6464 PyObject
* obj0
= 0 ;
6465 PyObject
* obj1
= 0 ;
6466 PyObject
* obj2
= 0 ;
6467 PyObject
* obj3
= 0 ;
6468 PyObject
* obj4
= 0 ;
6469 PyObject
* obj5
= 0 ;
6470 PyObject
* obj6
= 0 ;
6471 PyObject
* obj7
= 0 ;
6473 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
6476 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:new_CheckListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
6477 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
6478 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6479 arg2
= (int) SWIG_AsInt(obj1
);
6480 if (PyErr_Occurred()) SWIG_fail
;
6484 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
6490 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
6495 if (! PySequence_Check(obj4
)) {
6496 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
6499 arg5
= new wxArrayString
;
6501 int i
, len
=PySequence_Length(obj4
);
6502 for (i
=0; i
<len
; i
++) {
6503 PyObject
* item
= PySequence_GetItem(obj4
, i
);
6505 PyObject
* str
= PyObject_Unicode(item
);
6507 PyObject
* str
= PyObject_Str(item
);
6509 if (PyErr_Occurred()) SWIG_fail
;
6510 arg5
->Add(Py2wxString(str
));
6517 arg6
= (long) SWIG_AsLong(obj5
);
6518 if (PyErr_Occurred()) SWIG_fail
;
6521 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
6522 SWIG_POINTER_EXCEPTION
| 0)) == -1)
6525 PyErr_SetString(PyExc_TypeError
,"null reference");
6531 arg8
= wxString_in_helper(obj7
);
6532 if (arg8
== NULL
) SWIG_fail
;
6537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6538 result
= (wxCheckListBox
*)new wxCheckListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,(wxArrayString
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
6540 wxPyEndAllowThreads(__tstate
);
6541 if (PyErr_Occurred()) SWIG_fail
;
6543 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCheckListBox
, 1);
6545 if (temp5
) delete arg5
;
6554 if (temp5
) delete arg5
;
6564 static PyObject
*_wrap_new_PreCheckListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6565 PyObject
*resultobj
;
6566 wxCheckListBox
*result
;
6571 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreCheckListBox",kwnames
)) goto fail
;
6573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6574 result
= (wxCheckListBox
*)new wxCheckListBox();
6576 wxPyEndAllowThreads(__tstate
);
6577 if (PyErr_Occurred()) SWIG_fail
;
6579 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCheckListBox
, 1);
6586 static PyObject
*_wrap_CheckListBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6587 PyObject
*resultobj
;
6588 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
6589 wxWindow
*arg2
= (wxWindow
*) 0 ;
6591 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
6592 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
6593 wxSize
const &arg5_defvalue
= wxDefaultSize
;
6594 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
6595 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
6596 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
6597 long arg7
= (long) 0 ;
6598 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
6599 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
6600 wxString
const &arg9_defvalue
= wxPyListBoxNameStr
;
6601 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
6605 bool temp6
= False
;
6606 bool temp9
= False
;
6607 PyObject
* obj0
= 0 ;
6608 PyObject
* obj1
= 0 ;
6609 PyObject
* obj2
= 0 ;
6610 PyObject
* obj3
= 0 ;
6611 PyObject
* obj4
= 0 ;
6612 PyObject
* obj5
= 0 ;
6613 PyObject
* obj6
= 0 ;
6614 PyObject
* obj7
= 0 ;
6615 PyObject
* obj8
= 0 ;
6617 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
6620 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOO:CheckListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
6621 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckListBox
,
6622 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6623 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
6624 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6625 arg3
= (int) SWIG_AsInt(obj2
);
6626 if (PyErr_Occurred()) SWIG_fail
;
6630 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
6636 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
6641 if (! PySequence_Check(obj5
)) {
6642 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
6645 arg6
= new wxArrayString
;
6647 int i
, len
=PySequence_Length(obj5
);
6648 for (i
=0; i
<len
; i
++) {
6649 PyObject
* item
= PySequence_GetItem(obj5
, i
);
6651 PyObject
* str
= PyObject_Unicode(item
);
6653 PyObject
* str
= PyObject_Str(item
);
6655 if (PyErr_Occurred()) SWIG_fail
;
6656 arg6
->Add(Py2wxString(str
));
6663 arg7
= (long) SWIG_AsLong(obj6
);
6664 if (PyErr_Occurred()) SWIG_fail
;
6667 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
6668 SWIG_POINTER_EXCEPTION
| 0)) == -1)
6671 PyErr_SetString(PyExc_TypeError
,"null reference");
6677 arg9
= wxString_in_helper(obj8
);
6678 if (arg9
== NULL
) SWIG_fail
;
6683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6684 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,(wxArrayString
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
6686 wxPyEndAllowThreads(__tstate
);
6687 if (PyErr_Occurred()) SWIG_fail
;
6690 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6693 if (temp6
) delete arg6
;
6702 if (temp6
) delete arg6
;
6712 static PyObject
*_wrap_CheckListBox_IsChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6713 PyObject
*resultobj
;
6714 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
6717 PyObject
* obj0
= 0 ;
6718 PyObject
* obj1
= 0 ;
6720 (char *) "self",(char *) "index", NULL
6723 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckListBox_IsChecked",kwnames
,&obj0
,&obj1
)) goto fail
;
6724 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckListBox
,
6725 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6726 arg2
= (int) SWIG_AsInt(obj1
);
6727 if (PyErr_Occurred()) SWIG_fail
;
6729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6730 result
= (bool)(arg1
)->IsChecked(arg2
);
6732 wxPyEndAllowThreads(__tstate
);
6733 if (PyErr_Occurred()) SWIG_fail
;
6736 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6744 static PyObject
*_wrap_CheckListBox_Check(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6745 PyObject
*resultobj
;
6746 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
6748 int arg3
= (int) True
;
6749 PyObject
* obj0
= 0 ;
6750 PyObject
* obj1
= 0 ;
6751 PyObject
* obj2
= 0 ;
6753 (char *) "self",(char *) "index",(char *) "check", NULL
6756 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:CheckListBox_Check",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6757 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckListBox
,
6758 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6759 arg2
= (int) SWIG_AsInt(obj1
);
6760 if (PyErr_Occurred()) SWIG_fail
;
6762 arg3
= (int) SWIG_AsInt(obj2
);
6763 if (PyErr_Occurred()) SWIG_fail
;
6766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6767 (arg1
)->Check(arg2
,arg3
);
6769 wxPyEndAllowThreads(__tstate
);
6770 if (PyErr_Occurred()) SWIG_fail
;
6772 Py_INCREF(Py_None
); resultobj
= Py_None
;
6779 static PyObject
*_wrap_CheckListBox_GetItemHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6780 PyObject
*resultobj
;
6781 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
6783 PyObject
* obj0
= 0 ;
6785 (char *) "self", NULL
6788 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckListBox_GetItemHeight",kwnames
,&obj0
)) goto fail
;
6789 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckListBox
,
6790 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6793 result
= (int)(arg1
)->GetItemHeight();
6795 wxPyEndAllowThreads(__tstate
);
6796 if (PyErr_Occurred()) SWIG_fail
;
6798 resultobj
= SWIG_FromInt((int)result
);
6805 static PyObject
*_wrap_CheckListBox_HitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6806 PyObject
*resultobj
;
6807 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
6811 PyObject
* obj0
= 0 ;
6812 PyObject
* obj1
= 0 ;
6814 (char *) "self",(char *) "pt", NULL
6817 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckListBox_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
6818 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckListBox
,
6819 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6822 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
6825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6826 result
= (int)((wxCheckListBox
const *)arg1
)->HitTest((wxPoint
const &)*arg2
);
6828 wxPyEndAllowThreads(__tstate
);
6829 if (PyErr_Occurred()) SWIG_fail
;
6831 resultobj
= SWIG_FromInt((int)result
);
6838 static PyObject
*_wrap_CheckListBox_HitTestXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6839 PyObject
*resultobj
;
6840 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
6844 PyObject
* obj0
= 0 ;
6845 PyObject
* obj1
= 0 ;
6846 PyObject
* obj2
= 0 ;
6848 (char *) "self",(char *) "x",(char *) "y", NULL
6851 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:CheckListBox_HitTestXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6852 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckListBox
,
6853 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6854 arg2
= (int) SWIG_AsInt(obj1
);
6855 if (PyErr_Occurred()) SWIG_fail
;
6856 arg3
= (int) SWIG_AsInt(obj2
);
6857 if (PyErr_Occurred()) SWIG_fail
;
6859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6860 result
= (int)((wxCheckListBox
const *)arg1
)->HitTest(arg2
,arg3
);
6862 wxPyEndAllowThreads(__tstate
);
6863 if (PyErr_Occurred()) SWIG_fail
;
6865 resultobj
= SWIG_FromInt((int)result
);
6872 static PyObject
* CheckListBox_swigregister(PyObject
*self
, PyObject
*args
) {
6874 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6875 SWIG_TypeClientData(SWIGTYPE_p_wxCheckListBox
, obj
);
6877 return Py_BuildValue((char *)"");
6879 static int _wrap_TextCtrlNameStr_set(PyObject
*_val
) {
6880 PyErr_SetString(PyExc_TypeError
,"Variable TextCtrlNameStr is read-only.");
6885 static PyObject
*_wrap_TextCtrlNameStr_get() {
6890 pyobj
= PyUnicode_FromWideChar((&wxPyTextCtrlNameStr
)->c_str(), (&wxPyTextCtrlNameStr
)->Len());
6892 pyobj
= PyString_FromStringAndSize((&wxPyTextCtrlNameStr
)->c_str(), (&wxPyTextCtrlNameStr
)->Len());
6899 static PyObject
*_wrap_new_TextAttr__SWIG_0(PyObject
*self
, PyObject
*args
) {
6900 PyObject
*resultobj
;
6903 if(!PyArg_ParseTuple(args
,(char *)":new_TextAttr")) goto fail
;
6905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6906 result
= (wxTextAttr
*)new wxTextAttr();
6908 wxPyEndAllowThreads(__tstate
);
6909 if (PyErr_Occurred()) SWIG_fail
;
6911 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextAttr
, 1);
6918 static PyObject
*_wrap_new_TextAttr__SWIG_1(PyObject
*self
, PyObject
*args
) {
6919 PyObject
*resultobj
;
6920 wxColour
*arg1
= 0 ;
6921 wxColour
const &arg2_defvalue
= wxNullColour
;
6922 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
6923 wxFont
const &arg3_defvalue
= wxNullFont
;
6924 wxFont
*arg3
= (wxFont
*) &arg3_defvalue
;
6925 int arg4
= (int) wxTEXT_ALIGNMENT_DEFAULT
;
6929 PyObject
* obj0
= 0 ;
6930 PyObject
* obj1
= 0 ;
6931 PyObject
* obj2
= 0 ;
6932 PyObject
* obj3
= 0 ;
6934 if(!PyArg_ParseTuple(args
,(char *)"O|OOO:new_TextAttr",&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
6937 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
6942 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
6946 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxFont
,
6947 SWIG_POINTER_EXCEPTION
| 0)) == -1)
6950 PyErr_SetString(PyExc_TypeError
,"null reference");
6955 arg4
= (wxTextAttrAlignment
) SWIG_AsInt(obj3
);
6956 if (PyErr_Occurred()) SWIG_fail
;
6959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6960 result
= (wxTextAttr
*)new wxTextAttr((wxColour
const &)*arg1
,(wxColour
const &)*arg2
,(wxFont
const &)*arg3
,(wxTextAttrAlignment
)arg4
);
6962 wxPyEndAllowThreads(__tstate
);
6963 if (PyErr_Occurred()) SWIG_fail
;
6965 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextAttr
, 1);
6972 static PyObject
*_wrap_new_TextAttr(PyObject
*self
, PyObject
*args
) {
6977 argc
= PyObject_Length(args
);
6978 for (ii
= 0; (ii
< argc
) && (ii
< 4); ii
++) {
6979 argv
[ii
] = PyTuple_GetItem(args
,ii
);
6982 return _wrap_new_TextAttr__SWIG_0(self
,args
);
6984 if ((argc
>= 1) && (argc
<= 4)) {
6987 _v
= wxColour_typecheck(argv
[0]);
6991 return _wrap_new_TextAttr__SWIG_1(self
,args
);
6994 _v
= wxColour_typecheck(argv
[1]);
6998 return _wrap_new_TextAttr__SWIG_1(self
,args
);
7002 if (SWIG_ConvertPtr(argv
[2], &ptr
, SWIGTYPE_p_wxFont
, 0) == -1) {
7011 return _wrap_new_TextAttr__SWIG_1(self
,args
);
7013 _v
= SWIG_CheckInt(argv
[3]);
7015 return _wrap_new_TextAttr__SWIG_1(self
,args
);
7022 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'new_TextAttr'");
7027 static PyObject
*_wrap_delete_TextAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7028 PyObject
*resultobj
;
7029 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7030 PyObject
* obj0
= 0 ;
7032 (char *) "self", NULL
7035 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TextAttr",kwnames
,&obj0
)) goto fail
;
7036 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7037 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7042 wxPyEndAllowThreads(__tstate
);
7043 if (PyErr_Occurred()) SWIG_fail
;
7045 Py_INCREF(Py_None
); resultobj
= Py_None
;
7052 static PyObject
*_wrap_TextAttr_Init(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7053 PyObject
*resultobj
;
7054 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7055 PyObject
* obj0
= 0 ;
7057 (char *) "self", NULL
7060 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_Init",kwnames
,&obj0
)) goto fail
;
7061 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7062 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7067 wxPyEndAllowThreads(__tstate
);
7068 if (PyErr_Occurred()) SWIG_fail
;
7070 Py_INCREF(Py_None
); resultobj
= Py_None
;
7077 static PyObject
*_wrap_TextAttr_SetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7078 PyObject
*resultobj
;
7079 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7080 wxColour
*arg2
= 0 ;
7082 PyObject
* obj0
= 0 ;
7083 PyObject
* obj1
= 0 ;
7085 (char *) "self",(char *) "colText", NULL
7088 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
7089 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7090 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7093 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
7096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7097 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
7099 wxPyEndAllowThreads(__tstate
);
7100 if (PyErr_Occurred()) SWIG_fail
;
7102 Py_INCREF(Py_None
); resultobj
= Py_None
;
7109 static PyObject
*_wrap_TextAttr_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7110 PyObject
*resultobj
;
7111 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7112 wxColour
*arg2
= 0 ;
7114 PyObject
* obj0
= 0 ;
7115 PyObject
* obj1
= 0 ;
7117 (char *) "self",(char *) "colBack", NULL
7120 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
7121 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7122 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7125 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
7128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7129 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
7131 wxPyEndAllowThreads(__tstate
);
7132 if (PyErr_Occurred()) SWIG_fail
;
7134 Py_INCREF(Py_None
); resultobj
= Py_None
;
7141 static PyObject
*_wrap_TextAttr_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7142 PyObject
*resultobj
;
7143 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7145 long arg3
= (long) wxTEXT_ATTR_FONT
;
7146 PyObject
* obj0
= 0 ;
7147 PyObject
* obj1
= 0 ;
7148 PyObject
* obj2
= 0 ;
7150 (char *) "self",(char *) "font",(char *) "flags", NULL
7153 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TextAttr_SetFont",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7154 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7155 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7156 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
7157 SWIG_POINTER_EXCEPTION
| 0)) == -1)
7160 PyErr_SetString(PyExc_TypeError
,"null reference");
7164 arg3
= (long) SWIG_AsLong(obj2
);
7165 if (PyErr_Occurred()) SWIG_fail
;
7168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7169 (arg1
)->SetFont((wxFont
const &)*arg2
,arg3
);
7171 wxPyEndAllowThreads(__tstate
);
7172 if (PyErr_Occurred()) SWIG_fail
;
7174 Py_INCREF(Py_None
); resultobj
= Py_None
;
7181 static PyObject
*_wrap_TextAttr_SetAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7182 PyObject
*resultobj
;
7183 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7185 PyObject
* obj0
= 0 ;
7186 PyObject
* obj1
= 0 ;
7188 (char *) "self",(char *) "alignment", NULL
7191 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetAlignment",kwnames
,&obj0
,&obj1
)) goto fail
;
7192 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7193 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7194 arg2
= (wxTextAttrAlignment
) SWIG_AsInt(obj1
);
7195 if (PyErr_Occurred()) SWIG_fail
;
7197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7198 (arg1
)->SetAlignment((wxTextAttrAlignment
)arg2
);
7200 wxPyEndAllowThreads(__tstate
);
7201 if (PyErr_Occurred()) SWIG_fail
;
7203 Py_INCREF(Py_None
); resultobj
= Py_None
;
7210 static PyObject
*_wrap_TextAttr_SetTabs(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7211 PyObject
*resultobj
;
7212 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7213 wxArrayInt
*arg2
= 0 ;
7214 bool temp2
= False
;
7215 PyObject
* obj0
= 0 ;
7216 PyObject
* obj1
= 0 ;
7218 (char *) "self",(char *) "tabs", NULL
7221 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetTabs",kwnames
,&obj0
,&obj1
)) goto fail
;
7222 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7223 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7225 if (! PySequence_Check(obj1
)) {
7226 PyErr_SetString(PyExc_TypeError
, "Sequence of integers expected.");
7229 arg2
= new wxArrayInt
;
7231 int i
, len
=PySequence_Length(obj1
);
7232 for (i
=0; i
<len
; i
++) {
7233 PyObject
* item
= PySequence_GetItem(obj1
, i
);
7234 PyObject
* number
= PyNumber_Int(item
);
7235 arg2
->Add(PyInt_AS_LONG(number
));
7241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7242 (arg1
)->SetTabs((wxArrayInt
const &)*arg2
);
7244 wxPyEndAllowThreads(__tstate
);
7245 if (PyErr_Occurred()) SWIG_fail
;
7247 Py_INCREF(Py_None
); resultobj
= Py_None
;
7249 if (temp2
) delete arg2
;
7254 if (temp2
) delete arg2
;
7260 static PyObject
*_wrap_TextAttr_SetLeftIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7261 PyObject
*resultobj
;
7262 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7264 int arg3
= (int) 0 ;
7265 PyObject
* obj0
= 0 ;
7266 PyObject
* obj1
= 0 ;
7267 PyObject
* obj2
= 0 ;
7269 (char *) "self",(char *) "indent",(char *) "subIndent", NULL
7272 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TextAttr_SetLeftIndent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7273 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7274 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7275 arg2
= (int) SWIG_AsInt(obj1
);
7276 if (PyErr_Occurred()) SWIG_fail
;
7278 arg3
= (int) SWIG_AsInt(obj2
);
7279 if (PyErr_Occurred()) SWIG_fail
;
7282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7283 (arg1
)->SetLeftIndent(arg2
,arg3
);
7285 wxPyEndAllowThreads(__tstate
);
7286 if (PyErr_Occurred()) SWIG_fail
;
7288 Py_INCREF(Py_None
); resultobj
= Py_None
;
7295 static PyObject
*_wrap_TextAttr_SetRightIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7296 PyObject
*resultobj
;
7297 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7299 PyObject
* obj0
= 0 ;
7300 PyObject
* obj1
= 0 ;
7302 (char *) "self",(char *) "indent", NULL
7305 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetRightIndent",kwnames
,&obj0
,&obj1
)) goto fail
;
7306 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7307 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7308 arg2
= (int) SWIG_AsInt(obj1
);
7309 if (PyErr_Occurred()) SWIG_fail
;
7311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7312 (arg1
)->SetRightIndent(arg2
);
7314 wxPyEndAllowThreads(__tstate
);
7315 if (PyErr_Occurred()) SWIG_fail
;
7317 Py_INCREF(Py_None
); resultobj
= Py_None
;
7324 static PyObject
*_wrap_TextAttr_SetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7325 PyObject
*resultobj
;
7326 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7328 PyObject
* obj0
= 0 ;
7329 PyObject
* obj1
= 0 ;
7331 (char *) "self",(char *) "flags", NULL
7334 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetFlags",kwnames
,&obj0
,&obj1
)) goto fail
;
7335 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7336 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7337 arg2
= (long) SWIG_AsLong(obj1
);
7338 if (PyErr_Occurred()) SWIG_fail
;
7340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7341 (arg1
)->SetFlags(arg2
);
7343 wxPyEndAllowThreads(__tstate
);
7344 if (PyErr_Occurred()) SWIG_fail
;
7346 Py_INCREF(Py_None
); resultobj
= Py_None
;
7353 static PyObject
*_wrap_TextAttr_HasTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7354 PyObject
*resultobj
;
7355 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7357 PyObject
* obj0
= 0 ;
7359 (char *) "self", NULL
7362 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasTextColour",kwnames
,&obj0
)) goto fail
;
7363 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7364 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7367 result
= (bool)((wxTextAttr
const *)arg1
)->HasTextColour();
7369 wxPyEndAllowThreads(__tstate
);
7370 if (PyErr_Occurred()) SWIG_fail
;
7373 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7381 static PyObject
*_wrap_TextAttr_HasBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7382 PyObject
*resultobj
;
7383 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7385 PyObject
* obj0
= 0 ;
7387 (char *) "self", NULL
7390 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasBackgroundColour",kwnames
,&obj0
)) goto fail
;
7391 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7392 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7395 result
= (bool)((wxTextAttr
const *)arg1
)->HasBackgroundColour();
7397 wxPyEndAllowThreads(__tstate
);
7398 if (PyErr_Occurred()) SWIG_fail
;
7401 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7409 static PyObject
*_wrap_TextAttr_HasFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7410 PyObject
*resultobj
;
7411 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7413 PyObject
* obj0
= 0 ;
7415 (char *) "self", NULL
7418 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasFont",kwnames
,&obj0
)) goto fail
;
7419 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7420 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7423 result
= (bool)((wxTextAttr
const *)arg1
)->HasFont();
7425 wxPyEndAllowThreads(__tstate
);
7426 if (PyErr_Occurred()) SWIG_fail
;
7429 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7437 static PyObject
*_wrap_TextAttr_HasAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7438 PyObject
*resultobj
;
7439 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7441 PyObject
* obj0
= 0 ;
7443 (char *) "self", NULL
7446 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasAlignment",kwnames
,&obj0
)) goto fail
;
7447 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7448 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7451 result
= (bool)((wxTextAttr
const *)arg1
)->HasAlignment();
7453 wxPyEndAllowThreads(__tstate
);
7454 if (PyErr_Occurred()) SWIG_fail
;
7457 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7465 static PyObject
*_wrap_TextAttr_HasTabs(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7466 PyObject
*resultobj
;
7467 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7469 PyObject
* obj0
= 0 ;
7471 (char *) "self", NULL
7474 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasTabs",kwnames
,&obj0
)) goto fail
;
7475 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7476 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7479 result
= (bool)((wxTextAttr
const *)arg1
)->HasTabs();
7481 wxPyEndAllowThreads(__tstate
);
7482 if (PyErr_Occurred()) SWIG_fail
;
7485 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7493 static PyObject
*_wrap_TextAttr_HasLeftIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7494 PyObject
*resultobj
;
7495 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7497 PyObject
* obj0
= 0 ;
7499 (char *) "self", NULL
7502 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasLeftIndent",kwnames
,&obj0
)) goto fail
;
7503 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7504 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7507 result
= (bool)((wxTextAttr
const *)arg1
)->HasLeftIndent();
7509 wxPyEndAllowThreads(__tstate
);
7510 if (PyErr_Occurred()) SWIG_fail
;
7513 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7521 static PyObject
*_wrap_TextAttr_HasRightIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7522 PyObject
*resultobj
;
7523 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7525 PyObject
* obj0
= 0 ;
7527 (char *) "self", NULL
7530 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasRightIndent",kwnames
,&obj0
)) goto fail
;
7531 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7532 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7535 result
= (bool)((wxTextAttr
const *)arg1
)->HasRightIndent();
7537 wxPyEndAllowThreads(__tstate
);
7538 if (PyErr_Occurred()) SWIG_fail
;
7541 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7549 static PyObject
*_wrap_TextAttr_HasFlag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7550 PyObject
*resultobj
;
7551 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7554 PyObject
* obj0
= 0 ;
7555 PyObject
* obj1
= 0 ;
7557 (char *) "self",(char *) "flag", NULL
7560 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_HasFlag",kwnames
,&obj0
,&obj1
)) goto fail
;
7561 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7562 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7563 arg2
= (long) SWIG_AsLong(obj1
);
7564 if (PyErr_Occurred()) SWIG_fail
;
7566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7567 result
= (bool)((wxTextAttr
const *)arg1
)->HasFlag(arg2
);
7569 wxPyEndAllowThreads(__tstate
);
7570 if (PyErr_Occurred()) SWIG_fail
;
7573 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7581 static PyObject
*_wrap_TextAttr_GetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7582 PyObject
*resultobj
;
7583 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7585 PyObject
* obj0
= 0 ;
7587 (char *) "self", NULL
7590 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetTextColour",kwnames
,&obj0
)) goto fail
;
7591 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7592 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7596 wxColour
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetTextColour();
7597 result
= (wxColour
*) &_result_ref
;
7600 wxPyEndAllowThreads(__tstate
);
7601 if (PyErr_Occurred()) SWIG_fail
;
7603 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0);
7610 static PyObject
*_wrap_TextAttr_GetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7611 PyObject
*resultobj
;
7612 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7614 PyObject
* obj0
= 0 ;
7616 (char *) "self", NULL
7619 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
7620 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7621 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7625 wxColour
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetBackgroundColour();
7626 result
= (wxColour
*) &_result_ref
;
7629 wxPyEndAllowThreads(__tstate
);
7630 if (PyErr_Occurred()) SWIG_fail
;
7632 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0);
7639 static PyObject
*_wrap_TextAttr_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7640 PyObject
*resultobj
;
7641 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7643 PyObject
* obj0
= 0 ;
7645 (char *) "self", NULL
7648 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetFont",kwnames
,&obj0
)) goto fail
;
7649 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7650 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7654 wxFont
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetFont();
7655 result
= (wxFont
*) &_result_ref
;
7658 wxPyEndAllowThreads(__tstate
);
7659 if (PyErr_Occurred()) SWIG_fail
;
7662 wxFont
* resultptr
= new wxFont(*result
);
7663 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxFont
, 1);
7671 static PyObject
*_wrap_TextAttr_GetAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7672 PyObject
*resultobj
;
7673 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7675 PyObject
* obj0
= 0 ;
7677 (char *) "self", NULL
7680 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetAlignment",kwnames
,&obj0
)) goto fail
;
7681 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7682 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7685 result
= (int)((wxTextAttr
const *)arg1
)->GetAlignment();
7687 wxPyEndAllowThreads(__tstate
);
7688 if (PyErr_Occurred()) SWIG_fail
;
7690 resultobj
= SWIG_FromInt((int)result
);
7697 static PyObject
*_wrap_TextAttr_GetTabs(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7698 PyObject
*resultobj
;
7699 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7701 PyObject
* obj0
= 0 ;
7703 (char *) "self", NULL
7706 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetTabs",kwnames
,&obj0
)) goto fail
;
7707 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7708 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7712 wxArrayInt
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetTabs();
7713 result
= (wxArrayInt
*) &_result_ref
;
7716 wxPyEndAllowThreads(__tstate
);
7717 if (PyErr_Occurred()) SWIG_fail
;
7720 resultobj
= PyList_New(0);
7722 for (idx
= 0; idx
< result
->GetCount(); idx
+= 1) {
7723 PyObject
* val
= PyInt_FromLong( result
->Item(idx
) );
7724 PyList_Append(resultobj
, val
);
7734 static PyObject
*_wrap_TextAttr_GetLeftIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7735 PyObject
*resultobj
;
7736 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7738 PyObject
* obj0
= 0 ;
7740 (char *) "self", NULL
7743 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetLeftIndent",kwnames
,&obj0
)) goto fail
;
7744 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7745 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7748 result
= (long)((wxTextAttr
const *)arg1
)->GetLeftIndent();
7750 wxPyEndAllowThreads(__tstate
);
7751 if (PyErr_Occurred()) SWIG_fail
;
7753 resultobj
= SWIG_FromLong((long)result
);
7760 static PyObject
*_wrap_TextAttr_GetLeftSubIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7761 PyObject
*resultobj
;
7762 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7764 PyObject
* obj0
= 0 ;
7766 (char *) "self", NULL
7769 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetLeftSubIndent",kwnames
,&obj0
)) goto fail
;
7770 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7771 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7774 result
= (long)((wxTextAttr
const *)arg1
)->GetLeftSubIndent();
7776 wxPyEndAllowThreads(__tstate
);
7777 if (PyErr_Occurred()) SWIG_fail
;
7779 resultobj
= SWIG_FromLong((long)result
);
7786 static PyObject
*_wrap_TextAttr_GetRightIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7787 PyObject
*resultobj
;
7788 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7790 PyObject
* obj0
= 0 ;
7792 (char *) "self", NULL
7795 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetRightIndent",kwnames
,&obj0
)) goto fail
;
7796 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7797 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7800 result
= (long)((wxTextAttr
const *)arg1
)->GetRightIndent();
7802 wxPyEndAllowThreads(__tstate
);
7803 if (PyErr_Occurred()) SWIG_fail
;
7805 resultobj
= SWIG_FromLong((long)result
);
7812 static PyObject
*_wrap_TextAttr_GetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7813 PyObject
*resultobj
;
7814 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7816 PyObject
* obj0
= 0 ;
7818 (char *) "self", NULL
7821 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetFlags",kwnames
,&obj0
)) goto fail
;
7822 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7823 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7826 result
= (long)((wxTextAttr
const *)arg1
)->GetFlags();
7828 wxPyEndAllowThreads(__tstate
);
7829 if (PyErr_Occurred()) SWIG_fail
;
7831 resultobj
= SWIG_FromLong((long)result
);
7838 static PyObject
*_wrap_TextAttr_IsDefault(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7839 PyObject
*resultobj
;
7840 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7842 PyObject
* obj0
= 0 ;
7844 (char *) "self", NULL
7847 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_IsDefault",kwnames
,&obj0
)) goto fail
;
7848 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7849 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7852 result
= (bool)((wxTextAttr
const *)arg1
)->IsDefault();
7854 wxPyEndAllowThreads(__tstate
);
7855 if (PyErr_Occurred()) SWIG_fail
;
7858 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7866 static PyObject
*_wrap_TextAttr_Combine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7867 PyObject
*resultobj
;
7868 wxTextAttr
*arg1
= 0 ;
7869 wxTextAttr
*arg2
= 0 ;
7870 wxTextCtrl
*arg3
= (wxTextCtrl
*) 0 ;
7872 PyObject
* obj0
= 0 ;
7873 PyObject
* obj1
= 0 ;
7874 PyObject
* obj2
= 0 ;
7876 (char *) "attr",(char *) "attrDef",(char *) "text", NULL
7879 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextAttr_Combine",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7880 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7881 SWIG_POINTER_EXCEPTION
| 0)) == -1)
7884 PyErr_SetString(PyExc_TypeError
,"null reference");
7887 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTextAttr
,
7888 SWIG_POINTER_EXCEPTION
| 0)) == -1)
7891 PyErr_SetString(PyExc_TypeError
,"null reference");
7894 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxTextCtrl
,
7895 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7898 result
= wxTextAttr::Combine((wxTextAttr
const &)*arg1
,(wxTextAttr
const &)*arg2
,(wxTextCtrl
const *)arg3
);
7900 wxPyEndAllowThreads(__tstate
);
7901 if (PyErr_Occurred()) SWIG_fail
;
7904 wxTextAttr
* resultptr
;
7905 resultptr
= new wxTextAttr((wxTextAttr
&) result
);
7906 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTextAttr
, 1);
7914 static PyObject
* TextAttr_swigregister(PyObject
*self
, PyObject
*args
) {
7916 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7917 SWIG_TypeClientData(SWIGTYPE_p_wxTextAttr
, obj
);
7919 return Py_BuildValue((char *)"");
7921 static PyObject
*_wrap_new_TextCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7922 PyObject
*resultobj
;
7923 wxWindow
*arg1
= (wxWindow
*) 0 ;
7925 wxString
const &arg3_defvalue
= wxPyEmptyString
;
7926 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
7927 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
7928 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
7929 wxSize
const &arg5_defvalue
= wxDefaultSize
;
7930 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
7931 long arg6
= (long) 0 ;
7932 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
7933 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
7934 wxString
const &arg8_defvalue
= wxPyTextCtrlNameStr
;
7935 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
7937 bool temp3
= False
;
7940 bool temp8
= False
;
7941 PyObject
* obj0
= 0 ;
7942 PyObject
* obj1
= 0 ;
7943 PyObject
* obj2
= 0 ;
7944 PyObject
* obj3
= 0 ;
7945 PyObject
* obj4
= 0 ;
7946 PyObject
* obj5
= 0 ;
7947 PyObject
* obj6
= 0 ;
7948 PyObject
* obj7
= 0 ;
7950 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
7953 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:new_TextCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
7954 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
7955 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7956 arg2
= (int) SWIG_AsInt(obj1
);
7957 if (PyErr_Occurred()) SWIG_fail
;
7960 arg3
= wxString_in_helper(obj2
);
7961 if (arg3
== NULL
) SWIG_fail
;
7968 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
7974 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
7978 arg6
= (long) SWIG_AsLong(obj5
);
7979 if (PyErr_Occurred()) SWIG_fail
;
7982 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
7983 SWIG_POINTER_EXCEPTION
| 0)) == -1)
7986 PyErr_SetString(PyExc_TypeError
,"null reference");
7992 arg8
= wxString_in_helper(obj7
);
7993 if (arg8
== NULL
) SWIG_fail
;
7998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7999 result
= (wxTextCtrl
*)new wxTextCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
8001 wxPyEndAllowThreads(__tstate
);
8002 if (PyErr_Occurred()) SWIG_fail
;
8005 resultobj
= wxPyMake_wxObject(result
);
8029 static PyObject
*_wrap_new_PreTextCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8030 PyObject
*resultobj
;
8036 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreTextCtrl",kwnames
)) goto fail
;
8038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8039 result
= (wxTextCtrl
*)new wxTextCtrl();
8041 wxPyEndAllowThreads(__tstate
);
8042 if (PyErr_Occurred()) SWIG_fail
;
8045 resultobj
= wxPyMake_wxObject(result
);
8053 static PyObject
*_wrap_TextCtrl_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8054 PyObject
*resultobj
;
8055 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8056 wxWindow
*arg2
= (wxWindow
*) 0 ;
8058 wxString
const &arg4_defvalue
= wxPyEmptyString
;
8059 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
8060 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
8061 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
8062 wxSize
const &arg6_defvalue
= wxDefaultSize
;
8063 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
8064 long arg7
= (long) 0 ;
8065 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
8066 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
8067 wxString
const &arg9_defvalue
= wxPyTextCtrlNameStr
;
8068 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
8070 bool temp4
= False
;
8073 bool temp9
= False
;
8074 PyObject
* obj0
= 0 ;
8075 PyObject
* obj1
= 0 ;
8076 PyObject
* obj2
= 0 ;
8077 PyObject
* obj3
= 0 ;
8078 PyObject
* obj4
= 0 ;
8079 PyObject
* obj5
= 0 ;
8080 PyObject
* obj6
= 0 ;
8081 PyObject
* obj7
= 0 ;
8082 PyObject
* obj8
= 0 ;
8084 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
8087 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOO:TextCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
8088 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8089 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8090 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
8091 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8092 arg3
= (int) SWIG_AsInt(obj2
);
8093 if (PyErr_Occurred()) SWIG_fail
;
8096 arg4
= wxString_in_helper(obj3
);
8097 if (arg4
== NULL
) SWIG_fail
;
8104 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
8110 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
8114 arg7
= (long) SWIG_AsLong(obj6
);
8115 if (PyErr_Occurred()) SWIG_fail
;
8118 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
8119 SWIG_POINTER_EXCEPTION
| 0)) == -1)
8122 PyErr_SetString(PyExc_TypeError
,"null reference");
8128 arg9
= wxString_in_helper(obj8
);
8129 if (arg9
== NULL
) SWIG_fail
;
8134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8135 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
8137 wxPyEndAllowThreads(__tstate
);
8138 if (PyErr_Occurred()) SWIG_fail
;
8141 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8165 static PyObject
*_wrap_TextCtrl_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8166 PyObject
*resultobj
;
8167 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8169 PyObject
* obj0
= 0 ;
8171 (char *) "self", NULL
8174 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetValue",kwnames
,&obj0
)) goto fail
;
8175 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8176 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8179 result
= ((wxTextCtrl
const *)arg1
)->GetValue();
8181 wxPyEndAllowThreads(__tstate
);
8182 if (PyErr_Occurred()) SWIG_fail
;
8186 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8188 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8197 static PyObject
*_wrap_TextCtrl_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8198 PyObject
*resultobj
;
8199 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8200 wxString
*arg2
= 0 ;
8201 bool temp2
= False
;
8202 PyObject
* obj0
= 0 ;
8203 PyObject
* obj1
= 0 ;
8205 (char *) "self",(char *) "value", NULL
8208 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
8209 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8210 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8212 arg2
= wxString_in_helper(obj1
);
8213 if (arg2
== NULL
) SWIG_fail
;
8217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8218 (arg1
)->SetValue((wxString
const &)*arg2
);
8220 wxPyEndAllowThreads(__tstate
);
8221 if (PyErr_Occurred()) SWIG_fail
;
8223 Py_INCREF(Py_None
); resultobj
= Py_None
;
8238 static PyObject
*_wrap_TextCtrl_GetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8239 PyObject
*resultobj
;
8240 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8244 PyObject
* obj0
= 0 ;
8245 PyObject
* obj1
= 0 ;
8246 PyObject
* obj2
= 0 ;
8248 (char *) "self",(char *) "from",(char *) "to", NULL
8251 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_GetRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8252 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8253 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8254 arg2
= (long) SWIG_AsLong(obj1
);
8255 if (PyErr_Occurred()) SWIG_fail
;
8256 arg3
= (long) SWIG_AsLong(obj2
);
8257 if (PyErr_Occurred()) SWIG_fail
;
8259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8260 result
= ((wxTextCtrl
const *)arg1
)->GetRange(arg2
,arg3
);
8262 wxPyEndAllowThreads(__tstate
);
8263 if (PyErr_Occurred()) SWIG_fail
;
8267 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8269 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8278 static PyObject
*_wrap_TextCtrl_GetLineLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8279 PyObject
*resultobj
;
8280 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8283 PyObject
* obj0
= 0 ;
8284 PyObject
* obj1
= 0 ;
8286 (char *) "self",(char *) "lineNo", NULL
8289 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_GetLineLength",kwnames
,&obj0
,&obj1
)) goto fail
;
8290 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8291 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8292 arg2
= (long) SWIG_AsLong(obj1
);
8293 if (PyErr_Occurred()) SWIG_fail
;
8295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8296 result
= (int)((wxTextCtrl
const *)arg1
)->GetLineLength(arg2
);
8298 wxPyEndAllowThreads(__tstate
);
8299 if (PyErr_Occurred()) SWIG_fail
;
8301 resultobj
= SWIG_FromInt((int)result
);
8308 static PyObject
*_wrap_TextCtrl_GetLineText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8309 PyObject
*resultobj
;
8310 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8313 PyObject
* obj0
= 0 ;
8314 PyObject
* obj1
= 0 ;
8316 (char *) "self",(char *) "lineNo", NULL
8319 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_GetLineText",kwnames
,&obj0
,&obj1
)) goto fail
;
8320 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8321 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8322 arg2
= (long) SWIG_AsLong(obj1
);
8323 if (PyErr_Occurred()) SWIG_fail
;
8325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8326 result
= ((wxTextCtrl
const *)arg1
)->GetLineText(arg2
);
8328 wxPyEndAllowThreads(__tstate
);
8329 if (PyErr_Occurred()) SWIG_fail
;
8333 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8335 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8344 static PyObject
*_wrap_TextCtrl_GetNumberOfLines(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8345 PyObject
*resultobj
;
8346 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8348 PyObject
* obj0
= 0 ;
8350 (char *) "self", NULL
8353 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetNumberOfLines",kwnames
,&obj0
)) goto fail
;
8354 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8355 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8358 result
= (int)((wxTextCtrl
const *)arg1
)->GetNumberOfLines();
8360 wxPyEndAllowThreads(__tstate
);
8361 if (PyErr_Occurred()) SWIG_fail
;
8363 resultobj
= SWIG_FromInt((int)result
);
8370 static PyObject
*_wrap_TextCtrl_IsModified(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8371 PyObject
*resultobj
;
8372 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8374 PyObject
* obj0
= 0 ;
8376 (char *) "self", NULL
8379 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_IsModified",kwnames
,&obj0
)) goto fail
;
8380 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8381 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8384 result
= (bool)((wxTextCtrl
const *)arg1
)->IsModified();
8386 wxPyEndAllowThreads(__tstate
);
8387 if (PyErr_Occurred()) SWIG_fail
;
8390 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8398 static PyObject
*_wrap_TextCtrl_IsEditable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8399 PyObject
*resultobj
;
8400 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8402 PyObject
* obj0
= 0 ;
8404 (char *) "self", NULL
8407 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_IsEditable",kwnames
,&obj0
)) goto fail
;
8408 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8409 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8412 result
= (bool)((wxTextCtrl
const *)arg1
)->IsEditable();
8414 wxPyEndAllowThreads(__tstate
);
8415 if (PyErr_Occurred()) SWIG_fail
;
8418 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8426 static PyObject
*_wrap_TextCtrl_IsSingleLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8427 PyObject
*resultobj
;
8428 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8430 PyObject
* obj0
= 0 ;
8432 (char *) "self", NULL
8435 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_IsSingleLine",kwnames
,&obj0
)) goto fail
;
8436 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8437 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8440 result
= (bool)((wxTextCtrl
const *)arg1
)->IsSingleLine();
8442 wxPyEndAllowThreads(__tstate
);
8443 if (PyErr_Occurred()) SWIG_fail
;
8446 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8454 static PyObject
*_wrap_TextCtrl_IsMultiLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8455 PyObject
*resultobj
;
8456 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8458 PyObject
* obj0
= 0 ;
8460 (char *) "self", NULL
8463 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_IsMultiLine",kwnames
,&obj0
)) goto fail
;
8464 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8465 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8468 result
= (bool)((wxTextCtrl
const *)arg1
)->IsMultiLine();
8470 wxPyEndAllowThreads(__tstate
);
8471 if (PyErr_Occurred()) SWIG_fail
;
8474 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8482 static PyObject
*_wrap_TextCtrl_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8483 PyObject
*resultobj
;
8484 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8485 long *arg2
= (long *) 0 ;
8486 long *arg3
= (long *) 0 ;
8489 PyObject
* obj0
= 0 ;
8491 (char *) "self", NULL
8496 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetSelection",kwnames
,&obj0
)) goto fail
;
8497 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8498 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8501 ((wxTextCtrl
const *)arg1
)->GetSelection(arg2
,arg3
);
8503 wxPyEndAllowThreads(__tstate
);
8504 if (PyErr_Occurred()) SWIG_fail
;
8506 Py_INCREF(Py_None
); resultobj
= Py_None
;
8508 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
8509 resultobj
= t_output_helper(resultobj
,o
);
8512 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
8513 resultobj
= t_output_helper(resultobj
,o
);
8521 static PyObject
*_wrap_TextCtrl_GetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8522 PyObject
*resultobj
;
8523 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8525 PyObject
* obj0
= 0 ;
8527 (char *) "self", NULL
8530 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetStringSelection",kwnames
,&obj0
)) goto fail
;
8531 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8532 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8535 result
= ((wxTextCtrl
const *)arg1
)->GetStringSelection();
8537 wxPyEndAllowThreads(__tstate
);
8538 if (PyErr_Occurred()) SWIG_fail
;
8542 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8544 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8553 static PyObject
*_wrap_TextCtrl_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8554 PyObject
*resultobj
;
8555 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8556 PyObject
* obj0
= 0 ;
8558 (char *) "self", NULL
8561 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Clear",kwnames
,&obj0
)) goto fail
;
8562 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8563 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8568 wxPyEndAllowThreads(__tstate
);
8569 if (PyErr_Occurred()) SWIG_fail
;
8571 Py_INCREF(Py_None
); resultobj
= Py_None
;
8578 static PyObject
*_wrap_TextCtrl_Replace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8579 PyObject
*resultobj
;
8580 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8583 wxString
*arg4
= 0 ;
8584 bool temp4
= False
;
8585 PyObject
* obj0
= 0 ;
8586 PyObject
* obj1
= 0 ;
8587 PyObject
* obj2
= 0 ;
8588 PyObject
* obj3
= 0 ;
8590 (char *) "self",(char *) "from",(char *) "to",(char *) "value", NULL
8593 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextCtrl_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
8594 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8595 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8596 arg2
= (long) SWIG_AsLong(obj1
);
8597 if (PyErr_Occurred()) SWIG_fail
;
8598 arg3
= (long) SWIG_AsLong(obj2
);
8599 if (PyErr_Occurred()) SWIG_fail
;
8601 arg4
= wxString_in_helper(obj3
);
8602 if (arg4
== NULL
) SWIG_fail
;
8606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8607 (arg1
)->Replace(arg2
,arg3
,(wxString
const &)*arg4
);
8609 wxPyEndAllowThreads(__tstate
);
8610 if (PyErr_Occurred()) SWIG_fail
;
8612 Py_INCREF(Py_None
); resultobj
= Py_None
;
8627 static PyObject
*_wrap_TextCtrl_Remove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8628 PyObject
*resultobj
;
8629 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8632 PyObject
* obj0
= 0 ;
8633 PyObject
* obj1
= 0 ;
8634 PyObject
* obj2
= 0 ;
8636 (char *) "self",(char *) "from",(char *) "to", NULL
8639 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_Remove",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8640 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8641 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8642 arg2
= (long) SWIG_AsLong(obj1
);
8643 if (PyErr_Occurred()) SWIG_fail
;
8644 arg3
= (long) SWIG_AsLong(obj2
);
8645 if (PyErr_Occurred()) SWIG_fail
;
8647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8648 (arg1
)->Remove(arg2
,arg3
);
8650 wxPyEndAllowThreads(__tstate
);
8651 if (PyErr_Occurred()) SWIG_fail
;
8653 Py_INCREF(Py_None
); resultobj
= Py_None
;
8660 static PyObject
*_wrap_TextCtrl_LoadFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8661 PyObject
*resultobj
;
8662 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8663 wxString
*arg2
= 0 ;
8665 bool temp2
= False
;
8666 PyObject
* obj0
= 0 ;
8667 PyObject
* obj1
= 0 ;
8669 (char *) "self",(char *) "file", NULL
8672 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_LoadFile",kwnames
,&obj0
,&obj1
)) goto fail
;
8673 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8674 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8676 arg2
= wxString_in_helper(obj1
);
8677 if (arg2
== NULL
) SWIG_fail
;
8681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8682 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
);
8684 wxPyEndAllowThreads(__tstate
);
8685 if (PyErr_Occurred()) SWIG_fail
;
8688 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8704 static PyObject
*_wrap_TextCtrl_SaveFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8705 PyObject
*resultobj
;
8706 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8707 wxString
const &arg2_defvalue
= wxPyEmptyString
;
8708 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
8710 bool temp2
= False
;
8711 PyObject
* obj0
= 0 ;
8712 PyObject
* obj1
= 0 ;
8714 (char *) "self",(char *) "file", NULL
8717 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TextCtrl_SaveFile",kwnames
,&obj0
,&obj1
)) goto fail
;
8718 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8719 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8722 arg2
= wxString_in_helper(obj1
);
8723 if (arg2
== NULL
) SWIG_fail
;
8728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8729 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
);
8731 wxPyEndAllowThreads(__tstate
);
8732 if (PyErr_Occurred()) SWIG_fail
;
8735 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8751 static PyObject
*_wrap_TextCtrl_MarkDirty(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8752 PyObject
*resultobj
;
8753 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8754 PyObject
* obj0
= 0 ;
8756 (char *) "self", NULL
8759 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_MarkDirty",kwnames
,&obj0
)) goto fail
;
8760 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8761 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8764 (arg1
)->MarkDirty();
8766 wxPyEndAllowThreads(__tstate
);
8767 if (PyErr_Occurred()) SWIG_fail
;
8769 Py_INCREF(Py_None
); resultobj
= Py_None
;
8776 static PyObject
*_wrap_TextCtrl_DiscardEdits(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8777 PyObject
*resultobj
;
8778 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8779 PyObject
* obj0
= 0 ;
8781 (char *) "self", NULL
8784 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_DiscardEdits",kwnames
,&obj0
)) goto fail
;
8785 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8786 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8789 (arg1
)->DiscardEdits();
8791 wxPyEndAllowThreads(__tstate
);
8792 if (PyErr_Occurred()) SWIG_fail
;
8794 Py_INCREF(Py_None
); resultobj
= Py_None
;
8801 static PyObject
*_wrap_TextCtrl_SetMaxLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8802 PyObject
*resultobj
;
8803 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8804 unsigned long arg2
;
8805 PyObject
* obj0
= 0 ;
8806 PyObject
* obj1
= 0 ;
8808 (char *) "self",(char *) "len", NULL
8811 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetMaxLength",kwnames
,&obj0
,&obj1
)) goto fail
;
8812 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8813 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8814 arg2
= (unsigned long) SWIG_AsUnsignedLong(obj1
);
8815 if (PyErr_Occurred()) SWIG_fail
;
8817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8818 (arg1
)->SetMaxLength(arg2
);
8820 wxPyEndAllowThreads(__tstate
);
8821 if (PyErr_Occurred()) SWIG_fail
;
8823 Py_INCREF(Py_None
); resultobj
= Py_None
;
8830 static PyObject
*_wrap_TextCtrl_WriteText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8831 PyObject
*resultobj
;
8832 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8833 wxString
*arg2
= 0 ;
8834 bool temp2
= False
;
8835 PyObject
* obj0
= 0 ;
8836 PyObject
* obj1
= 0 ;
8838 (char *) "self",(char *) "text", NULL
8841 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_WriteText",kwnames
,&obj0
,&obj1
)) goto fail
;
8842 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8843 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8845 arg2
= wxString_in_helper(obj1
);
8846 if (arg2
== NULL
) SWIG_fail
;
8850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8851 (arg1
)->WriteText((wxString
const &)*arg2
);
8853 wxPyEndAllowThreads(__tstate
);
8854 if (PyErr_Occurred()) SWIG_fail
;
8856 Py_INCREF(Py_None
); resultobj
= Py_None
;
8871 static PyObject
*_wrap_TextCtrl_AppendText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8872 PyObject
*resultobj
;
8873 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8874 wxString
*arg2
= 0 ;
8875 bool temp2
= False
;
8876 PyObject
* obj0
= 0 ;
8877 PyObject
* obj1
= 0 ;
8879 (char *) "self",(char *) "text", NULL
8882 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_AppendText",kwnames
,&obj0
,&obj1
)) goto fail
;
8883 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8884 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8886 arg2
= wxString_in_helper(obj1
);
8887 if (arg2
== NULL
) SWIG_fail
;
8891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8892 (arg1
)->AppendText((wxString
const &)*arg2
);
8894 wxPyEndAllowThreads(__tstate
);
8895 if (PyErr_Occurred()) SWIG_fail
;
8897 Py_INCREF(Py_None
); resultobj
= Py_None
;
8912 static PyObject
*_wrap_TextCtrl_EmulateKeyPress(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8913 PyObject
*resultobj
;
8914 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8915 wxKeyEvent
*arg2
= 0 ;
8917 PyObject
* obj0
= 0 ;
8918 PyObject
* obj1
= 0 ;
8920 (char *) "self",(char *) "event", NULL
8923 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_EmulateKeyPress",kwnames
,&obj0
,&obj1
)) goto fail
;
8924 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8925 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8926 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxKeyEvent
,
8927 SWIG_POINTER_EXCEPTION
| 0)) == -1)
8930 PyErr_SetString(PyExc_TypeError
,"null reference");
8934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8935 result
= (bool)(arg1
)->EmulateKeyPress((wxKeyEvent
const &)*arg2
);
8937 wxPyEndAllowThreads(__tstate
);
8938 if (PyErr_Occurred()) SWIG_fail
;
8941 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8949 static PyObject
*_wrap_TextCtrl_SetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8950 PyObject
*resultobj
;
8951 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8954 wxTextAttr
*arg4
= 0 ;
8956 PyObject
* obj0
= 0 ;
8957 PyObject
* obj1
= 0 ;
8958 PyObject
* obj2
= 0 ;
8959 PyObject
* obj3
= 0 ;
8961 (char *) "self",(char *) "start",(char *) "end",(char *) "style", NULL
8964 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextCtrl_SetStyle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
8965 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8966 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8967 arg2
= (long) SWIG_AsLong(obj1
);
8968 if (PyErr_Occurred()) SWIG_fail
;
8969 arg3
= (long) SWIG_AsLong(obj2
);
8970 if (PyErr_Occurred()) SWIG_fail
;
8971 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxTextAttr
,
8972 SWIG_POINTER_EXCEPTION
| 0)) == -1)
8975 PyErr_SetString(PyExc_TypeError
,"null reference");
8979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8980 result
= (bool)(arg1
)->SetStyle(arg2
,arg3
,(wxTextAttr
const &)*arg4
);
8982 wxPyEndAllowThreads(__tstate
);
8983 if (PyErr_Occurred()) SWIG_fail
;
8986 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8994 static PyObject
*_wrap_TextCtrl_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8995 PyObject
*resultobj
;
8996 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8998 wxTextAttr
*arg3
= 0 ;
9000 PyObject
* obj0
= 0 ;
9001 PyObject
* obj1
= 0 ;
9002 PyObject
* obj2
= 0 ;
9004 (char *) "self",(char *) "position",(char *) "style", NULL
9007 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_GetStyle",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9008 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9009 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9010 arg2
= (long) SWIG_AsLong(obj1
);
9011 if (PyErr_Occurred()) SWIG_fail
;
9012 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxTextAttr
,
9013 SWIG_POINTER_EXCEPTION
| 0)) == -1)
9016 PyErr_SetString(PyExc_TypeError
,"null reference");
9020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9021 result
= (bool)(arg1
)->GetStyle(arg2
,*arg3
);
9023 wxPyEndAllowThreads(__tstate
);
9024 if (PyErr_Occurred()) SWIG_fail
;
9027 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9035 static PyObject
*_wrap_TextCtrl_SetDefaultStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9036 PyObject
*resultobj
;
9037 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9038 wxTextAttr
*arg2
= 0 ;
9040 PyObject
* obj0
= 0 ;
9041 PyObject
* obj1
= 0 ;
9043 (char *) "self",(char *) "style", NULL
9046 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetDefaultStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
9047 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9048 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9049 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTextAttr
,
9050 SWIG_POINTER_EXCEPTION
| 0)) == -1)
9053 PyErr_SetString(PyExc_TypeError
,"null reference");
9057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9058 result
= (bool)(arg1
)->SetDefaultStyle((wxTextAttr
const &)*arg2
);
9060 wxPyEndAllowThreads(__tstate
);
9061 if (PyErr_Occurred()) SWIG_fail
;
9064 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9072 static PyObject
*_wrap_TextCtrl_GetDefaultStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9073 PyObject
*resultobj
;
9074 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9076 PyObject
* obj0
= 0 ;
9078 (char *) "self", NULL
9081 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetDefaultStyle",kwnames
,&obj0
)) goto fail
;
9082 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9083 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9087 wxTextAttr
const &_result_ref
= ((wxTextCtrl
const *)arg1
)->GetDefaultStyle();
9088 result
= (wxTextAttr
*) &_result_ref
;
9091 wxPyEndAllowThreads(__tstate
);
9092 if (PyErr_Occurred()) SWIG_fail
;
9094 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextAttr
, 0);
9101 static PyObject
*_wrap_TextCtrl_XYToPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9102 PyObject
*resultobj
;
9103 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9107 PyObject
* obj0
= 0 ;
9108 PyObject
* obj1
= 0 ;
9109 PyObject
* obj2
= 0 ;
9111 (char *) "self",(char *) "x",(char *) "y", NULL
9114 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_XYToPosition",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9115 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9116 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9117 arg2
= (long) SWIG_AsLong(obj1
);
9118 if (PyErr_Occurred()) SWIG_fail
;
9119 arg3
= (long) SWIG_AsLong(obj2
);
9120 if (PyErr_Occurred()) SWIG_fail
;
9122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9123 result
= (long)((wxTextCtrl
const *)arg1
)->XYToPosition(arg2
,arg3
);
9125 wxPyEndAllowThreads(__tstate
);
9126 if (PyErr_Occurred()) SWIG_fail
;
9128 resultobj
= SWIG_FromLong((long)result
);
9135 static PyObject
*_wrap_TextCtrl_PositionToXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9136 PyObject
*resultobj
;
9137 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9139 long *arg3
= (long *) 0 ;
9140 long *arg4
= (long *) 0 ;
9143 PyObject
* obj0
= 0 ;
9144 PyObject
* obj1
= 0 ;
9146 (char *) "self",(char *) "pos", NULL
9151 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_PositionToXY",kwnames
,&obj0
,&obj1
)) goto fail
;
9152 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9153 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9154 arg2
= (long) SWIG_AsLong(obj1
);
9155 if (PyErr_Occurred()) SWIG_fail
;
9157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9158 ((wxTextCtrl
const *)arg1
)->PositionToXY(arg2
,arg3
,arg4
);
9160 wxPyEndAllowThreads(__tstate
);
9161 if (PyErr_Occurred()) SWIG_fail
;
9163 Py_INCREF(Py_None
); resultobj
= Py_None
;
9165 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
9166 resultobj
= t_output_helper(resultobj
,o
);
9169 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
9170 resultobj
= t_output_helper(resultobj
,o
);
9178 static PyObject
*_wrap_TextCtrl_ShowPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9179 PyObject
*resultobj
;
9180 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9182 PyObject
* obj0
= 0 ;
9183 PyObject
* obj1
= 0 ;
9185 (char *) "self",(char *) "pos", NULL
9188 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_ShowPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
9189 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9190 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9191 arg2
= (long) SWIG_AsLong(obj1
);
9192 if (PyErr_Occurred()) SWIG_fail
;
9194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9195 (arg1
)->ShowPosition(arg2
);
9197 wxPyEndAllowThreads(__tstate
);
9198 if (PyErr_Occurred()) SWIG_fail
;
9200 Py_INCREF(Py_None
); resultobj
= Py_None
;
9207 static PyObject
*_wrap_TextCtrl_HitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9208 PyObject
*resultobj
;
9209 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9211 long *arg3
= (long *) 0 ;
9212 long *arg4
= (long *) 0 ;
9217 PyObject
* obj0
= 0 ;
9218 PyObject
* obj1
= 0 ;
9220 (char *) "self",(char *) "pt", NULL
9225 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
9226 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9227 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9230 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
9233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9234 result
= (int)((wxTextCtrl
const *)arg1
)->HitTest((wxPoint
const &)*arg2
,arg3
,arg4
);
9236 wxPyEndAllowThreads(__tstate
);
9237 if (PyErr_Occurred()) SWIG_fail
;
9239 resultobj
= SWIG_FromInt((int)result
);
9241 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
9242 resultobj
= t_output_helper(resultobj
,o
);
9245 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
9246 resultobj
= t_output_helper(resultobj
,o
);
9254 static PyObject
*_wrap_TextCtrl_Copy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9255 PyObject
*resultobj
;
9256 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9257 PyObject
* obj0
= 0 ;
9259 (char *) "self", NULL
9262 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Copy",kwnames
,&obj0
)) goto fail
;
9263 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9264 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9269 wxPyEndAllowThreads(__tstate
);
9270 if (PyErr_Occurred()) SWIG_fail
;
9272 Py_INCREF(Py_None
); resultobj
= Py_None
;
9279 static PyObject
*_wrap_TextCtrl_Cut(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9280 PyObject
*resultobj
;
9281 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9282 PyObject
* obj0
= 0 ;
9284 (char *) "self", NULL
9287 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Cut",kwnames
,&obj0
)) goto fail
;
9288 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9289 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9294 wxPyEndAllowThreads(__tstate
);
9295 if (PyErr_Occurred()) SWIG_fail
;
9297 Py_INCREF(Py_None
); resultobj
= Py_None
;
9304 static PyObject
*_wrap_TextCtrl_Paste(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9305 PyObject
*resultobj
;
9306 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9307 PyObject
* obj0
= 0 ;
9309 (char *) "self", NULL
9312 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Paste",kwnames
,&obj0
)) goto fail
;
9313 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9314 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9319 wxPyEndAllowThreads(__tstate
);
9320 if (PyErr_Occurred()) SWIG_fail
;
9322 Py_INCREF(Py_None
); resultobj
= Py_None
;
9329 static PyObject
*_wrap_TextCtrl_CanCopy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9330 PyObject
*resultobj
;
9331 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9333 PyObject
* obj0
= 0 ;
9335 (char *) "self", NULL
9338 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanCopy",kwnames
,&obj0
)) goto fail
;
9339 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9340 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9343 result
= (bool)((wxTextCtrl
const *)arg1
)->CanCopy();
9345 wxPyEndAllowThreads(__tstate
);
9346 if (PyErr_Occurred()) SWIG_fail
;
9349 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9357 static PyObject
*_wrap_TextCtrl_CanCut(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9358 PyObject
*resultobj
;
9359 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9361 PyObject
* obj0
= 0 ;
9363 (char *) "self", NULL
9366 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanCut",kwnames
,&obj0
)) goto fail
;
9367 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9368 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9371 result
= (bool)((wxTextCtrl
const *)arg1
)->CanCut();
9373 wxPyEndAllowThreads(__tstate
);
9374 if (PyErr_Occurred()) SWIG_fail
;
9377 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9385 static PyObject
*_wrap_TextCtrl_CanPaste(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9386 PyObject
*resultobj
;
9387 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9389 PyObject
* obj0
= 0 ;
9391 (char *) "self", NULL
9394 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanPaste",kwnames
,&obj0
)) goto fail
;
9395 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9396 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9399 result
= (bool)((wxTextCtrl
const *)arg1
)->CanPaste();
9401 wxPyEndAllowThreads(__tstate
);
9402 if (PyErr_Occurred()) SWIG_fail
;
9405 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9413 static PyObject
*_wrap_TextCtrl_Undo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9414 PyObject
*resultobj
;
9415 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9416 PyObject
* obj0
= 0 ;
9418 (char *) "self", NULL
9421 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Undo",kwnames
,&obj0
)) goto fail
;
9422 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9423 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9428 wxPyEndAllowThreads(__tstate
);
9429 if (PyErr_Occurred()) SWIG_fail
;
9431 Py_INCREF(Py_None
); resultobj
= Py_None
;
9438 static PyObject
*_wrap_TextCtrl_Redo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9439 PyObject
*resultobj
;
9440 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9441 PyObject
* obj0
= 0 ;
9443 (char *) "self", NULL
9446 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Redo",kwnames
,&obj0
)) goto fail
;
9447 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9448 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9453 wxPyEndAllowThreads(__tstate
);
9454 if (PyErr_Occurred()) SWIG_fail
;
9456 Py_INCREF(Py_None
); resultobj
= Py_None
;
9463 static PyObject
*_wrap_TextCtrl_CanUndo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9464 PyObject
*resultobj
;
9465 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9467 PyObject
* obj0
= 0 ;
9469 (char *) "self", NULL
9472 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanUndo",kwnames
,&obj0
)) goto fail
;
9473 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9474 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9477 result
= (bool)((wxTextCtrl
const *)arg1
)->CanUndo();
9479 wxPyEndAllowThreads(__tstate
);
9480 if (PyErr_Occurred()) SWIG_fail
;
9483 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9491 static PyObject
*_wrap_TextCtrl_CanRedo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9492 PyObject
*resultobj
;
9493 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9495 PyObject
* obj0
= 0 ;
9497 (char *) "self", NULL
9500 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanRedo",kwnames
,&obj0
)) goto fail
;
9501 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9502 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9505 result
= (bool)((wxTextCtrl
const *)arg1
)->CanRedo();
9507 wxPyEndAllowThreads(__tstate
);
9508 if (PyErr_Occurred()) SWIG_fail
;
9511 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9519 static PyObject
*_wrap_TextCtrl_SetInsertionPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9520 PyObject
*resultobj
;
9521 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9523 PyObject
* obj0
= 0 ;
9524 PyObject
* obj1
= 0 ;
9526 (char *) "self",(char *) "pos", NULL
9529 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetInsertionPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
9530 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9531 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9532 arg2
= (long) SWIG_AsLong(obj1
);
9533 if (PyErr_Occurred()) SWIG_fail
;
9535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9536 (arg1
)->SetInsertionPoint(arg2
);
9538 wxPyEndAllowThreads(__tstate
);
9539 if (PyErr_Occurred()) SWIG_fail
;
9541 Py_INCREF(Py_None
); resultobj
= Py_None
;
9548 static PyObject
*_wrap_TextCtrl_SetInsertionPointEnd(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9549 PyObject
*resultobj
;
9550 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9551 PyObject
* obj0
= 0 ;
9553 (char *) "self", NULL
9556 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_SetInsertionPointEnd",kwnames
,&obj0
)) goto fail
;
9557 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9558 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9561 (arg1
)->SetInsertionPointEnd();
9563 wxPyEndAllowThreads(__tstate
);
9564 if (PyErr_Occurred()) SWIG_fail
;
9566 Py_INCREF(Py_None
); resultobj
= Py_None
;
9573 static PyObject
*_wrap_TextCtrl_GetInsertionPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9574 PyObject
*resultobj
;
9575 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9577 PyObject
* obj0
= 0 ;
9579 (char *) "self", NULL
9582 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetInsertionPoint",kwnames
,&obj0
)) goto fail
;
9583 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9584 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9587 result
= (long)((wxTextCtrl
const *)arg1
)->GetInsertionPoint();
9589 wxPyEndAllowThreads(__tstate
);
9590 if (PyErr_Occurred()) SWIG_fail
;
9592 resultobj
= SWIG_FromLong((long)result
);
9599 static PyObject
*_wrap_TextCtrl_GetLastPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9600 PyObject
*resultobj
;
9601 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9603 PyObject
* obj0
= 0 ;
9605 (char *) "self", NULL
9608 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetLastPosition",kwnames
,&obj0
)) goto fail
;
9609 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9610 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9613 result
= (long)((wxTextCtrl
const *)arg1
)->GetLastPosition();
9615 wxPyEndAllowThreads(__tstate
);
9616 if (PyErr_Occurred()) SWIG_fail
;
9618 resultobj
= SWIG_FromLong((long)result
);
9625 static PyObject
*_wrap_TextCtrl_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9626 PyObject
*resultobj
;
9627 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9630 PyObject
* obj0
= 0 ;
9631 PyObject
* obj1
= 0 ;
9632 PyObject
* obj2
= 0 ;
9634 (char *) "self",(char *) "from",(char *) "to", NULL
9637 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9638 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9639 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9640 arg2
= (long) SWIG_AsLong(obj1
);
9641 if (PyErr_Occurred()) SWIG_fail
;
9642 arg3
= (long) SWIG_AsLong(obj2
);
9643 if (PyErr_Occurred()) SWIG_fail
;
9645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9646 (arg1
)->SetSelection(arg2
,arg3
);
9648 wxPyEndAllowThreads(__tstate
);
9649 if (PyErr_Occurred()) SWIG_fail
;
9651 Py_INCREF(Py_None
); resultobj
= Py_None
;
9658 static PyObject
*_wrap_TextCtrl_SelectAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9659 PyObject
*resultobj
;
9660 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9661 PyObject
* obj0
= 0 ;
9663 (char *) "self", NULL
9666 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_SelectAll",kwnames
,&obj0
)) goto fail
;
9667 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9668 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9671 (arg1
)->SelectAll();
9673 wxPyEndAllowThreads(__tstate
);
9674 if (PyErr_Occurred()) SWIG_fail
;
9676 Py_INCREF(Py_None
); resultobj
= Py_None
;
9683 static PyObject
*_wrap_TextCtrl_SetEditable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9684 PyObject
*resultobj
;
9685 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9687 PyObject
* obj0
= 0 ;
9688 PyObject
* obj1
= 0 ;
9690 (char *) "self",(char *) "editable", NULL
9693 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetEditable",kwnames
,&obj0
,&obj1
)) goto fail
;
9694 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9695 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9696 arg2
= (bool) SWIG_AsBool(obj1
);
9697 if (PyErr_Occurred()) SWIG_fail
;
9699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9700 (arg1
)->SetEditable(arg2
);
9702 wxPyEndAllowThreads(__tstate
);
9703 if (PyErr_Occurred()) SWIG_fail
;
9705 Py_INCREF(Py_None
); resultobj
= Py_None
;
9712 static PyObject
*_wrap_TextCtrl_ShowNativeCaret(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9713 PyObject
*resultobj
;
9714 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9715 bool arg2
= (bool) True
;
9717 PyObject
* obj0
= 0 ;
9718 PyObject
* obj1
= 0 ;
9720 (char *) "self",(char *) "show", NULL
9723 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TextCtrl_ShowNativeCaret",kwnames
,&obj0
,&obj1
)) goto fail
;
9724 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9725 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9727 arg2
= (bool) SWIG_AsBool(obj1
);
9728 if (PyErr_Occurred()) SWIG_fail
;
9731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9732 result
= (bool)(arg1
)->ShowNativeCaret(arg2
);
9734 wxPyEndAllowThreads(__tstate
);
9735 if (PyErr_Occurred()) SWIG_fail
;
9738 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9746 static PyObject
*_wrap_TextCtrl_HideNativeCaret(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9747 PyObject
*resultobj
;
9748 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9750 PyObject
* obj0
= 0 ;
9752 (char *) "self", NULL
9755 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_HideNativeCaret",kwnames
,&obj0
)) goto fail
;
9756 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9757 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9760 result
= (bool)(arg1
)->HideNativeCaret();
9762 wxPyEndAllowThreads(__tstate
);
9763 if (PyErr_Occurred()) SWIG_fail
;
9766 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9774 static PyObject
*_wrap_TextCtrl_write(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9775 PyObject
*resultobj
;
9776 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9777 wxString
*arg2
= 0 ;
9778 bool temp2
= False
;
9779 PyObject
* obj0
= 0 ;
9780 PyObject
* obj1
= 0 ;
9782 (char *) "self",(char *) "text", NULL
9785 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_write",kwnames
,&obj0
,&obj1
)) goto fail
;
9786 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9787 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9789 arg2
= wxString_in_helper(obj1
);
9790 if (arg2
== NULL
) SWIG_fail
;
9794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9795 wxTextCtrl_write(arg1
,(wxString
const &)*arg2
);
9797 wxPyEndAllowThreads(__tstate
);
9798 if (PyErr_Occurred()) SWIG_fail
;
9800 Py_INCREF(Py_None
); resultobj
= Py_None
;
9815 static PyObject
*_wrap_TextCtrl_GetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9816 PyObject
*resultobj
;
9817 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9821 PyObject
* obj0
= 0 ;
9822 PyObject
* obj1
= 0 ;
9823 PyObject
* obj2
= 0 ;
9825 (char *) "self",(char *) "from",(char *) "to", NULL
9828 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_GetString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9829 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9830 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9831 arg2
= (long) SWIG_AsLong(obj1
);
9832 if (PyErr_Occurred()) SWIG_fail
;
9833 arg3
= (long) SWIG_AsLong(obj2
);
9834 if (PyErr_Occurred()) SWIG_fail
;
9836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9837 result
= wxTextCtrl_GetString(arg1
,arg2
,arg3
);
9839 wxPyEndAllowThreads(__tstate
);
9840 if (PyErr_Occurred()) SWIG_fail
;
9844 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9846 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9855 static PyObject
*_wrap_TextCtrl_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9856 PyObject
*resultobj
;
9857 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
9858 wxVisualAttributes result
;
9859 PyObject
* obj0
= 0 ;
9861 (char *) "variant", NULL
9864 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:TextCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
9866 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
9867 if (PyErr_Occurred()) SWIG_fail
;
9870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9871 result
= wxTextCtrl::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
9873 wxPyEndAllowThreads(__tstate
);
9874 if (PyErr_Occurred()) SWIG_fail
;
9877 wxVisualAttributes
* resultptr
;
9878 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
9879 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
9887 static PyObject
* TextCtrl_swigregister(PyObject
*self
, PyObject
*args
) {
9889 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9890 SWIG_TypeClientData(SWIGTYPE_p_wxTextCtrl
, obj
);
9892 return Py_BuildValue((char *)"");
9894 static PyObject
*_wrap_new_TextUrlEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9895 PyObject
*resultobj
;
9897 wxMouseEvent
*arg2
= 0 ;
9900 wxTextUrlEvent
*result
;
9901 PyObject
* obj0
= 0 ;
9902 PyObject
* obj1
= 0 ;
9903 PyObject
* obj2
= 0 ;
9904 PyObject
* obj3
= 0 ;
9906 (char *) "winid",(char *) "evtMouse",(char *) "start",(char *) "end", NULL
9909 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_TextUrlEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9910 arg1
= (int) SWIG_AsInt(obj0
);
9911 if (PyErr_Occurred()) SWIG_fail
;
9912 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMouseEvent
,
9913 SWIG_POINTER_EXCEPTION
| 0)) == -1)
9916 PyErr_SetString(PyExc_TypeError
,"null reference");
9919 arg3
= (long) SWIG_AsLong(obj2
);
9920 if (PyErr_Occurred()) SWIG_fail
;
9921 arg4
= (long) SWIG_AsLong(obj3
);
9922 if (PyErr_Occurred()) SWIG_fail
;
9924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9925 result
= (wxTextUrlEvent
*)new wxTextUrlEvent(arg1
,(wxMouseEvent
const &)*arg2
,arg3
,arg4
);
9927 wxPyEndAllowThreads(__tstate
);
9928 if (PyErr_Occurred()) SWIG_fail
;
9930 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextUrlEvent
, 1);
9937 static PyObject
*_wrap_TextUrlEvent_GetMouseEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9938 PyObject
*resultobj
;
9939 wxTextUrlEvent
*arg1
= (wxTextUrlEvent
*) 0 ;
9940 wxMouseEvent
*result
;
9941 PyObject
* obj0
= 0 ;
9943 (char *) "self", NULL
9946 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextUrlEvent_GetMouseEvent",kwnames
,&obj0
)) goto fail
;
9947 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextUrlEvent
,
9948 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9952 wxMouseEvent
const &_result_ref
= (arg1
)->GetMouseEvent();
9953 result
= (wxMouseEvent
*) &_result_ref
;
9956 wxPyEndAllowThreads(__tstate
);
9957 if (PyErr_Occurred()) SWIG_fail
;
9959 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMouseEvent
, 0);
9966 static PyObject
*_wrap_TextUrlEvent_GetURLStart(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9967 PyObject
*resultobj
;
9968 wxTextUrlEvent
*arg1
= (wxTextUrlEvent
*) 0 ;
9970 PyObject
* obj0
= 0 ;
9972 (char *) "self", NULL
9975 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextUrlEvent_GetURLStart",kwnames
,&obj0
)) goto fail
;
9976 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextUrlEvent
,
9977 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9980 result
= (long)((wxTextUrlEvent
const *)arg1
)->GetURLStart();
9982 wxPyEndAllowThreads(__tstate
);
9983 if (PyErr_Occurred()) SWIG_fail
;
9985 resultobj
= SWIG_FromLong((long)result
);
9992 static PyObject
*_wrap_TextUrlEvent_GetURLEnd(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9993 PyObject
*resultobj
;
9994 wxTextUrlEvent
*arg1
= (wxTextUrlEvent
*) 0 ;
9996 PyObject
* obj0
= 0 ;
9998 (char *) "self", NULL
10001 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextUrlEvent_GetURLEnd",kwnames
,&obj0
)) goto fail
;
10002 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextUrlEvent
,
10003 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10006 result
= (long)((wxTextUrlEvent
const *)arg1
)->GetURLEnd();
10008 wxPyEndAllowThreads(__tstate
);
10009 if (PyErr_Occurred()) SWIG_fail
;
10011 resultobj
= SWIG_FromLong((long)result
);
10018 static PyObject
* TextUrlEvent_swigregister(PyObject
*self
, PyObject
*args
) {
10020 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10021 SWIG_TypeClientData(SWIGTYPE_p_wxTextUrlEvent
, obj
);
10023 return Py_BuildValue((char *)"");
10025 static int _wrap_ScrollBarNameStr_set(PyObject
*_val
) {
10026 PyErr_SetString(PyExc_TypeError
,"Variable ScrollBarNameStr is read-only.");
10031 static PyObject
*_wrap_ScrollBarNameStr_get() {
10036 pyobj
= PyUnicode_FromWideChar((&wxPyScrollBarNameStr
)->c_str(), (&wxPyScrollBarNameStr
)->Len());
10038 pyobj
= PyString_FromStringAndSize((&wxPyScrollBarNameStr
)->c_str(), (&wxPyScrollBarNameStr
)->Len());
10045 static PyObject
*_wrap_new_ScrollBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10046 PyObject
*resultobj
;
10047 wxWindow
*arg1
= (wxWindow
*) 0 ;
10048 int arg2
= (int) -1 ;
10049 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
10050 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
10051 wxSize
const &arg4_defvalue
= wxDefaultSize
;
10052 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
10053 long arg5
= (long) wxSB_HORIZONTAL
;
10054 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
10055 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
10056 wxString
const &arg7_defvalue
= wxPyScrollBarNameStr
;
10057 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
10058 wxScrollBar
*result
;
10061 bool temp7
= False
;
10062 PyObject
* obj0
= 0 ;
10063 PyObject
* obj1
= 0 ;
10064 PyObject
* obj2
= 0 ;
10065 PyObject
* obj3
= 0 ;
10066 PyObject
* obj4
= 0 ;
10067 PyObject
* obj5
= 0 ;
10068 PyObject
* obj6
= 0 ;
10069 char *kwnames
[] = {
10070 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
10073 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_ScrollBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
10074 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
10075 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10077 arg2
= (int) SWIG_AsInt(obj1
);
10078 if (PyErr_Occurred()) SWIG_fail
;
10083 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
10089 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
10093 arg5
= (long) SWIG_AsLong(obj4
);
10094 if (PyErr_Occurred()) SWIG_fail
;
10097 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxValidator
,
10098 SWIG_POINTER_EXCEPTION
| 0)) == -1)
10100 if (arg6
== NULL
) {
10101 PyErr_SetString(PyExc_TypeError
,"null reference");
10107 arg7
= wxString_in_helper(obj6
);
10108 if (arg7
== NULL
) SWIG_fail
;
10113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10114 result
= (wxScrollBar
*)new wxScrollBar(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
10116 wxPyEndAllowThreads(__tstate
);
10117 if (PyErr_Occurred()) SWIG_fail
;
10119 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScrollBar
, 1);
10134 static PyObject
*_wrap_new_PreScrollBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10135 PyObject
*resultobj
;
10136 wxScrollBar
*result
;
10137 char *kwnames
[] = {
10141 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreScrollBar",kwnames
)) goto fail
;
10143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10144 result
= (wxScrollBar
*)new wxScrollBar();
10146 wxPyEndAllowThreads(__tstate
);
10147 if (PyErr_Occurred()) SWIG_fail
;
10149 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScrollBar
, 1);
10156 static PyObject
*_wrap_ScrollBar_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10157 PyObject
*resultobj
;
10158 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
10159 wxWindow
*arg2
= (wxWindow
*) 0 ;
10160 int arg3
= (int) -1 ;
10161 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
10162 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
10163 wxSize
const &arg5_defvalue
= wxDefaultSize
;
10164 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
10165 long arg6
= (long) wxSB_HORIZONTAL
;
10166 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
10167 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
10168 wxString
const &arg8_defvalue
= wxPyScrollBarNameStr
;
10169 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
10173 bool temp8
= False
;
10174 PyObject
* obj0
= 0 ;
10175 PyObject
* obj1
= 0 ;
10176 PyObject
* obj2
= 0 ;
10177 PyObject
* obj3
= 0 ;
10178 PyObject
* obj4
= 0 ;
10179 PyObject
* obj5
= 0 ;
10180 PyObject
* obj6
= 0 ;
10181 PyObject
* obj7
= 0 ;
10182 char *kwnames
[] = {
10183 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
10186 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:ScrollBar_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
10187 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollBar
,
10188 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10189 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
10190 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10192 arg3
= (int) SWIG_AsInt(obj2
);
10193 if (PyErr_Occurred()) SWIG_fail
;
10198 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
10204 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
10208 arg6
= (long) SWIG_AsLong(obj5
);
10209 if (PyErr_Occurred()) SWIG_fail
;
10212 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
10213 SWIG_POINTER_EXCEPTION
| 0)) == -1)
10215 if (arg7
== NULL
) {
10216 PyErr_SetString(PyExc_TypeError
,"null reference");
10222 arg8
= wxString_in_helper(obj7
);
10223 if (arg8
== NULL
) SWIG_fail
;
10228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10229 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
10231 wxPyEndAllowThreads(__tstate
);
10232 if (PyErr_Occurred()) SWIG_fail
;
10235 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10251 static PyObject
*_wrap_ScrollBar_GetThumbPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10252 PyObject
*resultobj
;
10253 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
10255 PyObject
* obj0
= 0 ;
10256 char *kwnames
[] = {
10257 (char *) "self", NULL
10260 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_GetThumbPosition",kwnames
,&obj0
)) goto fail
;
10261 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollBar
,
10262 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10265 result
= (int)((wxScrollBar
const *)arg1
)->GetThumbPosition();
10267 wxPyEndAllowThreads(__tstate
);
10268 if (PyErr_Occurred()) SWIG_fail
;
10270 resultobj
= SWIG_FromInt((int)result
);
10277 static PyObject
*_wrap_ScrollBar_GetThumbSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10278 PyObject
*resultobj
;
10279 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
10281 PyObject
* obj0
= 0 ;
10282 char *kwnames
[] = {
10283 (char *) "self", NULL
10286 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_GetThumbSize",kwnames
,&obj0
)) goto fail
;
10287 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollBar
,
10288 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10291 result
= (int)((wxScrollBar
const *)arg1
)->GetThumbSize();
10293 wxPyEndAllowThreads(__tstate
);
10294 if (PyErr_Occurred()) SWIG_fail
;
10296 resultobj
= SWIG_FromInt((int)result
);
10303 static PyObject
*_wrap_ScrollBar_GetPageSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10304 PyObject
*resultobj
;
10305 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
10307 PyObject
* obj0
= 0 ;
10308 char *kwnames
[] = {
10309 (char *) "self", NULL
10312 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_GetPageSize",kwnames
,&obj0
)) goto fail
;
10313 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollBar
,
10314 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10317 result
= (int)((wxScrollBar
const *)arg1
)->GetPageSize();
10319 wxPyEndAllowThreads(__tstate
);
10320 if (PyErr_Occurred()) SWIG_fail
;
10322 resultobj
= SWIG_FromInt((int)result
);
10329 static PyObject
*_wrap_ScrollBar_GetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10330 PyObject
*resultobj
;
10331 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
10333 PyObject
* obj0
= 0 ;
10334 char *kwnames
[] = {
10335 (char *) "self", NULL
10338 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_GetRange",kwnames
,&obj0
)) goto fail
;
10339 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollBar
,
10340 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10343 result
= (int)((wxScrollBar
const *)arg1
)->GetRange();
10345 wxPyEndAllowThreads(__tstate
);
10346 if (PyErr_Occurred()) SWIG_fail
;
10348 resultobj
= SWIG_FromInt((int)result
);
10355 static PyObject
*_wrap_ScrollBar_IsVertical(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10356 PyObject
*resultobj
;
10357 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
10359 PyObject
* obj0
= 0 ;
10360 char *kwnames
[] = {
10361 (char *) "self", NULL
10364 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_IsVertical",kwnames
,&obj0
)) goto fail
;
10365 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollBar
,
10366 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10369 result
= (bool)((wxScrollBar
const *)arg1
)->IsVertical();
10371 wxPyEndAllowThreads(__tstate
);
10372 if (PyErr_Occurred()) SWIG_fail
;
10375 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10383 static PyObject
*_wrap_ScrollBar_SetThumbPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10384 PyObject
*resultobj
;
10385 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
10387 PyObject
* obj0
= 0 ;
10388 PyObject
* obj1
= 0 ;
10389 char *kwnames
[] = {
10390 (char *) "self",(char *) "viewStart", NULL
10393 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollBar_SetThumbPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
10394 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollBar
,
10395 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10396 arg2
= (int) SWIG_AsInt(obj1
);
10397 if (PyErr_Occurred()) SWIG_fail
;
10399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10400 (arg1
)->SetThumbPosition(arg2
);
10402 wxPyEndAllowThreads(__tstate
);
10403 if (PyErr_Occurred()) SWIG_fail
;
10405 Py_INCREF(Py_None
); resultobj
= Py_None
;
10412 static PyObject
*_wrap_ScrollBar_SetScrollbar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10413 PyObject
*resultobj
;
10414 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
10419 bool arg6
= (bool) True
;
10420 PyObject
* obj0
= 0 ;
10421 PyObject
* obj1
= 0 ;
10422 PyObject
* obj2
= 0 ;
10423 PyObject
* obj3
= 0 ;
10424 PyObject
* obj4
= 0 ;
10425 PyObject
* obj5
= 0 ;
10426 char *kwnames
[] = {
10427 (char *) "self",(char *) "position",(char *) "thumbSize",(char *) "range",(char *) "pageSize",(char *) "refresh", NULL
10430 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:ScrollBar_SetScrollbar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
10431 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollBar
,
10432 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10433 arg2
= (int) SWIG_AsInt(obj1
);
10434 if (PyErr_Occurred()) SWIG_fail
;
10435 arg3
= (int) SWIG_AsInt(obj2
);
10436 if (PyErr_Occurred()) SWIG_fail
;
10437 arg4
= (int) SWIG_AsInt(obj3
);
10438 if (PyErr_Occurred()) SWIG_fail
;
10439 arg5
= (int) SWIG_AsInt(obj4
);
10440 if (PyErr_Occurred()) SWIG_fail
;
10442 arg6
= (bool) SWIG_AsBool(obj5
);
10443 if (PyErr_Occurred()) SWIG_fail
;
10446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10447 (arg1
)->SetScrollbar(arg2
,arg3
,arg4
,arg5
,arg6
);
10449 wxPyEndAllowThreads(__tstate
);
10450 if (PyErr_Occurred()) SWIG_fail
;
10452 Py_INCREF(Py_None
); resultobj
= Py_None
;
10459 static PyObject
*_wrap_ScrollBar_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10460 PyObject
*resultobj
;
10461 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
10462 wxVisualAttributes result
;
10463 PyObject
* obj0
= 0 ;
10464 char *kwnames
[] = {
10465 (char *) "variant", NULL
10468 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ScrollBar_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
10470 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
10471 if (PyErr_Occurred()) SWIG_fail
;
10474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10475 result
= wxScrollBar::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
10477 wxPyEndAllowThreads(__tstate
);
10478 if (PyErr_Occurred()) SWIG_fail
;
10481 wxVisualAttributes
* resultptr
;
10482 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
10483 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
10491 static PyObject
* ScrollBar_swigregister(PyObject
*self
, PyObject
*args
) {
10493 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10494 SWIG_TypeClientData(SWIGTYPE_p_wxScrollBar
, obj
);
10496 return Py_BuildValue((char *)"");
10498 static int _wrap_SPIN_BUTTON_NAME_set(PyObject
*_val
) {
10499 PyErr_SetString(PyExc_TypeError
,"Variable SPIN_BUTTON_NAME is read-only.");
10504 static PyObject
*_wrap_SPIN_BUTTON_NAME_get() {
10509 pyobj
= PyUnicode_FromWideChar((&wxPySPIN_BUTTON_NAME
)->c_str(), (&wxPySPIN_BUTTON_NAME
)->Len());
10511 pyobj
= PyString_FromStringAndSize((&wxPySPIN_BUTTON_NAME
)->c_str(), (&wxPySPIN_BUTTON_NAME
)->Len());
10518 static int _wrap_SpinCtrlNameStr_set(PyObject
*_val
) {
10519 PyErr_SetString(PyExc_TypeError
,"Variable SpinCtrlNameStr is read-only.");
10524 static PyObject
*_wrap_SpinCtrlNameStr_get() {
10529 pyobj
= PyUnicode_FromWideChar((&wxPySpinCtrlNameStr
)->c_str(), (&wxPySpinCtrlNameStr
)->Len());
10531 pyobj
= PyString_FromStringAndSize((&wxPySpinCtrlNameStr
)->c_str(), (&wxPySpinCtrlNameStr
)->Len());
10538 static PyObject
*_wrap_new_SpinButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10539 PyObject
*resultobj
;
10540 wxWindow
*arg1
= (wxWindow
*) 0 ;
10541 int arg2
= (int) -1 ;
10542 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
10543 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
10544 wxSize
const &arg4_defvalue
= wxDefaultSize
;
10545 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
10546 long arg5
= (long) wxSP_HORIZONTAL
;
10547 wxString
const &arg6_defvalue
= wxPySPIN_BUTTON_NAME
;
10548 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
10549 wxSpinButton
*result
;
10552 bool temp6
= False
;
10553 PyObject
* obj0
= 0 ;
10554 PyObject
* obj1
= 0 ;
10555 PyObject
* obj2
= 0 ;
10556 PyObject
* obj3
= 0 ;
10557 PyObject
* obj4
= 0 ;
10558 PyObject
* obj5
= 0 ;
10559 char *kwnames
[] = {
10560 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10563 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_SpinButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
10564 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
10565 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10567 arg2
= (int) SWIG_AsInt(obj1
);
10568 if (PyErr_Occurred()) SWIG_fail
;
10573 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
10579 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
10583 arg5
= (long) SWIG_AsLong(obj4
);
10584 if (PyErr_Occurred()) SWIG_fail
;
10588 arg6
= wxString_in_helper(obj5
);
10589 if (arg6
== NULL
) SWIG_fail
;
10594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10595 result
= (wxSpinButton
*)new wxSpinButton(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
10597 wxPyEndAllowThreads(__tstate
);
10598 if (PyErr_Occurred()) SWIG_fail
;
10600 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSpinButton
, 1);
10615 static PyObject
*_wrap_new_PreSpinButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10616 PyObject
*resultobj
;
10617 wxSpinButton
*result
;
10618 char *kwnames
[] = {
10622 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSpinButton",kwnames
)) goto fail
;
10624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10625 result
= (wxSpinButton
*)new wxSpinButton();
10627 wxPyEndAllowThreads(__tstate
);
10628 if (PyErr_Occurred()) SWIG_fail
;
10630 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSpinButton
, 1);
10637 static PyObject
*_wrap_SpinButton_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10638 PyObject
*resultobj
;
10639 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
10640 wxWindow
*arg2
= (wxWindow
*) 0 ;
10641 int arg3
= (int) -1 ;
10642 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
10643 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
10644 wxSize
const &arg5_defvalue
= wxDefaultSize
;
10645 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
10646 long arg6
= (long) wxSP_HORIZONTAL
;
10647 wxString
const &arg7_defvalue
= wxPySPIN_BUTTON_NAME
;
10648 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
10652 bool temp7
= False
;
10653 PyObject
* obj0
= 0 ;
10654 PyObject
* obj1
= 0 ;
10655 PyObject
* obj2
= 0 ;
10656 PyObject
* obj3
= 0 ;
10657 PyObject
* obj4
= 0 ;
10658 PyObject
* obj5
= 0 ;
10659 PyObject
* obj6
= 0 ;
10660 char *kwnames
[] = {
10661 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10664 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:SpinButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
10665 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinButton
,
10666 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10667 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
10668 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10670 arg3
= (int) SWIG_AsInt(obj2
);
10671 if (PyErr_Occurred()) SWIG_fail
;
10676 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
10682 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
10686 arg6
= (long) SWIG_AsLong(obj5
);
10687 if (PyErr_Occurred()) SWIG_fail
;
10691 arg7
= wxString_in_helper(obj6
);
10692 if (arg7
== NULL
) SWIG_fail
;
10697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10698 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
10700 wxPyEndAllowThreads(__tstate
);
10701 if (PyErr_Occurred()) SWIG_fail
;
10704 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10720 static PyObject
*_wrap_SpinButton_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10721 PyObject
*resultobj
;
10722 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
10724 PyObject
* obj0
= 0 ;
10725 char *kwnames
[] = {
10726 (char *) "self", NULL
10729 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinButton_GetValue",kwnames
,&obj0
)) goto fail
;
10730 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinButton
,
10731 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10734 result
= (int)((wxSpinButton
const *)arg1
)->GetValue();
10736 wxPyEndAllowThreads(__tstate
);
10737 if (PyErr_Occurred()) SWIG_fail
;
10739 resultobj
= SWIG_FromInt((int)result
);
10746 static PyObject
*_wrap_SpinButton_GetMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10747 PyObject
*resultobj
;
10748 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
10750 PyObject
* obj0
= 0 ;
10751 char *kwnames
[] = {
10752 (char *) "self", NULL
10755 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinButton_GetMin",kwnames
,&obj0
)) goto fail
;
10756 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinButton
,
10757 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10760 result
= (int)((wxSpinButton
const *)arg1
)->GetMin();
10762 wxPyEndAllowThreads(__tstate
);
10763 if (PyErr_Occurred()) SWIG_fail
;
10765 resultobj
= SWIG_FromInt((int)result
);
10772 static PyObject
*_wrap_SpinButton_GetMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10773 PyObject
*resultobj
;
10774 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
10776 PyObject
* obj0
= 0 ;
10777 char *kwnames
[] = {
10778 (char *) "self", NULL
10781 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinButton_GetMax",kwnames
,&obj0
)) goto fail
;
10782 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinButton
,
10783 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10786 result
= (int)((wxSpinButton
const *)arg1
)->GetMax();
10788 wxPyEndAllowThreads(__tstate
);
10789 if (PyErr_Occurred()) SWIG_fail
;
10791 resultobj
= SWIG_FromInt((int)result
);
10798 static PyObject
*_wrap_SpinButton_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10799 PyObject
*resultobj
;
10800 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
10802 PyObject
* obj0
= 0 ;
10803 PyObject
* obj1
= 0 ;
10804 char *kwnames
[] = {
10805 (char *) "self",(char *) "val", NULL
10808 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinButton_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
10809 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinButton
,
10810 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10811 arg2
= (int) SWIG_AsInt(obj1
);
10812 if (PyErr_Occurred()) SWIG_fail
;
10814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10815 (arg1
)->SetValue(arg2
);
10817 wxPyEndAllowThreads(__tstate
);
10818 if (PyErr_Occurred()) SWIG_fail
;
10820 Py_INCREF(Py_None
); resultobj
= Py_None
;
10827 static PyObject
*_wrap_SpinButton_SetMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10828 PyObject
*resultobj
;
10829 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
10831 PyObject
* obj0
= 0 ;
10832 PyObject
* obj1
= 0 ;
10833 char *kwnames
[] = {
10834 (char *) "self",(char *) "minVal", NULL
10837 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinButton_SetMin",kwnames
,&obj0
,&obj1
)) goto fail
;
10838 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinButton
,
10839 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10840 arg2
= (int) SWIG_AsInt(obj1
);
10841 if (PyErr_Occurred()) SWIG_fail
;
10843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10844 (arg1
)->SetMin(arg2
);
10846 wxPyEndAllowThreads(__tstate
);
10847 if (PyErr_Occurred()) SWIG_fail
;
10849 Py_INCREF(Py_None
); resultobj
= Py_None
;
10856 static PyObject
*_wrap_SpinButton_SetMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10857 PyObject
*resultobj
;
10858 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
10860 PyObject
* obj0
= 0 ;
10861 PyObject
* obj1
= 0 ;
10862 char *kwnames
[] = {
10863 (char *) "self",(char *) "maxVal", NULL
10866 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinButton_SetMax",kwnames
,&obj0
,&obj1
)) goto fail
;
10867 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinButton
,
10868 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10869 arg2
= (int) SWIG_AsInt(obj1
);
10870 if (PyErr_Occurred()) SWIG_fail
;
10872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10873 (arg1
)->SetMax(arg2
);
10875 wxPyEndAllowThreads(__tstate
);
10876 if (PyErr_Occurred()) SWIG_fail
;
10878 Py_INCREF(Py_None
); resultobj
= Py_None
;
10885 static PyObject
*_wrap_SpinButton_SetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10886 PyObject
*resultobj
;
10887 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
10890 PyObject
* obj0
= 0 ;
10891 PyObject
* obj1
= 0 ;
10892 PyObject
* obj2
= 0 ;
10893 char *kwnames
[] = {
10894 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
10897 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SpinButton_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10898 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinButton
,
10899 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10900 arg2
= (int) SWIG_AsInt(obj1
);
10901 if (PyErr_Occurred()) SWIG_fail
;
10902 arg3
= (int) SWIG_AsInt(obj2
);
10903 if (PyErr_Occurred()) SWIG_fail
;
10905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10906 (arg1
)->SetRange(arg2
,arg3
);
10908 wxPyEndAllowThreads(__tstate
);
10909 if (PyErr_Occurred()) SWIG_fail
;
10911 Py_INCREF(Py_None
); resultobj
= Py_None
;
10918 static PyObject
*_wrap_SpinButton_IsVertical(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10919 PyObject
*resultobj
;
10920 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
10922 PyObject
* obj0
= 0 ;
10923 char *kwnames
[] = {
10924 (char *) "self", NULL
10927 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinButton_IsVertical",kwnames
,&obj0
)) goto fail
;
10928 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinButton
,
10929 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10932 result
= (bool)((wxSpinButton
const *)arg1
)->IsVertical();
10934 wxPyEndAllowThreads(__tstate
);
10935 if (PyErr_Occurred()) SWIG_fail
;
10938 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10946 static PyObject
*_wrap_SpinButton_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10947 PyObject
*resultobj
;
10948 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
10949 wxVisualAttributes result
;
10950 PyObject
* obj0
= 0 ;
10951 char *kwnames
[] = {
10952 (char *) "variant", NULL
10955 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:SpinButton_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
10957 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
10958 if (PyErr_Occurred()) SWIG_fail
;
10961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10962 result
= wxSpinButton::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
10964 wxPyEndAllowThreads(__tstate
);
10965 if (PyErr_Occurred()) SWIG_fail
;
10968 wxVisualAttributes
* resultptr
;
10969 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
10970 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
10978 static PyObject
* SpinButton_swigregister(PyObject
*self
, PyObject
*args
) {
10980 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10981 SWIG_TypeClientData(SWIGTYPE_p_wxSpinButton
, obj
);
10983 return Py_BuildValue((char *)"");
10985 static PyObject
*_wrap_new_SpinCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10986 PyObject
*resultobj
;
10987 wxWindow
*arg1
= (wxWindow
*) 0 ;
10988 int arg2
= (int) -1 ;
10989 wxString
const &arg3_defvalue
= wxPyEmptyString
;
10990 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
10991 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
10992 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
10993 wxSize
const &arg5_defvalue
= wxDefaultSize
;
10994 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
10995 long arg6
= (long) wxSP_ARROW_KEYS
;
10996 int arg7
= (int) 0 ;
10997 int arg8
= (int) 100 ;
10998 int arg9
= (int) 0 ;
10999 wxString
const &arg10_defvalue
= wxPySpinCtrlNameStr
;
11000 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
11001 wxSpinCtrl
*result
;
11002 bool temp3
= False
;
11005 bool temp10
= False
;
11006 PyObject
* obj0
= 0 ;
11007 PyObject
* obj1
= 0 ;
11008 PyObject
* obj2
= 0 ;
11009 PyObject
* obj3
= 0 ;
11010 PyObject
* obj4
= 0 ;
11011 PyObject
* obj5
= 0 ;
11012 PyObject
* obj6
= 0 ;
11013 PyObject
* obj7
= 0 ;
11014 PyObject
* obj8
= 0 ;
11015 PyObject
* obj9
= 0 ;
11016 char *kwnames
[] = {
11017 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
11020 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOOO:new_SpinCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
11021 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
11022 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11024 arg2
= (int) SWIG_AsInt(obj1
);
11025 if (PyErr_Occurred()) SWIG_fail
;
11029 arg3
= wxString_in_helper(obj2
);
11030 if (arg3
== NULL
) SWIG_fail
;
11037 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
11043 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
11047 arg6
= (long) SWIG_AsLong(obj5
);
11048 if (PyErr_Occurred()) SWIG_fail
;
11051 arg7
= (int) SWIG_AsInt(obj6
);
11052 if (PyErr_Occurred()) SWIG_fail
;
11055 arg8
= (int) SWIG_AsInt(obj7
);
11056 if (PyErr_Occurred()) SWIG_fail
;
11059 arg9
= (int) SWIG_AsInt(obj8
);
11060 if (PyErr_Occurred()) SWIG_fail
;
11064 arg10
= wxString_in_helper(obj9
);
11065 if (arg10
== NULL
) SWIG_fail
;
11070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11071 result
= (wxSpinCtrl
*)new wxSpinCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,arg7
,arg8
,arg9
,(wxString
const &)*arg10
);
11073 wxPyEndAllowThreads(__tstate
);
11074 if (PyErr_Occurred()) SWIG_fail
;
11076 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSpinCtrl
, 1);
11099 static PyObject
*_wrap_new_PreSpinCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11100 PyObject
*resultobj
;
11101 wxSpinCtrl
*result
;
11102 char *kwnames
[] = {
11106 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSpinCtrl",kwnames
)) goto fail
;
11108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11109 result
= (wxSpinCtrl
*)new wxSpinCtrl();
11111 wxPyEndAllowThreads(__tstate
);
11112 if (PyErr_Occurred()) SWIG_fail
;
11114 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSpinCtrl
, 1);
11121 static PyObject
*_wrap_SpinCtrl_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11122 PyObject
*resultobj
;
11123 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
11124 wxWindow
*arg2
= (wxWindow
*) 0 ;
11125 int arg3
= (int) -1 ;
11126 wxString
const &arg4_defvalue
= wxPyEmptyString
;
11127 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
11128 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
11129 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
11130 wxSize
const &arg6_defvalue
= wxDefaultSize
;
11131 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
11132 long arg7
= (long) wxSP_ARROW_KEYS
;
11133 int arg8
= (int) 0 ;
11134 int arg9
= (int) 100 ;
11135 int arg10
= (int) 0 ;
11136 wxString
const &arg11_defvalue
= wxPySpinCtrlNameStr
;
11137 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
11139 bool temp4
= False
;
11142 bool temp11
= False
;
11143 PyObject
* obj0
= 0 ;
11144 PyObject
* obj1
= 0 ;
11145 PyObject
* obj2
= 0 ;
11146 PyObject
* obj3
= 0 ;
11147 PyObject
* obj4
= 0 ;
11148 PyObject
* obj5
= 0 ;
11149 PyObject
* obj6
= 0 ;
11150 PyObject
* obj7
= 0 ;
11151 PyObject
* obj8
= 0 ;
11152 PyObject
* obj9
= 0 ;
11153 PyObject
* obj10
= 0 ;
11154 char *kwnames
[] = {
11155 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
11158 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOOO:SpinCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) goto fail
;
11159 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinCtrl
,
11160 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11161 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
11162 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11164 arg3
= (int) SWIG_AsInt(obj2
);
11165 if (PyErr_Occurred()) SWIG_fail
;
11169 arg4
= wxString_in_helper(obj3
);
11170 if (arg4
== NULL
) SWIG_fail
;
11177 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
11183 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
11187 arg7
= (long) SWIG_AsLong(obj6
);
11188 if (PyErr_Occurred()) SWIG_fail
;
11191 arg8
= (int) SWIG_AsInt(obj7
);
11192 if (PyErr_Occurred()) SWIG_fail
;
11195 arg9
= (int) SWIG_AsInt(obj8
);
11196 if (PyErr_Occurred()) SWIG_fail
;
11199 arg10
= (int) SWIG_AsInt(obj9
);
11200 if (PyErr_Occurred()) SWIG_fail
;
11204 arg11
= wxString_in_helper(obj10
);
11205 if (arg11
== NULL
) SWIG_fail
;
11210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11211 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,arg8
,arg9
,arg10
,(wxString
const &)*arg11
);
11213 wxPyEndAllowThreads(__tstate
);
11214 if (PyErr_Occurred()) SWIG_fail
;
11217 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11241 static PyObject
*_wrap_SpinCtrl_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11242 PyObject
*resultobj
;
11243 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
11245 PyObject
* obj0
= 0 ;
11246 char *kwnames
[] = {
11247 (char *) "self", NULL
11250 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinCtrl_GetValue",kwnames
,&obj0
)) goto fail
;
11251 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinCtrl
,
11252 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11255 result
= (int)((wxSpinCtrl
const *)arg1
)->GetValue();
11257 wxPyEndAllowThreads(__tstate
);
11258 if (PyErr_Occurred()) SWIG_fail
;
11260 resultobj
= SWIG_FromInt((int)result
);
11267 static PyObject
*_wrap_SpinCtrl_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11268 PyObject
*resultobj
;
11269 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
11271 PyObject
* obj0
= 0 ;
11272 PyObject
* obj1
= 0 ;
11273 char *kwnames
[] = {
11274 (char *) "self",(char *) "value", NULL
11277 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinCtrl_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
11278 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinCtrl
,
11279 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11280 arg2
= (int) SWIG_AsInt(obj1
);
11281 if (PyErr_Occurred()) SWIG_fail
;
11283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11284 (arg1
)->SetValue(arg2
);
11286 wxPyEndAllowThreads(__tstate
);
11287 if (PyErr_Occurred()) SWIG_fail
;
11289 Py_INCREF(Py_None
); resultobj
= Py_None
;
11296 static PyObject
*_wrap_SpinCtrl_SetValueString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11297 PyObject
*resultobj
;
11298 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
11299 wxString
*arg2
= 0 ;
11300 bool temp2
= False
;
11301 PyObject
* obj0
= 0 ;
11302 PyObject
* obj1
= 0 ;
11303 char *kwnames
[] = {
11304 (char *) "self",(char *) "text", NULL
11307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinCtrl_SetValueString",kwnames
,&obj0
,&obj1
)) goto fail
;
11308 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinCtrl
,
11309 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11311 arg2
= wxString_in_helper(obj1
);
11312 if (arg2
== NULL
) SWIG_fail
;
11316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11317 (arg1
)->SetValue((wxString
const &)*arg2
);
11319 wxPyEndAllowThreads(__tstate
);
11320 if (PyErr_Occurred()) SWIG_fail
;
11322 Py_INCREF(Py_None
); resultobj
= Py_None
;
11337 static PyObject
*_wrap_SpinCtrl_SetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11338 PyObject
*resultobj
;
11339 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
11342 PyObject
* obj0
= 0 ;
11343 PyObject
* obj1
= 0 ;
11344 PyObject
* obj2
= 0 ;
11345 char *kwnames
[] = {
11346 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
11349 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SpinCtrl_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11350 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinCtrl
,
11351 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11352 arg2
= (int) SWIG_AsInt(obj1
);
11353 if (PyErr_Occurred()) SWIG_fail
;
11354 arg3
= (int) SWIG_AsInt(obj2
);
11355 if (PyErr_Occurred()) SWIG_fail
;
11357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11358 (arg1
)->SetRange(arg2
,arg3
);
11360 wxPyEndAllowThreads(__tstate
);
11361 if (PyErr_Occurred()) SWIG_fail
;
11363 Py_INCREF(Py_None
); resultobj
= Py_None
;
11370 static PyObject
*_wrap_SpinCtrl_GetMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11371 PyObject
*resultobj
;
11372 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
11374 PyObject
* obj0
= 0 ;
11375 char *kwnames
[] = {
11376 (char *) "self", NULL
11379 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinCtrl_GetMin",kwnames
,&obj0
)) goto fail
;
11380 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinCtrl
,
11381 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11384 result
= (int)((wxSpinCtrl
const *)arg1
)->GetMin();
11386 wxPyEndAllowThreads(__tstate
);
11387 if (PyErr_Occurred()) SWIG_fail
;
11389 resultobj
= SWIG_FromInt((int)result
);
11396 static PyObject
*_wrap_SpinCtrl_GetMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11397 PyObject
*resultobj
;
11398 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
11400 PyObject
* obj0
= 0 ;
11401 char *kwnames
[] = {
11402 (char *) "self", NULL
11405 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinCtrl_GetMax",kwnames
,&obj0
)) goto fail
;
11406 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinCtrl
,
11407 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11410 result
= (int)((wxSpinCtrl
const *)arg1
)->GetMax();
11412 wxPyEndAllowThreads(__tstate
);
11413 if (PyErr_Occurred()) SWIG_fail
;
11415 resultobj
= SWIG_FromInt((int)result
);
11422 static PyObject
*_wrap_SpinCtrl_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11423 PyObject
*resultobj
;
11424 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
11427 PyObject
* obj0
= 0 ;
11428 PyObject
* obj1
= 0 ;
11429 PyObject
* obj2
= 0 ;
11430 char *kwnames
[] = {
11431 (char *) "self",(char *) "from",(char *) "to", NULL
11434 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SpinCtrl_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11435 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinCtrl
,
11436 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11437 arg2
= (long) SWIG_AsLong(obj1
);
11438 if (PyErr_Occurred()) SWIG_fail
;
11439 arg3
= (long) SWIG_AsLong(obj2
);
11440 if (PyErr_Occurred()) SWIG_fail
;
11442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11443 (arg1
)->SetSelection(arg2
,arg3
);
11445 wxPyEndAllowThreads(__tstate
);
11446 if (PyErr_Occurred()) SWIG_fail
;
11448 Py_INCREF(Py_None
); resultobj
= Py_None
;
11455 static PyObject
*_wrap_SpinCtrl_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11456 PyObject
*resultobj
;
11457 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
11458 wxVisualAttributes result
;
11459 PyObject
* obj0
= 0 ;
11460 char *kwnames
[] = {
11461 (char *) "variant", NULL
11464 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:SpinCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
11466 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
11467 if (PyErr_Occurred()) SWIG_fail
;
11470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11471 result
= wxSpinCtrl::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
11473 wxPyEndAllowThreads(__tstate
);
11474 if (PyErr_Occurred()) SWIG_fail
;
11477 wxVisualAttributes
* resultptr
;
11478 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
11479 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
11487 static PyObject
* SpinCtrl_swigregister(PyObject
*self
, PyObject
*args
) {
11489 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11490 SWIG_TypeClientData(SWIGTYPE_p_wxSpinCtrl
, obj
);
11492 return Py_BuildValue((char *)"");
11494 static PyObject
*_wrap_new_SpinEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11495 PyObject
*resultobj
;
11496 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
11497 int arg2
= (int) 0 ;
11498 wxSpinEvent
*result
;
11499 PyObject
* obj0
= 0 ;
11500 PyObject
* obj1
= 0 ;
11501 char *kwnames
[] = {
11502 (char *) "commandType",(char *) "winid", NULL
11505 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SpinEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
11507 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
11508 if (PyErr_Occurred()) SWIG_fail
;
11511 arg2
= (int) SWIG_AsInt(obj1
);
11512 if (PyErr_Occurred()) SWIG_fail
;
11515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11516 result
= (wxSpinEvent
*)new wxSpinEvent(arg1
,arg2
);
11518 wxPyEndAllowThreads(__tstate
);
11519 if (PyErr_Occurred()) SWIG_fail
;
11521 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSpinEvent
, 1);
11528 static PyObject
*_wrap_SpinEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11529 PyObject
*resultobj
;
11530 wxSpinEvent
*arg1
= (wxSpinEvent
*) 0 ;
11532 PyObject
* obj0
= 0 ;
11533 char *kwnames
[] = {
11534 (char *) "self", NULL
11537 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
11538 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinEvent
,
11539 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11542 result
= (int)((wxSpinEvent
const *)arg1
)->GetPosition();
11544 wxPyEndAllowThreads(__tstate
);
11545 if (PyErr_Occurred()) SWIG_fail
;
11547 resultobj
= SWIG_FromInt((int)result
);
11554 static PyObject
*_wrap_SpinEvent_SetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11555 PyObject
*resultobj
;
11556 wxSpinEvent
*arg1
= (wxSpinEvent
*) 0 ;
11558 PyObject
* obj0
= 0 ;
11559 PyObject
* obj1
= 0 ;
11560 char *kwnames
[] = {
11561 (char *) "self",(char *) "pos", NULL
11564 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
11565 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinEvent
,
11566 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11567 arg2
= (int) SWIG_AsInt(obj1
);
11568 if (PyErr_Occurred()) SWIG_fail
;
11570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11571 (arg1
)->SetPosition(arg2
);
11573 wxPyEndAllowThreads(__tstate
);
11574 if (PyErr_Occurred()) SWIG_fail
;
11576 Py_INCREF(Py_None
); resultobj
= Py_None
;
11583 static PyObject
* SpinEvent_swigregister(PyObject
*self
, PyObject
*args
) {
11585 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11586 SWIG_TypeClientData(SWIGTYPE_p_wxSpinEvent
, obj
);
11588 return Py_BuildValue((char *)"");
11590 static int _wrap_RadioBoxNameStr_set(PyObject
*_val
) {
11591 PyErr_SetString(PyExc_TypeError
,"Variable RadioBoxNameStr is read-only.");
11596 static PyObject
*_wrap_RadioBoxNameStr_get() {
11601 pyobj
= PyUnicode_FromWideChar((&wxPyRadioBoxNameStr
)->c_str(), (&wxPyRadioBoxNameStr
)->Len());
11603 pyobj
= PyString_FromStringAndSize((&wxPyRadioBoxNameStr
)->c_str(), (&wxPyRadioBoxNameStr
)->Len());
11610 static int _wrap_RadioButtonNameStr_set(PyObject
*_val
) {
11611 PyErr_SetString(PyExc_TypeError
,"Variable RadioButtonNameStr is read-only.");
11616 static PyObject
*_wrap_RadioButtonNameStr_get() {
11621 pyobj
= PyUnicode_FromWideChar((&wxPyRadioButtonNameStr
)->c_str(), (&wxPyRadioButtonNameStr
)->Len());
11623 pyobj
= PyString_FromStringAndSize((&wxPyRadioButtonNameStr
)->c_str(), (&wxPyRadioButtonNameStr
)->Len());
11630 static PyObject
*_wrap_new_RadioBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11631 PyObject
*resultobj
;
11632 wxWindow
*arg1
= (wxWindow
*) 0 ;
11634 wxString
*arg3
= 0 ;
11635 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
11636 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
11637 wxSize
const &arg5_defvalue
= wxDefaultSize
;
11638 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
11639 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
11640 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
11641 int arg7
= (int) 0 ;
11642 long arg8
= (long) wxRA_HORIZONTAL
;
11643 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
11644 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
11645 wxString
const &arg10_defvalue
= wxPyRadioBoxNameStr
;
11646 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
11647 wxRadioBox
*result
;
11648 bool temp3
= False
;
11651 bool temp6
= False
;
11652 bool temp10
= False
;
11653 PyObject
* obj0
= 0 ;
11654 PyObject
* obj1
= 0 ;
11655 PyObject
* obj2
= 0 ;
11656 PyObject
* obj3
= 0 ;
11657 PyObject
* obj4
= 0 ;
11658 PyObject
* obj5
= 0 ;
11659 PyObject
* obj6
= 0 ;
11660 PyObject
* obj7
= 0 ;
11661 PyObject
* obj8
= 0 ;
11662 PyObject
* obj9
= 0 ;
11663 char *kwnames
[] = {
11664 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
11667 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOOO:new_RadioBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
11668 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
11669 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11670 arg2
= (int) SWIG_AsInt(obj1
);
11671 if (PyErr_Occurred()) SWIG_fail
;
11673 arg3
= wxString_in_helper(obj2
);
11674 if (arg3
== NULL
) SWIG_fail
;
11680 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
11686 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
11691 if (! PySequence_Check(obj5
)) {
11692 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
11695 arg6
= new wxArrayString
;
11697 int i
, len
=PySequence_Length(obj5
);
11698 for (i
=0; i
<len
; i
++) {
11699 PyObject
* item
= PySequence_GetItem(obj5
, i
);
11701 PyObject
* str
= PyObject_Unicode(item
);
11703 PyObject
* str
= PyObject_Str(item
);
11705 if (PyErr_Occurred()) SWIG_fail
;
11706 arg6
->Add(Py2wxString(str
));
11713 arg7
= (int) SWIG_AsInt(obj6
);
11714 if (PyErr_Occurred()) SWIG_fail
;
11717 arg8
= (long) SWIG_AsLong(obj7
);
11718 if (PyErr_Occurred()) SWIG_fail
;
11721 if ((SWIG_ConvertPtr(obj8
,(void **)(&arg9
),SWIGTYPE_p_wxValidator
,
11722 SWIG_POINTER_EXCEPTION
| 0)) == -1)
11724 if (arg9
== NULL
) {
11725 PyErr_SetString(PyExc_TypeError
,"null reference");
11731 arg10
= wxString_in_helper(obj9
);
11732 if (arg10
== NULL
) SWIG_fail
;
11737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11738 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
);
11740 wxPyEndAllowThreads(__tstate
);
11741 if (PyErr_Occurred()) SWIG_fail
;
11743 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRadioBox
, 1);
11749 if (temp6
) delete arg6
;
11762 if (temp6
) delete arg6
;
11772 static PyObject
*_wrap_new_PreRadioBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11773 PyObject
*resultobj
;
11774 wxRadioBox
*result
;
11775 char *kwnames
[] = {
11779 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreRadioBox",kwnames
)) goto fail
;
11781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11782 result
= (wxRadioBox
*)new wxRadioBox();
11784 wxPyEndAllowThreads(__tstate
);
11785 if (PyErr_Occurred()) SWIG_fail
;
11787 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRadioBox
, 1);
11794 static PyObject
*_wrap_RadioBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11795 PyObject
*resultobj
;
11796 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
11797 wxWindow
*arg2
= (wxWindow
*) 0 ;
11799 wxString
*arg4
= 0 ;
11800 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
11801 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
11802 wxSize
const &arg6_defvalue
= wxDefaultSize
;
11803 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
11804 wxArrayString
const &arg7_defvalue
= wxPyEmptyStringArray
;
11805 wxArrayString
*arg7
= (wxArrayString
*) &arg7_defvalue
;
11806 int arg8
= (int) 0 ;
11807 long arg9
= (long) wxRA_HORIZONTAL
;
11808 wxValidator
const &arg10_defvalue
= wxDefaultValidator
;
11809 wxValidator
*arg10
= (wxValidator
*) &arg10_defvalue
;
11810 wxString
const &arg11_defvalue
= wxPyRadioBoxNameStr
;
11811 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
11813 bool temp4
= False
;
11816 bool temp7
= False
;
11817 bool temp11
= False
;
11818 PyObject
* obj0
= 0 ;
11819 PyObject
* obj1
= 0 ;
11820 PyObject
* obj2
= 0 ;
11821 PyObject
* obj3
= 0 ;
11822 PyObject
* obj4
= 0 ;
11823 PyObject
* obj5
= 0 ;
11824 PyObject
* obj6
= 0 ;
11825 PyObject
* obj7
= 0 ;
11826 PyObject
* obj8
= 0 ;
11827 PyObject
* obj9
= 0 ;
11828 PyObject
* obj10
= 0 ;
11829 char *kwnames
[] = {
11830 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
11833 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOOOOO:RadioBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) goto fail
;
11834 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
11835 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11836 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
11837 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11838 arg3
= (int) SWIG_AsInt(obj2
);
11839 if (PyErr_Occurred()) SWIG_fail
;
11841 arg4
= wxString_in_helper(obj3
);
11842 if (arg4
== NULL
) SWIG_fail
;
11848 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
11854 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
11859 if (! PySequence_Check(obj6
)) {
11860 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
11863 arg7
= new wxArrayString
;
11865 int i
, len
=PySequence_Length(obj6
);
11866 for (i
=0; i
<len
; i
++) {
11867 PyObject
* item
= PySequence_GetItem(obj6
, i
);
11869 PyObject
* str
= PyObject_Unicode(item
);
11871 PyObject
* str
= PyObject_Str(item
);
11873 if (PyErr_Occurred()) SWIG_fail
;
11874 arg7
->Add(Py2wxString(str
));
11881 arg8
= (int) SWIG_AsInt(obj7
);
11882 if (PyErr_Occurred()) SWIG_fail
;
11885 arg9
= (long) SWIG_AsLong(obj8
);
11886 if (PyErr_Occurred()) SWIG_fail
;
11889 if ((SWIG_ConvertPtr(obj9
,(void **)(&arg10
),SWIGTYPE_p_wxValidator
,
11890 SWIG_POINTER_EXCEPTION
| 0)) == -1)
11892 if (arg10
== NULL
) {
11893 PyErr_SetString(PyExc_TypeError
,"null reference");
11899 arg11
= wxString_in_helper(obj10
);
11900 if (arg11
== NULL
) SWIG_fail
;
11905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11906 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
);
11908 wxPyEndAllowThreads(__tstate
);
11909 if (PyErr_Occurred()) SWIG_fail
;
11912 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11919 if (temp7
) delete arg7
;
11932 if (temp7
) delete arg7
;
11942 static PyObject
*_wrap_RadioBox_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11943 PyObject
*resultobj
;
11944 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
11946 PyObject
* obj0
= 0 ;
11947 PyObject
* obj1
= 0 ;
11948 char *kwnames
[] = {
11949 (char *) "self",(char *) "n", NULL
11952 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
11953 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
11954 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11955 arg2
= (int) SWIG_AsInt(obj1
);
11956 if (PyErr_Occurred()) SWIG_fail
;
11958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11959 (arg1
)->SetSelection(arg2
);
11961 wxPyEndAllowThreads(__tstate
);
11962 if (PyErr_Occurred()) SWIG_fail
;
11964 Py_INCREF(Py_None
); resultobj
= Py_None
;
11971 static PyObject
*_wrap_RadioBox_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11972 PyObject
*resultobj
;
11973 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
11975 PyObject
* obj0
= 0 ;
11976 char *kwnames
[] = {
11977 (char *) "self", NULL
11980 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetSelection",kwnames
,&obj0
)) goto fail
;
11981 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
11982 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11985 result
= (int)((wxRadioBox
const *)arg1
)->GetSelection();
11987 wxPyEndAllowThreads(__tstate
);
11988 if (PyErr_Occurred()) SWIG_fail
;
11990 resultobj
= SWIG_FromInt((int)result
);
11997 static PyObject
*_wrap_RadioBox_GetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11998 PyObject
*resultobj
;
11999 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
12001 PyObject
* obj0
= 0 ;
12002 char *kwnames
[] = {
12003 (char *) "self", NULL
12006 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetStringSelection",kwnames
,&obj0
)) goto fail
;
12007 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
12008 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12011 result
= ((wxRadioBox
const *)arg1
)->GetStringSelection();
12013 wxPyEndAllowThreads(__tstate
);
12014 if (PyErr_Occurred()) SWIG_fail
;
12018 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12020 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12029 static PyObject
*_wrap_RadioBox_SetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12030 PyObject
*resultobj
;
12031 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
12032 wxString
*arg2
= 0 ;
12034 bool temp2
= False
;
12035 PyObject
* obj0
= 0 ;
12036 PyObject
* obj1
= 0 ;
12037 char *kwnames
[] = {
12038 (char *) "self",(char *) "s", NULL
12041 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_SetStringSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
12042 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
12043 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12045 arg2
= wxString_in_helper(obj1
);
12046 if (arg2
== NULL
) SWIG_fail
;
12050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12051 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
);
12053 wxPyEndAllowThreads(__tstate
);
12054 if (PyErr_Occurred()) SWIG_fail
;
12057 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12073 static PyObject
*_wrap_RadioBox_GetCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12074 PyObject
*resultobj
;
12075 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
12077 PyObject
* obj0
= 0 ;
12078 char *kwnames
[] = {
12079 (char *) "self", NULL
12082 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetCount",kwnames
,&obj0
)) goto fail
;
12083 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
12084 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12087 result
= (int)((wxRadioBox
const *)arg1
)->GetCount();
12089 wxPyEndAllowThreads(__tstate
);
12090 if (PyErr_Occurred()) SWIG_fail
;
12092 resultobj
= SWIG_FromInt((int)result
);
12099 static PyObject
*_wrap_RadioBox_FindString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12100 PyObject
*resultobj
;
12101 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
12102 wxString
*arg2
= 0 ;
12104 bool temp2
= False
;
12105 PyObject
* obj0
= 0 ;
12106 PyObject
* obj1
= 0 ;
12107 char *kwnames
[] = {
12108 (char *) "self",(char *) "s", NULL
12111 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_FindString",kwnames
,&obj0
,&obj1
)) goto fail
;
12112 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
12113 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12115 arg2
= wxString_in_helper(obj1
);
12116 if (arg2
== NULL
) SWIG_fail
;
12120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12121 result
= (int)((wxRadioBox
const *)arg1
)->FindString((wxString
const &)*arg2
);
12123 wxPyEndAllowThreads(__tstate
);
12124 if (PyErr_Occurred()) SWIG_fail
;
12126 resultobj
= SWIG_FromInt((int)result
);
12141 static PyObject
*_wrap_RadioBox_GetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12142 PyObject
*resultobj
;
12143 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
12146 PyObject
* obj0
= 0 ;
12147 PyObject
* obj1
= 0 ;
12148 char *kwnames
[] = {
12149 (char *) "self",(char *) "n", NULL
12152 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_GetString",kwnames
,&obj0
,&obj1
)) goto fail
;
12153 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
12154 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12155 arg2
= (int) SWIG_AsInt(obj1
);
12156 if (PyErr_Occurred()) SWIG_fail
;
12158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12159 result
= ((wxRadioBox
const *)arg1
)->GetString(arg2
);
12161 wxPyEndAllowThreads(__tstate
);
12162 if (PyErr_Occurred()) SWIG_fail
;
12166 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12168 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12177 static PyObject
*_wrap_RadioBox_SetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12178 PyObject
*resultobj
;
12179 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
12181 wxString
*arg3
= 0 ;
12182 bool temp3
= False
;
12183 PyObject
* obj0
= 0 ;
12184 PyObject
* obj1
= 0 ;
12185 PyObject
* obj2
= 0 ;
12186 char *kwnames
[] = {
12187 (char *) "self",(char *) "n",(char *) "label", NULL
12190 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:RadioBox_SetString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12191 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
12192 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12193 arg2
= (int) SWIG_AsInt(obj1
);
12194 if (PyErr_Occurred()) SWIG_fail
;
12196 arg3
= wxString_in_helper(obj2
);
12197 if (arg3
== NULL
) SWIG_fail
;
12201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12202 (arg1
)->SetString(arg2
,(wxString
const &)*arg3
);
12204 wxPyEndAllowThreads(__tstate
);
12205 if (PyErr_Occurred()) SWIG_fail
;
12207 Py_INCREF(Py_None
); resultobj
= Py_None
;
12222 static PyObject
*_wrap_RadioBox_EnableItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12223 PyObject
*resultobj
;
12224 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
12226 bool arg3
= (bool) True
;
12227 PyObject
* obj0
= 0 ;
12228 PyObject
* obj1
= 0 ;
12229 PyObject
* obj2
= 0 ;
12230 char *kwnames
[] = {
12231 (char *) "self",(char *) "n",(char *) "enable", NULL
12234 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:RadioBox_EnableItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12235 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
12236 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12237 arg2
= (int) SWIG_AsInt(obj1
);
12238 if (PyErr_Occurred()) SWIG_fail
;
12240 arg3
= (bool) SWIG_AsBool(obj2
);
12241 if (PyErr_Occurred()) SWIG_fail
;
12244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12245 (arg1
)->Enable(arg2
,arg3
);
12247 wxPyEndAllowThreads(__tstate
);
12248 if (PyErr_Occurred()) SWIG_fail
;
12250 Py_INCREF(Py_None
); resultobj
= Py_None
;
12257 static PyObject
*_wrap_RadioBox_ShowItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12258 PyObject
*resultobj
;
12259 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
12261 bool arg3
= (bool) True
;
12262 PyObject
* obj0
= 0 ;
12263 PyObject
* obj1
= 0 ;
12264 PyObject
* obj2
= 0 ;
12265 char *kwnames
[] = {
12266 (char *) "self",(char *) "n",(char *) "show", NULL
12269 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:RadioBox_ShowItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12270 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
12271 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12272 arg2
= (int) SWIG_AsInt(obj1
);
12273 if (PyErr_Occurred()) SWIG_fail
;
12275 arg3
= (bool) SWIG_AsBool(obj2
);
12276 if (PyErr_Occurred()) SWIG_fail
;
12279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12280 (arg1
)->Show(arg2
,arg3
);
12282 wxPyEndAllowThreads(__tstate
);
12283 if (PyErr_Occurred()) SWIG_fail
;
12285 Py_INCREF(Py_None
); resultobj
= Py_None
;
12292 static PyObject
*_wrap_RadioBox_GetColumnCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12293 PyObject
*resultobj
;
12294 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
12296 PyObject
* obj0
= 0 ;
12297 char *kwnames
[] = {
12298 (char *) "self", NULL
12301 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetColumnCount",kwnames
,&obj0
)) goto fail
;
12302 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
12303 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12306 result
= (int)((wxRadioBox
const *)arg1
)->GetColumnCount();
12308 wxPyEndAllowThreads(__tstate
);
12309 if (PyErr_Occurred()) SWIG_fail
;
12311 resultobj
= SWIG_FromInt((int)result
);
12318 static PyObject
*_wrap_RadioBox_GetRowCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12319 PyObject
*resultobj
;
12320 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
12322 PyObject
* obj0
= 0 ;
12323 char *kwnames
[] = {
12324 (char *) "self", NULL
12327 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetRowCount",kwnames
,&obj0
)) goto fail
;
12328 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
12329 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12332 result
= (int)((wxRadioBox
const *)arg1
)->GetRowCount();
12334 wxPyEndAllowThreads(__tstate
);
12335 if (PyErr_Occurred()) SWIG_fail
;
12337 resultobj
= SWIG_FromInt((int)result
);
12344 static PyObject
*_wrap_RadioBox_GetNextItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12345 PyObject
*resultobj
;
12346 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
12351 PyObject
* obj0
= 0 ;
12352 PyObject
* obj1
= 0 ;
12353 PyObject
* obj2
= 0 ;
12354 PyObject
* obj3
= 0 ;
12355 char *kwnames
[] = {
12356 (char *) "self",(char *) "item",(char *) "dir",(char *) "style", NULL
12359 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:RadioBox_GetNextItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
12360 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
12361 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12362 arg2
= (int) SWIG_AsInt(obj1
);
12363 if (PyErr_Occurred()) SWIG_fail
;
12364 arg3
= (wxDirection
) SWIG_AsInt(obj2
);
12365 if (PyErr_Occurred()) SWIG_fail
;
12366 arg4
= (long) SWIG_AsLong(obj3
);
12367 if (PyErr_Occurred()) SWIG_fail
;
12369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12370 result
= (int)((wxRadioBox
const *)arg1
)->GetNextItem(arg2
,(wxDirection
)arg3
,arg4
);
12372 wxPyEndAllowThreads(__tstate
);
12373 if (PyErr_Occurred()) SWIG_fail
;
12375 resultobj
= SWIG_FromInt((int)result
);
12382 static PyObject
*_wrap_RadioBox_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12383 PyObject
*resultobj
;
12384 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
12385 wxVisualAttributes result
;
12386 PyObject
* obj0
= 0 ;
12387 char *kwnames
[] = {
12388 (char *) "variant", NULL
12391 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:RadioBox_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
12393 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
12394 if (PyErr_Occurred()) SWIG_fail
;
12397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12398 result
= wxRadioBox::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
12400 wxPyEndAllowThreads(__tstate
);
12401 if (PyErr_Occurred()) SWIG_fail
;
12404 wxVisualAttributes
* resultptr
;
12405 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
12406 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
12414 static PyObject
* RadioBox_swigregister(PyObject
*self
, PyObject
*args
) {
12416 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12417 SWIG_TypeClientData(SWIGTYPE_p_wxRadioBox
, obj
);
12419 return Py_BuildValue((char *)"");
12421 static PyObject
*_wrap_new_RadioButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12422 PyObject
*resultobj
;
12423 wxWindow
*arg1
= (wxWindow
*) 0 ;
12425 wxString
*arg3
= 0 ;
12426 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
12427 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
12428 wxSize
const &arg5_defvalue
= wxDefaultSize
;
12429 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
12430 long arg6
= (long) 0 ;
12431 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
12432 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
12433 wxString
const &arg8_defvalue
= wxPyRadioButtonNameStr
;
12434 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
12435 wxRadioButton
*result
;
12436 bool temp3
= False
;
12439 bool temp8
= False
;
12440 PyObject
* obj0
= 0 ;
12441 PyObject
* obj1
= 0 ;
12442 PyObject
* obj2
= 0 ;
12443 PyObject
* obj3
= 0 ;
12444 PyObject
* obj4
= 0 ;
12445 PyObject
* obj5
= 0 ;
12446 PyObject
* obj6
= 0 ;
12447 PyObject
* obj7
= 0 ;
12448 char *kwnames
[] = {
12449 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
12452 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOO:new_RadioButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
12453 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
12454 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12455 arg2
= (int) SWIG_AsInt(obj1
);
12456 if (PyErr_Occurred()) SWIG_fail
;
12458 arg3
= wxString_in_helper(obj2
);
12459 if (arg3
== NULL
) SWIG_fail
;
12465 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
12471 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
12475 arg6
= (long) SWIG_AsLong(obj5
);
12476 if (PyErr_Occurred()) SWIG_fail
;
12479 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
12480 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12482 if (arg7
== NULL
) {
12483 PyErr_SetString(PyExc_TypeError
,"null reference");
12489 arg8
= wxString_in_helper(obj7
);
12490 if (arg8
== NULL
) SWIG_fail
;
12495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12496 result
= (wxRadioButton
*)new wxRadioButton(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
12498 wxPyEndAllowThreads(__tstate
);
12499 if (PyErr_Occurred()) SWIG_fail
;
12501 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRadioButton
, 1);
12524 static PyObject
*_wrap_new_PreRadioButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12525 PyObject
*resultobj
;
12526 wxRadioButton
*result
;
12527 char *kwnames
[] = {
12531 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreRadioButton",kwnames
)) goto fail
;
12533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12534 result
= (wxRadioButton
*)new wxRadioButton();
12536 wxPyEndAllowThreads(__tstate
);
12537 if (PyErr_Occurred()) SWIG_fail
;
12539 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRadioButton
, 1);
12546 static PyObject
*_wrap_RadioButton_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12547 PyObject
*resultobj
;
12548 wxRadioButton
*arg1
= (wxRadioButton
*) 0 ;
12549 wxWindow
*arg2
= (wxWindow
*) 0 ;
12551 wxString
*arg4
= 0 ;
12552 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
12553 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
12554 wxSize
const &arg6_defvalue
= wxDefaultSize
;
12555 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
12556 long arg7
= (long) 0 ;
12557 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
12558 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
12559 wxString
const &arg9_defvalue
= wxPyRadioButtonNameStr
;
12560 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
12562 bool temp4
= False
;
12565 bool temp9
= False
;
12566 PyObject
* obj0
= 0 ;
12567 PyObject
* obj1
= 0 ;
12568 PyObject
* obj2
= 0 ;
12569 PyObject
* obj3
= 0 ;
12570 PyObject
* obj4
= 0 ;
12571 PyObject
* obj5
= 0 ;
12572 PyObject
* obj6
= 0 ;
12573 PyObject
* obj7
= 0 ;
12574 PyObject
* obj8
= 0 ;
12575 char *kwnames
[] = {
12576 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
12579 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOOO:RadioButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
12580 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioButton
,
12581 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12582 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
12583 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12584 arg3
= (int) SWIG_AsInt(obj2
);
12585 if (PyErr_Occurred()) SWIG_fail
;
12587 arg4
= wxString_in_helper(obj3
);
12588 if (arg4
== NULL
) SWIG_fail
;
12594 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
12600 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
12604 arg7
= (long) SWIG_AsLong(obj6
);
12605 if (PyErr_Occurred()) SWIG_fail
;
12608 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
12609 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12611 if (arg8
== NULL
) {
12612 PyErr_SetString(PyExc_TypeError
,"null reference");
12618 arg9
= wxString_in_helper(obj8
);
12619 if (arg9
== NULL
) SWIG_fail
;
12624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12625 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
12627 wxPyEndAllowThreads(__tstate
);
12628 if (PyErr_Occurred()) SWIG_fail
;
12631 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12655 static PyObject
*_wrap_RadioButton_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12656 PyObject
*resultobj
;
12657 wxRadioButton
*arg1
= (wxRadioButton
*) 0 ;
12659 PyObject
* obj0
= 0 ;
12660 char *kwnames
[] = {
12661 (char *) "self", NULL
12664 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioButton_GetValue",kwnames
,&obj0
)) goto fail
;
12665 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioButton
,
12666 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12669 result
= (bool)(arg1
)->GetValue();
12671 wxPyEndAllowThreads(__tstate
);
12672 if (PyErr_Occurred()) SWIG_fail
;
12675 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12683 static PyObject
*_wrap_RadioButton_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12684 PyObject
*resultobj
;
12685 wxRadioButton
*arg1
= (wxRadioButton
*) 0 ;
12687 PyObject
* obj0
= 0 ;
12688 PyObject
* obj1
= 0 ;
12689 char *kwnames
[] = {
12690 (char *) "self",(char *) "value", NULL
12693 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioButton_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
12694 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioButton
,
12695 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12696 arg2
= (bool) SWIG_AsBool(obj1
);
12697 if (PyErr_Occurred()) SWIG_fail
;
12699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12700 (arg1
)->SetValue(arg2
);
12702 wxPyEndAllowThreads(__tstate
);
12703 if (PyErr_Occurred()) SWIG_fail
;
12705 Py_INCREF(Py_None
); resultobj
= Py_None
;
12712 static PyObject
*_wrap_RadioButton_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12713 PyObject
*resultobj
;
12714 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
12715 wxVisualAttributes result
;
12716 PyObject
* obj0
= 0 ;
12717 char *kwnames
[] = {
12718 (char *) "variant", NULL
12721 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:RadioButton_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
12723 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
12724 if (PyErr_Occurred()) SWIG_fail
;
12727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12728 result
= wxRadioButton::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
12730 wxPyEndAllowThreads(__tstate
);
12731 if (PyErr_Occurred()) SWIG_fail
;
12734 wxVisualAttributes
* resultptr
;
12735 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
12736 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
12744 static PyObject
* RadioButton_swigregister(PyObject
*self
, PyObject
*args
) {
12746 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12747 SWIG_TypeClientData(SWIGTYPE_p_wxRadioButton
, obj
);
12749 return Py_BuildValue((char *)"");
12751 static int _wrap_SliderNameStr_set(PyObject
*_val
) {
12752 PyErr_SetString(PyExc_TypeError
,"Variable SliderNameStr is read-only.");
12757 static PyObject
*_wrap_SliderNameStr_get() {
12762 pyobj
= PyUnicode_FromWideChar((&wxPySliderNameStr
)->c_str(), (&wxPySliderNameStr
)->Len());
12764 pyobj
= PyString_FromStringAndSize((&wxPySliderNameStr
)->c_str(), (&wxPySliderNameStr
)->Len());
12771 static PyObject
*_wrap_new_Slider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12772 PyObject
*resultobj
;
12773 wxWindow
*arg1
= (wxWindow
*) 0 ;
12778 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
12779 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
12780 wxSize
const &arg7_defvalue
= wxDefaultSize
;
12781 wxSize
*arg7
= (wxSize
*) &arg7_defvalue
;
12782 long arg8
= (long) wxSL_HORIZONTAL
;
12783 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
12784 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
12785 wxString
const &arg10_defvalue
= wxPySliderNameStr
;
12786 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
12790 bool temp10
= False
;
12791 PyObject
* obj0
= 0 ;
12792 PyObject
* obj1
= 0 ;
12793 PyObject
* obj2
= 0 ;
12794 PyObject
* obj3
= 0 ;
12795 PyObject
* obj4
= 0 ;
12796 PyObject
* obj5
= 0 ;
12797 PyObject
* obj6
= 0 ;
12798 PyObject
* obj7
= 0 ;
12799 PyObject
* obj8
= 0 ;
12800 PyObject
* obj9
= 0 ;
12801 char *kwnames
[] = {
12802 (char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
12805 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOOOO:new_Slider",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
12806 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
12807 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12808 arg2
= (int) SWIG_AsInt(obj1
);
12809 if (PyErr_Occurred()) SWIG_fail
;
12810 arg3
= (int) SWIG_AsInt(obj2
);
12811 if (PyErr_Occurred()) SWIG_fail
;
12812 arg4
= (int) SWIG_AsInt(obj3
);
12813 if (PyErr_Occurred()) SWIG_fail
;
12814 arg5
= (int) SWIG_AsInt(obj4
);
12815 if (PyErr_Occurred()) SWIG_fail
;
12819 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
12825 if ( ! wxSize_helper(obj6
, &arg7
)) SWIG_fail
;
12829 arg8
= (long) SWIG_AsLong(obj7
);
12830 if (PyErr_Occurred()) SWIG_fail
;
12833 if ((SWIG_ConvertPtr(obj8
,(void **)(&arg9
),SWIGTYPE_p_wxValidator
,
12834 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12836 if (arg9
== NULL
) {
12837 PyErr_SetString(PyExc_TypeError
,"null reference");
12843 arg10
= wxString_in_helper(obj9
);
12844 if (arg10
== NULL
) SWIG_fail
;
12849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12850 result
= (wxSlider
*)new wxSlider(arg1
,arg2
,arg3
,arg4
,arg5
,(wxPoint
const &)*arg6
,(wxSize
const &)*arg7
,arg8
,(wxValidator
const &)*arg9
,(wxString
const &)*arg10
);
12852 wxPyEndAllowThreads(__tstate
);
12853 if (PyErr_Occurred()) SWIG_fail
;
12855 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSlider
, 1);
12870 static PyObject
*_wrap_new_PreSlider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12871 PyObject
*resultobj
;
12873 char *kwnames
[] = {
12877 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSlider",kwnames
)) goto fail
;
12879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12880 result
= (wxSlider
*)new wxSlider();
12882 wxPyEndAllowThreads(__tstate
);
12883 if (PyErr_Occurred()) SWIG_fail
;
12885 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSlider
, 1);
12892 static PyObject
*_wrap_Slider_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12893 PyObject
*resultobj
;
12894 wxSlider
*arg1
= (wxSlider
*) 0 ;
12895 wxWindow
*arg2
= (wxWindow
*) 0 ;
12900 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
12901 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
12902 wxSize
const &arg8_defvalue
= wxDefaultSize
;
12903 wxSize
*arg8
= (wxSize
*) &arg8_defvalue
;
12904 long arg9
= (long) wxSL_HORIZONTAL
;
12905 wxValidator
const &arg10_defvalue
= wxDefaultValidator
;
12906 wxValidator
*arg10
= (wxValidator
*) &arg10_defvalue
;
12907 wxString
const &arg11_defvalue
= wxPySliderNameStr
;
12908 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
12912 bool temp11
= False
;
12913 PyObject
* obj0
= 0 ;
12914 PyObject
* obj1
= 0 ;
12915 PyObject
* obj2
= 0 ;
12916 PyObject
* obj3
= 0 ;
12917 PyObject
* obj4
= 0 ;
12918 PyObject
* obj5
= 0 ;
12919 PyObject
* obj6
= 0 ;
12920 PyObject
* obj7
= 0 ;
12921 PyObject
* obj8
= 0 ;
12922 PyObject
* obj9
= 0 ;
12923 PyObject
* obj10
= 0 ;
12924 char *kwnames
[] = {
12925 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
12928 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|OOOOO:Slider_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) goto fail
;
12929 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
12930 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12931 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
12932 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12933 arg3
= (int) SWIG_AsInt(obj2
);
12934 if (PyErr_Occurred()) SWIG_fail
;
12935 arg4
= (int) SWIG_AsInt(obj3
);
12936 if (PyErr_Occurred()) SWIG_fail
;
12937 arg5
= (int) SWIG_AsInt(obj4
);
12938 if (PyErr_Occurred()) SWIG_fail
;
12939 arg6
= (int) SWIG_AsInt(obj5
);
12940 if (PyErr_Occurred()) SWIG_fail
;
12944 if ( ! wxPoint_helper(obj6
, &arg7
)) SWIG_fail
;
12950 if ( ! wxSize_helper(obj7
, &arg8
)) SWIG_fail
;
12954 arg9
= (long) SWIG_AsLong(obj8
);
12955 if (PyErr_Occurred()) SWIG_fail
;
12958 if ((SWIG_ConvertPtr(obj9
,(void **)(&arg10
),SWIGTYPE_p_wxValidator
,
12959 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12961 if (arg10
== NULL
) {
12962 PyErr_SetString(PyExc_TypeError
,"null reference");
12968 arg11
= wxString_in_helper(obj10
);
12969 if (arg11
== NULL
) SWIG_fail
;
12974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12975 result
= (bool)(arg1
)->Create(arg2
,arg3
,arg4
,arg5
,arg6
,(wxPoint
const &)*arg7
,(wxSize
const &)*arg8
,arg9
,(wxValidator
const &)*arg10
,(wxString
const &)*arg11
);
12977 wxPyEndAllowThreads(__tstate
);
12978 if (PyErr_Occurred()) SWIG_fail
;
12981 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12997 static PyObject
*_wrap_Slider_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12998 PyObject
*resultobj
;
12999 wxSlider
*arg1
= (wxSlider
*) 0 ;
13001 PyObject
* obj0
= 0 ;
13002 char *kwnames
[] = {
13003 (char *) "self", NULL
13006 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetValue",kwnames
,&obj0
)) goto fail
;
13007 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13008 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13011 result
= (int)((wxSlider
const *)arg1
)->GetValue();
13013 wxPyEndAllowThreads(__tstate
);
13014 if (PyErr_Occurred()) SWIG_fail
;
13016 resultobj
= SWIG_FromInt((int)result
);
13023 static PyObject
*_wrap_Slider_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13024 PyObject
*resultobj
;
13025 wxSlider
*arg1
= (wxSlider
*) 0 ;
13027 PyObject
* obj0
= 0 ;
13028 PyObject
* obj1
= 0 ;
13029 char *kwnames
[] = {
13030 (char *) "self",(char *) "value", NULL
13033 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
13034 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13035 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13036 arg2
= (int) SWIG_AsInt(obj1
);
13037 if (PyErr_Occurred()) SWIG_fail
;
13039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13040 (arg1
)->SetValue(arg2
);
13042 wxPyEndAllowThreads(__tstate
);
13043 if (PyErr_Occurred()) SWIG_fail
;
13045 Py_INCREF(Py_None
); resultobj
= Py_None
;
13052 static PyObject
*_wrap_Slider_SetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13053 PyObject
*resultobj
;
13054 wxSlider
*arg1
= (wxSlider
*) 0 ;
13057 PyObject
* obj0
= 0 ;
13058 PyObject
* obj1
= 0 ;
13059 PyObject
* obj2
= 0 ;
13060 char *kwnames
[] = {
13061 (char *) "self",(char *) "minValue",(char *) "maxValue", NULL
13064 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Slider_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13065 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13066 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13067 arg2
= (int) SWIG_AsInt(obj1
);
13068 if (PyErr_Occurred()) SWIG_fail
;
13069 arg3
= (int) SWIG_AsInt(obj2
);
13070 if (PyErr_Occurred()) SWIG_fail
;
13072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13073 (arg1
)->SetRange(arg2
,arg3
);
13075 wxPyEndAllowThreads(__tstate
);
13076 if (PyErr_Occurred()) SWIG_fail
;
13078 Py_INCREF(Py_None
); resultobj
= Py_None
;
13085 static PyObject
*_wrap_Slider_GetMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13086 PyObject
*resultobj
;
13087 wxSlider
*arg1
= (wxSlider
*) 0 ;
13089 PyObject
* obj0
= 0 ;
13090 char *kwnames
[] = {
13091 (char *) "self", NULL
13094 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetMin",kwnames
,&obj0
)) goto fail
;
13095 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13096 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13099 result
= (int)((wxSlider
const *)arg1
)->GetMin();
13101 wxPyEndAllowThreads(__tstate
);
13102 if (PyErr_Occurred()) SWIG_fail
;
13104 resultobj
= SWIG_FromInt((int)result
);
13111 static PyObject
*_wrap_Slider_GetMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13112 PyObject
*resultobj
;
13113 wxSlider
*arg1
= (wxSlider
*) 0 ;
13115 PyObject
* obj0
= 0 ;
13116 char *kwnames
[] = {
13117 (char *) "self", NULL
13120 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetMax",kwnames
,&obj0
)) goto fail
;
13121 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13122 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13125 result
= (int)((wxSlider
const *)arg1
)->GetMax();
13127 wxPyEndAllowThreads(__tstate
);
13128 if (PyErr_Occurred()) SWIG_fail
;
13130 resultobj
= SWIG_FromInt((int)result
);
13137 static PyObject
*_wrap_Slider_SetMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13138 PyObject
*resultobj
;
13139 wxSlider
*arg1
= (wxSlider
*) 0 ;
13141 PyObject
* obj0
= 0 ;
13142 PyObject
* obj1
= 0 ;
13143 char *kwnames
[] = {
13144 (char *) "self",(char *) "minValue", NULL
13147 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetMin",kwnames
,&obj0
,&obj1
)) goto fail
;
13148 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13149 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13150 arg2
= (int) SWIG_AsInt(obj1
);
13151 if (PyErr_Occurred()) SWIG_fail
;
13153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13154 (arg1
)->SetMin(arg2
);
13156 wxPyEndAllowThreads(__tstate
);
13157 if (PyErr_Occurred()) SWIG_fail
;
13159 Py_INCREF(Py_None
); resultobj
= Py_None
;
13166 static PyObject
*_wrap_Slider_SetMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13167 PyObject
*resultobj
;
13168 wxSlider
*arg1
= (wxSlider
*) 0 ;
13170 PyObject
* obj0
= 0 ;
13171 PyObject
* obj1
= 0 ;
13172 char *kwnames
[] = {
13173 (char *) "self",(char *) "maxValue", NULL
13176 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetMax",kwnames
,&obj0
,&obj1
)) goto fail
;
13177 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13178 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13179 arg2
= (int) SWIG_AsInt(obj1
);
13180 if (PyErr_Occurred()) SWIG_fail
;
13182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13183 (arg1
)->SetMax(arg2
);
13185 wxPyEndAllowThreads(__tstate
);
13186 if (PyErr_Occurred()) SWIG_fail
;
13188 Py_INCREF(Py_None
); resultobj
= Py_None
;
13195 static PyObject
*_wrap_Slider_SetLineSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13196 PyObject
*resultobj
;
13197 wxSlider
*arg1
= (wxSlider
*) 0 ;
13199 PyObject
* obj0
= 0 ;
13200 PyObject
* obj1
= 0 ;
13201 char *kwnames
[] = {
13202 (char *) "self",(char *) "lineSize", NULL
13205 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetLineSize",kwnames
,&obj0
,&obj1
)) goto fail
;
13206 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13207 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13208 arg2
= (int) SWIG_AsInt(obj1
);
13209 if (PyErr_Occurred()) SWIG_fail
;
13211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13212 (arg1
)->SetLineSize(arg2
);
13214 wxPyEndAllowThreads(__tstate
);
13215 if (PyErr_Occurred()) SWIG_fail
;
13217 Py_INCREF(Py_None
); resultobj
= Py_None
;
13224 static PyObject
*_wrap_Slider_SetPageSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13225 PyObject
*resultobj
;
13226 wxSlider
*arg1
= (wxSlider
*) 0 ;
13228 PyObject
* obj0
= 0 ;
13229 PyObject
* obj1
= 0 ;
13230 char *kwnames
[] = {
13231 (char *) "self",(char *) "pageSize", NULL
13234 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetPageSize",kwnames
,&obj0
,&obj1
)) goto fail
;
13235 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13236 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13237 arg2
= (int) SWIG_AsInt(obj1
);
13238 if (PyErr_Occurred()) SWIG_fail
;
13240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13241 (arg1
)->SetPageSize(arg2
);
13243 wxPyEndAllowThreads(__tstate
);
13244 if (PyErr_Occurred()) SWIG_fail
;
13246 Py_INCREF(Py_None
); resultobj
= Py_None
;
13253 static PyObject
*_wrap_Slider_GetLineSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13254 PyObject
*resultobj
;
13255 wxSlider
*arg1
= (wxSlider
*) 0 ;
13257 PyObject
* obj0
= 0 ;
13258 char *kwnames
[] = {
13259 (char *) "self", NULL
13262 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetLineSize",kwnames
,&obj0
)) goto fail
;
13263 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13264 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13267 result
= (int)((wxSlider
const *)arg1
)->GetLineSize();
13269 wxPyEndAllowThreads(__tstate
);
13270 if (PyErr_Occurred()) SWIG_fail
;
13272 resultobj
= SWIG_FromInt((int)result
);
13279 static PyObject
*_wrap_Slider_GetPageSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13280 PyObject
*resultobj
;
13281 wxSlider
*arg1
= (wxSlider
*) 0 ;
13283 PyObject
* obj0
= 0 ;
13284 char *kwnames
[] = {
13285 (char *) "self", NULL
13288 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetPageSize",kwnames
,&obj0
)) goto fail
;
13289 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13290 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13293 result
= (int)((wxSlider
const *)arg1
)->GetPageSize();
13295 wxPyEndAllowThreads(__tstate
);
13296 if (PyErr_Occurred()) SWIG_fail
;
13298 resultobj
= SWIG_FromInt((int)result
);
13305 static PyObject
*_wrap_Slider_SetThumbLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13306 PyObject
*resultobj
;
13307 wxSlider
*arg1
= (wxSlider
*) 0 ;
13309 PyObject
* obj0
= 0 ;
13310 PyObject
* obj1
= 0 ;
13311 char *kwnames
[] = {
13312 (char *) "self",(char *) "lenPixels", NULL
13315 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetThumbLength",kwnames
,&obj0
,&obj1
)) goto fail
;
13316 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13317 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13318 arg2
= (int) SWIG_AsInt(obj1
);
13319 if (PyErr_Occurred()) SWIG_fail
;
13321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13322 (arg1
)->SetThumbLength(arg2
);
13324 wxPyEndAllowThreads(__tstate
);
13325 if (PyErr_Occurred()) SWIG_fail
;
13327 Py_INCREF(Py_None
); resultobj
= Py_None
;
13334 static PyObject
*_wrap_Slider_GetThumbLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13335 PyObject
*resultobj
;
13336 wxSlider
*arg1
= (wxSlider
*) 0 ;
13338 PyObject
* obj0
= 0 ;
13339 char *kwnames
[] = {
13340 (char *) "self", NULL
13343 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetThumbLength",kwnames
,&obj0
)) goto fail
;
13344 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13345 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13348 result
= (int)((wxSlider
const *)arg1
)->GetThumbLength();
13350 wxPyEndAllowThreads(__tstate
);
13351 if (PyErr_Occurred()) SWIG_fail
;
13353 resultobj
= SWIG_FromInt((int)result
);
13360 static PyObject
*_wrap_Slider_SetTickFreq(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13361 PyObject
*resultobj
;
13362 wxSlider
*arg1
= (wxSlider
*) 0 ;
13364 int arg3
= (int) 1 ;
13365 PyObject
* obj0
= 0 ;
13366 PyObject
* obj1
= 0 ;
13367 PyObject
* obj2
= 0 ;
13368 char *kwnames
[] = {
13369 (char *) "self",(char *) "n",(char *) "pos", NULL
13372 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Slider_SetTickFreq",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13373 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13374 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13375 arg2
= (int) SWIG_AsInt(obj1
);
13376 if (PyErr_Occurred()) SWIG_fail
;
13378 arg3
= (int) SWIG_AsInt(obj2
);
13379 if (PyErr_Occurred()) SWIG_fail
;
13382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13383 (arg1
)->SetTickFreq(arg2
,arg3
);
13385 wxPyEndAllowThreads(__tstate
);
13386 if (PyErr_Occurred()) SWIG_fail
;
13388 Py_INCREF(Py_None
); resultobj
= Py_None
;
13395 static PyObject
*_wrap_Slider_GetTickFreq(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13396 PyObject
*resultobj
;
13397 wxSlider
*arg1
= (wxSlider
*) 0 ;
13399 PyObject
* obj0
= 0 ;
13400 char *kwnames
[] = {
13401 (char *) "self", NULL
13404 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetTickFreq",kwnames
,&obj0
)) goto fail
;
13405 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13406 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13409 result
= (int)((wxSlider
const *)arg1
)->GetTickFreq();
13411 wxPyEndAllowThreads(__tstate
);
13412 if (PyErr_Occurred()) SWIG_fail
;
13414 resultobj
= SWIG_FromInt((int)result
);
13421 static PyObject
*_wrap_Slider_ClearTicks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13422 PyObject
*resultobj
;
13423 wxSlider
*arg1
= (wxSlider
*) 0 ;
13424 PyObject
* obj0
= 0 ;
13425 char *kwnames
[] = {
13426 (char *) "self", NULL
13429 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_ClearTicks",kwnames
,&obj0
)) goto fail
;
13430 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13431 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13434 (arg1
)->ClearTicks();
13436 wxPyEndAllowThreads(__tstate
);
13437 if (PyErr_Occurred()) SWIG_fail
;
13439 Py_INCREF(Py_None
); resultobj
= Py_None
;
13446 static PyObject
*_wrap_Slider_SetTick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13447 PyObject
*resultobj
;
13448 wxSlider
*arg1
= (wxSlider
*) 0 ;
13450 PyObject
* obj0
= 0 ;
13451 PyObject
* obj1
= 0 ;
13452 char *kwnames
[] = {
13453 (char *) "self",(char *) "tickPos", NULL
13456 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetTick",kwnames
,&obj0
,&obj1
)) goto fail
;
13457 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13458 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13459 arg2
= (int) SWIG_AsInt(obj1
);
13460 if (PyErr_Occurred()) SWIG_fail
;
13462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13463 (arg1
)->SetTick(arg2
);
13465 wxPyEndAllowThreads(__tstate
);
13466 if (PyErr_Occurred()) SWIG_fail
;
13468 Py_INCREF(Py_None
); resultobj
= Py_None
;
13475 static PyObject
*_wrap_Slider_ClearSel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13476 PyObject
*resultobj
;
13477 wxSlider
*arg1
= (wxSlider
*) 0 ;
13478 PyObject
* obj0
= 0 ;
13479 char *kwnames
[] = {
13480 (char *) "self", NULL
13483 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_ClearSel",kwnames
,&obj0
)) goto fail
;
13484 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13485 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13488 (arg1
)->ClearSel();
13490 wxPyEndAllowThreads(__tstate
);
13491 if (PyErr_Occurred()) SWIG_fail
;
13493 Py_INCREF(Py_None
); resultobj
= Py_None
;
13500 static PyObject
*_wrap_Slider_GetSelEnd(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13501 PyObject
*resultobj
;
13502 wxSlider
*arg1
= (wxSlider
*) 0 ;
13504 PyObject
* obj0
= 0 ;
13505 char *kwnames
[] = {
13506 (char *) "self", NULL
13509 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetSelEnd",kwnames
,&obj0
)) goto fail
;
13510 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13511 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13514 result
= (int)((wxSlider
const *)arg1
)->GetSelEnd();
13516 wxPyEndAllowThreads(__tstate
);
13517 if (PyErr_Occurred()) SWIG_fail
;
13519 resultobj
= SWIG_FromInt((int)result
);
13526 static PyObject
*_wrap_Slider_GetSelStart(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13527 PyObject
*resultobj
;
13528 wxSlider
*arg1
= (wxSlider
*) 0 ;
13530 PyObject
* obj0
= 0 ;
13531 char *kwnames
[] = {
13532 (char *) "self", NULL
13535 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetSelStart",kwnames
,&obj0
)) goto fail
;
13536 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13537 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13540 result
= (int)((wxSlider
const *)arg1
)->GetSelStart();
13542 wxPyEndAllowThreads(__tstate
);
13543 if (PyErr_Occurred()) SWIG_fail
;
13545 resultobj
= SWIG_FromInt((int)result
);
13552 static PyObject
*_wrap_Slider_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13553 PyObject
*resultobj
;
13554 wxSlider
*arg1
= (wxSlider
*) 0 ;
13557 PyObject
* obj0
= 0 ;
13558 PyObject
* obj1
= 0 ;
13559 PyObject
* obj2
= 0 ;
13560 char *kwnames
[] = {
13561 (char *) "self",(char *) "min",(char *) "max", NULL
13564 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Slider_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13565 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13566 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13567 arg2
= (int) SWIG_AsInt(obj1
);
13568 if (PyErr_Occurred()) SWIG_fail
;
13569 arg3
= (int) SWIG_AsInt(obj2
);
13570 if (PyErr_Occurred()) SWIG_fail
;
13572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13573 (arg1
)->SetSelection(arg2
,arg3
);
13575 wxPyEndAllowThreads(__tstate
);
13576 if (PyErr_Occurred()) SWIG_fail
;
13578 Py_INCREF(Py_None
); resultobj
= Py_None
;
13585 static PyObject
*_wrap_Slider_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13586 PyObject
*resultobj
;
13587 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
13588 wxVisualAttributes result
;
13589 PyObject
* obj0
= 0 ;
13590 char *kwnames
[] = {
13591 (char *) "variant", NULL
13594 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Slider_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
13596 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
13597 if (PyErr_Occurred()) SWIG_fail
;
13600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13601 result
= wxSlider::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
13603 wxPyEndAllowThreads(__tstate
);
13604 if (PyErr_Occurred()) SWIG_fail
;
13607 wxVisualAttributes
* resultptr
;
13608 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
13609 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
13617 static PyObject
* Slider_swigregister(PyObject
*self
, PyObject
*args
) {
13619 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13620 SWIG_TypeClientData(SWIGTYPE_p_wxSlider
, obj
);
13622 return Py_BuildValue((char *)"");
13624 static int _wrap_ToggleButtonNameStr_set(PyObject
*_val
) {
13625 PyErr_SetString(PyExc_TypeError
,"Variable ToggleButtonNameStr is read-only.");
13630 static PyObject
*_wrap_ToggleButtonNameStr_get() {
13635 pyobj
= PyUnicode_FromWideChar((&wxPyToggleButtonNameStr
)->c_str(), (&wxPyToggleButtonNameStr
)->Len());
13637 pyobj
= PyString_FromStringAndSize((&wxPyToggleButtonNameStr
)->c_str(), (&wxPyToggleButtonNameStr
)->Len());
13644 static PyObject
*_wrap_new_ToggleButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13645 PyObject
*resultobj
;
13646 wxWindow
*arg1
= (wxWindow
*) 0 ;
13648 wxString
*arg3
= 0 ;
13649 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
13650 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
13651 wxSize
const &arg5_defvalue
= wxDefaultSize
;
13652 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
13653 long arg6
= (long) 0 ;
13654 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
13655 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
13656 wxString
const &arg8_defvalue
= wxPyToggleButtonNameStr
;
13657 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
13658 wxToggleButton
*result
;
13659 bool temp3
= False
;
13662 bool temp8
= False
;
13663 PyObject
* obj0
= 0 ;
13664 PyObject
* obj1
= 0 ;
13665 PyObject
* obj2
= 0 ;
13666 PyObject
* obj3
= 0 ;
13667 PyObject
* obj4
= 0 ;
13668 PyObject
* obj5
= 0 ;
13669 PyObject
* obj6
= 0 ;
13670 PyObject
* obj7
= 0 ;
13671 char *kwnames
[] = {
13672 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
13675 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOO:new_ToggleButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
13676 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
13677 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13678 arg2
= (int) SWIG_AsInt(obj1
);
13679 if (PyErr_Occurred()) SWIG_fail
;
13681 arg3
= wxString_in_helper(obj2
);
13682 if (arg3
== NULL
) SWIG_fail
;
13688 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
13694 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
13698 arg6
= (long) SWIG_AsLong(obj5
);
13699 if (PyErr_Occurred()) SWIG_fail
;
13702 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
13703 SWIG_POINTER_EXCEPTION
| 0)) == -1)
13705 if (arg7
== NULL
) {
13706 PyErr_SetString(PyExc_TypeError
,"null reference");
13712 arg8
= wxString_in_helper(obj7
);
13713 if (arg8
== NULL
) SWIG_fail
;
13718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13719 result
= (wxToggleButton
*)new wxToggleButton(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
13721 wxPyEndAllowThreads(__tstate
);
13722 if (PyErr_Occurred()) SWIG_fail
;
13724 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxToggleButton
, 1);
13747 static PyObject
*_wrap_new_PreToggleButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13748 PyObject
*resultobj
;
13749 wxToggleButton
*result
;
13750 char *kwnames
[] = {
13754 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreToggleButton",kwnames
)) goto fail
;
13756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13757 result
= (wxToggleButton
*)new wxToggleButton();
13759 wxPyEndAllowThreads(__tstate
);
13760 if (PyErr_Occurred()) SWIG_fail
;
13762 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxToggleButton
, 1);
13769 static PyObject
*_wrap_ToggleButton_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13770 PyObject
*resultobj
;
13771 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
13772 wxWindow
*arg2
= (wxWindow
*) 0 ;
13774 wxString
*arg4
= 0 ;
13775 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
13776 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
13777 wxSize
const &arg6_defvalue
= wxDefaultSize
;
13778 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
13779 long arg7
= (long) 0 ;
13780 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
13781 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
13782 wxString
const &arg9_defvalue
= wxPyToggleButtonNameStr
;
13783 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
13785 bool temp4
= False
;
13788 bool temp9
= False
;
13789 PyObject
* obj0
= 0 ;
13790 PyObject
* obj1
= 0 ;
13791 PyObject
* obj2
= 0 ;
13792 PyObject
* obj3
= 0 ;
13793 PyObject
* obj4
= 0 ;
13794 PyObject
* obj5
= 0 ;
13795 PyObject
* obj6
= 0 ;
13796 PyObject
* obj7
= 0 ;
13797 PyObject
* obj8
= 0 ;
13798 char *kwnames
[] = {
13799 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
13802 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOOO:ToggleButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
13803 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToggleButton
,
13804 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13805 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
13806 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13807 arg3
= (int) SWIG_AsInt(obj2
);
13808 if (PyErr_Occurred()) SWIG_fail
;
13810 arg4
= wxString_in_helper(obj3
);
13811 if (arg4
== NULL
) SWIG_fail
;
13817 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
13823 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
13827 arg7
= (long) SWIG_AsLong(obj6
);
13828 if (PyErr_Occurred()) SWIG_fail
;
13831 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
13832 SWIG_POINTER_EXCEPTION
| 0)) == -1)
13834 if (arg8
== NULL
) {
13835 PyErr_SetString(PyExc_TypeError
,"null reference");
13841 arg9
= wxString_in_helper(obj8
);
13842 if (arg9
== NULL
) SWIG_fail
;
13847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13848 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
13850 wxPyEndAllowThreads(__tstate
);
13851 if (PyErr_Occurred()) SWIG_fail
;
13854 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13878 static PyObject
*_wrap_ToggleButton_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13879 PyObject
*resultobj
;
13880 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
13882 PyObject
* obj0
= 0 ;
13883 PyObject
* obj1
= 0 ;
13884 char *kwnames
[] = {
13885 (char *) "self",(char *) "value", NULL
13888 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToggleButton_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
13889 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToggleButton
,
13890 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13891 arg2
= (bool) SWIG_AsBool(obj1
);
13892 if (PyErr_Occurred()) SWIG_fail
;
13894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13895 (arg1
)->SetValue(arg2
);
13897 wxPyEndAllowThreads(__tstate
);
13898 if (PyErr_Occurred()) SWIG_fail
;
13900 Py_INCREF(Py_None
); resultobj
= Py_None
;
13907 static PyObject
*_wrap_ToggleButton_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13908 PyObject
*resultobj
;
13909 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
13911 PyObject
* obj0
= 0 ;
13912 char *kwnames
[] = {
13913 (char *) "self", NULL
13916 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToggleButton_GetValue",kwnames
,&obj0
)) goto fail
;
13917 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToggleButton
,
13918 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13921 result
= (bool)((wxToggleButton
const *)arg1
)->GetValue();
13923 wxPyEndAllowThreads(__tstate
);
13924 if (PyErr_Occurred()) SWIG_fail
;
13927 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13935 static PyObject
*_wrap_ToggleButton_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13936 PyObject
*resultobj
;
13937 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
13938 wxString
*arg2
= 0 ;
13939 bool temp2
= False
;
13940 PyObject
* obj0
= 0 ;
13941 PyObject
* obj1
= 0 ;
13942 char *kwnames
[] = {
13943 (char *) "self",(char *) "label", NULL
13946 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToggleButton_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
13947 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToggleButton
,
13948 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13950 arg2
= wxString_in_helper(obj1
);
13951 if (arg2
== NULL
) SWIG_fail
;
13955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13956 (arg1
)->SetLabel((wxString
const &)*arg2
);
13958 wxPyEndAllowThreads(__tstate
);
13959 if (PyErr_Occurred()) SWIG_fail
;
13961 Py_INCREF(Py_None
); resultobj
= Py_None
;
13976 static PyObject
*_wrap_ToggleButton_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13977 PyObject
*resultobj
;
13978 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
13979 wxVisualAttributes result
;
13980 PyObject
* obj0
= 0 ;
13981 char *kwnames
[] = {
13982 (char *) "variant", NULL
13985 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ToggleButton_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
13987 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
13988 if (PyErr_Occurred()) SWIG_fail
;
13991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13992 result
= wxToggleButton::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
13994 wxPyEndAllowThreads(__tstate
);
13995 if (PyErr_Occurred()) SWIG_fail
;
13998 wxVisualAttributes
* resultptr
;
13999 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
14000 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
14008 static PyObject
* ToggleButton_swigregister(PyObject
*self
, PyObject
*args
) {
14010 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14011 SWIG_TypeClientData(SWIGTYPE_p_wxToggleButton
, obj
);
14013 return Py_BuildValue((char *)"");
14015 static int _wrap_NOTEBOOK_NAME_set(PyObject
*_val
) {
14016 PyErr_SetString(PyExc_TypeError
,"Variable NOTEBOOK_NAME is read-only.");
14021 static PyObject
*_wrap_NOTEBOOK_NAME_get() {
14026 pyobj
= PyUnicode_FromWideChar((&wxPyNOTEBOOK_NAME
)->c_str(), (&wxPyNOTEBOOK_NAME
)->Len());
14028 pyobj
= PyString_FromStringAndSize((&wxPyNOTEBOOK_NAME
)->c_str(), (&wxPyNOTEBOOK_NAME
)->Len());
14035 static PyObject
*_wrap_BookCtrl_GetPageCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14036 PyObject
*resultobj
;
14037 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14039 PyObject
* obj0
= 0 ;
14040 char *kwnames
[] = {
14041 (char *) "self", NULL
14044 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrl_GetPageCount",kwnames
,&obj0
)) goto fail
;
14045 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14046 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14049 result
= (size_t)((wxBookCtrl
const *)arg1
)->GetPageCount();
14051 wxPyEndAllowThreads(__tstate
);
14052 if (PyErr_Occurred()) SWIG_fail
;
14054 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
14061 static PyObject
*_wrap_BookCtrl_GetPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14062 PyObject
*resultobj
;
14063 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14066 PyObject
* obj0
= 0 ;
14067 PyObject
* obj1
= 0 ;
14068 char *kwnames
[] = {
14069 (char *) "self",(char *) "n", NULL
14072 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_GetPage",kwnames
,&obj0
,&obj1
)) goto fail
;
14073 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14074 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14075 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
14076 if (PyErr_Occurred()) SWIG_fail
;
14078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14079 result
= (wxWindow
*)(arg1
)->GetPage(arg2
);
14081 wxPyEndAllowThreads(__tstate
);
14082 if (PyErr_Occurred()) SWIG_fail
;
14085 resultobj
= wxPyMake_wxObject(result
);
14093 static PyObject
*_wrap_BookCtrl_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14094 PyObject
*resultobj
;
14095 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14097 PyObject
* obj0
= 0 ;
14098 char *kwnames
[] = {
14099 (char *) "self", NULL
14102 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrl_GetSelection",kwnames
,&obj0
)) goto fail
;
14103 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14104 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14107 result
= (int)((wxBookCtrl
const *)arg1
)->GetSelection();
14109 wxPyEndAllowThreads(__tstate
);
14110 if (PyErr_Occurred()) SWIG_fail
;
14112 resultobj
= SWIG_FromInt((int)result
);
14119 static PyObject
*_wrap_BookCtrl_SetPageText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14120 PyObject
*resultobj
;
14121 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14123 wxString
*arg3
= 0 ;
14125 bool temp3
= False
;
14126 PyObject
* obj0
= 0 ;
14127 PyObject
* obj1
= 0 ;
14128 PyObject
* obj2
= 0 ;
14129 char *kwnames
[] = {
14130 (char *) "self",(char *) "n",(char *) "strText", NULL
14133 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BookCtrl_SetPageText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14134 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14135 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14136 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
14137 if (PyErr_Occurred()) SWIG_fail
;
14139 arg3
= wxString_in_helper(obj2
);
14140 if (arg3
== NULL
) SWIG_fail
;
14144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14145 result
= (bool)(arg1
)->SetPageText(arg2
,(wxString
const &)*arg3
);
14147 wxPyEndAllowThreads(__tstate
);
14148 if (PyErr_Occurred()) SWIG_fail
;
14151 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14167 static PyObject
*_wrap_BookCtrl_GetPageText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14168 PyObject
*resultobj
;
14169 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14172 PyObject
* obj0
= 0 ;
14173 PyObject
* obj1
= 0 ;
14174 char *kwnames
[] = {
14175 (char *) "self",(char *) "n", NULL
14178 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_GetPageText",kwnames
,&obj0
,&obj1
)) goto fail
;
14179 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14180 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14181 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
14182 if (PyErr_Occurred()) SWIG_fail
;
14184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14185 result
= ((wxBookCtrl
const *)arg1
)->GetPageText(arg2
);
14187 wxPyEndAllowThreads(__tstate
);
14188 if (PyErr_Occurred()) SWIG_fail
;
14192 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14194 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14203 static PyObject
*_wrap_BookCtrl_SetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14204 PyObject
*resultobj
;
14205 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14206 wxImageList
*arg2
= (wxImageList
*) 0 ;
14207 PyObject
* obj0
= 0 ;
14208 PyObject
* obj1
= 0 ;
14209 char *kwnames
[] = {
14210 (char *) "self",(char *) "imageList", NULL
14213 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_SetImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
14214 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14215 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14216 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImageList
,
14217 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14220 (arg1
)->SetImageList(arg2
);
14222 wxPyEndAllowThreads(__tstate
);
14223 if (PyErr_Occurred()) SWIG_fail
;
14225 Py_INCREF(Py_None
); resultobj
= Py_None
;
14232 static PyObject
*_wrap_BookCtrl_AssignImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14233 PyObject
*resultobj
;
14234 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14235 wxImageList
*arg2
= (wxImageList
*) 0 ;
14236 PyObject
* obj0
= 0 ;
14237 PyObject
* obj1
= 0 ;
14238 char *kwnames
[] = {
14239 (char *) "self",(char *) "imageList", NULL
14242 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_AssignImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
14243 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14244 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14245 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImageList
,
14246 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
14248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14249 (arg1
)->AssignImageList(arg2
);
14251 wxPyEndAllowThreads(__tstate
);
14252 if (PyErr_Occurred()) SWIG_fail
;
14254 Py_INCREF(Py_None
); resultobj
= Py_None
;
14261 static PyObject
*_wrap_BookCtrl_GetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14262 PyObject
*resultobj
;
14263 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14264 wxImageList
*result
;
14265 PyObject
* obj0
= 0 ;
14266 char *kwnames
[] = {
14267 (char *) "self", NULL
14270 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrl_GetImageList",kwnames
,&obj0
)) goto fail
;
14271 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14272 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14275 result
= (wxImageList
*)((wxBookCtrl
const *)arg1
)->GetImageList();
14277 wxPyEndAllowThreads(__tstate
);
14278 if (PyErr_Occurred()) SWIG_fail
;
14281 resultobj
= wxPyMake_wxObject(result
);
14289 static PyObject
*_wrap_BookCtrl_GetPageImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14290 PyObject
*resultobj
;
14291 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14294 PyObject
* obj0
= 0 ;
14295 PyObject
* obj1
= 0 ;
14296 char *kwnames
[] = {
14297 (char *) "self",(char *) "n", NULL
14300 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_GetPageImage",kwnames
,&obj0
,&obj1
)) goto fail
;
14301 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14302 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14303 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
14304 if (PyErr_Occurred()) SWIG_fail
;
14306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14307 result
= (int)((wxBookCtrl
const *)arg1
)->GetPageImage(arg2
);
14309 wxPyEndAllowThreads(__tstate
);
14310 if (PyErr_Occurred()) SWIG_fail
;
14312 resultobj
= SWIG_FromInt((int)result
);
14319 static PyObject
*_wrap_BookCtrl_SetPageImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14320 PyObject
*resultobj
;
14321 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14325 PyObject
* obj0
= 0 ;
14326 PyObject
* obj1
= 0 ;
14327 PyObject
* obj2
= 0 ;
14328 char *kwnames
[] = {
14329 (char *) "self",(char *) "n",(char *) "imageId", NULL
14332 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BookCtrl_SetPageImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14333 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14334 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14335 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
14336 if (PyErr_Occurred()) SWIG_fail
;
14337 arg3
= (int) SWIG_AsInt(obj2
);
14338 if (PyErr_Occurred()) SWIG_fail
;
14340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14341 result
= (bool)(arg1
)->SetPageImage(arg2
,arg3
);
14343 wxPyEndAllowThreads(__tstate
);
14344 if (PyErr_Occurred()) SWIG_fail
;
14347 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14355 static PyObject
*_wrap_BookCtrl_SetPageSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14356 PyObject
*resultobj
;
14357 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14360 PyObject
* obj0
= 0 ;
14361 PyObject
* obj1
= 0 ;
14362 char *kwnames
[] = {
14363 (char *) "self",(char *) "size", NULL
14366 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_SetPageSize",kwnames
,&obj0
,&obj1
)) goto fail
;
14367 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14368 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14371 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
14374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14375 (arg1
)->SetPageSize((wxSize
const &)*arg2
);
14377 wxPyEndAllowThreads(__tstate
);
14378 if (PyErr_Occurred()) SWIG_fail
;
14380 Py_INCREF(Py_None
); resultobj
= Py_None
;
14387 static PyObject
*_wrap_BookCtrl_CalcSizeFromPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14388 PyObject
*resultobj
;
14389 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14393 PyObject
* obj0
= 0 ;
14394 PyObject
* obj1
= 0 ;
14395 char *kwnames
[] = {
14396 (char *) "self",(char *) "sizePage", NULL
14399 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_CalcSizeFromPage",kwnames
,&obj0
,&obj1
)) goto fail
;
14400 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14401 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14404 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
14407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14408 result
= ((wxBookCtrl
const *)arg1
)->CalcSizeFromPage((wxSize
const &)*arg2
);
14410 wxPyEndAllowThreads(__tstate
);
14411 if (PyErr_Occurred()) SWIG_fail
;
14414 wxSize
* resultptr
;
14415 resultptr
= new wxSize((wxSize
&) result
);
14416 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
14424 static PyObject
*_wrap_BookCtrl_DeletePage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14425 PyObject
*resultobj
;
14426 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14429 PyObject
* obj0
= 0 ;
14430 PyObject
* obj1
= 0 ;
14431 char *kwnames
[] = {
14432 (char *) "self",(char *) "n", NULL
14435 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_DeletePage",kwnames
,&obj0
,&obj1
)) goto fail
;
14436 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14437 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14438 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
14439 if (PyErr_Occurred()) SWIG_fail
;
14441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14442 result
= (bool)(arg1
)->DeletePage(arg2
);
14444 wxPyEndAllowThreads(__tstate
);
14445 if (PyErr_Occurred()) SWIG_fail
;
14448 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14456 static PyObject
*_wrap_BookCtrl_RemovePage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14457 PyObject
*resultobj
;
14458 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14461 PyObject
* obj0
= 0 ;
14462 PyObject
* obj1
= 0 ;
14463 char *kwnames
[] = {
14464 (char *) "self",(char *) "n", NULL
14467 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_RemovePage",kwnames
,&obj0
,&obj1
)) goto fail
;
14468 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14469 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14470 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
14471 if (PyErr_Occurred()) SWIG_fail
;
14473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14474 result
= (bool)(arg1
)->RemovePage(arg2
);
14476 wxPyEndAllowThreads(__tstate
);
14477 if (PyErr_Occurred()) SWIG_fail
;
14480 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14488 static PyObject
*_wrap_BookCtrl_DeleteAllPages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14489 PyObject
*resultobj
;
14490 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14492 PyObject
* obj0
= 0 ;
14493 char *kwnames
[] = {
14494 (char *) "self", NULL
14497 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrl_DeleteAllPages",kwnames
,&obj0
)) goto fail
;
14498 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14499 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14502 result
= (bool)(arg1
)->DeleteAllPages();
14504 wxPyEndAllowThreads(__tstate
);
14505 if (PyErr_Occurred()) SWIG_fail
;
14508 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14516 static PyObject
*_wrap_BookCtrl_AddPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14517 PyObject
*resultobj
;
14518 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14519 wxWindow
*arg2
= (wxWindow
*) 0 ;
14520 wxString
*arg3
= 0 ;
14521 bool arg4
= (bool) False
;
14522 int arg5
= (int) -1 ;
14524 bool temp3
= False
;
14525 PyObject
* obj0
= 0 ;
14526 PyObject
* obj1
= 0 ;
14527 PyObject
* obj2
= 0 ;
14528 PyObject
* obj3
= 0 ;
14529 PyObject
* obj4
= 0 ;
14530 char *kwnames
[] = {
14531 (char *) "self",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
14534 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:BookCtrl_AddPage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
14535 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14536 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14537 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
14538 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14540 arg3
= wxString_in_helper(obj2
);
14541 if (arg3
== NULL
) SWIG_fail
;
14545 arg4
= (bool) SWIG_AsBool(obj3
);
14546 if (PyErr_Occurred()) SWIG_fail
;
14549 arg5
= (int) SWIG_AsInt(obj4
);
14550 if (PyErr_Occurred()) SWIG_fail
;
14553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14554 result
= (bool)(arg1
)->AddPage(arg2
,(wxString
const &)*arg3
,arg4
,arg5
);
14556 wxPyEndAllowThreads(__tstate
);
14557 if (PyErr_Occurred()) SWIG_fail
;
14560 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14576 static PyObject
*_wrap_BookCtrl_InsertPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14577 PyObject
*resultobj
;
14578 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14580 wxWindow
*arg3
= (wxWindow
*) 0 ;
14581 wxString
*arg4
= 0 ;
14582 bool arg5
= (bool) False
;
14583 int arg6
= (int) -1 ;
14585 bool temp4
= False
;
14586 PyObject
* obj0
= 0 ;
14587 PyObject
* obj1
= 0 ;
14588 PyObject
* obj2
= 0 ;
14589 PyObject
* obj3
= 0 ;
14590 PyObject
* obj4
= 0 ;
14591 PyObject
* obj5
= 0 ;
14592 char *kwnames
[] = {
14593 (char *) "self",(char *) "n",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
14596 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:BookCtrl_InsertPage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
14597 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14598 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14599 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
14600 if (PyErr_Occurred()) SWIG_fail
;
14601 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
14602 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14604 arg4
= wxString_in_helper(obj3
);
14605 if (arg4
== NULL
) SWIG_fail
;
14609 arg5
= (bool) SWIG_AsBool(obj4
);
14610 if (PyErr_Occurred()) SWIG_fail
;
14613 arg6
= (int) SWIG_AsInt(obj5
);
14614 if (PyErr_Occurred()) SWIG_fail
;
14617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14618 result
= (bool)(arg1
)->InsertPage(arg2
,arg3
,(wxString
const &)*arg4
,arg5
,arg6
);
14620 wxPyEndAllowThreads(__tstate
);
14621 if (PyErr_Occurred()) SWIG_fail
;
14624 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14640 static PyObject
*_wrap_BookCtrl_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14641 PyObject
*resultobj
;
14642 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14645 PyObject
* obj0
= 0 ;
14646 PyObject
* obj1
= 0 ;
14647 char *kwnames
[] = {
14648 (char *) "self",(char *) "n", NULL
14651 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
14652 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14653 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14654 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
14655 if (PyErr_Occurred()) SWIG_fail
;
14657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14658 result
= (int)(arg1
)->SetSelection(arg2
);
14660 wxPyEndAllowThreads(__tstate
);
14661 if (PyErr_Occurred()) SWIG_fail
;
14663 resultobj
= SWIG_FromInt((int)result
);
14670 static PyObject
*_wrap_BookCtrl_AdvanceSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14671 PyObject
*resultobj
;
14672 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14673 bool arg2
= (bool) True
;
14674 PyObject
* obj0
= 0 ;
14675 PyObject
* obj1
= 0 ;
14676 char *kwnames
[] = {
14677 (char *) "self",(char *) "forward", NULL
14680 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:BookCtrl_AdvanceSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
14681 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14682 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14684 arg2
= (bool) SWIG_AsBool(obj1
);
14685 if (PyErr_Occurred()) SWIG_fail
;
14688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14689 (arg1
)->AdvanceSelection(arg2
);
14691 wxPyEndAllowThreads(__tstate
);
14692 if (PyErr_Occurred()) SWIG_fail
;
14694 Py_INCREF(Py_None
); resultobj
= Py_None
;
14701 static PyObject
*_wrap_BookCtrl_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14702 PyObject
*resultobj
;
14703 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
14704 wxVisualAttributes result
;
14705 PyObject
* obj0
= 0 ;
14706 char *kwnames
[] = {
14707 (char *) "variant", NULL
14710 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:BookCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
14712 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
14713 if (PyErr_Occurred()) SWIG_fail
;
14716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14717 result
= wxBookCtrl::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
14719 wxPyEndAllowThreads(__tstate
);
14720 if (PyErr_Occurred()) SWIG_fail
;
14723 wxVisualAttributes
* resultptr
;
14724 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
14725 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
14733 static PyObject
* BookCtrl_swigregister(PyObject
*self
, PyObject
*args
) {
14735 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14736 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrl
, obj
);
14738 return Py_BuildValue((char *)"");
14740 static PyObject
*_wrap_new_BookCtrlEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14741 PyObject
*resultobj
;
14742 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
14743 int arg2
= (int) 0 ;
14744 int arg3
= (int) -1 ;
14745 int arg4
= (int) -1 ;
14746 wxBookCtrlEvent
*result
;
14747 PyObject
* obj0
= 0 ;
14748 PyObject
* obj1
= 0 ;
14749 PyObject
* obj2
= 0 ;
14750 PyObject
* obj3
= 0 ;
14751 char *kwnames
[] = {
14752 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
14755 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_BookCtrlEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
14757 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
14758 if (PyErr_Occurred()) SWIG_fail
;
14761 arg2
= (int) SWIG_AsInt(obj1
);
14762 if (PyErr_Occurred()) SWIG_fail
;
14765 arg3
= (int) SWIG_AsInt(obj2
);
14766 if (PyErr_Occurred()) SWIG_fail
;
14769 arg4
= (int) SWIG_AsInt(obj3
);
14770 if (PyErr_Occurred()) SWIG_fail
;
14773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14774 result
= (wxBookCtrlEvent
*)new wxBookCtrlEvent(arg1
,arg2
,arg3
,arg4
);
14776 wxPyEndAllowThreads(__tstate
);
14777 if (PyErr_Occurred()) SWIG_fail
;
14779 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBookCtrlEvent
, 1);
14786 static PyObject
*_wrap_BookCtrlEvent_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14787 PyObject
*resultobj
;
14788 wxBookCtrlEvent
*arg1
= (wxBookCtrlEvent
*) 0 ;
14790 PyObject
* obj0
= 0 ;
14791 char *kwnames
[] = {
14792 (char *) "self", NULL
14795 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlEvent_GetSelection",kwnames
,&obj0
)) goto fail
;
14796 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrlEvent
,
14797 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14800 result
= (int)((wxBookCtrlEvent
const *)arg1
)->GetSelection();
14802 wxPyEndAllowThreads(__tstate
);
14803 if (PyErr_Occurred()) SWIG_fail
;
14805 resultobj
= SWIG_FromInt((int)result
);
14812 static PyObject
*_wrap_BookCtrlEvent_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14813 PyObject
*resultobj
;
14814 wxBookCtrlEvent
*arg1
= (wxBookCtrlEvent
*) 0 ;
14816 PyObject
* obj0
= 0 ;
14817 PyObject
* obj1
= 0 ;
14818 char *kwnames
[] = {
14819 (char *) "self",(char *) "nSel", NULL
14822 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlEvent_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
14823 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrlEvent
,
14824 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14825 arg2
= (int) SWIG_AsInt(obj1
);
14826 if (PyErr_Occurred()) SWIG_fail
;
14828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14829 (arg1
)->SetSelection(arg2
);
14831 wxPyEndAllowThreads(__tstate
);
14832 if (PyErr_Occurred()) SWIG_fail
;
14834 Py_INCREF(Py_None
); resultobj
= Py_None
;
14841 static PyObject
*_wrap_BookCtrlEvent_GetOldSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14842 PyObject
*resultobj
;
14843 wxBookCtrlEvent
*arg1
= (wxBookCtrlEvent
*) 0 ;
14845 PyObject
* obj0
= 0 ;
14846 char *kwnames
[] = {
14847 (char *) "self", NULL
14850 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlEvent_GetOldSelection",kwnames
,&obj0
)) goto fail
;
14851 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrlEvent
,
14852 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14855 result
= (int)((wxBookCtrlEvent
const *)arg1
)->GetOldSelection();
14857 wxPyEndAllowThreads(__tstate
);
14858 if (PyErr_Occurred()) SWIG_fail
;
14860 resultobj
= SWIG_FromInt((int)result
);
14867 static PyObject
*_wrap_BookCtrlEvent_SetOldSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14868 PyObject
*resultobj
;
14869 wxBookCtrlEvent
*arg1
= (wxBookCtrlEvent
*) 0 ;
14871 PyObject
* obj0
= 0 ;
14872 PyObject
* obj1
= 0 ;
14873 char *kwnames
[] = {
14874 (char *) "self",(char *) "nOldSel", NULL
14877 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlEvent_SetOldSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
14878 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrlEvent
,
14879 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14880 arg2
= (int) SWIG_AsInt(obj1
);
14881 if (PyErr_Occurred()) SWIG_fail
;
14883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14884 (arg1
)->SetOldSelection(arg2
);
14886 wxPyEndAllowThreads(__tstate
);
14887 if (PyErr_Occurred()) SWIG_fail
;
14889 Py_INCREF(Py_None
); resultobj
= Py_None
;
14896 static PyObject
* BookCtrlEvent_swigregister(PyObject
*self
, PyObject
*args
) {
14898 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14899 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrlEvent
, obj
);
14901 return Py_BuildValue((char *)"");
14903 static PyObject
*_wrap_new_Notebook(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14904 PyObject
*resultobj
;
14905 wxWindow
*arg1
= (wxWindow
*) 0 ;
14906 int arg2
= (int) -1 ;
14907 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
14908 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
14909 wxSize
const &arg4_defvalue
= wxDefaultSize
;
14910 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
14911 long arg5
= (long) 0 ;
14912 wxString
const &arg6_defvalue
= wxPyNOTEBOOK_NAME
;
14913 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
14914 wxNotebook
*result
;
14917 bool temp6
= False
;
14918 PyObject
* obj0
= 0 ;
14919 PyObject
* obj1
= 0 ;
14920 PyObject
* obj2
= 0 ;
14921 PyObject
* obj3
= 0 ;
14922 PyObject
* obj4
= 0 ;
14923 PyObject
* obj5
= 0 ;
14924 char *kwnames
[] = {
14925 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14928 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_Notebook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
14929 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
14930 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14932 arg2
= (int) SWIG_AsInt(obj1
);
14933 if (PyErr_Occurred()) SWIG_fail
;
14938 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
14944 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
14948 arg5
= (long) SWIG_AsLong(obj4
);
14949 if (PyErr_Occurred()) SWIG_fail
;
14953 arg6
= wxString_in_helper(obj5
);
14954 if (arg6
== NULL
) SWIG_fail
;
14959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14960 result
= (wxNotebook
*)new wxNotebook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
14962 wxPyEndAllowThreads(__tstate
);
14963 if (PyErr_Occurred()) SWIG_fail
;
14966 resultobj
= wxPyMake_wxObject(result
);
14982 static PyObject
*_wrap_new_PreNotebook(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14983 PyObject
*resultobj
;
14984 wxNotebook
*result
;
14985 char *kwnames
[] = {
14989 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreNotebook",kwnames
)) goto fail
;
14991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14992 result
= (wxNotebook
*)new wxNotebook();
14994 wxPyEndAllowThreads(__tstate
);
14995 if (PyErr_Occurred()) SWIG_fail
;
14998 resultobj
= wxPyMake_wxObject(result
);
15006 static PyObject
*_wrap_Notebook_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15007 PyObject
*resultobj
;
15008 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
15009 wxWindow
*arg2
= (wxWindow
*) 0 ;
15011 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
15012 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
15013 wxSize
const &arg5_defvalue
= wxDefaultSize
;
15014 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
15015 long arg6
= (long) 0 ;
15016 wxString
const &arg7_defvalue
= wxPyNOTEBOOK_NAME
;
15017 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
15021 bool temp7
= False
;
15022 PyObject
* obj0
= 0 ;
15023 PyObject
* obj1
= 0 ;
15024 PyObject
* obj2
= 0 ;
15025 PyObject
* obj3
= 0 ;
15026 PyObject
* obj4
= 0 ;
15027 PyObject
* obj5
= 0 ;
15028 PyObject
* obj6
= 0 ;
15029 char *kwnames
[] = {
15030 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15033 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Notebook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
15034 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebook
,
15035 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15036 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
15037 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15038 arg3
= (int) SWIG_AsInt(obj2
);
15039 if (PyErr_Occurred()) SWIG_fail
;
15043 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
15049 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
15053 arg6
= (long) SWIG_AsLong(obj5
);
15054 if (PyErr_Occurred()) SWIG_fail
;
15058 arg7
= wxString_in_helper(obj6
);
15059 if (arg7
== NULL
) SWIG_fail
;
15064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15065 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
15067 wxPyEndAllowThreads(__tstate
);
15068 if (PyErr_Occurred()) SWIG_fail
;
15071 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15087 static PyObject
*_wrap_Notebook_GetRowCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15088 PyObject
*resultobj
;
15089 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
15091 PyObject
* obj0
= 0 ;
15092 char *kwnames
[] = {
15093 (char *) "self", NULL
15096 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Notebook_GetRowCount",kwnames
,&obj0
)) goto fail
;
15097 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebook
,
15098 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15101 result
= (int)((wxNotebook
const *)arg1
)->GetRowCount();
15103 wxPyEndAllowThreads(__tstate
);
15104 if (PyErr_Occurred()) SWIG_fail
;
15106 resultobj
= SWIG_FromInt((int)result
);
15113 static PyObject
*_wrap_Notebook_SetPadding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15114 PyObject
*resultobj
;
15115 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
15118 PyObject
* obj0
= 0 ;
15119 PyObject
* obj1
= 0 ;
15120 char *kwnames
[] = {
15121 (char *) "self",(char *) "padding", NULL
15124 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_SetPadding",kwnames
,&obj0
,&obj1
)) goto fail
;
15125 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebook
,
15126 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15129 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
15132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15133 (arg1
)->SetPadding((wxSize
const &)*arg2
);
15135 wxPyEndAllowThreads(__tstate
);
15136 if (PyErr_Occurred()) SWIG_fail
;
15138 Py_INCREF(Py_None
); resultobj
= Py_None
;
15145 static PyObject
*_wrap_Notebook_SetTabSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15146 PyObject
*resultobj
;
15147 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
15150 PyObject
* obj0
= 0 ;
15151 PyObject
* obj1
= 0 ;
15152 char *kwnames
[] = {
15153 (char *) "self",(char *) "sz", NULL
15156 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_SetTabSize",kwnames
,&obj0
,&obj1
)) goto fail
;
15157 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebook
,
15158 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15161 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
15164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15165 (arg1
)->SetTabSize((wxSize
const &)*arg2
);
15167 wxPyEndAllowThreads(__tstate
);
15168 if (PyErr_Occurred()) SWIG_fail
;
15170 Py_INCREF(Py_None
); resultobj
= Py_None
;
15177 static PyObject
*_wrap_Notebook_HitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15178 PyObject
*resultobj
;
15179 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
15180 wxPoint
*arg2
= 0 ;
15181 long *arg3
= (long *) 0 ;
15185 PyObject
* obj0
= 0 ;
15186 PyObject
* obj1
= 0 ;
15187 char *kwnames
[] = {
15188 (char *) "self",(char *) "pt", NULL
15192 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
15193 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebook
,
15194 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15197 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
15200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15201 result
= (int)((wxNotebook
const *)arg1
)->HitTest((wxPoint
const &)*arg2
,arg3
);
15203 wxPyEndAllowThreads(__tstate
);
15204 if (PyErr_Occurred()) SWIG_fail
;
15206 resultobj
= SWIG_FromInt((int)result
);
15208 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
15209 resultobj
= t_output_helper(resultobj
,o
);
15217 static PyObject
*_wrap_Notebook_CalcSizeFromPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15218 PyObject
*resultobj
;
15219 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
15223 PyObject
* obj0
= 0 ;
15224 PyObject
* obj1
= 0 ;
15225 char *kwnames
[] = {
15226 (char *) "self",(char *) "sizePage", NULL
15229 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_CalcSizeFromPage",kwnames
,&obj0
,&obj1
)) goto fail
;
15230 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebook
,
15231 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15234 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
15237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15238 result
= ((wxNotebook
const *)arg1
)->CalcSizeFromPage((wxSize
const &)*arg2
);
15240 wxPyEndAllowThreads(__tstate
);
15241 if (PyErr_Occurred()) SWIG_fail
;
15244 wxSize
* resultptr
;
15245 resultptr
= new wxSize((wxSize
&) result
);
15246 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
15254 static PyObject
*_wrap_Notebook_ApplyThemeBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15255 PyObject
*resultobj
;
15256 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
15257 wxWindow
*arg2
= (wxWindow
*) 0 ;
15258 wxColour
*arg3
= 0 ;
15260 PyObject
* obj0
= 0 ;
15261 PyObject
* obj1
= 0 ;
15262 PyObject
* obj2
= 0 ;
15263 char *kwnames
[] = {
15264 (char *) "self",(char *) "window",(char *) "colour", NULL
15267 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Notebook_ApplyThemeBackground",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15268 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebook
,
15269 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15270 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
15271 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15274 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
15277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15278 (arg1
)->ApplyThemeBackground(arg2
,(wxColour
const &)*arg3
);
15280 wxPyEndAllowThreads(__tstate
);
15281 if (PyErr_Occurred()) SWIG_fail
;
15283 Py_INCREF(Py_None
); resultobj
= Py_None
;
15290 static PyObject
*_wrap_Notebook_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15291 PyObject
*resultobj
;
15292 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
15293 wxVisualAttributes result
;
15294 PyObject
* obj0
= 0 ;
15295 char *kwnames
[] = {
15296 (char *) "variant", NULL
15299 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Notebook_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
15301 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
15302 if (PyErr_Occurred()) SWIG_fail
;
15305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15306 result
= wxNotebook::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
15308 wxPyEndAllowThreads(__tstate
);
15309 if (PyErr_Occurred()) SWIG_fail
;
15312 wxVisualAttributes
* resultptr
;
15313 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
15314 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
15322 static PyObject
* Notebook_swigregister(PyObject
*self
, PyObject
*args
) {
15324 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15325 SWIG_TypeClientData(SWIGTYPE_p_wxNotebook
, obj
);
15327 return Py_BuildValue((char *)"");
15329 static PyObject
*_wrap_new_NotebookEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15330 PyObject
*resultobj
;
15331 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
15332 int arg2
= (int) 0 ;
15333 int arg3
= (int) -1 ;
15334 int arg4
= (int) -1 ;
15335 wxNotebookEvent
*result
;
15336 PyObject
* obj0
= 0 ;
15337 PyObject
* obj1
= 0 ;
15338 PyObject
* obj2
= 0 ;
15339 PyObject
* obj3
= 0 ;
15340 char *kwnames
[] = {
15341 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
15344 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_NotebookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
15346 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
15347 if (PyErr_Occurred()) SWIG_fail
;
15350 arg2
= (int) SWIG_AsInt(obj1
);
15351 if (PyErr_Occurred()) SWIG_fail
;
15354 arg3
= (int) SWIG_AsInt(obj2
);
15355 if (PyErr_Occurred()) SWIG_fail
;
15358 arg4
= (int) SWIG_AsInt(obj3
);
15359 if (PyErr_Occurred()) SWIG_fail
;
15362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15363 result
= (wxNotebookEvent
*)new wxNotebookEvent(arg1
,arg2
,arg3
,arg4
);
15365 wxPyEndAllowThreads(__tstate
);
15366 if (PyErr_Occurred()) SWIG_fail
;
15368 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNotebookEvent
, 1);
15375 static PyObject
* NotebookEvent_swigregister(PyObject
*self
, PyObject
*args
) {
15377 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15378 SWIG_TypeClientData(SWIGTYPE_p_wxNotebookEvent
, obj
);
15380 return Py_BuildValue((char *)"");
15382 static PyObject
*_wrap_new_Listbook(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15383 PyObject
*resultobj
;
15384 wxWindow
*arg1
= (wxWindow
*) 0 ;
15385 int arg2
= (int) -1 ;
15386 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
15387 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
15388 wxSize
const &arg4_defvalue
= wxDefaultSize
;
15389 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
15390 long arg5
= (long) 0 ;
15391 wxString
const &arg6_defvalue
= wxPyEmptyString
;
15392 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
15393 wxListbook
*result
;
15396 bool temp6
= False
;
15397 PyObject
* obj0
= 0 ;
15398 PyObject
* obj1
= 0 ;
15399 PyObject
* obj2
= 0 ;
15400 PyObject
* obj3
= 0 ;
15401 PyObject
* obj4
= 0 ;
15402 PyObject
* obj5
= 0 ;
15403 char *kwnames
[] = {
15404 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15407 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_Listbook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
15408 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
15409 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15411 arg2
= (int) SWIG_AsInt(obj1
);
15412 if (PyErr_Occurred()) SWIG_fail
;
15417 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
15423 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
15427 arg5
= (long) SWIG_AsLong(obj4
);
15428 if (PyErr_Occurred()) SWIG_fail
;
15432 arg6
= wxString_in_helper(obj5
);
15433 if (arg6
== NULL
) SWIG_fail
;
15438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15439 result
= (wxListbook
*)new wxListbook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
15441 wxPyEndAllowThreads(__tstate
);
15442 if (PyErr_Occurred()) SWIG_fail
;
15444 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListbook
, 1);
15459 static PyObject
*_wrap_new_PreListbook(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15460 PyObject
*resultobj
;
15461 wxListbook
*result
;
15462 char *kwnames
[] = {
15466 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreListbook",kwnames
)) goto fail
;
15468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15469 result
= (wxListbook
*)new wxListbook();
15471 wxPyEndAllowThreads(__tstate
);
15472 if (PyErr_Occurred()) SWIG_fail
;
15474 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListbook
, 1);
15481 static PyObject
*_wrap_Listbook_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15482 PyObject
*resultobj
;
15483 wxListbook
*arg1
= (wxListbook
*) 0 ;
15484 wxWindow
*arg2
= (wxWindow
*) 0 ;
15486 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
15487 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
15488 wxSize
const &arg5_defvalue
= wxDefaultSize
;
15489 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
15490 long arg6
= (long) 0 ;
15491 wxString
const &arg7_defvalue
= wxPyEmptyString
;
15492 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
15496 bool temp7
= False
;
15497 PyObject
* obj0
= 0 ;
15498 PyObject
* obj1
= 0 ;
15499 PyObject
* obj2
= 0 ;
15500 PyObject
* obj3
= 0 ;
15501 PyObject
* obj4
= 0 ;
15502 PyObject
* obj5
= 0 ;
15503 PyObject
* obj6
= 0 ;
15504 char *kwnames
[] = {
15505 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15508 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Listbook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
15509 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListbook
,
15510 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15511 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
15512 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15513 arg3
= (int) SWIG_AsInt(obj2
);
15514 if (PyErr_Occurred()) SWIG_fail
;
15518 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
15524 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
15528 arg6
= (long) SWIG_AsLong(obj5
);
15529 if (PyErr_Occurred()) SWIG_fail
;
15533 arg7
= wxString_in_helper(obj6
);
15534 if (arg7
== NULL
) SWIG_fail
;
15539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15540 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
15542 wxPyEndAllowThreads(__tstate
);
15543 if (PyErr_Occurred()) SWIG_fail
;
15546 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15562 static PyObject
*_wrap_Listbook_IsVertical(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15563 PyObject
*resultobj
;
15564 wxListbook
*arg1
= (wxListbook
*) 0 ;
15566 PyObject
* obj0
= 0 ;
15567 char *kwnames
[] = {
15568 (char *) "self", NULL
15571 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Listbook_IsVertical",kwnames
,&obj0
)) goto fail
;
15572 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListbook
,
15573 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15576 result
= (bool)((wxListbook
const *)arg1
)->IsVertical();
15578 wxPyEndAllowThreads(__tstate
);
15579 if (PyErr_Occurred()) SWIG_fail
;
15582 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15590 static PyObject
* Listbook_swigregister(PyObject
*self
, PyObject
*args
) {
15592 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15593 SWIG_TypeClientData(SWIGTYPE_p_wxListbook
, obj
);
15595 return Py_BuildValue((char *)"");
15597 static PyObject
*_wrap_new_ListbookEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15598 PyObject
*resultobj
;
15599 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
15600 int arg2
= (int) 0 ;
15601 int arg3
= (int) -1 ;
15602 int arg4
= (int) -1 ;
15603 wxListbookEvent
*result
;
15604 PyObject
* obj0
= 0 ;
15605 PyObject
* obj1
= 0 ;
15606 PyObject
* obj2
= 0 ;
15607 PyObject
* obj3
= 0 ;
15608 char *kwnames
[] = {
15609 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
15612 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_ListbookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
15614 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
15615 if (PyErr_Occurred()) SWIG_fail
;
15618 arg2
= (int) SWIG_AsInt(obj1
);
15619 if (PyErr_Occurred()) SWIG_fail
;
15622 arg3
= (int) SWIG_AsInt(obj2
);
15623 if (PyErr_Occurred()) SWIG_fail
;
15626 arg4
= (int) SWIG_AsInt(obj3
);
15627 if (PyErr_Occurred()) SWIG_fail
;
15630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15631 result
= (wxListbookEvent
*)new wxListbookEvent(arg1
,arg2
,arg3
,arg4
);
15633 wxPyEndAllowThreads(__tstate
);
15634 if (PyErr_Occurred()) SWIG_fail
;
15636 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListbookEvent
, 1);
15643 static PyObject
* ListbookEvent_swigregister(PyObject
*self
, PyObject
*args
) {
15645 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15646 SWIG_TypeClientData(SWIGTYPE_p_wxListbookEvent
, obj
);
15648 return Py_BuildValue((char *)"");
15650 static PyObject
*_wrap_new_BookCtrlSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15651 PyObject
*resultobj
;
15652 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
15653 wxBookCtrlSizer
*result
;
15654 PyObject
* obj0
= 0 ;
15655 char *kwnames
[] = {
15656 (char *) "nb", NULL
15659 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BookCtrlSizer",kwnames
,&obj0
)) goto fail
;
15660 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
15661 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15664 result
= (wxBookCtrlSizer
*)new wxBookCtrlSizer(arg1
);
15666 wxPyEndAllowThreads(__tstate
);
15667 if (PyErr_Occurred()) SWIG_fail
;
15669 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBookCtrlSizer
, 1);
15676 static PyObject
*_wrap_BookCtrlSizer_RecalcSizes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15677 PyObject
*resultobj
;
15678 wxBookCtrlSizer
*arg1
= (wxBookCtrlSizer
*) 0 ;
15679 PyObject
* obj0
= 0 ;
15680 char *kwnames
[] = {
15681 (char *) "self", NULL
15684 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlSizer_RecalcSizes",kwnames
,&obj0
)) goto fail
;
15685 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrlSizer
,
15686 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15689 (arg1
)->RecalcSizes();
15691 wxPyEndAllowThreads(__tstate
);
15692 if (PyErr_Occurred()) SWIG_fail
;
15694 Py_INCREF(Py_None
); resultobj
= Py_None
;
15701 static PyObject
*_wrap_BookCtrlSizer_CalcMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15702 PyObject
*resultobj
;
15703 wxBookCtrlSizer
*arg1
= (wxBookCtrlSizer
*) 0 ;
15705 PyObject
* obj0
= 0 ;
15706 char *kwnames
[] = {
15707 (char *) "self", NULL
15710 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlSizer_CalcMin",kwnames
,&obj0
)) goto fail
;
15711 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrlSizer
,
15712 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15715 result
= (arg1
)->CalcMin();
15717 wxPyEndAllowThreads(__tstate
);
15718 if (PyErr_Occurred()) SWIG_fail
;
15721 wxSize
* resultptr
;
15722 resultptr
= new wxSize((wxSize
&) result
);
15723 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
15731 static PyObject
*_wrap_BookCtrlSizer_GetControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15732 PyObject
*resultobj
;
15733 wxBookCtrlSizer
*arg1
= (wxBookCtrlSizer
*) 0 ;
15734 wxBookCtrl
*result
;
15735 PyObject
* obj0
= 0 ;
15736 char *kwnames
[] = {
15737 (char *) "self", NULL
15740 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlSizer_GetControl",kwnames
,&obj0
)) goto fail
;
15741 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrlSizer
,
15742 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15745 result
= (wxBookCtrl
*)(arg1
)->GetControl();
15747 wxPyEndAllowThreads(__tstate
);
15748 if (PyErr_Occurred()) SWIG_fail
;
15750 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBookCtrl
, 0);
15757 static PyObject
* BookCtrlSizer_swigregister(PyObject
*self
, PyObject
*args
) {
15759 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15760 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrlSizer
, obj
);
15762 return Py_BuildValue((char *)"");
15764 static PyObject
*_wrap_new_NotebookSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15765 PyObject
*resultobj
;
15766 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
15767 wxNotebookSizer
*result
;
15768 PyObject
* obj0
= 0 ;
15769 char *kwnames
[] = {
15770 (char *) "nb", NULL
15773 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_NotebookSizer",kwnames
,&obj0
)) goto fail
;
15774 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebook
,
15775 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15778 result
= (wxNotebookSizer
*)new wxNotebookSizer(arg1
);
15780 wxPyEndAllowThreads(__tstate
);
15781 if (PyErr_Occurred()) SWIG_fail
;
15783 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNotebookSizer
, 1);
15790 static PyObject
*_wrap_NotebookSizer_RecalcSizes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15791 PyObject
*resultobj
;
15792 wxNotebookSizer
*arg1
= (wxNotebookSizer
*) 0 ;
15793 PyObject
* obj0
= 0 ;
15794 char *kwnames
[] = {
15795 (char *) "self", NULL
15798 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotebookSizer_RecalcSizes",kwnames
,&obj0
)) goto fail
;
15799 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebookSizer
,
15800 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15803 (arg1
)->RecalcSizes();
15805 wxPyEndAllowThreads(__tstate
);
15806 if (PyErr_Occurred()) SWIG_fail
;
15808 Py_INCREF(Py_None
); resultobj
= Py_None
;
15815 static PyObject
*_wrap_NotebookSizer_CalcMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15816 PyObject
*resultobj
;
15817 wxNotebookSizer
*arg1
= (wxNotebookSizer
*) 0 ;
15819 PyObject
* obj0
= 0 ;
15820 char *kwnames
[] = {
15821 (char *) "self", NULL
15824 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotebookSizer_CalcMin",kwnames
,&obj0
)) goto fail
;
15825 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebookSizer
,
15826 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15829 result
= (arg1
)->CalcMin();
15831 wxPyEndAllowThreads(__tstate
);
15832 if (PyErr_Occurred()) SWIG_fail
;
15835 wxSize
* resultptr
;
15836 resultptr
= new wxSize((wxSize
&) result
);
15837 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
15845 static PyObject
*_wrap_NotebookSizer_GetNotebook(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15846 PyObject
*resultobj
;
15847 wxNotebookSizer
*arg1
= (wxNotebookSizer
*) 0 ;
15848 wxNotebook
*result
;
15849 PyObject
* obj0
= 0 ;
15850 char *kwnames
[] = {
15851 (char *) "self", NULL
15854 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotebookSizer_GetNotebook",kwnames
,&obj0
)) goto fail
;
15855 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebookSizer
,
15856 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15859 result
= (wxNotebook
*)(arg1
)->GetNotebook();
15861 wxPyEndAllowThreads(__tstate
);
15862 if (PyErr_Occurred()) SWIG_fail
;
15865 resultobj
= wxPyMake_wxObject(result
);
15873 static PyObject
* NotebookSizer_swigregister(PyObject
*self
, PyObject
*args
) {
15875 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15876 SWIG_TypeClientData(SWIGTYPE_p_wxNotebookSizer
, obj
);
15878 return Py_BuildValue((char *)"");
15880 static PyObject
*_wrap_ToolBarToolBase_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15881 PyObject
*resultobj
;
15882 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15884 PyObject
* obj0
= 0 ;
15885 char *kwnames
[] = {
15886 (char *) "self", NULL
15889 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetId",kwnames
,&obj0
)) goto fail
;
15890 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15891 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15894 result
= (int)(arg1
)->GetId();
15896 wxPyEndAllowThreads(__tstate
);
15897 if (PyErr_Occurred()) SWIG_fail
;
15899 resultobj
= SWIG_FromInt((int)result
);
15906 static PyObject
*_wrap_ToolBarToolBase_GetControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15907 PyObject
*resultobj
;
15908 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15910 PyObject
* obj0
= 0 ;
15911 char *kwnames
[] = {
15912 (char *) "self", NULL
15915 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetControl",kwnames
,&obj0
)) goto fail
;
15916 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15917 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15920 result
= (wxControl
*)(arg1
)->GetControl();
15922 wxPyEndAllowThreads(__tstate
);
15923 if (PyErr_Occurred()) SWIG_fail
;
15926 resultobj
= wxPyMake_wxObject(result
);
15934 static PyObject
*_wrap_ToolBarToolBase_GetToolBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15935 PyObject
*resultobj
;
15936 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15937 wxToolBarBase
*result
;
15938 PyObject
* obj0
= 0 ;
15939 char *kwnames
[] = {
15940 (char *) "self", NULL
15943 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetToolBar",kwnames
,&obj0
)) goto fail
;
15944 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15945 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15948 result
= (wxToolBarBase
*)(arg1
)->GetToolBar();
15950 wxPyEndAllowThreads(__tstate
);
15951 if (PyErr_Occurred()) SWIG_fail
;
15954 resultobj
= wxPyMake_wxObject(result
);
15962 static PyObject
*_wrap_ToolBarToolBase_IsButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15963 PyObject
*resultobj
;
15964 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15966 PyObject
* obj0
= 0 ;
15967 char *kwnames
[] = {
15968 (char *) "self", NULL
15971 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsButton",kwnames
,&obj0
)) goto fail
;
15972 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15973 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15976 result
= (int)(arg1
)->IsButton();
15978 wxPyEndAllowThreads(__tstate
);
15979 if (PyErr_Occurred()) SWIG_fail
;
15981 resultobj
= SWIG_FromInt((int)result
);
15988 static PyObject
*_wrap_ToolBarToolBase_IsControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15989 PyObject
*resultobj
;
15990 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15992 PyObject
* obj0
= 0 ;
15993 char *kwnames
[] = {
15994 (char *) "self", NULL
15997 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsControl",kwnames
,&obj0
)) goto fail
;
15998 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15999 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16002 result
= (int)(arg1
)->IsControl();
16004 wxPyEndAllowThreads(__tstate
);
16005 if (PyErr_Occurred()) SWIG_fail
;
16007 resultobj
= SWIG_FromInt((int)result
);
16014 static PyObject
*_wrap_ToolBarToolBase_IsSeparator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16015 PyObject
*resultobj
;
16016 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16018 PyObject
* obj0
= 0 ;
16019 char *kwnames
[] = {
16020 (char *) "self", NULL
16023 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsSeparator",kwnames
,&obj0
)) goto fail
;
16024 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16025 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16028 result
= (int)(arg1
)->IsSeparator();
16030 wxPyEndAllowThreads(__tstate
);
16031 if (PyErr_Occurred()) SWIG_fail
;
16033 resultobj
= SWIG_FromInt((int)result
);
16040 static PyObject
*_wrap_ToolBarToolBase_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16041 PyObject
*resultobj
;
16042 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16044 PyObject
* obj0
= 0 ;
16045 char *kwnames
[] = {
16046 (char *) "self", NULL
16049 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetStyle",kwnames
,&obj0
)) goto fail
;
16050 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16051 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16054 result
= (int)(arg1
)->GetStyle();
16056 wxPyEndAllowThreads(__tstate
);
16057 if (PyErr_Occurred()) SWIG_fail
;
16059 resultobj
= SWIG_FromInt((int)result
);
16066 static PyObject
*_wrap_ToolBarToolBase_GetKind(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16067 PyObject
*resultobj
;
16068 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16070 PyObject
* obj0
= 0 ;
16071 char *kwnames
[] = {
16072 (char *) "self", NULL
16075 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetKind",kwnames
,&obj0
)) goto fail
;
16076 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16077 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16080 result
= (int)(arg1
)->GetKind();
16082 wxPyEndAllowThreads(__tstate
);
16083 if (PyErr_Occurred()) SWIG_fail
;
16085 resultobj
= SWIG_FromInt((int)result
);
16092 static PyObject
*_wrap_ToolBarToolBase_IsEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16093 PyObject
*resultobj
;
16094 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16096 PyObject
* obj0
= 0 ;
16097 char *kwnames
[] = {
16098 (char *) "self", NULL
16101 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsEnabled",kwnames
,&obj0
)) goto fail
;
16102 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16103 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16106 result
= (bool)(arg1
)->IsEnabled();
16108 wxPyEndAllowThreads(__tstate
);
16109 if (PyErr_Occurred()) SWIG_fail
;
16112 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16120 static PyObject
*_wrap_ToolBarToolBase_IsToggled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16121 PyObject
*resultobj
;
16122 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16124 PyObject
* obj0
= 0 ;
16125 char *kwnames
[] = {
16126 (char *) "self", NULL
16129 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsToggled",kwnames
,&obj0
)) goto fail
;
16130 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16131 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16134 result
= (bool)(arg1
)->IsToggled();
16136 wxPyEndAllowThreads(__tstate
);
16137 if (PyErr_Occurred()) SWIG_fail
;
16140 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16148 static PyObject
*_wrap_ToolBarToolBase_CanBeToggled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16149 PyObject
*resultobj
;
16150 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16152 PyObject
* obj0
= 0 ;
16153 char *kwnames
[] = {
16154 (char *) "self", NULL
16157 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_CanBeToggled",kwnames
,&obj0
)) goto fail
;
16158 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16159 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16162 result
= (bool)(arg1
)->CanBeToggled();
16164 wxPyEndAllowThreads(__tstate
);
16165 if (PyErr_Occurred()) SWIG_fail
;
16168 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16176 static PyObject
*_wrap_ToolBarToolBase_GetNormalBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16177 PyObject
*resultobj
;
16178 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16180 PyObject
* obj0
= 0 ;
16181 char *kwnames
[] = {
16182 (char *) "self", NULL
16185 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetNormalBitmap",kwnames
,&obj0
)) goto fail
;
16186 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16187 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16191 wxBitmap
const &_result_ref
= (arg1
)->GetNormalBitmap();
16192 result
= (wxBitmap
*) &_result_ref
;
16195 wxPyEndAllowThreads(__tstate
);
16196 if (PyErr_Occurred()) SWIG_fail
;
16199 wxBitmap
* resultptr
= new wxBitmap(*result
);
16200 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
16208 static PyObject
*_wrap_ToolBarToolBase_GetDisabledBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16209 PyObject
*resultobj
;
16210 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16212 PyObject
* obj0
= 0 ;
16213 char *kwnames
[] = {
16214 (char *) "self", NULL
16217 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetDisabledBitmap",kwnames
,&obj0
)) goto fail
;
16218 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16219 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16223 wxBitmap
const &_result_ref
= (arg1
)->GetDisabledBitmap();
16224 result
= (wxBitmap
*) &_result_ref
;
16227 wxPyEndAllowThreads(__tstate
);
16228 if (PyErr_Occurred()) SWIG_fail
;
16231 wxBitmap
* resultptr
= new wxBitmap(*result
);
16232 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
16240 static PyObject
*_wrap_ToolBarToolBase_GetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16241 PyObject
*resultobj
;
16242 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16244 PyObject
* obj0
= 0 ;
16245 char *kwnames
[] = {
16246 (char *) "self", NULL
16249 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetBitmap",kwnames
,&obj0
)) goto fail
;
16250 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16251 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16254 result
= (arg1
)->GetBitmap();
16256 wxPyEndAllowThreads(__tstate
);
16257 if (PyErr_Occurred()) SWIG_fail
;
16260 wxBitmap
* resultptr
;
16261 resultptr
= new wxBitmap((wxBitmap
&) result
);
16262 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
16270 static PyObject
*_wrap_ToolBarToolBase_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16271 PyObject
*resultobj
;
16272 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16274 PyObject
* obj0
= 0 ;
16275 char *kwnames
[] = {
16276 (char *) "self", NULL
16279 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetLabel",kwnames
,&obj0
)) goto fail
;
16280 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16281 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16284 result
= (arg1
)->GetLabel();
16286 wxPyEndAllowThreads(__tstate
);
16287 if (PyErr_Occurred()) SWIG_fail
;
16291 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16293 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16302 static PyObject
*_wrap_ToolBarToolBase_GetShortHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16303 PyObject
*resultobj
;
16304 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16306 PyObject
* obj0
= 0 ;
16307 char *kwnames
[] = {
16308 (char *) "self", NULL
16311 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetShortHelp",kwnames
,&obj0
)) goto fail
;
16312 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16313 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16316 result
= (arg1
)->GetShortHelp();
16318 wxPyEndAllowThreads(__tstate
);
16319 if (PyErr_Occurred()) SWIG_fail
;
16323 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16325 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16334 static PyObject
*_wrap_ToolBarToolBase_GetLongHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16335 PyObject
*resultobj
;
16336 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16338 PyObject
* obj0
= 0 ;
16339 char *kwnames
[] = {
16340 (char *) "self", NULL
16343 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetLongHelp",kwnames
,&obj0
)) goto fail
;
16344 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16345 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16348 result
= (arg1
)->GetLongHelp();
16350 wxPyEndAllowThreads(__tstate
);
16351 if (PyErr_Occurred()) SWIG_fail
;
16355 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16357 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16366 static PyObject
*_wrap_ToolBarToolBase_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16367 PyObject
*resultobj
;
16368 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16371 PyObject
* obj0
= 0 ;
16372 PyObject
* obj1
= 0 ;
16373 char *kwnames
[] = {
16374 (char *) "self",(char *) "enable", NULL
16377 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_Enable",kwnames
,&obj0
,&obj1
)) goto fail
;
16378 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16379 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16380 arg2
= (bool) SWIG_AsBool(obj1
);
16381 if (PyErr_Occurred()) SWIG_fail
;
16383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16384 result
= (bool)(arg1
)->Enable(arg2
);
16386 wxPyEndAllowThreads(__tstate
);
16387 if (PyErr_Occurred()) SWIG_fail
;
16390 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16398 static PyObject
*_wrap_ToolBarToolBase_Toggle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16399 PyObject
*resultobj
;
16400 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16401 PyObject
* obj0
= 0 ;
16402 char *kwnames
[] = {
16403 (char *) "self", NULL
16406 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_Toggle",kwnames
,&obj0
)) goto fail
;
16407 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16408 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16413 wxPyEndAllowThreads(__tstate
);
16414 if (PyErr_Occurred()) SWIG_fail
;
16416 Py_INCREF(Py_None
); resultobj
= Py_None
;
16423 static PyObject
*_wrap_ToolBarToolBase_SetToggle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16424 PyObject
*resultobj
;
16425 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16428 PyObject
* obj0
= 0 ;
16429 PyObject
* obj1
= 0 ;
16430 char *kwnames
[] = {
16431 (char *) "self",(char *) "toggle", NULL
16434 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetToggle",kwnames
,&obj0
,&obj1
)) goto fail
;
16435 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16436 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16437 arg2
= (bool) SWIG_AsBool(obj1
);
16438 if (PyErr_Occurred()) SWIG_fail
;
16440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16441 result
= (bool)(arg1
)->SetToggle(arg2
);
16443 wxPyEndAllowThreads(__tstate
);
16444 if (PyErr_Occurred()) SWIG_fail
;
16447 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16455 static PyObject
*_wrap_ToolBarToolBase_SetShortHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16456 PyObject
*resultobj
;
16457 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16458 wxString
*arg2
= 0 ;
16460 bool temp2
= False
;
16461 PyObject
* obj0
= 0 ;
16462 PyObject
* obj1
= 0 ;
16463 char *kwnames
[] = {
16464 (char *) "self",(char *) "help", NULL
16467 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetShortHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
16468 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16469 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16471 arg2
= wxString_in_helper(obj1
);
16472 if (arg2
== NULL
) SWIG_fail
;
16476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16477 result
= (bool)(arg1
)->SetShortHelp((wxString
const &)*arg2
);
16479 wxPyEndAllowThreads(__tstate
);
16480 if (PyErr_Occurred()) SWIG_fail
;
16483 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16499 static PyObject
*_wrap_ToolBarToolBase_SetLongHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16500 PyObject
*resultobj
;
16501 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16502 wxString
*arg2
= 0 ;
16504 bool temp2
= False
;
16505 PyObject
* obj0
= 0 ;
16506 PyObject
* obj1
= 0 ;
16507 char *kwnames
[] = {
16508 (char *) "self",(char *) "help", NULL
16511 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetLongHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
16512 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16513 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16515 arg2
= wxString_in_helper(obj1
);
16516 if (arg2
== NULL
) SWIG_fail
;
16520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16521 result
= (bool)(arg1
)->SetLongHelp((wxString
const &)*arg2
);
16523 wxPyEndAllowThreads(__tstate
);
16524 if (PyErr_Occurred()) SWIG_fail
;
16527 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16543 static PyObject
*_wrap_ToolBarToolBase_SetNormalBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16544 PyObject
*resultobj
;
16545 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16546 wxBitmap
*arg2
= 0 ;
16547 PyObject
* obj0
= 0 ;
16548 PyObject
* obj1
= 0 ;
16549 char *kwnames
[] = {
16550 (char *) "self",(char *) "bmp", NULL
16553 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetNormalBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
16554 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16555 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16556 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
16557 SWIG_POINTER_EXCEPTION
| 0)) == -1)
16559 if (arg2
== NULL
) {
16560 PyErr_SetString(PyExc_TypeError
,"null reference");
16564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16565 (arg1
)->SetNormalBitmap((wxBitmap
const &)*arg2
);
16567 wxPyEndAllowThreads(__tstate
);
16568 if (PyErr_Occurred()) SWIG_fail
;
16570 Py_INCREF(Py_None
); resultobj
= Py_None
;
16577 static PyObject
*_wrap_ToolBarToolBase_SetDisabledBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16578 PyObject
*resultobj
;
16579 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16580 wxBitmap
*arg2
= 0 ;
16581 PyObject
* obj0
= 0 ;
16582 PyObject
* obj1
= 0 ;
16583 char *kwnames
[] = {
16584 (char *) "self",(char *) "bmp", NULL
16587 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetDisabledBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
16588 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16589 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16590 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
16591 SWIG_POINTER_EXCEPTION
| 0)) == -1)
16593 if (arg2
== NULL
) {
16594 PyErr_SetString(PyExc_TypeError
,"null reference");
16598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16599 (arg1
)->SetDisabledBitmap((wxBitmap
const &)*arg2
);
16601 wxPyEndAllowThreads(__tstate
);
16602 if (PyErr_Occurred()) SWIG_fail
;
16604 Py_INCREF(Py_None
); resultobj
= Py_None
;
16611 static PyObject
*_wrap_ToolBarToolBase_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16612 PyObject
*resultobj
;
16613 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16614 wxString
*arg2
= 0 ;
16615 bool temp2
= False
;
16616 PyObject
* obj0
= 0 ;
16617 PyObject
* obj1
= 0 ;
16618 char *kwnames
[] = {
16619 (char *) "self",(char *) "label", NULL
16622 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
16623 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16624 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16626 arg2
= wxString_in_helper(obj1
);
16627 if (arg2
== NULL
) SWIG_fail
;
16631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16632 (arg1
)->SetLabel((wxString
const &)*arg2
);
16634 wxPyEndAllowThreads(__tstate
);
16635 if (PyErr_Occurred()) SWIG_fail
;
16637 Py_INCREF(Py_None
); resultobj
= Py_None
;
16652 static PyObject
*_wrap_ToolBarToolBase_Detach(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16653 PyObject
*resultobj
;
16654 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16655 PyObject
* obj0
= 0 ;
16656 char *kwnames
[] = {
16657 (char *) "self", NULL
16660 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_Detach",kwnames
,&obj0
)) goto fail
;
16661 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16662 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16667 wxPyEndAllowThreads(__tstate
);
16668 if (PyErr_Occurred()) SWIG_fail
;
16670 Py_INCREF(Py_None
); resultobj
= Py_None
;
16677 static PyObject
*_wrap_ToolBarToolBase_Attach(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16678 PyObject
*resultobj
;
16679 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16680 wxToolBarBase
*arg2
= (wxToolBarBase
*) 0 ;
16681 PyObject
* obj0
= 0 ;
16682 PyObject
* obj1
= 0 ;
16683 char *kwnames
[] = {
16684 (char *) "self",(char *) "tbar", NULL
16687 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_Attach",kwnames
,&obj0
,&obj1
)) goto fail
;
16688 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16689 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16690 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxToolBarBase
,
16691 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16694 (arg1
)->Attach(arg2
);
16696 wxPyEndAllowThreads(__tstate
);
16697 if (PyErr_Occurred()) SWIG_fail
;
16699 Py_INCREF(Py_None
); resultobj
= Py_None
;
16706 static PyObject
*_wrap_ToolBarToolBase_GetClientData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16707 PyObject
*resultobj
;
16708 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16710 PyObject
* obj0
= 0 ;
16711 char *kwnames
[] = {
16712 (char *) "self", NULL
16715 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetClientData",kwnames
,&obj0
)) goto fail
;
16716 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16717 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16720 result
= (PyObject
*)wxToolBarToolBase_GetClientData(arg1
);
16722 wxPyEndAllowThreads(__tstate
);
16723 if (PyErr_Occurred()) SWIG_fail
;
16725 resultobj
= result
;
16732 static PyObject
*_wrap_ToolBarToolBase_SetClientData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16733 PyObject
*resultobj
;
16734 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16735 PyObject
*arg2
= (PyObject
*) 0 ;
16736 PyObject
* obj0
= 0 ;
16737 PyObject
* obj1
= 0 ;
16738 char *kwnames
[] = {
16739 (char *) "self",(char *) "clientData", NULL
16742 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetClientData",kwnames
,&obj0
,&obj1
)) goto fail
;
16743 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16744 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16748 wxToolBarToolBase_SetClientData(arg1
,arg2
);
16750 wxPyEndAllowThreads(__tstate
);
16751 if (PyErr_Occurred()) SWIG_fail
;
16753 Py_INCREF(Py_None
); resultobj
= Py_None
;
16760 static PyObject
* ToolBarToolBase_swigregister(PyObject
*self
, PyObject
*args
) {
16762 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16763 SWIG_TypeClientData(SWIGTYPE_p_wxToolBarToolBase
, obj
);
16765 return Py_BuildValue((char *)"");
16767 static PyObject
*_wrap_ToolBarBase_DoAddTool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16768 PyObject
*resultobj
;
16769 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16771 wxString
*arg3
= 0 ;
16772 wxBitmap
*arg4
= 0 ;
16773 wxBitmap
const &arg5_defvalue
= wxNullBitmap
;
16774 wxBitmap
*arg5
= (wxBitmap
*) &arg5_defvalue
;
16775 int arg6
= (int) wxITEM_NORMAL
;
16776 wxString
const &arg7_defvalue
= wxPyEmptyString
;
16777 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
16778 wxString
const &arg8_defvalue
= wxPyEmptyString
;
16779 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
16780 PyObject
*arg9
= (PyObject
*) NULL
;
16781 wxToolBarToolBase
*result
;
16782 bool temp3
= False
;
16783 bool temp7
= False
;
16784 bool temp8
= False
;
16785 PyObject
* obj0
= 0 ;
16786 PyObject
* obj1
= 0 ;
16787 PyObject
* obj2
= 0 ;
16788 PyObject
* obj3
= 0 ;
16789 PyObject
* obj4
= 0 ;
16790 PyObject
* obj5
= 0 ;
16791 PyObject
* obj6
= 0 ;
16792 PyObject
* obj7
= 0 ;
16793 PyObject
* obj8
= 0 ;
16794 char *kwnames
[] = {
16795 (char *) "self",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
16798 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOOO:ToolBarBase_DoAddTool",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
16799 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16800 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16801 arg2
= (int) SWIG_AsInt(obj1
);
16802 if (PyErr_Occurred()) SWIG_fail
;
16804 arg3
= wxString_in_helper(obj2
);
16805 if (arg3
== NULL
) SWIG_fail
;
16808 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxBitmap
,
16809 SWIG_POINTER_EXCEPTION
| 0)) == -1)
16811 if (arg4
== NULL
) {
16812 PyErr_SetString(PyExc_TypeError
,"null reference");
16816 if ((SWIG_ConvertPtr(obj4
,(void **)(&arg5
),SWIGTYPE_p_wxBitmap
,
16817 SWIG_POINTER_EXCEPTION
| 0)) == -1)
16819 if (arg5
== NULL
) {
16820 PyErr_SetString(PyExc_TypeError
,"null reference");
16825 arg6
= (wxItemKind
) SWIG_AsInt(obj5
);
16826 if (PyErr_Occurred()) SWIG_fail
;
16830 arg7
= wxString_in_helper(obj6
);
16831 if (arg7
== NULL
) SWIG_fail
;
16837 arg8
= wxString_in_helper(obj7
);
16838 if (arg8
== NULL
) SWIG_fail
;
16846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16847 result
= (wxToolBarToolBase
*)wxToolBarBase_DoAddTool(arg1
,arg2
,(wxString
const &)*arg3
,(wxBitmap
const &)*arg4
,(wxBitmap
const &)*arg5
,(wxItemKind
)arg6
,(wxString
const &)*arg7
,(wxString
const &)*arg8
,arg9
);
16849 wxPyEndAllowThreads(__tstate
);
16850 if (PyErr_Occurred()) SWIG_fail
;
16853 resultobj
= wxPyMake_wxObject(result
);
16885 static PyObject
*_wrap_ToolBarBase_DoInsertTool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16886 PyObject
*resultobj
;
16887 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16890 wxString
*arg4
= 0 ;
16891 wxBitmap
*arg5
= 0 ;
16892 wxBitmap
const &arg6_defvalue
= wxNullBitmap
;
16893 wxBitmap
*arg6
= (wxBitmap
*) &arg6_defvalue
;
16894 int arg7
= (int) wxITEM_NORMAL
;
16895 wxString
const &arg8_defvalue
= wxPyEmptyString
;
16896 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
16897 wxString
const &arg9_defvalue
= wxPyEmptyString
;
16898 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
16899 PyObject
*arg10
= (PyObject
*) NULL
;
16900 wxToolBarToolBase
*result
;
16901 bool temp4
= False
;
16902 bool temp8
= False
;
16903 bool temp9
= False
;
16904 PyObject
* obj0
= 0 ;
16905 PyObject
* obj1
= 0 ;
16906 PyObject
* obj2
= 0 ;
16907 PyObject
* obj3
= 0 ;
16908 PyObject
* obj4
= 0 ;
16909 PyObject
* obj5
= 0 ;
16910 PyObject
* obj6
= 0 ;
16911 PyObject
* obj7
= 0 ;
16912 PyObject
* obj8
= 0 ;
16913 PyObject
* obj9
= 0 ;
16914 char *kwnames
[] = {
16915 (char *) "self",(char *) "pos",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
16918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOOOO:ToolBarBase_DoInsertTool",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
16919 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16920 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16921 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
16922 if (PyErr_Occurred()) SWIG_fail
;
16923 arg3
= (int) SWIG_AsInt(obj2
);
16924 if (PyErr_Occurred()) SWIG_fail
;
16926 arg4
= wxString_in_helper(obj3
);
16927 if (arg4
== NULL
) SWIG_fail
;
16930 if ((SWIG_ConvertPtr(obj4
,(void **)(&arg5
),SWIGTYPE_p_wxBitmap
,
16931 SWIG_POINTER_EXCEPTION
| 0)) == -1)
16933 if (arg5
== NULL
) {
16934 PyErr_SetString(PyExc_TypeError
,"null reference");
16938 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxBitmap
,
16939 SWIG_POINTER_EXCEPTION
| 0)) == -1)
16941 if (arg6
== NULL
) {
16942 PyErr_SetString(PyExc_TypeError
,"null reference");
16947 arg7
= (wxItemKind
) SWIG_AsInt(obj6
);
16948 if (PyErr_Occurred()) SWIG_fail
;
16952 arg8
= wxString_in_helper(obj7
);
16953 if (arg8
== NULL
) SWIG_fail
;
16959 arg9
= wxString_in_helper(obj8
);
16960 if (arg9
== NULL
) SWIG_fail
;
16968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16969 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
);
16971 wxPyEndAllowThreads(__tstate
);
16972 if (PyErr_Occurred()) SWIG_fail
;
16975 resultobj
= wxPyMake_wxObject(result
);
17007 static PyObject
*_wrap_ToolBarBase_AddToolItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17008 PyObject
*resultobj
;
17009 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17010 wxToolBarToolBase
*arg2
= (wxToolBarToolBase
*) 0 ;
17011 wxToolBarToolBase
*result
;
17012 PyObject
* obj0
= 0 ;
17013 PyObject
* obj1
= 0 ;
17014 char *kwnames
[] = {
17015 (char *) "self",(char *) "tool", NULL
17018 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_AddToolItem",kwnames
,&obj0
,&obj1
)) goto fail
;
17019 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17020 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17021 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxToolBarToolBase
,
17022 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17025 result
= (wxToolBarToolBase
*)(arg1
)->AddTool(arg2
);
17027 wxPyEndAllowThreads(__tstate
);
17028 if (PyErr_Occurred()) SWIG_fail
;
17031 resultobj
= wxPyMake_wxObject(result
);
17039 static PyObject
*_wrap_ToolBarBase_InsertToolItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17040 PyObject
*resultobj
;
17041 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17043 wxToolBarToolBase
*arg3
= (wxToolBarToolBase
*) 0 ;
17044 wxToolBarToolBase
*result
;
17045 PyObject
* obj0
= 0 ;
17046 PyObject
* obj1
= 0 ;
17047 PyObject
* obj2
= 0 ;
17048 char *kwnames
[] = {
17049 (char *) "self",(char *) "pos",(char *) "tool", NULL
17052 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_InsertToolItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17053 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17054 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17055 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
17056 if (PyErr_Occurred()) SWIG_fail
;
17057 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxToolBarToolBase
,
17058 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17061 result
= (wxToolBarToolBase
*)(arg1
)->InsertTool(arg2
,arg3
);
17063 wxPyEndAllowThreads(__tstate
);
17064 if (PyErr_Occurred()) SWIG_fail
;
17067 resultobj
= wxPyMake_wxObject(result
);
17075 static PyObject
*_wrap_ToolBarBase_AddControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17076 PyObject
*resultobj
;
17077 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17078 wxControl
*arg2
= (wxControl
*) 0 ;
17079 wxToolBarToolBase
*result
;
17080 PyObject
* obj0
= 0 ;
17081 PyObject
* obj1
= 0 ;
17082 char *kwnames
[] = {
17083 (char *) "self",(char *) "control", NULL
17086 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_AddControl",kwnames
,&obj0
,&obj1
)) goto fail
;
17087 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17088 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17089 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxControl
,
17090 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17093 result
= (wxToolBarToolBase
*)(arg1
)->AddControl(arg2
);
17095 wxPyEndAllowThreads(__tstate
);
17096 if (PyErr_Occurred()) SWIG_fail
;
17099 resultobj
= wxPyMake_wxObject(result
);
17107 static PyObject
*_wrap_ToolBarBase_InsertControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17108 PyObject
*resultobj
;
17109 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17111 wxControl
*arg3
= (wxControl
*) 0 ;
17112 wxToolBarToolBase
*result
;
17113 PyObject
* obj0
= 0 ;
17114 PyObject
* obj1
= 0 ;
17115 PyObject
* obj2
= 0 ;
17116 char *kwnames
[] = {
17117 (char *) "self",(char *) "pos",(char *) "control", NULL
17120 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_InsertControl",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17121 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17122 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17123 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
17124 if (PyErr_Occurred()) SWIG_fail
;
17125 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxControl
,
17126 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17129 result
= (wxToolBarToolBase
*)(arg1
)->InsertControl(arg2
,arg3
);
17131 wxPyEndAllowThreads(__tstate
);
17132 if (PyErr_Occurred()) SWIG_fail
;
17135 resultobj
= wxPyMake_wxObject(result
);
17143 static PyObject
*_wrap_ToolBarBase_FindControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17144 PyObject
*resultobj
;
17145 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17148 PyObject
* obj0
= 0 ;
17149 PyObject
* obj1
= 0 ;
17150 char *kwnames
[] = {
17151 (char *) "self",(char *) "id", NULL
17154 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_FindControl",kwnames
,&obj0
,&obj1
)) goto fail
;
17155 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17156 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17157 arg2
= (int) SWIG_AsInt(obj1
);
17158 if (PyErr_Occurred()) SWIG_fail
;
17160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17161 result
= (wxControl
*)(arg1
)->FindControl(arg2
);
17163 wxPyEndAllowThreads(__tstate
);
17164 if (PyErr_Occurred()) SWIG_fail
;
17167 resultobj
= wxPyMake_wxObject(result
);
17175 static PyObject
*_wrap_ToolBarBase_AddSeparator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17176 PyObject
*resultobj
;
17177 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17178 wxToolBarToolBase
*result
;
17179 PyObject
* obj0
= 0 ;
17180 char *kwnames
[] = {
17181 (char *) "self", NULL
17184 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_AddSeparator",kwnames
,&obj0
)) goto fail
;
17185 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17186 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17189 result
= (wxToolBarToolBase
*)(arg1
)->AddSeparator();
17191 wxPyEndAllowThreads(__tstate
);
17192 if (PyErr_Occurred()) SWIG_fail
;
17195 resultobj
= wxPyMake_wxObject(result
);
17203 static PyObject
*_wrap_ToolBarBase_InsertSeparator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17204 PyObject
*resultobj
;
17205 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17207 wxToolBarToolBase
*result
;
17208 PyObject
* obj0
= 0 ;
17209 PyObject
* obj1
= 0 ;
17210 char *kwnames
[] = {
17211 (char *) "self",(char *) "pos", NULL
17214 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_InsertSeparator",kwnames
,&obj0
,&obj1
)) goto fail
;
17215 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17216 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17217 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
17218 if (PyErr_Occurred()) SWIG_fail
;
17220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17221 result
= (wxToolBarToolBase
*)(arg1
)->InsertSeparator(arg2
);
17223 wxPyEndAllowThreads(__tstate
);
17224 if (PyErr_Occurred()) SWIG_fail
;
17227 resultobj
= wxPyMake_wxObject(result
);
17235 static PyObject
*_wrap_ToolBarBase_RemoveTool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17236 PyObject
*resultobj
;
17237 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17239 wxToolBarToolBase
*result
;
17240 PyObject
* obj0
= 0 ;
17241 PyObject
* obj1
= 0 ;
17242 char *kwnames
[] = {
17243 (char *) "self",(char *) "id", NULL
17246 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_RemoveTool",kwnames
,&obj0
,&obj1
)) goto fail
;
17247 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17248 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17249 arg2
= (int) SWIG_AsInt(obj1
);
17250 if (PyErr_Occurred()) SWIG_fail
;
17252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17253 result
= (wxToolBarToolBase
*)(arg1
)->RemoveTool(arg2
);
17255 wxPyEndAllowThreads(__tstate
);
17256 if (PyErr_Occurred()) SWIG_fail
;
17259 resultobj
= wxPyMake_wxObject(result
);
17267 static PyObject
*_wrap_ToolBarBase_DeleteToolByPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17268 PyObject
*resultobj
;
17269 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17272 PyObject
* obj0
= 0 ;
17273 PyObject
* obj1
= 0 ;
17274 char *kwnames
[] = {
17275 (char *) "self",(char *) "pos", NULL
17278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_DeleteToolByPos",kwnames
,&obj0
,&obj1
)) goto fail
;
17279 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17280 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17281 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
17282 if (PyErr_Occurred()) SWIG_fail
;
17284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17285 result
= (bool)(arg1
)->DeleteToolByPos(arg2
);
17287 wxPyEndAllowThreads(__tstate
);
17288 if (PyErr_Occurred()) SWIG_fail
;
17291 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17299 static PyObject
*_wrap_ToolBarBase_DeleteTool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17300 PyObject
*resultobj
;
17301 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17304 PyObject
* obj0
= 0 ;
17305 PyObject
* obj1
= 0 ;
17306 char *kwnames
[] = {
17307 (char *) "self",(char *) "id", NULL
17310 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_DeleteTool",kwnames
,&obj0
,&obj1
)) goto fail
;
17311 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17312 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17313 arg2
= (int) SWIG_AsInt(obj1
);
17314 if (PyErr_Occurred()) SWIG_fail
;
17316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17317 result
= (bool)(arg1
)->DeleteTool(arg2
);
17319 wxPyEndAllowThreads(__tstate
);
17320 if (PyErr_Occurred()) SWIG_fail
;
17323 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17331 static PyObject
*_wrap_ToolBarBase_ClearTools(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17332 PyObject
*resultobj
;
17333 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17334 PyObject
* obj0
= 0 ;
17335 char *kwnames
[] = {
17336 (char *) "self", NULL
17339 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_ClearTools",kwnames
,&obj0
)) goto fail
;
17340 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17341 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17344 (arg1
)->ClearTools();
17346 wxPyEndAllowThreads(__tstate
);
17347 if (PyErr_Occurred()) SWIG_fail
;
17349 Py_INCREF(Py_None
); resultobj
= Py_None
;
17356 static PyObject
*_wrap_ToolBarBase_Realize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17357 PyObject
*resultobj
;
17358 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17360 PyObject
* obj0
= 0 ;
17361 char *kwnames
[] = {
17362 (char *) "self", NULL
17365 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_Realize",kwnames
,&obj0
)) goto fail
;
17366 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17367 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17370 result
= (bool)(arg1
)->Realize();
17372 wxPyEndAllowThreads(__tstate
);
17373 if (PyErr_Occurred()) SWIG_fail
;
17376 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17384 static PyObject
*_wrap_ToolBarBase_EnableTool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17385 PyObject
*resultobj
;
17386 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17389 PyObject
* obj0
= 0 ;
17390 PyObject
* obj1
= 0 ;
17391 PyObject
* obj2
= 0 ;
17392 char *kwnames
[] = {
17393 (char *) "self",(char *) "id",(char *) "enable", NULL
17396 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_EnableTool",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17397 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17398 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17399 arg2
= (int) SWIG_AsInt(obj1
);
17400 if (PyErr_Occurred()) SWIG_fail
;
17401 arg3
= (bool) SWIG_AsBool(obj2
);
17402 if (PyErr_Occurred()) SWIG_fail
;
17404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17405 (arg1
)->EnableTool(arg2
,arg3
);
17407 wxPyEndAllowThreads(__tstate
);
17408 if (PyErr_Occurred()) SWIG_fail
;
17410 Py_INCREF(Py_None
); resultobj
= Py_None
;
17417 static PyObject
*_wrap_ToolBarBase_ToggleTool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17418 PyObject
*resultobj
;
17419 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17422 PyObject
* obj0
= 0 ;
17423 PyObject
* obj1
= 0 ;
17424 PyObject
* obj2
= 0 ;
17425 char *kwnames
[] = {
17426 (char *) "self",(char *) "id",(char *) "toggle", NULL
17429 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_ToggleTool",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17430 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17431 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17432 arg2
= (int) SWIG_AsInt(obj1
);
17433 if (PyErr_Occurred()) SWIG_fail
;
17434 arg3
= (bool) SWIG_AsBool(obj2
);
17435 if (PyErr_Occurred()) SWIG_fail
;
17437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17438 (arg1
)->ToggleTool(arg2
,arg3
);
17440 wxPyEndAllowThreads(__tstate
);
17441 if (PyErr_Occurred()) SWIG_fail
;
17443 Py_INCREF(Py_None
); resultobj
= Py_None
;
17450 static PyObject
*_wrap_ToolBarBase_SetToggle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17451 PyObject
*resultobj
;
17452 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17455 PyObject
* obj0
= 0 ;
17456 PyObject
* obj1
= 0 ;
17457 PyObject
* obj2
= 0 ;
17458 char *kwnames
[] = {
17459 (char *) "self",(char *) "id",(char *) "toggle", NULL
17462 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToggle",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17463 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17464 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17465 arg2
= (int) SWIG_AsInt(obj1
);
17466 if (PyErr_Occurred()) SWIG_fail
;
17467 arg3
= (bool) SWIG_AsBool(obj2
);
17468 if (PyErr_Occurred()) SWIG_fail
;
17470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17471 (arg1
)->SetToggle(arg2
,arg3
);
17473 wxPyEndAllowThreads(__tstate
);
17474 if (PyErr_Occurred()) SWIG_fail
;
17476 Py_INCREF(Py_None
); resultobj
= Py_None
;
17483 static PyObject
*_wrap_ToolBarBase_GetToolClientData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17484 PyObject
*resultobj
;
17485 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17488 PyObject
* obj0
= 0 ;
17489 PyObject
* obj1
= 0 ;
17490 char *kwnames
[] = {
17491 (char *) "self",(char *) "id", NULL
17494 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolClientData",kwnames
,&obj0
,&obj1
)) goto fail
;
17495 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17496 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17497 arg2
= (int) SWIG_AsInt(obj1
);
17498 if (PyErr_Occurred()) SWIG_fail
;
17500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17501 result
= (PyObject
*)wxToolBarBase_GetToolClientData(arg1
,arg2
);
17503 wxPyEndAllowThreads(__tstate
);
17504 if (PyErr_Occurred()) SWIG_fail
;
17506 resultobj
= result
;
17513 static PyObject
*_wrap_ToolBarBase_SetToolClientData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17514 PyObject
*resultobj
;
17515 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17517 PyObject
*arg3
= (PyObject
*) 0 ;
17518 PyObject
* obj0
= 0 ;
17519 PyObject
* obj1
= 0 ;
17520 PyObject
* obj2
= 0 ;
17521 char *kwnames
[] = {
17522 (char *) "self",(char *) "id",(char *) "clientData", NULL
17525 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToolClientData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17526 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17527 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17528 arg2
= (int) SWIG_AsInt(obj1
);
17529 if (PyErr_Occurred()) SWIG_fail
;
17532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17533 wxToolBarBase_SetToolClientData(arg1
,arg2
,arg3
);
17535 wxPyEndAllowThreads(__tstate
);
17536 if (PyErr_Occurred()) SWIG_fail
;
17538 Py_INCREF(Py_None
); resultobj
= Py_None
;
17545 static PyObject
*_wrap_ToolBarBase_GetToolPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17546 PyObject
*resultobj
;
17547 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17550 PyObject
* obj0
= 0 ;
17551 PyObject
* obj1
= 0 ;
17552 char *kwnames
[] = {
17553 (char *) "self",(char *) "id", NULL
17556 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolPos",kwnames
,&obj0
,&obj1
)) goto fail
;
17557 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17558 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17559 arg2
= (int) SWIG_AsInt(obj1
);
17560 if (PyErr_Occurred()) SWIG_fail
;
17562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17563 result
= (int)((wxToolBarBase
const *)arg1
)->GetToolPos(arg2
);
17565 wxPyEndAllowThreads(__tstate
);
17566 if (PyErr_Occurred()) SWIG_fail
;
17568 resultobj
= SWIG_FromInt((int)result
);
17575 static PyObject
*_wrap_ToolBarBase_GetToolState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17576 PyObject
*resultobj
;
17577 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17580 PyObject
* obj0
= 0 ;
17581 PyObject
* obj1
= 0 ;
17582 char *kwnames
[] = {
17583 (char *) "self",(char *) "id", NULL
17586 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolState",kwnames
,&obj0
,&obj1
)) goto fail
;
17587 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17588 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17589 arg2
= (int) SWIG_AsInt(obj1
);
17590 if (PyErr_Occurred()) SWIG_fail
;
17592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17593 result
= (bool)(arg1
)->GetToolState(arg2
);
17595 wxPyEndAllowThreads(__tstate
);
17596 if (PyErr_Occurred()) SWIG_fail
;
17599 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17607 static PyObject
*_wrap_ToolBarBase_GetToolEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17608 PyObject
*resultobj
;
17609 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17612 PyObject
* obj0
= 0 ;
17613 PyObject
* obj1
= 0 ;
17614 char *kwnames
[] = {
17615 (char *) "self",(char *) "id", NULL
17618 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolEnabled",kwnames
,&obj0
,&obj1
)) goto fail
;
17619 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17620 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17621 arg2
= (int) SWIG_AsInt(obj1
);
17622 if (PyErr_Occurred()) SWIG_fail
;
17624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17625 result
= (bool)(arg1
)->GetToolEnabled(arg2
);
17627 wxPyEndAllowThreads(__tstate
);
17628 if (PyErr_Occurred()) SWIG_fail
;
17631 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17639 static PyObject
*_wrap_ToolBarBase_SetToolShortHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17640 PyObject
*resultobj
;
17641 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17643 wxString
*arg3
= 0 ;
17644 bool temp3
= False
;
17645 PyObject
* obj0
= 0 ;
17646 PyObject
* obj1
= 0 ;
17647 PyObject
* obj2
= 0 ;
17648 char *kwnames
[] = {
17649 (char *) "self",(char *) "id",(char *) "helpString", NULL
17652 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToolShortHelp",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17653 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17654 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17655 arg2
= (int) SWIG_AsInt(obj1
);
17656 if (PyErr_Occurred()) SWIG_fail
;
17658 arg3
= wxString_in_helper(obj2
);
17659 if (arg3
== NULL
) SWIG_fail
;
17663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17664 (arg1
)->SetToolShortHelp(arg2
,(wxString
const &)*arg3
);
17666 wxPyEndAllowThreads(__tstate
);
17667 if (PyErr_Occurred()) SWIG_fail
;
17669 Py_INCREF(Py_None
); resultobj
= Py_None
;
17684 static PyObject
*_wrap_ToolBarBase_GetToolShortHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17685 PyObject
*resultobj
;
17686 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17689 PyObject
* obj0
= 0 ;
17690 PyObject
* obj1
= 0 ;
17691 char *kwnames
[] = {
17692 (char *) "self",(char *) "id", NULL
17695 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolShortHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
17696 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17697 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17698 arg2
= (int) SWIG_AsInt(obj1
);
17699 if (PyErr_Occurred()) SWIG_fail
;
17701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17702 result
= (arg1
)->GetToolShortHelp(arg2
);
17704 wxPyEndAllowThreads(__tstate
);
17705 if (PyErr_Occurred()) SWIG_fail
;
17709 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17711 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17720 static PyObject
*_wrap_ToolBarBase_SetToolLongHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17721 PyObject
*resultobj
;
17722 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17724 wxString
*arg3
= 0 ;
17725 bool temp3
= False
;
17726 PyObject
* obj0
= 0 ;
17727 PyObject
* obj1
= 0 ;
17728 PyObject
* obj2
= 0 ;
17729 char *kwnames
[] = {
17730 (char *) "self",(char *) "id",(char *) "helpString", NULL
17733 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToolLongHelp",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17734 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17735 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17736 arg2
= (int) SWIG_AsInt(obj1
);
17737 if (PyErr_Occurred()) SWIG_fail
;
17739 arg3
= wxString_in_helper(obj2
);
17740 if (arg3
== NULL
) SWIG_fail
;
17744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17745 (arg1
)->SetToolLongHelp(arg2
,(wxString
const &)*arg3
);
17747 wxPyEndAllowThreads(__tstate
);
17748 if (PyErr_Occurred()) SWIG_fail
;
17750 Py_INCREF(Py_None
); resultobj
= Py_None
;
17765 static PyObject
*_wrap_ToolBarBase_GetToolLongHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17766 PyObject
*resultobj
;
17767 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17770 PyObject
* obj0
= 0 ;
17771 PyObject
* obj1
= 0 ;
17772 char *kwnames
[] = {
17773 (char *) "self",(char *) "id", NULL
17776 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolLongHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
17777 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17778 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17779 arg2
= (int) SWIG_AsInt(obj1
);
17780 if (PyErr_Occurred()) SWIG_fail
;
17782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17783 result
= (arg1
)->GetToolLongHelp(arg2
);
17785 wxPyEndAllowThreads(__tstate
);
17786 if (PyErr_Occurred()) SWIG_fail
;
17790 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17792 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17801 static PyObject
*_wrap_ToolBarBase_SetMarginsXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17802 PyObject
*resultobj
;
17803 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17806 PyObject
* obj0
= 0 ;
17807 PyObject
* obj1
= 0 ;
17808 PyObject
* obj2
= 0 ;
17809 char *kwnames
[] = {
17810 (char *) "self",(char *) "x",(char *) "y", NULL
17813 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetMarginsXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17814 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17815 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17816 arg2
= (int) SWIG_AsInt(obj1
);
17817 if (PyErr_Occurred()) SWIG_fail
;
17818 arg3
= (int) SWIG_AsInt(obj2
);
17819 if (PyErr_Occurred()) SWIG_fail
;
17821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17822 (arg1
)->SetMargins(arg2
,arg3
);
17824 wxPyEndAllowThreads(__tstate
);
17825 if (PyErr_Occurred()) SWIG_fail
;
17827 Py_INCREF(Py_None
); resultobj
= Py_None
;
17834 static PyObject
*_wrap_ToolBarBase_SetMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17835 PyObject
*resultobj
;
17836 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17839 PyObject
* obj0
= 0 ;
17840 PyObject
* obj1
= 0 ;
17841 char *kwnames
[] = {
17842 (char *) "self",(char *) "size", NULL
17845 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetMargins",kwnames
,&obj0
,&obj1
)) goto fail
;
17846 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17847 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17850 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
17853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17854 (arg1
)->SetMargins((wxSize
const &)*arg2
);
17856 wxPyEndAllowThreads(__tstate
);
17857 if (PyErr_Occurred()) SWIG_fail
;
17859 Py_INCREF(Py_None
); resultobj
= Py_None
;
17866 static PyObject
*_wrap_ToolBarBase_SetToolPacking(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17867 PyObject
*resultobj
;
17868 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17870 PyObject
* obj0
= 0 ;
17871 PyObject
* obj1
= 0 ;
17872 char *kwnames
[] = {
17873 (char *) "self",(char *) "packing", NULL
17876 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetToolPacking",kwnames
,&obj0
,&obj1
)) goto fail
;
17877 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17878 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17879 arg2
= (int) SWIG_AsInt(obj1
);
17880 if (PyErr_Occurred()) SWIG_fail
;
17882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17883 (arg1
)->SetToolPacking(arg2
);
17885 wxPyEndAllowThreads(__tstate
);
17886 if (PyErr_Occurred()) SWIG_fail
;
17888 Py_INCREF(Py_None
); resultobj
= Py_None
;
17895 static PyObject
*_wrap_ToolBarBase_SetToolSeparation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17896 PyObject
*resultobj
;
17897 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17899 PyObject
* obj0
= 0 ;
17900 PyObject
* obj1
= 0 ;
17901 char *kwnames
[] = {
17902 (char *) "self",(char *) "separation", NULL
17905 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetToolSeparation",kwnames
,&obj0
,&obj1
)) goto fail
;
17906 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17907 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17908 arg2
= (int) SWIG_AsInt(obj1
);
17909 if (PyErr_Occurred()) SWIG_fail
;
17911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17912 (arg1
)->SetToolSeparation(arg2
);
17914 wxPyEndAllowThreads(__tstate
);
17915 if (PyErr_Occurred()) SWIG_fail
;
17917 Py_INCREF(Py_None
); resultobj
= Py_None
;
17924 static PyObject
*_wrap_ToolBarBase_GetToolMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17925 PyObject
*resultobj
;
17926 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17928 PyObject
* obj0
= 0 ;
17929 char *kwnames
[] = {
17930 (char *) "self", NULL
17933 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolMargins",kwnames
,&obj0
)) goto fail
;
17934 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17935 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17938 result
= (arg1
)->GetToolMargins();
17940 wxPyEndAllowThreads(__tstate
);
17941 if (PyErr_Occurred()) SWIG_fail
;
17944 wxSize
* resultptr
;
17945 resultptr
= new wxSize((wxSize
&) result
);
17946 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
17954 static PyObject
*_wrap_ToolBarBase_GetMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17955 PyObject
*resultobj
;
17956 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17958 PyObject
* obj0
= 0 ;
17959 char *kwnames
[] = {
17960 (char *) "self", NULL
17963 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetMargins",kwnames
,&obj0
)) goto fail
;
17964 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17965 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17968 result
= (arg1
)->GetMargins();
17970 wxPyEndAllowThreads(__tstate
);
17971 if (PyErr_Occurred()) SWIG_fail
;
17974 wxSize
* resultptr
;
17975 resultptr
= new wxSize((wxSize
&) result
);
17976 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
17984 static PyObject
*_wrap_ToolBarBase_GetToolPacking(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17985 PyObject
*resultobj
;
17986 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17988 PyObject
* obj0
= 0 ;
17989 char *kwnames
[] = {
17990 (char *) "self", NULL
17993 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolPacking",kwnames
,&obj0
)) goto fail
;
17994 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17995 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17998 result
= (int)(arg1
)->GetToolPacking();
18000 wxPyEndAllowThreads(__tstate
);
18001 if (PyErr_Occurred()) SWIG_fail
;
18003 resultobj
= SWIG_FromInt((int)result
);
18010 static PyObject
*_wrap_ToolBarBase_GetToolSeparation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18011 PyObject
*resultobj
;
18012 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18014 PyObject
* obj0
= 0 ;
18015 char *kwnames
[] = {
18016 (char *) "self", NULL
18019 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolSeparation",kwnames
,&obj0
)) goto fail
;
18020 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18021 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18024 result
= (int)(arg1
)->GetToolSeparation();
18026 wxPyEndAllowThreads(__tstate
);
18027 if (PyErr_Occurred()) SWIG_fail
;
18029 resultobj
= SWIG_FromInt((int)result
);
18036 static PyObject
*_wrap_ToolBarBase_SetRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18037 PyObject
*resultobj
;
18038 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18040 PyObject
* obj0
= 0 ;
18041 PyObject
* obj1
= 0 ;
18042 char *kwnames
[] = {
18043 (char *) "self",(char *) "nRows", NULL
18046 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetRows",kwnames
,&obj0
,&obj1
)) goto fail
;
18047 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18048 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18049 arg2
= (int) SWIG_AsInt(obj1
);
18050 if (PyErr_Occurred()) SWIG_fail
;
18052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18053 (arg1
)->SetRows(arg2
);
18055 wxPyEndAllowThreads(__tstate
);
18056 if (PyErr_Occurred()) SWIG_fail
;
18058 Py_INCREF(Py_None
); resultobj
= Py_None
;
18065 static PyObject
*_wrap_ToolBarBase_SetMaxRowsCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18066 PyObject
*resultobj
;
18067 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18070 PyObject
* obj0
= 0 ;
18071 PyObject
* obj1
= 0 ;
18072 PyObject
* obj2
= 0 ;
18073 char *kwnames
[] = {
18074 (char *) "self",(char *) "rows",(char *) "cols", NULL
18077 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetMaxRowsCols",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18078 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18079 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18080 arg2
= (int) SWIG_AsInt(obj1
);
18081 if (PyErr_Occurred()) SWIG_fail
;
18082 arg3
= (int) SWIG_AsInt(obj2
);
18083 if (PyErr_Occurred()) SWIG_fail
;
18085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18086 (arg1
)->SetMaxRowsCols(arg2
,arg3
);
18088 wxPyEndAllowThreads(__tstate
);
18089 if (PyErr_Occurred()) SWIG_fail
;
18091 Py_INCREF(Py_None
); resultobj
= Py_None
;
18098 static PyObject
*_wrap_ToolBarBase_GetMaxRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18099 PyObject
*resultobj
;
18100 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18102 PyObject
* obj0
= 0 ;
18103 char *kwnames
[] = {
18104 (char *) "self", NULL
18107 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetMaxRows",kwnames
,&obj0
)) goto fail
;
18108 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18109 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18112 result
= (int)(arg1
)->GetMaxRows();
18114 wxPyEndAllowThreads(__tstate
);
18115 if (PyErr_Occurred()) SWIG_fail
;
18117 resultobj
= SWIG_FromInt((int)result
);
18124 static PyObject
*_wrap_ToolBarBase_GetMaxCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18125 PyObject
*resultobj
;
18126 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18128 PyObject
* obj0
= 0 ;
18129 char *kwnames
[] = {
18130 (char *) "self", NULL
18133 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetMaxCols",kwnames
,&obj0
)) goto fail
;
18134 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18135 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18138 result
= (int)(arg1
)->GetMaxCols();
18140 wxPyEndAllowThreads(__tstate
);
18141 if (PyErr_Occurred()) SWIG_fail
;
18143 resultobj
= SWIG_FromInt((int)result
);
18150 static PyObject
*_wrap_ToolBarBase_SetToolBitmapSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18151 PyObject
*resultobj
;
18152 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18155 PyObject
* obj0
= 0 ;
18156 PyObject
* obj1
= 0 ;
18157 char *kwnames
[] = {
18158 (char *) "self",(char *) "size", NULL
18161 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetToolBitmapSize",kwnames
,&obj0
,&obj1
)) goto fail
;
18162 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18163 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18166 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
18169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18170 (arg1
)->SetToolBitmapSize((wxSize
const &)*arg2
);
18172 wxPyEndAllowThreads(__tstate
);
18173 if (PyErr_Occurred()) SWIG_fail
;
18175 Py_INCREF(Py_None
); resultobj
= Py_None
;
18182 static PyObject
*_wrap_ToolBarBase_GetToolBitmapSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18183 PyObject
*resultobj
;
18184 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18186 PyObject
* obj0
= 0 ;
18187 char *kwnames
[] = {
18188 (char *) "self", NULL
18191 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolBitmapSize",kwnames
,&obj0
)) goto fail
;
18192 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18193 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18196 result
= (arg1
)->GetToolBitmapSize();
18198 wxPyEndAllowThreads(__tstate
);
18199 if (PyErr_Occurred()) SWIG_fail
;
18202 wxSize
* resultptr
;
18203 resultptr
= new wxSize((wxSize
&) result
);
18204 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
18212 static PyObject
*_wrap_ToolBarBase_GetToolSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18213 PyObject
*resultobj
;
18214 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18216 PyObject
* obj0
= 0 ;
18217 char *kwnames
[] = {
18218 (char *) "self", NULL
18221 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolSize",kwnames
,&obj0
)) goto fail
;
18222 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18223 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18226 result
= (arg1
)->GetToolSize();
18228 wxPyEndAllowThreads(__tstate
);
18229 if (PyErr_Occurred()) SWIG_fail
;
18232 wxSize
* resultptr
;
18233 resultptr
= new wxSize((wxSize
&) result
);
18234 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
18242 static PyObject
*_wrap_ToolBarBase_FindToolForPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18243 PyObject
*resultobj
;
18244 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18247 wxToolBarToolBase
*result
;
18248 PyObject
* obj0
= 0 ;
18249 PyObject
* obj1
= 0 ;
18250 PyObject
* obj2
= 0 ;
18251 char *kwnames
[] = {
18252 (char *) "self",(char *) "x",(char *) "y", NULL
18255 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_FindToolForPosition",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18256 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18257 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18258 arg2
= (int) SWIG_AsInt(obj1
);
18259 if (PyErr_Occurred()) SWIG_fail
;
18260 arg3
= (int) SWIG_AsInt(obj2
);
18261 if (PyErr_Occurred()) SWIG_fail
;
18263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18264 result
= (wxToolBarToolBase
*)(arg1
)->FindToolForPosition(arg2
,arg3
);
18266 wxPyEndAllowThreads(__tstate
);
18267 if (PyErr_Occurred()) SWIG_fail
;
18270 resultobj
= wxPyMake_wxObject(result
);
18278 static PyObject
*_wrap_ToolBarBase_FindById(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18279 PyObject
*resultobj
;
18280 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18282 wxToolBarToolBase
*result
;
18283 PyObject
* obj0
= 0 ;
18284 PyObject
* obj1
= 0 ;
18285 char *kwnames
[] = {
18286 (char *) "self",(char *) "toolid", NULL
18289 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_FindById",kwnames
,&obj0
,&obj1
)) goto fail
;
18290 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18291 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18292 arg2
= (int) SWIG_AsInt(obj1
);
18293 if (PyErr_Occurred()) SWIG_fail
;
18295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18296 result
= (wxToolBarToolBase
*)((wxToolBarBase
const *)arg1
)->FindById(arg2
);
18298 wxPyEndAllowThreads(__tstate
);
18299 if (PyErr_Occurred()) SWIG_fail
;
18302 resultobj
= wxPyMake_wxObject(result
);
18310 static PyObject
*_wrap_ToolBarBase_IsVertical(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18311 PyObject
*resultobj
;
18312 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18314 PyObject
* obj0
= 0 ;
18315 char *kwnames
[] = {
18316 (char *) "self", NULL
18319 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_IsVertical",kwnames
,&obj0
)) goto fail
;
18320 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18321 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18324 result
= (bool)(arg1
)->IsVertical();
18326 wxPyEndAllowThreads(__tstate
);
18327 if (PyErr_Occurred()) SWIG_fail
;
18330 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18338 static PyObject
* ToolBarBase_swigregister(PyObject
*self
, PyObject
*args
) {
18340 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18341 SWIG_TypeClientData(SWIGTYPE_p_wxToolBarBase
, obj
);
18343 return Py_BuildValue((char *)"");
18345 static PyObject
*_wrap_new_ToolBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18346 PyObject
*resultobj
;
18347 wxWindow
*arg1
= (wxWindow
*) 0 ;
18349 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
18350 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
18351 wxSize
const &arg4_defvalue
= wxDefaultSize
;
18352 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
18353 long arg5
= (long) wxNO_BORDER
|wxTB_HORIZONTAL
;
18354 wxString
const &arg6_defvalue
= wxPyToolBarNameStr
;
18355 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
18359 bool temp6
= False
;
18360 PyObject
* obj0
= 0 ;
18361 PyObject
* obj1
= 0 ;
18362 PyObject
* obj2
= 0 ;
18363 PyObject
* obj3
= 0 ;
18364 PyObject
* obj4
= 0 ;
18365 PyObject
* obj5
= 0 ;
18366 char *kwnames
[] = {
18367 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
18370 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_ToolBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
18371 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
18372 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18373 arg2
= (int) SWIG_AsInt(obj1
);
18374 if (PyErr_Occurred()) SWIG_fail
;
18378 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
18384 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
18388 arg5
= (long) SWIG_AsLong(obj4
);
18389 if (PyErr_Occurred()) SWIG_fail
;
18393 arg6
= wxString_in_helper(obj5
);
18394 if (arg6
== NULL
) SWIG_fail
;
18399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18400 result
= (wxToolBar
*)new wxToolBar(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
18402 wxPyEndAllowThreads(__tstate
);
18403 if (PyErr_Occurred()) SWIG_fail
;
18406 resultobj
= wxPyMake_wxObject(result
);
18422 static PyObject
*_wrap_new_PreToolBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18423 PyObject
*resultobj
;
18425 char *kwnames
[] = {
18429 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreToolBar",kwnames
)) goto fail
;
18431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18432 result
= (wxToolBar
*)new wxToolBar();
18434 wxPyEndAllowThreads(__tstate
);
18435 if (PyErr_Occurred()) SWIG_fail
;
18438 resultobj
= wxPyMake_wxObject(result
);
18446 static PyObject
*_wrap_ToolBar_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18447 PyObject
*resultobj
;
18448 wxToolBar
*arg1
= (wxToolBar
*) 0 ;
18449 wxWindow
*arg2
= (wxWindow
*) 0 ;
18451 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
18452 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
18453 wxSize
const &arg5_defvalue
= wxDefaultSize
;
18454 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
18455 long arg6
= (long) wxNO_BORDER
|wxTB_HORIZONTAL
;
18456 wxString
const &arg7_defvalue
= wxPyToolBarNameStr
;
18457 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
18461 bool temp7
= False
;
18462 PyObject
* obj0
= 0 ;
18463 PyObject
* obj1
= 0 ;
18464 PyObject
* obj2
= 0 ;
18465 PyObject
* obj3
= 0 ;
18466 PyObject
* obj4
= 0 ;
18467 PyObject
* obj5
= 0 ;
18468 PyObject
* obj6
= 0 ;
18469 char *kwnames
[] = {
18470 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
18473 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:ToolBar_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
18474 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBar
,
18475 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18476 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
18477 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18478 arg3
= (int) SWIG_AsInt(obj2
);
18479 if (PyErr_Occurred()) SWIG_fail
;
18483 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
18489 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
18493 arg6
= (long) SWIG_AsLong(obj5
);
18494 if (PyErr_Occurred()) SWIG_fail
;
18498 arg7
= wxString_in_helper(obj6
);
18499 if (arg7
== NULL
) SWIG_fail
;
18504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18505 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
18507 wxPyEndAllowThreads(__tstate
);
18508 if (PyErr_Occurred()) SWIG_fail
;
18511 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18527 static PyObject
*_wrap_ToolBar_FindToolForPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18528 PyObject
*resultobj
;
18529 wxToolBar
*arg1
= (wxToolBar
*) 0 ;
18532 wxToolBarToolBase
*result
;
18533 PyObject
* obj0
= 0 ;
18534 PyObject
* obj1
= 0 ;
18535 PyObject
* obj2
= 0 ;
18536 char *kwnames
[] = {
18537 (char *) "self",(char *) "x",(char *) "y", NULL
18540 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBar_FindToolForPosition",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18541 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBar
,
18542 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18543 arg2
= (int) SWIG_AsInt(obj1
);
18544 if (PyErr_Occurred()) SWIG_fail
;
18545 arg3
= (int) SWIG_AsInt(obj2
);
18546 if (PyErr_Occurred()) SWIG_fail
;
18548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18549 result
= (wxToolBarToolBase
*)(arg1
)->FindToolForPosition(arg2
,arg3
);
18551 wxPyEndAllowThreads(__tstate
);
18552 if (PyErr_Occurred()) SWIG_fail
;
18555 resultobj
= wxPyMake_wxObject(result
);
18563 static PyObject
*_wrap_ToolBar_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18564 PyObject
*resultobj
;
18565 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
18566 wxVisualAttributes result
;
18567 PyObject
* obj0
= 0 ;
18568 char *kwnames
[] = {
18569 (char *) "variant", NULL
18572 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ToolBar_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
18574 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
18575 if (PyErr_Occurred()) SWIG_fail
;
18578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18579 result
= wxToolBar::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
18581 wxPyEndAllowThreads(__tstate
);
18582 if (PyErr_Occurred()) SWIG_fail
;
18585 wxVisualAttributes
* resultptr
;
18586 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
18587 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
18595 static PyObject
* ToolBar_swigregister(PyObject
*self
, PyObject
*args
) {
18597 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18598 SWIG_TypeClientData(SWIGTYPE_p_wxToolBar
, obj
);
18600 return Py_BuildValue((char *)"");
18602 static int _wrap_ListCtrlNameStr_set(PyObject
*_val
) {
18603 PyErr_SetString(PyExc_TypeError
,"Variable ListCtrlNameStr is read-only.");
18608 static PyObject
*_wrap_ListCtrlNameStr_get() {
18613 pyobj
= PyUnicode_FromWideChar((&wxPyListCtrlNameStr
)->c_str(), (&wxPyListCtrlNameStr
)->Len());
18615 pyobj
= PyString_FromStringAndSize((&wxPyListCtrlNameStr
)->c_str(), (&wxPyListCtrlNameStr
)->Len());
18622 static PyObject
*_wrap_new_ListItemAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18623 PyObject
*resultobj
;
18624 wxColour
const &arg1_defvalue
= wxNullColour
;
18625 wxColour
*arg1
= (wxColour
*) &arg1_defvalue
;
18626 wxColour
const &arg2_defvalue
= wxNullColour
;
18627 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
18628 wxFont
const &arg3_defvalue
= wxNullFont
;
18629 wxFont
*arg3
= (wxFont
*) &arg3_defvalue
;
18630 wxListItemAttr
*result
;
18633 PyObject
* obj0
= 0 ;
18634 PyObject
* obj1
= 0 ;
18635 PyObject
* obj2
= 0 ;
18636 char *kwnames
[] = {
18637 (char *) "colText",(char *) "colBack",(char *) "font", NULL
18640 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ListItemAttr",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18644 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
18650 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
18654 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxFont
,
18655 SWIG_POINTER_EXCEPTION
| 0)) == -1)
18657 if (arg3
== NULL
) {
18658 PyErr_SetString(PyExc_TypeError
,"null reference");
18663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18664 result
= (wxListItemAttr
*)new wxListItemAttr((wxColour
const &)*arg1
,(wxColour
const &)*arg2
,(wxFont
const &)*arg3
);
18666 wxPyEndAllowThreads(__tstate
);
18667 if (PyErr_Occurred()) SWIG_fail
;
18669 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListItemAttr
, 1);
18676 static PyObject
*_wrap_ListItemAttr_SetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18677 PyObject
*resultobj
;
18678 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
18679 wxColour
*arg2
= 0 ;
18681 PyObject
* obj0
= 0 ;
18682 PyObject
* obj1
= 0 ;
18683 char *kwnames
[] = {
18684 (char *) "self",(char *) "colText", NULL
18687 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
18688 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
18689 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18692 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
18695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18696 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
18698 wxPyEndAllowThreads(__tstate
);
18699 if (PyErr_Occurred()) SWIG_fail
;
18701 Py_INCREF(Py_None
); resultobj
= Py_None
;
18708 static PyObject
*_wrap_ListItemAttr_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18709 PyObject
*resultobj
;
18710 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
18711 wxColour
*arg2
= 0 ;
18713 PyObject
* obj0
= 0 ;
18714 PyObject
* obj1
= 0 ;
18715 char *kwnames
[] = {
18716 (char *) "self",(char *) "colBack", NULL
18719 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
18720 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
18721 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18724 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
18727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18728 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
18730 wxPyEndAllowThreads(__tstate
);
18731 if (PyErr_Occurred()) SWIG_fail
;
18733 Py_INCREF(Py_None
); resultobj
= Py_None
;
18740 static PyObject
*_wrap_ListItemAttr_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18741 PyObject
*resultobj
;
18742 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
18744 PyObject
* obj0
= 0 ;
18745 PyObject
* obj1
= 0 ;
18746 char *kwnames
[] = {
18747 (char *) "self",(char *) "font", NULL
18750 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
;
18751 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
18752 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18753 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
18754 SWIG_POINTER_EXCEPTION
| 0)) == -1)
18756 if (arg2
== NULL
) {
18757 PyErr_SetString(PyExc_TypeError
,"null reference");
18761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18762 (arg1
)->SetFont((wxFont
const &)*arg2
);
18764 wxPyEndAllowThreads(__tstate
);
18765 if (PyErr_Occurred()) SWIG_fail
;
18767 Py_INCREF(Py_None
); resultobj
= Py_None
;
18774 static PyObject
*_wrap_ListItemAttr_HasTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18775 PyObject
*resultobj
;
18776 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
18778 PyObject
* obj0
= 0 ;
18779 char *kwnames
[] = {
18780 (char *) "self", NULL
18783 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_HasTextColour",kwnames
,&obj0
)) goto fail
;
18784 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
18785 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18788 result
= (bool)(arg1
)->HasTextColour();
18790 wxPyEndAllowThreads(__tstate
);
18791 if (PyErr_Occurred()) SWIG_fail
;
18794 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18802 static PyObject
*_wrap_ListItemAttr_HasBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18803 PyObject
*resultobj
;
18804 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
18806 PyObject
* obj0
= 0 ;
18807 char *kwnames
[] = {
18808 (char *) "self", NULL
18811 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_HasBackgroundColour",kwnames
,&obj0
)) goto fail
;
18812 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
18813 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18816 result
= (bool)(arg1
)->HasBackgroundColour();
18818 wxPyEndAllowThreads(__tstate
);
18819 if (PyErr_Occurred()) SWIG_fail
;
18822 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18830 static PyObject
*_wrap_ListItemAttr_HasFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18831 PyObject
*resultobj
;
18832 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
18834 PyObject
* obj0
= 0 ;
18835 char *kwnames
[] = {
18836 (char *) "self", NULL
18839 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_HasFont",kwnames
,&obj0
)) goto fail
;
18840 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
18841 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18844 result
= (bool)(arg1
)->HasFont();
18846 wxPyEndAllowThreads(__tstate
);
18847 if (PyErr_Occurred()) SWIG_fail
;
18850 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18858 static PyObject
*_wrap_ListItemAttr_GetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18859 PyObject
*resultobj
;
18860 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
18862 PyObject
* obj0
= 0 ;
18863 char *kwnames
[] = {
18864 (char *) "self", NULL
18867 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_GetTextColour",kwnames
,&obj0
)) goto fail
;
18868 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
18869 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18872 result
= (arg1
)->GetTextColour();
18874 wxPyEndAllowThreads(__tstate
);
18875 if (PyErr_Occurred()) SWIG_fail
;
18878 wxColour
* resultptr
;
18879 resultptr
= new wxColour((wxColour
&) result
);
18880 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
18888 static PyObject
*_wrap_ListItemAttr_GetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18889 PyObject
*resultobj
;
18890 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
18892 PyObject
* obj0
= 0 ;
18893 char *kwnames
[] = {
18894 (char *) "self", NULL
18897 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
18898 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
18899 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18902 result
= (arg1
)->GetBackgroundColour();
18904 wxPyEndAllowThreads(__tstate
);
18905 if (PyErr_Occurred()) SWIG_fail
;
18908 wxColour
* resultptr
;
18909 resultptr
= new wxColour((wxColour
&) result
);
18910 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
18918 static PyObject
*_wrap_ListItemAttr_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18919 PyObject
*resultobj
;
18920 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
18922 PyObject
* obj0
= 0 ;
18923 char *kwnames
[] = {
18924 (char *) "self", NULL
18927 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_GetFont",kwnames
,&obj0
)) goto fail
;
18928 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
18929 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18932 result
= (arg1
)->GetFont();
18934 wxPyEndAllowThreads(__tstate
);
18935 if (PyErr_Occurred()) SWIG_fail
;
18938 wxFont
* resultptr
;
18939 resultptr
= new wxFont((wxFont
&) result
);
18940 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
18948 static PyObject
*_wrap_ListItemAttr_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18949 PyObject
*resultobj
;
18950 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
18951 PyObject
* obj0
= 0 ;
18952 char *kwnames
[] = {
18953 (char *) "self", NULL
18956 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_Destroy",kwnames
,&obj0
)) goto fail
;
18957 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
18958 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18961 wxListItemAttr_Destroy(arg1
);
18963 wxPyEndAllowThreads(__tstate
);
18964 if (PyErr_Occurred()) SWIG_fail
;
18966 Py_INCREF(Py_None
); resultobj
= Py_None
;
18973 static PyObject
* ListItemAttr_swigregister(PyObject
*self
, PyObject
*args
) {
18975 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18976 SWIG_TypeClientData(SWIGTYPE_p_wxListItemAttr
, obj
);
18978 return Py_BuildValue((char *)"");
18980 static PyObject
*_wrap_new_ListItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18981 PyObject
*resultobj
;
18982 wxListItem
*result
;
18983 char *kwnames
[] = {
18987 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ListItem",kwnames
)) goto fail
;
18989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18990 result
= (wxListItem
*)new wxListItem();
18992 wxPyEndAllowThreads(__tstate
);
18993 if (PyErr_Occurred()) SWIG_fail
;
18996 resultobj
= wxPyMake_wxObject(result
);
19004 static PyObject
*_wrap_delete_ListItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19005 PyObject
*resultobj
;
19006 wxListItem
*arg1
= (wxListItem
*) 0 ;
19007 PyObject
* obj0
= 0 ;
19008 char *kwnames
[] = {
19009 (char *) "self", NULL
19012 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ListItem",kwnames
,&obj0
)) goto fail
;
19013 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19014 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19019 wxPyEndAllowThreads(__tstate
);
19020 if (PyErr_Occurred()) SWIG_fail
;
19022 Py_INCREF(Py_None
); resultobj
= Py_None
;
19029 static PyObject
*_wrap_ListItem_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19030 PyObject
*resultobj
;
19031 wxListItem
*arg1
= (wxListItem
*) 0 ;
19032 PyObject
* obj0
= 0 ;
19033 char *kwnames
[] = {
19034 (char *) "self", NULL
19037 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_Clear",kwnames
,&obj0
)) goto fail
;
19038 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19039 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19044 wxPyEndAllowThreads(__tstate
);
19045 if (PyErr_Occurred()) SWIG_fail
;
19047 Py_INCREF(Py_None
); resultobj
= Py_None
;
19054 static PyObject
*_wrap_ListItem_ClearAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19055 PyObject
*resultobj
;
19056 wxListItem
*arg1
= (wxListItem
*) 0 ;
19057 PyObject
* obj0
= 0 ;
19058 char *kwnames
[] = {
19059 (char *) "self", NULL
19062 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_ClearAttributes",kwnames
,&obj0
)) goto fail
;
19063 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19064 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19067 (arg1
)->ClearAttributes();
19069 wxPyEndAllowThreads(__tstate
);
19070 if (PyErr_Occurred()) SWIG_fail
;
19072 Py_INCREF(Py_None
); resultobj
= Py_None
;
19079 static PyObject
*_wrap_ListItem_SetMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19080 PyObject
*resultobj
;
19081 wxListItem
*arg1
= (wxListItem
*) 0 ;
19083 PyObject
* obj0
= 0 ;
19084 PyObject
* obj1
= 0 ;
19085 char *kwnames
[] = {
19086 (char *) "self",(char *) "mask", NULL
19089 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetMask",kwnames
,&obj0
,&obj1
)) goto fail
;
19090 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19091 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19092 arg2
= (long) SWIG_AsLong(obj1
);
19093 if (PyErr_Occurred()) SWIG_fail
;
19095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19096 (arg1
)->SetMask(arg2
);
19098 wxPyEndAllowThreads(__tstate
);
19099 if (PyErr_Occurred()) SWIG_fail
;
19101 Py_INCREF(Py_None
); resultobj
= Py_None
;
19108 static PyObject
*_wrap_ListItem_SetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19109 PyObject
*resultobj
;
19110 wxListItem
*arg1
= (wxListItem
*) 0 ;
19112 PyObject
* obj0
= 0 ;
19113 PyObject
* obj1
= 0 ;
19114 char *kwnames
[] = {
19115 (char *) "self",(char *) "id", NULL
19118 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
19119 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19120 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19121 arg2
= (long) SWIG_AsLong(obj1
);
19122 if (PyErr_Occurred()) SWIG_fail
;
19124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19125 (arg1
)->SetId(arg2
);
19127 wxPyEndAllowThreads(__tstate
);
19128 if (PyErr_Occurred()) SWIG_fail
;
19130 Py_INCREF(Py_None
); resultobj
= Py_None
;
19137 static PyObject
*_wrap_ListItem_SetColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19138 PyObject
*resultobj
;
19139 wxListItem
*arg1
= (wxListItem
*) 0 ;
19141 PyObject
* obj0
= 0 ;
19142 PyObject
* obj1
= 0 ;
19143 char *kwnames
[] = {
19144 (char *) "self",(char *) "col", NULL
19147 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetColumn",kwnames
,&obj0
,&obj1
)) goto fail
;
19148 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19149 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19150 arg2
= (int) SWIG_AsInt(obj1
);
19151 if (PyErr_Occurred()) SWIG_fail
;
19153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19154 (arg1
)->SetColumn(arg2
);
19156 wxPyEndAllowThreads(__tstate
);
19157 if (PyErr_Occurred()) SWIG_fail
;
19159 Py_INCREF(Py_None
); resultobj
= Py_None
;
19166 static PyObject
*_wrap_ListItem_SetState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19167 PyObject
*resultobj
;
19168 wxListItem
*arg1
= (wxListItem
*) 0 ;
19170 PyObject
* obj0
= 0 ;
19171 PyObject
* obj1
= 0 ;
19172 char *kwnames
[] = {
19173 (char *) "self",(char *) "state", NULL
19176 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetState",kwnames
,&obj0
,&obj1
)) goto fail
;
19177 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19178 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19179 arg2
= (long) SWIG_AsLong(obj1
);
19180 if (PyErr_Occurred()) SWIG_fail
;
19182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19183 (arg1
)->SetState(arg2
);
19185 wxPyEndAllowThreads(__tstate
);
19186 if (PyErr_Occurred()) SWIG_fail
;
19188 Py_INCREF(Py_None
); resultobj
= Py_None
;
19195 static PyObject
*_wrap_ListItem_SetStateMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19196 PyObject
*resultobj
;
19197 wxListItem
*arg1
= (wxListItem
*) 0 ;
19199 PyObject
* obj0
= 0 ;
19200 PyObject
* obj1
= 0 ;
19201 char *kwnames
[] = {
19202 (char *) "self",(char *) "stateMask", NULL
19205 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetStateMask",kwnames
,&obj0
,&obj1
)) goto fail
;
19206 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19207 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19208 arg2
= (long) SWIG_AsLong(obj1
);
19209 if (PyErr_Occurred()) SWIG_fail
;
19211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19212 (arg1
)->SetStateMask(arg2
);
19214 wxPyEndAllowThreads(__tstate
);
19215 if (PyErr_Occurred()) SWIG_fail
;
19217 Py_INCREF(Py_None
); resultobj
= Py_None
;
19224 static PyObject
*_wrap_ListItem_SetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19225 PyObject
*resultobj
;
19226 wxListItem
*arg1
= (wxListItem
*) 0 ;
19227 wxString
*arg2
= 0 ;
19228 bool temp2
= False
;
19229 PyObject
* obj0
= 0 ;
19230 PyObject
* obj1
= 0 ;
19231 char *kwnames
[] = {
19232 (char *) "self",(char *) "text", NULL
19235 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetText",kwnames
,&obj0
,&obj1
)) goto fail
;
19236 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19237 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19239 arg2
= wxString_in_helper(obj1
);
19240 if (arg2
== NULL
) SWIG_fail
;
19244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19245 (arg1
)->SetText((wxString
const &)*arg2
);
19247 wxPyEndAllowThreads(__tstate
);
19248 if (PyErr_Occurred()) SWIG_fail
;
19250 Py_INCREF(Py_None
); resultobj
= Py_None
;
19265 static PyObject
*_wrap_ListItem_SetImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19266 PyObject
*resultobj
;
19267 wxListItem
*arg1
= (wxListItem
*) 0 ;
19269 PyObject
* obj0
= 0 ;
19270 PyObject
* obj1
= 0 ;
19271 char *kwnames
[] = {
19272 (char *) "self",(char *) "image", NULL
19275 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetImage",kwnames
,&obj0
,&obj1
)) goto fail
;
19276 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19277 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19278 arg2
= (int) SWIG_AsInt(obj1
);
19279 if (PyErr_Occurred()) SWIG_fail
;
19281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19282 (arg1
)->SetImage(arg2
);
19284 wxPyEndAllowThreads(__tstate
);
19285 if (PyErr_Occurred()) SWIG_fail
;
19287 Py_INCREF(Py_None
); resultobj
= Py_None
;
19294 static PyObject
*_wrap_ListItem_SetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19295 PyObject
*resultobj
;
19296 wxListItem
*arg1
= (wxListItem
*) 0 ;
19298 PyObject
* obj0
= 0 ;
19299 PyObject
* obj1
= 0 ;
19300 char *kwnames
[] = {
19301 (char *) "self",(char *) "data", NULL
19304 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
19305 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19306 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19307 arg2
= (long) SWIG_AsLong(obj1
);
19308 if (PyErr_Occurred()) SWIG_fail
;
19310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19311 (arg1
)->SetData(arg2
);
19313 wxPyEndAllowThreads(__tstate
);
19314 if (PyErr_Occurred()) SWIG_fail
;
19316 Py_INCREF(Py_None
); resultobj
= Py_None
;
19323 static PyObject
*_wrap_ListItem_SetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19324 PyObject
*resultobj
;
19325 wxListItem
*arg1
= (wxListItem
*) 0 ;
19327 PyObject
* obj0
= 0 ;
19328 PyObject
* obj1
= 0 ;
19329 char *kwnames
[] = {
19330 (char *) "self",(char *) "width", NULL
19333 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
19334 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19335 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19336 arg2
= (int) SWIG_AsInt(obj1
);
19337 if (PyErr_Occurred()) SWIG_fail
;
19339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19340 (arg1
)->SetWidth(arg2
);
19342 wxPyEndAllowThreads(__tstate
);
19343 if (PyErr_Occurred()) SWIG_fail
;
19345 Py_INCREF(Py_None
); resultobj
= Py_None
;
19352 static PyObject
*_wrap_ListItem_SetAlign(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19353 PyObject
*resultobj
;
19354 wxListItem
*arg1
= (wxListItem
*) 0 ;
19356 PyObject
* obj0
= 0 ;
19357 PyObject
* obj1
= 0 ;
19358 char *kwnames
[] = {
19359 (char *) "self",(char *) "align", NULL
19362 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetAlign",kwnames
,&obj0
,&obj1
)) goto fail
;
19363 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19364 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19365 arg2
= (wxListColumnFormat
) SWIG_AsInt(obj1
);
19366 if (PyErr_Occurred()) SWIG_fail
;
19368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19369 (arg1
)->SetAlign((wxListColumnFormat
)arg2
);
19371 wxPyEndAllowThreads(__tstate
);
19372 if (PyErr_Occurred()) SWIG_fail
;
19374 Py_INCREF(Py_None
); resultobj
= Py_None
;
19381 static PyObject
*_wrap_ListItem_SetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19382 PyObject
*resultobj
;
19383 wxListItem
*arg1
= (wxListItem
*) 0 ;
19384 wxColour
*arg2
= 0 ;
19386 PyObject
* obj0
= 0 ;
19387 PyObject
* obj1
= 0 ;
19388 char *kwnames
[] = {
19389 (char *) "self",(char *) "colText", NULL
19392 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
19393 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19394 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19397 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
19400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19401 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
19403 wxPyEndAllowThreads(__tstate
);
19404 if (PyErr_Occurred()) SWIG_fail
;
19406 Py_INCREF(Py_None
); resultobj
= Py_None
;
19413 static PyObject
*_wrap_ListItem_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19414 PyObject
*resultobj
;
19415 wxListItem
*arg1
= (wxListItem
*) 0 ;
19416 wxColour
*arg2
= 0 ;
19418 PyObject
* obj0
= 0 ;
19419 PyObject
* obj1
= 0 ;
19420 char *kwnames
[] = {
19421 (char *) "self",(char *) "colBack", NULL
19424 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
19425 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19426 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19429 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
19432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19433 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
19435 wxPyEndAllowThreads(__tstate
);
19436 if (PyErr_Occurred()) SWIG_fail
;
19438 Py_INCREF(Py_None
); resultobj
= Py_None
;
19445 static PyObject
*_wrap_ListItem_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19446 PyObject
*resultobj
;
19447 wxListItem
*arg1
= (wxListItem
*) 0 ;
19449 PyObject
* obj0
= 0 ;
19450 PyObject
* obj1
= 0 ;
19451 char *kwnames
[] = {
19452 (char *) "self",(char *) "font", NULL
19455 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
;
19456 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19457 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19458 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
19459 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19461 if (arg2
== NULL
) {
19462 PyErr_SetString(PyExc_TypeError
,"null reference");
19466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19467 (arg1
)->SetFont((wxFont
const &)*arg2
);
19469 wxPyEndAllowThreads(__tstate
);
19470 if (PyErr_Occurred()) SWIG_fail
;
19472 Py_INCREF(Py_None
); resultobj
= Py_None
;
19479 static PyObject
*_wrap_ListItem_GetMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19480 PyObject
*resultobj
;
19481 wxListItem
*arg1
= (wxListItem
*) 0 ;
19483 PyObject
* obj0
= 0 ;
19484 char *kwnames
[] = {
19485 (char *) "self", NULL
19488 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetMask",kwnames
,&obj0
)) goto fail
;
19489 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19490 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19493 result
= (long)(arg1
)->GetMask();
19495 wxPyEndAllowThreads(__tstate
);
19496 if (PyErr_Occurred()) SWIG_fail
;
19498 resultobj
= SWIG_FromLong((long)result
);
19505 static PyObject
*_wrap_ListItem_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19506 PyObject
*resultobj
;
19507 wxListItem
*arg1
= (wxListItem
*) 0 ;
19509 PyObject
* obj0
= 0 ;
19510 char *kwnames
[] = {
19511 (char *) "self", NULL
19514 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetId",kwnames
,&obj0
)) goto fail
;
19515 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19516 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19519 result
= (long)(arg1
)->GetId();
19521 wxPyEndAllowThreads(__tstate
);
19522 if (PyErr_Occurred()) SWIG_fail
;
19524 resultobj
= SWIG_FromLong((long)result
);
19531 static PyObject
*_wrap_ListItem_GetColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19532 PyObject
*resultobj
;
19533 wxListItem
*arg1
= (wxListItem
*) 0 ;
19535 PyObject
* obj0
= 0 ;
19536 char *kwnames
[] = {
19537 (char *) "self", NULL
19540 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetColumn",kwnames
,&obj0
)) goto fail
;
19541 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19542 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19545 result
= (int)(arg1
)->GetColumn();
19547 wxPyEndAllowThreads(__tstate
);
19548 if (PyErr_Occurred()) SWIG_fail
;
19550 resultobj
= SWIG_FromInt((int)result
);
19557 static PyObject
*_wrap_ListItem_GetState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19558 PyObject
*resultobj
;
19559 wxListItem
*arg1
= (wxListItem
*) 0 ;
19561 PyObject
* obj0
= 0 ;
19562 char *kwnames
[] = {
19563 (char *) "self", NULL
19566 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetState",kwnames
,&obj0
)) goto fail
;
19567 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19568 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19571 result
= (long)(arg1
)->GetState();
19573 wxPyEndAllowThreads(__tstate
);
19574 if (PyErr_Occurred()) SWIG_fail
;
19576 resultobj
= SWIG_FromLong((long)result
);
19583 static PyObject
*_wrap_ListItem_GetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19584 PyObject
*resultobj
;
19585 wxListItem
*arg1
= (wxListItem
*) 0 ;
19587 PyObject
* obj0
= 0 ;
19588 char *kwnames
[] = {
19589 (char *) "self", NULL
19592 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetText",kwnames
,&obj0
)) goto fail
;
19593 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19594 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19598 wxString
const &_result_ref
= (arg1
)->GetText();
19599 result
= (wxString
*) &_result_ref
;
19602 wxPyEndAllowThreads(__tstate
);
19603 if (PyErr_Occurred()) SWIG_fail
;
19607 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
19609 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
19618 static PyObject
*_wrap_ListItem_GetImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19619 PyObject
*resultobj
;
19620 wxListItem
*arg1
= (wxListItem
*) 0 ;
19622 PyObject
* obj0
= 0 ;
19623 char *kwnames
[] = {
19624 (char *) "self", NULL
19627 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetImage",kwnames
,&obj0
)) goto fail
;
19628 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19629 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19632 result
= (int)(arg1
)->GetImage();
19634 wxPyEndAllowThreads(__tstate
);
19635 if (PyErr_Occurred()) SWIG_fail
;
19637 resultobj
= SWIG_FromInt((int)result
);
19644 static PyObject
*_wrap_ListItem_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19645 PyObject
*resultobj
;
19646 wxListItem
*arg1
= (wxListItem
*) 0 ;
19648 PyObject
* obj0
= 0 ;
19649 char *kwnames
[] = {
19650 (char *) "self", NULL
19653 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetData",kwnames
,&obj0
)) goto fail
;
19654 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19655 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19658 result
= (long)(arg1
)->GetData();
19660 wxPyEndAllowThreads(__tstate
);
19661 if (PyErr_Occurred()) SWIG_fail
;
19663 resultobj
= SWIG_FromLong((long)result
);
19670 static PyObject
*_wrap_ListItem_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19671 PyObject
*resultobj
;
19672 wxListItem
*arg1
= (wxListItem
*) 0 ;
19674 PyObject
* obj0
= 0 ;
19675 char *kwnames
[] = {
19676 (char *) "self", NULL
19679 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetWidth",kwnames
,&obj0
)) goto fail
;
19680 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19681 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19684 result
= (int)(arg1
)->GetWidth();
19686 wxPyEndAllowThreads(__tstate
);
19687 if (PyErr_Occurred()) SWIG_fail
;
19689 resultobj
= SWIG_FromInt((int)result
);
19696 static PyObject
*_wrap_ListItem_GetAlign(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19697 PyObject
*resultobj
;
19698 wxListItem
*arg1
= (wxListItem
*) 0 ;
19700 PyObject
* obj0
= 0 ;
19701 char *kwnames
[] = {
19702 (char *) "self", NULL
19705 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetAlign",kwnames
,&obj0
)) goto fail
;
19706 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19707 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19710 result
= (int)(arg1
)->GetAlign();
19712 wxPyEndAllowThreads(__tstate
);
19713 if (PyErr_Occurred()) SWIG_fail
;
19715 resultobj
= SWIG_FromInt((int)result
);
19722 static PyObject
*_wrap_ListItem_GetAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19723 PyObject
*resultobj
;
19724 wxListItem
*arg1
= (wxListItem
*) 0 ;
19725 wxListItemAttr
*result
;
19726 PyObject
* obj0
= 0 ;
19727 char *kwnames
[] = {
19728 (char *) "self", NULL
19731 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetAttributes",kwnames
,&obj0
)) goto fail
;
19732 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19733 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19736 result
= (wxListItemAttr
*)(arg1
)->GetAttributes();
19738 wxPyEndAllowThreads(__tstate
);
19739 if (PyErr_Occurred()) SWIG_fail
;
19741 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListItemAttr
, 0);
19748 static PyObject
*_wrap_ListItem_HasAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19749 PyObject
*resultobj
;
19750 wxListItem
*arg1
= (wxListItem
*) 0 ;
19752 PyObject
* obj0
= 0 ;
19753 char *kwnames
[] = {
19754 (char *) "self", NULL
19757 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_HasAttributes",kwnames
,&obj0
)) goto fail
;
19758 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19759 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19762 result
= (bool)(arg1
)->HasAttributes();
19764 wxPyEndAllowThreads(__tstate
);
19765 if (PyErr_Occurred()) SWIG_fail
;
19768 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19776 static PyObject
*_wrap_ListItem_GetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19777 PyObject
*resultobj
;
19778 wxListItem
*arg1
= (wxListItem
*) 0 ;
19780 PyObject
* obj0
= 0 ;
19781 char *kwnames
[] = {
19782 (char *) "self", NULL
19785 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetTextColour",kwnames
,&obj0
)) goto fail
;
19786 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19787 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19790 result
= ((wxListItem
const *)arg1
)->GetTextColour();
19792 wxPyEndAllowThreads(__tstate
);
19793 if (PyErr_Occurred()) SWIG_fail
;
19796 wxColour
* resultptr
;
19797 resultptr
= new wxColour((wxColour
&) result
);
19798 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
19806 static PyObject
*_wrap_ListItem_GetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19807 PyObject
*resultobj
;
19808 wxListItem
*arg1
= (wxListItem
*) 0 ;
19810 PyObject
* obj0
= 0 ;
19811 char *kwnames
[] = {
19812 (char *) "self", NULL
19815 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
19816 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19817 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19820 result
= ((wxListItem
const *)arg1
)->GetBackgroundColour();
19822 wxPyEndAllowThreads(__tstate
);
19823 if (PyErr_Occurred()) SWIG_fail
;
19826 wxColour
* resultptr
;
19827 resultptr
= new wxColour((wxColour
&) result
);
19828 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
19836 static PyObject
*_wrap_ListItem_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19837 PyObject
*resultobj
;
19838 wxListItem
*arg1
= (wxListItem
*) 0 ;
19840 PyObject
* obj0
= 0 ;
19841 char *kwnames
[] = {
19842 (char *) "self", NULL
19845 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetFont",kwnames
,&obj0
)) goto fail
;
19846 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19847 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19850 result
= ((wxListItem
const *)arg1
)->GetFont();
19852 wxPyEndAllowThreads(__tstate
);
19853 if (PyErr_Occurred()) SWIG_fail
;
19856 wxFont
* resultptr
;
19857 resultptr
= new wxFont((wxFont
&) result
);
19858 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
19866 static PyObject
*_wrap_ListItem_m_mask_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19867 PyObject
*resultobj
;
19868 wxListItem
*arg1
= (wxListItem
*) 0 ;
19870 PyObject
* obj0
= 0 ;
19871 PyObject
* obj1
= 0 ;
19872 char *kwnames
[] = {
19873 (char *) "self",(char *) "m_mask", NULL
19876 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_mask_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19877 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19878 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19879 arg2
= (long) SWIG_AsLong(obj1
);
19880 if (PyErr_Occurred()) SWIG_fail
;
19881 if (arg1
) (arg1
)->m_mask
= arg2
;
19883 Py_INCREF(Py_None
); resultobj
= Py_None
;
19890 static PyObject
*_wrap_ListItem_m_mask_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19891 PyObject
*resultobj
;
19892 wxListItem
*arg1
= (wxListItem
*) 0 ;
19894 PyObject
* obj0
= 0 ;
19895 char *kwnames
[] = {
19896 (char *) "self", NULL
19899 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_mask_get",kwnames
,&obj0
)) goto fail
;
19900 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19901 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19902 result
= (long) ((arg1
)->m_mask
);
19904 resultobj
= SWIG_FromLong((long)result
);
19911 static PyObject
*_wrap_ListItem_m_itemId_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19912 PyObject
*resultobj
;
19913 wxListItem
*arg1
= (wxListItem
*) 0 ;
19915 PyObject
* obj0
= 0 ;
19916 PyObject
* obj1
= 0 ;
19917 char *kwnames
[] = {
19918 (char *) "self",(char *) "m_itemId", NULL
19921 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_itemId_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19922 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19923 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19924 arg2
= (long) SWIG_AsLong(obj1
);
19925 if (PyErr_Occurred()) SWIG_fail
;
19926 if (arg1
) (arg1
)->m_itemId
= arg2
;
19928 Py_INCREF(Py_None
); resultobj
= Py_None
;
19935 static PyObject
*_wrap_ListItem_m_itemId_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19936 PyObject
*resultobj
;
19937 wxListItem
*arg1
= (wxListItem
*) 0 ;
19939 PyObject
* obj0
= 0 ;
19940 char *kwnames
[] = {
19941 (char *) "self", NULL
19944 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_itemId_get",kwnames
,&obj0
)) goto fail
;
19945 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19946 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19947 result
= (long) ((arg1
)->m_itemId
);
19949 resultobj
= SWIG_FromLong((long)result
);
19956 static PyObject
*_wrap_ListItem_m_col_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19957 PyObject
*resultobj
;
19958 wxListItem
*arg1
= (wxListItem
*) 0 ;
19960 PyObject
* obj0
= 0 ;
19961 PyObject
* obj1
= 0 ;
19962 char *kwnames
[] = {
19963 (char *) "self",(char *) "m_col", NULL
19966 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_col_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19967 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19968 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19969 arg2
= (int) SWIG_AsInt(obj1
);
19970 if (PyErr_Occurred()) SWIG_fail
;
19971 if (arg1
) (arg1
)->m_col
= arg2
;
19973 Py_INCREF(Py_None
); resultobj
= Py_None
;
19980 static PyObject
*_wrap_ListItem_m_col_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19981 PyObject
*resultobj
;
19982 wxListItem
*arg1
= (wxListItem
*) 0 ;
19984 PyObject
* obj0
= 0 ;
19985 char *kwnames
[] = {
19986 (char *) "self", NULL
19989 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_col_get",kwnames
,&obj0
)) goto fail
;
19990 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19991 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19992 result
= (int) ((arg1
)->m_col
);
19994 resultobj
= SWIG_FromInt((int)result
);
20001 static PyObject
*_wrap_ListItem_m_state_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20002 PyObject
*resultobj
;
20003 wxListItem
*arg1
= (wxListItem
*) 0 ;
20005 PyObject
* obj0
= 0 ;
20006 PyObject
* obj1
= 0 ;
20007 char *kwnames
[] = {
20008 (char *) "self",(char *) "m_state", NULL
20011 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_state_set",kwnames
,&obj0
,&obj1
)) goto fail
;
20012 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20013 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20014 arg2
= (long) SWIG_AsLong(obj1
);
20015 if (PyErr_Occurred()) SWIG_fail
;
20016 if (arg1
) (arg1
)->m_state
= arg2
;
20018 Py_INCREF(Py_None
); resultobj
= Py_None
;
20025 static PyObject
*_wrap_ListItem_m_state_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20026 PyObject
*resultobj
;
20027 wxListItem
*arg1
= (wxListItem
*) 0 ;
20029 PyObject
* obj0
= 0 ;
20030 char *kwnames
[] = {
20031 (char *) "self", NULL
20034 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_state_get",kwnames
,&obj0
)) goto fail
;
20035 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20036 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20037 result
= (long) ((arg1
)->m_state
);
20039 resultobj
= SWIG_FromLong((long)result
);
20046 static PyObject
*_wrap_ListItem_m_stateMask_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20047 PyObject
*resultobj
;
20048 wxListItem
*arg1
= (wxListItem
*) 0 ;
20050 PyObject
* obj0
= 0 ;
20051 PyObject
* obj1
= 0 ;
20052 char *kwnames
[] = {
20053 (char *) "self",(char *) "m_stateMask", NULL
20056 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_stateMask_set",kwnames
,&obj0
,&obj1
)) goto fail
;
20057 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20058 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20059 arg2
= (long) SWIG_AsLong(obj1
);
20060 if (PyErr_Occurred()) SWIG_fail
;
20061 if (arg1
) (arg1
)->m_stateMask
= arg2
;
20063 Py_INCREF(Py_None
); resultobj
= Py_None
;
20070 static PyObject
*_wrap_ListItem_m_stateMask_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20071 PyObject
*resultobj
;
20072 wxListItem
*arg1
= (wxListItem
*) 0 ;
20074 PyObject
* obj0
= 0 ;
20075 char *kwnames
[] = {
20076 (char *) "self", NULL
20079 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_stateMask_get",kwnames
,&obj0
)) goto fail
;
20080 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20081 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20082 result
= (long) ((arg1
)->m_stateMask
);
20084 resultobj
= SWIG_FromLong((long)result
);
20091 static PyObject
*_wrap_ListItem_m_text_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20092 PyObject
*resultobj
;
20093 wxListItem
*arg1
= (wxListItem
*) 0 ;
20094 wxString
*arg2
= (wxString
*) 0 ;
20095 bool temp2
= False
;
20096 PyObject
* obj0
= 0 ;
20097 PyObject
* obj1
= 0 ;
20098 char *kwnames
[] = {
20099 (char *) "self",(char *) "m_text", NULL
20102 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_text_set",kwnames
,&obj0
,&obj1
)) goto fail
;
20103 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20104 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20106 arg2
= wxString_in_helper(obj1
);
20107 if (arg2
== NULL
) SWIG_fail
;
20110 if (arg1
) (arg1
)->m_text
= *arg2
;
20112 Py_INCREF(Py_None
); resultobj
= Py_None
;
20127 static PyObject
*_wrap_ListItem_m_text_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20128 PyObject
*resultobj
;
20129 wxListItem
*arg1
= (wxListItem
*) 0 ;
20131 PyObject
* obj0
= 0 ;
20132 char *kwnames
[] = {
20133 (char *) "self", NULL
20136 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_text_get",kwnames
,&obj0
)) goto fail
;
20137 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20138 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20139 result
= (wxString
*)& ((arg1
)->m_text
);
20143 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
20145 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
20154 static PyObject
*_wrap_ListItem_m_image_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20155 PyObject
*resultobj
;
20156 wxListItem
*arg1
= (wxListItem
*) 0 ;
20158 PyObject
* obj0
= 0 ;
20159 PyObject
* obj1
= 0 ;
20160 char *kwnames
[] = {
20161 (char *) "self",(char *) "m_image", NULL
20164 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_image_set",kwnames
,&obj0
,&obj1
)) goto fail
;
20165 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20166 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20167 arg2
= (int) SWIG_AsInt(obj1
);
20168 if (PyErr_Occurred()) SWIG_fail
;
20169 if (arg1
) (arg1
)->m_image
= arg2
;
20171 Py_INCREF(Py_None
); resultobj
= Py_None
;
20178 static PyObject
*_wrap_ListItem_m_image_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20179 PyObject
*resultobj
;
20180 wxListItem
*arg1
= (wxListItem
*) 0 ;
20182 PyObject
* obj0
= 0 ;
20183 char *kwnames
[] = {
20184 (char *) "self", NULL
20187 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_image_get",kwnames
,&obj0
)) goto fail
;
20188 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20189 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20190 result
= (int) ((arg1
)->m_image
);
20192 resultobj
= SWIG_FromInt((int)result
);
20199 static PyObject
*_wrap_ListItem_m_data_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20200 PyObject
*resultobj
;
20201 wxListItem
*arg1
= (wxListItem
*) 0 ;
20203 PyObject
* obj0
= 0 ;
20204 PyObject
* obj1
= 0 ;
20205 char *kwnames
[] = {
20206 (char *) "self",(char *) "m_data", NULL
20209 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_data_set",kwnames
,&obj0
,&obj1
)) goto fail
;
20210 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20211 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20212 arg2
= (long) SWIG_AsLong(obj1
);
20213 if (PyErr_Occurred()) SWIG_fail
;
20214 if (arg1
) (arg1
)->m_data
= arg2
;
20216 Py_INCREF(Py_None
); resultobj
= Py_None
;
20223 static PyObject
*_wrap_ListItem_m_data_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20224 PyObject
*resultobj
;
20225 wxListItem
*arg1
= (wxListItem
*) 0 ;
20227 PyObject
* obj0
= 0 ;
20228 char *kwnames
[] = {
20229 (char *) "self", NULL
20232 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_data_get",kwnames
,&obj0
)) goto fail
;
20233 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20234 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20235 result
= (long) ((arg1
)->m_data
);
20237 resultobj
= SWIG_FromLong((long)result
);
20244 static PyObject
*_wrap_ListItem_m_format_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20245 PyObject
*resultobj
;
20246 wxListItem
*arg1
= (wxListItem
*) 0 ;
20248 PyObject
* obj0
= 0 ;
20249 PyObject
* obj1
= 0 ;
20250 char *kwnames
[] = {
20251 (char *) "self",(char *) "m_format", NULL
20254 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_format_set",kwnames
,&obj0
,&obj1
)) goto fail
;
20255 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20256 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20257 arg2
= (int) SWIG_AsInt(obj1
);
20258 if (PyErr_Occurred()) SWIG_fail
;
20259 if (arg1
) (arg1
)->m_format
= arg2
;
20261 Py_INCREF(Py_None
); resultobj
= Py_None
;
20268 static PyObject
*_wrap_ListItem_m_format_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20269 PyObject
*resultobj
;
20270 wxListItem
*arg1
= (wxListItem
*) 0 ;
20272 PyObject
* obj0
= 0 ;
20273 char *kwnames
[] = {
20274 (char *) "self", NULL
20277 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_format_get",kwnames
,&obj0
)) goto fail
;
20278 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20279 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20280 result
= (int) ((arg1
)->m_format
);
20282 resultobj
= SWIG_FromInt((int)result
);
20289 static PyObject
*_wrap_ListItem_m_width_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20290 PyObject
*resultobj
;
20291 wxListItem
*arg1
= (wxListItem
*) 0 ;
20293 PyObject
* obj0
= 0 ;
20294 PyObject
* obj1
= 0 ;
20295 char *kwnames
[] = {
20296 (char *) "self",(char *) "m_width", NULL
20299 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_width_set",kwnames
,&obj0
,&obj1
)) goto fail
;
20300 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20301 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20302 arg2
= (int) SWIG_AsInt(obj1
);
20303 if (PyErr_Occurred()) SWIG_fail
;
20304 if (arg1
) (arg1
)->m_width
= arg2
;
20306 Py_INCREF(Py_None
); resultobj
= Py_None
;
20313 static PyObject
*_wrap_ListItem_m_width_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20314 PyObject
*resultobj
;
20315 wxListItem
*arg1
= (wxListItem
*) 0 ;
20317 PyObject
* obj0
= 0 ;
20318 char *kwnames
[] = {
20319 (char *) "self", NULL
20322 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_width_get",kwnames
,&obj0
)) goto fail
;
20323 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20324 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20325 result
= (int) ((arg1
)->m_width
);
20327 resultobj
= SWIG_FromInt((int)result
);
20334 static PyObject
* ListItem_swigregister(PyObject
*self
, PyObject
*args
) {
20336 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20337 SWIG_TypeClientData(SWIGTYPE_p_wxListItem
, obj
);
20339 return Py_BuildValue((char *)"");
20341 static PyObject
*_wrap_new_ListEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20342 PyObject
*resultobj
;
20343 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
20344 int arg2
= (int) 0 ;
20345 wxListEvent
*result
;
20346 PyObject
* obj0
= 0 ;
20347 PyObject
* obj1
= 0 ;
20348 char *kwnames
[] = {
20349 (char *) "commandType",(char *) "id", NULL
20352 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_ListEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
20354 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
20355 if (PyErr_Occurred()) SWIG_fail
;
20358 arg2
= (int) SWIG_AsInt(obj1
);
20359 if (PyErr_Occurred()) SWIG_fail
;
20362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20363 result
= (wxListEvent
*)new wxListEvent(arg1
,arg2
);
20365 wxPyEndAllowThreads(__tstate
);
20366 if (PyErr_Occurred()) SWIG_fail
;
20368 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListEvent
, 1);
20375 static PyObject
*_wrap_ListEvent_m_code_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20376 PyObject
*resultobj
;
20377 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20379 PyObject
* obj0
= 0 ;
20380 PyObject
* obj1
= 0 ;
20381 char *kwnames
[] = {
20382 (char *) "self",(char *) "m_code", NULL
20385 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_code_set",kwnames
,&obj0
,&obj1
)) goto fail
;
20386 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20387 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20388 arg2
= (int) SWIG_AsInt(obj1
);
20389 if (PyErr_Occurred()) SWIG_fail
;
20390 if (arg1
) (arg1
)->m_code
= arg2
;
20392 Py_INCREF(Py_None
); resultobj
= Py_None
;
20399 static PyObject
*_wrap_ListEvent_m_code_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20400 PyObject
*resultobj
;
20401 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20403 PyObject
* obj0
= 0 ;
20404 char *kwnames
[] = {
20405 (char *) "self", NULL
20408 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_code_get",kwnames
,&obj0
)) goto fail
;
20409 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20410 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20411 result
= (int) ((arg1
)->m_code
);
20413 resultobj
= SWIG_FromInt((int)result
);
20420 static PyObject
*_wrap_ListEvent_m_oldItemIndex_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20421 PyObject
*resultobj
;
20422 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20424 PyObject
* obj0
= 0 ;
20425 PyObject
* obj1
= 0 ;
20426 char *kwnames
[] = {
20427 (char *) "self",(char *) "m_oldItemIndex", NULL
20430 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_oldItemIndex_set",kwnames
,&obj0
,&obj1
)) goto fail
;
20431 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20432 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20433 arg2
= (long) SWIG_AsLong(obj1
);
20434 if (PyErr_Occurred()) SWIG_fail
;
20435 if (arg1
) (arg1
)->m_oldItemIndex
= arg2
;
20437 Py_INCREF(Py_None
); resultobj
= Py_None
;
20444 static PyObject
*_wrap_ListEvent_m_oldItemIndex_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20445 PyObject
*resultobj
;
20446 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20448 PyObject
* obj0
= 0 ;
20449 char *kwnames
[] = {
20450 (char *) "self", NULL
20453 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_oldItemIndex_get",kwnames
,&obj0
)) goto fail
;
20454 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20455 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20456 result
= (long) ((arg1
)->m_oldItemIndex
);
20458 resultobj
= SWIG_FromLong((long)result
);
20465 static PyObject
*_wrap_ListEvent_m_itemIndex_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20466 PyObject
*resultobj
;
20467 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20469 PyObject
* obj0
= 0 ;
20470 PyObject
* obj1
= 0 ;
20471 char *kwnames
[] = {
20472 (char *) "self",(char *) "m_itemIndex", NULL
20475 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_itemIndex_set",kwnames
,&obj0
,&obj1
)) goto fail
;
20476 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20477 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20478 arg2
= (long) SWIG_AsLong(obj1
);
20479 if (PyErr_Occurred()) SWIG_fail
;
20480 if (arg1
) (arg1
)->m_itemIndex
= arg2
;
20482 Py_INCREF(Py_None
); resultobj
= Py_None
;
20489 static PyObject
*_wrap_ListEvent_m_itemIndex_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20490 PyObject
*resultobj
;
20491 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20493 PyObject
* obj0
= 0 ;
20494 char *kwnames
[] = {
20495 (char *) "self", NULL
20498 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_itemIndex_get",kwnames
,&obj0
)) goto fail
;
20499 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20500 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20501 result
= (long) ((arg1
)->m_itemIndex
);
20503 resultobj
= SWIG_FromLong((long)result
);
20510 static PyObject
*_wrap_ListEvent_m_col_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20511 PyObject
*resultobj
;
20512 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20514 PyObject
* obj0
= 0 ;
20515 PyObject
* obj1
= 0 ;
20516 char *kwnames
[] = {
20517 (char *) "self",(char *) "m_col", NULL
20520 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_col_set",kwnames
,&obj0
,&obj1
)) goto fail
;
20521 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20522 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20523 arg2
= (int) SWIG_AsInt(obj1
);
20524 if (PyErr_Occurred()) SWIG_fail
;
20525 if (arg1
) (arg1
)->m_col
= arg2
;
20527 Py_INCREF(Py_None
); resultobj
= Py_None
;
20534 static PyObject
*_wrap_ListEvent_m_col_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20535 PyObject
*resultobj
;
20536 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20538 PyObject
* obj0
= 0 ;
20539 char *kwnames
[] = {
20540 (char *) "self", NULL
20543 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_col_get",kwnames
,&obj0
)) goto fail
;
20544 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20545 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20546 result
= (int) ((arg1
)->m_col
);
20548 resultobj
= SWIG_FromInt((int)result
);
20555 static PyObject
*_wrap_ListEvent_m_pointDrag_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20556 PyObject
*resultobj
;
20557 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20558 wxPoint
*arg2
= (wxPoint
*) 0 ;
20559 PyObject
* obj0
= 0 ;
20560 PyObject
* obj1
= 0 ;
20561 char *kwnames
[] = {
20562 (char *) "self",(char *) "m_pointDrag", NULL
20565 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_pointDrag_set",kwnames
,&obj0
,&obj1
)) goto fail
;
20566 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20567 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20568 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPoint
,
20569 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20570 if (arg1
) (arg1
)->m_pointDrag
= *arg2
;
20572 Py_INCREF(Py_None
); resultobj
= Py_None
;
20579 static PyObject
*_wrap_ListEvent_m_pointDrag_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20580 PyObject
*resultobj
;
20581 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20583 PyObject
* obj0
= 0 ;
20584 char *kwnames
[] = {
20585 (char *) "self", NULL
20588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_pointDrag_get",kwnames
,&obj0
)) goto fail
;
20589 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20590 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20591 result
= (wxPoint
*)& ((arg1
)->m_pointDrag
);
20593 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 0);
20600 static PyObject
*_wrap_ListEvent_m_item_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20601 PyObject
*resultobj
;
20602 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20603 wxListItem
*result
;
20604 PyObject
* obj0
= 0 ;
20605 char *kwnames
[] = {
20606 (char *) "self", NULL
20609 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_item_get",kwnames
,&obj0
)) goto fail
;
20610 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20611 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20612 result
= (wxListItem
*)& ((arg1
)->m_item
);
20615 resultobj
= wxPyMake_wxObject(result
);
20623 static PyObject
*_wrap_ListEvent_GetKeyCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20624 PyObject
*resultobj
;
20625 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20627 PyObject
* obj0
= 0 ;
20628 char *kwnames
[] = {
20629 (char *) "self", NULL
20632 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetKeyCode",kwnames
,&obj0
)) goto fail
;
20633 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20634 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20637 result
= (int)(arg1
)->GetKeyCode();
20639 wxPyEndAllowThreads(__tstate
);
20640 if (PyErr_Occurred()) SWIG_fail
;
20642 resultobj
= SWIG_FromInt((int)result
);
20649 static PyObject
*_wrap_ListEvent_GetIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20650 PyObject
*resultobj
;
20651 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20653 PyObject
* obj0
= 0 ;
20654 char *kwnames
[] = {
20655 (char *) "self", NULL
20658 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetIndex",kwnames
,&obj0
)) goto fail
;
20659 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20660 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20663 result
= (long)(arg1
)->GetIndex();
20665 wxPyEndAllowThreads(__tstate
);
20666 if (PyErr_Occurred()) SWIG_fail
;
20668 resultobj
= SWIG_FromLong((long)result
);
20675 static PyObject
*_wrap_ListEvent_GetColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20676 PyObject
*resultobj
;
20677 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20679 PyObject
* obj0
= 0 ;
20680 char *kwnames
[] = {
20681 (char *) "self", NULL
20684 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetColumn",kwnames
,&obj0
)) goto fail
;
20685 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20686 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20689 result
= (int)(arg1
)->GetColumn();
20691 wxPyEndAllowThreads(__tstate
);
20692 if (PyErr_Occurred()) SWIG_fail
;
20694 resultobj
= SWIG_FromInt((int)result
);
20701 static PyObject
*_wrap_ListEvent_GetPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20702 PyObject
*resultobj
;
20703 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20705 PyObject
* obj0
= 0 ;
20706 char *kwnames
[] = {
20707 (char *) "self", NULL
20710 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetPoint",kwnames
,&obj0
)) goto fail
;
20711 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20712 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20715 result
= (arg1
)->GetPoint();
20717 wxPyEndAllowThreads(__tstate
);
20718 if (PyErr_Occurred()) SWIG_fail
;
20721 wxPoint
* resultptr
;
20722 resultptr
= new wxPoint((wxPoint
&) result
);
20723 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
20731 static PyObject
*_wrap_ListEvent_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20732 PyObject
*resultobj
;
20733 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20735 PyObject
* obj0
= 0 ;
20736 char *kwnames
[] = {
20737 (char *) "self", NULL
20740 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetLabel",kwnames
,&obj0
)) goto fail
;
20741 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20742 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20746 wxString
const &_result_ref
= (arg1
)->GetLabel();
20747 result
= (wxString
*) &_result_ref
;
20750 wxPyEndAllowThreads(__tstate
);
20751 if (PyErr_Occurred()) SWIG_fail
;
20755 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
20757 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
20766 static PyObject
*_wrap_ListEvent_GetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20767 PyObject
*resultobj
;
20768 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20770 PyObject
* obj0
= 0 ;
20771 char *kwnames
[] = {
20772 (char *) "self", NULL
20775 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetText",kwnames
,&obj0
)) goto fail
;
20776 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20777 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20781 wxString
const &_result_ref
= (arg1
)->GetText();
20782 result
= (wxString
*) &_result_ref
;
20785 wxPyEndAllowThreads(__tstate
);
20786 if (PyErr_Occurred()) SWIG_fail
;
20790 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
20792 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
20801 static PyObject
*_wrap_ListEvent_GetImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20802 PyObject
*resultobj
;
20803 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20805 PyObject
* obj0
= 0 ;
20806 char *kwnames
[] = {
20807 (char *) "self", NULL
20810 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetImage",kwnames
,&obj0
)) goto fail
;
20811 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20812 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20815 result
= (int)(arg1
)->GetImage();
20817 wxPyEndAllowThreads(__tstate
);
20818 if (PyErr_Occurred()) SWIG_fail
;
20820 resultobj
= SWIG_FromInt((int)result
);
20827 static PyObject
*_wrap_ListEvent_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20828 PyObject
*resultobj
;
20829 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20831 PyObject
* obj0
= 0 ;
20832 char *kwnames
[] = {
20833 (char *) "self", NULL
20836 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetData",kwnames
,&obj0
)) goto fail
;
20837 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20838 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20841 result
= (long)(arg1
)->GetData();
20843 wxPyEndAllowThreads(__tstate
);
20844 if (PyErr_Occurred()) SWIG_fail
;
20846 resultobj
= SWIG_FromLong((long)result
);
20853 static PyObject
*_wrap_ListEvent_GetMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20854 PyObject
*resultobj
;
20855 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20857 PyObject
* obj0
= 0 ;
20858 char *kwnames
[] = {
20859 (char *) "self", NULL
20862 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetMask",kwnames
,&obj0
)) goto fail
;
20863 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20864 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20867 result
= (long)(arg1
)->GetMask();
20869 wxPyEndAllowThreads(__tstate
);
20870 if (PyErr_Occurred()) SWIG_fail
;
20872 resultobj
= SWIG_FromLong((long)result
);
20879 static PyObject
*_wrap_ListEvent_GetItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20880 PyObject
*resultobj
;
20881 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20882 wxListItem
*result
;
20883 PyObject
* obj0
= 0 ;
20884 char *kwnames
[] = {
20885 (char *) "self", NULL
20888 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetItem",kwnames
,&obj0
)) goto fail
;
20889 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20890 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20894 wxListItem
const &_result_ref
= (arg1
)->GetItem();
20895 result
= (wxListItem
*) &_result_ref
;
20898 wxPyEndAllowThreads(__tstate
);
20899 if (PyErr_Occurred()) SWIG_fail
;
20901 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListItem
, 0);
20908 static PyObject
*_wrap_ListEvent_GetCacheFrom(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20909 PyObject
*resultobj
;
20910 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20912 PyObject
* obj0
= 0 ;
20913 char *kwnames
[] = {
20914 (char *) "self", NULL
20917 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetCacheFrom",kwnames
,&obj0
)) goto fail
;
20918 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20919 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20922 result
= (long)(arg1
)->GetCacheFrom();
20924 wxPyEndAllowThreads(__tstate
);
20925 if (PyErr_Occurred()) SWIG_fail
;
20927 resultobj
= SWIG_FromLong((long)result
);
20934 static PyObject
*_wrap_ListEvent_GetCacheTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20935 PyObject
*resultobj
;
20936 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20938 PyObject
* obj0
= 0 ;
20939 char *kwnames
[] = {
20940 (char *) "self", NULL
20943 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetCacheTo",kwnames
,&obj0
)) goto fail
;
20944 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20945 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20948 result
= (long)(arg1
)->GetCacheTo();
20950 wxPyEndAllowThreads(__tstate
);
20951 if (PyErr_Occurred()) SWIG_fail
;
20953 resultobj
= SWIG_FromLong((long)result
);
20960 static PyObject
*_wrap_ListEvent_IsEditCancelled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20961 PyObject
*resultobj
;
20962 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20964 PyObject
* obj0
= 0 ;
20965 char *kwnames
[] = {
20966 (char *) "self", NULL
20969 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_IsEditCancelled",kwnames
,&obj0
)) goto fail
;
20970 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20971 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20974 result
= (bool)((wxListEvent
const *)arg1
)->IsEditCancelled();
20976 wxPyEndAllowThreads(__tstate
);
20977 if (PyErr_Occurred()) SWIG_fail
;
20980 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20988 static PyObject
*_wrap_ListEvent_SetEditCanceled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20989 PyObject
*resultobj
;
20990 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20992 PyObject
* obj0
= 0 ;
20993 PyObject
* obj1
= 0 ;
20994 char *kwnames
[] = {
20995 (char *) "self",(char *) "editCancelled", NULL
20998 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_SetEditCanceled",kwnames
,&obj0
,&obj1
)) goto fail
;
20999 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
21000 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21001 arg2
= (bool) SWIG_AsBool(obj1
);
21002 if (PyErr_Occurred()) SWIG_fail
;
21004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21005 (arg1
)->SetEditCanceled(arg2
);
21007 wxPyEndAllowThreads(__tstate
);
21008 if (PyErr_Occurred()) SWIG_fail
;
21010 Py_INCREF(Py_None
); resultobj
= Py_None
;
21017 static PyObject
* ListEvent_swigregister(PyObject
*self
, PyObject
*args
) {
21019 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21020 SWIG_TypeClientData(SWIGTYPE_p_wxListEvent
, obj
);
21022 return Py_BuildValue((char *)"");
21024 static PyObject
*_wrap_new_ListCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21025 PyObject
*resultobj
;
21026 wxWindow
*arg1
= (wxWindow
*) 0 ;
21027 int arg2
= (int) -1 ;
21028 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
21029 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
21030 wxSize
const &arg4_defvalue
= wxDefaultSize
;
21031 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
21032 long arg5
= (long) wxLC_ICON
;
21033 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
21034 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
21035 wxString
const &arg7_defvalue
= wxPyListCtrlNameStr
;
21036 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
21037 wxPyListCtrl
*result
;
21040 bool temp7
= False
;
21041 PyObject
* obj0
= 0 ;
21042 PyObject
* obj1
= 0 ;
21043 PyObject
* obj2
= 0 ;
21044 PyObject
* obj3
= 0 ;
21045 PyObject
* obj4
= 0 ;
21046 PyObject
* obj5
= 0 ;
21047 PyObject
* obj6
= 0 ;
21048 char *kwnames
[] = {
21049 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
21052 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_ListCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
21053 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21054 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21056 arg2
= (int) SWIG_AsInt(obj1
);
21057 if (PyErr_Occurred()) SWIG_fail
;
21062 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
21068 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
21072 arg5
= (long) SWIG_AsLong(obj4
);
21073 if (PyErr_Occurred()) SWIG_fail
;
21076 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxValidator
,
21077 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21079 if (arg6
== NULL
) {
21080 PyErr_SetString(PyExc_TypeError
,"null reference");
21086 arg7
= wxString_in_helper(obj6
);
21087 if (arg7
== NULL
) SWIG_fail
;
21092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21093 result
= (wxPyListCtrl
*)new wxPyListCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
21095 wxPyEndAllowThreads(__tstate
);
21096 if (PyErr_Occurred()) SWIG_fail
;
21098 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyListCtrl
, 1);
21113 static PyObject
*_wrap_new_PreListCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21114 PyObject
*resultobj
;
21115 wxPyListCtrl
*result
;
21116 char *kwnames
[] = {
21120 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreListCtrl",kwnames
)) goto fail
;
21122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21123 result
= (wxPyListCtrl
*)new wxPyListCtrl();
21125 wxPyEndAllowThreads(__tstate
);
21126 if (PyErr_Occurred()) SWIG_fail
;
21128 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyListCtrl
, 1);
21135 static PyObject
*_wrap_ListCtrl_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21136 PyObject
*resultobj
;
21137 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21138 wxWindow
*arg2
= (wxWindow
*) 0 ;
21139 int arg3
= (int) -1 ;
21140 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
21141 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
21142 wxSize
const &arg5_defvalue
= wxDefaultSize
;
21143 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
21144 long arg6
= (long) wxLC_ICON
;
21145 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
21146 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
21147 wxString
const &arg8_defvalue
= wxPyListCtrlNameStr
;
21148 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
21152 bool temp8
= False
;
21153 PyObject
* obj0
= 0 ;
21154 PyObject
* obj1
= 0 ;
21155 PyObject
* obj2
= 0 ;
21156 PyObject
* obj3
= 0 ;
21157 PyObject
* obj4
= 0 ;
21158 PyObject
* obj5
= 0 ;
21159 PyObject
* obj6
= 0 ;
21160 PyObject
* obj7
= 0 ;
21161 char *kwnames
[] = {
21162 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
21165 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:ListCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
21166 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21167 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21168 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
21169 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21171 arg3
= (int) SWIG_AsInt(obj2
);
21172 if (PyErr_Occurred()) SWIG_fail
;
21177 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
21183 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
21187 arg6
= (long) SWIG_AsLong(obj5
);
21188 if (PyErr_Occurred()) SWIG_fail
;
21191 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
21192 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21194 if (arg7
== NULL
) {
21195 PyErr_SetString(PyExc_TypeError
,"null reference");
21201 arg8
= wxString_in_helper(obj7
);
21202 if (arg8
== NULL
) SWIG_fail
;
21207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21208 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
21210 wxPyEndAllowThreads(__tstate
);
21211 if (PyErr_Occurred()) SWIG_fail
;
21214 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21230 static PyObject
*_wrap_ListCtrl__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21231 PyObject
*resultobj
;
21232 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21233 PyObject
*arg2
= (PyObject
*) 0 ;
21234 PyObject
*arg3
= (PyObject
*) 0 ;
21235 PyObject
* obj0
= 0 ;
21236 PyObject
* obj1
= 0 ;
21237 PyObject
* obj2
= 0 ;
21238 char *kwnames
[] = {
21239 (char *) "self",(char *) "self",(char *) "_class", NULL
21242 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21243 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21244 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21249 (arg1
)->_setCallbackInfo(arg2
,arg3
);
21251 wxPyEndAllowThreads(__tstate
);
21252 if (PyErr_Occurred()) SWIG_fail
;
21254 Py_INCREF(Py_None
); resultobj
= Py_None
;
21261 static PyObject
*_wrap_ListCtrl_SetForegroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21262 PyObject
*resultobj
;
21263 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21264 wxColour
*arg2
= 0 ;
21267 PyObject
* obj0
= 0 ;
21268 PyObject
* obj1
= 0 ;
21269 char *kwnames
[] = {
21270 (char *) "self",(char *) "col", NULL
21273 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetForegroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
21274 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21275 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21278 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
21281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21282 result
= (bool)(arg1
)->SetForegroundColour((wxColour
const &)*arg2
);
21284 wxPyEndAllowThreads(__tstate
);
21285 if (PyErr_Occurred()) SWIG_fail
;
21288 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21296 static PyObject
*_wrap_ListCtrl_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21297 PyObject
*resultobj
;
21298 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21299 wxColour
*arg2
= 0 ;
21302 PyObject
* obj0
= 0 ;
21303 PyObject
* obj1
= 0 ;
21304 char *kwnames
[] = {
21305 (char *) "self",(char *) "col", NULL
21308 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
21309 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21310 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21313 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
21316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21317 result
= (bool)(arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
21319 wxPyEndAllowThreads(__tstate
);
21320 if (PyErr_Occurred()) SWIG_fail
;
21323 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21331 static PyObject
*_wrap_ListCtrl_GetColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21332 PyObject
*resultobj
;
21333 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21335 wxListItem
*result
;
21336 PyObject
* obj0
= 0 ;
21337 PyObject
* obj1
= 0 ;
21338 char *kwnames
[] = {
21339 (char *) "self",(char *) "col", NULL
21342 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetColumn",kwnames
,&obj0
,&obj1
)) goto fail
;
21343 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21344 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21345 arg2
= (int) SWIG_AsInt(obj1
);
21346 if (PyErr_Occurred()) SWIG_fail
;
21348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21349 result
= (wxListItem
*)wxPyListCtrl_GetColumn(arg1
,arg2
);
21351 wxPyEndAllowThreads(__tstate
);
21352 if (PyErr_Occurred()) SWIG_fail
;
21355 resultobj
= wxPyMake_wxObject(result
);
21363 static PyObject
*_wrap_ListCtrl_SetColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21364 PyObject
*resultobj
;
21365 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21367 wxListItem
*arg3
= 0 ;
21369 PyObject
* obj0
= 0 ;
21370 PyObject
* obj1
= 0 ;
21371 PyObject
* obj2
= 0 ;
21372 char *kwnames
[] = {
21373 (char *) "self",(char *) "col",(char *) "item", NULL
21376 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetColumn",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21377 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21378 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21379 arg2
= (int) SWIG_AsInt(obj1
);
21380 if (PyErr_Occurred()) SWIG_fail
;
21381 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxListItem
,
21382 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21384 if (arg3
== NULL
) {
21385 PyErr_SetString(PyExc_TypeError
,"null reference");
21389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21390 result
= (bool)(arg1
)->SetColumn(arg2
,*arg3
);
21392 wxPyEndAllowThreads(__tstate
);
21393 if (PyErr_Occurred()) SWIG_fail
;
21396 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21404 static PyObject
*_wrap_ListCtrl_GetColumnWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21405 PyObject
*resultobj
;
21406 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21409 PyObject
* obj0
= 0 ;
21410 PyObject
* obj1
= 0 ;
21411 char *kwnames
[] = {
21412 (char *) "self",(char *) "col", NULL
21415 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetColumnWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
21416 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21417 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21418 arg2
= (int) SWIG_AsInt(obj1
);
21419 if (PyErr_Occurred()) SWIG_fail
;
21421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21422 result
= (int)((wxPyListCtrl
const *)arg1
)->GetColumnWidth(arg2
);
21424 wxPyEndAllowThreads(__tstate
);
21425 if (PyErr_Occurred()) SWIG_fail
;
21427 resultobj
= SWIG_FromInt((int)result
);
21434 static PyObject
*_wrap_ListCtrl_SetColumnWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21435 PyObject
*resultobj
;
21436 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21440 PyObject
* obj0
= 0 ;
21441 PyObject
* obj1
= 0 ;
21442 PyObject
* obj2
= 0 ;
21443 char *kwnames
[] = {
21444 (char *) "self",(char *) "col",(char *) "width", NULL
21447 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetColumnWidth",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21448 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21449 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21450 arg2
= (int) SWIG_AsInt(obj1
);
21451 if (PyErr_Occurred()) SWIG_fail
;
21452 arg3
= (int) SWIG_AsInt(obj2
);
21453 if (PyErr_Occurred()) SWIG_fail
;
21455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21456 result
= (bool)(arg1
)->SetColumnWidth(arg2
,arg3
);
21458 wxPyEndAllowThreads(__tstate
);
21459 if (PyErr_Occurred()) SWIG_fail
;
21462 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21470 static PyObject
*_wrap_ListCtrl_GetCountPerPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21471 PyObject
*resultobj
;
21472 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21474 PyObject
* obj0
= 0 ;
21475 char *kwnames
[] = {
21476 (char *) "self", NULL
21479 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetCountPerPage",kwnames
,&obj0
)) goto fail
;
21480 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21481 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21484 result
= (int)((wxPyListCtrl
const *)arg1
)->GetCountPerPage();
21486 wxPyEndAllowThreads(__tstate
);
21487 if (PyErr_Occurred()) SWIG_fail
;
21489 resultobj
= SWIG_FromInt((int)result
);
21496 static PyObject
*_wrap_ListCtrl_GetViewRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21497 PyObject
*resultobj
;
21498 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21500 PyObject
* obj0
= 0 ;
21501 char *kwnames
[] = {
21502 (char *) "self", NULL
21505 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetViewRect",kwnames
,&obj0
)) goto fail
;
21506 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21507 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21510 result
= ((wxPyListCtrl
const *)arg1
)->GetViewRect();
21512 wxPyEndAllowThreads(__tstate
);
21513 if (PyErr_Occurred()) SWIG_fail
;
21516 wxRect
* resultptr
;
21517 resultptr
= new wxRect((wxRect
&) result
);
21518 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
21526 static PyObject
*_wrap_ListCtrl_GetEditControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21527 PyObject
*resultobj
;
21528 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21529 wxTextCtrl
*result
;
21530 PyObject
* obj0
= 0 ;
21531 char *kwnames
[] = {
21532 (char *) "self", NULL
21535 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetEditControl",kwnames
,&obj0
)) goto fail
;
21536 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21537 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21540 result
= (wxTextCtrl
*)((wxPyListCtrl
const *)arg1
)->GetEditControl();
21542 wxPyEndAllowThreads(__tstate
);
21543 if (PyErr_Occurred()) SWIG_fail
;
21546 resultobj
= wxPyMake_wxObject(result
);
21554 static PyObject
*_wrap_ListCtrl_GetItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21555 PyObject
*resultobj
;
21556 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21558 int arg3
= (int) 0 ;
21559 wxListItem
*result
;
21560 PyObject
* obj0
= 0 ;
21561 PyObject
* obj1
= 0 ;
21562 PyObject
* obj2
= 0 ;
21563 char *kwnames
[] = {
21564 (char *) "self",(char *) "itemId",(char *) "col", NULL
21567 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_GetItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21568 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21569 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21570 arg2
= (long) SWIG_AsLong(obj1
);
21571 if (PyErr_Occurred()) SWIG_fail
;
21573 arg3
= (int) SWIG_AsInt(obj2
);
21574 if (PyErr_Occurred()) SWIG_fail
;
21577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21578 result
= (wxListItem
*)wxPyListCtrl_GetItem(arg1
,arg2
,arg3
);
21580 wxPyEndAllowThreads(__tstate
);
21581 if (PyErr_Occurred()) SWIG_fail
;
21584 resultobj
= wxPyMake_wxObject(result
);
21592 static PyObject
*_wrap_ListCtrl_SetItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21593 PyObject
*resultobj
;
21594 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21595 wxListItem
*arg2
= 0 ;
21597 PyObject
* obj0
= 0 ;
21598 PyObject
* obj1
= 0 ;
21599 char *kwnames
[] = {
21600 (char *) "self",(char *) "info", NULL
21603 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetItem",kwnames
,&obj0
,&obj1
)) goto fail
;
21604 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21605 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21606 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxListItem
,
21607 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21609 if (arg2
== NULL
) {
21610 PyErr_SetString(PyExc_TypeError
,"null reference");
21614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21615 result
= (bool)(arg1
)->SetItem(*arg2
);
21617 wxPyEndAllowThreads(__tstate
);
21618 if (PyErr_Occurred()) SWIG_fail
;
21621 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21629 static PyObject
*_wrap_ListCtrl_SetStringItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21630 PyObject
*resultobj
;
21631 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21634 wxString
*arg4
= 0 ;
21635 int arg5
= (int) -1 ;
21637 bool temp4
= False
;
21638 PyObject
* obj0
= 0 ;
21639 PyObject
* obj1
= 0 ;
21640 PyObject
* obj2
= 0 ;
21641 PyObject
* obj3
= 0 ;
21642 PyObject
* obj4
= 0 ;
21643 char *kwnames
[] = {
21644 (char *) "self",(char *) "index",(char *) "col",(char *) "label",(char *) "imageId", NULL
21647 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:ListCtrl_SetStringItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
21648 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21649 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21650 arg2
= (long) SWIG_AsLong(obj1
);
21651 if (PyErr_Occurred()) SWIG_fail
;
21652 arg3
= (int) SWIG_AsInt(obj2
);
21653 if (PyErr_Occurred()) SWIG_fail
;
21655 arg4
= wxString_in_helper(obj3
);
21656 if (arg4
== NULL
) SWIG_fail
;
21660 arg5
= (int) SWIG_AsInt(obj4
);
21661 if (PyErr_Occurred()) SWIG_fail
;
21664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21665 result
= (long)(arg1
)->SetItem(arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
21667 wxPyEndAllowThreads(__tstate
);
21668 if (PyErr_Occurred()) SWIG_fail
;
21670 resultobj
= SWIG_FromLong((long)result
);
21685 static PyObject
*_wrap_ListCtrl_GetItemState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21686 PyObject
*resultobj
;
21687 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21691 PyObject
* obj0
= 0 ;
21692 PyObject
* obj1
= 0 ;
21693 PyObject
* obj2
= 0 ;
21694 char *kwnames
[] = {
21695 (char *) "self",(char *) "item",(char *) "stateMask", NULL
21698 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_GetItemState",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21699 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21700 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21701 arg2
= (long) SWIG_AsLong(obj1
);
21702 if (PyErr_Occurred()) SWIG_fail
;
21703 arg3
= (long) SWIG_AsLong(obj2
);
21704 if (PyErr_Occurred()) SWIG_fail
;
21706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21707 result
= (int)((wxPyListCtrl
const *)arg1
)->GetItemState(arg2
,arg3
);
21709 wxPyEndAllowThreads(__tstate
);
21710 if (PyErr_Occurred()) SWIG_fail
;
21712 resultobj
= SWIG_FromInt((int)result
);
21719 static PyObject
*_wrap_ListCtrl_SetItemState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21720 PyObject
*resultobj
;
21721 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21726 PyObject
* obj0
= 0 ;
21727 PyObject
* obj1
= 0 ;
21728 PyObject
* obj2
= 0 ;
21729 PyObject
* obj3
= 0 ;
21730 char *kwnames
[] = {
21731 (char *) "self",(char *) "item",(char *) "state",(char *) "stateMask", NULL
21734 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_SetItemState",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
21735 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21736 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21737 arg2
= (long) SWIG_AsLong(obj1
);
21738 if (PyErr_Occurred()) SWIG_fail
;
21739 arg3
= (long) SWIG_AsLong(obj2
);
21740 if (PyErr_Occurred()) SWIG_fail
;
21741 arg4
= (long) SWIG_AsLong(obj3
);
21742 if (PyErr_Occurred()) SWIG_fail
;
21744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21745 result
= (bool)(arg1
)->SetItemState(arg2
,arg3
,arg4
);
21747 wxPyEndAllowThreads(__tstate
);
21748 if (PyErr_Occurred()) SWIG_fail
;
21751 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21759 static PyObject
*_wrap_ListCtrl_SetItemImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21760 PyObject
*resultobj
;
21761 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21766 PyObject
* obj0
= 0 ;
21767 PyObject
* obj1
= 0 ;
21768 PyObject
* obj2
= 0 ;
21769 PyObject
* obj3
= 0 ;
21770 char *kwnames
[] = {
21771 (char *) "self",(char *) "item",(char *) "image",(char *) "selImage", NULL
21774 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_SetItemImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
21775 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21776 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21777 arg2
= (long) SWIG_AsLong(obj1
);
21778 if (PyErr_Occurred()) SWIG_fail
;
21779 arg3
= (int) SWIG_AsInt(obj2
);
21780 if (PyErr_Occurred()) SWIG_fail
;
21781 arg4
= (int) SWIG_AsInt(obj3
);
21782 if (PyErr_Occurred()) SWIG_fail
;
21784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21785 result
= (bool)(arg1
)->SetItemImage(arg2
,arg3
,arg4
);
21787 wxPyEndAllowThreads(__tstate
);
21788 if (PyErr_Occurred()) SWIG_fail
;
21791 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21799 static PyObject
*_wrap_ListCtrl_GetItemText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21800 PyObject
*resultobj
;
21801 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21804 PyObject
* obj0
= 0 ;
21805 PyObject
* obj1
= 0 ;
21806 char *kwnames
[] = {
21807 (char *) "self",(char *) "item", NULL
21810 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemText",kwnames
,&obj0
,&obj1
)) 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 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21817 result
= ((wxPyListCtrl
const *)arg1
)->GetItemText(arg2
);
21819 wxPyEndAllowThreads(__tstate
);
21820 if (PyErr_Occurred()) SWIG_fail
;
21824 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
21826 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
21835 static PyObject
*_wrap_ListCtrl_SetItemText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21836 PyObject
*resultobj
;
21837 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21839 wxString
*arg3
= 0 ;
21840 bool temp3
= False
;
21841 PyObject
* obj0
= 0 ;
21842 PyObject
* obj1
= 0 ;
21843 PyObject
* obj2
= 0 ;
21844 char *kwnames
[] = {
21845 (char *) "self",(char *) "item",(char *) "str", NULL
21848 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21849 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21850 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21851 arg2
= (long) SWIG_AsLong(obj1
);
21852 if (PyErr_Occurred()) SWIG_fail
;
21854 arg3
= wxString_in_helper(obj2
);
21855 if (arg3
== NULL
) SWIG_fail
;
21859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21860 (arg1
)->SetItemText(arg2
,(wxString
const &)*arg3
);
21862 wxPyEndAllowThreads(__tstate
);
21863 if (PyErr_Occurred()) SWIG_fail
;
21865 Py_INCREF(Py_None
); resultobj
= Py_None
;
21880 static PyObject
*_wrap_ListCtrl_GetItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21881 PyObject
*resultobj
;
21882 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21885 PyObject
* obj0
= 0 ;
21886 PyObject
* obj1
= 0 ;
21887 char *kwnames
[] = {
21888 (char *) "self",(char *) "item", NULL
21891 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemData",kwnames
,&obj0
,&obj1
)) goto fail
;
21892 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21893 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21894 arg2
= (long) SWIG_AsLong(obj1
);
21895 if (PyErr_Occurred()) SWIG_fail
;
21897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21898 result
= (long)((wxPyListCtrl
const *)arg1
)->GetItemData(arg2
);
21900 wxPyEndAllowThreads(__tstate
);
21901 if (PyErr_Occurred()) SWIG_fail
;
21903 resultobj
= SWIG_FromLong((long)result
);
21910 static PyObject
*_wrap_ListCtrl_SetItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21911 PyObject
*resultobj
;
21912 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21916 PyObject
* obj0
= 0 ;
21917 PyObject
* obj1
= 0 ;
21918 PyObject
* obj2
= 0 ;
21919 char *kwnames
[] = {
21920 (char *) "self",(char *) "item",(char *) "data", NULL
21923 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21924 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21925 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21926 arg2
= (long) SWIG_AsLong(obj1
);
21927 if (PyErr_Occurred()) SWIG_fail
;
21928 arg3
= (long) SWIG_AsLong(obj2
);
21929 if (PyErr_Occurred()) SWIG_fail
;
21931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21932 result
= (bool)(arg1
)->SetItemData(arg2
,arg3
);
21934 wxPyEndAllowThreads(__tstate
);
21935 if (PyErr_Occurred()) SWIG_fail
;
21938 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21946 static PyObject
*_wrap_ListCtrl_GetItemPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21947 PyObject
*resultobj
;
21948 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21951 PyObject
* obj0
= 0 ;
21952 PyObject
* obj1
= 0 ;
21953 char *kwnames
[] = {
21954 (char *) "self",(char *) "item", NULL
21957 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
21958 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21959 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21960 arg2
= (long) SWIG_AsLong(obj1
);
21961 if (PyErr_Occurred()) SWIG_fail
;
21963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21964 result
= wxPyListCtrl_GetItemPosition(arg1
,arg2
);
21966 wxPyEndAllowThreads(__tstate
);
21967 if (PyErr_Occurred()) SWIG_fail
;
21970 wxPoint
* resultptr
;
21971 resultptr
= new wxPoint((wxPoint
&) result
);
21972 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
21980 static PyObject
*_wrap_ListCtrl_GetItemRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21981 PyObject
*resultobj
;
21982 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21984 int arg3
= (int) wxLIST_RECT_BOUNDS
;
21986 PyObject
* obj0
= 0 ;
21987 PyObject
* obj1
= 0 ;
21988 PyObject
* obj2
= 0 ;
21989 char *kwnames
[] = {
21990 (char *) "self",(char *) "item",(char *) "code", NULL
21993 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_GetItemRect",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21994 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21995 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21996 arg2
= (long) SWIG_AsLong(obj1
);
21997 if (PyErr_Occurred()) SWIG_fail
;
21999 arg3
= (int) SWIG_AsInt(obj2
);
22000 if (PyErr_Occurred()) SWIG_fail
;
22003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22004 result
= wxPyListCtrl_GetItemRect(arg1
,arg2
,arg3
);
22006 wxPyEndAllowThreads(__tstate
);
22007 if (PyErr_Occurred()) SWIG_fail
;
22010 wxRect
* resultptr
;
22011 resultptr
= new wxRect((wxRect
&) result
);
22012 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
22020 static PyObject
*_wrap_ListCtrl_SetItemPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22021 PyObject
*resultobj
;
22022 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22024 wxPoint
*arg3
= 0 ;
22027 PyObject
* obj0
= 0 ;
22028 PyObject
* obj1
= 0 ;
22029 PyObject
* obj2
= 0 ;
22030 char *kwnames
[] = {
22031 (char *) "self",(char *) "item",(char *) "pos", NULL
22034 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemPosition",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22035 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22036 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22037 arg2
= (long) SWIG_AsLong(obj1
);
22038 if (PyErr_Occurred()) SWIG_fail
;
22041 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
22044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22045 result
= (bool)(arg1
)->SetItemPosition(arg2
,(wxPoint
const &)*arg3
);
22047 wxPyEndAllowThreads(__tstate
);
22048 if (PyErr_Occurred()) SWIG_fail
;
22051 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22059 static PyObject
*_wrap_ListCtrl_GetItemCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22060 PyObject
*resultobj
;
22061 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22063 PyObject
* obj0
= 0 ;
22064 char *kwnames
[] = {
22065 (char *) "self", NULL
22068 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetItemCount",kwnames
,&obj0
)) goto fail
;
22069 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22070 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22073 result
= (int)((wxPyListCtrl
const *)arg1
)->GetItemCount();
22075 wxPyEndAllowThreads(__tstate
);
22076 if (PyErr_Occurred()) SWIG_fail
;
22078 resultobj
= SWIG_FromInt((int)result
);
22085 static PyObject
*_wrap_ListCtrl_GetColumnCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22086 PyObject
*resultobj
;
22087 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22089 PyObject
* obj0
= 0 ;
22090 char *kwnames
[] = {
22091 (char *) "self", NULL
22094 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetColumnCount",kwnames
,&obj0
)) goto fail
;
22095 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22096 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22099 result
= (int)((wxPyListCtrl
const *)arg1
)->GetColumnCount();
22101 wxPyEndAllowThreads(__tstate
);
22102 if (PyErr_Occurred()) SWIG_fail
;
22104 resultobj
= SWIG_FromInt((int)result
);
22111 static PyObject
*_wrap_ListCtrl_GetItemSpacing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22112 PyObject
*resultobj
;
22113 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22115 PyObject
* obj0
= 0 ;
22116 char *kwnames
[] = {
22117 (char *) "self", NULL
22120 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetItemSpacing",kwnames
,&obj0
)) goto fail
;
22121 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22122 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22125 result
= ((wxPyListCtrl
const *)arg1
)->GetItemSpacing();
22127 wxPyEndAllowThreads(__tstate
);
22128 if (PyErr_Occurred()) SWIG_fail
;
22131 wxSize
* resultptr
;
22132 resultptr
= new wxSize((wxSize
&) result
);
22133 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
22141 static PyObject
*_wrap_ListCtrl_GetSelectedItemCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22142 PyObject
*resultobj
;
22143 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22145 PyObject
* obj0
= 0 ;
22146 char *kwnames
[] = {
22147 (char *) "self", NULL
22150 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetSelectedItemCount",kwnames
,&obj0
)) goto fail
;
22151 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22152 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22155 result
= (int)((wxPyListCtrl
const *)arg1
)->GetSelectedItemCount();
22157 wxPyEndAllowThreads(__tstate
);
22158 if (PyErr_Occurred()) SWIG_fail
;
22160 resultobj
= SWIG_FromInt((int)result
);
22167 static PyObject
*_wrap_ListCtrl_GetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22168 PyObject
*resultobj
;
22169 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22171 PyObject
* obj0
= 0 ;
22172 char *kwnames
[] = {
22173 (char *) "self", NULL
22176 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetTextColour",kwnames
,&obj0
)) goto fail
;
22177 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22178 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22181 result
= ((wxPyListCtrl
const *)arg1
)->GetTextColour();
22183 wxPyEndAllowThreads(__tstate
);
22184 if (PyErr_Occurred()) SWIG_fail
;
22187 wxColour
* resultptr
;
22188 resultptr
= new wxColour((wxColour
&) result
);
22189 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
22197 static PyObject
*_wrap_ListCtrl_SetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22198 PyObject
*resultobj
;
22199 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22200 wxColour
*arg2
= 0 ;
22202 PyObject
* obj0
= 0 ;
22203 PyObject
* obj1
= 0 ;
22204 char *kwnames
[] = {
22205 (char *) "self",(char *) "col", NULL
22208 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
22209 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22210 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22213 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
22216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22217 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
22219 wxPyEndAllowThreads(__tstate
);
22220 if (PyErr_Occurred()) SWIG_fail
;
22222 Py_INCREF(Py_None
); resultobj
= Py_None
;
22229 static PyObject
*_wrap_ListCtrl_GetTopItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22230 PyObject
*resultobj
;
22231 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22233 PyObject
* obj0
= 0 ;
22234 char *kwnames
[] = {
22235 (char *) "self", NULL
22238 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetTopItem",kwnames
,&obj0
)) goto fail
;
22239 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22240 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22243 result
= (long)((wxPyListCtrl
const *)arg1
)->GetTopItem();
22245 wxPyEndAllowThreads(__tstate
);
22246 if (PyErr_Occurred()) SWIG_fail
;
22248 resultobj
= SWIG_FromLong((long)result
);
22255 static PyObject
*_wrap_ListCtrl_SetSingleStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22256 PyObject
*resultobj
;
22257 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22259 bool arg3
= (bool) True
;
22260 PyObject
* obj0
= 0 ;
22261 PyObject
* obj1
= 0 ;
22262 PyObject
* obj2
= 0 ;
22263 char *kwnames
[] = {
22264 (char *) "self",(char *) "style",(char *) "add", NULL
22267 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_SetSingleStyle",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22268 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22269 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22270 arg2
= (long) SWIG_AsLong(obj1
);
22271 if (PyErr_Occurred()) SWIG_fail
;
22273 arg3
= (bool) SWIG_AsBool(obj2
);
22274 if (PyErr_Occurred()) SWIG_fail
;
22277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22278 (arg1
)->SetSingleStyle(arg2
,arg3
);
22280 wxPyEndAllowThreads(__tstate
);
22281 if (PyErr_Occurred()) SWIG_fail
;
22283 Py_INCREF(Py_None
); resultobj
= Py_None
;
22290 static PyObject
*_wrap_ListCtrl_SetWindowStyleFlag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22291 PyObject
*resultobj
;
22292 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22294 PyObject
* obj0
= 0 ;
22295 PyObject
* obj1
= 0 ;
22296 char *kwnames
[] = {
22297 (char *) "self",(char *) "style", NULL
22300 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetWindowStyleFlag",kwnames
,&obj0
,&obj1
)) goto fail
;
22301 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22302 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22303 arg2
= (long) SWIG_AsLong(obj1
);
22304 if (PyErr_Occurred()) SWIG_fail
;
22306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22307 (arg1
)->SetWindowStyleFlag(arg2
);
22309 wxPyEndAllowThreads(__tstate
);
22310 if (PyErr_Occurred()) SWIG_fail
;
22312 Py_INCREF(Py_None
); resultobj
= Py_None
;
22319 static PyObject
*_wrap_ListCtrl_GetNextItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22320 PyObject
*resultobj
;
22321 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22323 int arg3
= (int) wxLIST_NEXT_ALL
;
22324 int arg4
= (int) wxLIST_STATE_DONTCARE
;
22326 PyObject
* obj0
= 0 ;
22327 PyObject
* obj1
= 0 ;
22328 PyObject
* obj2
= 0 ;
22329 PyObject
* obj3
= 0 ;
22330 char *kwnames
[] = {
22331 (char *) "self",(char *) "item",(char *) "geometry",(char *) "state", NULL
22334 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:ListCtrl_GetNextItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
22335 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22336 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22337 arg2
= (long) SWIG_AsLong(obj1
);
22338 if (PyErr_Occurred()) SWIG_fail
;
22340 arg3
= (int) SWIG_AsInt(obj2
);
22341 if (PyErr_Occurred()) SWIG_fail
;
22344 arg4
= (int) SWIG_AsInt(obj3
);
22345 if (PyErr_Occurred()) SWIG_fail
;
22348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22349 result
= (long)((wxPyListCtrl
const *)arg1
)->GetNextItem(arg2
,arg3
,arg4
);
22351 wxPyEndAllowThreads(__tstate
);
22352 if (PyErr_Occurred()) SWIG_fail
;
22354 resultobj
= SWIG_FromLong((long)result
);
22361 static PyObject
*_wrap_ListCtrl_GetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22362 PyObject
*resultobj
;
22363 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22365 wxImageList
*result
;
22366 PyObject
* obj0
= 0 ;
22367 PyObject
* obj1
= 0 ;
22368 char *kwnames
[] = {
22369 (char *) "self",(char *) "which", NULL
22372 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
22373 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22374 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22375 arg2
= (int) SWIG_AsInt(obj1
);
22376 if (PyErr_Occurred()) SWIG_fail
;
22378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22379 result
= (wxImageList
*)((wxPyListCtrl
const *)arg1
)->GetImageList(arg2
);
22381 wxPyEndAllowThreads(__tstate
);
22382 if (PyErr_Occurred()) SWIG_fail
;
22385 resultobj
= wxPyMake_wxObject(result
);
22393 static PyObject
*_wrap_ListCtrl_SetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22394 PyObject
*resultobj
;
22395 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22396 wxImageList
*arg2
= (wxImageList
*) 0 ;
22398 PyObject
* obj0
= 0 ;
22399 PyObject
* obj1
= 0 ;
22400 PyObject
* obj2
= 0 ;
22401 char *kwnames
[] = {
22402 (char *) "self",(char *) "imageList",(char *) "which", NULL
22405 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetImageList",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22406 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22407 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22408 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImageList
,
22409 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22410 arg3
= (int) SWIG_AsInt(obj2
);
22411 if (PyErr_Occurred()) SWIG_fail
;
22413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22414 (arg1
)->SetImageList(arg2
,arg3
);
22416 wxPyEndAllowThreads(__tstate
);
22417 if (PyErr_Occurred()) SWIG_fail
;
22419 Py_INCREF(Py_None
); resultobj
= Py_None
;
22426 static PyObject
*_wrap_ListCtrl_AssignImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22427 PyObject
*resultobj
;
22428 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22429 wxImageList
*arg2
= (wxImageList
*) 0 ;
22431 PyObject
* obj0
= 0 ;
22432 PyObject
* obj1
= 0 ;
22433 PyObject
* obj2
= 0 ;
22434 char *kwnames
[] = {
22435 (char *) "self",(char *) "imageList",(char *) "which", NULL
22438 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_AssignImageList",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22439 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22440 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22441 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImageList
,
22442 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
22443 arg3
= (int) SWIG_AsInt(obj2
);
22444 if (PyErr_Occurred()) SWIG_fail
;
22446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22447 (arg1
)->AssignImageList(arg2
,arg3
);
22449 wxPyEndAllowThreads(__tstate
);
22450 if (PyErr_Occurred()) SWIG_fail
;
22452 Py_INCREF(Py_None
); resultobj
= Py_None
;
22459 static PyObject
*_wrap_ListCtrl_InReportView(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22460 PyObject
*resultobj
;
22461 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22463 PyObject
* obj0
= 0 ;
22464 char *kwnames
[] = {
22465 (char *) "self", NULL
22468 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_InReportView",kwnames
,&obj0
)) goto fail
;
22469 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22470 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22473 result
= (bool)((wxPyListCtrl
const *)arg1
)->InReportView();
22475 wxPyEndAllowThreads(__tstate
);
22476 if (PyErr_Occurred()) SWIG_fail
;
22479 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22487 static PyObject
*_wrap_ListCtrl_IsVirtual(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22488 PyObject
*resultobj
;
22489 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22491 PyObject
* obj0
= 0 ;
22492 char *kwnames
[] = {
22493 (char *) "self", NULL
22496 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_IsVirtual",kwnames
,&obj0
)) goto fail
;
22497 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22498 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22501 result
= (bool)((wxPyListCtrl
const *)arg1
)->IsVirtual();
22503 wxPyEndAllowThreads(__tstate
);
22504 if (PyErr_Occurred()) SWIG_fail
;
22507 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22515 static PyObject
*_wrap_ListCtrl_RefreshItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22516 PyObject
*resultobj
;
22517 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22519 PyObject
* obj0
= 0 ;
22520 PyObject
* obj1
= 0 ;
22521 char *kwnames
[] = {
22522 (char *) "self",(char *) "item", NULL
22525 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_RefreshItem",kwnames
,&obj0
,&obj1
)) goto fail
;
22526 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22527 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22528 arg2
= (long) SWIG_AsLong(obj1
);
22529 if (PyErr_Occurred()) SWIG_fail
;
22531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22532 (arg1
)->RefreshItem(arg2
);
22534 wxPyEndAllowThreads(__tstate
);
22535 if (PyErr_Occurred()) SWIG_fail
;
22537 Py_INCREF(Py_None
); resultobj
= Py_None
;
22544 static PyObject
*_wrap_ListCtrl_RefreshItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22545 PyObject
*resultobj
;
22546 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22549 PyObject
* obj0
= 0 ;
22550 PyObject
* obj1
= 0 ;
22551 PyObject
* obj2
= 0 ;
22552 char *kwnames
[] = {
22553 (char *) "self",(char *) "itemFrom",(char *) "itemTo", NULL
22556 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_RefreshItems",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22557 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22558 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22559 arg2
= (long) SWIG_AsLong(obj1
);
22560 if (PyErr_Occurred()) SWIG_fail
;
22561 arg3
= (long) SWIG_AsLong(obj2
);
22562 if (PyErr_Occurred()) SWIG_fail
;
22564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22565 (arg1
)->RefreshItems(arg2
,arg3
);
22567 wxPyEndAllowThreads(__tstate
);
22568 if (PyErr_Occurred()) SWIG_fail
;
22570 Py_INCREF(Py_None
); resultobj
= Py_None
;
22577 static PyObject
*_wrap_ListCtrl_Arrange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22578 PyObject
*resultobj
;
22579 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22580 int arg2
= (int) wxLIST_ALIGN_DEFAULT
;
22582 PyObject
* obj0
= 0 ;
22583 PyObject
* obj1
= 0 ;
22584 char *kwnames
[] = {
22585 (char *) "self",(char *) "flag", NULL
22588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ListCtrl_Arrange",kwnames
,&obj0
,&obj1
)) goto fail
;
22589 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22590 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22592 arg2
= (int) SWIG_AsInt(obj1
);
22593 if (PyErr_Occurred()) SWIG_fail
;
22596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22597 result
= (bool)(arg1
)->Arrange(arg2
);
22599 wxPyEndAllowThreads(__tstate
);
22600 if (PyErr_Occurred()) SWIG_fail
;
22603 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22611 static PyObject
*_wrap_ListCtrl_DeleteItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22612 PyObject
*resultobj
;
22613 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22616 PyObject
* obj0
= 0 ;
22617 PyObject
* obj1
= 0 ;
22618 char *kwnames
[] = {
22619 (char *) "self",(char *) "item", NULL
22622 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_DeleteItem",kwnames
,&obj0
,&obj1
)) goto fail
;
22623 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22624 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22625 arg2
= (long) SWIG_AsLong(obj1
);
22626 if (PyErr_Occurred()) SWIG_fail
;
22628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22629 result
= (bool)(arg1
)->DeleteItem(arg2
);
22631 wxPyEndAllowThreads(__tstate
);
22632 if (PyErr_Occurred()) SWIG_fail
;
22635 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22643 static PyObject
*_wrap_ListCtrl_DeleteAllItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22644 PyObject
*resultobj
;
22645 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22647 PyObject
* obj0
= 0 ;
22648 char *kwnames
[] = {
22649 (char *) "self", NULL
22652 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_DeleteAllItems",kwnames
,&obj0
)) goto fail
;
22653 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22654 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22657 result
= (bool)(arg1
)->DeleteAllItems();
22659 wxPyEndAllowThreads(__tstate
);
22660 if (PyErr_Occurred()) SWIG_fail
;
22663 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22671 static PyObject
*_wrap_ListCtrl_DeleteColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22672 PyObject
*resultobj
;
22673 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22676 PyObject
* obj0
= 0 ;
22677 PyObject
* obj1
= 0 ;
22678 char *kwnames
[] = {
22679 (char *) "self",(char *) "col", NULL
22682 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_DeleteColumn",kwnames
,&obj0
,&obj1
)) goto fail
;
22683 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22684 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22685 arg2
= (int) SWIG_AsInt(obj1
);
22686 if (PyErr_Occurred()) SWIG_fail
;
22688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22689 result
= (bool)(arg1
)->DeleteColumn(arg2
);
22691 wxPyEndAllowThreads(__tstate
);
22692 if (PyErr_Occurred()) SWIG_fail
;
22695 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22703 static PyObject
*_wrap_ListCtrl_DeleteAllColumns(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22704 PyObject
*resultobj
;
22705 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22707 PyObject
* obj0
= 0 ;
22708 char *kwnames
[] = {
22709 (char *) "self", NULL
22712 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_DeleteAllColumns",kwnames
,&obj0
)) goto fail
;
22713 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22714 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22717 result
= (bool)(arg1
)->DeleteAllColumns();
22719 wxPyEndAllowThreads(__tstate
);
22720 if (PyErr_Occurred()) SWIG_fail
;
22723 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22731 static PyObject
*_wrap_ListCtrl_ClearAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22732 PyObject
*resultobj
;
22733 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22734 PyObject
* obj0
= 0 ;
22735 char *kwnames
[] = {
22736 (char *) "self", NULL
22739 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_ClearAll",kwnames
,&obj0
)) goto fail
;
22740 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22741 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22744 (arg1
)->ClearAll();
22746 wxPyEndAllowThreads(__tstate
);
22747 if (PyErr_Occurred()) SWIG_fail
;
22749 Py_INCREF(Py_None
); resultobj
= Py_None
;
22756 static PyObject
*_wrap_ListCtrl_EditLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22757 PyObject
*resultobj
;
22758 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22760 wxTextCtrl
*result
;
22761 PyObject
* obj0
= 0 ;
22762 PyObject
* obj1
= 0 ;
22763 char *kwnames
[] = {
22764 (char *) "self",(char *) "item", NULL
22767 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_EditLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
22768 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22769 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22770 arg2
= (long) SWIG_AsLong(obj1
);
22771 if (PyErr_Occurred()) SWIG_fail
;
22773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22774 result
= (wxTextCtrl
*)(arg1
)->EditLabel(arg2
);
22776 wxPyEndAllowThreads(__tstate
);
22777 if (PyErr_Occurred()) SWIG_fail
;
22780 resultobj
= wxPyMake_wxObject(result
);
22788 static PyObject
*_wrap_ListCtrl_EndEditLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22789 PyObject
*resultobj
;
22790 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22793 PyObject
* obj0
= 0 ;
22794 PyObject
* obj1
= 0 ;
22795 char *kwnames
[] = {
22796 (char *) "self",(char *) "cancel", NULL
22799 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_EndEditLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
22800 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22801 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22802 arg2
= (bool) SWIG_AsBool(obj1
);
22803 if (PyErr_Occurred()) SWIG_fail
;
22805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22806 result
= (bool)(arg1
)->EndEditLabel(arg2
);
22808 wxPyEndAllowThreads(__tstate
);
22809 if (PyErr_Occurred()) SWIG_fail
;
22812 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22820 static PyObject
*_wrap_ListCtrl_EnsureVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22821 PyObject
*resultobj
;
22822 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22825 PyObject
* obj0
= 0 ;
22826 PyObject
* obj1
= 0 ;
22827 char *kwnames
[] = {
22828 (char *) "self",(char *) "item", NULL
22831 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_EnsureVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
22832 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22833 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22834 arg2
= (long) SWIG_AsLong(obj1
);
22835 if (PyErr_Occurred()) SWIG_fail
;
22837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22838 result
= (bool)(arg1
)->EnsureVisible(arg2
);
22840 wxPyEndAllowThreads(__tstate
);
22841 if (PyErr_Occurred()) SWIG_fail
;
22844 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22852 static PyObject
*_wrap_ListCtrl_FindItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22853 PyObject
*resultobj
;
22854 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22856 wxString
*arg3
= 0 ;
22857 bool arg4
= (bool) False
;
22859 bool temp3
= False
;
22860 PyObject
* obj0
= 0 ;
22861 PyObject
* obj1
= 0 ;
22862 PyObject
* obj2
= 0 ;
22863 PyObject
* obj3
= 0 ;
22864 char *kwnames
[] = {
22865 (char *) "self",(char *) "start",(char *) "str",(char *) "partial", NULL
22868 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ListCtrl_FindItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
22869 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22870 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22871 arg2
= (long) SWIG_AsLong(obj1
);
22872 if (PyErr_Occurred()) SWIG_fail
;
22874 arg3
= wxString_in_helper(obj2
);
22875 if (arg3
== NULL
) SWIG_fail
;
22879 arg4
= (bool) SWIG_AsBool(obj3
);
22880 if (PyErr_Occurred()) SWIG_fail
;
22883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22884 result
= (long)(arg1
)->FindItem(arg2
,(wxString
const &)*arg3
,arg4
);
22886 wxPyEndAllowThreads(__tstate
);
22887 if (PyErr_Occurred()) SWIG_fail
;
22889 resultobj
= SWIG_FromLong((long)result
);
22904 static PyObject
*_wrap_ListCtrl_FindItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22905 PyObject
*resultobj
;
22906 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22910 PyObject
* obj0
= 0 ;
22911 PyObject
* obj1
= 0 ;
22912 PyObject
* obj2
= 0 ;
22913 char *kwnames
[] = {
22914 (char *) "self",(char *) "start",(char *) "data", NULL
22917 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_FindItemData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22918 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22919 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22920 arg2
= (long) SWIG_AsLong(obj1
);
22921 if (PyErr_Occurred()) SWIG_fail
;
22922 arg3
= (long) SWIG_AsLong(obj2
);
22923 if (PyErr_Occurred()) SWIG_fail
;
22925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22926 result
= (long)(arg1
)->FindItem(arg2
,arg3
);
22928 wxPyEndAllowThreads(__tstate
);
22929 if (PyErr_Occurred()) SWIG_fail
;
22931 resultobj
= SWIG_FromLong((long)result
);
22938 static PyObject
*_wrap_ListCtrl_FindItemAtPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22939 PyObject
*resultobj
;
22940 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22942 wxPoint
*arg3
= 0 ;
22946 PyObject
* obj0
= 0 ;
22947 PyObject
* obj1
= 0 ;
22948 PyObject
* obj2
= 0 ;
22949 PyObject
* obj3
= 0 ;
22950 char *kwnames
[] = {
22951 (char *) "self",(char *) "start",(char *) "pt",(char *) "direction", NULL
22954 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_FindItemAtPos",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
22955 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22956 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22957 arg2
= (long) SWIG_AsLong(obj1
);
22958 if (PyErr_Occurred()) SWIG_fail
;
22961 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
22963 arg4
= (int) SWIG_AsInt(obj3
);
22964 if (PyErr_Occurred()) SWIG_fail
;
22966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22967 result
= (long)(arg1
)->FindItem(arg2
,(wxPoint
const &)*arg3
,arg4
);
22969 wxPyEndAllowThreads(__tstate
);
22970 if (PyErr_Occurred()) SWIG_fail
;
22972 resultobj
= SWIG_FromLong((long)result
);
22979 static PyObject
*_wrap_ListCtrl_HitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22980 PyObject
*resultobj
;
22981 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22982 wxPoint
*arg2
= 0 ;
22987 PyObject
* obj0
= 0 ;
22988 PyObject
* obj1
= 0 ;
22989 char *kwnames
[] = {
22990 (char *) "self",(char *) "point", NULL
22994 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
22995 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22996 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22999 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
23002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23003 result
= (long)(arg1
)->HitTest((wxPoint
const &)*arg2
,*arg3
);
23005 wxPyEndAllowThreads(__tstate
);
23006 if (PyErr_Occurred()) SWIG_fail
;
23008 resultobj
= SWIG_FromLong((long)result
);
23010 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
23011 resultobj
= t_output_helper(resultobj
,o
);
23019 static PyObject
*_wrap_ListCtrl_InsertItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23020 PyObject
*resultobj
;
23021 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23022 wxListItem
*arg2
= 0 ;
23024 PyObject
* obj0
= 0 ;
23025 PyObject
* obj1
= 0 ;
23026 char *kwnames
[] = {
23027 (char *) "self",(char *) "info", NULL
23030 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_InsertItem",kwnames
,&obj0
,&obj1
)) goto fail
;
23031 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23032 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23033 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxListItem
,
23034 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23036 if (arg2
== NULL
) {
23037 PyErr_SetString(PyExc_TypeError
,"null reference");
23041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23042 result
= (long)(arg1
)->InsertItem(*arg2
);
23044 wxPyEndAllowThreads(__tstate
);
23045 if (PyErr_Occurred()) SWIG_fail
;
23047 resultobj
= SWIG_FromLong((long)result
);
23054 static PyObject
*_wrap_ListCtrl_InsertStringItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23055 PyObject
*resultobj
;
23056 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23058 wxString
*arg3
= 0 ;
23060 bool temp3
= False
;
23061 PyObject
* obj0
= 0 ;
23062 PyObject
* obj1
= 0 ;
23063 PyObject
* obj2
= 0 ;
23064 char *kwnames
[] = {
23065 (char *) "self",(char *) "index",(char *) "label", NULL
23068 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_InsertStringItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23069 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23070 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23071 arg2
= (long) SWIG_AsLong(obj1
);
23072 if (PyErr_Occurred()) SWIG_fail
;
23074 arg3
= wxString_in_helper(obj2
);
23075 if (arg3
== NULL
) SWIG_fail
;
23079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23080 result
= (long)(arg1
)->InsertItem(arg2
,(wxString
const &)*arg3
);
23082 wxPyEndAllowThreads(__tstate
);
23083 if (PyErr_Occurred()) SWIG_fail
;
23085 resultobj
= SWIG_FromLong((long)result
);
23100 static PyObject
*_wrap_ListCtrl_InsertImageItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23101 PyObject
*resultobj
;
23102 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23106 PyObject
* obj0
= 0 ;
23107 PyObject
* obj1
= 0 ;
23108 PyObject
* obj2
= 0 ;
23109 char *kwnames
[] = {
23110 (char *) "self",(char *) "index",(char *) "imageIndex", NULL
23113 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_InsertImageItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23114 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23115 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23116 arg2
= (long) SWIG_AsLong(obj1
);
23117 if (PyErr_Occurred()) SWIG_fail
;
23118 arg3
= (int) SWIG_AsInt(obj2
);
23119 if (PyErr_Occurred()) SWIG_fail
;
23121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23122 result
= (long)(arg1
)->InsertItem(arg2
,arg3
);
23124 wxPyEndAllowThreads(__tstate
);
23125 if (PyErr_Occurred()) SWIG_fail
;
23127 resultobj
= SWIG_FromLong((long)result
);
23134 static PyObject
*_wrap_ListCtrl_InsertImageStringItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23135 PyObject
*resultobj
;
23136 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23138 wxString
*arg3
= 0 ;
23141 bool temp3
= False
;
23142 PyObject
* obj0
= 0 ;
23143 PyObject
* obj1
= 0 ;
23144 PyObject
* obj2
= 0 ;
23145 PyObject
* obj3
= 0 ;
23146 char *kwnames
[] = {
23147 (char *) "self",(char *) "index",(char *) "label",(char *) "imageIndex", NULL
23150 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_InsertImageStringItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
23151 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23152 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23153 arg2
= (long) SWIG_AsLong(obj1
);
23154 if (PyErr_Occurred()) SWIG_fail
;
23156 arg3
= wxString_in_helper(obj2
);
23157 if (arg3
== NULL
) SWIG_fail
;
23160 arg4
= (int) SWIG_AsInt(obj3
);
23161 if (PyErr_Occurred()) SWIG_fail
;
23163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23164 result
= (long)(arg1
)->InsertItem(arg2
,(wxString
const &)*arg3
,arg4
);
23166 wxPyEndAllowThreads(__tstate
);
23167 if (PyErr_Occurred()) SWIG_fail
;
23169 resultobj
= SWIG_FromLong((long)result
);
23184 static PyObject
*_wrap_ListCtrl_InsertColumnInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23185 PyObject
*resultobj
;
23186 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23188 wxListItem
*arg3
= 0 ;
23190 PyObject
* obj0
= 0 ;
23191 PyObject
* obj1
= 0 ;
23192 PyObject
* obj2
= 0 ;
23193 char *kwnames
[] = {
23194 (char *) "self",(char *) "col",(char *) "info", NULL
23197 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_InsertColumnInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23198 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23199 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23200 arg2
= (long) SWIG_AsLong(obj1
);
23201 if (PyErr_Occurred()) SWIG_fail
;
23202 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxListItem
,
23203 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23205 if (arg3
== NULL
) {
23206 PyErr_SetString(PyExc_TypeError
,"null reference");
23210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23211 result
= (long)(arg1
)->InsertColumn(arg2
,*arg3
);
23213 wxPyEndAllowThreads(__tstate
);
23214 if (PyErr_Occurred()) SWIG_fail
;
23216 resultobj
= SWIG_FromLong((long)result
);
23223 static PyObject
*_wrap_ListCtrl_InsertColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23224 PyObject
*resultobj
;
23225 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23227 wxString
*arg3
= 0 ;
23228 int arg4
= (int) wxLIST_FORMAT_LEFT
;
23229 int arg5
= (int) -1 ;
23231 bool temp3
= False
;
23232 PyObject
* obj0
= 0 ;
23233 PyObject
* obj1
= 0 ;
23234 PyObject
* obj2
= 0 ;
23235 PyObject
* obj3
= 0 ;
23236 PyObject
* obj4
= 0 ;
23237 char *kwnames
[] = {
23238 (char *) "self",(char *) "col",(char *) "heading",(char *) "format",(char *) "width", NULL
23241 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:ListCtrl_InsertColumn",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
23242 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23243 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23244 arg2
= (long) SWIG_AsLong(obj1
);
23245 if (PyErr_Occurred()) SWIG_fail
;
23247 arg3
= wxString_in_helper(obj2
);
23248 if (arg3
== NULL
) SWIG_fail
;
23252 arg4
= (int) SWIG_AsInt(obj3
);
23253 if (PyErr_Occurred()) SWIG_fail
;
23256 arg5
= (int) SWIG_AsInt(obj4
);
23257 if (PyErr_Occurred()) SWIG_fail
;
23260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23261 result
= (long)(arg1
)->InsertColumn(arg2
,(wxString
const &)*arg3
,arg4
,arg5
);
23263 wxPyEndAllowThreads(__tstate
);
23264 if (PyErr_Occurred()) SWIG_fail
;
23266 resultobj
= SWIG_FromLong((long)result
);
23281 static PyObject
*_wrap_ListCtrl_SetItemCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23282 PyObject
*resultobj
;
23283 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23285 PyObject
* obj0
= 0 ;
23286 PyObject
* obj1
= 0 ;
23287 char *kwnames
[] = {
23288 (char *) "self",(char *) "count", NULL
23291 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetItemCount",kwnames
,&obj0
,&obj1
)) goto fail
;
23292 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23293 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23294 arg2
= (long) SWIG_AsLong(obj1
);
23295 if (PyErr_Occurred()) SWIG_fail
;
23297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23298 (arg1
)->SetItemCount(arg2
);
23300 wxPyEndAllowThreads(__tstate
);
23301 if (PyErr_Occurred()) SWIG_fail
;
23303 Py_INCREF(Py_None
); resultobj
= Py_None
;
23310 static PyObject
*_wrap_ListCtrl_ScrollList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23311 PyObject
*resultobj
;
23312 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23316 PyObject
* obj0
= 0 ;
23317 PyObject
* obj1
= 0 ;
23318 PyObject
* obj2
= 0 ;
23319 char *kwnames
[] = {
23320 (char *) "self",(char *) "dx",(char *) "dy", NULL
23323 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_ScrollList",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23324 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23325 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23326 arg2
= (int) SWIG_AsInt(obj1
);
23327 if (PyErr_Occurred()) SWIG_fail
;
23328 arg3
= (int) SWIG_AsInt(obj2
);
23329 if (PyErr_Occurred()) SWIG_fail
;
23331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23332 result
= (bool)(arg1
)->ScrollList(arg2
,arg3
);
23334 wxPyEndAllowThreads(__tstate
);
23335 if (PyErr_Occurred()) SWIG_fail
;
23338 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23346 static PyObject
*_wrap_ListCtrl_SetItemTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23347 PyObject
*resultobj
;
23348 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23350 wxColour
*arg3
= 0 ;
23352 PyObject
* obj0
= 0 ;
23353 PyObject
* obj1
= 0 ;
23354 PyObject
* obj2
= 0 ;
23355 char *kwnames
[] = {
23356 (char *) "self",(char *) "item",(char *) "col", NULL
23359 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemTextColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23360 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23361 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23362 arg2
= (long) SWIG_AsLong(obj1
);
23363 if (PyErr_Occurred()) SWIG_fail
;
23366 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
23369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23370 (arg1
)->SetItemTextColour(arg2
,(wxColour
const &)*arg3
);
23372 wxPyEndAllowThreads(__tstate
);
23373 if (PyErr_Occurred()) SWIG_fail
;
23375 Py_INCREF(Py_None
); resultobj
= Py_None
;
23382 static PyObject
*_wrap_ListCtrl_GetItemTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23383 PyObject
*resultobj
;
23384 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23387 PyObject
* obj0
= 0 ;
23388 PyObject
* obj1
= 0 ;
23389 char *kwnames
[] = {
23390 (char *) "self",(char *) "item", NULL
23393 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
23394 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23395 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23396 arg2
= (long) SWIG_AsLong(obj1
);
23397 if (PyErr_Occurred()) SWIG_fail
;
23399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23400 result
= ((wxPyListCtrl
const *)arg1
)->GetItemTextColour(arg2
);
23402 wxPyEndAllowThreads(__tstate
);
23403 if (PyErr_Occurred()) SWIG_fail
;
23406 wxColour
* resultptr
;
23407 resultptr
= new wxColour((wxColour
&) result
);
23408 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
23416 static PyObject
*_wrap_ListCtrl_SetItemBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23417 PyObject
*resultobj
;
23418 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23420 wxColour
*arg3
= 0 ;
23422 PyObject
* obj0
= 0 ;
23423 PyObject
* obj1
= 0 ;
23424 PyObject
* obj2
= 0 ;
23425 char *kwnames
[] = {
23426 (char *) "self",(char *) "item",(char *) "col", NULL
23429 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23430 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23431 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23432 arg2
= (long) SWIG_AsLong(obj1
);
23433 if (PyErr_Occurred()) SWIG_fail
;
23436 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
23439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23440 (arg1
)->SetItemBackgroundColour(arg2
,(wxColour
const &)*arg3
);
23442 wxPyEndAllowThreads(__tstate
);
23443 if (PyErr_Occurred()) SWIG_fail
;
23445 Py_INCREF(Py_None
); resultobj
= Py_None
;
23452 static PyObject
*_wrap_ListCtrl_GetItemBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23453 PyObject
*resultobj
;
23454 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23457 PyObject
* obj0
= 0 ;
23458 PyObject
* obj1
= 0 ;
23459 char *kwnames
[] = {
23460 (char *) "self",(char *) "item", NULL
23463 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
23464 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23465 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23466 arg2
= (long) SWIG_AsLong(obj1
);
23467 if (PyErr_Occurred()) SWIG_fail
;
23469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23470 result
= ((wxPyListCtrl
const *)arg1
)->GetItemBackgroundColour(arg2
);
23472 wxPyEndAllowThreads(__tstate
);
23473 if (PyErr_Occurred()) SWIG_fail
;
23476 wxColour
* resultptr
;
23477 resultptr
= new wxColour((wxColour
&) result
);
23478 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
23486 static PyObject
*_wrap_ListCtrl_SortItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23487 PyObject
*resultobj
;
23488 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23489 PyObject
*arg2
= (PyObject
*) 0 ;
23491 PyObject
* obj0
= 0 ;
23492 PyObject
* obj1
= 0 ;
23493 char *kwnames
[] = {
23494 (char *) "self",(char *) "func", NULL
23497 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SortItems",kwnames
,&obj0
,&obj1
)) goto fail
;
23498 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23499 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23503 result
= (bool)wxPyListCtrl_SortItems(arg1
,arg2
);
23505 wxPyEndAllowThreads(__tstate
);
23506 if (PyErr_Occurred()) SWIG_fail
;
23509 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23517 static PyObject
*_wrap_ListCtrl_GetMainWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23518 PyObject
*resultobj
;
23519 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23521 PyObject
* obj0
= 0 ;
23522 char *kwnames
[] = {
23523 (char *) "self", NULL
23526 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetMainWindow",kwnames
,&obj0
)) goto fail
;
23527 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23528 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23531 result
= (wxWindow
*)wxPyListCtrl_GetMainWindow(arg1
);
23533 wxPyEndAllowThreads(__tstate
);
23534 if (PyErr_Occurred()) SWIG_fail
;
23537 resultobj
= wxPyMake_wxObject(result
);
23545 static PyObject
*_wrap_ListCtrl_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23546 PyObject
*resultobj
;
23547 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
23548 wxVisualAttributes result
;
23549 PyObject
* obj0
= 0 ;
23550 char *kwnames
[] = {
23551 (char *) "variant", NULL
23554 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ListCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
23556 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
23557 if (PyErr_Occurred()) SWIG_fail
;
23560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23561 result
= wxPyListCtrl::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
23563 wxPyEndAllowThreads(__tstate
);
23564 if (PyErr_Occurred()) SWIG_fail
;
23567 wxVisualAttributes
* resultptr
;
23568 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
23569 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
23577 static PyObject
* ListCtrl_swigregister(PyObject
*self
, PyObject
*args
) {
23579 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23580 SWIG_TypeClientData(SWIGTYPE_p_wxPyListCtrl
, obj
);
23582 return Py_BuildValue((char *)"");
23584 static PyObject
*_wrap_new_ListView(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23585 PyObject
*resultobj
;
23586 wxWindow
*arg1
= (wxWindow
*) 0 ;
23587 int arg2
= (int) -1 ;
23588 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
23589 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
23590 wxSize
const &arg4_defvalue
= wxDefaultSize
;
23591 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
23592 long arg5
= (long) wxLC_REPORT
;
23593 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
23594 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
23595 wxString
const &arg7_defvalue
= wxPyListCtrlNameStr
;
23596 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
23597 wxListView
*result
;
23600 bool temp7
= False
;
23601 PyObject
* obj0
= 0 ;
23602 PyObject
* obj1
= 0 ;
23603 PyObject
* obj2
= 0 ;
23604 PyObject
* obj3
= 0 ;
23605 PyObject
* obj4
= 0 ;
23606 PyObject
* obj5
= 0 ;
23607 PyObject
* obj6
= 0 ;
23608 char *kwnames
[] = {
23609 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
23612 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_ListView",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
23613 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23614 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23616 arg2
= (int) SWIG_AsInt(obj1
);
23617 if (PyErr_Occurred()) SWIG_fail
;
23622 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
23628 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
23632 arg5
= (long) SWIG_AsLong(obj4
);
23633 if (PyErr_Occurred()) SWIG_fail
;
23636 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxValidator
,
23637 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23639 if (arg6
== NULL
) {
23640 PyErr_SetString(PyExc_TypeError
,"null reference");
23646 arg7
= wxString_in_helper(obj6
);
23647 if (arg7
== NULL
) SWIG_fail
;
23652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23653 result
= (wxListView
*)new wxListView(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
23655 wxPyEndAllowThreads(__tstate
);
23656 if (PyErr_Occurred()) SWIG_fail
;
23658 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListView
, 1);
23673 static PyObject
*_wrap_new_PreListView(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23674 PyObject
*resultobj
;
23675 wxListView
*result
;
23676 char *kwnames
[] = {
23680 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreListView",kwnames
)) goto fail
;
23682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23683 result
= (wxListView
*)new wxListView();
23685 wxPyEndAllowThreads(__tstate
);
23686 if (PyErr_Occurred()) SWIG_fail
;
23688 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListView
, 1);
23695 static PyObject
*_wrap_ListView_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23696 PyObject
*resultobj
;
23697 wxListView
*arg1
= (wxListView
*) 0 ;
23698 wxWindow
*arg2
= (wxWindow
*) 0 ;
23699 int arg3
= (int) -1 ;
23700 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
23701 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
23702 wxSize
const &arg5_defvalue
= wxDefaultSize
;
23703 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
23704 long arg6
= (long) wxLC_REPORT
;
23705 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
23706 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
23707 wxString
const &arg8_defvalue
= wxPyListCtrlNameStr
;
23708 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
23712 bool temp8
= False
;
23713 PyObject
* obj0
= 0 ;
23714 PyObject
* obj1
= 0 ;
23715 PyObject
* obj2
= 0 ;
23716 PyObject
* obj3
= 0 ;
23717 PyObject
* obj4
= 0 ;
23718 PyObject
* obj5
= 0 ;
23719 PyObject
* obj6
= 0 ;
23720 PyObject
* obj7
= 0 ;
23721 char *kwnames
[] = {
23722 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
23725 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:ListView_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
23726 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListView
,
23727 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23728 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
23729 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23731 arg3
= (int) SWIG_AsInt(obj2
);
23732 if (PyErr_Occurred()) SWIG_fail
;
23737 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
23743 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
23747 arg6
= (long) SWIG_AsLong(obj5
);
23748 if (PyErr_Occurred()) SWIG_fail
;
23751 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
23752 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23754 if (arg7
== NULL
) {
23755 PyErr_SetString(PyExc_TypeError
,"null reference");
23761 arg8
= wxString_in_helper(obj7
);
23762 if (arg8
== NULL
) SWIG_fail
;
23767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23768 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
23770 wxPyEndAllowThreads(__tstate
);
23771 if (PyErr_Occurred()) SWIG_fail
;
23774 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23790 static PyObject
*_wrap_ListView_Select(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23791 PyObject
*resultobj
;
23792 wxListView
*arg1
= (wxListView
*) 0 ;
23794 bool arg3
= (bool) True
;
23795 PyObject
* obj0
= 0 ;
23796 PyObject
* obj1
= 0 ;
23797 PyObject
* obj2
= 0 ;
23798 char *kwnames
[] = {
23799 (char *) "self",(char *) "n",(char *) "on", NULL
23802 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListView_Select",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23803 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListView
,
23804 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23805 arg2
= (long) SWIG_AsLong(obj1
);
23806 if (PyErr_Occurred()) SWIG_fail
;
23808 arg3
= (bool) SWIG_AsBool(obj2
);
23809 if (PyErr_Occurred()) SWIG_fail
;
23812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23813 (arg1
)->Select(arg2
,arg3
);
23815 wxPyEndAllowThreads(__tstate
);
23816 if (PyErr_Occurred()) SWIG_fail
;
23818 Py_INCREF(Py_None
); resultobj
= Py_None
;
23825 static PyObject
*_wrap_ListView_Focus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23826 PyObject
*resultobj
;
23827 wxListView
*arg1
= (wxListView
*) 0 ;
23829 PyObject
* obj0
= 0 ;
23830 PyObject
* obj1
= 0 ;
23831 char *kwnames
[] = {
23832 (char *) "self",(char *) "index", NULL
23835 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_Focus",kwnames
,&obj0
,&obj1
)) goto fail
;
23836 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListView
,
23837 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23838 arg2
= (long) SWIG_AsLong(obj1
);
23839 if (PyErr_Occurred()) SWIG_fail
;
23841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23842 (arg1
)->Focus(arg2
);
23844 wxPyEndAllowThreads(__tstate
);
23845 if (PyErr_Occurred()) SWIG_fail
;
23847 Py_INCREF(Py_None
); resultobj
= Py_None
;
23854 static PyObject
*_wrap_ListView_GetFocusedItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23855 PyObject
*resultobj
;
23856 wxListView
*arg1
= (wxListView
*) 0 ;
23858 PyObject
* obj0
= 0 ;
23859 char *kwnames
[] = {
23860 (char *) "self", NULL
23863 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListView_GetFocusedItem",kwnames
,&obj0
)) goto fail
;
23864 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListView
,
23865 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23868 result
= (long)((wxListView
const *)arg1
)->GetFocusedItem();
23870 wxPyEndAllowThreads(__tstate
);
23871 if (PyErr_Occurred()) SWIG_fail
;
23873 resultobj
= SWIG_FromLong((long)result
);
23880 static PyObject
*_wrap_ListView_GetNextSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23881 PyObject
*resultobj
;
23882 wxListView
*arg1
= (wxListView
*) 0 ;
23885 PyObject
* obj0
= 0 ;
23886 PyObject
* obj1
= 0 ;
23887 char *kwnames
[] = {
23888 (char *) "self",(char *) "item", NULL
23891 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_GetNextSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
23892 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListView
,
23893 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23894 arg2
= (long) SWIG_AsLong(obj1
);
23895 if (PyErr_Occurred()) SWIG_fail
;
23897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23898 result
= (long)((wxListView
const *)arg1
)->GetNextSelected(arg2
);
23900 wxPyEndAllowThreads(__tstate
);
23901 if (PyErr_Occurred()) SWIG_fail
;
23903 resultobj
= SWIG_FromLong((long)result
);
23910 static PyObject
*_wrap_ListView_GetFirstSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23911 PyObject
*resultobj
;
23912 wxListView
*arg1
= (wxListView
*) 0 ;
23914 PyObject
* obj0
= 0 ;
23915 char *kwnames
[] = {
23916 (char *) "self", NULL
23919 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListView_GetFirstSelected",kwnames
,&obj0
)) goto fail
;
23920 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListView
,
23921 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23924 result
= (long)((wxListView
const *)arg1
)->GetFirstSelected();
23926 wxPyEndAllowThreads(__tstate
);
23927 if (PyErr_Occurred()) SWIG_fail
;
23929 resultobj
= SWIG_FromLong((long)result
);
23936 static PyObject
*_wrap_ListView_IsSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23937 PyObject
*resultobj
;
23938 wxListView
*arg1
= (wxListView
*) 0 ;
23941 PyObject
* obj0
= 0 ;
23942 PyObject
* obj1
= 0 ;
23943 char *kwnames
[] = {
23944 (char *) "self",(char *) "index", NULL
23947 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_IsSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
23948 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListView
,
23949 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23950 arg2
= (long) SWIG_AsLong(obj1
);
23951 if (PyErr_Occurred()) SWIG_fail
;
23953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23954 result
= (bool)(arg1
)->IsSelected(arg2
);
23956 wxPyEndAllowThreads(__tstate
);
23957 if (PyErr_Occurred()) SWIG_fail
;
23960 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23968 static PyObject
*_wrap_ListView_SetColumnImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23969 PyObject
*resultobj
;
23970 wxListView
*arg1
= (wxListView
*) 0 ;
23973 PyObject
* obj0
= 0 ;
23974 PyObject
* obj1
= 0 ;
23975 PyObject
* obj2
= 0 ;
23976 char *kwnames
[] = {
23977 (char *) "self",(char *) "col",(char *) "image", NULL
23980 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListView_SetColumnImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23981 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListView
,
23982 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23983 arg2
= (int) SWIG_AsInt(obj1
);
23984 if (PyErr_Occurred()) SWIG_fail
;
23985 arg3
= (int) SWIG_AsInt(obj2
);
23986 if (PyErr_Occurred()) SWIG_fail
;
23988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23989 (arg1
)->SetColumnImage(arg2
,arg3
);
23991 wxPyEndAllowThreads(__tstate
);
23992 if (PyErr_Occurred()) SWIG_fail
;
23994 Py_INCREF(Py_None
); resultobj
= Py_None
;
24001 static PyObject
*_wrap_ListView_ClearColumnImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24002 PyObject
*resultobj
;
24003 wxListView
*arg1
= (wxListView
*) 0 ;
24005 PyObject
* obj0
= 0 ;
24006 PyObject
* obj1
= 0 ;
24007 char *kwnames
[] = {
24008 (char *) "self",(char *) "col", NULL
24011 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_ClearColumnImage",kwnames
,&obj0
,&obj1
)) goto fail
;
24012 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListView
,
24013 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24014 arg2
= (int) SWIG_AsInt(obj1
);
24015 if (PyErr_Occurred()) SWIG_fail
;
24017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24018 (arg1
)->ClearColumnImage(arg2
);
24020 wxPyEndAllowThreads(__tstate
);
24021 if (PyErr_Occurred()) SWIG_fail
;
24023 Py_INCREF(Py_None
); resultobj
= Py_None
;
24030 static PyObject
* ListView_swigregister(PyObject
*self
, PyObject
*args
) {
24032 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24033 SWIG_TypeClientData(SWIGTYPE_p_wxListView
, obj
);
24035 return Py_BuildValue((char *)"");
24037 static int _wrap_TreeCtrlNameStr_set(PyObject
*_val
) {
24038 PyErr_SetString(PyExc_TypeError
,"Variable TreeCtrlNameStr is read-only.");
24043 static PyObject
*_wrap_TreeCtrlNameStr_get() {
24048 pyobj
= PyUnicode_FromWideChar((&wxPyTreeCtrlNameStr
)->c_str(), (&wxPyTreeCtrlNameStr
)->Len());
24050 pyobj
= PyString_FromStringAndSize((&wxPyTreeCtrlNameStr
)->c_str(), (&wxPyTreeCtrlNameStr
)->Len());
24057 static PyObject
*_wrap_new_TreeItemId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24058 PyObject
*resultobj
;
24059 wxTreeItemId
*result
;
24060 char *kwnames
[] = {
24064 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_TreeItemId",kwnames
)) goto fail
;
24066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24067 result
= (wxTreeItemId
*)new wxTreeItemId();
24069 wxPyEndAllowThreads(__tstate
);
24070 if (PyErr_Occurred()) SWIG_fail
;
24072 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTreeItemId
, 1);
24079 static PyObject
*_wrap_delete_TreeItemId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24080 PyObject
*resultobj
;
24081 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
24082 PyObject
* obj0
= 0 ;
24083 char *kwnames
[] = {
24084 (char *) "self", NULL
24087 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TreeItemId",kwnames
,&obj0
)) goto fail
;
24088 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeItemId
,
24089 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24094 wxPyEndAllowThreads(__tstate
);
24095 if (PyErr_Occurred()) SWIG_fail
;
24097 Py_INCREF(Py_None
); resultobj
= Py_None
;
24104 static PyObject
*_wrap_TreeItemId_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24105 PyObject
*resultobj
;
24106 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
24108 PyObject
* obj0
= 0 ;
24109 char *kwnames
[] = {
24110 (char *) "self", NULL
24113 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemId_IsOk",kwnames
,&obj0
)) goto fail
;
24114 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeItemId
,
24115 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24118 result
= (bool)((wxTreeItemId
const *)arg1
)->IsOk();
24120 wxPyEndAllowThreads(__tstate
);
24121 if (PyErr_Occurred()) SWIG_fail
;
24124 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24132 static PyObject
*_wrap_TreeItemId___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24133 PyObject
*resultobj
;
24134 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
24135 wxTreeItemId
*arg2
= (wxTreeItemId
*) 0 ;
24137 PyObject
* obj0
= 0 ;
24138 PyObject
* obj1
= 0 ;
24139 char *kwnames
[] = {
24140 (char *) "self",(char *) "other", NULL
24143 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemId___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
24144 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeItemId
,
24145 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24146 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
24147 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24150 result
= (bool)wxTreeItemId___eq__(arg1
,(wxTreeItemId
const *)arg2
);
24152 wxPyEndAllowThreads(__tstate
);
24153 if (PyErr_Occurred()) SWIG_fail
;
24156 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24164 static PyObject
*_wrap_TreeItemId___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24165 PyObject
*resultobj
;
24166 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
24167 wxTreeItemId
*arg2
= (wxTreeItemId
*) 0 ;
24169 PyObject
* obj0
= 0 ;
24170 PyObject
* obj1
= 0 ;
24171 char *kwnames
[] = {
24172 (char *) "self",(char *) "other", NULL
24175 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemId___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
24176 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeItemId
,
24177 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24178 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
24179 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24182 result
= (bool)wxTreeItemId___ne__(arg1
,(wxTreeItemId
const *)arg2
);
24184 wxPyEndAllowThreads(__tstate
);
24185 if (PyErr_Occurred()) SWIG_fail
;
24188 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24196 static PyObject
*_wrap_TreeItemId_m_pItem_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24197 PyObject
*resultobj
;
24198 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
24199 void *arg2
= (void *) 0 ;
24200 PyObject
* obj0
= 0 ;
24201 PyObject
* obj1
= 0 ;
24202 char *kwnames
[] = {
24203 (char *) "self",(char *) "m_pItem", NULL
24206 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemId_m_pItem_set",kwnames
,&obj0
,&obj1
)) goto fail
;
24207 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeItemId
,
24208 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24209 if ((SWIG_ConvertPtr(obj1
,&arg2
,0,SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
24210 if (arg1
) (arg1
)->m_pItem
= arg2
;
24212 Py_INCREF(Py_None
); resultobj
= Py_None
;
24219 static PyObject
*_wrap_TreeItemId_m_pItem_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24220 PyObject
*resultobj
;
24221 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
24223 PyObject
* obj0
= 0 ;
24224 char *kwnames
[] = {
24225 (char *) "self", NULL
24228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemId_m_pItem_get",kwnames
,&obj0
)) goto fail
;
24229 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeItemId
,
24230 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24231 result
= (void *) ((arg1
)->m_pItem
);
24233 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_void
, 0);
24240 static PyObject
* TreeItemId_swigregister(PyObject
*self
, PyObject
*args
) {
24242 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24243 SWIG_TypeClientData(SWIGTYPE_p_wxTreeItemId
, obj
);
24245 return Py_BuildValue((char *)"");
24247 static PyObject
*_wrap_new_TreeItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24248 PyObject
*resultobj
;
24249 PyObject
*arg1
= (PyObject
*) NULL
;
24250 wxPyTreeItemData
*result
;
24251 PyObject
* obj0
= 0 ;
24252 char *kwnames
[] = {
24253 (char *) "obj", NULL
24256 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_TreeItemData",kwnames
,&obj0
)) goto fail
;
24261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24262 result
= (wxPyTreeItemData
*)new wxPyTreeItemData(arg1
);
24264 wxPyEndAllowThreads(__tstate
);
24265 if (PyErr_Occurred()) SWIG_fail
;
24267 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTreeItemData
, 1);
24274 static PyObject
*_wrap_TreeItemData_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24275 PyObject
*resultobj
;
24276 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
24278 PyObject
* obj0
= 0 ;
24279 char *kwnames
[] = {
24280 (char *) "self", NULL
24283 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemData_GetData",kwnames
,&obj0
)) goto fail
;
24284 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeItemData
,
24285 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24288 result
= (PyObject
*)(arg1
)->GetData();
24290 wxPyEndAllowThreads(__tstate
);
24291 if (PyErr_Occurred()) SWIG_fail
;
24293 resultobj
= result
;
24300 static PyObject
*_wrap_TreeItemData_SetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24301 PyObject
*resultobj
;
24302 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
24303 PyObject
*arg2
= (PyObject
*) 0 ;
24304 PyObject
* obj0
= 0 ;
24305 PyObject
* obj1
= 0 ;
24306 char *kwnames
[] = {
24307 (char *) "self",(char *) "obj", NULL
24310 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemData_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
24311 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeItemData
,
24312 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24316 (arg1
)->SetData(arg2
);
24318 wxPyEndAllowThreads(__tstate
);
24319 if (PyErr_Occurred()) SWIG_fail
;
24321 Py_INCREF(Py_None
); resultobj
= Py_None
;
24328 static PyObject
*_wrap_TreeItemData_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24329 PyObject
*resultobj
;
24330 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
24331 wxTreeItemId
*result
;
24332 PyObject
* obj0
= 0 ;
24333 char *kwnames
[] = {
24334 (char *) "self", NULL
24337 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemData_GetId",kwnames
,&obj0
)) goto fail
;
24338 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeItemData
,
24339 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24343 wxTreeItemId
const &_result_ref
= (arg1
)->GetId();
24344 result
= (wxTreeItemId
*) &_result_ref
;
24347 wxPyEndAllowThreads(__tstate
);
24348 if (PyErr_Occurred()) SWIG_fail
;
24350 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTreeItemId
, 0);
24357 static PyObject
*_wrap_TreeItemData_SetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24358 PyObject
*resultobj
;
24359 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
24360 wxTreeItemId
*arg2
= 0 ;
24361 PyObject
* obj0
= 0 ;
24362 PyObject
* obj1
= 0 ;
24363 char *kwnames
[] = {
24364 (char *) "self",(char *) "id", NULL
24367 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemData_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
24368 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeItemData
,
24369 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24370 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
24371 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24373 if (arg2
== NULL
) {
24374 PyErr_SetString(PyExc_TypeError
,"null reference");
24378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24379 (arg1
)->SetId((wxTreeItemId
const &)*arg2
);
24381 wxPyEndAllowThreads(__tstate
);
24382 if (PyErr_Occurred()) SWIG_fail
;
24384 Py_INCREF(Py_None
); resultobj
= Py_None
;
24391 static PyObject
*_wrap_TreeItemData_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24392 PyObject
*resultobj
;
24393 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
24394 PyObject
* obj0
= 0 ;
24395 char *kwnames
[] = {
24396 (char *) "self", NULL
24399 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemData_Destroy",kwnames
,&obj0
)) goto fail
;
24400 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeItemData
,
24401 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24404 wxPyTreeItemData_Destroy(arg1
);
24406 wxPyEndAllowThreads(__tstate
);
24407 if (PyErr_Occurred()) SWIG_fail
;
24409 Py_INCREF(Py_None
); resultobj
= Py_None
;
24416 static PyObject
* TreeItemData_swigregister(PyObject
*self
, PyObject
*args
) {
24418 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24419 SWIG_TypeClientData(SWIGTYPE_p_wxPyTreeItemData
, obj
);
24421 return Py_BuildValue((char *)"");
24423 static PyObject
*_wrap_new_TreeEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24424 PyObject
*resultobj
;
24425 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
24426 int arg2
= (int) 0 ;
24427 wxTreeEvent
*result
;
24428 PyObject
* obj0
= 0 ;
24429 PyObject
* obj1
= 0 ;
24430 char *kwnames
[] = {
24431 (char *) "commandType",(char *) "id", NULL
24434 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_TreeEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
24436 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
24437 if (PyErr_Occurred()) SWIG_fail
;
24440 arg2
= (int) SWIG_AsInt(obj1
);
24441 if (PyErr_Occurred()) SWIG_fail
;
24444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24445 result
= (wxTreeEvent
*)new wxTreeEvent(arg1
,arg2
);
24447 wxPyEndAllowThreads(__tstate
);
24448 if (PyErr_Occurred()) SWIG_fail
;
24450 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTreeEvent
, 1);
24457 static PyObject
*_wrap_TreeEvent_GetItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24458 PyObject
*resultobj
;
24459 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
24460 wxTreeItemId result
;
24461 PyObject
* obj0
= 0 ;
24462 char *kwnames
[] = {
24463 (char *) "self", NULL
24466 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetItem",kwnames
,&obj0
)) goto fail
;
24467 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
24468 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24471 result
= ((wxTreeEvent
const *)arg1
)->GetItem();
24473 wxPyEndAllowThreads(__tstate
);
24474 if (PyErr_Occurred()) SWIG_fail
;
24477 wxTreeItemId
* resultptr
;
24478 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
24479 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
24487 static PyObject
*_wrap_TreeEvent_SetItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24488 PyObject
*resultobj
;
24489 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
24490 wxTreeItemId
*arg2
= 0 ;
24491 PyObject
* obj0
= 0 ;
24492 PyObject
* obj1
= 0 ;
24493 char *kwnames
[] = {
24494 (char *) "self",(char *) "item", NULL
24497 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetItem",kwnames
,&obj0
,&obj1
)) goto fail
;
24498 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
24499 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24500 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
24501 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24503 if (arg2
== NULL
) {
24504 PyErr_SetString(PyExc_TypeError
,"null reference");
24508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24509 (arg1
)->SetItem((wxTreeItemId
const &)*arg2
);
24511 wxPyEndAllowThreads(__tstate
);
24512 if (PyErr_Occurred()) SWIG_fail
;
24514 Py_INCREF(Py_None
); resultobj
= Py_None
;
24521 static PyObject
*_wrap_TreeEvent_GetOldItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24522 PyObject
*resultobj
;
24523 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
24524 wxTreeItemId result
;
24525 PyObject
* obj0
= 0 ;
24526 char *kwnames
[] = {
24527 (char *) "self", NULL
24530 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetOldItem",kwnames
,&obj0
)) goto fail
;
24531 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
24532 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24535 result
= ((wxTreeEvent
const *)arg1
)->GetOldItem();
24537 wxPyEndAllowThreads(__tstate
);
24538 if (PyErr_Occurred()) SWIG_fail
;
24541 wxTreeItemId
* resultptr
;
24542 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
24543 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
24551 static PyObject
*_wrap_TreeEvent_SetOldItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24552 PyObject
*resultobj
;
24553 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
24554 wxTreeItemId
*arg2
= 0 ;
24555 PyObject
* obj0
= 0 ;
24556 PyObject
* obj1
= 0 ;
24557 char *kwnames
[] = {
24558 (char *) "self",(char *) "item", NULL
24561 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetOldItem",kwnames
,&obj0
,&obj1
)) goto fail
;
24562 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
24563 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24564 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
24565 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24567 if (arg2
== NULL
) {
24568 PyErr_SetString(PyExc_TypeError
,"null reference");
24572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24573 (arg1
)->SetOldItem((wxTreeItemId
const &)*arg2
);
24575 wxPyEndAllowThreads(__tstate
);
24576 if (PyErr_Occurred()) SWIG_fail
;
24578 Py_INCREF(Py_None
); resultobj
= Py_None
;
24585 static PyObject
*_wrap_TreeEvent_GetPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24586 PyObject
*resultobj
;
24587 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
24589 PyObject
* obj0
= 0 ;
24590 char *kwnames
[] = {
24591 (char *) "self", NULL
24594 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetPoint",kwnames
,&obj0
)) goto fail
;
24595 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
24596 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24599 result
= ((wxTreeEvent
const *)arg1
)->GetPoint();
24601 wxPyEndAllowThreads(__tstate
);
24602 if (PyErr_Occurred()) SWIG_fail
;
24605 wxPoint
* resultptr
;
24606 resultptr
= new wxPoint((wxPoint
&) result
);
24607 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
24615 static PyObject
*_wrap_TreeEvent_SetPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24616 PyObject
*resultobj
;
24617 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
24618 wxPoint
*arg2
= 0 ;
24620 PyObject
* obj0
= 0 ;
24621 PyObject
* obj1
= 0 ;
24622 char *kwnames
[] = {
24623 (char *) "self",(char *) "pt", NULL
24626 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
24627 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
24628 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24631 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
24634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24635 (arg1
)->SetPoint((wxPoint
const &)*arg2
);
24637 wxPyEndAllowThreads(__tstate
);
24638 if (PyErr_Occurred()) SWIG_fail
;
24640 Py_INCREF(Py_None
); resultobj
= Py_None
;
24647 static PyObject
*_wrap_TreeEvent_GetKeyEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24648 PyObject
*resultobj
;
24649 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
24650 wxKeyEvent
*result
;
24651 PyObject
* obj0
= 0 ;
24652 char *kwnames
[] = {
24653 (char *) "self", NULL
24656 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetKeyEvent",kwnames
,&obj0
)) goto fail
;
24657 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
24658 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24662 wxKeyEvent
const &_result_ref
= ((wxTreeEvent
const *)arg1
)->GetKeyEvent();
24663 result
= (wxKeyEvent
*) &_result_ref
;
24666 wxPyEndAllowThreads(__tstate
);
24667 if (PyErr_Occurred()) SWIG_fail
;
24669 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxKeyEvent
, 0);
24676 static PyObject
*_wrap_TreeEvent_GetKeyCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24677 PyObject
*resultobj
;
24678 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
24680 PyObject
* obj0
= 0 ;
24681 char *kwnames
[] = {
24682 (char *) "self", NULL
24685 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetKeyCode",kwnames
,&obj0
)) goto fail
;
24686 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
24687 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24690 result
= (int)((wxTreeEvent
const *)arg1
)->GetKeyCode();
24692 wxPyEndAllowThreads(__tstate
);
24693 if (PyErr_Occurred()) SWIG_fail
;
24695 resultobj
= SWIG_FromInt((int)result
);
24702 static PyObject
*_wrap_TreeEvent_SetKeyEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24703 PyObject
*resultobj
;
24704 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
24705 wxKeyEvent
*arg2
= 0 ;
24706 PyObject
* obj0
= 0 ;
24707 PyObject
* obj1
= 0 ;
24708 char *kwnames
[] = {
24709 (char *) "self",(char *) "evt", NULL
24712 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetKeyEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
24713 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
24714 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24715 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxKeyEvent
,
24716 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24718 if (arg2
== NULL
) {
24719 PyErr_SetString(PyExc_TypeError
,"null reference");
24723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24724 (arg1
)->SetKeyEvent((wxKeyEvent
const &)*arg2
);
24726 wxPyEndAllowThreads(__tstate
);
24727 if (PyErr_Occurred()) SWIG_fail
;
24729 Py_INCREF(Py_None
); resultobj
= Py_None
;
24736 static PyObject
*_wrap_TreeEvent_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24737 PyObject
*resultobj
;
24738 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
24740 PyObject
* obj0
= 0 ;
24741 char *kwnames
[] = {
24742 (char *) "self", NULL
24745 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetLabel",kwnames
,&obj0
)) goto fail
;
24746 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
24747 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24751 wxString
const &_result_ref
= ((wxTreeEvent
const *)arg1
)->GetLabel();
24752 result
= (wxString
*) &_result_ref
;
24755 wxPyEndAllowThreads(__tstate
);
24756 if (PyErr_Occurred()) SWIG_fail
;
24760 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
24762 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
24771 static PyObject
*_wrap_TreeEvent_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24772 PyObject
*resultobj
;
24773 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
24774 wxString
*arg2
= 0 ;
24775 bool temp2
= False
;
24776 PyObject
* obj0
= 0 ;
24777 PyObject
* obj1
= 0 ;
24778 char *kwnames
[] = {
24779 (char *) "self",(char *) "label", NULL
24782 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
24783 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
24784 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24786 arg2
= wxString_in_helper(obj1
);
24787 if (arg2
== NULL
) SWIG_fail
;
24791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24792 (arg1
)->SetLabel((wxString
const &)*arg2
);
24794 wxPyEndAllowThreads(__tstate
);
24795 if (PyErr_Occurred()) SWIG_fail
;
24797 Py_INCREF(Py_None
); resultobj
= Py_None
;
24812 static PyObject
*_wrap_TreeEvent_IsEditCancelled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24813 PyObject
*resultobj
;
24814 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
24816 PyObject
* obj0
= 0 ;
24817 char *kwnames
[] = {
24818 (char *) "self", NULL
24821 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_IsEditCancelled",kwnames
,&obj0
)) goto fail
;
24822 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
24823 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24826 result
= (bool)((wxTreeEvent
const *)arg1
)->IsEditCancelled();
24828 wxPyEndAllowThreads(__tstate
);
24829 if (PyErr_Occurred()) SWIG_fail
;
24832 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24840 static PyObject
*_wrap_TreeEvent_SetEditCanceled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24841 PyObject
*resultobj
;
24842 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
24844 PyObject
* obj0
= 0 ;
24845 PyObject
* obj1
= 0 ;
24846 char *kwnames
[] = {
24847 (char *) "self",(char *) "editCancelled", NULL
24850 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetEditCanceled",kwnames
,&obj0
,&obj1
)) goto fail
;
24851 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
24852 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24853 arg2
= (bool) SWIG_AsBool(obj1
);
24854 if (PyErr_Occurred()) SWIG_fail
;
24856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24857 (arg1
)->SetEditCanceled(arg2
);
24859 wxPyEndAllowThreads(__tstate
);
24860 if (PyErr_Occurred()) SWIG_fail
;
24862 Py_INCREF(Py_None
); resultobj
= Py_None
;
24869 static PyObject
*_wrap_TreeEvent_SetToolTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24870 PyObject
*resultobj
;
24871 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
24872 wxString
*arg2
= 0 ;
24873 bool temp2
= False
;
24874 PyObject
* obj0
= 0 ;
24875 PyObject
* obj1
= 0 ;
24876 char *kwnames
[] = {
24877 (char *) "self",(char *) "toolTip", NULL
24880 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetToolTip",kwnames
,&obj0
,&obj1
)) goto fail
;
24881 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
24882 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24884 arg2
= wxString_in_helper(obj1
);
24885 if (arg2
== NULL
) SWIG_fail
;
24889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24890 (arg1
)->SetToolTip((wxString
const &)*arg2
);
24892 wxPyEndAllowThreads(__tstate
);
24893 if (PyErr_Occurred()) SWIG_fail
;
24895 Py_INCREF(Py_None
); resultobj
= Py_None
;
24910 static PyObject
* TreeEvent_swigregister(PyObject
*self
, PyObject
*args
) {
24912 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24913 SWIG_TypeClientData(SWIGTYPE_p_wxTreeEvent
, obj
);
24915 return Py_BuildValue((char *)"");
24917 static PyObject
*_wrap_new_TreeCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24918 PyObject
*resultobj
;
24919 wxWindow
*arg1
= (wxWindow
*) 0 ;
24920 int arg2
= (int) -1 ;
24921 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
24922 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
24923 wxSize
const &arg4_defvalue
= wxDefaultSize
;
24924 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
24925 long arg5
= (long) wxTR_DEFAULT_STYLE
;
24926 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
24927 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
24928 wxString
const &arg7_defvalue
= wxPyTreeCtrlNameStr
;
24929 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
24930 wxPyTreeCtrl
*result
;
24933 bool temp7
= False
;
24934 PyObject
* obj0
= 0 ;
24935 PyObject
* obj1
= 0 ;
24936 PyObject
* obj2
= 0 ;
24937 PyObject
* obj3
= 0 ;
24938 PyObject
* obj4
= 0 ;
24939 PyObject
* obj5
= 0 ;
24940 PyObject
* obj6
= 0 ;
24941 char *kwnames
[] = {
24942 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
24945 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_TreeCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
24946 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24947 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24949 arg2
= (int) SWIG_AsInt(obj1
);
24950 if (PyErr_Occurred()) SWIG_fail
;
24955 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
24961 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
24965 arg5
= (long) SWIG_AsLong(obj4
);
24966 if (PyErr_Occurred()) SWIG_fail
;
24969 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxValidator
,
24970 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24972 if (arg6
== NULL
) {
24973 PyErr_SetString(PyExc_TypeError
,"null reference");
24979 arg7
= wxString_in_helper(obj6
);
24980 if (arg7
== NULL
) SWIG_fail
;
24985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24986 result
= (wxPyTreeCtrl
*)new wxPyTreeCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
24988 wxPyEndAllowThreads(__tstate
);
24989 if (PyErr_Occurred()) SWIG_fail
;
24992 resultobj
= wxPyMake_wxObject(result
);
25008 static PyObject
*_wrap_new_PreTreeCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25009 PyObject
*resultobj
;
25010 wxPyTreeCtrl
*result
;
25011 char *kwnames
[] = {
25015 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreTreeCtrl",kwnames
)) goto fail
;
25017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25018 result
= (wxPyTreeCtrl
*)new wxPyTreeCtrl();
25020 wxPyEndAllowThreads(__tstate
);
25021 if (PyErr_Occurred()) SWIG_fail
;
25024 resultobj
= wxPyMake_wxObject(result
);
25032 static PyObject
*_wrap_TreeCtrl_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25033 PyObject
*resultobj
;
25034 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25035 wxWindow
*arg2
= (wxWindow
*) 0 ;
25036 int arg3
= (int) -1 ;
25037 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
25038 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
25039 wxSize
const &arg5_defvalue
= wxDefaultSize
;
25040 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
25041 long arg6
= (long) wxTR_DEFAULT_STYLE
;
25042 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
25043 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
25044 wxString
const &arg8_defvalue
= wxPyTreeCtrlNameStr
;
25045 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
25049 bool temp8
= False
;
25050 PyObject
* obj0
= 0 ;
25051 PyObject
* obj1
= 0 ;
25052 PyObject
* obj2
= 0 ;
25053 PyObject
* obj3
= 0 ;
25054 PyObject
* obj4
= 0 ;
25055 PyObject
* obj5
= 0 ;
25056 PyObject
* obj6
= 0 ;
25057 PyObject
* obj7
= 0 ;
25058 char *kwnames
[] = {
25059 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
25062 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:TreeCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
25063 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25064 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25065 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
25066 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25068 arg3
= (int) SWIG_AsInt(obj2
);
25069 if (PyErr_Occurred()) SWIG_fail
;
25074 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
25080 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
25084 arg6
= (long) SWIG_AsLong(obj5
);
25085 if (PyErr_Occurred()) SWIG_fail
;
25088 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
25089 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25091 if (arg7
== NULL
) {
25092 PyErr_SetString(PyExc_TypeError
,"null reference");
25098 arg8
= wxString_in_helper(obj7
);
25099 if (arg8
== NULL
) SWIG_fail
;
25104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25105 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
25107 wxPyEndAllowThreads(__tstate
);
25108 if (PyErr_Occurred()) SWIG_fail
;
25111 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25127 static PyObject
*_wrap_TreeCtrl__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25128 PyObject
*resultobj
;
25129 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25130 PyObject
*arg2
= (PyObject
*) 0 ;
25131 PyObject
*arg3
= (PyObject
*) 0 ;
25132 PyObject
* obj0
= 0 ;
25133 PyObject
* obj1
= 0 ;
25134 PyObject
* obj2
= 0 ;
25135 char *kwnames
[] = {
25136 (char *) "self",(char *) "self",(char *) "_class", NULL
25139 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25140 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25141 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25146 (arg1
)->_setCallbackInfo(arg2
,arg3
);
25148 wxPyEndAllowThreads(__tstate
);
25149 if (PyErr_Occurred()) SWIG_fail
;
25151 Py_INCREF(Py_None
); resultobj
= Py_None
;
25158 static PyObject
*_wrap_TreeCtrl_GetCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25159 PyObject
*resultobj
;
25160 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25162 PyObject
* obj0
= 0 ;
25163 char *kwnames
[] = {
25164 (char *) "self", NULL
25167 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetCount",kwnames
,&obj0
)) goto fail
;
25168 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25169 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25172 result
= (size_t)((wxPyTreeCtrl
const *)arg1
)->GetCount();
25174 wxPyEndAllowThreads(__tstate
);
25175 if (PyErr_Occurred()) SWIG_fail
;
25177 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
25184 static PyObject
*_wrap_TreeCtrl_GetIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25185 PyObject
*resultobj
;
25186 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25187 unsigned int result
;
25188 PyObject
* obj0
= 0 ;
25189 char *kwnames
[] = {
25190 (char *) "self", NULL
25193 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetIndent",kwnames
,&obj0
)) goto fail
;
25194 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25195 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25198 result
= (unsigned int)((wxPyTreeCtrl
const *)arg1
)->GetIndent();
25200 wxPyEndAllowThreads(__tstate
);
25201 if (PyErr_Occurred()) SWIG_fail
;
25203 resultobj
= SWIG_FromUnsignedInt((unsigned int)result
);
25210 static PyObject
*_wrap_TreeCtrl_SetIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25211 PyObject
*resultobj
;
25212 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25213 unsigned int arg2
;
25214 PyObject
* obj0
= 0 ;
25215 PyObject
* obj1
= 0 ;
25216 char *kwnames
[] = {
25217 (char *) "self",(char *) "indent", NULL
25220 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetIndent",kwnames
,&obj0
,&obj1
)) goto fail
;
25221 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25222 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25223 arg2
= (unsigned int) SWIG_AsUnsignedInt(obj1
);
25224 if (PyErr_Occurred()) SWIG_fail
;
25226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25227 (arg1
)->SetIndent(arg2
);
25229 wxPyEndAllowThreads(__tstate
);
25230 if (PyErr_Occurred()) SWIG_fail
;
25232 Py_INCREF(Py_None
); resultobj
= Py_None
;
25239 static PyObject
*_wrap_TreeCtrl_GetSpacing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25240 PyObject
*resultobj
;
25241 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25242 unsigned int result
;
25243 PyObject
* obj0
= 0 ;
25244 char *kwnames
[] = {
25245 (char *) "self", NULL
25248 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetSpacing",kwnames
,&obj0
)) goto fail
;
25249 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25250 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25253 result
= (unsigned int)((wxPyTreeCtrl
const *)arg1
)->GetSpacing();
25255 wxPyEndAllowThreads(__tstate
);
25256 if (PyErr_Occurred()) SWIG_fail
;
25258 resultobj
= SWIG_FromUnsignedInt((unsigned int)result
);
25265 static PyObject
*_wrap_TreeCtrl_SetSpacing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25266 PyObject
*resultobj
;
25267 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25268 unsigned int arg2
;
25269 PyObject
* obj0
= 0 ;
25270 PyObject
* obj1
= 0 ;
25271 char *kwnames
[] = {
25272 (char *) "self",(char *) "spacing", NULL
25275 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetSpacing",kwnames
,&obj0
,&obj1
)) goto fail
;
25276 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25277 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25278 arg2
= (unsigned int) SWIG_AsUnsignedInt(obj1
);
25279 if (PyErr_Occurred()) SWIG_fail
;
25281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25282 (arg1
)->SetSpacing(arg2
);
25284 wxPyEndAllowThreads(__tstate
);
25285 if (PyErr_Occurred()) SWIG_fail
;
25287 Py_INCREF(Py_None
); resultobj
= Py_None
;
25294 static PyObject
*_wrap_TreeCtrl_GetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25295 PyObject
*resultobj
;
25296 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25297 wxImageList
*result
;
25298 PyObject
* obj0
= 0 ;
25299 char *kwnames
[] = {
25300 (char *) "self", NULL
25303 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetImageList",kwnames
,&obj0
)) goto fail
;
25304 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25305 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25308 result
= (wxImageList
*)((wxPyTreeCtrl
const *)arg1
)->GetImageList();
25310 wxPyEndAllowThreads(__tstate
);
25311 if (PyErr_Occurred()) SWIG_fail
;
25314 resultobj
= wxPyMake_wxObject(result
);
25322 static PyObject
*_wrap_TreeCtrl_GetStateImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25323 PyObject
*resultobj
;
25324 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25325 wxImageList
*result
;
25326 PyObject
* obj0
= 0 ;
25327 char *kwnames
[] = {
25328 (char *) "self", NULL
25331 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetStateImageList",kwnames
,&obj0
)) goto fail
;
25332 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25333 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25336 result
= (wxImageList
*)((wxPyTreeCtrl
const *)arg1
)->GetStateImageList();
25338 wxPyEndAllowThreads(__tstate
);
25339 if (PyErr_Occurred()) SWIG_fail
;
25342 resultobj
= wxPyMake_wxObject(result
);
25350 static PyObject
*_wrap_TreeCtrl_SetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25351 PyObject
*resultobj
;
25352 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25353 wxImageList
*arg2
= (wxImageList
*) 0 ;
25354 PyObject
* obj0
= 0 ;
25355 PyObject
* obj1
= 0 ;
25356 char *kwnames
[] = {
25357 (char *) "self",(char *) "imageList", NULL
25360 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
25361 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25362 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25363 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImageList
,
25364 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25367 (arg1
)->SetImageList(arg2
);
25369 wxPyEndAllowThreads(__tstate
);
25370 if (PyErr_Occurred()) SWIG_fail
;
25372 Py_INCREF(Py_None
); resultobj
= Py_None
;
25379 static PyObject
*_wrap_TreeCtrl_SetStateImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25380 PyObject
*resultobj
;
25381 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25382 wxImageList
*arg2
= (wxImageList
*) 0 ;
25383 PyObject
* obj0
= 0 ;
25384 PyObject
* obj1
= 0 ;
25385 char *kwnames
[] = {
25386 (char *) "self",(char *) "imageList", NULL
25389 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetStateImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
25390 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25391 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25392 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImageList
,
25393 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25396 (arg1
)->SetStateImageList(arg2
);
25398 wxPyEndAllowThreads(__tstate
);
25399 if (PyErr_Occurred()) SWIG_fail
;
25401 Py_INCREF(Py_None
); resultobj
= Py_None
;
25408 static PyObject
*_wrap_TreeCtrl_AssignImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25409 PyObject
*resultobj
;
25410 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25411 wxImageList
*arg2
= (wxImageList
*) 0 ;
25412 PyObject
* obj0
= 0 ;
25413 PyObject
* obj1
= 0 ;
25414 char *kwnames
[] = {
25415 (char *) "self",(char *) "imageList", NULL
25418 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_AssignImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
25419 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25420 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25421 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImageList
,
25422 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
25424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25425 (arg1
)->AssignImageList(arg2
);
25427 wxPyEndAllowThreads(__tstate
);
25428 if (PyErr_Occurred()) SWIG_fail
;
25430 Py_INCREF(Py_None
); resultobj
= Py_None
;
25437 static PyObject
*_wrap_TreeCtrl_AssignStateImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25438 PyObject
*resultobj
;
25439 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25440 wxImageList
*arg2
= (wxImageList
*) 0 ;
25441 PyObject
* obj0
= 0 ;
25442 PyObject
* obj1
= 0 ;
25443 char *kwnames
[] = {
25444 (char *) "self",(char *) "imageList", NULL
25447 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_AssignStateImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
25448 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25449 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25450 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImageList
,
25451 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
25453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25454 (arg1
)->AssignStateImageList(arg2
);
25456 wxPyEndAllowThreads(__tstate
);
25457 if (PyErr_Occurred()) SWIG_fail
;
25459 Py_INCREF(Py_None
); resultobj
= Py_None
;
25466 static PyObject
*_wrap_TreeCtrl_GetItemText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25467 PyObject
*resultobj
;
25468 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25469 wxTreeItemId
*arg2
= 0 ;
25471 PyObject
* obj0
= 0 ;
25472 PyObject
* obj1
= 0 ;
25473 char *kwnames
[] = {
25474 (char *) "self",(char *) "item", NULL
25477 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemText",kwnames
,&obj0
,&obj1
)) goto fail
;
25478 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25479 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25480 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25481 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25483 if (arg2
== NULL
) {
25484 PyErr_SetString(PyExc_TypeError
,"null reference");
25488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25489 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemText((wxTreeItemId
const &)*arg2
);
25491 wxPyEndAllowThreads(__tstate
);
25492 if (PyErr_Occurred()) SWIG_fail
;
25496 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
25498 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
25507 static PyObject
*_wrap_TreeCtrl_GetItemImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25508 PyObject
*resultobj
;
25509 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25510 wxTreeItemId
*arg2
= 0 ;
25511 int arg3
= (int) wxTreeItemIcon_Normal
;
25513 PyObject
* obj0
= 0 ;
25514 PyObject
* obj1
= 0 ;
25515 PyObject
* obj2
= 0 ;
25516 char *kwnames
[] = {
25517 (char *) "self",(char *) "item",(char *) "which", NULL
25520 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_GetItemImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25521 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25522 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25523 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25524 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25526 if (arg2
== NULL
) {
25527 PyErr_SetString(PyExc_TypeError
,"null reference");
25531 arg3
= (wxTreeItemIcon
) SWIG_AsInt(obj2
);
25532 if (PyErr_Occurred()) SWIG_fail
;
25535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25536 result
= (int)((wxPyTreeCtrl
const *)arg1
)->GetItemImage((wxTreeItemId
const &)*arg2
,(wxTreeItemIcon
)arg3
);
25538 wxPyEndAllowThreads(__tstate
);
25539 if (PyErr_Occurred()) SWIG_fail
;
25541 resultobj
= SWIG_FromInt((int)result
);
25548 static PyObject
*_wrap_TreeCtrl_GetItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25549 PyObject
*resultobj
;
25550 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25551 wxTreeItemId
*arg2
= 0 ;
25552 wxPyTreeItemData
*result
;
25553 PyObject
* obj0
= 0 ;
25554 PyObject
* obj1
= 0 ;
25555 char *kwnames
[] = {
25556 (char *) "self",(char *) "item", NULL
25559 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemData",kwnames
,&obj0
,&obj1
)) goto fail
;
25560 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25561 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25562 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25563 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25565 if (arg2
== NULL
) {
25566 PyErr_SetString(PyExc_TypeError
,"null reference");
25570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25571 result
= (wxPyTreeItemData
*)wxPyTreeCtrl_GetItemData(arg1
,(wxTreeItemId
const &)*arg2
);
25573 wxPyEndAllowThreads(__tstate
);
25574 if (PyErr_Occurred()) SWIG_fail
;
25576 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTreeItemData
, 0);
25583 static PyObject
*_wrap_TreeCtrl_GetItemPyData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25584 PyObject
*resultobj
;
25585 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25586 wxTreeItemId
*arg2
= 0 ;
25588 PyObject
* obj0
= 0 ;
25589 PyObject
* obj1
= 0 ;
25590 char *kwnames
[] = {
25591 (char *) "self",(char *) "item", NULL
25594 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemPyData",kwnames
,&obj0
,&obj1
)) goto fail
;
25595 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25596 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25597 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25598 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25600 if (arg2
== NULL
) {
25601 PyErr_SetString(PyExc_TypeError
,"null reference");
25605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25606 result
= (PyObject
*)wxPyTreeCtrl_GetItemPyData(arg1
,(wxTreeItemId
const &)*arg2
);
25608 wxPyEndAllowThreads(__tstate
);
25609 if (PyErr_Occurred()) SWIG_fail
;
25611 resultobj
= result
;
25618 static PyObject
*_wrap_TreeCtrl_GetItemTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25619 PyObject
*resultobj
;
25620 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25621 wxTreeItemId
*arg2
= 0 ;
25623 PyObject
* obj0
= 0 ;
25624 PyObject
* obj1
= 0 ;
25625 char *kwnames
[] = {
25626 (char *) "self",(char *) "item", NULL
25629 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
25630 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25631 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25632 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25633 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25635 if (arg2
== NULL
) {
25636 PyErr_SetString(PyExc_TypeError
,"null reference");
25640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25641 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemTextColour((wxTreeItemId
const &)*arg2
);
25643 wxPyEndAllowThreads(__tstate
);
25644 if (PyErr_Occurred()) SWIG_fail
;
25647 wxColour
* resultptr
;
25648 resultptr
= new wxColour((wxColour
&) result
);
25649 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
25657 static PyObject
*_wrap_TreeCtrl_GetItemBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25658 PyObject
*resultobj
;
25659 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25660 wxTreeItemId
*arg2
= 0 ;
25662 PyObject
* obj0
= 0 ;
25663 PyObject
* obj1
= 0 ;
25664 char *kwnames
[] = {
25665 (char *) "self",(char *) "item", NULL
25668 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
25669 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25670 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25671 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25672 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25674 if (arg2
== NULL
) {
25675 PyErr_SetString(PyExc_TypeError
,"null reference");
25679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25680 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemBackgroundColour((wxTreeItemId
const &)*arg2
);
25682 wxPyEndAllowThreads(__tstate
);
25683 if (PyErr_Occurred()) SWIG_fail
;
25686 wxColour
* resultptr
;
25687 resultptr
= new wxColour((wxColour
&) result
);
25688 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
25696 static PyObject
*_wrap_TreeCtrl_GetItemFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25697 PyObject
*resultobj
;
25698 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25699 wxTreeItemId
*arg2
= 0 ;
25701 PyObject
* obj0
= 0 ;
25702 PyObject
* obj1
= 0 ;
25703 char *kwnames
[] = {
25704 (char *) "self",(char *) "item", NULL
25707 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemFont",kwnames
,&obj0
,&obj1
)) goto fail
;
25708 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25709 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25710 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25711 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25713 if (arg2
== NULL
) {
25714 PyErr_SetString(PyExc_TypeError
,"null reference");
25718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25719 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemFont((wxTreeItemId
const &)*arg2
);
25721 wxPyEndAllowThreads(__tstate
);
25722 if (PyErr_Occurred()) SWIG_fail
;
25725 wxFont
* resultptr
;
25726 resultptr
= new wxFont((wxFont
&) result
);
25727 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
25735 static PyObject
*_wrap_TreeCtrl_SetItemText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25736 PyObject
*resultobj
;
25737 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25738 wxTreeItemId
*arg2
= 0 ;
25739 wxString
*arg3
= 0 ;
25740 bool temp3
= False
;
25741 PyObject
* obj0
= 0 ;
25742 PyObject
* obj1
= 0 ;
25743 PyObject
* obj2
= 0 ;
25744 char *kwnames
[] = {
25745 (char *) "self",(char *) "item",(char *) "text", NULL
25748 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25749 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25750 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25751 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25752 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25754 if (arg2
== NULL
) {
25755 PyErr_SetString(PyExc_TypeError
,"null reference");
25759 arg3
= wxString_in_helper(obj2
);
25760 if (arg3
== NULL
) SWIG_fail
;
25764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25765 (arg1
)->SetItemText((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
);
25767 wxPyEndAllowThreads(__tstate
);
25768 if (PyErr_Occurred()) SWIG_fail
;
25770 Py_INCREF(Py_None
); resultobj
= Py_None
;
25785 static PyObject
*_wrap_TreeCtrl_SetItemImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25786 PyObject
*resultobj
;
25787 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25788 wxTreeItemId
*arg2
= 0 ;
25790 int arg4
= (int) wxTreeItemIcon_Normal
;
25791 PyObject
* obj0
= 0 ;
25792 PyObject
* obj1
= 0 ;
25793 PyObject
* obj2
= 0 ;
25794 PyObject
* obj3
= 0 ;
25795 char *kwnames
[] = {
25796 (char *) "self",(char *) "item",(char *) "image",(char *) "which", NULL
25799 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:TreeCtrl_SetItemImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
25800 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25801 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25802 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25803 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25805 if (arg2
== NULL
) {
25806 PyErr_SetString(PyExc_TypeError
,"null reference");
25809 arg3
= (int) SWIG_AsInt(obj2
);
25810 if (PyErr_Occurred()) SWIG_fail
;
25812 arg4
= (wxTreeItemIcon
) SWIG_AsInt(obj3
);
25813 if (PyErr_Occurred()) SWIG_fail
;
25816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25817 (arg1
)->SetItemImage((wxTreeItemId
const &)*arg2
,arg3
,(wxTreeItemIcon
)arg4
);
25819 wxPyEndAllowThreads(__tstate
);
25820 if (PyErr_Occurred()) SWIG_fail
;
25822 Py_INCREF(Py_None
); resultobj
= Py_None
;
25829 static PyObject
*_wrap_TreeCtrl_SetItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25830 PyObject
*resultobj
;
25831 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25832 wxTreeItemId
*arg2
= 0 ;
25833 wxPyTreeItemData
*arg3
= (wxPyTreeItemData
*) 0 ;
25834 PyObject
* obj0
= 0 ;
25835 PyObject
* obj1
= 0 ;
25836 PyObject
* obj2
= 0 ;
25837 char *kwnames
[] = {
25838 (char *) "self",(char *) "item",(char *) "data", NULL
25841 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25842 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25843 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25844 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25845 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25847 if (arg2
== NULL
) {
25848 PyErr_SetString(PyExc_TypeError
,"null reference");
25851 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPyTreeItemData
,
25852 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25855 wxPyTreeCtrl_SetItemData(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_SetItemPyData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25868 PyObject
*resultobj
;
25869 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25870 wxTreeItemId
*arg2
= 0 ;
25871 PyObject
*arg3
= (PyObject
*) 0 ;
25872 PyObject
* obj0
= 0 ;
25873 PyObject
* obj1
= 0 ;
25874 PyObject
* obj2
= 0 ;
25875 char *kwnames
[] = {
25876 (char *) "self",(char *) "item",(char *) "obj", NULL
25879 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemPyData",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");
25891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25892 wxPyTreeCtrl_SetItemPyData(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
25894 wxPyEndAllowThreads(__tstate
);
25895 if (PyErr_Occurred()) SWIG_fail
;
25897 Py_INCREF(Py_None
); resultobj
= Py_None
;
25904 static PyObject
*_wrap_TreeCtrl_SetItemHasChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25905 PyObject
*resultobj
;
25906 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25907 wxTreeItemId
*arg2
= 0 ;
25908 bool arg3
= (bool) True
;
25909 PyObject
* obj0
= 0 ;
25910 PyObject
* obj1
= 0 ;
25911 PyObject
* obj2
= 0 ;
25912 char *kwnames
[] = {
25913 (char *) "self",(char *) "item",(char *) "has", NULL
25916 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SetItemHasChildren",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25917 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25918 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25919 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25920 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25922 if (arg2
== NULL
) {
25923 PyErr_SetString(PyExc_TypeError
,"null reference");
25927 arg3
= (bool) SWIG_AsBool(obj2
);
25928 if (PyErr_Occurred()) SWIG_fail
;
25931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25932 (arg1
)->SetItemHasChildren((wxTreeItemId
const &)*arg2
,arg3
);
25934 wxPyEndAllowThreads(__tstate
);
25935 if (PyErr_Occurred()) SWIG_fail
;
25937 Py_INCREF(Py_None
); resultobj
= Py_None
;
25944 static PyObject
*_wrap_TreeCtrl_SetItemBold(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25945 PyObject
*resultobj
;
25946 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25947 wxTreeItemId
*arg2
= 0 ;
25948 bool arg3
= (bool) True
;
25949 PyObject
* obj0
= 0 ;
25950 PyObject
* obj1
= 0 ;
25951 PyObject
* obj2
= 0 ;
25952 char *kwnames
[] = {
25953 (char *) "self",(char *) "item",(char *) "bold", NULL
25956 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SetItemBold",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25957 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25958 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25959 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25960 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25962 if (arg2
== NULL
) {
25963 PyErr_SetString(PyExc_TypeError
,"null reference");
25967 arg3
= (bool) SWIG_AsBool(obj2
);
25968 if (PyErr_Occurred()) SWIG_fail
;
25971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25972 (arg1
)->SetItemBold((wxTreeItemId
const &)*arg2
,arg3
);
25974 wxPyEndAllowThreads(__tstate
);
25975 if (PyErr_Occurred()) SWIG_fail
;
25977 Py_INCREF(Py_None
); resultobj
= Py_None
;
25984 static PyObject
*_wrap_TreeCtrl_SetItemDropHighlight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25985 PyObject
*resultobj
;
25986 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25987 wxTreeItemId
*arg2
= 0 ;
25988 bool arg3
= (bool) True
;
25989 PyObject
* obj0
= 0 ;
25990 PyObject
* obj1
= 0 ;
25991 PyObject
* obj2
= 0 ;
25992 char *kwnames
[] = {
25993 (char *) "self",(char *) "item",(char *) "highlight", NULL
25996 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SetItemDropHighlight",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25997 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25998 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25999 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26000 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26002 if (arg2
== NULL
) {
26003 PyErr_SetString(PyExc_TypeError
,"null reference");
26007 arg3
= (bool) SWIG_AsBool(obj2
);
26008 if (PyErr_Occurred()) SWIG_fail
;
26011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26012 (arg1
)->SetItemDropHighlight((wxTreeItemId
const &)*arg2
,arg3
);
26014 wxPyEndAllowThreads(__tstate
);
26015 if (PyErr_Occurred()) SWIG_fail
;
26017 Py_INCREF(Py_None
); resultobj
= Py_None
;
26024 static PyObject
*_wrap_TreeCtrl_SetItemTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26025 PyObject
*resultobj
;
26026 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26027 wxTreeItemId
*arg2
= 0 ;
26028 wxColour
*arg3
= 0 ;
26030 PyObject
* obj0
= 0 ;
26031 PyObject
* obj1
= 0 ;
26032 PyObject
* obj2
= 0 ;
26033 char *kwnames
[] = {
26034 (char *) "self",(char *) "item",(char *) "col", NULL
26037 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemTextColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26038 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26039 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26040 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26041 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26043 if (arg2
== NULL
) {
26044 PyErr_SetString(PyExc_TypeError
,"null reference");
26049 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
26052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26053 (arg1
)->SetItemTextColour((wxTreeItemId
const &)*arg2
,(wxColour
const &)*arg3
);
26055 wxPyEndAllowThreads(__tstate
);
26056 if (PyErr_Occurred()) SWIG_fail
;
26058 Py_INCREF(Py_None
); resultobj
= Py_None
;
26065 static PyObject
*_wrap_TreeCtrl_SetItemBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26066 PyObject
*resultobj
;
26067 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26068 wxTreeItemId
*arg2
= 0 ;
26069 wxColour
*arg3
= 0 ;
26071 PyObject
* obj0
= 0 ;
26072 PyObject
* obj1
= 0 ;
26073 PyObject
* obj2
= 0 ;
26074 char *kwnames
[] = {
26075 (char *) "self",(char *) "item",(char *) "col", NULL
26078 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26079 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26080 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26081 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26082 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26084 if (arg2
== NULL
) {
26085 PyErr_SetString(PyExc_TypeError
,"null reference");
26090 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
26093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26094 (arg1
)->SetItemBackgroundColour((wxTreeItemId
const &)*arg2
,(wxColour
const &)*arg3
);
26096 wxPyEndAllowThreads(__tstate
);
26097 if (PyErr_Occurred()) SWIG_fail
;
26099 Py_INCREF(Py_None
); resultobj
= Py_None
;
26106 static PyObject
*_wrap_TreeCtrl_SetItemFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26107 PyObject
*resultobj
;
26108 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26109 wxTreeItemId
*arg2
= 0 ;
26111 PyObject
* obj0
= 0 ;
26112 PyObject
* obj1
= 0 ;
26113 PyObject
* obj2
= 0 ;
26114 char *kwnames
[] = {
26115 (char *) "self",(char *) "item",(char *) "font", NULL
26118 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemFont",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26119 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26120 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26121 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26122 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26124 if (arg2
== NULL
) {
26125 PyErr_SetString(PyExc_TypeError
,"null reference");
26128 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxFont
,
26129 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26131 if (arg3
== NULL
) {
26132 PyErr_SetString(PyExc_TypeError
,"null reference");
26136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26137 (arg1
)->SetItemFont((wxTreeItemId
const &)*arg2
,(wxFont
const &)*arg3
);
26139 wxPyEndAllowThreads(__tstate
);
26140 if (PyErr_Occurred()) SWIG_fail
;
26142 Py_INCREF(Py_None
); resultobj
= Py_None
;
26149 static PyObject
*_wrap_TreeCtrl_IsVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26150 PyObject
*resultobj
;
26151 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26152 wxTreeItemId
*arg2
= 0 ;
26154 PyObject
* obj0
= 0 ;
26155 PyObject
* obj1
= 0 ;
26156 char *kwnames
[] = {
26157 (char *) "self",(char *) "item", NULL
26160 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
26161 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26162 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26163 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26164 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26166 if (arg2
== NULL
) {
26167 PyErr_SetString(PyExc_TypeError
,"null reference");
26171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26172 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsVisible((wxTreeItemId
const &)*arg2
);
26174 wxPyEndAllowThreads(__tstate
);
26175 if (PyErr_Occurred()) SWIG_fail
;
26178 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26186 static PyObject
*_wrap_TreeCtrl_ItemHasChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26187 PyObject
*resultobj
;
26188 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26189 wxTreeItemId
*arg2
= 0 ;
26191 PyObject
* obj0
= 0 ;
26192 PyObject
* obj1
= 0 ;
26193 char *kwnames
[] = {
26194 (char *) "self",(char *) "item", NULL
26197 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ItemHasChildren",kwnames
,&obj0
,&obj1
)) goto fail
;
26198 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26199 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26200 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26201 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26203 if (arg2
== NULL
) {
26204 PyErr_SetString(PyExc_TypeError
,"null reference");
26208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26209 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->ItemHasChildren((wxTreeItemId
const &)*arg2
);
26211 wxPyEndAllowThreads(__tstate
);
26212 if (PyErr_Occurred()) SWIG_fail
;
26215 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26223 static PyObject
*_wrap_TreeCtrl_IsExpanded(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26224 PyObject
*resultobj
;
26225 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26226 wxTreeItemId
*arg2
= 0 ;
26228 PyObject
* obj0
= 0 ;
26229 PyObject
* obj1
= 0 ;
26230 char *kwnames
[] = {
26231 (char *) "self",(char *) "item", NULL
26234 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsExpanded",kwnames
,&obj0
,&obj1
)) goto fail
;
26235 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26236 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26237 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26238 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26240 if (arg2
== NULL
) {
26241 PyErr_SetString(PyExc_TypeError
,"null reference");
26245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26246 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsExpanded((wxTreeItemId
const &)*arg2
);
26248 wxPyEndAllowThreads(__tstate
);
26249 if (PyErr_Occurred()) SWIG_fail
;
26252 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26260 static PyObject
*_wrap_TreeCtrl_IsSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26261 PyObject
*resultobj
;
26262 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26263 wxTreeItemId
*arg2
= 0 ;
26265 PyObject
* obj0
= 0 ;
26266 PyObject
* obj1
= 0 ;
26267 char *kwnames
[] = {
26268 (char *) "self",(char *) "item", NULL
26271 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
26272 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26273 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26274 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26275 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26277 if (arg2
== NULL
) {
26278 PyErr_SetString(PyExc_TypeError
,"null reference");
26282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26283 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsSelected((wxTreeItemId
const &)*arg2
);
26285 wxPyEndAllowThreads(__tstate
);
26286 if (PyErr_Occurred()) SWIG_fail
;
26289 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26297 static PyObject
*_wrap_TreeCtrl_IsBold(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26298 PyObject
*resultobj
;
26299 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26300 wxTreeItemId
*arg2
= 0 ;
26302 PyObject
* obj0
= 0 ;
26303 PyObject
* obj1
= 0 ;
26304 char *kwnames
[] = {
26305 (char *) "self",(char *) "item", NULL
26308 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsBold",kwnames
,&obj0
,&obj1
)) goto fail
;
26309 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26310 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26311 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26312 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26314 if (arg2
== NULL
) {
26315 PyErr_SetString(PyExc_TypeError
,"null reference");
26319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26320 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsBold((wxTreeItemId
const &)*arg2
);
26322 wxPyEndAllowThreads(__tstate
);
26323 if (PyErr_Occurred()) SWIG_fail
;
26326 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26334 static PyObject
*_wrap_TreeCtrl_GetChildrenCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26335 PyObject
*resultobj
;
26336 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26337 wxTreeItemId
*arg2
= 0 ;
26338 bool arg3
= (bool) True
;
26340 PyObject
* obj0
= 0 ;
26341 PyObject
* obj1
= 0 ;
26342 PyObject
* obj2
= 0 ;
26343 char *kwnames
[] = {
26344 (char *) "self",(char *) "item",(char *) "recursively", NULL
26347 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_GetChildrenCount",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26348 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26349 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26350 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26351 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26353 if (arg2
== NULL
) {
26354 PyErr_SetString(PyExc_TypeError
,"null reference");
26358 arg3
= (bool) SWIG_AsBool(obj2
);
26359 if (PyErr_Occurred()) SWIG_fail
;
26362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26363 result
= (size_t)(arg1
)->GetChildrenCount((wxTreeItemId
const &)*arg2
,arg3
);
26365 wxPyEndAllowThreads(__tstate
);
26366 if (PyErr_Occurred()) SWIG_fail
;
26368 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
26375 static PyObject
*_wrap_TreeCtrl_GetRootItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26376 PyObject
*resultobj
;
26377 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26378 wxTreeItemId result
;
26379 PyObject
* obj0
= 0 ;
26380 char *kwnames
[] = {
26381 (char *) "self", NULL
26384 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetRootItem",kwnames
,&obj0
)) goto fail
;
26385 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26386 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26389 result
= ((wxPyTreeCtrl
const *)arg1
)->GetRootItem();
26391 wxPyEndAllowThreads(__tstate
);
26392 if (PyErr_Occurred()) SWIG_fail
;
26395 wxTreeItemId
* resultptr
;
26396 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
26397 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
26405 static PyObject
*_wrap_TreeCtrl_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26406 PyObject
*resultobj
;
26407 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26408 wxTreeItemId result
;
26409 PyObject
* obj0
= 0 ;
26410 char *kwnames
[] = {
26411 (char *) "self", NULL
26414 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetSelection",kwnames
,&obj0
)) goto fail
;
26415 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26416 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26419 result
= ((wxPyTreeCtrl
const *)arg1
)->GetSelection();
26421 wxPyEndAllowThreads(__tstate
);
26422 if (PyErr_Occurred()) SWIG_fail
;
26425 wxTreeItemId
* resultptr
;
26426 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
26427 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
26435 static PyObject
*_wrap_TreeCtrl_GetSelections(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26436 PyObject
*resultobj
;
26437 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26439 PyObject
* obj0
= 0 ;
26440 char *kwnames
[] = {
26441 (char *) "self", NULL
26444 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetSelections",kwnames
,&obj0
)) goto fail
;
26445 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26446 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26449 result
= (PyObject
*)wxPyTreeCtrl_GetSelections(arg1
);
26451 wxPyEndAllowThreads(__tstate
);
26452 if (PyErr_Occurred()) SWIG_fail
;
26454 resultobj
= result
;
26461 static PyObject
*_wrap_TreeCtrl_GetItemParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26462 PyObject
*resultobj
;
26463 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26464 wxTreeItemId
*arg2
= 0 ;
26465 wxTreeItemId result
;
26466 PyObject
* obj0
= 0 ;
26467 PyObject
* obj1
= 0 ;
26468 char *kwnames
[] = {
26469 (char *) "self",(char *) "item", NULL
26472 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemParent",kwnames
,&obj0
,&obj1
)) goto fail
;
26473 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26474 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26475 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26476 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26478 if (arg2
== NULL
) {
26479 PyErr_SetString(PyExc_TypeError
,"null reference");
26483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26484 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemParent((wxTreeItemId
const &)*arg2
);
26486 wxPyEndAllowThreads(__tstate
);
26487 if (PyErr_Occurred()) SWIG_fail
;
26490 wxTreeItemId
* resultptr
;
26491 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
26492 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
26500 static PyObject
*_wrap_TreeCtrl_GetFirstChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26501 PyObject
*resultobj
;
26502 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26503 wxTreeItemId
*arg2
= 0 ;
26505 PyObject
* obj0
= 0 ;
26506 PyObject
* obj1
= 0 ;
26507 char *kwnames
[] = {
26508 (char *) "self",(char *) "item", NULL
26511 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetFirstChild",kwnames
,&obj0
,&obj1
)) goto fail
;
26512 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26513 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26514 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26515 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26517 if (arg2
== NULL
) {
26518 PyErr_SetString(PyExc_TypeError
,"null reference");
26522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26523 result
= (PyObject
*)wxPyTreeCtrl_GetFirstChild(arg1
,(wxTreeItemId
const &)*arg2
);
26525 wxPyEndAllowThreads(__tstate
);
26526 if (PyErr_Occurred()) SWIG_fail
;
26528 resultobj
= result
;
26535 static PyObject
*_wrap_TreeCtrl_GetNextChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26536 PyObject
*resultobj
;
26537 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26538 wxTreeItemId
*arg2
= 0 ;
26539 void *arg3
= (void *) 0 ;
26541 PyObject
* obj0
= 0 ;
26542 PyObject
* obj1
= 0 ;
26543 PyObject
* obj2
= 0 ;
26544 char *kwnames
[] = {
26545 (char *) "self",(char *) "item",(char *) "cookie", NULL
26548 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_GetNextChild",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26549 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26550 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26551 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26552 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26554 if (arg2
== NULL
) {
26555 PyErr_SetString(PyExc_TypeError
,"null reference");
26558 if ((SWIG_ConvertPtr(obj2
,&arg3
,0,SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26561 result
= (PyObject
*)wxPyTreeCtrl_GetNextChild(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
26563 wxPyEndAllowThreads(__tstate
);
26564 if (PyErr_Occurred()) SWIG_fail
;
26566 resultobj
= result
;
26573 static PyObject
*_wrap_TreeCtrl_GetLastChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26574 PyObject
*resultobj
;
26575 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26576 wxTreeItemId
*arg2
= 0 ;
26577 wxTreeItemId result
;
26578 PyObject
* obj0
= 0 ;
26579 PyObject
* obj1
= 0 ;
26580 char *kwnames
[] = {
26581 (char *) "self",(char *) "item", NULL
26584 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetLastChild",kwnames
,&obj0
,&obj1
)) goto fail
;
26585 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26586 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26587 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26588 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26590 if (arg2
== NULL
) {
26591 PyErr_SetString(PyExc_TypeError
,"null reference");
26595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26596 result
= ((wxPyTreeCtrl
const *)arg1
)->GetLastChild((wxTreeItemId
const &)*arg2
);
26598 wxPyEndAllowThreads(__tstate
);
26599 if (PyErr_Occurred()) SWIG_fail
;
26602 wxTreeItemId
* resultptr
;
26603 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
26604 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
26612 static PyObject
*_wrap_TreeCtrl_GetNextSibling(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26613 PyObject
*resultobj
;
26614 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26615 wxTreeItemId
*arg2
= 0 ;
26616 wxTreeItemId result
;
26617 PyObject
* obj0
= 0 ;
26618 PyObject
* obj1
= 0 ;
26619 char *kwnames
[] = {
26620 (char *) "self",(char *) "item", NULL
26623 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetNextSibling",kwnames
,&obj0
,&obj1
)) goto fail
;
26624 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26625 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26626 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26627 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26629 if (arg2
== NULL
) {
26630 PyErr_SetString(PyExc_TypeError
,"null reference");
26634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26635 result
= ((wxPyTreeCtrl
const *)arg1
)->GetNextSibling((wxTreeItemId
const &)*arg2
);
26637 wxPyEndAllowThreads(__tstate
);
26638 if (PyErr_Occurred()) SWIG_fail
;
26641 wxTreeItemId
* resultptr
;
26642 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
26643 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
26651 static PyObject
*_wrap_TreeCtrl_GetPrevSibling(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26652 PyObject
*resultobj
;
26653 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26654 wxTreeItemId
*arg2
= 0 ;
26655 wxTreeItemId result
;
26656 PyObject
* obj0
= 0 ;
26657 PyObject
* obj1
= 0 ;
26658 char *kwnames
[] = {
26659 (char *) "self",(char *) "item", NULL
26662 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetPrevSibling",kwnames
,&obj0
,&obj1
)) goto fail
;
26663 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26664 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26665 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26666 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26668 if (arg2
== NULL
) {
26669 PyErr_SetString(PyExc_TypeError
,"null reference");
26673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26674 result
= ((wxPyTreeCtrl
const *)arg1
)->GetPrevSibling((wxTreeItemId
const &)*arg2
);
26676 wxPyEndAllowThreads(__tstate
);
26677 if (PyErr_Occurred()) SWIG_fail
;
26680 wxTreeItemId
* resultptr
;
26681 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
26682 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
26690 static PyObject
*_wrap_TreeCtrl_GetFirstVisibleItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26691 PyObject
*resultobj
;
26692 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26693 wxTreeItemId result
;
26694 PyObject
* obj0
= 0 ;
26695 char *kwnames
[] = {
26696 (char *) "self", NULL
26699 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetFirstVisibleItem",kwnames
,&obj0
)) goto fail
;
26700 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26701 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26704 result
= ((wxPyTreeCtrl
const *)arg1
)->GetFirstVisibleItem();
26706 wxPyEndAllowThreads(__tstate
);
26707 if (PyErr_Occurred()) SWIG_fail
;
26710 wxTreeItemId
* resultptr
;
26711 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
26712 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
26720 static PyObject
*_wrap_TreeCtrl_GetNextVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26721 PyObject
*resultobj
;
26722 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26723 wxTreeItemId
*arg2
= 0 ;
26724 wxTreeItemId result
;
26725 PyObject
* obj0
= 0 ;
26726 PyObject
* obj1
= 0 ;
26727 char *kwnames
[] = {
26728 (char *) "self",(char *) "item", NULL
26731 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetNextVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
26732 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26733 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26734 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26735 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26737 if (arg2
== NULL
) {
26738 PyErr_SetString(PyExc_TypeError
,"null reference");
26742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26743 result
= ((wxPyTreeCtrl
const *)arg1
)->GetNextVisible((wxTreeItemId
const &)*arg2
);
26745 wxPyEndAllowThreads(__tstate
);
26746 if (PyErr_Occurred()) SWIG_fail
;
26749 wxTreeItemId
* resultptr
;
26750 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
26751 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
26759 static PyObject
*_wrap_TreeCtrl_GetPrevVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26760 PyObject
*resultobj
;
26761 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26762 wxTreeItemId
*arg2
= 0 ;
26763 wxTreeItemId result
;
26764 PyObject
* obj0
= 0 ;
26765 PyObject
* obj1
= 0 ;
26766 char *kwnames
[] = {
26767 (char *) "self",(char *) "item", NULL
26770 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetPrevVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
26771 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26772 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26773 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26774 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26776 if (arg2
== NULL
) {
26777 PyErr_SetString(PyExc_TypeError
,"null reference");
26781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26782 result
= ((wxPyTreeCtrl
const *)arg1
)->GetPrevVisible((wxTreeItemId
const &)*arg2
);
26784 wxPyEndAllowThreads(__tstate
);
26785 if (PyErr_Occurred()) SWIG_fail
;
26788 wxTreeItemId
* resultptr
;
26789 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
26790 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
26798 static PyObject
*_wrap_TreeCtrl_AddRoot(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26799 PyObject
*resultobj
;
26800 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26801 wxString
*arg2
= 0 ;
26802 int arg3
= (int) -1 ;
26803 int arg4
= (int) -1 ;
26804 wxPyTreeItemData
*arg5
= (wxPyTreeItemData
*) NULL
;
26805 wxTreeItemId result
;
26806 bool temp2
= False
;
26807 PyObject
* obj0
= 0 ;
26808 PyObject
* obj1
= 0 ;
26809 PyObject
* obj2
= 0 ;
26810 PyObject
* obj3
= 0 ;
26811 PyObject
* obj4
= 0 ;
26812 char *kwnames
[] = {
26813 (char *) "self",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
26816 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:TreeCtrl_AddRoot",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
26817 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26818 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26820 arg2
= wxString_in_helper(obj1
);
26821 if (arg2
== NULL
) SWIG_fail
;
26825 arg3
= (int) SWIG_AsInt(obj2
);
26826 if (PyErr_Occurred()) SWIG_fail
;
26829 arg4
= (int) SWIG_AsInt(obj3
);
26830 if (PyErr_Occurred()) SWIG_fail
;
26833 if ((SWIG_ConvertPtr(obj4
,(void **)(&arg5
),SWIGTYPE_p_wxPyTreeItemData
,
26834 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26838 result
= (arg1
)->AddRoot((wxString
const &)*arg2
,arg3
,arg4
,arg5
);
26840 wxPyEndAllowThreads(__tstate
);
26841 if (PyErr_Occurred()) SWIG_fail
;
26844 wxTreeItemId
* resultptr
;
26845 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
26846 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
26862 static PyObject
*_wrap_TreeCtrl_PrependItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26863 PyObject
*resultobj
;
26864 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26865 wxTreeItemId
*arg2
= 0 ;
26866 wxString
*arg3
= 0 ;
26867 int arg4
= (int) -1 ;
26868 int arg5
= (int) -1 ;
26869 wxPyTreeItemData
*arg6
= (wxPyTreeItemData
*) NULL
;
26870 wxTreeItemId result
;
26871 bool temp3
= False
;
26872 PyObject
* obj0
= 0 ;
26873 PyObject
* obj1
= 0 ;
26874 PyObject
* obj2
= 0 ;
26875 PyObject
* obj3
= 0 ;
26876 PyObject
* obj4
= 0 ;
26877 PyObject
* obj5
= 0 ;
26878 char *kwnames
[] = {
26879 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
26882 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:TreeCtrl_PrependItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
26883 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26884 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26885 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26886 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26888 if (arg2
== NULL
) {
26889 PyErr_SetString(PyExc_TypeError
,"null reference");
26893 arg3
= wxString_in_helper(obj2
);
26894 if (arg3
== NULL
) SWIG_fail
;
26898 arg4
= (int) SWIG_AsInt(obj3
);
26899 if (PyErr_Occurred()) SWIG_fail
;
26902 arg5
= (int) SWIG_AsInt(obj4
);
26903 if (PyErr_Occurred()) SWIG_fail
;
26906 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxPyTreeItemData
,
26907 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26911 result
= (arg1
)->PrependItem((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
);
26913 wxPyEndAllowThreads(__tstate
);
26914 if (PyErr_Occurred()) SWIG_fail
;
26917 wxTreeItemId
* resultptr
;
26918 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
26919 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
26935 static PyObject
*_wrap_TreeCtrl_InsertItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26936 PyObject
*resultobj
;
26937 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26938 wxTreeItemId
*arg2
= 0 ;
26939 wxTreeItemId
*arg3
= 0 ;
26940 wxString
*arg4
= 0 ;
26941 int arg5
= (int) -1 ;
26942 int arg6
= (int) -1 ;
26943 wxPyTreeItemData
*arg7
= (wxPyTreeItemData
*) NULL
;
26944 wxTreeItemId result
;
26945 bool temp4
= False
;
26946 PyObject
* obj0
= 0 ;
26947 PyObject
* obj1
= 0 ;
26948 PyObject
* obj2
= 0 ;
26949 PyObject
* obj3
= 0 ;
26950 PyObject
* obj4
= 0 ;
26951 PyObject
* obj5
= 0 ;
26952 PyObject
* obj6
= 0 ;
26953 char *kwnames
[] = {
26954 (char *) "self",(char *) "parent",(char *) "idPrevious",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
26957 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:TreeCtrl_InsertItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
26958 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26959 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26960 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26961 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26963 if (arg2
== NULL
) {
26964 PyErr_SetString(PyExc_TypeError
,"null reference");
26967 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxTreeItemId
,
26968 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26970 if (arg3
== NULL
) {
26971 PyErr_SetString(PyExc_TypeError
,"null reference");
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
,(wxTreeItemId
const &)*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_InsertItemBefore(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27018 PyObject
*resultobj
;
27019 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27020 wxTreeItemId
*arg2
= 0 ;
27022 wxString
*arg4
= 0 ;
27023 int arg5
= (int) -1 ;
27024 int arg6
= (int) -1 ;
27025 wxPyTreeItemData
*arg7
= (wxPyTreeItemData
*) NULL
;
27026 wxTreeItemId result
;
27027 bool temp4
= False
;
27028 PyObject
* obj0
= 0 ;
27029 PyObject
* obj1
= 0 ;
27030 PyObject
* obj2
= 0 ;
27031 PyObject
* obj3
= 0 ;
27032 PyObject
* obj4
= 0 ;
27033 PyObject
* obj5
= 0 ;
27034 PyObject
* obj6
= 0 ;
27035 char *kwnames
[] = {
27036 (char *) "self",(char *) "parent",(char *) "index",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
27039 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:TreeCtrl_InsertItemBefore",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
27040 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27041 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27042 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27043 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27045 if (arg2
== NULL
) {
27046 PyErr_SetString(PyExc_TypeError
,"null reference");
27049 arg3
= (size_t) SWIG_AsUnsignedLong(obj2
);
27050 if (PyErr_Occurred()) SWIG_fail
;
27052 arg4
= wxString_in_helper(obj3
);
27053 if (arg4
== NULL
) SWIG_fail
;
27057 arg5
= (int) SWIG_AsInt(obj4
);
27058 if (PyErr_Occurred()) SWIG_fail
;
27061 arg6
= (int) SWIG_AsInt(obj5
);
27062 if (PyErr_Occurred()) SWIG_fail
;
27065 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxPyTreeItemData
,
27066 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27070 result
= (arg1
)->InsertItem((wxTreeItemId
const &)*arg2
,arg3
,(wxString
const &)*arg4
,arg5
,arg6
,arg7
);
27072 wxPyEndAllowThreads(__tstate
);
27073 if (PyErr_Occurred()) SWIG_fail
;
27076 wxTreeItemId
* resultptr
;
27077 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
27078 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
27094 static PyObject
*_wrap_TreeCtrl_AppendItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27095 PyObject
*resultobj
;
27096 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27097 wxTreeItemId
*arg2
= 0 ;
27098 wxString
*arg3
= 0 ;
27099 int arg4
= (int) -1 ;
27100 int arg5
= (int) -1 ;
27101 wxPyTreeItemData
*arg6
= (wxPyTreeItemData
*) NULL
;
27102 wxTreeItemId result
;
27103 bool temp3
= False
;
27104 PyObject
* obj0
= 0 ;
27105 PyObject
* obj1
= 0 ;
27106 PyObject
* obj2
= 0 ;
27107 PyObject
* obj3
= 0 ;
27108 PyObject
* obj4
= 0 ;
27109 PyObject
* obj5
= 0 ;
27110 char *kwnames
[] = {
27111 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
27114 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:TreeCtrl_AppendItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
27115 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27116 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27117 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27118 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27120 if (arg2
== NULL
) {
27121 PyErr_SetString(PyExc_TypeError
,"null reference");
27125 arg3
= wxString_in_helper(obj2
);
27126 if (arg3
== NULL
) SWIG_fail
;
27130 arg4
= (int) SWIG_AsInt(obj3
);
27131 if (PyErr_Occurred()) SWIG_fail
;
27134 arg5
= (int) SWIG_AsInt(obj4
);
27135 if (PyErr_Occurred()) SWIG_fail
;
27138 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxPyTreeItemData
,
27139 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27143 result
= (arg1
)->AppendItem((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
);
27145 wxPyEndAllowThreads(__tstate
);
27146 if (PyErr_Occurred()) SWIG_fail
;
27149 wxTreeItemId
* resultptr
;
27150 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
27151 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
27167 static PyObject
*_wrap_TreeCtrl_Delete(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27168 PyObject
*resultobj
;
27169 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27170 wxTreeItemId
*arg2
= 0 ;
27171 PyObject
* obj0
= 0 ;
27172 PyObject
* obj1
= 0 ;
27173 char *kwnames
[] = {
27174 (char *) "self",(char *) "item", NULL
27177 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Delete",kwnames
,&obj0
,&obj1
)) goto fail
;
27178 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27179 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27180 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27181 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27183 if (arg2
== NULL
) {
27184 PyErr_SetString(PyExc_TypeError
,"null reference");
27188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27189 (arg1
)->Delete((wxTreeItemId
const &)*arg2
);
27191 wxPyEndAllowThreads(__tstate
);
27192 if (PyErr_Occurred()) SWIG_fail
;
27194 Py_INCREF(Py_None
); resultobj
= Py_None
;
27201 static PyObject
*_wrap_TreeCtrl_DeleteChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27202 PyObject
*resultobj
;
27203 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27204 wxTreeItemId
*arg2
= 0 ;
27205 PyObject
* obj0
= 0 ;
27206 PyObject
* obj1
= 0 ;
27207 char *kwnames
[] = {
27208 (char *) "self",(char *) "item", NULL
27211 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_DeleteChildren",kwnames
,&obj0
,&obj1
)) goto fail
;
27212 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27213 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27214 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27215 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27217 if (arg2
== NULL
) {
27218 PyErr_SetString(PyExc_TypeError
,"null reference");
27222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27223 (arg1
)->DeleteChildren((wxTreeItemId
const &)*arg2
);
27225 wxPyEndAllowThreads(__tstate
);
27226 if (PyErr_Occurred()) SWIG_fail
;
27228 Py_INCREF(Py_None
); resultobj
= Py_None
;
27235 static PyObject
*_wrap_TreeCtrl_DeleteAllItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27236 PyObject
*resultobj
;
27237 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27238 PyObject
* obj0
= 0 ;
27239 char *kwnames
[] = {
27240 (char *) "self", NULL
27243 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_DeleteAllItems",kwnames
,&obj0
)) goto fail
;
27244 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27245 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27248 (arg1
)->DeleteAllItems();
27250 wxPyEndAllowThreads(__tstate
);
27251 if (PyErr_Occurred()) SWIG_fail
;
27253 Py_INCREF(Py_None
); resultobj
= Py_None
;
27260 static PyObject
*_wrap_TreeCtrl_Expand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27261 PyObject
*resultobj
;
27262 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27263 wxTreeItemId
*arg2
= 0 ;
27264 PyObject
* obj0
= 0 ;
27265 PyObject
* obj1
= 0 ;
27266 char *kwnames
[] = {
27267 (char *) "self",(char *) "item", NULL
27270 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Expand",kwnames
,&obj0
,&obj1
)) goto fail
;
27271 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27272 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27273 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27274 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27276 if (arg2
== NULL
) {
27277 PyErr_SetString(PyExc_TypeError
,"null reference");
27281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27282 (arg1
)->Expand((wxTreeItemId
const &)*arg2
);
27284 wxPyEndAllowThreads(__tstate
);
27285 if (PyErr_Occurred()) SWIG_fail
;
27287 Py_INCREF(Py_None
); resultobj
= Py_None
;
27294 static PyObject
*_wrap_TreeCtrl_Collapse(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27295 PyObject
*resultobj
;
27296 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27297 wxTreeItemId
*arg2
= 0 ;
27298 PyObject
* obj0
= 0 ;
27299 PyObject
* obj1
= 0 ;
27300 char *kwnames
[] = {
27301 (char *) "self",(char *) "item", NULL
27304 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Collapse",kwnames
,&obj0
,&obj1
)) goto fail
;
27305 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27306 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27307 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27308 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27310 if (arg2
== NULL
) {
27311 PyErr_SetString(PyExc_TypeError
,"null reference");
27315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27316 (arg1
)->Collapse((wxTreeItemId
const &)*arg2
);
27318 wxPyEndAllowThreads(__tstate
);
27319 if (PyErr_Occurred()) SWIG_fail
;
27321 Py_INCREF(Py_None
); resultobj
= Py_None
;
27328 static PyObject
*_wrap_TreeCtrl_CollapseAndReset(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27329 PyObject
*resultobj
;
27330 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27331 wxTreeItemId
*arg2
= 0 ;
27332 PyObject
* obj0
= 0 ;
27333 PyObject
* obj1
= 0 ;
27334 char *kwnames
[] = {
27335 (char *) "self",(char *) "item", NULL
27338 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_CollapseAndReset",kwnames
,&obj0
,&obj1
)) goto fail
;
27339 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27340 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27341 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27342 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27344 if (arg2
== NULL
) {
27345 PyErr_SetString(PyExc_TypeError
,"null reference");
27349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27350 (arg1
)->CollapseAndReset((wxTreeItemId
const &)*arg2
);
27352 wxPyEndAllowThreads(__tstate
);
27353 if (PyErr_Occurred()) SWIG_fail
;
27355 Py_INCREF(Py_None
); resultobj
= Py_None
;
27362 static PyObject
*_wrap_TreeCtrl_Toggle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27363 PyObject
*resultobj
;
27364 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27365 wxTreeItemId
*arg2
= 0 ;
27366 PyObject
* obj0
= 0 ;
27367 PyObject
* obj1
= 0 ;
27368 char *kwnames
[] = {
27369 (char *) "self",(char *) "item", NULL
27372 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Toggle",kwnames
,&obj0
,&obj1
)) goto fail
;
27373 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27374 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27375 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27376 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27378 if (arg2
== NULL
) {
27379 PyErr_SetString(PyExc_TypeError
,"null reference");
27383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27384 (arg1
)->Toggle((wxTreeItemId
const &)*arg2
);
27386 wxPyEndAllowThreads(__tstate
);
27387 if (PyErr_Occurred()) SWIG_fail
;
27389 Py_INCREF(Py_None
); resultobj
= Py_None
;
27396 static PyObject
*_wrap_TreeCtrl_Unselect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27397 PyObject
*resultobj
;
27398 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27399 PyObject
* obj0
= 0 ;
27400 char *kwnames
[] = {
27401 (char *) "self", NULL
27404 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_Unselect",kwnames
,&obj0
)) goto fail
;
27405 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27406 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27409 (arg1
)->Unselect();
27411 wxPyEndAllowThreads(__tstate
);
27412 if (PyErr_Occurred()) SWIG_fail
;
27414 Py_INCREF(Py_None
); resultobj
= Py_None
;
27421 static PyObject
*_wrap_TreeCtrl_UnselectItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27422 PyObject
*resultobj
;
27423 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27424 wxTreeItemId
*arg2
= 0 ;
27425 PyObject
* obj0
= 0 ;
27426 PyObject
* obj1
= 0 ;
27427 char *kwnames
[] = {
27428 (char *) "self",(char *) "item", NULL
27431 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_UnselectItem",kwnames
,&obj0
,&obj1
)) goto fail
;
27432 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27433 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27434 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27435 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27437 if (arg2
== NULL
) {
27438 PyErr_SetString(PyExc_TypeError
,"null reference");
27442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27443 (arg1
)->UnselectItem((wxTreeItemId
const &)*arg2
);
27445 wxPyEndAllowThreads(__tstate
);
27446 if (PyErr_Occurred()) SWIG_fail
;
27448 Py_INCREF(Py_None
); resultobj
= Py_None
;
27455 static PyObject
*_wrap_TreeCtrl_UnselectAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27456 PyObject
*resultobj
;
27457 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27458 PyObject
* obj0
= 0 ;
27459 char *kwnames
[] = {
27460 (char *) "self", NULL
27463 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_UnselectAll",kwnames
,&obj0
)) goto fail
;
27464 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27465 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27468 (arg1
)->UnselectAll();
27470 wxPyEndAllowThreads(__tstate
);
27471 if (PyErr_Occurred()) SWIG_fail
;
27473 Py_INCREF(Py_None
); resultobj
= Py_None
;
27480 static PyObject
*_wrap_TreeCtrl_SelectItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27481 PyObject
*resultobj
;
27482 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27483 wxTreeItemId
*arg2
= 0 ;
27484 bool arg3
= (bool) True
;
27485 PyObject
* obj0
= 0 ;
27486 PyObject
* obj1
= 0 ;
27487 PyObject
* obj2
= 0 ;
27488 char *kwnames
[] = {
27489 (char *) "self",(char *) "item",(char *) "select", NULL
27492 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SelectItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27493 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27494 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27495 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27496 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27498 if (arg2
== NULL
) {
27499 PyErr_SetString(PyExc_TypeError
,"null reference");
27503 arg3
= (bool) SWIG_AsBool(obj2
);
27504 if (PyErr_Occurred()) SWIG_fail
;
27507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27508 (arg1
)->SelectItem((wxTreeItemId
const &)*arg2
,arg3
);
27510 wxPyEndAllowThreads(__tstate
);
27511 if (PyErr_Occurred()) SWIG_fail
;
27513 Py_INCREF(Py_None
); resultobj
= Py_None
;
27520 static PyObject
*_wrap_TreeCtrl_ToggleItemSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27521 PyObject
*resultobj
;
27522 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27523 wxTreeItemId
*arg2
= 0 ;
27524 PyObject
* obj0
= 0 ;
27525 PyObject
* obj1
= 0 ;
27526 char *kwnames
[] = {
27527 (char *) "self",(char *) "item", NULL
27530 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ToggleItemSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
27531 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27532 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27533 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27534 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27536 if (arg2
== NULL
) {
27537 PyErr_SetString(PyExc_TypeError
,"null reference");
27541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27542 (arg1
)->ToggleItemSelection((wxTreeItemId
const &)*arg2
);
27544 wxPyEndAllowThreads(__tstate
);
27545 if (PyErr_Occurred()) SWIG_fail
;
27547 Py_INCREF(Py_None
); resultobj
= Py_None
;
27554 static PyObject
*_wrap_TreeCtrl_EnsureVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27555 PyObject
*resultobj
;
27556 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27557 wxTreeItemId
*arg2
= 0 ;
27558 PyObject
* obj0
= 0 ;
27559 PyObject
* obj1
= 0 ;
27560 char *kwnames
[] = {
27561 (char *) "self",(char *) "item", NULL
27564 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_EnsureVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
27565 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27566 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27567 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27568 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27570 if (arg2
== NULL
) {
27571 PyErr_SetString(PyExc_TypeError
,"null reference");
27575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27576 (arg1
)->EnsureVisible((wxTreeItemId
const &)*arg2
);
27578 wxPyEndAllowThreads(__tstate
);
27579 if (PyErr_Occurred()) SWIG_fail
;
27581 Py_INCREF(Py_None
); resultobj
= Py_None
;
27588 static PyObject
*_wrap_TreeCtrl_ScrollTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27589 PyObject
*resultobj
;
27590 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27591 wxTreeItemId
*arg2
= 0 ;
27592 PyObject
* obj0
= 0 ;
27593 PyObject
* obj1
= 0 ;
27594 char *kwnames
[] = {
27595 (char *) "self",(char *) "item", NULL
27598 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ScrollTo",kwnames
,&obj0
,&obj1
)) goto fail
;
27599 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27600 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27601 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27602 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27604 if (arg2
== NULL
) {
27605 PyErr_SetString(PyExc_TypeError
,"null reference");
27609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27610 (arg1
)->ScrollTo((wxTreeItemId
const &)*arg2
);
27612 wxPyEndAllowThreads(__tstate
);
27613 if (PyErr_Occurred()) SWIG_fail
;
27615 Py_INCREF(Py_None
); resultobj
= Py_None
;
27622 static PyObject
*_wrap_TreeCtrl_EditLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27623 PyObject
*resultobj
;
27624 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27625 wxTreeItemId
*arg2
= 0 ;
27626 PyObject
* obj0
= 0 ;
27627 PyObject
* obj1
= 0 ;
27628 char *kwnames
[] = {
27629 (char *) "self",(char *) "item", NULL
27632 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_EditLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
27633 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27634 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27635 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27636 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27638 if (arg2
== NULL
) {
27639 PyErr_SetString(PyExc_TypeError
,"null reference");
27643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27644 (arg1
)->EditLabel((wxTreeItemId
const &)*arg2
);
27646 wxPyEndAllowThreads(__tstate
);
27647 if (PyErr_Occurred()) SWIG_fail
;
27649 Py_INCREF(Py_None
); resultobj
= Py_None
;
27656 static PyObject
*_wrap_TreeCtrl_GetEditControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27657 PyObject
*resultobj
;
27658 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27659 wxTextCtrl
*result
;
27660 PyObject
* obj0
= 0 ;
27661 char *kwnames
[] = {
27662 (char *) "self", NULL
27665 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetEditControl",kwnames
,&obj0
)) goto fail
;
27666 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27667 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27670 result
= (wxTextCtrl
*)((wxPyTreeCtrl
const *)arg1
)->GetEditControl();
27672 wxPyEndAllowThreads(__tstate
);
27673 if (PyErr_Occurred()) SWIG_fail
;
27676 resultobj
= wxPyMake_wxObject(result
);
27684 static PyObject
*_wrap_TreeCtrl_EndEditLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27685 PyObject
*resultobj
;
27686 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27687 wxTreeItemId
*arg2
= 0 ;
27688 bool arg3
= (bool) False
;
27689 PyObject
* obj0
= 0 ;
27690 PyObject
* obj1
= 0 ;
27691 PyObject
* obj2
= 0 ;
27692 char *kwnames
[] = {
27693 (char *) "self",(char *) "item",(char *) "discardChanges", NULL
27696 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_EndEditLabel",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27697 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27698 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27699 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27700 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27702 if (arg2
== NULL
) {
27703 PyErr_SetString(PyExc_TypeError
,"null reference");
27707 arg3
= (bool) SWIG_AsBool(obj2
);
27708 if (PyErr_Occurred()) SWIG_fail
;
27711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27712 (arg1
)->EndEditLabel((wxTreeItemId
const &)*arg2
,arg3
);
27714 wxPyEndAllowThreads(__tstate
);
27715 if (PyErr_Occurred()) SWIG_fail
;
27717 Py_INCREF(Py_None
); resultobj
= Py_None
;
27724 static PyObject
*_wrap_TreeCtrl_SortChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27725 PyObject
*resultobj
;
27726 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27727 wxTreeItemId
*arg2
= 0 ;
27728 PyObject
* obj0
= 0 ;
27729 PyObject
* obj1
= 0 ;
27730 char *kwnames
[] = {
27731 (char *) "self",(char *) "item", NULL
27734 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SortChildren",kwnames
,&obj0
,&obj1
)) goto fail
;
27735 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27736 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27737 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27738 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27740 if (arg2
== NULL
) {
27741 PyErr_SetString(PyExc_TypeError
,"null reference");
27745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27746 (arg1
)->SortChildren((wxTreeItemId
const &)*arg2
);
27748 wxPyEndAllowThreads(__tstate
);
27749 if (PyErr_Occurred()) SWIG_fail
;
27751 Py_INCREF(Py_None
); resultobj
= Py_None
;
27758 static PyObject
*_wrap_TreeCtrl_HitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27759 PyObject
*resultobj
;
27760 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27761 wxPoint
*arg2
= 0 ;
27763 wxTreeItemId result
;
27766 PyObject
* obj0
= 0 ;
27767 PyObject
* obj1
= 0 ;
27768 char *kwnames
[] = {
27769 (char *) "self",(char *) "point", NULL
27773 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
27774 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27775 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27778 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
27781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27782 result
= (arg1
)->HitTest((wxPoint
const &)*arg2
,*arg3
);
27784 wxPyEndAllowThreads(__tstate
);
27785 if (PyErr_Occurred()) SWIG_fail
;
27788 wxTreeItemId
* resultptr
;
27789 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
27790 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
27793 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
27794 resultobj
= t_output_helper(resultobj
,o
);
27802 static PyObject
*_wrap_TreeCtrl_GetBoundingRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27803 PyObject
*resultobj
;
27804 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27805 wxTreeItemId
*arg2
= 0 ;
27806 bool arg3
= (bool) False
;
27808 PyObject
* obj0
= 0 ;
27809 PyObject
* obj1
= 0 ;
27810 PyObject
* obj2
= 0 ;
27811 char *kwnames
[] = {
27812 (char *) "self",(char *) "item",(char *) "textOnly", NULL
27815 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_GetBoundingRect",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27816 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27817 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27818 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27819 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27821 if (arg2
== NULL
) {
27822 PyErr_SetString(PyExc_TypeError
,"null reference");
27826 arg3
= (bool) SWIG_AsBool(obj2
);
27827 if (PyErr_Occurred()) SWIG_fail
;
27830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27831 result
= (PyObject
*)wxPyTreeCtrl_GetBoundingRect(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
27833 wxPyEndAllowThreads(__tstate
);
27834 if (PyErr_Occurred()) SWIG_fail
;
27836 resultobj
= result
;
27843 static PyObject
*_wrap_TreeCtrl_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27844 PyObject
*resultobj
;
27845 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
27846 wxVisualAttributes result
;
27847 PyObject
* obj0
= 0 ;
27848 char *kwnames
[] = {
27849 (char *) "variant", NULL
27852 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:TreeCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
27854 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
27855 if (PyErr_Occurred()) SWIG_fail
;
27858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27859 result
= wxPyTreeCtrl::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
27861 wxPyEndAllowThreads(__tstate
);
27862 if (PyErr_Occurred()) SWIG_fail
;
27865 wxVisualAttributes
* resultptr
;
27866 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
27867 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
27875 static PyObject
* TreeCtrl_swigregister(PyObject
*self
, PyObject
*args
) {
27877 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27878 SWIG_TypeClientData(SWIGTYPE_p_wxPyTreeCtrl
, obj
);
27880 return Py_BuildValue((char *)"");
27882 static int _wrap_DirDialogDefaultFolderStr_set(PyObject
*_val
) {
27883 PyErr_SetString(PyExc_TypeError
,"Variable DirDialogDefaultFolderStr is read-only.");
27888 static PyObject
*_wrap_DirDialogDefaultFolderStr_get() {
27893 pyobj
= PyUnicode_FromWideChar((&wxPyDirDialogDefaultFolderStr
)->c_str(), (&wxPyDirDialogDefaultFolderStr
)->Len());
27895 pyobj
= PyString_FromStringAndSize((&wxPyDirDialogDefaultFolderStr
)->c_str(), (&wxPyDirDialogDefaultFolderStr
)->Len());
27902 static PyObject
*_wrap_new_GenericDirCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27903 PyObject
*resultobj
;
27904 wxWindow
*arg1
= (wxWindow
*) 0 ;
27905 int arg2
= (int) (int)-1 ;
27906 wxString
const &arg3_defvalue
= wxPyDirDialogDefaultFolderStr
;
27907 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
27908 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
27909 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
27910 wxSize
const &arg5_defvalue
= wxDefaultSize
;
27911 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
27912 long arg6
= (long) wxDIRCTRL_3D_INTERNAL
|wxSUNKEN_BORDER
;
27913 wxString
const &arg7_defvalue
= wxPyEmptyString
;
27914 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
27915 int arg8
= (int) 0 ;
27916 wxString
const &arg9_defvalue
= wxPyTreeCtrlNameStr
;
27917 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
27918 wxGenericDirCtrl
*result
;
27919 bool temp3
= False
;
27922 bool temp7
= False
;
27923 bool temp9
= False
;
27924 PyObject
* obj0
= 0 ;
27925 PyObject
* obj1
= 0 ;
27926 PyObject
* obj2
= 0 ;
27927 PyObject
* obj3
= 0 ;
27928 PyObject
* obj4
= 0 ;
27929 PyObject
* obj5
= 0 ;
27930 PyObject
* obj6
= 0 ;
27931 PyObject
* obj7
= 0 ;
27932 PyObject
* obj8
= 0 ;
27933 char *kwnames
[] = {
27934 (char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
27937 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOO:new_GenericDirCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
27938 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27939 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27941 arg2
= (int const) SWIG_AsInt(obj1
);
27942 if (PyErr_Occurred()) SWIG_fail
;
27946 arg3
= wxString_in_helper(obj2
);
27947 if (arg3
== NULL
) SWIG_fail
;
27954 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
27960 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
27964 arg6
= (long) SWIG_AsLong(obj5
);
27965 if (PyErr_Occurred()) SWIG_fail
;
27969 arg7
= wxString_in_helper(obj6
);
27970 if (arg7
== NULL
) SWIG_fail
;
27975 arg8
= (int) SWIG_AsInt(obj7
);
27976 if (PyErr_Occurred()) SWIG_fail
;
27980 arg9
= wxString_in_helper(obj8
);
27981 if (arg9
== NULL
) SWIG_fail
;
27986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27987 result
= (wxGenericDirCtrl
*)new wxGenericDirCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
,arg8
,(wxString
const &)*arg9
);
27989 wxPyEndAllowThreads(__tstate
);
27990 if (PyErr_Occurred()) SWIG_fail
;
27992 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDirCtrl
, 1);
28023 static PyObject
*_wrap_new_PreGenericDirCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28024 PyObject
*resultobj
;
28025 wxGenericDirCtrl
*result
;
28026 char *kwnames
[] = {
28030 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreGenericDirCtrl",kwnames
)) goto fail
;
28032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28033 result
= (wxGenericDirCtrl
*)new wxGenericDirCtrl();
28035 wxPyEndAllowThreads(__tstate
);
28036 if (PyErr_Occurred()) SWIG_fail
;
28038 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDirCtrl
, 1);
28045 static PyObject
*_wrap_GenericDirCtrl_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28046 PyObject
*resultobj
;
28047 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28048 wxWindow
*arg2
= (wxWindow
*) 0 ;
28049 int arg3
= (int) (int)-1 ;
28050 wxString
const &arg4_defvalue
= wxPyDirDialogDefaultFolderStr
;
28051 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
28052 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
28053 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
28054 wxSize
const &arg6_defvalue
= wxDefaultSize
;
28055 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
28056 long arg7
= (long) wxDIRCTRL_3D_INTERNAL
|wxSUNKEN_BORDER
;
28057 wxString
const &arg8_defvalue
= wxPyEmptyString
;
28058 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
28059 int arg9
= (int) 0 ;
28060 wxString
const &arg10_defvalue
= wxPyTreeCtrlNameStr
;
28061 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
28063 bool temp4
= False
;
28066 bool temp8
= False
;
28067 bool temp10
= False
;
28068 PyObject
* obj0
= 0 ;
28069 PyObject
* obj1
= 0 ;
28070 PyObject
* obj2
= 0 ;
28071 PyObject
* obj3
= 0 ;
28072 PyObject
* obj4
= 0 ;
28073 PyObject
* obj5
= 0 ;
28074 PyObject
* obj6
= 0 ;
28075 PyObject
* obj7
= 0 ;
28076 PyObject
* obj8
= 0 ;
28077 PyObject
* obj9
= 0 ;
28078 char *kwnames
[] = {
28079 (char *) "self",(char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
28082 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOO:GenericDirCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
28083 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28084 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28085 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
28086 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28088 arg3
= (int const) SWIG_AsInt(obj2
);
28089 if (PyErr_Occurred()) SWIG_fail
;
28093 arg4
= wxString_in_helper(obj3
);
28094 if (arg4
== NULL
) SWIG_fail
;
28101 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
28107 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
28111 arg7
= (long) SWIG_AsLong(obj6
);
28112 if (PyErr_Occurred()) SWIG_fail
;
28116 arg8
= wxString_in_helper(obj7
);
28117 if (arg8
== NULL
) SWIG_fail
;
28122 arg9
= (int) SWIG_AsInt(obj8
);
28123 if (PyErr_Occurred()) SWIG_fail
;
28127 arg10
= wxString_in_helper(obj9
);
28128 if (arg10
== NULL
) SWIG_fail
;
28133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28134 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
,arg9
,(wxString
const &)*arg10
);
28136 wxPyEndAllowThreads(__tstate
);
28137 if (PyErr_Occurred()) SWIG_fail
;
28140 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28172 static PyObject
*_wrap_GenericDirCtrl_ExpandPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28173 PyObject
*resultobj
;
28174 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28175 wxString
*arg2
= 0 ;
28177 bool temp2
= False
;
28178 PyObject
* obj0
= 0 ;
28179 PyObject
* obj1
= 0 ;
28180 char *kwnames
[] = {
28181 (char *) "self",(char *) "path", NULL
28184 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_ExpandPath",kwnames
,&obj0
,&obj1
)) goto fail
;
28185 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28186 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28188 arg2
= wxString_in_helper(obj1
);
28189 if (arg2
== NULL
) SWIG_fail
;
28193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28194 result
= (bool)(arg1
)->ExpandPath((wxString
const &)*arg2
);
28196 wxPyEndAllowThreads(__tstate
);
28197 if (PyErr_Occurred()) SWIG_fail
;
28200 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28216 static PyObject
*_wrap_GenericDirCtrl_GetDefaultPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28217 PyObject
*resultobj
;
28218 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28220 PyObject
* obj0
= 0 ;
28221 char *kwnames
[] = {
28222 (char *) "self", NULL
28225 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetDefaultPath",kwnames
,&obj0
)) goto fail
;
28226 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28227 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28230 result
= ((wxGenericDirCtrl
const *)arg1
)->GetDefaultPath();
28232 wxPyEndAllowThreads(__tstate
);
28233 if (PyErr_Occurred()) SWIG_fail
;
28237 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
28239 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
28248 static PyObject
*_wrap_GenericDirCtrl_SetDefaultPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28249 PyObject
*resultobj
;
28250 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28251 wxString
*arg2
= 0 ;
28252 bool temp2
= False
;
28253 PyObject
* obj0
= 0 ;
28254 PyObject
* obj1
= 0 ;
28255 char *kwnames
[] = {
28256 (char *) "self",(char *) "path", NULL
28259 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetDefaultPath",kwnames
,&obj0
,&obj1
)) goto fail
;
28260 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28261 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28263 arg2
= wxString_in_helper(obj1
);
28264 if (arg2
== NULL
) SWIG_fail
;
28268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28269 (arg1
)->SetDefaultPath((wxString
const &)*arg2
);
28271 wxPyEndAllowThreads(__tstate
);
28272 if (PyErr_Occurred()) SWIG_fail
;
28274 Py_INCREF(Py_None
); resultobj
= Py_None
;
28289 static PyObject
*_wrap_GenericDirCtrl_GetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28290 PyObject
*resultobj
;
28291 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28293 PyObject
* obj0
= 0 ;
28294 char *kwnames
[] = {
28295 (char *) "self", NULL
28298 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetPath",kwnames
,&obj0
)) goto fail
;
28299 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28300 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28303 result
= ((wxGenericDirCtrl
const *)arg1
)->GetPath();
28305 wxPyEndAllowThreads(__tstate
);
28306 if (PyErr_Occurred()) SWIG_fail
;
28310 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
28312 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
28321 static PyObject
*_wrap_GenericDirCtrl_GetFilePath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28322 PyObject
*resultobj
;
28323 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28325 PyObject
* obj0
= 0 ;
28326 char *kwnames
[] = {
28327 (char *) "self", NULL
28330 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetFilePath",kwnames
,&obj0
)) goto fail
;
28331 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28332 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28335 result
= ((wxGenericDirCtrl
const *)arg1
)->GetFilePath();
28337 wxPyEndAllowThreads(__tstate
);
28338 if (PyErr_Occurred()) SWIG_fail
;
28342 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
28344 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
28353 static PyObject
*_wrap_GenericDirCtrl_SetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28354 PyObject
*resultobj
;
28355 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28356 wxString
*arg2
= 0 ;
28357 bool temp2
= False
;
28358 PyObject
* obj0
= 0 ;
28359 PyObject
* obj1
= 0 ;
28360 char *kwnames
[] = {
28361 (char *) "self",(char *) "path", NULL
28364 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetPath",kwnames
,&obj0
,&obj1
)) goto fail
;
28365 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28366 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28368 arg2
= wxString_in_helper(obj1
);
28369 if (arg2
== NULL
) SWIG_fail
;
28373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28374 (arg1
)->SetPath((wxString
const &)*arg2
);
28376 wxPyEndAllowThreads(__tstate
);
28377 if (PyErr_Occurred()) SWIG_fail
;
28379 Py_INCREF(Py_None
); resultobj
= Py_None
;
28394 static PyObject
*_wrap_GenericDirCtrl_ShowHidden(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28395 PyObject
*resultobj
;
28396 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28398 PyObject
* obj0
= 0 ;
28399 PyObject
* obj1
= 0 ;
28400 char *kwnames
[] = {
28401 (char *) "self",(char *) "show", NULL
28404 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_ShowHidden",kwnames
,&obj0
,&obj1
)) goto fail
;
28405 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28406 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28407 arg2
= (bool) SWIG_AsBool(obj1
);
28408 if (PyErr_Occurred()) SWIG_fail
;
28410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28411 (arg1
)->ShowHidden(arg2
);
28413 wxPyEndAllowThreads(__tstate
);
28414 if (PyErr_Occurred()) SWIG_fail
;
28416 Py_INCREF(Py_None
); resultobj
= Py_None
;
28423 static PyObject
*_wrap_GenericDirCtrl_GetShowHidden(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28424 PyObject
*resultobj
;
28425 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28427 PyObject
* obj0
= 0 ;
28428 char *kwnames
[] = {
28429 (char *) "self", NULL
28432 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetShowHidden",kwnames
,&obj0
)) goto fail
;
28433 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28434 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28437 result
= (bool)(arg1
)->GetShowHidden();
28439 wxPyEndAllowThreads(__tstate
);
28440 if (PyErr_Occurred()) SWIG_fail
;
28443 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28451 static PyObject
*_wrap_GenericDirCtrl_GetFilter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28452 PyObject
*resultobj
;
28453 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28455 PyObject
* obj0
= 0 ;
28456 char *kwnames
[] = {
28457 (char *) "self", NULL
28460 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetFilter",kwnames
,&obj0
)) goto fail
;
28461 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28462 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28465 result
= ((wxGenericDirCtrl
const *)arg1
)->GetFilter();
28467 wxPyEndAllowThreads(__tstate
);
28468 if (PyErr_Occurred()) SWIG_fail
;
28472 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
28474 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
28483 static PyObject
*_wrap_GenericDirCtrl_SetFilter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28484 PyObject
*resultobj
;
28485 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28486 wxString
*arg2
= 0 ;
28487 bool temp2
= False
;
28488 PyObject
* obj0
= 0 ;
28489 PyObject
* obj1
= 0 ;
28490 char *kwnames
[] = {
28491 (char *) "self",(char *) "filter", NULL
28494 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetFilter",kwnames
,&obj0
,&obj1
)) goto fail
;
28495 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28496 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28498 arg2
= wxString_in_helper(obj1
);
28499 if (arg2
== NULL
) SWIG_fail
;
28503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28504 (arg1
)->SetFilter((wxString
const &)*arg2
);
28506 wxPyEndAllowThreads(__tstate
);
28507 if (PyErr_Occurred()) SWIG_fail
;
28509 Py_INCREF(Py_None
); resultobj
= Py_None
;
28524 static PyObject
*_wrap_GenericDirCtrl_GetFilterIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28525 PyObject
*resultobj
;
28526 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28528 PyObject
* obj0
= 0 ;
28529 char *kwnames
[] = {
28530 (char *) "self", NULL
28533 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetFilterIndex",kwnames
,&obj0
)) goto fail
;
28534 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28535 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28538 result
= (int)((wxGenericDirCtrl
const *)arg1
)->GetFilterIndex();
28540 wxPyEndAllowThreads(__tstate
);
28541 if (PyErr_Occurred()) SWIG_fail
;
28543 resultobj
= SWIG_FromInt((int)result
);
28550 static PyObject
*_wrap_GenericDirCtrl_SetFilterIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28551 PyObject
*resultobj
;
28552 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28554 PyObject
* obj0
= 0 ;
28555 PyObject
* obj1
= 0 ;
28556 char *kwnames
[] = {
28557 (char *) "self",(char *) "n", NULL
28560 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetFilterIndex",kwnames
,&obj0
,&obj1
)) goto fail
;
28561 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28562 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28563 arg2
= (int) SWIG_AsInt(obj1
);
28564 if (PyErr_Occurred()) SWIG_fail
;
28566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28567 (arg1
)->SetFilterIndex(arg2
);
28569 wxPyEndAllowThreads(__tstate
);
28570 if (PyErr_Occurred()) SWIG_fail
;
28572 Py_INCREF(Py_None
); resultobj
= Py_None
;
28579 static PyObject
*_wrap_GenericDirCtrl_GetRootId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28580 PyObject
*resultobj
;
28581 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28582 wxTreeItemId result
;
28583 PyObject
* obj0
= 0 ;
28584 char *kwnames
[] = {
28585 (char *) "self", NULL
28588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetRootId",kwnames
,&obj0
)) goto fail
;
28589 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28590 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28593 result
= (arg1
)->GetRootId();
28595 wxPyEndAllowThreads(__tstate
);
28596 if (PyErr_Occurred()) SWIG_fail
;
28599 wxTreeItemId
* resultptr
;
28600 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
28601 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
28609 static PyObject
*_wrap_GenericDirCtrl_GetTreeCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28610 PyObject
*resultobj
;
28611 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28612 wxPyTreeCtrl
*result
;
28613 PyObject
* obj0
= 0 ;
28614 char *kwnames
[] = {
28615 (char *) "self", NULL
28618 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetTreeCtrl",kwnames
,&obj0
)) goto fail
;
28619 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28620 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28623 result
= (wxPyTreeCtrl
*)((wxGenericDirCtrl
const *)arg1
)->GetTreeCtrl();
28625 wxPyEndAllowThreads(__tstate
);
28626 if (PyErr_Occurred()) SWIG_fail
;
28629 resultobj
= wxPyMake_wxObject(result
);
28637 static PyObject
*_wrap_GenericDirCtrl_GetFilterListCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28638 PyObject
*resultobj
;
28639 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28640 wxDirFilterListCtrl
*result
;
28641 PyObject
* obj0
= 0 ;
28642 char *kwnames
[] = {
28643 (char *) "self", NULL
28646 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetFilterListCtrl",kwnames
,&obj0
)) goto fail
;
28647 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28648 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28651 result
= (wxDirFilterListCtrl
*)((wxGenericDirCtrl
const *)arg1
)->GetFilterListCtrl();
28653 wxPyEndAllowThreads(__tstate
);
28654 if (PyErr_Occurred()) SWIG_fail
;
28656 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDirFilterListCtrl
, 0);
28663 static PyObject
*_wrap_GenericDirCtrl_FindChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28664 PyObject
*resultobj
;
28665 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28666 wxTreeItemId arg2
;
28667 wxString
*arg3
= 0 ;
28669 wxTreeItemId result
;
28670 wxTreeItemId
*argp2
;
28671 bool temp3
= False
;
28673 PyObject
* obj0
= 0 ;
28674 PyObject
* obj1
= 0 ;
28675 PyObject
* obj2
= 0 ;
28676 char *kwnames
[] = {
28677 (char *) "self",(char *) "parentId",(char *) "path", NULL
28681 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GenericDirCtrl_FindChild",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28682 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28683 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28684 if ((SWIG_ConvertPtr(obj1
,(void **)(&argp2
),SWIGTYPE_p_wxTreeItemId
,
28685 SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
28688 arg3
= wxString_in_helper(obj2
);
28689 if (arg3
== NULL
) SWIG_fail
;
28693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28694 result
= (arg1
)->FindChild(arg2
,(wxString
const &)*arg3
,*arg4
);
28696 wxPyEndAllowThreads(__tstate
);
28697 if (PyErr_Occurred()) SWIG_fail
;
28700 wxTreeItemId
* resultptr
;
28701 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
28702 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
28705 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
28706 resultobj
= t_output_helper(resultobj
,o
);
28722 static PyObject
*_wrap_GenericDirCtrl_DoResize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28723 PyObject
*resultobj
;
28724 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28725 PyObject
* obj0
= 0 ;
28726 char *kwnames
[] = {
28727 (char *) "self", NULL
28730 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_DoResize",kwnames
,&obj0
)) goto fail
;
28731 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28732 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28735 (arg1
)->DoResize();
28737 wxPyEndAllowThreads(__tstate
);
28738 if (PyErr_Occurred()) SWIG_fail
;
28740 Py_INCREF(Py_None
); resultobj
= Py_None
;
28747 static PyObject
*_wrap_GenericDirCtrl_ReCreateTree(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28748 PyObject
*resultobj
;
28749 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28750 PyObject
* obj0
= 0 ;
28751 char *kwnames
[] = {
28752 (char *) "self", NULL
28755 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_ReCreateTree",kwnames
,&obj0
)) goto fail
;
28756 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28757 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28760 (arg1
)->ReCreateTree();
28762 wxPyEndAllowThreads(__tstate
);
28763 if (PyErr_Occurred()) SWIG_fail
;
28765 Py_INCREF(Py_None
); resultobj
= Py_None
;
28772 static PyObject
* GenericDirCtrl_swigregister(PyObject
*self
, PyObject
*args
) {
28774 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28775 SWIG_TypeClientData(SWIGTYPE_p_wxGenericDirCtrl
, obj
);
28777 return Py_BuildValue((char *)"");
28779 static PyObject
*_wrap_new_DirFilterListCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28780 PyObject
*resultobj
;
28781 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28782 int arg2
= (int) (int)-1 ;
28783 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
28784 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
28785 wxSize
const &arg4_defvalue
= wxDefaultSize
;
28786 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
28787 long arg5
= (long) 0 ;
28788 wxDirFilterListCtrl
*result
;
28791 PyObject
* obj0
= 0 ;
28792 PyObject
* obj1
= 0 ;
28793 PyObject
* obj2
= 0 ;
28794 PyObject
* obj3
= 0 ;
28795 PyObject
* obj4
= 0 ;
28796 char *kwnames
[] = {
28797 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
28800 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:new_DirFilterListCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
28801 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28802 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28804 arg2
= (int const) SWIG_AsInt(obj1
);
28805 if (PyErr_Occurred()) SWIG_fail
;
28810 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
28816 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
28820 arg5
= (long) SWIG_AsLong(obj4
);
28821 if (PyErr_Occurred()) SWIG_fail
;
28824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28825 result
= (wxDirFilterListCtrl
*)new wxDirFilterListCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
);
28827 wxPyEndAllowThreads(__tstate
);
28828 if (PyErr_Occurred()) SWIG_fail
;
28830 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDirFilterListCtrl
, 1);
28837 static PyObject
*_wrap_new_PreDirFilterListCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28838 PyObject
*resultobj
;
28839 wxDirFilterListCtrl
*result
;
28840 char *kwnames
[] = {
28844 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreDirFilterListCtrl",kwnames
)) goto fail
;
28846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28847 result
= (wxDirFilterListCtrl
*)new wxDirFilterListCtrl();
28849 wxPyEndAllowThreads(__tstate
);
28850 if (PyErr_Occurred()) SWIG_fail
;
28852 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDirFilterListCtrl
, 1);
28859 static PyObject
*_wrap_DirFilterListCtrl_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28860 PyObject
*resultobj
;
28861 wxDirFilterListCtrl
*arg1
= (wxDirFilterListCtrl
*) 0 ;
28862 wxGenericDirCtrl
*arg2
= (wxGenericDirCtrl
*) 0 ;
28863 int arg3
= (int) (int)-1 ;
28864 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
28865 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
28866 wxSize
const &arg5_defvalue
= wxDefaultSize
;
28867 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
28868 long arg6
= (long) 0 ;
28872 PyObject
* obj0
= 0 ;
28873 PyObject
* obj1
= 0 ;
28874 PyObject
* obj2
= 0 ;
28875 PyObject
* obj3
= 0 ;
28876 PyObject
* obj4
= 0 ;
28877 PyObject
* obj5
= 0 ;
28878 char *kwnames
[] = {
28879 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
28882 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:DirFilterListCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
28883 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDirFilterListCtrl
,
28884 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28885 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxGenericDirCtrl
,
28886 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28888 arg3
= (int const) SWIG_AsInt(obj2
);
28889 if (PyErr_Occurred()) SWIG_fail
;
28894 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
28900 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
28904 arg6
= (long) SWIG_AsLong(obj5
);
28905 if (PyErr_Occurred()) SWIG_fail
;
28908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28909 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
);
28911 wxPyEndAllowThreads(__tstate
);
28912 if (PyErr_Occurred()) SWIG_fail
;
28915 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28923 static PyObject
*_wrap_DirFilterListCtrl_FillFilterList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28924 PyObject
*resultobj
;
28925 wxDirFilterListCtrl
*arg1
= (wxDirFilterListCtrl
*) 0 ;
28926 wxString
*arg2
= 0 ;
28928 bool temp2
= False
;
28929 PyObject
* obj0
= 0 ;
28930 PyObject
* obj1
= 0 ;
28931 PyObject
* obj2
= 0 ;
28932 char *kwnames
[] = {
28933 (char *) "self",(char *) "filter",(char *) "defaultFilter", NULL
28936 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DirFilterListCtrl_FillFilterList",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28937 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDirFilterListCtrl
,
28938 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28940 arg2
= wxString_in_helper(obj1
);
28941 if (arg2
== NULL
) SWIG_fail
;
28944 arg3
= (int) SWIG_AsInt(obj2
);
28945 if (PyErr_Occurred()) SWIG_fail
;
28947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28948 (arg1
)->FillFilterList((wxString
const &)*arg2
,arg3
);
28950 wxPyEndAllowThreads(__tstate
);
28951 if (PyErr_Occurred()) SWIG_fail
;
28953 Py_INCREF(Py_None
); resultobj
= Py_None
;
28968 static PyObject
* DirFilterListCtrl_swigregister(PyObject
*self
, PyObject
*args
) {
28970 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28971 SWIG_TypeClientData(SWIGTYPE_p_wxDirFilterListCtrl
, obj
);
28973 return Py_BuildValue((char *)"");
28975 static PyObject
*_wrap_new_PyControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28976 PyObject
*resultobj
;
28977 wxWindow
*arg1
= (wxWindow
*) 0 ;
28979 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
28980 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
28981 wxSize
const &arg4_defvalue
= wxDefaultSize
;
28982 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
28983 long arg5
= (long) 0 ;
28984 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
28985 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
28986 wxString
const &arg7_defvalue
= wxPyControlNameStr
;
28987 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
28988 wxPyControl
*result
;
28991 bool temp7
= False
;
28992 PyObject
* obj0
= 0 ;
28993 PyObject
* obj1
= 0 ;
28994 PyObject
* obj2
= 0 ;
28995 PyObject
* obj3
= 0 ;
28996 PyObject
* obj4
= 0 ;
28997 PyObject
* obj5
= 0 ;
28998 PyObject
* obj6
= 0 ;
28999 char *kwnames
[] = {
29000 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
29003 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:new_PyControl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
29004 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
29005 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29006 arg2
= (int const) SWIG_AsInt(obj1
);
29007 if (PyErr_Occurred()) SWIG_fail
;
29011 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
29017 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
29021 arg5
= (long) SWIG_AsLong(obj4
);
29022 if (PyErr_Occurred()) SWIG_fail
;
29025 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxValidator
,
29026 SWIG_POINTER_EXCEPTION
| 0)) == -1)
29028 if (arg6
== NULL
) {
29029 PyErr_SetString(PyExc_TypeError
,"null reference");
29035 arg7
= wxString_in_helper(obj6
);
29036 if (arg7
== NULL
) SWIG_fail
;
29041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29042 result
= (wxPyControl
*)new wxPyControl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
29044 wxPyEndAllowThreads(__tstate
);
29045 if (PyErr_Occurred()) SWIG_fail
;
29047 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyControl
, 1);
29062 static PyObject
*_wrap_new_PrePyControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29063 PyObject
*resultobj
;
29064 wxPyControl
*result
;
29065 char *kwnames
[] = {
29069 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePyControl",kwnames
)) goto fail
;
29071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29072 result
= (wxPyControl
*)new wxPyControl();
29074 wxPyEndAllowThreads(__tstate
);
29075 if (PyErr_Occurred()) SWIG_fail
;
29077 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyControl
, 1);
29084 static PyObject
*_wrap_PyControl__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29085 PyObject
*resultobj
;
29086 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29087 PyObject
*arg2
= (PyObject
*) 0 ;
29088 PyObject
*arg3
= (PyObject
*) 0 ;
29089 PyObject
* obj0
= 0 ;
29090 PyObject
* obj1
= 0 ;
29091 PyObject
* obj2
= 0 ;
29092 char *kwnames
[] = {
29093 (char *) "self",(char *) "self",(char *) "_class", NULL
29096 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29097 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29098 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29103 (arg1
)->_setCallbackInfo(arg2
,arg3
);
29105 wxPyEndAllowThreads(__tstate
);
29106 if (PyErr_Occurred()) SWIG_fail
;
29108 Py_INCREF(Py_None
); resultobj
= Py_None
;
29115 static PyObject
*_wrap_PyControl_SetBestSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29116 PyObject
*resultobj
;
29117 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29120 PyObject
* obj0
= 0 ;
29121 PyObject
* obj1
= 0 ;
29122 char *kwnames
[] = {
29123 (char *) "self",(char *) "size", NULL
29126 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControl_SetBestSize",kwnames
,&obj0
,&obj1
)) goto fail
;
29127 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29128 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29131 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
29134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29135 (arg1
)->SetBestSize((wxSize
const &)*arg2
);
29137 wxPyEndAllowThreads(__tstate
);
29138 if (PyErr_Occurred()) SWIG_fail
;
29140 Py_INCREF(Py_None
); resultobj
= Py_None
;
29147 static PyObject
*_wrap_PyControl_base_DoMoveWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29148 PyObject
*resultobj
;
29149 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29154 PyObject
* obj0
= 0 ;
29155 PyObject
* obj1
= 0 ;
29156 PyObject
* obj2
= 0 ;
29157 PyObject
* obj3
= 0 ;
29158 PyObject
* obj4
= 0 ;
29159 char *kwnames
[] = {
29160 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
29163 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyControl_base_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
29164 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29165 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29166 arg2
= (int) SWIG_AsInt(obj1
);
29167 if (PyErr_Occurred()) SWIG_fail
;
29168 arg3
= (int) SWIG_AsInt(obj2
);
29169 if (PyErr_Occurred()) SWIG_fail
;
29170 arg4
= (int) SWIG_AsInt(obj3
);
29171 if (PyErr_Occurred()) SWIG_fail
;
29172 arg5
= (int) SWIG_AsInt(obj4
);
29173 if (PyErr_Occurred()) SWIG_fail
;
29175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29176 (arg1
)->base_DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
29178 wxPyEndAllowThreads(__tstate
);
29179 if (PyErr_Occurred()) SWIG_fail
;
29181 Py_INCREF(Py_None
); resultobj
= Py_None
;
29188 static PyObject
*_wrap_PyControl_base_DoSetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29189 PyObject
*resultobj
;
29190 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29195 int arg6
= (int) wxSIZE_AUTO
;
29196 PyObject
* obj0
= 0 ;
29197 PyObject
* obj1
= 0 ;
29198 PyObject
* obj2
= 0 ;
29199 PyObject
* obj3
= 0 ;
29200 PyObject
* obj4
= 0 ;
29201 PyObject
* obj5
= 0 ;
29202 char *kwnames
[] = {
29203 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
29206 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyControl_base_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
29207 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29208 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29209 arg2
= (int) SWIG_AsInt(obj1
);
29210 if (PyErr_Occurred()) SWIG_fail
;
29211 arg3
= (int) SWIG_AsInt(obj2
);
29212 if (PyErr_Occurred()) SWIG_fail
;
29213 arg4
= (int) SWIG_AsInt(obj3
);
29214 if (PyErr_Occurred()) SWIG_fail
;
29215 arg5
= (int) SWIG_AsInt(obj4
);
29216 if (PyErr_Occurred()) SWIG_fail
;
29218 arg6
= (int) SWIG_AsInt(obj5
);
29219 if (PyErr_Occurred()) SWIG_fail
;
29222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29223 (arg1
)->base_DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
29225 wxPyEndAllowThreads(__tstate
);
29226 if (PyErr_Occurred()) SWIG_fail
;
29228 Py_INCREF(Py_None
); resultobj
= Py_None
;
29235 static PyObject
*_wrap_PyControl_base_DoSetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29236 PyObject
*resultobj
;
29237 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29240 PyObject
* obj0
= 0 ;
29241 PyObject
* obj1
= 0 ;
29242 PyObject
* obj2
= 0 ;
29243 char *kwnames
[] = {
29244 (char *) "self",(char *) "width",(char *) "height", NULL
29247 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControl_base_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29248 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29249 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29250 arg2
= (int) SWIG_AsInt(obj1
);
29251 if (PyErr_Occurred()) SWIG_fail
;
29252 arg3
= (int) SWIG_AsInt(obj2
);
29253 if (PyErr_Occurred()) SWIG_fail
;
29255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29256 (arg1
)->base_DoSetClientSize(arg2
,arg3
);
29258 wxPyEndAllowThreads(__tstate
);
29259 if (PyErr_Occurred()) SWIG_fail
;
29261 Py_INCREF(Py_None
); resultobj
= Py_None
;
29268 static PyObject
*_wrap_PyControl_base_DoSetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29269 PyObject
*resultobj
;
29270 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29273 PyObject
* obj0
= 0 ;
29274 PyObject
* obj1
= 0 ;
29275 PyObject
* obj2
= 0 ;
29276 char *kwnames
[] = {
29277 (char *) "self",(char *) "x",(char *) "y", NULL
29280 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControl_base_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29281 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29282 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29283 arg2
= (int) SWIG_AsInt(obj1
);
29284 if (PyErr_Occurred()) SWIG_fail
;
29285 arg3
= (int) SWIG_AsInt(obj2
);
29286 if (PyErr_Occurred()) SWIG_fail
;
29288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29289 (arg1
)->base_DoSetVirtualSize(arg2
,arg3
);
29291 wxPyEndAllowThreads(__tstate
);
29292 if (PyErr_Occurred()) SWIG_fail
;
29294 Py_INCREF(Py_None
); resultobj
= Py_None
;
29301 static PyObject
*_wrap_PyControl_base_DoGetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29302 PyObject
*resultobj
;
29303 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29304 int *arg2
= (int *) 0 ;
29305 int *arg3
= (int *) 0 ;
29308 PyObject
* obj0
= 0 ;
29309 char *kwnames
[] = {
29310 (char *) "self", NULL
29315 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetSize",kwnames
,&obj0
)) goto fail
;
29316 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29317 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29320 ((wxPyControl
const *)arg1
)->base_DoGetSize(arg2
,arg3
);
29322 wxPyEndAllowThreads(__tstate
);
29323 if (PyErr_Occurred()) SWIG_fail
;
29325 Py_INCREF(Py_None
); resultobj
= Py_None
;
29327 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
29328 resultobj
= t_output_helper(resultobj
,o
);
29331 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
29332 resultobj
= t_output_helper(resultobj
,o
);
29340 static PyObject
*_wrap_PyControl_base_DoGetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29341 PyObject
*resultobj
;
29342 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29343 int *arg2
= (int *) 0 ;
29344 int *arg3
= (int *) 0 ;
29347 PyObject
* obj0
= 0 ;
29348 char *kwnames
[] = {
29349 (char *) "self", NULL
29354 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetClientSize",kwnames
,&obj0
)) goto fail
;
29355 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29356 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29359 ((wxPyControl
const *)arg1
)->base_DoGetClientSize(arg2
,arg3
);
29361 wxPyEndAllowThreads(__tstate
);
29362 if (PyErr_Occurred()) SWIG_fail
;
29364 Py_INCREF(Py_None
); resultobj
= Py_None
;
29366 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
29367 resultobj
= t_output_helper(resultobj
,o
);
29370 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
29371 resultobj
= t_output_helper(resultobj
,o
);
29379 static PyObject
*_wrap_PyControl_base_DoGetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29380 PyObject
*resultobj
;
29381 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29382 int *arg2
= (int *) 0 ;
29383 int *arg3
= (int *) 0 ;
29386 PyObject
* obj0
= 0 ;
29387 char *kwnames
[] = {
29388 (char *) "self", NULL
29393 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetPosition",kwnames
,&obj0
)) goto fail
;
29394 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29395 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29398 ((wxPyControl
const *)arg1
)->base_DoGetPosition(arg2
,arg3
);
29400 wxPyEndAllowThreads(__tstate
);
29401 if (PyErr_Occurred()) SWIG_fail
;
29403 Py_INCREF(Py_None
); resultobj
= Py_None
;
29405 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
29406 resultobj
= t_output_helper(resultobj
,o
);
29409 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
29410 resultobj
= t_output_helper(resultobj
,o
);
29418 static PyObject
*_wrap_PyControl_base_DoGetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29419 PyObject
*resultobj
;
29420 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29422 PyObject
* obj0
= 0 ;
29423 char *kwnames
[] = {
29424 (char *) "self", NULL
29427 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetVirtualSize",kwnames
,&obj0
)) goto fail
;
29428 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29429 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29432 result
= ((wxPyControl
const *)arg1
)->base_DoGetVirtualSize();
29434 wxPyEndAllowThreads(__tstate
);
29435 if (PyErr_Occurred()) SWIG_fail
;
29438 wxSize
* resultptr
;
29439 resultptr
= new wxSize((wxSize
&) result
);
29440 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
29448 static PyObject
*_wrap_PyControl_base_DoGetBestSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29449 PyObject
*resultobj
;
29450 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29452 PyObject
* obj0
= 0 ;
29453 char *kwnames
[] = {
29454 (char *) "self", NULL
29457 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetBestSize",kwnames
,&obj0
)) goto fail
;
29458 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29459 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29462 result
= ((wxPyControl
const *)arg1
)->base_DoGetBestSize();
29464 wxPyEndAllowThreads(__tstate
);
29465 if (PyErr_Occurred()) SWIG_fail
;
29468 wxSize
* resultptr
;
29469 resultptr
= new wxSize((wxSize
&) result
);
29470 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
29478 static PyObject
*_wrap_PyControl_base_InitDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29479 PyObject
*resultobj
;
29480 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29481 PyObject
* obj0
= 0 ;
29482 char *kwnames
[] = {
29483 (char *) "self", NULL
29486 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_InitDialog",kwnames
,&obj0
)) goto fail
;
29487 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29488 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29491 (arg1
)->base_InitDialog();
29493 wxPyEndAllowThreads(__tstate
);
29494 if (PyErr_Occurred()) SWIG_fail
;
29496 Py_INCREF(Py_None
); resultobj
= Py_None
;
29503 static PyObject
*_wrap_PyControl_base_TransferDataToWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29504 PyObject
*resultobj
;
29505 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29507 PyObject
* obj0
= 0 ;
29508 char *kwnames
[] = {
29509 (char *) "self", NULL
29512 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_TransferDataToWindow",kwnames
,&obj0
)) goto fail
;
29513 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29514 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29517 result
= (bool)(arg1
)->base_TransferDataToWindow();
29519 wxPyEndAllowThreads(__tstate
);
29520 if (PyErr_Occurred()) SWIG_fail
;
29523 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29531 static PyObject
*_wrap_PyControl_base_TransferDataFromWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29532 PyObject
*resultobj
;
29533 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29535 PyObject
* obj0
= 0 ;
29536 char *kwnames
[] = {
29537 (char *) "self", NULL
29540 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_TransferDataFromWindow",kwnames
,&obj0
)) goto fail
;
29541 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29542 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29545 result
= (bool)(arg1
)->base_TransferDataFromWindow();
29547 wxPyEndAllowThreads(__tstate
);
29548 if (PyErr_Occurred()) SWIG_fail
;
29551 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29559 static PyObject
*_wrap_PyControl_base_Validate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29560 PyObject
*resultobj
;
29561 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29563 PyObject
* obj0
= 0 ;
29564 char *kwnames
[] = {
29565 (char *) "self", NULL
29568 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_Validate",kwnames
,&obj0
)) goto fail
;
29569 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29570 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29573 result
= (bool)(arg1
)->base_Validate();
29575 wxPyEndAllowThreads(__tstate
);
29576 if (PyErr_Occurred()) SWIG_fail
;
29579 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29587 static PyObject
*_wrap_PyControl_base_AcceptsFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29588 PyObject
*resultobj
;
29589 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29591 PyObject
* obj0
= 0 ;
29592 char *kwnames
[] = {
29593 (char *) "self", NULL
29596 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_AcceptsFocus",kwnames
,&obj0
)) goto fail
;
29597 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29598 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29601 result
= (bool)((wxPyControl
const *)arg1
)->base_AcceptsFocus();
29603 wxPyEndAllowThreads(__tstate
);
29604 if (PyErr_Occurred()) SWIG_fail
;
29607 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29615 static PyObject
*_wrap_PyControl_base_AcceptsFocusFromKeyboard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29616 PyObject
*resultobj
;
29617 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29619 PyObject
* obj0
= 0 ;
29620 char *kwnames
[] = {
29621 (char *) "self", NULL
29624 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_AcceptsFocusFromKeyboard",kwnames
,&obj0
)) goto fail
;
29625 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29626 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29629 result
= (bool)((wxPyControl
const *)arg1
)->base_AcceptsFocusFromKeyboard();
29631 wxPyEndAllowThreads(__tstate
);
29632 if (PyErr_Occurred()) SWIG_fail
;
29635 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29643 static PyObject
*_wrap_PyControl_base_GetMaxSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29644 PyObject
*resultobj
;
29645 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29647 PyObject
* obj0
= 0 ;
29648 char *kwnames
[] = {
29649 (char *) "self", NULL
29652 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_GetMaxSize",kwnames
,&obj0
)) goto fail
;
29653 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29654 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29657 result
= ((wxPyControl
const *)arg1
)->base_GetMaxSize();
29659 wxPyEndAllowThreads(__tstate
);
29660 if (PyErr_Occurred()) SWIG_fail
;
29663 wxSize
* resultptr
;
29664 resultptr
= new wxSize((wxSize
&) result
);
29665 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
29673 static PyObject
*_wrap_PyControl_base_AddChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29674 PyObject
*resultobj
;
29675 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29676 wxWindow
*arg2
= (wxWindow
*) 0 ;
29677 PyObject
* obj0
= 0 ;
29678 PyObject
* obj1
= 0 ;
29679 char *kwnames
[] = {
29680 (char *) "self",(char *) "child", NULL
29683 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControl_base_AddChild",kwnames
,&obj0
,&obj1
)) goto fail
;
29684 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29685 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29686 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
29687 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29690 (arg1
)->base_AddChild(arg2
);
29692 wxPyEndAllowThreads(__tstate
);
29693 if (PyErr_Occurred()) SWIG_fail
;
29695 Py_INCREF(Py_None
); resultobj
= Py_None
;
29702 static PyObject
*_wrap_PyControl_base_RemoveChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29703 PyObject
*resultobj
;
29704 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29705 wxWindow
*arg2
= (wxWindow
*) 0 ;
29706 PyObject
* obj0
= 0 ;
29707 PyObject
* obj1
= 0 ;
29708 char *kwnames
[] = {
29709 (char *) "self",(char *) "child", NULL
29712 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControl_base_RemoveChild",kwnames
,&obj0
,&obj1
)) goto fail
;
29713 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29714 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29715 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
29716 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29719 (arg1
)->base_RemoveChild(arg2
);
29721 wxPyEndAllowThreads(__tstate
);
29722 if (PyErr_Occurred()) SWIG_fail
;
29724 Py_INCREF(Py_None
); resultobj
= Py_None
;
29731 static PyObject
*_wrap_PyControl_base_ShouldInheritColours(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29732 PyObject
*resultobj
;
29733 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29735 PyObject
* obj0
= 0 ;
29736 char *kwnames
[] = {
29737 (char *) "self", NULL
29740 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_ShouldInheritColours",kwnames
,&obj0
)) goto fail
;
29741 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29742 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29745 result
= (bool)((wxPyControl
const *)arg1
)->base_ShouldInheritColours();
29747 wxPyEndAllowThreads(__tstate
);
29748 if (PyErr_Occurred()) SWIG_fail
;
29751 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29759 static PyObject
*_wrap_PyControl_base_ApplyParentThemeBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29760 PyObject
*resultobj
;
29761 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29762 wxColour
*arg2
= 0 ;
29764 PyObject
* obj0
= 0 ;
29765 PyObject
* obj1
= 0 ;
29766 char *kwnames
[] = {
29767 (char *) "self",(char *) "c", NULL
29770 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControl_base_ApplyParentThemeBackground",kwnames
,&obj0
,&obj1
)) goto fail
;
29771 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29772 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29775 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
29778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29779 (arg1
)->base_ApplyParentThemeBackground((wxColour
const &)*arg2
);
29781 wxPyEndAllowThreads(__tstate
);
29782 if (PyErr_Occurred()) SWIG_fail
;
29784 Py_INCREF(Py_None
); resultobj
= Py_None
;
29791 static PyObject
*_wrap_PyControl_base_GetDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29792 PyObject
*resultobj
;
29793 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29794 wxVisualAttributes result
;
29795 PyObject
* obj0
= 0 ;
29796 char *kwnames
[] = {
29797 (char *) "self", NULL
29800 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_GetDefaultAttributes",kwnames
,&obj0
)) goto fail
;
29801 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29802 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29805 result
= (arg1
)->base_GetDefaultAttributes();
29807 wxPyEndAllowThreads(__tstate
);
29808 if (PyErr_Occurred()) SWIG_fail
;
29811 wxVisualAttributes
* resultptr
;
29812 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
29813 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
29821 static PyObject
* PyControl_swigregister(PyObject
*self
, PyObject
*args
) {
29823 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
29824 SWIG_TypeClientData(SWIGTYPE_p_wxPyControl
, obj
);
29826 return Py_BuildValue((char *)"");
29828 static PyObject
*_wrap_new_HelpEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29829 PyObject
*resultobj
;
29830 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
29831 int arg2
= (int) 0 ;
29832 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
29833 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
29834 wxHelpEvent
*result
;
29836 PyObject
* obj0
= 0 ;
29837 PyObject
* obj1
= 0 ;
29838 PyObject
* obj2
= 0 ;
29839 char *kwnames
[] = {
29840 (char *) "type",(char *) "winid",(char *) "pt", NULL
29843 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_HelpEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29845 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
29846 if (PyErr_Occurred()) SWIG_fail
;
29849 arg2
= (int) SWIG_AsInt(obj1
);
29850 if (PyErr_Occurred()) SWIG_fail
;
29855 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
29859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29860 result
= (wxHelpEvent
*)new wxHelpEvent(arg1
,arg2
,(wxPoint
const &)*arg3
);
29862 wxPyEndAllowThreads(__tstate
);
29863 if (PyErr_Occurred()) SWIG_fail
;
29865 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHelpEvent
, 1);
29872 static PyObject
*_wrap_HelpEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29873 PyObject
*resultobj
;
29874 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
29876 PyObject
* obj0
= 0 ;
29877 char *kwnames
[] = {
29878 (char *) "self", NULL
29881 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
29882 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpEvent
,
29883 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29886 result
= ((wxHelpEvent
const *)arg1
)->GetPosition();
29888 wxPyEndAllowThreads(__tstate
);
29889 if (PyErr_Occurred()) SWIG_fail
;
29892 wxPoint
* resultptr
;
29893 resultptr
= new wxPoint((wxPoint
&) result
);
29894 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
29902 static PyObject
*_wrap_HelpEvent_SetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29903 PyObject
*resultobj
;
29904 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
29905 wxPoint
*arg2
= 0 ;
29907 PyObject
* obj0
= 0 ;
29908 PyObject
* obj1
= 0 ;
29909 char *kwnames
[] = {
29910 (char *) "self",(char *) "pos", NULL
29913 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
29914 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpEvent
,
29915 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29918 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
29921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29922 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
29924 wxPyEndAllowThreads(__tstate
);
29925 if (PyErr_Occurred()) SWIG_fail
;
29927 Py_INCREF(Py_None
); resultobj
= Py_None
;
29934 static PyObject
*_wrap_HelpEvent_GetLink(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29935 PyObject
*resultobj
;
29936 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
29938 PyObject
* obj0
= 0 ;
29939 char *kwnames
[] = {
29940 (char *) "self", NULL
29943 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpEvent_GetLink",kwnames
,&obj0
)) goto fail
;
29944 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpEvent
,
29945 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29949 wxString
const &_result_ref
= ((wxHelpEvent
const *)arg1
)->GetLink();
29950 result
= (wxString
*) &_result_ref
;
29953 wxPyEndAllowThreads(__tstate
);
29954 if (PyErr_Occurred()) SWIG_fail
;
29958 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
29960 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
29969 static PyObject
*_wrap_HelpEvent_SetLink(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29970 PyObject
*resultobj
;
29971 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
29972 wxString
*arg2
= 0 ;
29973 bool temp2
= False
;
29974 PyObject
* obj0
= 0 ;
29975 PyObject
* obj1
= 0 ;
29976 char *kwnames
[] = {
29977 (char *) "self",(char *) "link", NULL
29980 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetLink",kwnames
,&obj0
,&obj1
)) goto fail
;
29981 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpEvent
,
29982 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29984 arg2
= wxString_in_helper(obj1
);
29985 if (arg2
== NULL
) SWIG_fail
;
29989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29990 (arg1
)->SetLink((wxString
const &)*arg2
);
29992 wxPyEndAllowThreads(__tstate
);
29993 if (PyErr_Occurred()) SWIG_fail
;
29995 Py_INCREF(Py_None
); resultobj
= Py_None
;
30010 static PyObject
*_wrap_HelpEvent_GetTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30011 PyObject
*resultobj
;
30012 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
30014 PyObject
* obj0
= 0 ;
30015 char *kwnames
[] = {
30016 (char *) "self", NULL
30019 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpEvent_GetTarget",kwnames
,&obj0
)) goto fail
;
30020 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpEvent
,
30021 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30025 wxString
const &_result_ref
= ((wxHelpEvent
const *)arg1
)->GetTarget();
30026 result
= (wxString
*) &_result_ref
;
30029 wxPyEndAllowThreads(__tstate
);
30030 if (PyErr_Occurred()) SWIG_fail
;
30034 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
30036 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
30045 static PyObject
*_wrap_HelpEvent_SetTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30046 PyObject
*resultobj
;
30047 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
30048 wxString
*arg2
= 0 ;
30049 bool temp2
= False
;
30050 PyObject
* obj0
= 0 ;
30051 PyObject
* obj1
= 0 ;
30052 char *kwnames
[] = {
30053 (char *) "self",(char *) "target", NULL
30056 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetTarget",kwnames
,&obj0
,&obj1
)) goto fail
;
30057 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpEvent
,
30058 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30060 arg2
= wxString_in_helper(obj1
);
30061 if (arg2
== NULL
) SWIG_fail
;
30065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30066 (arg1
)->SetTarget((wxString
const &)*arg2
);
30068 wxPyEndAllowThreads(__tstate
);
30069 if (PyErr_Occurred()) SWIG_fail
;
30071 Py_INCREF(Py_None
); resultobj
= Py_None
;
30086 static PyObject
* HelpEvent_swigregister(PyObject
*self
, PyObject
*args
) {
30088 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
30089 SWIG_TypeClientData(SWIGTYPE_p_wxHelpEvent
, obj
);
30091 return Py_BuildValue((char *)"");
30093 static PyObject
*_wrap_new_ContextHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30094 PyObject
*resultobj
;
30095 wxWindow
*arg1
= (wxWindow
*) NULL
;
30096 bool arg2
= (bool) True
;
30097 wxContextHelp
*result
;
30098 PyObject
* obj0
= 0 ;
30099 PyObject
* obj1
= 0 ;
30100 char *kwnames
[] = {
30101 (char *) "window",(char *) "doNow", NULL
30104 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_ContextHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
30106 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
30107 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30110 arg2
= (bool) SWIG_AsBool(obj1
);
30111 if (PyErr_Occurred()) SWIG_fail
;
30114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30115 result
= (wxContextHelp
*)new wxContextHelp(arg1
,arg2
);
30117 wxPyEndAllowThreads(__tstate
);
30118 if (PyErr_Occurred()) SWIG_fail
;
30120 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxContextHelp
, 1);
30127 static PyObject
*_wrap_delete_ContextHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30128 PyObject
*resultobj
;
30129 wxContextHelp
*arg1
= (wxContextHelp
*) 0 ;
30130 PyObject
* obj0
= 0 ;
30131 char *kwnames
[] = {
30132 (char *) "self", NULL
30135 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ContextHelp",kwnames
,&obj0
)) goto fail
;
30136 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxContextHelp
,
30137 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30142 wxPyEndAllowThreads(__tstate
);
30143 if (PyErr_Occurred()) SWIG_fail
;
30145 Py_INCREF(Py_None
); resultobj
= Py_None
;
30152 static PyObject
*_wrap_ContextHelp_BeginContextHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30153 PyObject
*resultobj
;
30154 wxContextHelp
*arg1
= (wxContextHelp
*) 0 ;
30155 wxWindow
*arg2
= (wxWindow
*) NULL
;
30157 PyObject
* obj0
= 0 ;
30158 PyObject
* obj1
= 0 ;
30159 char *kwnames
[] = {
30160 (char *) "self",(char *) "window", NULL
30163 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ContextHelp_BeginContextHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
30164 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxContextHelp
,
30165 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30167 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
30168 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30172 result
= (bool)(arg1
)->BeginContextHelp(arg2
);
30174 wxPyEndAllowThreads(__tstate
);
30175 if (PyErr_Occurred()) SWIG_fail
;
30178 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30186 static PyObject
*_wrap_ContextHelp_EndContextHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30187 PyObject
*resultobj
;
30188 wxContextHelp
*arg1
= (wxContextHelp
*) 0 ;
30190 PyObject
* obj0
= 0 ;
30191 char *kwnames
[] = {
30192 (char *) "self", NULL
30195 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ContextHelp_EndContextHelp",kwnames
,&obj0
)) goto fail
;
30196 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxContextHelp
,
30197 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30200 result
= (bool)(arg1
)->EndContextHelp();
30202 wxPyEndAllowThreads(__tstate
);
30203 if (PyErr_Occurred()) SWIG_fail
;
30206 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30214 static PyObject
* ContextHelp_swigregister(PyObject
*self
, PyObject
*args
) {
30216 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
30217 SWIG_TypeClientData(SWIGTYPE_p_wxContextHelp
, obj
);
30219 return Py_BuildValue((char *)"");
30221 static PyObject
*_wrap_new_ContextHelpButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30222 PyObject
*resultobj
;
30223 wxWindow
*arg1
= (wxWindow
*) 0 ;
30224 int arg2
= (int) wxID_CONTEXT_HELP
;
30225 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
30226 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
30227 wxSize
const &arg4_defvalue
= wxDefaultSize
;
30228 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
30229 long arg5
= (long) wxBU_AUTODRAW
;
30230 wxContextHelpButton
*result
;
30233 PyObject
* obj0
= 0 ;
30234 PyObject
* obj1
= 0 ;
30235 PyObject
* obj2
= 0 ;
30236 PyObject
* obj3
= 0 ;
30237 PyObject
* obj4
= 0 ;
30238 char *kwnames
[] = {
30239 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
30242 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:new_ContextHelpButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
30243 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
30244 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30246 arg2
= (int) SWIG_AsInt(obj1
);
30247 if (PyErr_Occurred()) SWIG_fail
;
30252 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
30258 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
30262 arg5
= (long) SWIG_AsLong(obj4
);
30263 if (PyErr_Occurred()) SWIG_fail
;
30266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30267 result
= (wxContextHelpButton
*)new wxContextHelpButton(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
);
30269 wxPyEndAllowThreads(__tstate
);
30270 if (PyErr_Occurred()) SWIG_fail
;
30272 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxContextHelpButton
, 1);
30279 static PyObject
* ContextHelpButton_swigregister(PyObject
*self
, PyObject
*args
) {
30281 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
30282 SWIG_TypeClientData(SWIGTYPE_p_wxContextHelpButton
, obj
);
30284 return Py_BuildValue((char *)"");
30286 static PyObject
*_wrap_HelpProvider_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30287 PyObject
*resultobj
;
30288 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
30289 wxHelpProvider
*result
;
30290 PyObject
* obj0
= 0 ;
30291 char *kwnames
[] = {
30292 (char *) "helpProvider", NULL
30295 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpProvider_Set",kwnames
,&obj0
)) goto fail
;
30296 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpProvider
,
30297 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30300 result
= (wxHelpProvider
*)wxHelpProvider::Set(arg1
);
30302 wxPyEndAllowThreads(__tstate
);
30303 if (PyErr_Occurred()) SWIG_fail
;
30305 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHelpProvider
, 0);
30312 static PyObject
*_wrap_HelpProvider_Get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30313 PyObject
*resultobj
;
30314 wxHelpProvider
*result
;
30315 char *kwnames
[] = {
30319 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":HelpProvider_Get",kwnames
)) goto fail
;
30321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30322 result
= (wxHelpProvider
*)wxHelpProvider::Get();
30324 wxPyEndAllowThreads(__tstate
);
30325 if (PyErr_Occurred()) SWIG_fail
;
30327 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHelpProvider
, 0);
30334 static PyObject
*_wrap_HelpProvider_GetHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30335 PyObject
*resultobj
;
30336 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
30337 wxWindow
*arg2
= (wxWindow
*) 0 ;
30339 PyObject
* obj0
= 0 ;
30340 PyObject
* obj1
= 0 ;
30341 char *kwnames
[] = {
30342 (char *) "self",(char *) "window", NULL
30345 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpProvider_GetHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
30346 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpProvider
,
30347 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30348 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
30349 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30352 result
= (arg1
)->GetHelp((wxWindow
const *)arg2
);
30354 wxPyEndAllowThreads(__tstate
);
30355 if (PyErr_Occurred()) SWIG_fail
;
30359 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
30361 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
30370 static PyObject
*_wrap_HelpProvider_ShowHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30371 PyObject
*resultobj
;
30372 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
30373 wxWindow
*arg2
= (wxWindow
*) 0 ;
30375 PyObject
* obj0
= 0 ;
30376 PyObject
* obj1
= 0 ;
30377 char *kwnames
[] = {
30378 (char *) "self",(char *) "window", NULL
30381 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpProvider_ShowHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
30382 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpProvider
,
30383 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30384 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
30385 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30388 result
= (bool)(arg1
)->ShowHelp(arg2
);
30390 wxPyEndAllowThreads(__tstate
);
30391 if (PyErr_Occurred()) SWIG_fail
;
30394 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30402 static PyObject
*_wrap_HelpProvider_AddHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30403 PyObject
*resultobj
;
30404 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
30405 wxWindow
*arg2
= (wxWindow
*) 0 ;
30406 wxString
*arg3
= 0 ;
30407 bool temp3
= False
;
30408 PyObject
* obj0
= 0 ;
30409 PyObject
* obj1
= 0 ;
30410 PyObject
* obj2
= 0 ;
30411 char *kwnames
[] = {
30412 (char *) "self",(char *) "window",(char *) "text", NULL
30415 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HelpProvider_AddHelp",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30416 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpProvider
,
30417 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30418 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
30419 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30421 arg3
= wxString_in_helper(obj2
);
30422 if (arg3
== NULL
) SWIG_fail
;
30426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30427 (arg1
)->AddHelp(arg2
,(wxString
const &)*arg3
);
30429 wxPyEndAllowThreads(__tstate
);
30430 if (PyErr_Occurred()) SWIG_fail
;
30432 Py_INCREF(Py_None
); resultobj
= Py_None
;
30447 static PyObject
*_wrap_HelpProvider_AddHelpById(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30448 PyObject
*resultobj
;
30449 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
30451 wxString
*arg3
= 0 ;
30452 bool temp3
= False
;
30453 PyObject
* obj0
= 0 ;
30454 PyObject
* obj1
= 0 ;
30455 PyObject
* obj2
= 0 ;
30456 char *kwnames
[] = {
30457 (char *) "self",(char *) "id",(char *) "text", NULL
30460 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HelpProvider_AddHelpById",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30461 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpProvider
,
30462 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30463 arg2
= (int) SWIG_AsInt(obj1
);
30464 if (PyErr_Occurred()) SWIG_fail
;
30466 arg3
= wxString_in_helper(obj2
);
30467 if (arg3
== NULL
) SWIG_fail
;
30471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30472 (arg1
)->AddHelp(arg2
,(wxString
const &)*arg3
);
30474 wxPyEndAllowThreads(__tstate
);
30475 if (PyErr_Occurred()) SWIG_fail
;
30477 Py_INCREF(Py_None
); resultobj
= Py_None
;
30492 static PyObject
*_wrap_HelpProvider_RemoveHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30493 PyObject
*resultobj
;
30494 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
30495 wxWindow
*arg2
= (wxWindow
*) 0 ;
30496 PyObject
* obj0
= 0 ;
30497 PyObject
* obj1
= 0 ;
30498 char *kwnames
[] = {
30499 (char *) "self",(char *) "window", NULL
30502 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpProvider_RemoveHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
30503 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpProvider
,
30504 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30505 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
30506 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30509 (arg1
)->RemoveHelp(arg2
);
30511 wxPyEndAllowThreads(__tstate
);
30512 if (PyErr_Occurred()) SWIG_fail
;
30514 Py_INCREF(Py_None
); resultobj
= Py_None
;
30521 static PyObject
*_wrap_HelpProvider_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30522 PyObject
*resultobj
;
30523 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
30524 PyObject
* obj0
= 0 ;
30525 char *kwnames
[] = {
30526 (char *) "self", NULL
30529 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpProvider_Destroy",kwnames
,&obj0
)) goto fail
;
30530 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpProvider
,
30531 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30534 wxHelpProvider_Destroy(arg1
);
30536 wxPyEndAllowThreads(__tstate
);
30537 if (PyErr_Occurred()) SWIG_fail
;
30539 Py_INCREF(Py_None
); resultobj
= Py_None
;
30546 static PyObject
* HelpProvider_swigregister(PyObject
*self
, PyObject
*args
) {
30548 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
30549 SWIG_TypeClientData(SWIGTYPE_p_wxHelpProvider
, obj
);
30551 return Py_BuildValue((char *)"");
30553 static PyObject
*_wrap_new_SimpleHelpProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30554 PyObject
*resultobj
;
30555 wxSimpleHelpProvider
*result
;
30556 char *kwnames
[] = {
30560 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_SimpleHelpProvider",kwnames
)) goto fail
;
30562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30563 result
= (wxSimpleHelpProvider
*)new wxSimpleHelpProvider();
30565 wxPyEndAllowThreads(__tstate
);
30566 if (PyErr_Occurred()) SWIG_fail
;
30568 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSimpleHelpProvider
, 1);
30575 static PyObject
* SimpleHelpProvider_swigregister(PyObject
*self
, PyObject
*args
) {
30577 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
30578 SWIG_TypeClientData(SWIGTYPE_p_wxSimpleHelpProvider
, obj
);
30580 return Py_BuildValue((char *)"");
30582 static PyObject
*_wrap_new_DragImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30583 PyObject
*resultobj
;
30584 wxBitmap
*arg1
= 0 ;
30585 wxCursor
const &arg2_defvalue
= wxNullCursor
;
30586 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
30587 wxGenericDragImage
*result
;
30588 PyObject
* obj0
= 0 ;
30589 PyObject
* obj1
= 0 ;
30590 char *kwnames
[] = {
30591 (char *) "image",(char *) "cursor", NULL
30594 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragImage",kwnames
,&obj0
,&obj1
)) goto fail
;
30595 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
30596 SWIG_POINTER_EXCEPTION
| 0)) == -1)
30598 if (arg1
== NULL
) {
30599 PyErr_SetString(PyExc_TypeError
,"null reference");
30603 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxCursor
,
30604 SWIG_POINTER_EXCEPTION
| 0)) == -1)
30606 if (arg2
== NULL
) {
30607 PyErr_SetString(PyExc_TypeError
,"null reference");
30612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30613 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxBitmap
const &)*arg1
,(wxCursor
const &)*arg2
);
30615 wxPyEndAllowThreads(__tstate
);
30616 if (PyErr_Occurred()) SWIG_fail
;
30618 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDragImage
, 1);
30625 static PyObject
*_wrap_new_DragIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30626 PyObject
*resultobj
;
30628 wxCursor
const &arg2_defvalue
= wxNullCursor
;
30629 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
30630 wxGenericDragImage
*result
;
30631 PyObject
* obj0
= 0 ;
30632 PyObject
* obj1
= 0 ;
30633 char *kwnames
[] = {
30634 (char *) "image",(char *) "cursor", NULL
30637 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
30638 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
30639 SWIG_POINTER_EXCEPTION
| 0)) == -1)
30641 if (arg1
== NULL
) {
30642 PyErr_SetString(PyExc_TypeError
,"null reference");
30646 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxCursor
,
30647 SWIG_POINTER_EXCEPTION
| 0)) == -1)
30649 if (arg2
== NULL
) {
30650 PyErr_SetString(PyExc_TypeError
,"null reference");
30655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30656 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxIcon
const &)*arg1
,(wxCursor
const &)*arg2
);
30658 wxPyEndAllowThreads(__tstate
);
30659 if (PyErr_Occurred()) SWIG_fail
;
30661 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDragImage
, 1);
30668 static PyObject
*_wrap_new_DragString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30669 PyObject
*resultobj
;
30670 wxString
*arg1
= 0 ;
30671 wxCursor
const &arg2_defvalue
= wxNullCursor
;
30672 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
30673 wxGenericDragImage
*result
;
30674 bool temp1
= False
;
30675 PyObject
* obj0
= 0 ;
30676 PyObject
* obj1
= 0 ;
30677 char *kwnames
[] = {
30678 (char *) "str",(char *) "cursor", NULL
30681 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragString",kwnames
,&obj0
,&obj1
)) goto fail
;
30683 arg1
= wxString_in_helper(obj0
);
30684 if (arg1
== NULL
) SWIG_fail
;
30688 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxCursor
,
30689 SWIG_POINTER_EXCEPTION
| 0)) == -1)
30691 if (arg2
== NULL
) {
30692 PyErr_SetString(PyExc_TypeError
,"null reference");
30697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30698 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxString
const &)*arg1
,(wxCursor
const &)*arg2
);
30700 wxPyEndAllowThreads(__tstate
);
30701 if (PyErr_Occurred()) SWIG_fail
;
30703 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDragImage
, 1);
30718 static PyObject
*_wrap_new_DragTreeItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30719 PyObject
*resultobj
;
30720 wxPyTreeCtrl
*arg1
= 0 ;
30721 wxTreeItemId
*arg2
= 0 ;
30722 wxGenericDragImage
*result
;
30723 PyObject
* obj0
= 0 ;
30724 PyObject
* obj1
= 0 ;
30725 char *kwnames
[] = {
30726 (char *) "treeCtrl",(char *) "id", NULL
30729 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_DragTreeItem",kwnames
,&obj0
,&obj1
)) goto fail
;
30730 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
30731 SWIG_POINTER_EXCEPTION
| 0)) == -1)
30733 if (arg1
== NULL
) {
30734 PyErr_SetString(PyExc_TypeError
,"null reference");
30737 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
30738 SWIG_POINTER_EXCEPTION
| 0)) == -1)
30740 if (arg2
== NULL
) {
30741 PyErr_SetString(PyExc_TypeError
,"null reference");
30745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30746 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxPyTreeCtrl
const &)*arg1
,*arg2
);
30748 wxPyEndAllowThreads(__tstate
);
30749 if (PyErr_Occurred()) SWIG_fail
;
30751 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDragImage
, 1);
30758 static PyObject
*_wrap_new_DragListItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30759 PyObject
*resultobj
;
30760 wxPyListCtrl
*arg1
= 0 ;
30762 wxGenericDragImage
*result
;
30763 PyObject
* obj0
= 0 ;
30764 PyObject
* obj1
= 0 ;
30765 char *kwnames
[] = {
30766 (char *) "listCtrl",(char *) "id", NULL
30769 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_DragListItem",kwnames
,&obj0
,&obj1
)) goto fail
;
30770 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
30771 SWIG_POINTER_EXCEPTION
| 0)) == -1)
30773 if (arg1
== NULL
) {
30774 PyErr_SetString(PyExc_TypeError
,"null reference");
30777 arg2
= (long) SWIG_AsLong(obj1
);
30778 if (PyErr_Occurred()) SWIG_fail
;
30780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30781 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxPyListCtrl
const &)*arg1
,arg2
);
30783 wxPyEndAllowThreads(__tstate
);
30784 if (PyErr_Occurred()) SWIG_fail
;
30786 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDragImage
, 1);
30793 static PyObject
*_wrap_delete_DragImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30794 PyObject
*resultobj
;
30795 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
30796 PyObject
* obj0
= 0 ;
30797 char *kwnames
[] = {
30798 (char *) "self", NULL
30801 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DragImage",kwnames
,&obj0
)) goto fail
;
30802 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
30803 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30808 wxPyEndAllowThreads(__tstate
);
30809 if (PyErr_Occurred()) SWIG_fail
;
30811 Py_INCREF(Py_None
); resultobj
= Py_None
;
30818 static PyObject
*_wrap_DragImage_SetBackingBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30819 PyObject
*resultobj
;
30820 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
30821 wxBitmap
*arg2
= (wxBitmap
*) 0 ;
30822 PyObject
* obj0
= 0 ;
30823 PyObject
* obj1
= 0 ;
30824 char *kwnames
[] = {
30825 (char *) "self",(char *) "bitmap", NULL
30828 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_SetBackingBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
30829 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
30830 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30831 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
30832 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30835 (arg1
)->SetBackingBitmap(arg2
);
30837 wxPyEndAllowThreads(__tstate
);
30838 if (PyErr_Occurred()) SWIG_fail
;
30840 Py_INCREF(Py_None
); resultobj
= Py_None
;
30847 static PyObject
*_wrap_DragImage_BeginDrag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30848 PyObject
*resultobj
;
30849 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
30850 wxPoint
*arg2
= 0 ;
30851 wxWindow
*arg3
= (wxWindow
*) 0 ;
30852 bool arg4
= (bool) False
;
30853 wxRect
*arg5
= (wxRect
*) NULL
;
30856 PyObject
* obj0
= 0 ;
30857 PyObject
* obj1
= 0 ;
30858 PyObject
* obj2
= 0 ;
30859 PyObject
* obj3
= 0 ;
30860 PyObject
* obj4
= 0 ;
30861 char *kwnames
[] = {
30862 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "fullScreen",(char *) "rect", NULL
30865 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:DragImage_BeginDrag",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
30866 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
30867 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30870 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
30872 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
30873 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30875 arg4
= (bool) SWIG_AsBool(obj3
);
30876 if (PyErr_Occurred()) SWIG_fail
;
30879 if ((SWIG_ConvertPtr(obj4
,(void **)(&arg5
),SWIGTYPE_p_wxRect
,
30880 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30884 result
= (bool)(arg1
)->BeginDrag((wxPoint
const &)*arg2
,arg3
,arg4
,arg5
);
30886 wxPyEndAllowThreads(__tstate
);
30887 if (PyErr_Occurred()) SWIG_fail
;
30890 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30898 static PyObject
*_wrap_DragImage_BeginDragBounded(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30899 PyObject
*resultobj
;
30900 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
30901 wxPoint
*arg2
= 0 ;
30902 wxWindow
*arg3
= (wxWindow
*) 0 ;
30903 wxWindow
*arg4
= (wxWindow
*) 0 ;
30906 PyObject
* obj0
= 0 ;
30907 PyObject
* obj1
= 0 ;
30908 PyObject
* obj2
= 0 ;
30909 PyObject
* obj3
= 0 ;
30910 char *kwnames
[] = {
30911 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "boundingWindow", NULL
30914 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DragImage_BeginDragBounded",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
30915 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
30916 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30919 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
30921 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
30922 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30923 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxWindow
,
30924 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30927 result
= (bool)(arg1
)->BeginDrag((wxPoint
const &)*arg2
,arg3
,arg4
);
30929 wxPyEndAllowThreads(__tstate
);
30930 if (PyErr_Occurred()) SWIG_fail
;
30933 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30941 static PyObject
*_wrap_DragImage_EndDrag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30942 PyObject
*resultobj
;
30943 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
30945 PyObject
* obj0
= 0 ;
30946 char *kwnames
[] = {
30947 (char *) "self", NULL
30950 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DragImage_EndDrag",kwnames
,&obj0
)) goto fail
;
30951 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
30952 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30955 result
= (bool)(arg1
)->EndDrag();
30957 wxPyEndAllowThreads(__tstate
);
30958 if (PyErr_Occurred()) SWIG_fail
;
30961 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30969 static PyObject
*_wrap_DragImage_Move(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30970 PyObject
*resultobj
;
30971 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
30972 wxPoint
*arg2
= 0 ;
30975 PyObject
* obj0
= 0 ;
30976 PyObject
* obj1
= 0 ;
30977 char *kwnames
[] = {
30978 (char *) "self",(char *) "pt", NULL
30981 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_Move",kwnames
,&obj0
,&obj1
)) goto fail
;
30982 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
30983 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30986 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
30989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30990 result
= (bool)(arg1
)->Move((wxPoint
const &)*arg2
);
30992 wxPyEndAllowThreads(__tstate
);
30993 if (PyErr_Occurred()) SWIG_fail
;
30996 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31004 static PyObject
*_wrap_DragImage_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31005 PyObject
*resultobj
;
31006 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
31008 PyObject
* obj0
= 0 ;
31009 char *kwnames
[] = {
31010 (char *) "self", NULL
31013 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DragImage_Show",kwnames
,&obj0
)) goto fail
;
31014 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
31015 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31018 result
= (bool)(arg1
)->Show();
31020 wxPyEndAllowThreads(__tstate
);
31021 if (PyErr_Occurred()) SWIG_fail
;
31024 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31032 static PyObject
*_wrap_DragImage_Hide(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31033 PyObject
*resultobj
;
31034 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
31036 PyObject
* obj0
= 0 ;
31037 char *kwnames
[] = {
31038 (char *) "self", NULL
31041 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DragImage_Hide",kwnames
,&obj0
)) goto fail
;
31042 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
31043 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31046 result
= (bool)(arg1
)->Hide();
31048 wxPyEndAllowThreads(__tstate
);
31049 if (PyErr_Occurred()) SWIG_fail
;
31052 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31060 static PyObject
*_wrap_DragImage_GetImageRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31061 PyObject
*resultobj
;
31062 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
31063 wxPoint
*arg2
= 0 ;
31066 PyObject
* obj0
= 0 ;
31067 PyObject
* obj1
= 0 ;
31068 char *kwnames
[] = {
31069 (char *) "self",(char *) "pos", NULL
31072 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_GetImageRect",kwnames
,&obj0
,&obj1
)) goto fail
;
31073 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
31074 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31077 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
31080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31081 result
= ((wxGenericDragImage
const *)arg1
)->GetImageRect((wxPoint
const &)*arg2
);
31083 wxPyEndAllowThreads(__tstate
);
31084 if (PyErr_Occurred()) SWIG_fail
;
31087 wxRect
* resultptr
;
31088 resultptr
= new wxRect((wxRect
&) result
);
31089 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
31097 static PyObject
*_wrap_DragImage_DoDrawImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31098 PyObject
*resultobj
;
31099 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
31101 wxPoint
*arg3
= 0 ;
31104 PyObject
* obj0
= 0 ;
31105 PyObject
* obj1
= 0 ;
31106 PyObject
* obj2
= 0 ;
31107 char *kwnames
[] = {
31108 (char *) "self",(char *) "dc",(char *) "pos", NULL
31111 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DragImage_DoDrawImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
31112 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
31113 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31114 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
31115 SWIG_POINTER_EXCEPTION
| 0)) == -1)
31117 if (arg2
== NULL
) {
31118 PyErr_SetString(PyExc_TypeError
,"null reference");
31123 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
31126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31127 result
= (bool)((wxGenericDragImage
const *)arg1
)->DoDrawImage(*arg2
,(wxPoint
const &)*arg3
);
31129 wxPyEndAllowThreads(__tstate
);
31130 if (PyErr_Occurred()) SWIG_fail
;
31133 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31141 static PyObject
*_wrap_DragImage_UpdateBackingFromWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31142 PyObject
*resultobj
;
31143 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
31145 wxMemoryDC
*arg3
= 0 ;
31151 PyObject
* obj0
= 0 ;
31152 PyObject
* obj1
= 0 ;
31153 PyObject
* obj2
= 0 ;
31154 PyObject
* obj3
= 0 ;
31155 PyObject
* obj4
= 0 ;
31156 char *kwnames
[] = {
31157 (char *) "self",(char *) "windowDC",(char *) "destDC",(char *) "sourceRect",(char *) "destRect", NULL
31160 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DragImage_UpdateBackingFromWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
31161 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
31162 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31163 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
31164 SWIG_POINTER_EXCEPTION
| 0)) == -1)
31166 if (arg2
== NULL
) {
31167 PyErr_SetString(PyExc_TypeError
,"null reference");
31170 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxMemoryDC
,
31171 SWIG_POINTER_EXCEPTION
| 0)) == -1)
31173 if (arg3
== NULL
) {
31174 PyErr_SetString(PyExc_TypeError
,"null reference");
31179 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
31183 if ( ! wxRect_helper(obj4
, &arg5
)) SWIG_fail
;
31186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31187 result
= (bool)((wxGenericDragImage
const *)arg1
)->UpdateBackingFromWindow(*arg2
,*arg3
,(wxRect
const &)*arg4
,(wxRect
const &)*arg5
);
31189 wxPyEndAllowThreads(__tstate
);
31190 if (PyErr_Occurred()) SWIG_fail
;
31193 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31201 static PyObject
*_wrap_DragImage_RedrawImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31202 PyObject
*resultobj
;
31203 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
31204 wxPoint
*arg2
= 0 ;
31205 wxPoint
*arg3
= 0 ;
31211 PyObject
* obj0
= 0 ;
31212 PyObject
* obj1
= 0 ;
31213 PyObject
* obj2
= 0 ;
31214 PyObject
* obj3
= 0 ;
31215 PyObject
* obj4
= 0 ;
31216 char *kwnames
[] = {
31217 (char *) "self",(char *) "oldPos",(char *) "newPos",(char *) "eraseOld",(char *) "drawNew", NULL
31220 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DragImage_RedrawImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
31221 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
31222 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31225 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
31229 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
31231 arg4
= (bool) SWIG_AsBool(obj3
);
31232 if (PyErr_Occurred()) SWIG_fail
;
31233 arg5
= (bool) SWIG_AsBool(obj4
);
31234 if (PyErr_Occurred()) SWIG_fail
;
31236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31237 result
= (bool)(arg1
)->RedrawImage((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
,arg5
);
31239 wxPyEndAllowThreads(__tstate
);
31240 if (PyErr_Occurred()) SWIG_fail
;
31243 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31251 static PyObject
* DragImage_swigregister(PyObject
*self
, PyObject
*args
) {
31253 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
31254 SWIG_TypeClientData(SWIGTYPE_p_wxGenericDragImage
, obj
);
31256 return Py_BuildValue((char *)"");
31258 static PyMethodDef SwigMethods
[] = {
31259 { (char *)"new_Button", (PyCFunction
) _wrap_new_Button
, METH_VARARGS
| METH_KEYWORDS
},
31260 { (char *)"new_PreButton", (PyCFunction
) _wrap_new_PreButton
, METH_VARARGS
| METH_KEYWORDS
},
31261 { (char *)"Button_Create", (PyCFunction
) _wrap_Button_Create
, METH_VARARGS
| METH_KEYWORDS
},
31262 { (char *)"Button_SetDefault", (PyCFunction
) _wrap_Button_SetDefault
, METH_VARARGS
| METH_KEYWORDS
},
31263 { (char *)"Button_GetDefaultSize", (PyCFunction
) _wrap_Button_GetDefaultSize
, METH_VARARGS
| METH_KEYWORDS
},
31264 { (char *)"Button_GetClassDefaultAttributes", (PyCFunction
) _wrap_Button_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31265 { (char *)"Button_swigregister", Button_swigregister
, METH_VARARGS
},
31266 { (char *)"new_BitmapButton", (PyCFunction
) _wrap_new_BitmapButton
, METH_VARARGS
| METH_KEYWORDS
},
31267 { (char *)"new_PreBitmapButton", (PyCFunction
) _wrap_new_PreBitmapButton
, METH_VARARGS
| METH_KEYWORDS
},
31268 { (char *)"BitmapButton_Create", (PyCFunction
) _wrap_BitmapButton_Create
, METH_VARARGS
| METH_KEYWORDS
},
31269 { (char *)"BitmapButton_GetBitmapLabel", (PyCFunction
) _wrap_BitmapButton_GetBitmapLabel
, METH_VARARGS
| METH_KEYWORDS
},
31270 { (char *)"BitmapButton_GetBitmapDisabled", (PyCFunction
) _wrap_BitmapButton_GetBitmapDisabled
, METH_VARARGS
| METH_KEYWORDS
},
31271 { (char *)"BitmapButton_GetBitmapFocus", (PyCFunction
) _wrap_BitmapButton_GetBitmapFocus
, METH_VARARGS
| METH_KEYWORDS
},
31272 { (char *)"BitmapButton_GetBitmapSelected", (PyCFunction
) _wrap_BitmapButton_GetBitmapSelected
, METH_VARARGS
| METH_KEYWORDS
},
31273 { (char *)"BitmapButton_SetBitmapDisabled", (PyCFunction
) _wrap_BitmapButton_SetBitmapDisabled
, METH_VARARGS
| METH_KEYWORDS
},
31274 { (char *)"BitmapButton_SetBitmapFocus", (PyCFunction
) _wrap_BitmapButton_SetBitmapFocus
, METH_VARARGS
| METH_KEYWORDS
},
31275 { (char *)"BitmapButton_SetBitmapSelected", (PyCFunction
) _wrap_BitmapButton_SetBitmapSelected
, METH_VARARGS
| METH_KEYWORDS
},
31276 { (char *)"BitmapButton_SetBitmapLabel", (PyCFunction
) _wrap_BitmapButton_SetBitmapLabel
, METH_VARARGS
| METH_KEYWORDS
},
31277 { (char *)"BitmapButton_SetMargins", (PyCFunction
) _wrap_BitmapButton_SetMargins
, METH_VARARGS
| METH_KEYWORDS
},
31278 { (char *)"BitmapButton_GetMarginX", (PyCFunction
) _wrap_BitmapButton_GetMarginX
, METH_VARARGS
| METH_KEYWORDS
},
31279 { (char *)"BitmapButton_GetMarginY", (PyCFunction
) _wrap_BitmapButton_GetMarginY
, METH_VARARGS
| METH_KEYWORDS
},
31280 { (char *)"BitmapButton_swigregister", BitmapButton_swigregister
, METH_VARARGS
},
31281 { (char *)"new_CheckBox", (PyCFunction
) _wrap_new_CheckBox
, METH_VARARGS
| METH_KEYWORDS
},
31282 { (char *)"new_PreCheckBox", (PyCFunction
) _wrap_new_PreCheckBox
, METH_VARARGS
| METH_KEYWORDS
},
31283 { (char *)"CheckBox_Create", (PyCFunction
) _wrap_CheckBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
31284 { (char *)"CheckBox_GetValue", (PyCFunction
) _wrap_CheckBox_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
31285 { (char *)"CheckBox_IsChecked", (PyCFunction
) _wrap_CheckBox_IsChecked
, METH_VARARGS
| METH_KEYWORDS
},
31286 { (char *)"CheckBox_SetValue", (PyCFunction
) _wrap_CheckBox_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
31287 { (char *)"CheckBox_Get3StateValue", (PyCFunction
) _wrap_CheckBox_Get3StateValue
, METH_VARARGS
| METH_KEYWORDS
},
31288 { (char *)"CheckBox_Set3StateValue", (PyCFunction
) _wrap_CheckBox_Set3StateValue
, METH_VARARGS
| METH_KEYWORDS
},
31289 { (char *)"CheckBox_Is3State", (PyCFunction
) _wrap_CheckBox_Is3State
, METH_VARARGS
| METH_KEYWORDS
},
31290 { (char *)"CheckBox_Is3rdStateAllowedForUser", (PyCFunction
) _wrap_CheckBox_Is3rdStateAllowedForUser
, METH_VARARGS
| METH_KEYWORDS
},
31291 { (char *)"CheckBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_CheckBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31292 { (char *)"CheckBox_swigregister", CheckBox_swigregister
, METH_VARARGS
},
31293 { (char *)"new_Choice", (PyCFunction
) _wrap_new_Choice
, METH_VARARGS
| METH_KEYWORDS
},
31294 { (char *)"new_PreChoice", (PyCFunction
) _wrap_new_PreChoice
, METH_VARARGS
| METH_KEYWORDS
},
31295 { (char *)"Choice_Create", (PyCFunction
) _wrap_Choice_Create
, METH_VARARGS
| METH_KEYWORDS
},
31296 { (char *)"Choice_SetSelection", (PyCFunction
) _wrap_Choice_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
31297 { (char *)"Choice_SetStringSelection", (PyCFunction
) _wrap_Choice_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
31298 { (char *)"Choice_SetString", (PyCFunction
) _wrap_Choice_SetString
, METH_VARARGS
| METH_KEYWORDS
},
31299 { (char *)"Choice_GetClassDefaultAttributes", (PyCFunction
) _wrap_Choice_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31300 { (char *)"Choice_swigregister", Choice_swigregister
, METH_VARARGS
},
31301 { (char *)"new_ComboBox", (PyCFunction
) _wrap_new_ComboBox
, METH_VARARGS
| METH_KEYWORDS
},
31302 { (char *)"new_PreComboBox", (PyCFunction
) _wrap_new_PreComboBox
, METH_VARARGS
| METH_KEYWORDS
},
31303 { (char *)"ComboBox_Create", (PyCFunction
) _wrap_ComboBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
31304 { (char *)"ComboBox_GetValue", (PyCFunction
) _wrap_ComboBox_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
31305 { (char *)"ComboBox_SetValue", (PyCFunction
) _wrap_ComboBox_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
31306 { (char *)"ComboBox_Copy", (PyCFunction
) _wrap_ComboBox_Copy
, METH_VARARGS
| METH_KEYWORDS
},
31307 { (char *)"ComboBox_Cut", (PyCFunction
) _wrap_ComboBox_Cut
, METH_VARARGS
| METH_KEYWORDS
},
31308 { (char *)"ComboBox_Paste", (PyCFunction
) _wrap_ComboBox_Paste
, METH_VARARGS
| METH_KEYWORDS
},
31309 { (char *)"ComboBox_SetInsertionPoint", (PyCFunction
) _wrap_ComboBox_SetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
},
31310 { (char *)"ComboBox_GetInsertionPoint", (PyCFunction
) _wrap_ComboBox_GetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
},
31311 { (char *)"ComboBox_GetLastPosition", (PyCFunction
) _wrap_ComboBox_GetLastPosition
, METH_VARARGS
| METH_KEYWORDS
},
31312 { (char *)"ComboBox_Replace", (PyCFunction
) _wrap_ComboBox_Replace
, METH_VARARGS
| METH_KEYWORDS
},
31313 { (char *)"ComboBox_SetSelection", (PyCFunction
) _wrap_ComboBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
31314 { (char *)"ComboBox_SetMark", (PyCFunction
) _wrap_ComboBox_SetMark
, METH_VARARGS
| METH_KEYWORDS
},
31315 { (char *)"ComboBox_SetStringSelection", (PyCFunction
) _wrap_ComboBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
31316 { (char *)"ComboBox_SetString", (PyCFunction
) _wrap_ComboBox_SetString
, METH_VARARGS
| METH_KEYWORDS
},
31317 { (char *)"ComboBox_SetEditable", (PyCFunction
) _wrap_ComboBox_SetEditable
, METH_VARARGS
| METH_KEYWORDS
},
31318 { (char *)"ComboBox_SetInsertionPointEnd", (PyCFunction
) _wrap_ComboBox_SetInsertionPointEnd
, METH_VARARGS
| METH_KEYWORDS
},
31319 { (char *)"ComboBox_Remove", (PyCFunction
) _wrap_ComboBox_Remove
, METH_VARARGS
| METH_KEYWORDS
},
31320 { (char *)"ComboBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_ComboBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31321 { (char *)"ComboBox_swigregister", ComboBox_swigregister
, METH_VARARGS
},
31322 { (char *)"new_Gauge", (PyCFunction
) _wrap_new_Gauge
, METH_VARARGS
| METH_KEYWORDS
},
31323 { (char *)"new_PreGauge", (PyCFunction
) _wrap_new_PreGauge
, METH_VARARGS
| METH_KEYWORDS
},
31324 { (char *)"Gauge_Create", (PyCFunction
) _wrap_Gauge_Create
, METH_VARARGS
| METH_KEYWORDS
},
31325 { (char *)"Gauge_SetRange", (PyCFunction
) _wrap_Gauge_SetRange
, METH_VARARGS
| METH_KEYWORDS
},
31326 { (char *)"Gauge_GetRange", (PyCFunction
) _wrap_Gauge_GetRange
, METH_VARARGS
| METH_KEYWORDS
},
31327 { (char *)"Gauge_SetValue", (PyCFunction
) _wrap_Gauge_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
31328 { (char *)"Gauge_GetValue", (PyCFunction
) _wrap_Gauge_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
31329 { (char *)"Gauge_IsVertical", (PyCFunction
) _wrap_Gauge_IsVertical
, METH_VARARGS
| METH_KEYWORDS
},
31330 { (char *)"Gauge_SetShadowWidth", (PyCFunction
) _wrap_Gauge_SetShadowWidth
, METH_VARARGS
| METH_KEYWORDS
},
31331 { (char *)"Gauge_GetShadowWidth", (PyCFunction
) _wrap_Gauge_GetShadowWidth
, METH_VARARGS
| METH_KEYWORDS
},
31332 { (char *)"Gauge_SetBezelFace", (PyCFunction
) _wrap_Gauge_SetBezelFace
, METH_VARARGS
| METH_KEYWORDS
},
31333 { (char *)"Gauge_GetBezelFace", (PyCFunction
) _wrap_Gauge_GetBezelFace
, METH_VARARGS
| METH_KEYWORDS
},
31334 { (char *)"Gauge_GetClassDefaultAttributes", (PyCFunction
) _wrap_Gauge_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31335 { (char *)"Gauge_swigregister", Gauge_swigregister
, METH_VARARGS
},
31336 { (char *)"new_StaticBox", (PyCFunction
) _wrap_new_StaticBox
, METH_VARARGS
| METH_KEYWORDS
},
31337 { (char *)"new_PreStaticBox", (PyCFunction
) _wrap_new_PreStaticBox
, METH_VARARGS
| METH_KEYWORDS
},
31338 { (char *)"StaticBox_Create", (PyCFunction
) _wrap_StaticBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
31339 { (char *)"StaticBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_StaticBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31340 { (char *)"StaticBox_swigregister", StaticBox_swigregister
, METH_VARARGS
},
31341 { (char *)"new_StaticLine", (PyCFunction
) _wrap_new_StaticLine
, METH_VARARGS
| METH_KEYWORDS
},
31342 { (char *)"new_PreStaticLine", (PyCFunction
) _wrap_new_PreStaticLine
, METH_VARARGS
| METH_KEYWORDS
},
31343 { (char *)"StaticLine_Create", (PyCFunction
) _wrap_StaticLine_Create
, METH_VARARGS
| METH_KEYWORDS
},
31344 { (char *)"StaticLine_IsVertical", (PyCFunction
) _wrap_StaticLine_IsVertical
, METH_VARARGS
| METH_KEYWORDS
},
31345 { (char *)"StaticLine_GetDefaultSize", (PyCFunction
) _wrap_StaticLine_GetDefaultSize
, METH_VARARGS
| METH_KEYWORDS
},
31346 { (char *)"StaticLine_GetClassDefaultAttributes", (PyCFunction
) _wrap_StaticLine_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31347 { (char *)"StaticLine_swigregister", StaticLine_swigregister
, METH_VARARGS
},
31348 { (char *)"new_StaticText", (PyCFunction
) _wrap_new_StaticText
, METH_VARARGS
| METH_KEYWORDS
},
31349 { (char *)"new_PreStaticText", (PyCFunction
) _wrap_new_PreStaticText
, METH_VARARGS
| METH_KEYWORDS
},
31350 { (char *)"StaticText_Create", (PyCFunction
) _wrap_StaticText_Create
, METH_VARARGS
| METH_KEYWORDS
},
31351 { (char *)"StaticText_GetClassDefaultAttributes", (PyCFunction
) _wrap_StaticText_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31352 { (char *)"StaticText_swigregister", StaticText_swigregister
, METH_VARARGS
},
31353 { (char *)"new_StaticBitmap", (PyCFunction
) _wrap_new_StaticBitmap
, METH_VARARGS
| METH_KEYWORDS
},
31354 { (char *)"new_PreStaticBitmap", (PyCFunction
) _wrap_new_PreStaticBitmap
, METH_VARARGS
| METH_KEYWORDS
},
31355 { (char *)"StaticBitmap_Create", (PyCFunction
) _wrap_StaticBitmap_Create
, METH_VARARGS
| METH_KEYWORDS
},
31356 { (char *)"StaticBitmap_GetBitmap", (PyCFunction
) _wrap_StaticBitmap_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
31357 { (char *)"StaticBitmap_SetBitmap", (PyCFunction
) _wrap_StaticBitmap_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
31358 { (char *)"StaticBitmap_SetIcon", (PyCFunction
) _wrap_StaticBitmap_SetIcon
, METH_VARARGS
| METH_KEYWORDS
},
31359 { (char *)"StaticBitmap_GetClassDefaultAttributes", (PyCFunction
) _wrap_StaticBitmap_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31360 { (char *)"StaticBitmap_swigregister", StaticBitmap_swigregister
, METH_VARARGS
},
31361 { (char *)"new_ListBox", (PyCFunction
) _wrap_new_ListBox
, METH_VARARGS
| METH_KEYWORDS
},
31362 { (char *)"new_PreListBox", (PyCFunction
) _wrap_new_PreListBox
, METH_VARARGS
| METH_KEYWORDS
},
31363 { (char *)"ListBox_Create", (PyCFunction
) _wrap_ListBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
31364 { (char *)"ListBox_Insert", (PyCFunction
) _wrap_ListBox_Insert
, METH_VARARGS
| METH_KEYWORDS
},
31365 { (char *)"ListBox_InsertItems", (PyCFunction
) _wrap_ListBox_InsertItems
, METH_VARARGS
| METH_KEYWORDS
},
31366 { (char *)"ListBox_Set", (PyCFunction
) _wrap_ListBox_Set
, METH_VARARGS
| METH_KEYWORDS
},
31367 { (char *)"ListBox_IsSelected", (PyCFunction
) _wrap_ListBox_IsSelected
, METH_VARARGS
| METH_KEYWORDS
},
31368 { (char *)"ListBox_SetSelection", (PyCFunction
) _wrap_ListBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
31369 { (char *)"ListBox_Select", (PyCFunction
) _wrap_ListBox_Select
, METH_VARARGS
| METH_KEYWORDS
},
31370 { (char *)"ListBox_Deselect", (PyCFunction
) _wrap_ListBox_Deselect
, METH_VARARGS
| METH_KEYWORDS
},
31371 { (char *)"ListBox_DeselectAll", (PyCFunction
) _wrap_ListBox_DeselectAll
, METH_VARARGS
| METH_KEYWORDS
},
31372 { (char *)"ListBox_SetStringSelection", (PyCFunction
) _wrap_ListBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
31373 { (char *)"ListBox_GetSelections", (PyCFunction
) _wrap_ListBox_GetSelections
, METH_VARARGS
| METH_KEYWORDS
},
31374 { (char *)"ListBox_SetFirstItem", (PyCFunction
) _wrap_ListBox_SetFirstItem
, METH_VARARGS
| METH_KEYWORDS
},
31375 { (char *)"ListBox_SetFirstItemStr", (PyCFunction
) _wrap_ListBox_SetFirstItemStr
, METH_VARARGS
| METH_KEYWORDS
},
31376 { (char *)"ListBox_EnsureVisible", (PyCFunction
) _wrap_ListBox_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
},
31377 { (char *)"ListBox_AppendAndEnsureVisible", (PyCFunction
) _wrap_ListBox_AppendAndEnsureVisible
, METH_VARARGS
| METH_KEYWORDS
},
31378 { (char *)"ListBox_IsSorted", (PyCFunction
) _wrap_ListBox_IsSorted
, METH_VARARGS
| METH_KEYWORDS
},
31379 { (char *)"ListBox_SetItemForegroundColour", (PyCFunction
) _wrap_ListBox_SetItemForegroundColour
, METH_VARARGS
| METH_KEYWORDS
},
31380 { (char *)"ListBox_SetItemBackgroundColour", (PyCFunction
) _wrap_ListBox_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
31381 { (char *)"ListBox_SetItemFont", (PyCFunction
) _wrap_ListBox_SetItemFont
, METH_VARARGS
| METH_KEYWORDS
},
31382 { (char *)"ListBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_ListBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31383 { (char *)"ListBox_swigregister", ListBox_swigregister
, METH_VARARGS
},
31384 { (char *)"new_CheckListBox", (PyCFunction
) _wrap_new_CheckListBox
, METH_VARARGS
| METH_KEYWORDS
},
31385 { (char *)"new_PreCheckListBox", (PyCFunction
) _wrap_new_PreCheckListBox
, METH_VARARGS
| METH_KEYWORDS
},
31386 { (char *)"CheckListBox_Create", (PyCFunction
) _wrap_CheckListBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
31387 { (char *)"CheckListBox_IsChecked", (PyCFunction
) _wrap_CheckListBox_IsChecked
, METH_VARARGS
| METH_KEYWORDS
},
31388 { (char *)"CheckListBox_Check", (PyCFunction
) _wrap_CheckListBox_Check
, METH_VARARGS
| METH_KEYWORDS
},
31389 { (char *)"CheckListBox_GetItemHeight", (PyCFunction
) _wrap_CheckListBox_GetItemHeight
, METH_VARARGS
| METH_KEYWORDS
},
31390 { (char *)"CheckListBox_HitTest", (PyCFunction
) _wrap_CheckListBox_HitTest
, METH_VARARGS
| METH_KEYWORDS
},
31391 { (char *)"CheckListBox_HitTestXY", (PyCFunction
) _wrap_CheckListBox_HitTestXY
, METH_VARARGS
| METH_KEYWORDS
},
31392 { (char *)"CheckListBox_swigregister", CheckListBox_swigregister
, METH_VARARGS
},
31393 { (char *)"new_TextAttr", _wrap_new_TextAttr
, METH_VARARGS
},
31394 { (char *)"delete_TextAttr", (PyCFunction
) _wrap_delete_TextAttr
, METH_VARARGS
| METH_KEYWORDS
},
31395 { (char *)"TextAttr_Init", (PyCFunction
) _wrap_TextAttr_Init
, METH_VARARGS
| METH_KEYWORDS
},
31396 { (char *)"TextAttr_SetTextColour", (PyCFunction
) _wrap_TextAttr_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
31397 { (char *)"TextAttr_SetBackgroundColour", (PyCFunction
) _wrap_TextAttr_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
31398 { (char *)"TextAttr_SetFont", (PyCFunction
) _wrap_TextAttr_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
31399 { (char *)"TextAttr_SetAlignment", (PyCFunction
) _wrap_TextAttr_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
},
31400 { (char *)"TextAttr_SetTabs", (PyCFunction
) _wrap_TextAttr_SetTabs
, METH_VARARGS
| METH_KEYWORDS
},
31401 { (char *)"TextAttr_SetLeftIndent", (PyCFunction
) _wrap_TextAttr_SetLeftIndent
, METH_VARARGS
| METH_KEYWORDS
},
31402 { (char *)"TextAttr_SetRightIndent", (PyCFunction
) _wrap_TextAttr_SetRightIndent
, METH_VARARGS
| METH_KEYWORDS
},
31403 { (char *)"TextAttr_SetFlags", (PyCFunction
) _wrap_TextAttr_SetFlags
, METH_VARARGS
| METH_KEYWORDS
},
31404 { (char *)"TextAttr_HasTextColour", (PyCFunction
) _wrap_TextAttr_HasTextColour
, METH_VARARGS
| METH_KEYWORDS
},
31405 { (char *)"TextAttr_HasBackgroundColour", (PyCFunction
) _wrap_TextAttr_HasBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
31406 { (char *)"TextAttr_HasFont", (PyCFunction
) _wrap_TextAttr_HasFont
, METH_VARARGS
| METH_KEYWORDS
},
31407 { (char *)"TextAttr_HasAlignment", (PyCFunction
) _wrap_TextAttr_HasAlignment
, METH_VARARGS
| METH_KEYWORDS
},
31408 { (char *)"TextAttr_HasTabs", (PyCFunction
) _wrap_TextAttr_HasTabs
, METH_VARARGS
| METH_KEYWORDS
},
31409 { (char *)"TextAttr_HasLeftIndent", (PyCFunction
) _wrap_TextAttr_HasLeftIndent
, METH_VARARGS
| METH_KEYWORDS
},
31410 { (char *)"TextAttr_HasRightIndent", (PyCFunction
) _wrap_TextAttr_HasRightIndent
, METH_VARARGS
| METH_KEYWORDS
},
31411 { (char *)"TextAttr_HasFlag", (PyCFunction
) _wrap_TextAttr_HasFlag
, METH_VARARGS
| METH_KEYWORDS
},
31412 { (char *)"TextAttr_GetTextColour", (PyCFunction
) _wrap_TextAttr_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
31413 { (char *)"TextAttr_GetBackgroundColour", (PyCFunction
) _wrap_TextAttr_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
31414 { (char *)"TextAttr_GetFont", (PyCFunction
) _wrap_TextAttr_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
31415 { (char *)"TextAttr_GetAlignment", (PyCFunction
) _wrap_TextAttr_GetAlignment
, METH_VARARGS
| METH_KEYWORDS
},
31416 { (char *)"TextAttr_GetTabs", (PyCFunction
) _wrap_TextAttr_GetTabs
, METH_VARARGS
| METH_KEYWORDS
},
31417 { (char *)"TextAttr_GetLeftIndent", (PyCFunction
) _wrap_TextAttr_GetLeftIndent
, METH_VARARGS
| METH_KEYWORDS
},
31418 { (char *)"TextAttr_GetLeftSubIndent", (PyCFunction
) _wrap_TextAttr_GetLeftSubIndent
, METH_VARARGS
| METH_KEYWORDS
},
31419 { (char *)"TextAttr_GetRightIndent", (PyCFunction
) _wrap_TextAttr_GetRightIndent
, METH_VARARGS
| METH_KEYWORDS
},
31420 { (char *)"TextAttr_GetFlags", (PyCFunction
) _wrap_TextAttr_GetFlags
, METH_VARARGS
| METH_KEYWORDS
},
31421 { (char *)"TextAttr_IsDefault", (PyCFunction
) _wrap_TextAttr_IsDefault
, METH_VARARGS
| METH_KEYWORDS
},
31422 { (char *)"TextAttr_Combine", (PyCFunction
) _wrap_TextAttr_Combine
, METH_VARARGS
| METH_KEYWORDS
},
31423 { (char *)"TextAttr_swigregister", TextAttr_swigregister
, METH_VARARGS
},
31424 { (char *)"new_TextCtrl", (PyCFunction
) _wrap_new_TextCtrl
, METH_VARARGS
| METH_KEYWORDS
},
31425 { (char *)"new_PreTextCtrl", (PyCFunction
) _wrap_new_PreTextCtrl
, METH_VARARGS
| METH_KEYWORDS
},
31426 { (char *)"TextCtrl_Create", (PyCFunction
) _wrap_TextCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
},
31427 { (char *)"TextCtrl_GetValue", (PyCFunction
) _wrap_TextCtrl_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
31428 { (char *)"TextCtrl_SetValue", (PyCFunction
) _wrap_TextCtrl_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
31429 { (char *)"TextCtrl_GetRange", (PyCFunction
) _wrap_TextCtrl_GetRange
, METH_VARARGS
| METH_KEYWORDS
},
31430 { (char *)"TextCtrl_GetLineLength", (PyCFunction
) _wrap_TextCtrl_GetLineLength
, METH_VARARGS
| METH_KEYWORDS
},
31431 { (char *)"TextCtrl_GetLineText", (PyCFunction
) _wrap_TextCtrl_GetLineText
, METH_VARARGS
| METH_KEYWORDS
},
31432 { (char *)"TextCtrl_GetNumberOfLines", (PyCFunction
) _wrap_TextCtrl_GetNumberOfLines
, METH_VARARGS
| METH_KEYWORDS
},
31433 { (char *)"TextCtrl_IsModified", (PyCFunction
) _wrap_TextCtrl_IsModified
, METH_VARARGS
| METH_KEYWORDS
},
31434 { (char *)"TextCtrl_IsEditable", (PyCFunction
) _wrap_TextCtrl_IsEditable
, METH_VARARGS
| METH_KEYWORDS
},
31435 { (char *)"TextCtrl_IsSingleLine", (PyCFunction
) _wrap_TextCtrl_IsSingleLine
, METH_VARARGS
| METH_KEYWORDS
},
31436 { (char *)"TextCtrl_IsMultiLine", (PyCFunction
) _wrap_TextCtrl_IsMultiLine
, METH_VARARGS
| METH_KEYWORDS
},
31437 { (char *)"TextCtrl_GetSelection", (PyCFunction
) _wrap_TextCtrl_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
31438 { (char *)"TextCtrl_GetStringSelection", (PyCFunction
) _wrap_TextCtrl_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
31439 { (char *)"TextCtrl_Clear", (PyCFunction
) _wrap_TextCtrl_Clear
, METH_VARARGS
| METH_KEYWORDS
},
31440 { (char *)"TextCtrl_Replace", (PyCFunction
) _wrap_TextCtrl_Replace
, METH_VARARGS
| METH_KEYWORDS
},
31441 { (char *)"TextCtrl_Remove", (PyCFunction
) _wrap_TextCtrl_Remove
, METH_VARARGS
| METH_KEYWORDS
},
31442 { (char *)"TextCtrl_LoadFile", (PyCFunction
) _wrap_TextCtrl_LoadFile
, METH_VARARGS
| METH_KEYWORDS
},
31443 { (char *)"TextCtrl_SaveFile", (PyCFunction
) _wrap_TextCtrl_SaveFile
, METH_VARARGS
| METH_KEYWORDS
},
31444 { (char *)"TextCtrl_MarkDirty", (PyCFunction
) _wrap_TextCtrl_MarkDirty
, METH_VARARGS
| METH_KEYWORDS
},
31445 { (char *)"TextCtrl_DiscardEdits", (PyCFunction
) _wrap_TextCtrl_DiscardEdits
, METH_VARARGS
| METH_KEYWORDS
},
31446 { (char *)"TextCtrl_SetMaxLength", (PyCFunction
) _wrap_TextCtrl_SetMaxLength
, METH_VARARGS
| METH_KEYWORDS
},
31447 { (char *)"TextCtrl_WriteText", (PyCFunction
) _wrap_TextCtrl_WriteText
, METH_VARARGS
| METH_KEYWORDS
},
31448 { (char *)"TextCtrl_AppendText", (PyCFunction
) _wrap_TextCtrl_AppendText
, METH_VARARGS
| METH_KEYWORDS
},
31449 { (char *)"TextCtrl_EmulateKeyPress", (PyCFunction
) _wrap_TextCtrl_EmulateKeyPress
, METH_VARARGS
| METH_KEYWORDS
},
31450 { (char *)"TextCtrl_SetStyle", (PyCFunction
) _wrap_TextCtrl_SetStyle
, METH_VARARGS
| METH_KEYWORDS
},
31451 { (char *)"TextCtrl_GetStyle", (PyCFunction
) _wrap_TextCtrl_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
31452 { (char *)"TextCtrl_SetDefaultStyle", (PyCFunction
) _wrap_TextCtrl_SetDefaultStyle
, METH_VARARGS
| METH_KEYWORDS
},
31453 { (char *)"TextCtrl_GetDefaultStyle", (PyCFunction
) _wrap_TextCtrl_GetDefaultStyle
, METH_VARARGS
| METH_KEYWORDS
},
31454 { (char *)"TextCtrl_XYToPosition", (PyCFunction
) _wrap_TextCtrl_XYToPosition
, METH_VARARGS
| METH_KEYWORDS
},
31455 { (char *)"TextCtrl_PositionToXY", (PyCFunction
) _wrap_TextCtrl_PositionToXY
, METH_VARARGS
| METH_KEYWORDS
},
31456 { (char *)"TextCtrl_ShowPosition", (PyCFunction
) _wrap_TextCtrl_ShowPosition
, METH_VARARGS
| METH_KEYWORDS
},
31457 { (char *)"TextCtrl_HitTest", (PyCFunction
) _wrap_TextCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
},
31458 { (char *)"TextCtrl_Copy", (PyCFunction
) _wrap_TextCtrl_Copy
, METH_VARARGS
| METH_KEYWORDS
},
31459 { (char *)"TextCtrl_Cut", (PyCFunction
) _wrap_TextCtrl_Cut
, METH_VARARGS
| METH_KEYWORDS
},
31460 { (char *)"TextCtrl_Paste", (PyCFunction
) _wrap_TextCtrl_Paste
, METH_VARARGS
| METH_KEYWORDS
},
31461 { (char *)"TextCtrl_CanCopy", (PyCFunction
) _wrap_TextCtrl_CanCopy
, METH_VARARGS
| METH_KEYWORDS
},
31462 { (char *)"TextCtrl_CanCut", (PyCFunction
) _wrap_TextCtrl_CanCut
, METH_VARARGS
| METH_KEYWORDS
},
31463 { (char *)"TextCtrl_CanPaste", (PyCFunction
) _wrap_TextCtrl_CanPaste
, METH_VARARGS
| METH_KEYWORDS
},
31464 { (char *)"TextCtrl_Undo", (PyCFunction
) _wrap_TextCtrl_Undo
, METH_VARARGS
| METH_KEYWORDS
},
31465 { (char *)"TextCtrl_Redo", (PyCFunction
) _wrap_TextCtrl_Redo
, METH_VARARGS
| METH_KEYWORDS
},
31466 { (char *)"TextCtrl_CanUndo", (PyCFunction
) _wrap_TextCtrl_CanUndo
, METH_VARARGS
| METH_KEYWORDS
},
31467 { (char *)"TextCtrl_CanRedo", (PyCFunction
) _wrap_TextCtrl_CanRedo
, METH_VARARGS
| METH_KEYWORDS
},
31468 { (char *)"TextCtrl_SetInsertionPoint", (PyCFunction
) _wrap_TextCtrl_SetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
},
31469 { (char *)"TextCtrl_SetInsertionPointEnd", (PyCFunction
) _wrap_TextCtrl_SetInsertionPointEnd
, METH_VARARGS
| METH_KEYWORDS
},
31470 { (char *)"TextCtrl_GetInsertionPoint", (PyCFunction
) _wrap_TextCtrl_GetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
},
31471 { (char *)"TextCtrl_GetLastPosition", (PyCFunction
) _wrap_TextCtrl_GetLastPosition
, METH_VARARGS
| METH_KEYWORDS
},
31472 { (char *)"TextCtrl_SetSelection", (PyCFunction
) _wrap_TextCtrl_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
31473 { (char *)"TextCtrl_SelectAll", (PyCFunction
) _wrap_TextCtrl_SelectAll
, METH_VARARGS
| METH_KEYWORDS
},
31474 { (char *)"TextCtrl_SetEditable", (PyCFunction
) _wrap_TextCtrl_SetEditable
, METH_VARARGS
| METH_KEYWORDS
},
31475 { (char *)"TextCtrl_ShowNativeCaret", (PyCFunction
) _wrap_TextCtrl_ShowNativeCaret
, METH_VARARGS
| METH_KEYWORDS
},
31476 { (char *)"TextCtrl_HideNativeCaret", (PyCFunction
) _wrap_TextCtrl_HideNativeCaret
, METH_VARARGS
| METH_KEYWORDS
},
31477 { (char *)"TextCtrl_write", (PyCFunction
) _wrap_TextCtrl_write
, METH_VARARGS
| METH_KEYWORDS
},
31478 { (char *)"TextCtrl_GetString", (PyCFunction
) _wrap_TextCtrl_GetString
, METH_VARARGS
| METH_KEYWORDS
},
31479 { (char *)"TextCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_TextCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31480 { (char *)"TextCtrl_swigregister", TextCtrl_swigregister
, METH_VARARGS
},
31481 { (char *)"new_TextUrlEvent", (PyCFunction
) _wrap_new_TextUrlEvent
, METH_VARARGS
| METH_KEYWORDS
},
31482 { (char *)"TextUrlEvent_GetMouseEvent", (PyCFunction
) _wrap_TextUrlEvent_GetMouseEvent
, METH_VARARGS
| METH_KEYWORDS
},
31483 { (char *)"TextUrlEvent_GetURLStart", (PyCFunction
) _wrap_TextUrlEvent_GetURLStart
, METH_VARARGS
| METH_KEYWORDS
},
31484 { (char *)"TextUrlEvent_GetURLEnd", (PyCFunction
) _wrap_TextUrlEvent_GetURLEnd
, METH_VARARGS
| METH_KEYWORDS
},
31485 { (char *)"TextUrlEvent_swigregister", TextUrlEvent_swigregister
, METH_VARARGS
},
31486 { (char *)"new_ScrollBar", (PyCFunction
) _wrap_new_ScrollBar
, METH_VARARGS
| METH_KEYWORDS
},
31487 { (char *)"new_PreScrollBar", (PyCFunction
) _wrap_new_PreScrollBar
, METH_VARARGS
| METH_KEYWORDS
},
31488 { (char *)"ScrollBar_Create", (PyCFunction
) _wrap_ScrollBar_Create
, METH_VARARGS
| METH_KEYWORDS
},
31489 { (char *)"ScrollBar_GetThumbPosition", (PyCFunction
) _wrap_ScrollBar_GetThumbPosition
, METH_VARARGS
| METH_KEYWORDS
},
31490 { (char *)"ScrollBar_GetThumbSize", (PyCFunction
) _wrap_ScrollBar_GetThumbSize
, METH_VARARGS
| METH_KEYWORDS
},
31491 { (char *)"ScrollBar_GetPageSize", (PyCFunction
) _wrap_ScrollBar_GetPageSize
, METH_VARARGS
| METH_KEYWORDS
},
31492 { (char *)"ScrollBar_GetRange", (PyCFunction
) _wrap_ScrollBar_GetRange
, METH_VARARGS
| METH_KEYWORDS
},
31493 { (char *)"ScrollBar_IsVertical", (PyCFunction
) _wrap_ScrollBar_IsVertical
, METH_VARARGS
| METH_KEYWORDS
},
31494 { (char *)"ScrollBar_SetThumbPosition", (PyCFunction
) _wrap_ScrollBar_SetThumbPosition
, METH_VARARGS
| METH_KEYWORDS
},
31495 { (char *)"ScrollBar_SetScrollbar", (PyCFunction
) _wrap_ScrollBar_SetScrollbar
, METH_VARARGS
| METH_KEYWORDS
},
31496 { (char *)"ScrollBar_GetClassDefaultAttributes", (PyCFunction
) _wrap_ScrollBar_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31497 { (char *)"ScrollBar_swigregister", ScrollBar_swigregister
, METH_VARARGS
},
31498 { (char *)"new_SpinButton", (PyCFunction
) _wrap_new_SpinButton
, METH_VARARGS
| METH_KEYWORDS
},
31499 { (char *)"new_PreSpinButton", (PyCFunction
) _wrap_new_PreSpinButton
, METH_VARARGS
| METH_KEYWORDS
},
31500 { (char *)"SpinButton_Create", (PyCFunction
) _wrap_SpinButton_Create
, METH_VARARGS
| METH_KEYWORDS
},
31501 { (char *)"SpinButton_GetValue", (PyCFunction
) _wrap_SpinButton_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
31502 { (char *)"SpinButton_GetMin", (PyCFunction
) _wrap_SpinButton_GetMin
, METH_VARARGS
| METH_KEYWORDS
},
31503 { (char *)"SpinButton_GetMax", (PyCFunction
) _wrap_SpinButton_GetMax
, METH_VARARGS
| METH_KEYWORDS
},
31504 { (char *)"SpinButton_SetValue", (PyCFunction
) _wrap_SpinButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
31505 { (char *)"SpinButton_SetMin", (PyCFunction
) _wrap_SpinButton_SetMin
, METH_VARARGS
| METH_KEYWORDS
},
31506 { (char *)"SpinButton_SetMax", (PyCFunction
) _wrap_SpinButton_SetMax
, METH_VARARGS
| METH_KEYWORDS
},
31507 { (char *)"SpinButton_SetRange", (PyCFunction
) _wrap_SpinButton_SetRange
, METH_VARARGS
| METH_KEYWORDS
},
31508 { (char *)"SpinButton_IsVertical", (PyCFunction
) _wrap_SpinButton_IsVertical
, METH_VARARGS
| METH_KEYWORDS
},
31509 { (char *)"SpinButton_GetClassDefaultAttributes", (PyCFunction
) _wrap_SpinButton_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31510 { (char *)"SpinButton_swigregister", SpinButton_swigregister
, METH_VARARGS
},
31511 { (char *)"new_SpinCtrl", (PyCFunction
) _wrap_new_SpinCtrl
, METH_VARARGS
| METH_KEYWORDS
},
31512 { (char *)"new_PreSpinCtrl", (PyCFunction
) _wrap_new_PreSpinCtrl
, METH_VARARGS
| METH_KEYWORDS
},
31513 { (char *)"SpinCtrl_Create", (PyCFunction
) _wrap_SpinCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
},
31514 { (char *)"SpinCtrl_GetValue", (PyCFunction
) _wrap_SpinCtrl_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
31515 { (char *)"SpinCtrl_SetValue", (PyCFunction
) _wrap_SpinCtrl_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
31516 { (char *)"SpinCtrl_SetValueString", (PyCFunction
) _wrap_SpinCtrl_SetValueString
, METH_VARARGS
| METH_KEYWORDS
},
31517 { (char *)"SpinCtrl_SetRange", (PyCFunction
) _wrap_SpinCtrl_SetRange
, METH_VARARGS
| METH_KEYWORDS
},
31518 { (char *)"SpinCtrl_GetMin", (PyCFunction
) _wrap_SpinCtrl_GetMin
, METH_VARARGS
| METH_KEYWORDS
},
31519 { (char *)"SpinCtrl_GetMax", (PyCFunction
) _wrap_SpinCtrl_GetMax
, METH_VARARGS
| METH_KEYWORDS
},
31520 { (char *)"SpinCtrl_SetSelection", (PyCFunction
) _wrap_SpinCtrl_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
31521 { (char *)"SpinCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_SpinCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31522 { (char *)"SpinCtrl_swigregister", SpinCtrl_swigregister
, METH_VARARGS
},
31523 { (char *)"new_SpinEvent", (PyCFunction
) _wrap_new_SpinEvent
, METH_VARARGS
| METH_KEYWORDS
},
31524 { (char *)"SpinEvent_GetPosition", (PyCFunction
) _wrap_SpinEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
31525 { (char *)"SpinEvent_SetPosition", (PyCFunction
) _wrap_SpinEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
},
31526 { (char *)"SpinEvent_swigregister", SpinEvent_swigregister
, METH_VARARGS
},
31527 { (char *)"new_RadioBox", (PyCFunction
) _wrap_new_RadioBox
, METH_VARARGS
| METH_KEYWORDS
},
31528 { (char *)"new_PreRadioBox", (PyCFunction
) _wrap_new_PreRadioBox
, METH_VARARGS
| METH_KEYWORDS
},
31529 { (char *)"RadioBox_Create", (PyCFunction
) _wrap_RadioBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
31530 { (char *)"RadioBox_SetSelection", (PyCFunction
) _wrap_RadioBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
31531 { (char *)"RadioBox_GetSelection", (PyCFunction
) _wrap_RadioBox_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
31532 { (char *)"RadioBox_GetStringSelection", (PyCFunction
) _wrap_RadioBox_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
31533 { (char *)"RadioBox_SetStringSelection", (PyCFunction
) _wrap_RadioBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
31534 { (char *)"RadioBox_GetCount", (PyCFunction
) _wrap_RadioBox_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
31535 { (char *)"RadioBox_FindString", (PyCFunction
) _wrap_RadioBox_FindString
, METH_VARARGS
| METH_KEYWORDS
},
31536 { (char *)"RadioBox_GetString", (PyCFunction
) _wrap_RadioBox_GetString
, METH_VARARGS
| METH_KEYWORDS
},
31537 { (char *)"RadioBox_SetString", (PyCFunction
) _wrap_RadioBox_SetString
, METH_VARARGS
| METH_KEYWORDS
},
31538 { (char *)"RadioBox_EnableItem", (PyCFunction
) _wrap_RadioBox_EnableItem
, METH_VARARGS
| METH_KEYWORDS
},
31539 { (char *)"RadioBox_ShowItem", (PyCFunction
) _wrap_RadioBox_ShowItem
, METH_VARARGS
| METH_KEYWORDS
},
31540 { (char *)"RadioBox_GetColumnCount", (PyCFunction
) _wrap_RadioBox_GetColumnCount
, METH_VARARGS
| METH_KEYWORDS
},
31541 { (char *)"RadioBox_GetRowCount", (PyCFunction
) _wrap_RadioBox_GetRowCount
, METH_VARARGS
| METH_KEYWORDS
},
31542 { (char *)"RadioBox_GetNextItem", (PyCFunction
) _wrap_RadioBox_GetNextItem
, METH_VARARGS
| METH_KEYWORDS
},
31543 { (char *)"RadioBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_RadioBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31544 { (char *)"RadioBox_swigregister", RadioBox_swigregister
, METH_VARARGS
},
31545 { (char *)"new_RadioButton", (PyCFunction
) _wrap_new_RadioButton
, METH_VARARGS
| METH_KEYWORDS
},
31546 { (char *)"new_PreRadioButton", (PyCFunction
) _wrap_new_PreRadioButton
, METH_VARARGS
| METH_KEYWORDS
},
31547 { (char *)"RadioButton_Create", (PyCFunction
) _wrap_RadioButton_Create
, METH_VARARGS
| METH_KEYWORDS
},
31548 { (char *)"RadioButton_GetValue", (PyCFunction
) _wrap_RadioButton_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
31549 { (char *)"RadioButton_SetValue", (PyCFunction
) _wrap_RadioButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
31550 { (char *)"RadioButton_GetClassDefaultAttributes", (PyCFunction
) _wrap_RadioButton_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31551 { (char *)"RadioButton_swigregister", RadioButton_swigregister
, METH_VARARGS
},
31552 { (char *)"new_Slider", (PyCFunction
) _wrap_new_Slider
, METH_VARARGS
| METH_KEYWORDS
},
31553 { (char *)"new_PreSlider", (PyCFunction
) _wrap_new_PreSlider
, METH_VARARGS
| METH_KEYWORDS
},
31554 { (char *)"Slider_Create", (PyCFunction
) _wrap_Slider_Create
, METH_VARARGS
| METH_KEYWORDS
},
31555 { (char *)"Slider_GetValue", (PyCFunction
) _wrap_Slider_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
31556 { (char *)"Slider_SetValue", (PyCFunction
) _wrap_Slider_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
31557 { (char *)"Slider_SetRange", (PyCFunction
) _wrap_Slider_SetRange
, METH_VARARGS
| METH_KEYWORDS
},
31558 { (char *)"Slider_GetMin", (PyCFunction
) _wrap_Slider_GetMin
, METH_VARARGS
| METH_KEYWORDS
},
31559 { (char *)"Slider_GetMax", (PyCFunction
) _wrap_Slider_GetMax
, METH_VARARGS
| METH_KEYWORDS
},
31560 { (char *)"Slider_SetMin", (PyCFunction
) _wrap_Slider_SetMin
, METH_VARARGS
| METH_KEYWORDS
},
31561 { (char *)"Slider_SetMax", (PyCFunction
) _wrap_Slider_SetMax
, METH_VARARGS
| METH_KEYWORDS
},
31562 { (char *)"Slider_SetLineSize", (PyCFunction
) _wrap_Slider_SetLineSize
, METH_VARARGS
| METH_KEYWORDS
},
31563 { (char *)"Slider_SetPageSize", (PyCFunction
) _wrap_Slider_SetPageSize
, METH_VARARGS
| METH_KEYWORDS
},
31564 { (char *)"Slider_GetLineSize", (PyCFunction
) _wrap_Slider_GetLineSize
, METH_VARARGS
| METH_KEYWORDS
},
31565 { (char *)"Slider_GetPageSize", (PyCFunction
) _wrap_Slider_GetPageSize
, METH_VARARGS
| METH_KEYWORDS
},
31566 { (char *)"Slider_SetThumbLength", (PyCFunction
) _wrap_Slider_SetThumbLength
, METH_VARARGS
| METH_KEYWORDS
},
31567 { (char *)"Slider_GetThumbLength", (PyCFunction
) _wrap_Slider_GetThumbLength
, METH_VARARGS
| METH_KEYWORDS
},
31568 { (char *)"Slider_SetTickFreq", (PyCFunction
) _wrap_Slider_SetTickFreq
, METH_VARARGS
| METH_KEYWORDS
},
31569 { (char *)"Slider_GetTickFreq", (PyCFunction
) _wrap_Slider_GetTickFreq
, METH_VARARGS
| METH_KEYWORDS
},
31570 { (char *)"Slider_ClearTicks", (PyCFunction
) _wrap_Slider_ClearTicks
, METH_VARARGS
| METH_KEYWORDS
},
31571 { (char *)"Slider_SetTick", (PyCFunction
) _wrap_Slider_SetTick
, METH_VARARGS
| METH_KEYWORDS
},
31572 { (char *)"Slider_ClearSel", (PyCFunction
) _wrap_Slider_ClearSel
, METH_VARARGS
| METH_KEYWORDS
},
31573 { (char *)"Slider_GetSelEnd", (PyCFunction
) _wrap_Slider_GetSelEnd
, METH_VARARGS
| METH_KEYWORDS
},
31574 { (char *)"Slider_GetSelStart", (PyCFunction
) _wrap_Slider_GetSelStart
, METH_VARARGS
| METH_KEYWORDS
},
31575 { (char *)"Slider_SetSelection", (PyCFunction
) _wrap_Slider_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
31576 { (char *)"Slider_GetClassDefaultAttributes", (PyCFunction
) _wrap_Slider_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31577 { (char *)"Slider_swigregister", Slider_swigregister
, METH_VARARGS
},
31578 { (char *)"new_ToggleButton", (PyCFunction
) _wrap_new_ToggleButton
, METH_VARARGS
| METH_KEYWORDS
},
31579 { (char *)"new_PreToggleButton", (PyCFunction
) _wrap_new_PreToggleButton
, METH_VARARGS
| METH_KEYWORDS
},
31580 { (char *)"ToggleButton_Create", (PyCFunction
) _wrap_ToggleButton_Create
, METH_VARARGS
| METH_KEYWORDS
},
31581 { (char *)"ToggleButton_SetValue", (PyCFunction
) _wrap_ToggleButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
31582 { (char *)"ToggleButton_GetValue", (PyCFunction
) _wrap_ToggleButton_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
31583 { (char *)"ToggleButton_SetLabel", (PyCFunction
) _wrap_ToggleButton_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
31584 { (char *)"ToggleButton_GetClassDefaultAttributes", (PyCFunction
) _wrap_ToggleButton_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31585 { (char *)"ToggleButton_swigregister", ToggleButton_swigregister
, METH_VARARGS
},
31586 { (char *)"BookCtrl_GetPageCount", (PyCFunction
) _wrap_BookCtrl_GetPageCount
, METH_VARARGS
| METH_KEYWORDS
},
31587 { (char *)"BookCtrl_GetPage", (PyCFunction
) _wrap_BookCtrl_GetPage
, METH_VARARGS
| METH_KEYWORDS
},
31588 { (char *)"BookCtrl_GetSelection", (PyCFunction
) _wrap_BookCtrl_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
31589 { (char *)"BookCtrl_SetPageText", (PyCFunction
) _wrap_BookCtrl_SetPageText
, METH_VARARGS
| METH_KEYWORDS
},
31590 { (char *)"BookCtrl_GetPageText", (PyCFunction
) _wrap_BookCtrl_GetPageText
, METH_VARARGS
| METH_KEYWORDS
},
31591 { (char *)"BookCtrl_SetImageList", (PyCFunction
) _wrap_BookCtrl_SetImageList
, METH_VARARGS
| METH_KEYWORDS
},
31592 { (char *)"BookCtrl_AssignImageList", (PyCFunction
) _wrap_BookCtrl_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
},
31593 { (char *)"BookCtrl_GetImageList", (PyCFunction
) _wrap_BookCtrl_GetImageList
, METH_VARARGS
| METH_KEYWORDS
},
31594 { (char *)"BookCtrl_GetPageImage", (PyCFunction
) _wrap_BookCtrl_GetPageImage
, METH_VARARGS
| METH_KEYWORDS
},
31595 { (char *)"BookCtrl_SetPageImage", (PyCFunction
) _wrap_BookCtrl_SetPageImage
, METH_VARARGS
| METH_KEYWORDS
},
31596 { (char *)"BookCtrl_SetPageSize", (PyCFunction
) _wrap_BookCtrl_SetPageSize
, METH_VARARGS
| METH_KEYWORDS
},
31597 { (char *)"BookCtrl_CalcSizeFromPage", (PyCFunction
) _wrap_BookCtrl_CalcSizeFromPage
, METH_VARARGS
| METH_KEYWORDS
},
31598 { (char *)"BookCtrl_DeletePage", (PyCFunction
) _wrap_BookCtrl_DeletePage
, METH_VARARGS
| METH_KEYWORDS
},
31599 { (char *)"BookCtrl_RemovePage", (PyCFunction
) _wrap_BookCtrl_RemovePage
, METH_VARARGS
| METH_KEYWORDS
},
31600 { (char *)"BookCtrl_DeleteAllPages", (PyCFunction
) _wrap_BookCtrl_DeleteAllPages
, METH_VARARGS
| METH_KEYWORDS
},
31601 { (char *)"BookCtrl_AddPage", (PyCFunction
) _wrap_BookCtrl_AddPage
, METH_VARARGS
| METH_KEYWORDS
},
31602 { (char *)"BookCtrl_InsertPage", (PyCFunction
) _wrap_BookCtrl_InsertPage
, METH_VARARGS
| METH_KEYWORDS
},
31603 { (char *)"BookCtrl_SetSelection", (PyCFunction
) _wrap_BookCtrl_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
31604 { (char *)"BookCtrl_AdvanceSelection", (PyCFunction
) _wrap_BookCtrl_AdvanceSelection
, METH_VARARGS
| METH_KEYWORDS
},
31605 { (char *)"BookCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_BookCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31606 { (char *)"BookCtrl_swigregister", BookCtrl_swigregister
, METH_VARARGS
},
31607 { (char *)"new_BookCtrlEvent", (PyCFunction
) _wrap_new_BookCtrlEvent
, METH_VARARGS
| METH_KEYWORDS
},
31608 { (char *)"BookCtrlEvent_GetSelection", (PyCFunction
) _wrap_BookCtrlEvent_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
31609 { (char *)"BookCtrlEvent_SetSelection", (PyCFunction
) _wrap_BookCtrlEvent_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
31610 { (char *)"BookCtrlEvent_GetOldSelection", (PyCFunction
) _wrap_BookCtrlEvent_GetOldSelection
, METH_VARARGS
| METH_KEYWORDS
},
31611 { (char *)"BookCtrlEvent_SetOldSelection", (PyCFunction
) _wrap_BookCtrlEvent_SetOldSelection
, METH_VARARGS
| METH_KEYWORDS
},
31612 { (char *)"BookCtrlEvent_swigregister", BookCtrlEvent_swigregister
, METH_VARARGS
},
31613 { (char *)"new_Notebook", (PyCFunction
) _wrap_new_Notebook
, METH_VARARGS
| METH_KEYWORDS
},
31614 { (char *)"new_PreNotebook", (PyCFunction
) _wrap_new_PreNotebook
, METH_VARARGS
| METH_KEYWORDS
},
31615 { (char *)"Notebook_Create", (PyCFunction
) _wrap_Notebook_Create
, METH_VARARGS
| METH_KEYWORDS
},
31616 { (char *)"Notebook_GetRowCount", (PyCFunction
) _wrap_Notebook_GetRowCount
, METH_VARARGS
| METH_KEYWORDS
},
31617 { (char *)"Notebook_SetPadding", (PyCFunction
) _wrap_Notebook_SetPadding
, METH_VARARGS
| METH_KEYWORDS
},
31618 { (char *)"Notebook_SetTabSize", (PyCFunction
) _wrap_Notebook_SetTabSize
, METH_VARARGS
| METH_KEYWORDS
},
31619 { (char *)"Notebook_HitTest", (PyCFunction
) _wrap_Notebook_HitTest
, METH_VARARGS
| METH_KEYWORDS
},
31620 { (char *)"Notebook_CalcSizeFromPage", (PyCFunction
) _wrap_Notebook_CalcSizeFromPage
, METH_VARARGS
| METH_KEYWORDS
},
31621 { (char *)"Notebook_ApplyThemeBackground", (PyCFunction
) _wrap_Notebook_ApplyThemeBackground
, METH_VARARGS
| METH_KEYWORDS
},
31622 { (char *)"Notebook_GetClassDefaultAttributes", (PyCFunction
) _wrap_Notebook_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31623 { (char *)"Notebook_swigregister", Notebook_swigregister
, METH_VARARGS
},
31624 { (char *)"new_NotebookEvent", (PyCFunction
) _wrap_new_NotebookEvent
, METH_VARARGS
| METH_KEYWORDS
},
31625 { (char *)"NotebookEvent_swigregister", NotebookEvent_swigregister
, METH_VARARGS
},
31626 { (char *)"new_Listbook", (PyCFunction
) _wrap_new_Listbook
, METH_VARARGS
| METH_KEYWORDS
},
31627 { (char *)"new_PreListbook", (PyCFunction
) _wrap_new_PreListbook
, METH_VARARGS
| METH_KEYWORDS
},
31628 { (char *)"Listbook_Create", (PyCFunction
) _wrap_Listbook_Create
, METH_VARARGS
| METH_KEYWORDS
},
31629 { (char *)"Listbook_IsVertical", (PyCFunction
) _wrap_Listbook_IsVertical
, METH_VARARGS
| METH_KEYWORDS
},
31630 { (char *)"Listbook_swigregister", Listbook_swigregister
, METH_VARARGS
},
31631 { (char *)"new_ListbookEvent", (PyCFunction
) _wrap_new_ListbookEvent
, METH_VARARGS
| METH_KEYWORDS
},
31632 { (char *)"ListbookEvent_swigregister", ListbookEvent_swigregister
, METH_VARARGS
},
31633 { (char *)"new_BookCtrlSizer", (PyCFunction
) _wrap_new_BookCtrlSizer
, METH_VARARGS
| METH_KEYWORDS
},
31634 { (char *)"BookCtrlSizer_RecalcSizes", (PyCFunction
) _wrap_BookCtrlSizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
},
31635 { (char *)"BookCtrlSizer_CalcMin", (PyCFunction
) _wrap_BookCtrlSizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
},
31636 { (char *)"BookCtrlSizer_GetControl", (PyCFunction
) _wrap_BookCtrlSizer_GetControl
, METH_VARARGS
| METH_KEYWORDS
},
31637 { (char *)"BookCtrlSizer_swigregister", BookCtrlSizer_swigregister
, METH_VARARGS
},
31638 { (char *)"new_NotebookSizer", (PyCFunction
) _wrap_new_NotebookSizer
, METH_VARARGS
| METH_KEYWORDS
},
31639 { (char *)"NotebookSizer_RecalcSizes", (PyCFunction
) _wrap_NotebookSizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
},
31640 { (char *)"NotebookSizer_CalcMin", (PyCFunction
) _wrap_NotebookSizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
},
31641 { (char *)"NotebookSizer_GetNotebook", (PyCFunction
) _wrap_NotebookSizer_GetNotebook
, METH_VARARGS
| METH_KEYWORDS
},
31642 { (char *)"NotebookSizer_swigregister", NotebookSizer_swigregister
, METH_VARARGS
},
31643 { (char *)"ToolBarToolBase_GetId", (PyCFunction
) _wrap_ToolBarToolBase_GetId
, METH_VARARGS
| METH_KEYWORDS
},
31644 { (char *)"ToolBarToolBase_GetControl", (PyCFunction
) _wrap_ToolBarToolBase_GetControl
, METH_VARARGS
| METH_KEYWORDS
},
31645 { (char *)"ToolBarToolBase_GetToolBar", (PyCFunction
) _wrap_ToolBarToolBase_GetToolBar
, METH_VARARGS
| METH_KEYWORDS
},
31646 { (char *)"ToolBarToolBase_IsButton", (PyCFunction
) _wrap_ToolBarToolBase_IsButton
, METH_VARARGS
| METH_KEYWORDS
},
31647 { (char *)"ToolBarToolBase_IsControl", (PyCFunction
) _wrap_ToolBarToolBase_IsControl
, METH_VARARGS
| METH_KEYWORDS
},
31648 { (char *)"ToolBarToolBase_IsSeparator", (PyCFunction
) _wrap_ToolBarToolBase_IsSeparator
, METH_VARARGS
| METH_KEYWORDS
},
31649 { (char *)"ToolBarToolBase_GetStyle", (PyCFunction
) _wrap_ToolBarToolBase_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
31650 { (char *)"ToolBarToolBase_GetKind", (PyCFunction
) _wrap_ToolBarToolBase_GetKind
, METH_VARARGS
| METH_KEYWORDS
},
31651 { (char *)"ToolBarToolBase_IsEnabled", (PyCFunction
) _wrap_ToolBarToolBase_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
},
31652 { (char *)"ToolBarToolBase_IsToggled", (PyCFunction
) _wrap_ToolBarToolBase_IsToggled
, METH_VARARGS
| METH_KEYWORDS
},
31653 { (char *)"ToolBarToolBase_CanBeToggled", (PyCFunction
) _wrap_ToolBarToolBase_CanBeToggled
, METH_VARARGS
| METH_KEYWORDS
},
31654 { (char *)"ToolBarToolBase_GetNormalBitmap", (PyCFunction
) _wrap_ToolBarToolBase_GetNormalBitmap
, METH_VARARGS
| METH_KEYWORDS
},
31655 { (char *)"ToolBarToolBase_GetDisabledBitmap", (PyCFunction
) _wrap_ToolBarToolBase_GetDisabledBitmap
, METH_VARARGS
| METH_KEYWORDS
},
31656 { (char *)"ToolBarToolBase_GetBitmap", (PyCFunction
) _wrap_ToolBarToolBase_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
31657 { (char *)"ToolBarToolBase_GetLabel", (PyCFunction
) _wrap_ToolBarToolBase_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
31658 { (char *)"ToolBarToolBase_GetShortHelp", (PyCFunction
) _wrap_ToolBarToolBase_GetShortHelp
, METH_VARARGS
| METH_KEYWORDS
},
31659 { (char *)"ToolBarToolBase_GetLongHelp", (PyCFunction
) _wrap_ToolBarToolBase_GetLongHelp
, METH_VARARGS
| METH_KEYWORDS
},
31660 { (char *)"ToolBarToolBase_Enable", (PyCFunction
) _wrap_ToolBarToolBase_Enable
, METH_VARARGS
| METH_KEYWORDS
},
31661 { (char *)"ToolBarToolBase_Toggle", (PyCFunction
) _wrap_ToolBarToolBase_Toggle
, METH_VARARGS
| METH_KEYWORDS
},
31662 { (char *)"ToolBarToolBase_SetToggle", (PyCFunction
) _wrap_ToolBarToolBase_SetToggle
, METH_VARARGS
| METH_KEYWORDS
},
31663 { (char *)"ToolBarToolBase_SetShortHelp", (PyCFunction
) _wrap_ToolBarToolBase_SetShortHelp
, METH_VARARGS
| METH_KEYWORDS
},
31664 { (char *)"ToolBarToolBase_SetLongHelp", (PyCFunction
) _wrap_ToolBarToolBase_SetLongHelp
, METH_VARARGS
| METH_KEYWORDS
},
31665 { (char *)"ToolBarToolBase_SetNormalBitmap", (PyCFunction
) _wrap_ToolBarToolBase_SetNormalBitmap
, METH_VARARGS
| METH_KEYWORDS
},
31666 { (char *)"ToolBarToolBase_SetDisabledBitmap", (PyCFunction
) _wrap_ToolBarToolBase_SetDisabledBitmap
, METH_VARARGS
| METH_KEYWORDS
},
31667 { (char *)"ToolBarToolBase_SetLabel", (PyCFunction
) _wrap_ToolBarToolBase_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
31668 { (char *)"ToolBarToolBase_Detach", (PyCFunction
) _wrap_ToolBarToolBase_Detach
, METH_VARARGS
| METH_KEYWORDS
},
31669 { (char *)"ToolBarToolBase_Attach", (PyCFunction
) _wrap_ToolBarToolBase_Attach
, METH_VARARGS
| METH_KEYWORDS
},
31670 { (char *)"ToolBarToolBase_GetClientData", (PyCFunction
) _wrap_ToolBarToolBase_GetClientData
, METH_VARARGS
| METH_KEYWORDS
},
31671 { (char *)"ToolBarToolBase_SetClientData", (PyCFunction
) _wrap_ToolBarToolBase_SetClientData
, METH_VARARGS
| METH_KEYWORDS
},
31672 { (char *)"ToolBarToolBase_swigregister", ToolBarToolBase_swigregister
, METH_VARARGS
},
31673 { (char *)"ToolBarBase_DoAddTool", (PyCFunction
) _wrap_ToolBarBase_DoAddTool
, METH_VARARGS
| METH_KEYWORDS
},
31674 { (char *)"ToolBarBase_DoInsertTool", (PyCFunction
) _wrap_ToolBarBase_DoInsertTool
, METH_VARARGS
| METH_KEYWORDS
},
31675 { (char *)"ToolBarBase_AddToolItem", (PyCFunction
) _wrap_ToolBarBase_AddToolItem
, METH_VARARGS
| METH_KEYWORDS
},
31676 { (char *)"ToolBarBase_InsertToolItem", (PyCFunction
) _wrap_ToolBarBase_InsertToolItem
, METH_VARARGS
| METH_KEYWORDS
},
31677 { (char *)"ToolBarBase_AddControl", (PyCFunction
) _wrap_ToolBarBase_AddControl
, METH_VARARGS
| METH_KEYWORDS
},
31678 { (char *)"ToolBarBase_InsertControl", (PyCFunction
) _wrap_ToolBarBase_InsertControl
, METH_VARARGS
| METH_KEYWORDS
},
31679 { (char *)"ToolBarBase_FindControl", (PyCFunction
) _wrap_ToolBarBase_FindControl
, METH_VARARGS
| METH_KEYWORDS
},
31680 { (char *)"ToolBarBase_AddSeparator", (PyCFunction
) _wrap_ToolBarBase_AddSeparator
, METH_VARARGS
| METH_KEYWORDS
},
31681 { (char *)"ToolBarBase_InsertSeparator", (PyCFunction
) _wrap_ToolBarBase_InsertSeparator
, METH_VARARGS
| METH_KEYWORDS
},
31682 { (char *)"ToolBarBase_RemoveTool", (PyCFunction
) _wrap_ToolBarBase_RemoveTool
, METH_VARARGS
| METH_KEYWORDS
},
31683 { (char *)"ToolBarBase_DeleteToolByPos", (PyCFunction
) _wrap_ToolBarBase_DeleteToolByPos
, METH_VARARGS
| METH_KEYWORDS
},
31684 { (char *)"ToolBarBase_DeleteTool", (PyCFunction
) _wrap_ToolBarBase_DeleteTool
, METH_VARARGS
| METH_KEYWORDS
},
31685 { (char *)"ToolBarBase_ClearTools", (PyCFunction
) _wrap_ToolBarBase_ClearTools
, METH_VARARGS
| METH_KEYWORDS
},
31686 { (char *)"ToolBarBase_Realize", (PyCFunction
) _wrap_ToolBarBase_Realize
, METH_VARARGS
| METH_KEYWORDS
},
31687 { (char *)"ToolBarBase_EnableTool", (PyCFunction
) _wrap_ToolBarBase_EnableTool
, METH_VARARGS
| METH_KEYWORDS
},
31688 { (char *)"ToolBarBase_ToggleTool", (PyCFunction
) _wrap_ToolBarBase_ToggleTool
, METH_VARARGS
| METH_KEYWORDS
},
31689 { (char *)"ToolBarBase_SetToggle", (PyCFunction
) _wrap_ToolBarBase_SetToggle
, METH_VARARGS
| METH_KEYWORDS
},
31690 { (char *)"ToolBarBase_GetToolClientData", (PyCFunction
) _wrap_ToolBarBase_GetToolClientData
, METH_VARARGS
| METH_KEYWORDS
},
31691 { (char *)"ToolBarBase_SetToolClientData", (PyCFunction
) _wrap_ToolBarBase_SetToolClientData
, METH_VARARGS
| METH_KEYWORDS
},
31692 { (char *)"ToolBarBase_GetToolPos", (PyCFunction
) _wrap_ToolBarBase_GetToolPos
, METH_VARARGS
| METH_KEYWORDS
},
31693 { (char *)"ToolBarBase_GetToolState", (PyCFunction
) _wrap_ToolBarBase_GetToolState
, METH_VARARGS
| METH_KEYWORDS
},
31694 { (char *)"ToolBarBase_GetToolEnabled", (PyCFunction
) _wrap_ToolBarBase_GetToolEnabled
, METH_VARARGS
| METH_KEYWORDS
},
31695 { (char *)"ToolBarBase_SetToolShortHelp", (PyCFunction
) _wrap_ToolBarBase_SetToolShortHelp
, METH_VARARGS
| METH_KEYWORDS
},
31696 { (char *)"ToolBarBase_GetToolShortHelp", (PyCFunction
) _wrap_ToolBarBase_GetToolShortHelp
, METH_VARARGS
| METH_KEYWORDS
},
31697 { (char *)"ToolBarBase_SetToolLongHelp", (PyCFunction
) _wrap_ToolBarBase_SetToolLongHelp
, METH_VARARGS
| METH_KEYWORDS
},
31698 { (char *)"ToolBarBase_GetToolLongHelp", (PyCFunction
) _wrap_ToolBarBase_GetToolLongHelp
, METH_VARARGS
| METH_KEYWORDS
},
31699 { (char *)"ToolBarBase_SetMarginsXY", (PyCFunction
) _wrap_ToolBarBase_SetMarginsXY
, METH_VARARGS
| METH_KEYWORDS
},
31700 { (char *)"ToolBarBase_SetMargins", (PyCFunction
) _wrap_ToolBarBase_SetMargins
, METH_VARARGS
| METH_KEYWORDS
},
31701 { (char *)"ToolBarBase_SetToolPacking", (PyCFunction
) _wrap_ToolBarBase_SetToolPacking
, METH_VARARGS
| METH_KEYWORDS
},
31702 { (char *)"ToolBarBase_SetToolSeparation", (PyCFunction
) _wrap_ToolBarBase_SetToolSeparation
, METH_VARARGS
| METH_KEYWORDS
},
31703 { (char *)"ToolBarBase_GetToolMargins", (PyCFunction
) _wrap_ToolBarBase_GetToolMargins
, METH_VARARGS
| METH_KEYWORDS
},
31704 { (char *)"ToolBarBase_GetMargins", (PyCFunction
) _wrap_ToolBarBase_GetMargins
, METH_VARARGS
| METH_KEYWORDS
},
31705 { (char *)"ToolBarBase_GetToolPacking", (PyCFunction
) _wrap_ToolBarBase_GetToolPacking
, METH_VARARGS
| METH_KEYWORDS
},
31706 { (char *)"ToolBarBase_GetToolSeparation", (PyCFunction
) _wrap_ToolBarBase_GetToolSeparation
, METH_VARARGS
| METH_KEYWORDS
},
31707 { (char *)"ToolBarBase_SetRows", (PyCFunction
) _wrap_ToolBarBase_SetRows
, METH_VARARGS
| METH_KEYWORDS
},
31708 { (char *)"ToolBarBase_SetMaxRowsCols", (PyCFunction
) _wrap_ToolBarBase_SetMaxRowsCols
, METH_VARARGS
| METH_KEYWORDS
},
31709 { (char *)"ToolBarBase_GetMaxRows", (PyCFunction
) _wrap_ToolBarBase_GetMaxRows
, METH_VARARGS
| METH_KEYWORDS
},
31710 { (char *)"ToolBarBase_GetMaxCols", (PyCFunction
) _wrap_ToolBarBase_GetMaxCols
, METH_VARARGS
| METH_KEYWORDS
},
31711 { (char *)"ToolBarBase_SetToolBitmapSize", (PyCFunction
) _wrap_ToolBarBase_SetToolBitmapSize
, METH_VARARGS
| METH_KEYWORDS
},
31712 { (char *)"ToolBarBase_GetToolBitmapSize", (PyCFunction
) _wrap_ToolBarBase_GetToolBitmapSize
, METH_VARARGS
| METH_KEYWORDS
},
31713 { (char *)"ToolBarBase_GetToolSize", (PyCFunction
) _wrap_ToolBarBase_GetToolSize
, METH_VARARGS
| METH_KEYWORDS
},
31714 { (char *)"ToolBarBase_FindToolForPosition", (PyCFunction
) _wrap_ToolBarBase_FindToolForPosition
, METH_VARARGS
| METH_KEYWORDS
},
31715 { (char *)"ToolBarBase_FindById", (PyCFunction
) _wrap_ToolBarBase_FindById
, METH_VARARGS
| METH_KEYWORDS
},
31716 { (char *)"ToolBarBase_IsVertical", (PyCFunction
) _wrap_ToolBarBase_IsVertical
, METH_VARARGS
| METH_KEYWORDS
},
31717 { (char *)"ToolBarBase_swigregister", ToolBarBase_swigregister
, METH_VARARGS
},
31718 { (char *)"new_ToolBar", (PyCFunction
) _wrap_new_ToolBar
, METH_VARARGS
| METH_KEYWORDS
},
31719 { (char *)"new_PreToolBar", (PyCFunction
) _wrap_new_PreToolBar
, METH_VARARGS
| METH_KEYWORDS
},
31720 { (char *)"ToolBar_Create", (PyCFunction
) _wrap_ToolBar_Create
, METH_VARARGS
| METH_KEYWORDS
},
31721 { (char *)"ToolBar_FindToolForPosition", (PyCFunction
) _wrap_ToolBar_FindToolForPosition
, METH_VARARGS
| METH_KEYWORDS
},
31722 { (char *)"ToolBar_GetClassDefaultAttributes", (PyCFunction
) _wrap_ToolBar_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31723 { (char *)"ToolBar_swigregister", ToolBar_swigregister
, METH_VARARGS
},
31724 { (char *)"new_ListItemAttr", (PyCFunction
) _wrap_new_ListItemAttr
, METH_VARARGS
| METH_KEYWORDS
},
31725 { (char *)"ListItemAttr_SetTextColour", (PyCFunction
) _wrap_ListItemAttr_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
31726 { (char *)"ListItemAttr_SetBackgroundColour", (PyCFunction
) _wrap_ListItemAttr_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
31727 { (char *)"ListItemAttr_SetFont", (PyCFunction
) _wrap_ListItemAttr_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
31728 { (char *)"ListItemAttr_HasTextColour", (PyCFunction
) _wrap_ListItemAttr_HasTextColour
, METH_VARARGS
| METH_KEYWORDS
},
31729 { (char *)"ListItemAttr_HasBackgroundColour", (PyCFunction
) _wrap_ListItemAttr_HasBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
31730 { (char *)"ListItemAttr_HasFont", (PyCFunction
) _wrap_ListItemAttr_HasFont
, METH_VARARGS
| METH_KEYWORDS
},
31731 { (char *)"ListItemAttr_GetTextColour", (PyCFunction
) _wrap_ListItemAttr_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
31732 { (char *)"ListItemAttr_GetBackgroundColour", (PyCFunction
) _wrap_ListItemAttr_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
31733 { (char *)"ListItemAttr_GetFont", (PyCFunction
) _wrap_ListItemAttr_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
31734 { (char *)"ListItemAttr_Destroy", (PyCFunction
) _wrap_ListItemAttr_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
31735 { (char *)"ListItemAttr_swigregister", ListItemAttr_swigregister
, METH_VARARGS
},
31736 { (char *)"new_ListItem", (PyCFunction
) _wrap_new_ListItem
, METH_VARARGS
| METH_KEYWORDS
},
31737 { (char *)"delete_ListItem", (PyCFunction
) _wrap_delete_ListItem
, METH_VARARGS
| METH_KEYWORDS
},
31738 { (char *)"ListItem_Clear", (PyCFunction
) _wrap_ListItem_Clear
, METH_VARARGS
| METH_KEYWORDS
},
31739 { (char *)"ListItem_ClearAttributes", (PyCFunction
) _wrap_ListItem_ClearAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31740 { (char *)"ListItem_SetMask", (PyCFunction
) _wrap_ListItem_SetMask
, METH_VARARGS
| METH_KEYWORDS
},
31741 { (char *)"ListItem_SetId", (PyCFunction
) _wrap_ListItem_SetId
, METH_VARARGS
| METH_KEYWORDS
},
31742 { (char *)"ListItem_SetColumn", (PyCFunction
) _wrap_ListItem_SetColumn
, METH_VARARGS
| METH_KEYWORDS
},
31743 { (char *)"ListItem_SetState", (PyCFunction
) _wrap_ListItem_SetState
, METH_VARARGS
| METH_KEYWORDS
},
31744 { (char *)"ListItem_SetStateMask", (PyCFunction
) _wrap_ListItem_SetStateMask
, METH_VARARGS
| METH_KEYWORDS
},
31745 { (char *)"ListItem_SetText", (PyCFunction
) _wrap_ListItem_SetText
, METH_VARARGS
| METH_KEYWORDS
},
31746 { (char *)"ListItem_SetImage", (PyCFunction
) _wrap_ListItem_SetImage
, METH_VARARGS
| METH_KEYWORDS
},
31747 { (char *)"ListItem_SetData", (PyCFunction
) _wrap_ListItem_SetData
, METH_VARARGS
| METH_KEYWORDS
},
31748 { (char *)"ListItem_SetWidth", (PyCFunction
) _wrap_ListItem_SetWidth
, METH_VARARGS
| METH_KEYWORDS
},
31749 { (char *)"ListItem_SetAlign", (PyCFunction
) _wrap_ListItem_SetAlign
, METH_VARARGS
| METH_KEYWORDS
},
31750 { (char *)"ListItem_SetTextColour", (PyCFunction
) _wrap_ListItem_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
31751 { (char *)"ListItem_SetBackgroundColour", (PyCFunction
) _wrap_ListItem_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
31752 { (char *)"ListItem_SetFont", (PyCFunction
) _wrap_ListItem_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
31753 { (char *)"ListItem_GetMask", (PyCFunction
) _wrap_ListItem_GetMask
, METH_VARARGS
| METH_KEYWORDS
},
31754 { (char *)"ListItem_GetId", (PyCFunction
) _wrap_ListItem_GetId
, METH_VARARGS
| METH_KEYWORDS
},
31755 { (char *)"ListItem_GetColumn", (PyCFunction
) _wrap_ListItem_GetColumn
, METH_VARARGS
| METH_KEYWORDS
},
31756 { (char *)"ListItem_GetState", (PyCFunction
) _wrap_ListItem_GetState
, METH_VARARGS
| METH_KEYWORDS
},
31757 { (char *)"ListItem_GetText", (PyCFunction
) _wrap_ListItem_GetText
, METH_VARARGS
| METH_KEYWORDS
},
31758 { (char *)"ListItem_GetImage", (PyCFunction
) _wrap_ListItem_GetImage
, METH_VARARGS
| METH_KEYWORDS
},
31759 { (char *)"ListItem_GetData", (PyCFunction
) _wrap_ListItem_GetData
, METH_VARARGS
| METH_KEYWORDS
},
31760 { (char *)"ListItem_GetWidth", (PyCFunction
) _wrap_ListItem_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
31761 { (char *)"ListItem_GetAlign", (PyCFunction
) _wrap_ListItem_GetAlign
, METH_VARARGS
| METH_KEYWORDS
},
31762 { (char *)"ListItem_GetAttributes", (PyCFunction
) _wrap_ListItem_GetAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31763 { (char *)"ListItem_HasAttributes", (PyCFunction
) _wrap_ListItem_HasAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31764 { (char *)"ListItem_GetTextColour", (PyCFunction
) _wrap_ListItem_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
31765 { (char *)"ListItem_GetBackgroundColour", (PyCFunction
) _wrap_ListItem_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
31766 { (char *)"ListItem_GetFont", (PyCFunction
) _wrap_ListItem_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
31767 { (char *)"ListItem_m_mask_set", (PyCFunction
) _wrap_ListItem_m_mask_set
, METH_VARARGS
| METH_KEYWORDS
},
31768 { (char *)"ListItem_m_mask_get", (PyCFunction
) _wrap_ListItem_m_mask_get
, METH_VARARGS
| METH_KEYWORDS
},
31769 { (char *)"ListItem_m_itemId_set", (PyCFunction
) _wrap_ListItem_m_itemId_set
, METH_VARARGS
| METH_KEYWORDS
},
31770 { (char *)"ListItem_m_itemId_get", (PyCFunction
) _wrap_ListItem_m_itemId_get
, METH_VARARGS
| METH_KEYWORDS
},
31771 { (char *)"ListItem_m_col_set", (PyCFunction
) _wrap_ListItem_m_col_set
, METH_VARARGS
| METH_KEYWORDS
},
31772 { (char *)"ListItem_m_col_get", (PyCFunction
) _wrap_ListItem_m_col_get
, METH_VARARGS
| METH_KEYWORDS
},
31773 { (char *)"ListItem_m_state_set", (PyCFunction
) _wrap_ListItem_m_state_set
, METH_VARARGS
| METH_KEYWORDS
},
31774 { (char *)"ListItem_m_state_get", (PyCFunction
) _wrap_ListItem_m_state_get
, METH_VARARGS
| METH_KEYWORDS
},
31775 { (char *)"ListItem_m_stateMask_set", (PyCFunction
) _wrap_ListItem_m_stateMask_set
, METH_VARARGS
| METH_KEYWORDS
},
31776 { (char *)"ListItem_m_stateMask_get", (PyCFunction
) _wrap_ListItem_m_stateMask_get
, METH_VARARGS
| METH_KEYWORDS
},
31777 { (char *)"ListItem_m_text_set", (PyCFunction
) _wrap_ListItem_m_text_set
, METH_VARARGS
| METH_KEYWORDS
},
31778 { (char *)"ListItem_m_text_get", (PyCFunction
) _wrap_ListItem_m_text_get
, METH_VARARGS
| METH_KEYWORDS
},
31779 { (char *)"ListItem_m_image_set", (PyCFunction
) _wrap_ListItem_m_image_set
, METH_VARARGS
| METH_KEYWORDS
},
31780 { (char *)"ListItem_m_image_get", (PyCFunction
) _wrap_ListItem_m_image_get
, METH_VARARGS
| METH_KEYWORDS
},
31781 { (char *)"ListItem_m_data_set", (PyCFunction
) _wrap_ListItem_m_data_set
, METH_VARARGS
| METH_KEYWORDS
},
31782 { (char *)"ListItem_m_data_get", (PyCFunction
) _wrap_ListItem_m_data_get
, METH_VARARGS
| METH_KEYWORDS
},
31783 { (char *)"ListItem_m_format_set", (PyCFunction
) _wrap_ListItem_m_format_set
, METH_VARARGS
| METH_KEYWORDS
},
31784 { (char *)"ListItem_m_format_get", (PyCFunction
) _wrap_ListItem_m_format_get
, METH_VARARGS
| METH_KEYWORDS
},
31785 { (char *)"ListItem_m_width_set", (PyCFunction
) _wrap_ListItem_m_width_set
, METH_VARARGS
| METH_KEYWORDS
},
31786 { (char *)"ListItem_m_width_get", (PyCFunction
) _wrap_ListItem_m_width_get
, METH_VARARGS
| METH_KEYWORDS
},
31787 { (char *)"ListItem_swigregister", ListItem_swigregister
, METH_VARARGS
},
31788 { (char *)"new_ListEvent", (PyCFunction
) _wrap_new_ListEvent
, METH_VARARGS
| METH_KEYWORDS
},
31789 { (char *)"ListEvent_m_code_set", (PyCFunction
) _wrap_ListEvent_m_code_set
, METH_VARARGS
| METH_KEYWORDS
},
31790 { (char *)"ListEvent_m_code_get", (PyCFunction
) _wrap_ListEvent_m_code_get
, METH_VARARGS
| METH_KEYWORDS
},
31791 { (char *)"ListEvent_m_oldItemIndex_set", (PyCFunction
) _wrap_ListEvent_m_oldItemIndex_set
, METH_VARARGS
| METH_KEYWORDS
},
31792 { (char *)"ListEvent_m_oldItemIndex_get", (PyCFunction
) _wrap_ListEvent_m_oldItemIndex_get
, METH_VARARGS
| METH_KEYWORDS
},
31793 { (char *)"ListEvent_m_itemIndex_set", (PyCFunction
) _wrap_ListEvent_m_itemIndex_set
, METH_VARARGS
| METH_KEYWORDS
},
31794 { (char *)"ListEvent_m_itemIndex_get", (PyCFunction
) _wrap_ListEvent_m_itemIndex_get
, METH_VARARGS
| METH_KEYWORDS
},
31795 { (char *)"ListEvent_m_col_set", (PyCFunction
) _wrap_ListEvent_m_col_set
, METH_VARARGS
| METH_KEYWORDS
},
31796 { (char *)"ListEvent_m_col_get", (PyCFunction
) _wrap_ListEvent_m_col_get
, METH_VARARGS
| METH_KEYWORDS
},
31797 { (char *)"ListEvent_m_pointDrag_set", (PyCFunction
) _wrap_ListEvent_m_pointDrag_set
, METH_VARARGS
| METH_KEYWORDS
},
31798 { (char *)"ListEvent_m_pointDrag_get", (PyCFunction
) _wrap_ListEvent_m_pointDrag_get
, METH_VARARGS
| METH_KEYWORDS
},
31799 { (char *)"ListEvent_m_item_get", (PyCFunction
) _wrap_ListEvent_m_item_get
, METH_VARARGS
| METH_KEYWORDS
},
31800 { (char *)"ListEvent_GetKeyCode", (PyCFunction
) _wrap_ListEvent_GetKeyCode
, METH_VARARGS
| METH_KEYWORDS
},
31801 { (char *)"ListEvent_GetIndex", (PyCFunction
) _wrap_ListEvent_GetIndex
, METH_VARARGS
| METH_KEYWORDS
},
31802 { (char *)"ListEvent_GetColumn", (PyCFunction
) _wrap_ListEvent_GetColumn
, METH_VARARGS
| METH_KEYWORDS
},
31803 { (char *)"ListEvent_GetPoint", (PyCFunction
) _wrap_ListEvent_GetPoint
, METH_VARARGS
| METH_KEYWORDS
},
31804 { (char *)"ListEvent_GetLabel", (PyCFunction
) _wrap_ListEvent_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
31805 { (char *)"ListEvent_GetText", (PyCFunction
) _wrap_ListEvent_GetText
, METH_VARARGS
| METH_KEYWORDS
},
31806 { (char *)"ListEvent_GetImage", (PyCFunction
) _wrap_ListEvent_GetImage
, METH_VARARGS
| METH_KEYWORDS
},
31807 { (char *)"ListEvent_GetData", (PyCFunction
) _wrap_ListEvent_GetData
, METH_VARARGS
| METH_KEYWORDS
},
31808 { (char *)"ListEvent_GetMask", (PyCFunction
) _wrap_ListEvent_GetMask
, METH_VARARGS
| METH_KEYWORDS
},
31809 { (char *)"ListEvent_GetItem", (PyCFunction
) _wrap_ListEvent_GetItem
, METH_VARARGS
| METH_KEYWORDS
},
31810 { (char *)"ListEvent_GetCacheFrom", (PyCFunction
) _wrap_ListEvent_GetCacheFrom
, METH_VARARGS
| METH_KEYWORDS
},
31811 { (char *)"ListEvent_GetCacheTo", (PyCFunction
) _wrap_ListEvent_GetCacheTo
, METH_VARARGS
| METH_KEYWORDS
},
31812 { (char *)"ListEvent_IsEditCancelled", (PyCFunction
) _wrap_ListEvent_IsEditCancelled
, METH_VARARGS
| METH_KEYWORDS
},
31813 { (char *)"ListEvent_SetEditCanceled", (PyCFunction
) _wrap_ListEvent_SetEditCanceled
, METH_VARARGS
| METH_KEYWORDS
},
31814 { (char *)"ListEvent_swigregister", ListEvent_swigregister
, METH_VARARGS
},
31815 { (char *)"new_ListCtrl", (PyCFunction
) _wrap_new_ListCtrl
, METH_VARARGS
| METH_KEYWORDS
},
31816 { (char *)"new_PreListCtrl", (PyCFunction
) _wrap_new_PreListCtrl
, METH_VARARGS
| METH_KEYWORDS
},
31817 { (char *)"ListCtrl_Create", (PyCFunction
) _wrap_ListCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
},
31818 { (char *)"ListCtrl__setCallbackInfo", (PyCFunction
) _wrap_ListCtrl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
31819 { (char *)"ListCtrl_SetForegroundColour", (PyCFunction
) _wrap_ListCtrl_SetForegroundColour
, METH_VARARGS
| METH_KEYWORDS
},
31820 { (char *)"ListCtrl_SetBackgroundColour", (PyCFunction
) _wrap_ListCtrl_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
31821 { (char *)"ListCtrl_GetColumn", (PyCFunction
) _wrap_ListCtrl_GetColumn
, METH_VARARGS
| METH_KEYWORDS
},
31822 { (char *)"ListCtrl_SetColumn", (PyCFunction
) _wrap_ListCtrl_SetColumn
, METH_VARARGS
| METH_KEYWORDS
},
31823 { (char *)"ListCtrl_GetColumnWidth", (PyCFunction
) _wrap_ListCtrl_GetColumnWidth
, METH_VARARGS
| METH_KEYWORDS
},
31824 { (char *)"ListCtrl_SetColumnWidth", (PyCFunction
) _wrap_ListCtrl_SetColumnWidth
, METH_VARARGS
| METH_KEYWORDS
},
31825 { (char *)"ListCtrl_GetCountPerPage", (PyCFunction
) _wrap_ListCtrl_GetCountPerPage
, METH_VARARGS
| METH_KEYWORDS
},
31826 { (char *)"ListCtrl_GetViewRect", (PyCFunction
) _wrap_ListCtrl_GetViewRect
, METH_VARARGS
| METH_KEYWORDS
},
31827 { (char *)"ListCtrl_GetEditControl", (PyCFunction
) _wrap_ListCtrl_GetEditControl
, METH_VARARGS
| METH_KEYWORDS
},
31828 { (char *)"ListCtrl_GetItem", (PyCFunction
) _wrap_ListCtrl_GetItem
, METH_VARARGS
| METH_KEYWORDS
},
31829 { (char *)"ListCtrl_SetItem", (PyCFunction
) _wrap_ListCtrl_SetItem
, METH_VARARGS
| METH_KEYWORDS
},
31830 { (char *)"ListCtrl_SetStringItem", (PyCFunction
) _wrap_ListCtrl_SetStringItem
, METH_VARARGS
| METH_KEYWORDS
},
31831 { (char *)"ListCtrl_GetItemState", (PyCFunction
) _wrap_ListCtrl_GetItemState
, METH_VARARGS
| METH_KEYWORDS
},
31832 { (char *)"ListCtrl_SetItemState", (PyCFunction
) _wrap_ListCtrl_SetItemState
, METH_VARARGS
| METH_KEYWORDS
},
31833 { (char *)"ListCtrl_SetItemImage", (PyCFunction
) _wrap_ListCtrl_SetItemImage
, METH_VARARGS
| METH_KEYWORDS
},
31834 { (char *)"ListCtrl_GetItemText", (PyCFunction
) _wrap_ListCtrl_GetItemText
, METH_VARARGS
| METH_KEYWORDS
},
31835 { (char *)"ListCtrl_SetItemText", (PyCFunction
) _wrap_ListCtrl_SetItemText
, METH_VARARGS
| METH_KEYWORDS
},
31836 { (char *)"ListCtrl_GetItemData", (PyCFunction
) _wrap_ListCtrl_GetItemData
, METH_VARARGS
| METH_KEYWORDS
},
31837 { (char *)"ListCtrl_SetItemData", (PyCFunction
) _wrap_ListCtrl_SetItemData
, METH_VARARGS
| METH_KEYWORDS
},
31838 { (char *)"ListCtrl_GetItemPosition", (PyCFunction
) _wrap_ListCtrl_GetItemPosition
, METH_VARARGS
| METH_KEYWORDS
},
31839 { (char *)"ListCtrl_GetItemRect", (PyCFunction
) _wrap_ListCtrl_GetItemRect
, METH_VARARGS
| METH_KEYWORDS
},
31840 { (char *)"ListCtrl_SetItemPosition", (PyCFunction
) _wrap_ListCtrl_SetItemPosition
, METH_VARARGS
| METH_KEYWORDS
},
31841 { (char *)"ListCtrl_GetItemCount", (PyCFunction
) _wrap_ListCtrl_GetItemCount
, METH_VARARGS
| METH_KEYWORDS
},
31842 { (char *)"ListCtrl_GetColumnCount", (PyCFunction
) _wrap_ListCtrl_GetColumnCount
, METH_VARARGS
| METH_KEYWORDS
},
31843 { (char *)"ListCtrl_GetItemSpacing", (PyCFunction
) _wrap_ListCtrl_GetItemSpacing
, METH_VARARGS
| METH_KEYWORDS
},
31844 { (char *)"ListCtrl_GetSelectedItemCount", (PyCFunction
) _wrap_ListCtrl_GetSelectedItemCount
, METH_VARARGS
| METH_KEYWORDS
},
31845 { (char *)"ListCtrl_GetTextColour", (PyCFunction
) _wrap_ListCtrl_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
31846 { (char *)"ListCtrl_SetTextColour", (PyCFunction
) _wrap_ListCtrl_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
31847 { (char *)"ListCtrl_GetTopItem", (PyCFunction
) _wrap_ListCtrl_GetTopItem
, METH_VARARGS
| METH_KEYWORDS
},
31848 { (char *)"ListCtrl_SetSingleStyle", (PyCFunction
) _wrap_ListCtrl_SetSingleStyle
, METH_VARARGS
| METH_KEYWORDS
},
31849 { (char *)"ListCtrl_SetWindowStyleFlag", (PyCFunction
) _wrap_ListCtrl_SetWindowStyleFlag
, METH_VARARGS
| METH_KEYWORDS
},
31850 { (char *)"ListCtrl_GetNextItem", (PyCFunction
) _wrap_ListCtrl_GetNextItem
, METH_VARARGS
| METH_KEYWORDS
},
31851 { (char *)"ListCtrl_GetImageList", (PyCFunction
) _wrap_ListCtrl_GetImageList
, METH_VARARGS
| METH_KEYWORDS
},
31852 { (char *)"ListCtrl_SetImageList", (PyCFunction
) _wrap_ListCtrl_SetImageList
, METH_VARARGS
| METH_KEYWORDS
},
31853 { (char *)"ListCtrl_AssignImageList", (PyCFunction
) _wrap_ListCtrl_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
},
31854 { (char *)"ListCtrl_InReportView", (PyCFunction
) _wrap_ListCtrl_InReportView
, METH_VARARGS
| METH_KEYWORDS
},
31855 { (char *)"ListCtrl_IsVirtual", (PyCFunction
) _wrap_ListCtrl_IsVirtual
, METH_VARARGS
| METH_KEYWORDS
},
31856 { (char *)"ListCtrl_RefreshItem", (PyCFunction
) _wrap_ListCtrl_RefreshItem
, METH_VARARGS
| METH_KEYWORDS
},
31857 { (char *)"ListCtrl_RefreshItems", (PyCFunction
) _wrap_ListCtrl_RefreshItems
, METH_VARARGS
| METH_KEYWORDS
},
31858 { (char *)"ListCtrl_Arrange", (PyCFunction
) _wrap_ListCtrl_Arrange
, METH_VARARGS
| METH_KEYWORDS
},
31859 { (char *)"ListCtrl_DeleteItem", (PyCFunction
) _wrap_ListCtrl_DeleteItem
, METH_VARARGS
| METH_KEYWORDS
},
31860 { (char *)"ListCtrl_DeleteAllItems", (PyCFunction
) _wrap_ListCtrl_DeleteAllItems
, METH_VARARGS
| METH_KEYWORDS
},
31861 { (char *)"ListCtrl_DeleteColumn", (PyCFunction
) _wrap_ListCtrl_DeleteColumn
, METH_VARARGS
| METH_KEYWORDS
},
31862 { (char *)"ListCtrl_DeleteAllColumns", (PyCFunction
) _wrap_ListCtrl_DeleteAllColumns
, METH_VARARGS
| METH_KEYWORDS
},
31863 { (char *)"ListCtrl_ClearAll", (PyCFunction
) _wrap_ListCtrl_ClearAll
, METH_VARARGS
| METH_KEYWORDS
},
31864 { (char *)"ListCtrl_EditLabel", (PyCFunction
) _wrap_ListCtrl_EditLabel
, METH_VARARGS
| METH_KEYWORDS
},
31865 { (char *)"ListCtrl_EndEditLabel", (PyCFunction
) _wrap_ListCtrl_EndEditLabel
, METH_VARARGS
| METH_KEYWORDS
},
31866 { (char *)"ListCtrl_EnsureVisible", (PyCFunction
) _wrap_ListCtrl_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
},
31867 { (char *)"ListCtrl_FindItem", (PyCFunction
) _wrap_ListCtrl_FindItem
, METH_VARARGS
| METH_KEYWORDS
},
31868 { (char *)"ListCtrl_FindItemData", (PyCFunction
) _wrap_ListCtrl_FindItemData
, METH_VARARGS
| METH_KEYWORDS
},
31869 { (char *)"ListCtrl_FindItemAtPos", (PyCFunction
) _wrap_ListCtrl_FindItemAtPos
, METH_VARARGS
| METH_KEYWORDS
},
31870 { (char *)"ListCtrl_HitTest", (PyCFunction
) _wrap_ListCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
},
31871 { (char *)"ListCtrl_InsertItem", (PyCFunction
) _wrap_ListCtrl_InsertItem
, METH_VARARGS
| METH_KEYWORDS
},
31872 { (char *)"ListCtrl_InsertStringItem", (PyCFunction
) _wrap_ListCtrl_InsertStringItem
, METH_VARARGS
| METH_KEYWORDS
},
31873 { (char *)"ListCtrl_InsertImageItem", (PyCFunction
) _wrap_ListCtrl_InsertImageItem
, METH_VARARGS
| METH_KEYWORDS
},
31874 { (char *)"ListCtrl_InsertImageStringItem", (PyCFunction
) _wrap_ListCtrl_InsertImageStringItem
, METH_VARARGS
| METH_KEYWORDS
},
31875 { (char *)"ListCtrl_InsertColumnInfo", (PyCFunction
) _wrap_ListCtrl_InsertColumnInfo
, METH_VARARGS
| METH_KEYWORDS
},
31876 { (char *)"ListCtrl_InsertColumn", (PyCFunction
) _wrap_ListCtrl_InsertColumn
, METH_VARARGS
| METH_KEYWORDS
},
31877 { (char *)"ListCtrl_SetItemCount", (PyCFunction
) _wrap_ListCtrl_SetItemCount
, METH_VARARGS
| METH_KEYWORDS
},
31878 { (char *)"ListCtrl_ScrollList", (PyCFunction
) _wrap_ListCtrl_ScrollList
, METH_VARARGS
| METH_KEYWORDS
},
31879 { (char *)"ListCtrl_SetItemTextColour", (PyCFunction
) _wrap_ListCtrl_SetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
},
31880 { (char *)"ListCtrl_GetItemTextColour", (PyCFunction
) _wrap_ListCtrl_GetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
},
31881 { (char *)"ListCtrl_SetItemBackgroundColour", (PyCFunction
) _wrap_ListCtrl_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
31882 { (char *)"ListCtrl_GetItemBackgroundColour", (PyCFunction
) _wrap_ListCtrl_GetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
31883 { (char *)"ListCtrl_SortItems", (PyCFunction
) _wrap_ListCtrl_SortItems
, METH_VARARGS
| METH_KEYWORDS
},
31884 { (char *)"ListCtrl_GetMainWindow", (PyCFunction
) _wrap_ListCtrl_GetMainWindow
, METH_VARARGS
| METH_KEYWORDS
},
31885 { (char *)"ListCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_ListCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31886 { (char *)"ListCtrl_swigregister", ListCtrl_swigregister
, METH_VARARGS
},
31887 { (char *)"new_ListView", (PyCFunction
) _wrap_new_ListView
, METH_VARARGS
| METH_KEYWORDS
},
31888 { (char *)"new_PreListView", (PyCFunction
) _wrap_new_PreListView
, METH_VARARGS
| METH_KEYWORDS
},
31889 { (char *)"ListView_Create", (PyCFunction
) _wrap_ListView_Create
, METH_VARARGS
| METH_KEYWORDS
},
31890 { (char *)"ListView_Select", (PyCFunction
) _wrap_ListView_Select
, METH_VARARGS
| METH_KEYWORDS
},
31891 { (char *)"ListView_Focus", (PyCFunction
) _wrap_ListView_Focus
, METH_VARARGS
| METH_KEYWORDS
},
31892 { (char *)"ListView_GetFocusedItem", (PyCFunction
) _wrap_ListView_GetFocusedItem
, METH_VARARGS
| METH_KEYWORDS
},
31893 { (char *)"ListView_GetNextSelected", (PyCFunction
) _wrap_ListView_GetNextSelected
, METH_VARARGS
| METH_KEYWORDS
},
31894 { (char *)"ListView_GetFirstSelected", (PyCFunction
) _wrap_ListView_GetFirstSelected
, METH_VARARGS
| METH_KEYWORDS
},
31895 { (char *)"ListView_IsSelected", (PyCFunction
) _wrap_ListView_IsSelected
, METH_VARARGS
| METH_KEYWORDS
},
31896 { (char *)"ListView_SetColumnImage", (PyCFunction
) _wrap_ListView_SetColumnImage
, METH_VARARGS
| METH_KEYWORDS
},
31897 { (char *)"ListView_ClearColumnImage", (PyCFunction
) _wrap_ListView_ClearColumnImage
, METH_VARARGS
| METH_KEYWORDS
},
31898 { (char *)"ListView_swigregister", ListView_swigregister
, METH_VARARGS
},
31899 { (char *)"new_TreeItemId", (PyCFunction
) _wrap_new_TreeItemId
, METH_VARARGS
| METH_KEYWORDS
},
31900 { (char *)"delete_TreeItemId", (PyCFunction
) _wrap_delete_TreeItemId
, METH_VARARGS
| METH_KEYWORDS
},
31901 { (char *)"TreeItemId_IsOk", (PyCFunction
) _wrap_TreeItemId_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
31902 { (char *)"TreeItemId___eq__", (PyCFunction
) _wrap_TreeItemId___eq__
, METH_VARARGS
| METH_KEYWORDS
},
31903 { (char *)"TreeItemId___ne__", (PyCFunction
) _wrap_TreeItemId___ne__
, METH_VARARGS
| METH_KEYWORDS
},
31904 { (char *)"TreeItemId_m_pItem_set", (PyCFunction
) _wrap_TreeItemId_m_pItem_set
, METH_VARARGS
| METH_KEYWORDS
},
31905 { (char *)"TreeItemId_m_pItem_get", (PyCFunction
) _wrap_TreeItemId_m_pItem_get
, METH_VARARGS
| METH_KEYWORDS
},
31906 { (char *)"TreeItemId_swigregister", TreeItemId_swigregister
, METH_VARARGS
},
31907 { (char *)"new_TreeItemData", (PyCFunction
) _wrap_new_TreeItemData
, METH_VARARGS
| METH_KEYWORDS
},
31908 { (char *)"TreeItemData_GetData", (PyCFunction
) _wrap_TreeItemData_GetData
, METH_VARARGS
| METH_KEYWORDS
},
31909 { (char *)"TreeItemData_SetData", (PyCFunction
) _wrap_TreeItemData_SetData
, METH_VARARGS
| METH_KEYWORDS
},
31910 { (char *)"TreeItemData_GetId", (PyCFunction
) _wrap_TreeItemData_GetId
, METH_VARARGS
| METH_KEYWORDS
},
31911 { (char *)"TreeItemData_SetId", (PyCFunction
) _wrap_TreeItemData_SetId
, METH_VARARGS
| METH_KEYWORDS
},
31912 { (char *)"TreeItemData_Destroy", (PyCFunction
) _wrap_TreeItemData_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
31913 { (char *)"TreeItemData_swigregister", TreeItemData_swigregister
, METH_VARARGS
},
31914 { (char *)"new_TreeEvent", (PyCFunction
) _wrap_new_TreeEvent
, METH_VARARGS
| METH_KEYWORDS
},
31915 { (char *)"TreeEvent_GetItem", (PyCFunction
) _wrap_TreeEvent_GetItem
, METH_VARARGS
| METH_KEYWORDS
},
31916 { (char *)"TreeEvent_SetItem", (PyCFunction
) _wrap_TreeEvent_SetItem
, METH_VARARGS
| METH_KEYWORDS
},
31917 { (char *)"TreeEvent_GetOldItem", (PyCFunction
) _wrap_TreeEvent_GetOldItem
, METH_VARARGS
| METH_KEYWORDS
},
31918 { (char *)"TreeEvent_SetOldItem", (PyCFunction
) _wrap_TreeEvent_SetOldItem
, METH_VARARGS
| METH_KEYWORDS
},
31919 { (char *)"TreeEvent_GetPoint", (PyCFunction
) _wrap_TreeEvent_GetPoint
, METH_VARARGS
| METH_KEYWORDS
},
31920 { (char *)"TreeEvent_SetPoint", (PyCFunction
) _wrap_TreeEvent_SetPoint
, METH_VARARGS
| METH_KEYWORDS
},
31921 { (char *)"TreeEvent_GetKeyEvent", (PyCFunction
) _wrap_TreeEvent_GetKeyEvent
, METH_VARARGS
| METH_KEYWORDS
},
31922 { (char *)"TreeEvent_GetKeyCode", (PyCFunction
) _wrap_TreeEvent_GetKeyCode
, METH_VARARGS
| METH_KEYWORDS
},
31923 { (char *)"TreeEvent_SetKeyEvent", (PyCFunction
) _wrap_TreeEvent_SetKeyEvent
, METH_VARARGS
| METH_KEYWORDS
},
31924 { (char *)"TreeEvent_GetLabel", (PyCFunction
) _wrap_TreeEvent_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
31925 { (char *)"TreeEvent_SetLabel", (PyCFunction
) _wrap_TreeEvent_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
31926 { (char *)"TreeEvent_IsEditCancelled", (PyCFunction
) _wrap_TreeEvent_IsEditCancelled
, METH_VARARGS
| METH_KEYWORDS
},
31927 { (char *)"TreeEvent_SetEditCanceled", (PyCFunction
) _wrap_TreeEvent_SetEditCanceled
, METH_VARARGS
| METH_KEYWORDS
},
31928 { (char *)"TreeEvent_SetToolTip", (PyCFunction
) _wrap_TreeEvent_SetToolTip
, METH_VARARGS
| METH_KEYWORDS
},
31929 { (char *)"TreeEvent_swigregister", TreeEvent_swigregister
, METH_VARARGS
},
31930 { (char *)"new_TreeCtrl", (PyCFunction
) _wrap_new_TreeCtrl
, METH_VARARGS
| METH_KEYWORDS
},
31931 { (char *)"new_PreTreeCtrl", (PyCFunction
) _wrap_new_PreTreeCtrl
, METH_VARARGS
| METH_KEYWORDS
},
31932 { (char *)"TreeCtrl_Create", (PyCFunction
) _wrap_TreeCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
},
31933 { (char *)"TreeCtrl__setCallbackInfo", (PyCFunction
) _wrap_TreeCtrl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
31934 { (char *)"TreeCtrl_GetCount", (PyCFunction
) _wrap_TreeCtrl_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
31935 { (char *)"TreeCtrl_GetIndent", (PyCFunction
) _wrap_TreeCtrl_GetIndent
, METH_VARARGS
| METH_KEYWORDS
},
31936 { (char *)"TreeCtrl_SetIndent", (PyCFunction
) _wrap_TreeCtrl_SetIndent
, METH_VARARGS
| METH_KEYWORDS
},
31937 { (char *)"TreeCtrl_GetSpacing", (PyCFunction
) _wrap_TreeCtrl_GetSpacing
, METH_VARARGS
| METH_KEYWORDS
},
31938 { (char *)"TreeCtrl_SetSpacing", (PyCFunction
) _wrap_TreeCtrl_SetSpacing
, METH_VARARGS
| METH_KEYWORDS
},
31939 { (char *)"TreeCtrl_GetImageList", (PyCFunction
) _wrap_TreeCtrl_GetImageList
, METH_VARARGS
| METH_KEYWORDS
},
31940 { (char *)"TreeCtrl_GetStateImageList", (PyCFunction
) _wrap_TreeCtrl_GetStateImageList
, METH_VARARGS
| METH_KEYWORDS
},
31941 { (char *)"TreeCtrl_SetImageList", (PyCFunction
) _wrap_TreeCtrl_SetImageList
, METH_VARARGS
| METH_KEYWORDS
},
31942 { (char *)"TreeCtrl_SetStateImageList", (PyCFunction
) _wrap_TreeCtrl_SetStateImageList
, METH_VARARGS
| METH_KEYWORDS
},
31943 { (char *)"TreeCtrl_AssignImageList", (PyCFunction
) _wrap_TreeCtrl_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
},
31944 { (char *)"TreeCtrl_AssignStateImageList", (PyCFunction
) _wrap_TreeCtrl_AssignStateImageList
, METH_VARARGS
| METH_KEYWORDS
},
31945 { (char *)"TreeCtrl_GetItemText", (PyCFunction
) _wrap_TreeCtrl_GetItemText
, METH_VARARGS
| METH_KEYWORDS
},
31946 { (char *)"TreeCtrl_GetItemImage", (PyCFunction
) _wrap_TreeCtrl_GetItemImage
, METH_VARARGS
| METH_KEYWORDS
},
31947 { (char *)"TreeCtrl_GetItemData", (PyCFunction
) _wrap_TreeCtrl_GetItemData
, METH_VARARGS
| METH_KEYWORDS
},
31948 { (char *)"TreeCtrl_GetItemPyData", (PyCFunction
) _wrap_TreeCtrl_GetItemPyData
, METH_VARARGS
| METH_KEYWORDS
},
31949 { (char *)"TreeCtrl_GetItemTextColour", (PyCFunction
) _wrap_TreeCtrl_GetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
},
31950 { (char *)"TreeCtrl_GetItemBackgroundColour", (PyCFunction
) _wrap_TreeCtrl_GetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
31951 { (char *)"TreeCtrl_GetItemFont", (PyCFunction
) _wrap_TreeCtrl_GetItemFont
, METH_VARARGS
| METH_KEYWORDS
},
31952 { (char *)"TreeCtrl_SetItemText", (PyCFunction
) _wrap_TreeCtrl_SetItemText
, METH_VARARGS
| METH_KEYWORDS
},
31953 { (char *)"TreeCtrl_SetItemImage", (PyCFunction
) _wrap_TreeCtrl_SetItemImage
, METH_VARARGS
| METH_KEYWORDS
},
31954 { (char *)"TreeCtrl_SetItemData", (PyCFunction
) _wrap_TreeCtrl_SetItemData
, METH_VARARGS
| METH_KEYWORDS
},
31955 { (char *)"TreeCtrl_SetItemPyData", (PyCFunction
) _wrap_TreeCtrl_SetItemPyData
, METH_VARARGS
| METH_KEYWORDS
},
31956 { (char *)"TreeCtrl_SetItemHasChildren", (PyCFunction
) _wrap_TreeCtrl_SetItemHasChildren
, METH_VARARGS
| METH_KEYWORDS
},
31957 { (char *)"TreeCtrl_SetItemBold", (PyCFunction
) _wrap_TreeCtrl_SetItemBold
, METH_VARARGS
| METH_KEYWORDS
},
31958 { (char *)"TreeCtrl_SetItemDropHighlight", (PyCFunction
) _wrap_TreeCtrl_SetItemDropHighlight
, METH_VARARGS
| METH_KEYWORDS
},
31959 { (char *)"TreeCtrl_SetItemTextColour", (PyCFunction
) _wrap_TreeCtrl_SetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
},
31960 { (char *)"TreeCtrl_SetItemBackgroundColour", (PyCFunction
) _wrap_TreeCtrl_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
31961 { (char *)"TreeCtrl_SetItemFont", (PyCFunction
) _wrap_TreeCtrl_SetItemFont
, METH_VARARGS
| METH_KEYWORDS
},
31962 { (char *)"TreeCtrl_IsVisible", (PyCFunction
) _wrap_TreeCtrl_IsVisible
, METH_VARARGS
| METH_KEYWORDS
},
31963 { (char *)"TreeCtrl_ItemHasChildren", (PyCFunction
) _wrap_TreeCtrl_ItemHasChildren
, METH_VARARGS
| METH_KEYWORDS
},
31964 { (char *)"TreeCtrl_IsExpanded", (PyCFunction
) _wrap_TreeCtrl_IsExpanded
, METH_VARARGS
| METH_KEYWORDS
},
31965 { (char *)"TreeCtrl_IsSelected", (PyCFunction
) _wrap_TreeCtrl_IsSelected
, METH_VARARGS
| METH_KEYWORDS
},
31966 { (char *)"TreeCtrl_IsBold", (PyCFunction
) _wrap_TreeCtrl_IsBold
, METH_VARARGS
| METH_KEYWORDS
},
31967 { (char *)"TreeCtrl_GetChildrenCount", (PyCFunction
) _wrap_TreeCtrl_GetChildrenCount
, METH_VARARGS
| METH_KEYWORDS
},
31968 { (char *)"TreeCtrl_GetRootItem", (PyCFunction
) _wrap_TreeCtrl_GetRootItem
, METH_VARARGS
| METH_KEYWORDS
},
31969 { (char *)"TreeCtrl_GetSelection", (PyCFunction
) _wrap_TreeCtrl_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
31970 { (char *)"TreeCtrl_GetSelections", (PyCFunction
) _wrap_TreeCtrl_GetSelections
, METH_VARARGS
| METH_KEYWORDS
},
31971 { (char *)"TreeCtrl_GetItemParent", (PyCFunction
) _wrap_TreeCtrl_GetItemParent
, METH_VARARGS
| METH_KEYWORDS
},
31972 { (char *)"TreeCtrl_GetFirstChild", (PyCFunction
) _wrap_TreeCtrl_GetFirstChild
, METH_VARARGS
| METH_KEYWORDS
},
31973 { (char *)"TreeCtrl_GetNextChild", (PyCFunction
) _wrap_TreeCtrl_GetNextChild
, METH_VARARGS
| METH_KEYWORDS
},
31974 { (char *)"TreeCtrl_GetLastChild", (PyCFunction
) _wrap_TreeCtrl_GetLastChild
, METH_VARARGS
| METH_KEYWORDS
},
31975 { (char *)"TreeCtrl_GetNextSibling", (PyCFunction
) _wrap_TreeCtrl_GetNextSibling
, METH_VARARGS
| METH_KEYWORDS
},
31976 { (char *)"TreeCtrl_GetPrevSibling", (PyCFunction
) _wrap_TreeCtrl_GetPrevSibling
, METH_VARARGS
| METH_KEYWORDS
},
31977 { (char *)"TreeCtrl_GetFirstVisibleItem", (PyCFunction
) _wrap_TreeCtrl_GetFirstVisibleItem
, METH_VARARGS
| METH_KEYWORDS
},
31978 { (char *)"TreeCtrl_GetNextVisible", (PyCFunction
) _wrap_TreeCtrl_GetNextVisible
, METH_VARARGS
| METH_KEYWORDS
},
31979 { (char *)"TreeCtrl_GetPrevVisible", (PyCFunction
) _wrap_TreeCtrl_GetPrevVisible
, METH_VARARGS
| METH_KEYWORDS
},
31980 { (char *)"TreeCtrl_AddRoot", (PyCFunction
) _wrap_TreeCtrl_AddRoot
, METH_VARARGS
| METH_KEYWORDS
},
31981 { (char *)"TreeCtrl_PrependItem", (PyCFunction
) _wrap_TreeCtrl_PrependItem
, METH_VARARGS
| METH_KEYWORDS
},
31982 { (char *)"TreeCtrl_InsertItem", (PyCFunction
) _wrap_TreeCtrl_InsertItem
, METH_VARARGS
| METH_KEYWORDS
},
31983 { (char *)"TreeCtrl_InsertItemBefore", (PyCFunction
) _wrap_TreeCtrl_InsertItemBefore
, METH_VARARGS
| METH_KEYWORDS
},
31984 { (char *)"TreeCtrl_AppendItem", (PyCFunction
) _wrap_TreeCtrl_AppendItem
, METH_VARARGS
| METH_KEYWORDS
},
31985 { (char *)"TreeCtrl_Delete", (PyCFunction
) _wrap_TreeCtrl_Delete
, METH_VARARGS
| METH_KEYWORDS
},
31986 { (char *)"TreeCtrl_DeleteChildren", (PyCFunction
) _wrap_TreeCtrl_DeleteChildren
, METH_VARARGS
| METH_KEYWORDS
},
31987 { (char *)"TreeCtrl_DeleteAllItems", (PyCFunction
) _wrap_TreeCtrl_DeleteAllItems
, METH_VARARGS
| METH_KEYWORDS
},
31988 { (char *)"TreeCtrl_Expand", (PyCFunction
) _wrap_TreeCtrl_Expand
, METH_VARARGS
| METH_KEYWORDS
},
31989 { (char *)"TreeCtrl_Collapse", (PyCFunction
) _wrap_TreeCtrl_Collapse
, METH_VARARGS
| METH_KEYWORDS
},
31990 { (char *)"TreeCtrl_CollapseAndReset", (PyCFunction
) _wrap_TreeCtrl_CollapseAndReset
, METH_VARARGS
| METH_KEYWORDS
},
31991 { (char *)"TreeCtrl_Toggle", (PyCFunction
) _wrap_TreeCtrl_Toggle
, METH_VARARGS
| METH_KEYWORDS
},
31992 { (char *)"TreeCtrl_Unselect", (PyCFunction
) _wrap_TreeCtrl_Unselect
, METH_VARARGS
| METH_KEYWORDS
},
31993 { (char *)"TreeCtrl_UnselectItem", (PyCFunction
) _wrap_TreeCtrl_UnselectItem
, METH_VARARGS
| METH_KEYWORDS
},
31994 { (char *)"TreeCtrl_UnselectAll", (PyCFunction
) _wrap_TreeCtrl_UnselectAll
, METH_VARARGS
| METH_KEYWORDS
},
31995 { (char *)"TreeCtrl_SelectItem", (PyCFunction
) _wrap_TreeCtrl_SelectItem
, METH_VARARGS
| METH_KEYWORDS
},
31996 { (char *)"TreeCtrl_ToggleItemSelection", (PyCFunction
) _wrap_TreeCtrl_ToggleItemSelection
, METH_VARARGS
| METH_KEYWORDS
},
31997 { (char *)"TreeCtrl_EnsureVisible", (PyCFunction
) _wrap_TreeCtrl_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
},
31998 { (char *)"TreeCtrl_ScrollTo", (PyCFunction
) _wrap_TreeCtrl_ScrollTo
, METH_VARARGS
| METH_KEYWORDS
},
31999 { (char *)"TreeCtrl_EditLabel", (PyCFunction
) _wrap_TreeCtrl_EditLabel
, METH_VARARGS
| METH_KEYWORDS
},
32000 { (char *)"TreeCtrl_GetEditControl", (PyCFunction
) _wrap_TreeCtrl_GetEditControl
, METH_VARARGS
| METH_KEYWORDS
},
32001 { (char *)"TreeCtrl_EndEditLabel", (PyCFunction
) _wrap_TreeCtrl_EndEditLabel
, METH_VARARGS
| METH_KEYWORDS
},
32002 { (char *)"TreeCtrl_SortChildren", (PyCFunction
) _wrap_TreeCtrl_SortChildren
, METH_VARARGS
| METH_KEYWORDS
},
32003 { (char *)"TreeCtrl_HitTest", (PyCFunction
) _wrap_TreeCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
},
32004 { (char *)"TreeCtrl_GetBoundingRect", (PyCFunction
) _wrap_TreeCtrl_GetBoundingRect
, METH_VARARGS
| METH_KEYWORDS
},
32005 { (char *)"TreeCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_TreeCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
32006 { (char *)"TreeCtrl_swigregister", TreeCtrl_swigregister
, METH_VARARGS
},
32007 { (char *)"new_GenericDirCtrl", (PyCFunction
) _wrap_new_GenericDirCtrl
, METH_VARARGS
| METH_KEYWORDS
},
32008 { (char *)"new_PreGenericDirCtrl", (PyCFunction
) _wrap_new_PreGenericDirCtrl
, METH_VARARGS
| METH_KEYWORDS
},
32009 { (char *)"GenericDirCtrl_Create", (PyCFunction
) _wrap_GenericDirCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
},
32010 { (char *)"GenericDirCtrl_ExpandPath", (PyCFunction
) _wrap_GenericDirCtrl_ExpandPath
, METH_VARARGS
| METH_KEYWORDS
},
32011 { (char *)"GenericDirCtrl_GetDefaultPath", (PyCFunction
) _wrap_GenericDirCtrl_GetDefaultPath
, METH_VARARGS
| METH_KEYWORDS
},
32012 { (char *)"GenericDirCtrl_SetDefaultPath", (PyCFunction
) _wrap_GenericDirCtrl_SetDefaultPath
, METH_VARARGS
| METH_KEYWORDS
},
32013 { (char *)"GenericDirCtrl_GetPath", (PyCFunction
) _wrap_GenericDirCtrl_GetPath
, METH_VARARGS
| METH_KEYWORDS
},
32014 { (char *)"GenericDirCtrl_GetFilePath", (PyCFunction
) _wrap_GenericDirCtrl_GetFilePath
, METH_VARARGS
| METH_KEYWORDS
},
32015 { (char *)"GenericDirCtrl_SetPath", (PyCFunction
) _wrap_GenericDirCtrl_SetPath
, METH_VARARGS
| METH_KEYWORDS
},
32016 { (char *)"GenericDirCtrl_ShowHidden", (PyCFunction
) _wrap_GenericDirCtrl_ShowHidden
, METH_VARARGS
| METH_KEYWORDS
},
32017 { (char *)"GenericDirCtrl_GetShowHidden", (PyCFunction
) _wrap_GenericDirCtrl_GetShowHidden
, METH_VARARGS
| METH_KEYWORDS
},
32018 { (char *)"GenericDirCtrl_GetFilter", (PyCFunction
) _wrap_GenericDirCtrl_GetFilter
, METH_VARARGS
| METH_KEYWORDS
},
32019 { (char *)"GenericDirCtrl_SetFilter", (PyCFunction
) _wrap_GenericDirCtrl_SetFilter
, METH_VARARGS
| METH_KEYWORDS
},
32020 { (char *)"GenericDirCtrl_GetFilterIndex", (PyCFunction
) _wrap_GenericDirCtrl_GetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
},
32021 { (char *)"GenericDirCtrl_SetFilterIndex", (PyCFunction
) _wrap_GenericDirCtrl_SetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
},
32022 { (char *)"GenericDirCtrl_GetRootId", (PyCFunction
) _wrap_GenericDirCtrl_GetRootId
, METH_VARARGS
| METH_KEYWORDS
},
32023 { (char *)"GenericDirCtrl_GetTreeCtrl", (PyCFunction
) _wrap_GenericDirCtrl_GetTreeCtrl
, METH_VARARGS
| METH_KEYWORDS
},
32024 { (char *)"GenericDirCtrl_GetFilterListCtrl", (PyCFunction
) _wrap_GenericDirCtrl_GetFilterListCtrl
, METH_VARARGS
| METH_KEYWORDS
},
32025 { (char *)"GenericDirCtrl_FindChild", (PyCFunction
) _wrap_GenericDirCtrl_FindChild
, METH_VARARGS
| METH_KEYWORDS
},
32026 { (char *)"GenericDirCtrl_DoResize", (PyCFunction
) _wrap_GenericDirCtrl_DoResize
, METH_VARARGS
| METH_KEYWORDS
},
32027 { (char *)"GenericDirCtrl_ReCreateTree", (PyCFunction
) _wrap_GenericDirCtrl_ReCreateTree
, METH_VARARGS
| METH_KEYWORDS
},
32028 { (char *)"GenericDirCtrl_swigregister", GenericDirCtrl_swigregister
, METH_VARARGS
},
32029 { (char *)"new_DirFilterListCtrl", (PyCFunction
) _wrap_new_DirFilterListCtrl
, METH_VARARGS
| METH_KEYWORDS
},
32030 { (char *)"new_PreDirFilterListCtrl", (PyCFunction
) _wrap_new_PreDirFilterListCtrl
, METH_VARARGS
| METH_KEYWORDS
},
32031 { (char *)"DirFilterListCtrl_Create", (PyCFunction
) _wrap_DirFilterListCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
},
32032 { (char *)"DirFilterListCtrl_FillFilterList", (PyCFunction
) _wrap_DirFilterListCtrl_FillFilterList
, METH_VARARGS
| METH_KEYWORDS
},
32033 { (char *)"DirFilterListCtrl_swigregister", DirFilterListCtrl_swigregister
, METH_VARARGS
},
32034 { (char *)"new_PyControl", (PyCFunction
) _wrap_new_PyControl
, METH_VARARGS
| METH_KEYWORDS
},
32035 { (char *)"new_PrePyControl", (PyCFunction
) _wrap_new_PrePyControl
, METH_VARARGS
| METH_KEYWORDS
},
32036 { (char *)"PyControl__setCallbackInfo", (PyCFunction
) _wrap_PyControl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
32037 { (char *)"PyControl_SetBestSize", (PyCFunction
) _wrap_PyControl_SetBestSize
, METH_VARARGS
| METH_KEYWORDS
},
32038 { (char *)"PyControl_base_DoMoveWindow", (PyCFunction
) _wrap_PyControl_base_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
},
32039 { (char *)"PyControl_base_DoSetSize", (PyCFunction
) _wrap_PyControl_base_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
},
32040 { (char *)"PyControl_base_DoSetClientSize", (PyCFunction
) _wrap_PyControl_base_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
32041 { (char *)"PyControl_base_DoSetVirtualSize", (PyCFunction
) _wrap_PyControl_base_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
32042 { (char *)"PyControl_base_DoGetSize", (PyCFunction
) _wrap_PyControl_base_DoGetSize
, METH_VARARGS
| METH_KEYWORDS
},
32043 { (char *)"PyControl_base_DoGetClientSize", (PyCFunction
) _wrap_PyControl_base_DoGetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
32044 { (char *)"PyControl_base_DoGetPosition", (PyCFunction
) _wrap_PyControl_base_DoGetPosition
, METH_VARARGS
| METH_KEYWORDS
},
32045 { (char *)"PyControl_base_DoGetVirtualSize", (PyCFunction
) _wrap_PyControl_base_DoGetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
32046 { (char *)"PyControl_base_DoGetBestSize", (PyCFunction
) _wrap_PyControl_base_DoGetBestSize
, METH_VARARGS
| METH_KEYWORDS
},
32047 { (char *)"PyControl_base_InitDialog", (PyCFunction
) _wrap_PyControl_base_InitDialog
, METH_VARARGS
| METH_KEYWORDS
},
32048 { (char *)"PyControl_base_TransferDataToWindow", (PyCFunction
) _wrap_PyControl_base_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
},
32049 { (char *)"PyControl_base_TransferDataFromWindow", (PyCFunction
) _wrap_PyControl_base_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
},
32050 { (char *)"PyControl_base_Validate", (PyCFunction
) _wrap_PyControl_base_Validate
, METH_VARARGS
| METH_KEYWORDS
},
32051 { (char *)"PyControl_base_AcceptsFocus", (PyCFunction
) _wrap_PyControl_base_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
},
32052 { (char *)"PyControl_base_AcceptsFocusFromKeyboard", (PyCFunction
) _wrap_PyControl_base_AcceptsFocusFromKeyboard
, METH_VARARGS
| METH_KEYWORDS
},
32053 { (char *)"PyControl_base_GetMaxSize", (PyCFunction
) _wrap_PyControl_base_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
},
32054 { (char *)"PyControl_base_AddChild", (PyCFunction
) _wrap_PyControl_base_AddChild
, METH_VARARGS
| METH_KEYWORDS
},
32055 { (char *)"PyControl_base_RemoveChild", (PyCFunction
) _wrap_PyControl_base_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
},
32056 { (char *)"PyControl_base_ShouldInheritColours", (PyCFunction
) _wrap_PyControl_base_ShouldInheritColours
, METH_VARARGS
| METH_KEYWORDS
},
32057 { (char *)"PyControl_base_ApplyParentThemeBackground", (PyCFunction
) _wrap_PyControl_base_ApplyParentThemeBackground
, METH_VARARGS
| METH_KEYWORDS
},
32058 { (char *)"PyControl_base_GetDefaultAttributes", (PyCFunction
) _wrap_PyControl_base_GetDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
32059 { (char *)"PyControl_swigregister", PyControl_swigregister
, METH_VARARGS
},
32060 { (char *)"new_HelpEvent", (PyCFunction
) _wrap_new_HelpEvent
, METH_VARARGS
| METH_KEYWORDS
},
32061 { (char *)"HelpEvent_GetPosition", (PyCFunction
) _wrap_HelpEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
32062 { (char *)"HelpEvent_SetPosition", (PyCFunction
) _wrap_HelpEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
},
32063 { (char *)"HelpEvent_GetLink", (PyCFunction
) _wrap_HelpEvent_GetLink
, METH_VARARGS
| METH_KEYWORDS
},
32064 { (char *)"HelpEvent_SetLink", (PyCFunction
) _wrap_HelpEvent_SetLink
, METH_VARARGS
| METH_KEYWORDS
},
32065 { (char *)"HelpEvent_GetTarget", (PyCFunction
) _wrap_HelpEvent_GetTarget
, METH_VARARGS
| METH_KEYWORDS
},
32066 { (char *)"HelpEvent_SetTarget", (PyCFunction
) _wrap_HelpEvent_SetTarget
, METH_VARARGS
| METH_KEYWORDS
},
32067 { (char *)"HelpEvent_swigregister", HelpEvent_swigregister
, METH_VARARGS
},
32068 { (char *)"new_ContextHelp", (PyCFunction
) _wrap_new_ContextHelp
, METH_VARARGS
| METH_KEYWORDS
},
32069 { (char *)"delete_ContextHelp", (PyCFunction
) _wrap_delete_ContextHelp
, METH_VARARGS
| METH_KEYWORDS
},
32070 { (char *)"ContextHelp_BeginContextHelp", (PyCFunction
) _wrap_ContextHelp_BeginContextHelp
, METH_VARARGS
| METH_KEYWORDS
},
32071 { (char *)"ContextHelp_EndContextHelp", (PyCFunction
) _wrap_ContextHelp_EndContextHelp
, METH_VARARGS
| METH_KEYWORDS
},
32072 { (char *)"ContextHelp_swigregister", ContextHelp_swigregister
, METH_VARARGS
},
32073 { (char *)"new_ContextHelpButton", (PyCFunction
) _wrap_new_ContextHelpButton
, METH_VARARGS
| METH_KEYWORDS
},
32074 { (char *)"ContextHelpButton_swigregister", ContextHelpButton_swigregister
, METH_VARARGS
},
32075 { (char *)"HelpProvider_Set", (PyCFunction
) _wrap_HelpProvider_Set
, METH_VARARGS
| METH_KEYWORDS
},
32076 { (char *)"HelpProvider_Get", (PyCFunction
) _wrap_HelpProvider_Get
, METH_VARARGS
| METH_KEYWORDS
},
32077 { (char *)"HelpProvider_GetHelp", (PyCFunction
) _wrap_HelpProvider_GetHelp
, METH_VARARGS
| METH_KEYWORDS
},
32078 { (char *)"HelpProvider_ShowHelp", (PyCFunction
) _wrap_HelpProvider_ShowHelp
, METH_VARARGS
| METH_KEYWORDS
},
32079 { (char *)"HelpProvider_AddHelp", (PyCFunction
) _wrap_HelpProvider_AddHelp
, METH_VARARGS
| METH_KEYWORDS
},
32080 { (char *)"HelpProvider_AddHelpById", (PyCFunction
) _wrap_HelpProvider_AddHelpById
, METH_VARARGS
| METH_KEYWORDS
},
32081 { (char *)"HelpProvider_RemoveHelp", (PyCFunction
) _wrap_HelpProvider_RemoveHelp
, METH_VARARGS
| METH_KEYWORDS
},
32082 { (char *)"HelpProvider_Destroy", (PyCFunction
) _wrap_HelpProvider_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
32083 { (char *)"HelpProvider_swigregister", HelpProvider_swigregister
, METH_VARARGS
},
32084 { (char *)"new_SimpleHelpProvider", (PyCFunction
) _wrap_new_SimpleHelpProvider
, METH_VARARGS
| METH_KEYWORDS
},
32085 { (char *)"SimpleHelpProvider_swigregister", SimpleHelpProvider_swigregister
, METH_VARARGS
},
32086 { (char *)"new_DragImage", (PyCFunction
) _wrap_new_DragImage
, METH_VARARGS
| METH_KEYWORDS
},
32087 { (char *)"new_DragIcon", (PyCFunction
) _wrap_new_DragIcon
, METH_VARARGS
| METH_KEYWORDS
},
32088 { (char *)"new_DragString", (PyCFunction
) _wrap_new_DragString
, METH_VARARGS
| METH_KEYWORDS
},
32089 { (char *)"new_DragTreeItem", (PyCFunction
) _wrap_new_DragTreeItem
, METH_VARARGS
| METH_KEYWORDS
},
32090 { (char *)"new_DragListItem", (PyCFunction
) _wrap_new_DragListItem
, METH_VARARGS
| METH_KEYWORDS
},
32091 { (char *)"delete_DragImage", (PyCFunction
) _wrap_delete_DragImage
, METH_VARARGS
| METH_KEYWORDS
},
32092 { (char *)"DragImage_SetBackingBitmap", (PyCFunction
) _wrap_DragImage_SetBackingBitmap
, METH_VARARGS
| METH_KEYWORDS
},
32093 { (char *)"DragImage_BeginDrag", (PyCFunction
) _wrap_DragImage_BeginDrag
, METH_VARARGS
| METH_KEYWORDS
},
32094 { (char *)"DragImage_BeginDragBounded", (PyCFunction
) _wrap_DragImage_BeginDragBounded
, METH_VARARGS
| METH_KEYWORDS
},
32095 { (char *)"DragImage_EndDrag", (PyCFunction
) _wrap_DragImage_EndDrag
, METH_VARARGS
| METH_KEYWORDS
},
32096 { (char *)"DragImage_Move", (PyCFunction
) _wrap_DragImage_Move
, METH_VARARGS
| METH_KEYWORDS
},
32097 { (char *)"DragImage_Show", (PyCFunction
) _wrap_DragImage_Show
, METH_VARARGS
| METH_KEYWORDS
},
32098 { (char *)"DragImage_Hide", (PyCFunction
) _wrap_DragImage_Hide
, METH_VARARGS
| METH_KEYWORDS
},
32099 { (char *)"DragImage_GetImageRect", (PyCFunction
) _wrap_DragImage_GetImageRect
, METH_VARARGS
| METH_KEYWORDS
},
32100 { (char *)"DragImage_DoDrawImage", (PyCFunction
) _wrap_DragImage_DoDrawImage
, METH_VARARGS
| METH_KEYWORDS
},
32101 { (char *)"DragImage_UpdateBackingFromWindow", (PyCFunction
) _wrap_DragImage_UpdateBackingFromWindow
, METH_VARARGS
| METH_KEYWORDS
},
32102 { (char *)"DragImage_RedrawImage", (PyCFunction
) _wrap_DragImage_RedrawImage
, METH_VARARGS
| METH_KEYWORDS
},
32103 { (char *)"DragImage_swigregister", DragImage_swigregister
, METH_VARARGS
},
32108 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
32110 static void *_p_wxNotebookEventTo_p_wxBookCtrlEvent(void *x
) {
32111 return (void *)((wxBookCtrlEvent
*) ((wxNotebookEvent
*) x
));
32113 static void *_p_wxListbookEventTo_p_wxBookCtrlEvent(void *x
) {
32114 return (void *)((wxBookCtrlEvent
*) ((wxListbookEvent
*) x
));
32116 static void *_p_wxBoxSizerTo_p_wxSizer(void *x
) {
32117 return (void *)((wxSizer
*) ((wxBoxSizer
*) x
));
32119 static void *_p_wxStaticBoxSizerTo_p_wxSizer(void *x
) {
32120 return (void *)((wxSizer
*) (wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
32122 static void *_p_wxGridBagSizerTo_p_wxSizer(void *x
) {
32123 return (void *)((wxSizer
*) (wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
32125 static void *_p_wxGridSizerTo_p_wxSizer(void *x
) {
32126 return (void *)((wxSizer
*) ((wxGridSizer
*) x
));
32128 static void *_p_wxFlexGridSizerTo_p_wxSizer(void *x
) {
32129 return (void *)((wxSizer
*) (wxGridSizer
*) ((wxFlexGridSizer
*) x
));
32131 static void *_p_wxNotebookSizerTo_p_wxSizer(void *x
) {
32132 return (void *)((wxSizer
*) ((wxNotebookSizer
*) x
));
32134 static void *_p_wxPySizerTo_p_wxSizer(void *x
) {
32135 return (void *)((wxSizer
*) ((wxPySizer
*) x
));
32137 static void *_p_wxBookCtrlSizerTo_p_wxSizer(void *x
) {
32138 return (void *)((wxSizer
*) ((wxBookCtrlSizer
*) x
));
32140 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
32141 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
32143 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
32144 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
32146 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
32147 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
32149 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
32150 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
32152 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
32153 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
32155 static void *_p_wxTreeEventTo_p_wxEvent(void *x
) {
32156 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxTreeEvent
*) x
));
32158 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
32159 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
32161 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
32162 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
32164 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
32165 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
32167 static void *_p_wxTextUrlEventTo_p_wxEvent(void *x
) {
32168 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
32170 static void *_p_wxBookCtrlEventTo_p_wxEvent(void *x
) {
32171 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxBookCtrlEvent
*) x
));
32173 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
32174 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
32176 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
32177 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
32179 static void *_p_wxListEventTo_p_wxEvent(void *x
) {
32180 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxListEvent
*) x
));
32182 static void *_p_wxNotebookEventTo_p_wxEvent(void *x
) {
32183 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlEvent
*) ((wxNotebookEvent
*) x
));
32185 static void *_p_wxListbookEventTo_p_wxEvent(void *x
) {
32186 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlEvent
*) ((wxListbookEvent
*) x
));
32188 static void *_p_wxHelpEventTo_p_wxEvent(void *x
) {
32189 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxHelpEvent
*) x
));
32191 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
32192 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
32194 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
32195 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
32197 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
32198 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
32200 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
32201 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
32203 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
32204 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
32206 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
32207 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
32209 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
32210 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
32212 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
32213 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
32215 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
32216 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
32218 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
32219 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
32221 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
32222 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
32224 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
32225 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
32227 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
32228 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
32230 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
32231 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
32233 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
32234 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
32236 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
32237 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
32239 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
32240 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
32242 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
32243 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
32245 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
32246 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
32248 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
32249 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
32251 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
32252 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
32254 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
32255 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
32257 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
32258 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
32260 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
32261 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
32263 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
32264 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
32266 static void *_p_wxSpinEventTo_p_wxEvent(void *x
) {
32267 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxSpinEvent
*) x
));
32269 static void *_p_wxComboBoxTo_p_wxItemContainer(void *x
) {
32270 return (void *)((wxItemContainer
*) (wxControlWithItems
*)(wxChoice
*) ((wxComboBox
*) x
));
32272 static void *_p_wxDirFilterListCtrlTo_p_wxItemContainer(void *x
) {
32273 return (void *)((wxItemContainer
*) (wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
32275 static void *_p_wxChoiceTo_p_wxItemContainer(void *x
) {
32276 return (void *)((wxItemContainer
*) (wxControlWithItems
*) ((wxChoice
*) x
));
32278 static void *_p_wxControlWithItemsTo_p_wxItemContainer(void *x
) {
32279 return (void *)((wxItemContainer
*) ((wxControlWithItems
*) x
));
32281 static void *_p_wxListBoxTo_p_wxItemContainer(void *x
) {
32282 return (void *)((wxItemContainer
*) (wxControlWithItems
*) ((wxListBox
*) x
));
32284 static void *_p_wxCheckListBoxTo_p_wxItemContainer(void *x
) {
32285 return (void *)((wxItemContainer
*) (wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
32287 static void *_p_wxListViewTo_p_wxPyListCtrl(void *x
) {
32288 return (void *)((wxPyListCtrl
*) ((wxListView
*) x
));
32290 static void *_p_wxCheckListBoxTo_p_wxControl(void *x
) {
32291 return (void *)((wxControl
*) (wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
32293 static void *_p_wxListBoxTo_p_wxControl(void *x
) {
32294 return (void *)((wxControl
*) (wxControlWithItems
*) ((wxListBox
*) x
));
32296 static void *_p_wxChoiceTo_p_wxControl(void *x
) {
32297 return (void *)((wxControl
*) (wxControlWithItems
*) ((wxChoice
*) x
));
32299 static void *_p_wxToolBarTo_p_wxControl(void *x
) {
32300 return (void *)((wxControl
*) (wxToolBarBase
*) ((wxToolBar
*) x
));
32302 static void *_p_wxStaticBitmapTo_p_wxControl(void *x
) {
32303 return (void *)((wxControl
*) ((wxStaticBitmap
*) x
));
32305 static void *_p_wxComboBoxTo_p_wxControl(void *x
) {
32306 return (void *)((wxControl
*) (wxControlWithItems
*)(wxChoice
*) ((wxComboBox
*) x
));
32308 static void *_p_wxSpinCtrlTo_p_wxControl(void *x
) {
32309 return (void *)((wxControl
*) ((wxSpinCtrl
*) x
));
32311 static void *_p_wxStaticBoxTo_p_wxControl(void *x
) {
32312 return (void *)((wxControl
*) ((wxStaticBox
*) x
));
32314 static void *_p_wxPyListCtrlTo_p_wxControl(void *x
) {
32315 return (void *)((wxControl
*) ((wxPyListCtrl
*) x
));
32317 static void *_p_wxPyTreeCtrlTo_p_wxControl(void *x
) {
32318 return (void *)((wxControl
*) ((wxPyTreeCtrl
*) x
));
32320 static void *_p_wxDirFilterListCtrlTo_p_wxControl(void *x
) {
32321 return (void *)((wxControl
*) (wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
32323 static void *_p_wxScrollBarTo_p_wxControl(void *x
) {
32324 return (void *)((wxControl
*) ((wxScrollBar
*) x
));
32326 static void *_p_wxBookCtrlTo_p_wxControl(void *x
) {
32327 return (void *)((wxControl
*) ((wxBookCtrl
*) x
));
32329 static void *_p_wxRadioButtonTo_p_wxControl(void *x
) {
32330 return (void *)((wxControl
*) ((wxRadioButton
*) x
));
32332 static void *_p_wxToggleButtonTo_p_wxControl(void *x
) {
32333 return (void *)((wxControl
*) ((wxToggleButton
*) x
));
32335 static void *_p_wxGaugeTo_p_wxControl(void *x
) {
32336 return (void *)((wxControl
*) ((wxGauge
*) x
));
32338 static void *_p_wxToolBarBaseTo_p_wxControl(void *x
) {
32339 return (void *)((wxControl
*) ((wxToolBarBase
*) x
));
32341 static void *_p_wxBitmapButtonTo_p_wxControl(void *x
) {
32342 return (void *)((wxControl
*) (wxButton
*) ((wxBitmapButton
*) x
));
32344 static void *_p_wxButtonTo_p_wxControl(void *x
) {
32345 return (void *)((wxControl
*) ((wxButton
*) x
));
32347 static void *_p_wxSpinButtonTo_p_wxControl(void *x
) {
32348 return (void *)((wxControl
*) ((wxSpinButton
*) x
));
32350 static void *_p_wxContextHelpButtonTo_p_wxControl(void *x
) {
32351 return (void *)((wxControl
*) (wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
32353 static void *_p_wxControlWithItemsTo_p_wxControl(void *x
) {
32354 return (void *)((wxControl
*) ((wxControlWithItems
*) x
));
32356 static void *_p_wxRadioBoxTo_p_wxControl(void *x
) {
32357 return (void *)((wxControl
*) ((wxRadioBox
*) x
));
32359 static void *_p_wxNotebookTo_p_wxControl(void *x
) {
32360 return (void *)((wxControl
*) (wxBookCtrl
*) ((wxNotebook
*) x
));
32362 static void *_p_wxListbookTo_p_wxControl(void *x
) {
32363 return (void *)((wxControl
*) (wxBookCtrl
*) ((wxListbook
*) x
));
32365 static void *_p_wxCheckBoxTo_p_wxControl(void *x
) {
32366 return (void *)((wxControl
*) ((wxCheckBox
*) x
));
32368 static void *_p_wxTextCtrlTo_p_wxControl(void *x
) {
32369 return (void *)((wxControl
*) ((wxTextCtrl
*) x
));
32371 static void *_p_wxListViewTo_p_wxControl(void *x
) {
32372 return (void *)((wxControl
*) (wxPyListCtrl
*) ((wxListView
*) x
));
32374 static void *_p_wxSliderTo_p_wxControl(void *x
) {
32375 return (void *)((wxControl
*) ((wxSlider
*) x
));
32377 static void *_p_wxGenericDirCtrlTo_p_wxControl(void *x
) {
32378 return (void *)((wxControl
*) ((wxGenericDirCtrl
*) x
));
32380 static void *_p_wxPyControlTo_p_wxControl(void *x
) {
32381 return (void *)((wxControl
*) ((wxPyControl
*) x
));
32383 static void *_p_wxStaticLineTo_p_wxControl(void *x
) {
32384 return (void *)((wxControl
*) ((wxStaticLine
*) x
));
32386 static void *_p_wxStaticTextTo_p_wxControl(void *x
) {
32387 return (void *)((wxControl
*) ((wxStaticText
*) x
));
32389 static void *_p_wxToolBarTo_p_wxToolBarBase(void *x
) {
32390 return (void *)((wxToolBarBase
*) ((wxToolBar
*) x
));
32392 static void *_p_wxComboBoxTo_p_wxChoice(void *x
) {
32393 return (void *)((wxChoice
*) ((wxComboBox
*) x
));
32395 static void *_p_wxDirFilterListCtrlTo_p_wxChoice(void *x
) {
32396 return (void *)((wxChoice
*) ((wxDirFilterListCtrl
*) x
));
32398 static void *_p_wxTreeEventTo_p_wxNotifyEvent(void *x
) {
32399 return (void *)((wxNotifyEvent
*) ((wxTreeEvent
*) x
));
32401 static void *_p_wxBookCtrlEventTo_p_wxNotifyEvent(void *x
) {
32402 return (void *)((wxNotifyEvent
*) ((wxBookCtrlEvent
*) x
));
32404 static void *_p_wxListEventTo_p_wxNotifyEvent(void *x
) {
32405 return (void *)((wxNotifyEvent
*) ((wxListEvent
*) x
));
32407 static void *_p_wxSpinEventTo_p_wxNotifyEvent(void *x
) {
32408 return (void *)((wxNotifyEvent
*) ((wxSpinEvent
*) x
));
32410 static void *_p_wxNotebookEventTo_p_wxNotifyEvent(void *x
) {
32411 return (void *)((wxNotifyEvent
*) (wxBookCtrlEvent
*) ((wxNotebookEvent
*) x
));
32413 static void *_p_wxListbookEventTo_p_wxNotifyEvent(void *x
) {
32414 return (void *)((wxNotifyEvent
*) (wxBookCtrlEvent
*) ((wxListbookEvent
*) x
));
32416 static void *_p_wxBookCtrlTo_p_wxEvtHandler(void *x
) {
32417 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxBookCtrl
*) x
));
32419 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
32420 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
32422 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
32423 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
32425 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
32426 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
32428 static void *_p_wxToolBarTo_p_wxEvtHandler(void *x
) {
32429 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
32431 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
32432 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
32434 static void *_p_wxToggleButtonTo_p_wxEvtHandler(void *x
) {
32435 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxToggleButton
*) x
));
32437 static void *_p_wxRadioButtonTo_p_wxEvtHandler(void *x
) {
32438 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxRadioButton
*) x
));
32440 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
32441 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
32443 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
32444 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
32446 static void *_p_wxToolBarBaseTo_p_wxEvtHandler(void *x
) {
32447 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxToolBarBase
*) x
));
32449 static void *_p_wxPyListCtrlTo_p_wxEvtHandler(void *x
) {
32450 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyListCtrl
*) x
));
32452 static void *_p_wxComboBoxTo_p_wxEvtHandler(void *x
) {
32453 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxComboBox
*) x
));
32455 static void *_p_wxDirFilterListCtrlTo_p_wxEvtHandler(void *x
) {
32456 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
32458 static void *_p_wxPyControlTo_p_wxEvtHandler(void *x
) {
32459 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyControl
*) x
));
32461 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
32462 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
32464 static void *_p_wxGenericDirCtrlTo_p_wxEvtHandler(void *x
) {
32465 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxGenericDirCtrl
*) x
));
32467 static void *_p_wxScrollBarTo_p_wxEvtHandler(void *x
) {
32468 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxScrollBar
*) x
));
32470 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
32471 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
32473 static void *_p_wxGaugeTo_p_wxEvtHandler(void *x
) {
32474 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxGauge
*) x
));
32476 static void *_p_wxStaticLineTo_p_wxEvtHandler(void *x
) {
32477 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticLine
*) x
));
32479 static void *_p_wxListbookTo_p_wxEvtHandler(void *x
) {
32480 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrl
*) ((wxListbook
*) x
));
32482 static void *_p_wxPyTreeCtrlTo_p_wxEvtHandler(void *x
) {
32483 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyTreeCtrl
*) x
));
32485 static void *_p_wxCheckBoxTo_p_wxEvtHandler(void *x
) {
32486 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxCheckBox
*) x
));
32488 static void *_p_wxRadioBoxTo_p_wxEvtHandler(void *x
) {
32489 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxRadioBox
*) x
));
32491 static void *_p_wxCheckListBoxTo_p_wxEvtHandler(void *x
) {
32492 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
32494 static void *_p_wxListBoxTo_p_wxEvtHandler(void *x
) {
32495 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
32497 static void *_p_wxChoiceTo_p_wxEvtHandler(void *x
) {
32498 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
32500 static void *_p_wxNotebookTo_p_wxEvtHandler(void *x
) {
32501 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrl
*) ((wxNotebook
*) x
));
32503 static void *_p_wxStaticBitmapTo_p_wxEvtHandler(void *x
) {
32504 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticBitmap
*) x
));
32506 static void *_p_wxListViewTo_p_wxEvtHandler(void *x
) {
32507 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
32509 static void *_p_wxSpinCtrlTo_p_wxEvtHandler(void *x
) {
32510 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSpinCtrl
*) x
));
32512 static void *_p_wxStaticTextTo_p_wxEvtHandler(void *x
) {
32513 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticText
*) x
));
32515 static void *_p_wxStaticBoxTo_p_wxEvtHandler(void *x
) {
32516 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticBox
*) x
));
32518 static void *_p_wxSliderTo_p_wxEvtHandler(void *x
) {
32519 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSlider
*) x
));
32521 static void *_p_wxSpinButtonTo_p_wxEvtHandler(void *x
) {
32522 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSpinButton
*) x
));
32524 static void *_p_wxButtonTo_p_wxEvtHandler(void *x
) {
32525 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxButton
*) x
));
32527 static void *_p_wxBitmapButtonTo_p_wxEvtHandler(void *x
) {
32528 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
32530 static void *_p_wxContextHelpButtonTo_p_wxEvtHandler(void *x
) {
32531 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
32533 static void *_p_wxTextCtrlTo_p_wxEvtHandler(void *x
) {
32534 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxTextCtrl
*) x
));
32536 static void *_p_wxCheckListBoxTo_p_wxListBox(void *x
) {
32537 return (void *)((wxListBox
*) ((wxCheckListBox
*) x
));
32539 static void *_p_wxListbookTo_p_wxBookCtrl(void *x
) {
32540 return (void *)((wxBookCtrl
*) ((wxListbook
*) x
));
32542 static void *_p_wxNotebookTo_p_wxBookCtrl(void *x
) {
32543 return (void *)((wxBookCtrl
*) ((wxNotebook
*) x
));
32545 static void *_p_wxBitmapButtonTo_p_wxButton(void *x
) {
32546 return (void *)((wxButton
*) ((wxBitmapButton
*) x
));
32548 static void *_p_wxContextHelpButtonTo_p_wxButton(void *x
) {
32549 return (void *)((wxButton
*) (wxBitmapButton
*) ((wxContextHelpButton
*) x
));
32551 static void *_p_wxContextHelpButtonTo_p_wxBitmapButton(void *x
) {
32552 return (void *)((wxBitmapButton
*) ((wxContextHelpButton
*) x
));
32554 static void *_p_wxSimpleHelpProviderTo_p_wxHelpProvider(void *x
) {
32555 return (void *)((wxHelpProvider
*) ((wxSimpleHelpProvider
*) x
));
32557 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
32558 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
32560 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
32561 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
32563 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
32564 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
32566 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
32567 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
32569 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
32570 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
32572 static void *_p_wxTextUrlEventTo_p_wxObject(void *x
) {
32573 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
32575 static void *_p_wxBookCtrlEventTo_p_wxObject(void *x
) {
32576 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxBookCtrlEvent
*) x
));
32578 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
32579 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
32581 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
32582 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
32584 static void *_p_wxSizerTo_p_wxObject(void *x
) {
32585 return (void *)((wxObject
*) ((wxSizer
*) x
));
32587 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
32588 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
32590 static void *_p_wxCheckBoxTo_p_wxObject(void *x
) {
32591 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxCheckBox
*) x
));
32593 static void *_p_wxPyTreeCtrlTo_p_wxObject(void *x
) {
32594 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyTreeCtrl
*) x
));
32596 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
32597 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
32599 static void *_p_wxEventTo_p_wxObject(void *x
) {
32600 return (void *)((wxObject
*) ((wxEvent
*) x
));
32602 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
32603 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
32605 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
32606 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
32608 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
32609 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
32611 static void *_p_wxGenericDirCtrlTo_p_wxObject(void *x
) {
32612 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxGenericDirCtrl
*) x
));
32614 static void *_p_wxPyListCtrlTo_p_wxObject(void *x
) {
32615 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyListCtrl
*) x
));
32617 static void *_p_wxDirFilterListCtrlTo_p_wxObject(void *x
) {
32618 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
32620 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
32621 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
32623 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
32624 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
32626 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
32627 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
32629 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
32630 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
32632 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
32633 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
32635 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
32636 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
32638 static void *_p_wxStaticLineTo_p_wxObject(void *x
) {
32639 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticLine
*) x
));
32641 static void *_p_wxControlTo_p_wxObject(void *x
) {
32642 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
32644 static void *_p_wxPyControlTo_p_wxObject(void *x
) {
32645 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyControl
*) x
));
32647 static void *_p_wxGaugeTo_p_wxObject(void *x
) {
32648 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxGauge
*) x
));
32650 static void *_p_wxRadioButtonTo_p_wxObject(void *x
) {
32651 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxRadioButton
*) x
));
32653 static void *_p_wxToggleButtonTo_p_wxObject(void *x
) {
32654 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxToggleButton
*) x
));
32656 static void *_p_wxToolBarBaseTo_p_wxObject(void *x
) {
32657 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxToolBarBase
*) x
));
32659 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
32660 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
32662 static void *_p_wxChoiceTo_p_wxObject(void *x
) {
32663 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
32665 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
32666 return (void *)((wxObject
*) ((wxFSFile
*) x
));
32668 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
32669 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
32671 static void *_p_wxListViewTo_p_wxObject(void *x
) {
32672 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
32674 static void *_p_wxTextCtrlTo_p_wxObject(void *x
) {
32675 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxTextCtrl
*) x
));
32677 static void *_p_wxNotebookTo_p_wxObject(void *x
) {
32678 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrl
*) ((wxNotebook
*) x
));
32680 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
32681 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
32683 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
32684 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
32686 static void *_p_wxListbookTo_p_wxObject(void *x
) {
32687 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrl
*) ((wxListbook
*) x
));
32689 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
32690 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
32692 static void *_p_wxStaticBitmapTo_p_wxObject(void *x
) {
32693 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticBitmap
*) x
));
32695 static void *_p_wxSliderTo_p_wxObject(void *x
) {
32696 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSlider
*) x
));
32698 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
32699 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
32701 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
32702 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
32704 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
32705 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
32707 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
32708 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
32710 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
32711 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
32713 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
32714 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
32716 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
32717 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
32719 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
32720 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
32722 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
32723 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
32725 static void *_p_wxStaticBoxTo_p_wxObject(void *x
) {
32726 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticBox
*) x
));
32728 static void *_p_wxContextHelpTo_p_wxObject(void *x
) {
32729 return (void *)((wxObject
*) ((wxContextHelp
*) x
));
32731 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
32732 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
32734 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
32735 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
32737 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
32738 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
32740 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
32741 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
32743 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
32744 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
32746 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
32747 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
32749 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
32750 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
32752 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
32753 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
32755 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
32756 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
32758 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
32759 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
32761 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
32762 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
32764 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
32765 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
32767 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
32768 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
32770 static void *_p_wxListEventTo_p_wxObject(void *x
) {
32771 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxListEvent
*) x
));
32773 static void *_p_wxListBoxTo_p_wxObject(void *x
) {
32774 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
32776 static void *_p_wxCheckListBoxTo_p_wxObject(void *x
) {
32777 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
32779 static void *_p_wxBookCtrlTo_p_wxObject(void *x
) {
32780 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxBookCtrl
*) x
));
32782 static void *_p_wxButtonTo_p_wxObject(void *x
) {
32783 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxButton
*) x
));
32785 static void *_p_wxBitmapButtonTo_p_wxObject(void *x
) {
32786 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
32788 static void *_p_wxSpinButtonTo_p_wxObject(void *x
) {
32789 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSpinButton
*) x
));
32791 static void *_p_wxContextHelpButtonTo_p_wxObject(void *x
) {
32792 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
32794 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
32795 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
32797 static void *_p_wxScrollBarTo_p_wxObject(void *x
) {
32798 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxScrollBar
*) x
));
32800 static void *_p_wxRadioBoxTo_p_wxObject(void *x
) {
32801 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxRadioBox
*) x
));
32803 static void *_p_wxComboBoxTo_p_wxObject(void *x
) {
32804 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxComboBox
*) x
));
32806 static void *_p_wxHelpEventTo_p_wxObject(void *x
) {
32807 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxHelpEvent
*) x
));
32809 static void *_p_wxListItemTo_p_wxObject(void *x
) {
32810 return (void *)((wxObject
*) ((wxListItem
*) x
));
32812 static void *_p_wxImageTo_p_wxObject(void *x
) {
32813 return (void *)((wxObject
*) ((wxImage
*) x
));
32815 static void *_p_wxNotebookSizerTo_p_wxObject(void *x
) {
32816 return (void *)((wxObject
*) (wxSizer
*) ((wxNotebookSizer
*) x
));
32818 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
32819 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
32821 static void *_p_wxSpinEventTo_p_wxObject(void *x
) {
32822 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxSpinEvent
*) x
));
32824 static void *_p_wxGenericDragImageTo_p_wxObject(void *x
) {
32825 return (void *)((wxObject
*) ((wxGenericDragImage
*) x
));
32827 static void *_p_wxSpinCtrlTo_p_wxObject(void *x
) {
32828 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSpinCtrl
*) x
));
32830 static void *_p_wxNotebookEventTo_p_wxObject(void *x
) {
32831 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlEvent
*) ((wxNotebookEvent
*) x
));
32833 static void *_p_wxListbookEventTo_p_wxObject(void *x
) {
32834 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlEvent
*) ((wxListbookEvent
*) x
));
32836 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
32837 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
32839 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
32840 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
32842 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
32843 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
32845 static void *_p_wxWindowTo_p_wxObject(void *x
) {
32846 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
32848 static void *_p_wxMenuTo_p_wxObject(void *x
) {
32849 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
32851 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
32852 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
32854 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
32855 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
32857 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
32858 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
32860 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
32861 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
32863 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
32864 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
32866 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
32867 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
32869 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
32870 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
32872 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
32873 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
32875 static void *_p_wxTreeEventTo_p_wxObject(void *x
) {
32876 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxTreeEvent
*) x
));
32878 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
32879 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
32881 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
32882 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
32884 static void *_p_wxStaticTextTo_p_wxObject(void *x
) {
32885 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticText
*) x
));
32887 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
32888 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
32890 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
32891 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
32893 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
32894 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
32896 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
32897 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
32899 static void *_p_wxToolBarToolBaseTo_p_wxObject(void *x
) {
32900 return (void *)((wxObject
*) ((wxToolBarToolBase
*) x
));
32902 static void *_p_wxToolBarTo_p_wxObject(void *x
) {
32903 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
32905 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
32906 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
32908 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
32909 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
32911 static void *_p_wxBookCtrlSizerTo_p_wxObject(void *x
) {
32912 return (void *)((wxObject
*) (wxSizer
*) ((wxBookCtrlSizer
*) x
));
32914 static void *_p_wxBookCtrlTo_p_wxWindow(void *x
) {
32915 return (void *)((wxWindow
*) (wxControl
*) ((wxBookCtrl
*) x
));
32917 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
32918 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
32920 static void *_p_wxToolBarTo_p_wxWindow(void *x
) {
32921 return (void *)((wxWindow
*) (wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
32923 static void *_p_wxToggleButtonTo_p_wxWindow(void *x
) {
32924 return (void *)((wxWindow
*) (wxControl
*) ((wxToggleButton
*) x
));
32926 static void *_p_wxRadioButtonTo_p_wxWindow(void *x
) {
32927 return (void *)((wxWindow
*) (wxControl
*) ((wxRadioButton
*) x
));
32929 static void *_p_wxPyControlTo_p_wxWindow(void *x
) {
32930 return (void *)((wxWindow
*) (wxControl
*) ((wxPyControl
*) x
));
32932 static void *_p_wxControlTo_p_wxWindow(void *x
) {
32933 return (void *)((wxWindow
*) ((wxControl
*) x
));
32935 static void *_p_wxToolBarBaseTo_p_wxWindow(void *x
) {
32936 return (void *)((wxWindow
*) (wxControl
*) ((wxToolBarBase
*) x
));
32938 static void *_p_wxDirFilterListCtrlTo_p_wxWindow(void *x
) {
32939 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
32941 static void *_p_wxPyListCtrlTo_p_wxWindow(void *x
) {
32942 return (void *)((wxWindow
*) (wxControl
*) ((wxPyListCtrl
*) x
));
32944 static void *_p_wxComboBoxTo_p_wxWindow(void *x
) {
32945 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxComboBox
*) x
));
32947 static void *_p_wxGenericDirCtrlTo_p_wxWindow(void *x
) {
32948 return (void *)((wxWindow
*) (wxControl
*) ((wxGenericDirCtrl
*) x
));
32950 static void *_p_wxScrollBarTo_p_wxWindow(void *x
) {
32951 return (void *)((wxWindow
*) (wxControl
*) ((wxScrollBar
*) x
));
32953 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
32954 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
32956 static void *_p_wxGaugeTo_p_wxWindow(void *x
) {
32957 return (void *)((wxWindow
*) (wxControl
*) ((wxGauge
*) x
));
32959 static void *_p_wxStaticLineTo_p_wxWindow(void *x
) {
32960 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticLine
*) x
));
32962 static void *_p_wxListbookTo_p_wxWindow(void *x
) {
32963 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrl
*) ((wxListbook
*) x
));
32965 static void *_p_wxPyTreeCtrlTo_p_wxWindow(void *x
) {
32966 return (void *)((wxWindow
*) (wxControl
*) ((wxPyTreeCtrl
*) x
));
32968 static void *_p_wxCheckBoxTo_p_wxWindow(void *x
) {
32969 return (void *)((wxWindow
*) (wxControl
*) ((wxCheckBox
*) x
));
32971 static void *_p_wxRadioBoxTo_p_wxWindow(void *x
) {
32972 return (void *)((wxWindow
*) (wxControl
*) ((wxRadioBox
*) x
));
32974 static void *_p_wxCheckListBoxTo_p_wxWindow(void *x
) {
32975 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
32977 static void *_p_wxChoiceTo_p_wxWindow(void *x
) {
32978 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
32980 static void *_p_wxListBoxTo_p_wxWindow(void *x
) {
32981 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
32983 static void *_p_wxListViewTo_p_wxWindow(void *x
) {
32984 return (void *)((wxWindow
*) (wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
32986 static void *_p_wxNotebookTo_p_wxWindow(void *x
) {
32987 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrl
*) ((wxNotebook
*) x
));
32989 static void *_p_wxStaticBitmapTo_p_wxWindow(void *x
) {
32990 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticBitmap
*) x
));
32992 static void *_p_wxSpinCtrlTo_p_wxWindow(void *x
) {
32993 return (void *)((wxWindow
*) (wxControl
*) ((wxSpinCtrl
*) x
));
32995 static void *_p_wxStaticTextTo_p_wxWindow(void *x
) {
32996 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticText
*) x
));
32998 static void *_p_wxStaticBoxTo_p_wxWindow(void *x
) {
32999 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticBox
*) x
));
33001 static void *_p_wxSliderTo_p_wxWindow(void *x
) {
33002 return (void *)((wxWindow
*) (wxControl
*) ((wxSlider
*) x
));
33004 static void *_p_wxSpinButtonTo_p_wxWindow(void *x
) {
33005 return (void *)((wxWindow
*) (wxControl
*) ((wxSpinButton
*) x
));
33007 static void *_p_wxButtonTo_p_wxWindow(void *x
) {
33008 return (void *)((wxWindow
*) (wxControl
*) ((wxButton
*) x
));
33010 static void *_p_wxBitmapButtonTo_p_wxWindow(void *x
) {
33011 return (void *)((wxWindow
*) (wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
33013 static void *_p_wxContextHelpButtonTo_p_wxWindow(void *x
) {
33014 return (void *)((wxWindow
*) (wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
33016 static void *_p_wxTextCtrlTo_p_wxWindow(void *x
) {
33017 return (void *)((wxWindow
*) (wxControl
*) ((wxTextCtrl
*) x
));
33019 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x
) {
33020 return (void *)((wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
33022 static void *_p_wxBookCtrlEventTo_p_wxCommandEvent(void *x
) {
33023 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxBookCtrlEvent
*) x
));
33025 static void *_p_wxTextUrlEventTo_p_wxCommandEvent(void *x
) {
33026 return (void *)((wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
33028 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x
) {
33029 return (void *)((wxCommandEvent
*) ((wxScrollEvent
*) x
));
33031 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x
) {
33032 return (void *)((wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
33034 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x
) {
33035 return (void *)((wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
33037 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x
) {
33038 return (void *)((wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
33040 static void *_p_wxListbookEventTo_p_wxCommandEvent(void *x
) {
33041 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlEvent
*) ((wxListbookEvent
*) x
));
33043 static void *_p_wxNotebookEventTo_p_wxCommandEvent(void *x
) {
33044 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlEvent
*) ((wxNotebookEvent
*) x
));
33046 static void *_p_wxListEventTo_p_wxCommandEvent(void *x
) {
33047 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxListEvent
*) x
));
33049 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x
) {
33050 return (void *)((wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
33052 static void *_p_wxTreeEventTo_p_wxCommandEvent(void *x
) {
33053 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxTreeEvent
*) x
));
33055 static void *_p_wxSpinEventTo_p_wxCommandEvent(void *x
) {
33056 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxSpinEvent
*) x
));
33058 static void *_p_wxHelpEventTo_p_wxCommandEvent(void *x
) {
33059 return (void *)((wxCommandEvent
*) ((wxHelpEvent
*) x
));
33061 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x
) {
33062 return (void *)((wxCommandEvent
*) ((wxNotifyEvent
*) x
));
33064 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x
) {
33065 return (void *)((wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
33067 static void *_p_wxComboBoxTo_p_wxControlWithItems(void *x
) {
33068 return (void *)((wxControlWithItems
*) (wxChoice
*) ((wxComboBox
*) x
));
33070 static void *_p_wxDirFilterListCtrlTo_p_wxControlWithItems(void *x
) {
33071 return (void *)((wxControlWithItems
*) (wxChoice
*) ((wxDirFilterListCtrl
*) x
));
33073 static void *_p_wxChoiceTo_p_wxControlWithItems(void *x
) {
33074 return (void *)((wxControlWithItems
*) ((wxChoice
*) x
));
33076 static void *_p_wxListBoxTo_p_wxControlWithItems(void *x
) {
33077 return (void *)((wxControlWithItems
*) ((wxListBox
*) x
));
33079 static void *_p_wxCheckListBoxTo_p_wxControlWithItems(void *x
) {
33080 return (void *)((wxControlWithItems
*) (wxListBox
*) ((wxCheckListBox
*) x
));
33082 static void *_p_wxPyValidatorTo_p_wxValidator(void *x
) {
33083 return (void *)((wxValidator
*) ((wxPyValidator
*) x
));
33085 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}};
33086 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}};
33087 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}};
33088 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}};
33089 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}};
33090 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}};
33091 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}};
33092 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}};
33093 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}};
33094 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}};
33095 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}};
33096 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}};
33097 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}};
33098 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}};
33099 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}};
33100 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}};
33101 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}};
33102 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}};
33103 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}};
33104 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}};
33105 static swig_type_info _swigt__p_wxChoice
[] = {{"_p_wxChoice", 0, "wxChoice *", 0, 0, 0, 0},{"_p_wxComboBox", _p_wxComboBoxTo_p_wxChoice
, 0, 0, 0, 0, 0},{"_p_wxDirFilterListCtrl", _p_wxDirFilterListCtrlTo_p_wxChoice
, 0, 0, 0, 0, 0},{"_p_wxChoice", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
33106 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}};
33107 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}};
33108 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}};
33109 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}};
33110 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}};
33111 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}};
33112 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}};
33113 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}};
33114 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}};
33115 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}};
33116 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}};
33117 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}};
33118 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}};
33119 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}};
33120 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}};
33121 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}};
33122 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}};
33123 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}};
33124 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}};
33125 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}};
33126 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}};
33127 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}};
33128 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}};
33129 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}};
33130 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}};
33131 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}};
33132 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}};
33133 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}};
33134 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}};
33135 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}};
33136 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}};
33137 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}};
33138 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}};
33139 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}};
33140 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}};
33141 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}};
33142 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}};
33143 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}};
33144 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}};
33145 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}};
33146 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}};
33147 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}};
33148 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}};
33149 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}};
33150 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}};
33151 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}};
33152 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}};
33153 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}};
33154 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}};
33155 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}};
33156 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}};
33157 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}};
33158 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}};
33159 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}};
33160 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}};
33161 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}};
33162 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}};
33163 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}};
33164 static swig_type_info _swigt__p_wxControlWithItems
[] = {{"_p_wxControlWithItems", 0, "wxControlWithItems *", 0, 0, 0, 0},{"_p_wxComboBox", _p_wxComboBoxTo_p_wxControlWithItems
, 0, 0, 0, 0, 0},{"_p_wxDirFilterListCtrl", _p_wxDirFilterListCtrlTo_p_wxControlWithItems
, 0, 0, 0, 0, 0},{"_p_wxChoice", _p_wxChoiceTo_p_wxControlWithItems
, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", 0, 0, 0, 0, 0, 0},{"_p_wxListBox", _p_wxListBoxTo_p_wxControlWithItems
, 0, 0, 0, 0, 0},{"_p_wxCheckListBox", _p_wxCheckListBoxTo_p_wxControlWithItems
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
33165 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}};
33166 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}};
33167 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}};
33168 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}};
33169 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}};
33171 static swig_type_info
*swig_types_initial
[] = {
33172 _swigt__p_wxTextUrlEvent
,
33173 _swigt__p_wxBookCtrlEvent
,
33175 _swigt__p_wxCheckBox
,
33176 _swigt__p_wxPyTreeCtrl
,
33178 _swigt__p_wxGenericDirCtrl
,
33180 _swigt__p_wxPyTreeItemData
,
33181 _swigt__p_wxItemContainer
,
33182 _swigt__p_wxPyListCtrl
,
33183 _swigt__p_wxDirFilterListCtrl
,
33184 _swigt__p_wxStaticLine
,
33185 _swigt__p_wxControl
,
33186 _swigt__p_wxPyControl
,
33188 _swigt__p_wxToolBarBase
,
33190 _swigt__p_wxToggleButton
,
33191 _swigt__p_wxRadioButton
,
33192 _swigt__p_wxChoice
,
33193 _swigt__p_wxMemoryDC
,
33194 _swigt__p_wxListItemAttr
,
33199 _swigt__p_wxListView
,
33201 _swigt__p_wxVisualAttributes
,
33202 _swigt__p_wxTextCtrl
,
33203 _swigt__p_wxNotebook
,
33204 _swigt__p_wxNotifyEvent
,
33205 _swigt__p_wxArrayString
,
33206 _swigt__p_wxListbook
,
33207 _swigt__p_wxStaticBitmap
,
33208 _swigt__p_wxSlider
,
33209 _swigt__p_wxStaticBox
,
33210 _swigt__p_wxArrayInt
,
33211 _swigt__p_wxContextHelp
,
33213 _swigt__p_wxEvtHandler
,
33214 _swigt__p_wxListEvent
,
33215 _swigt__p_wxCheckListBox
,
33216 _swigt__p_wxListBox
,
33217 _swigt__p_wxBookCtrl
,
33218 _swigt__p_wxSpinButton
,
33219 _swigt__p_wxButton
,
33220 _swigt__p_wxBitmapButton
,
33222 _swigt__p_wxContextHelpButton
,
33223 _swigt__p_wxRadioBox
,
33224 _swigt__p_wxScrollBar
,
33226 _swigt__p_wxTreeItemId
,
33227 _swigt__p_wxComboBox
,
33228 _swigt__p_wxHelpEvent
,
33229 _swigt__p_wxListItem
,
33230 _swigt__p_wxNotebookSizer
,
33231 _swigt__p_wxSpinEvent
,
33232 _swigt__p_wxGenericDragImage
,
33233 _swigt__p_wxSpinCtrl
,
33234 _swigt__p_wxImageList
,
33235 _swigt__p_wxHelpProvider
,
33236 _swigt__p_wxTextAttr
,
33237 _swigt__p_wxSimpleHelpProvider
,
33239 _swigt__p_wxListbookEvent
,
33240 _swigt__p_wxNotebookEvent
,
33241 _swigt__p_wxObject
,
33242 _swigt__p_wxCursor
,
33243 _swigt__p_wxKeyEvent
,
33244 _swigt__p_wxWindow
,
33245 _swigt__p_wxString
,
33246 _swigt__p_wxBitmap
,
33247 _swigt__p_wxTreeEvent
,
33248 _swigt__p_wxMouseEvent
,
33249 _swigt__p_wxCommandEvent
,
33250 _swigt__p_wxStaticText
,
33251 _swigt__p_wxControlWithItems
,
33252 _swigt__p_wxToolBarToolBase
,
33253 _swigt__p_wxColour
,
33254 _swigt__p_wxToolBar
,
33255 _swigt__p_wxBookCtrlSizer
,
33256 _swigt__p_wxValidator
,
33261 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
33263 static swig_const_info swig_const_table
[] = {
33273 SWIGEXPORT(void) SWIG_init(void) {
33274 static PyObject
*SWIG_globals
= 0;
33275 static int typeinit
= 0;
33278 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
33279 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
33280 d
= PyModule_GetDict(m
);
33283 for (i
= 0; swig_types_initial
[i
]; i
++) {
33284 swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]);
33288 SWIG_InstallConstants(d
,swig_const_table
);
33290 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
);
33291 SWIG_addvarlink(SWIG_globals
,(char*)"ButtonNameStr",_wrap_ButtonNameStr_get
, _wrap_ButtonNameStr_set
);
33292 PyDict_SetItemString(d
,"BU_LEFT", SWIG_FromInt((int)wxBU_LEFT
));
33293 PyDict_SetItemString(d
,"BU_TOP", SWIG_FromInt((int)wxBU_TOP
));
33294 PyDict_SetItemString(d
,"BU_RIGHT", SWIG_FromInt((int)wxBU_RIGHT
));
33295 PyDict_SetItemString(d
,"BU_BOTTOM", SWIG_FromInt((int)wxBU_BOTTOM
));
33296 PyDict_SetItemString(d
,"BU_EXACTFIT", SWIG_FromInt((int)wxBU_EXACTFIT
));
33297 PyDict_SetItemString(d
,"BU_AUTODRAW", SWIG_FromInt((int)wxBU_AUTODRAW
));
33298 SWIG_addvarlink(SWIG_globals
,(char*)"CheckBoxNameStr",_wrap_CheckBoxNameStr_get
, _wrap_CheckBoxNameStr_set
);
33299 PyDict_SetItemString(d
,"CHK_2STATE", SWIG_FromInt((int)wxCHK_2STATE
));
33300 PyDict_SetItemString(d
,"CHK_3STATE", SWIG_FromInt((int)wxCHK_3STATE
));
33301 PyDict_SetItemString(d
,"CHK_ALLOW_3RD_STATE_FOR_USER", SWIG_FromInt((int)wxCHK_ALLOW_3RD_STATE_FOR_USER
));
33302 PyDict_SetItemString(d
,"CHK_UNCHECKED", SWIG_FromInt((int)wxCHK_UNCHECKED
));
33303 PyDict_SetItemString(d
,"CHK_CHECKED", SWIG_FromInt((int)wxCHK_CHECKED
));
33304 PyDict_SetItemString(d
,"CHK_UNDETERMINED", SWIG_FromInt((int)wxCHK_UNDETERMINED
));
33305 SWIG_addvarlink(SWIG_globals
,(char*)"ChoiceNameStr",_wrap_ChoiceNameStr_get
, _wrap_ChoiceNameStr_set
);
33306 SWIG_addvarlink(SWIG_globals
,(char*)"ComboBoxNameStr",_wrap_ComboBoxNameStr_get
, _wrap_ComboBoxNameStr_set
);
33307 SWIG_addvarlink(SWIG_globals
,(char*)"GaugeNameStr",_wrap_GaugeNameStr_get
, _wrap_GaugeNameStr_set
);
33308 PyDict_SetItemString(d
,"GA_HORIZONTAL", SWIG_FromInt((int)wxGA_HORIZONTAL
));
33309 PyDict_SetItemString(d
,"GA_VERTICAL", SWIG_FromInt((int)wxGA_VERTICAL
));
33310 PyDict_SetItemString(d
,"GA_SMOOTH", SWIG_FromInt((int)wxGA_SMOOTH
));
33311 PyDict_SetItemString(d
,"GA_PROGRESSBAR", SWIG_FromInt((int)wxGA_PROGRESSBAR
));
33312 SWIG_addvarlink(SWIG_globals
,(char*)"StaticBitmapNameStr",_wrap_StaticBitmapNameStr_get
, _wrap_StaticBitmapNameStr_set
);
33313 SWIG_addvarlink(SWIG_globals
,(char*)"StaticBoxNameStr",_wrap_StaticBoxNameStr_get
, _wrap_StaticBoxNameStr_set
);
33314 SWIG_addvarlink(SWIG_globals
,(char*)"StaticTextNameStr",_wrap_StaticTextNameStr_get
, _wrap_StaticTextNameStr_set
);
33315 SWIG_addvarlink(SWIG_globals
,(char*)"ListBoxNameStr",_wrap_ListBoxNameStr_get
, _wrap_ListBoxNameStr_set
);
33316 SWIG_addvarlink(SWIG_globals
,(char*)"TextCtrlNameStr",_wrap_TextCtrlNameStr_get
, _wrap_TextCtrlNameStr_set
);
33317 PyDict_SetItemString(d
,"TE_NO_VSCROLL", SWIG_FromInt((int)wxTE_NO_VSCROLL
));
33318 PyDict_SetItemString(d
,"TE_AUTO_SCROLL", SWIG_FromInt((int)wxTE_AUTO_SCROLL
));
33319 PyDict_SetItemString(d
,"TE_READONLY", SWIG_FromInt((int)wxTE_READONLY
));
33320 PyDict_SetItemString(d
,"TE_MULTILINE", SWIG_FromInt((int)wxTE_MULTILINE
));
33321 PyDict_SetItemString(d
,"TE_PROCESS_TAB", SWIG_FromInt((int)wxTE_PROCESS_TAB
));
33322 PyDict_SetItemString(d
,"TE_LEFT", SWIG_FromInt((int)wxTE_LEFT
));
33323 PyDict_SetItemString(d
,"TE_CENTER", SWIG_FromInt((int)wxTE_CENTER
));
33324 PyDict_SetItemString(d
,"TE_RIGHT", SWIG_FromInt((int)wxTE_RIGHT
));
33325 PyDict_SetItemString(d
,"TE_CENTRE", SWIG_FromInt((int)wxTE_CENTRE
));
33326 PyDict_SetItemString(d
,"TE_RICH", SWIG_FromInt((int)wxTE_RICH
));
33327 PyDict_SetItemString(d
,"TE_PROCESS_ENTER", SWIG_FromInt((int)wxTE_PROCESS_ENTER
));
33328 PyDict_SetItemString(d
,"TE_PASSWORD", SWIG_FromInt((int)wxTE_PASSWORD
));
33329 PyDict_SetItemString(d
,"TE_AUTO_URL", SWIG_FromInt((int)wxTE_AUTO_URL
));
33330 PyDict_SetItemString(d
,"TE_NOHIDESEL", SWIG_FromInt((int)wxTE_NOHIDESEL
));
33331 PyDict_SetItemString(d
,"TE_DONTWRAP", SWIG_FromInt((int)wxTE_DONTWRAP
));
33332 PyDict_SetItemString(d
,"TE_LINEWRAP", SWIG_FromInt((int)wxTE_LINEWRAP
));
33333 PyDict_SetItemString(d
,"TE_WORDWRAP", SWIG_FromInt((int)wxTE_WORDWRAP
));
33334 PyDict_SetItemString(d
,"TE_RICH2", SWIG_FromInt((int)wxTE_RICH2
));
33335 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_DEFAULT", SWIG_FromInt((int)wxTEXT_ALIGNMENT_DEFAULT
));
33336 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_LEFT", SWIG_FromInt((int)wxTEXT_ALIGNMENT_LEFT
));
33337 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_CENTRE", SWIG_FromInt((int)wxTEXT_ALIGNMENT_CENTRE
));
33338 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_CENTER", SWIG_FromInt((int)wxTEXT_ALIGNMENT_CENTER
));
33339 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_RIGHT", SWIG_FromInt((int)wxTEXT_ALIGNMENT_RIGHT
));
33340 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_JUSTIFIED", SWIG_FromInt((int)wxTEXT_ALIGNMENT_JUSTIFIED
));
33341 PyDict_SetItemString(d
,"TEXT_ATTR_TEXT_COLOUR", SWIG_FromInt((int)wxTEXT_ATTR_TEXT_COLOUR
));
33342 PyDict_SetItemString(d
,"TEXT_ATTR_BACKGROUND_COLOUR", SWIG_FromInt((int)wxTEXT_ATTR_BACKGROUND_COLOUR
));
33343 PyDict_SetItemString(d
,"TEXT_ATTR_FONT_FACE", SWIG_FromInt((int)wxTEXT_ATTR_FONT_FACE
));
33344 PyDict_SetItemString(d
,"TEXT_ATTR_FONT_SIZE", SWIG_FromInt((int)wxTEXT_ATTR_FONT_SIZE
));
33345 PyDict_SetItemString(d
,"TEXT_ATTR_FONT_WEIGHT", SWIG_FromInt((int)wxTEXT_ATTR_FONT_WEIGHT
));
33346 PyDict_SetItemString(d
,"TEXT_ATTR_FONT_ITALIC", SWIG_FromInt((int)wxTEXT_ATTR_FONT_ITALIC
));
33347 PyDict_SetItemString(d
,"TEXT_ATTR_FONT_UNDERLINE", SWIG_FromInt((int)wxTEXT_ATTR_FONT_UNDERLINE
));
33348 PyDict_SetItemString(d
,"TEXT_ATTR_FONT", SWIG_FromInt((int)wxTEXT_ATTR_FONT
));
33349 PyDict_SetItemString(d
,"TEXT_ATTR_ALIGNMENT", SWIG_FromInt((int)wxTEXT_ATTR_ALIGNMENT
));
33350 PyDict_SetItemString(d
,"TEXT_ATTR_LEFT_INDENT", SWIG_FromInt((int)wxTEXT_ATTR_LEFT_INDENT
));
33351 PyDict_SetItemString(d
,"TEXT_ATTR_RIGHT_INDENT", SWIG_FromInt((int)wxTEXT_ATTR_RIGHT_INDENT
));
33352 PyDict_SetItemString(d
,"TEXT_ATTR_TABS", SWIG_FromInt((int)wxTEXT_ATTR_TABS
));
33353 PyDict_SetItemString(d
,"TE_HT_UNKNOWN", SWIG_FromInt((int)wxTE_HT_UNKNOWN
));
33354 PyDict_SetItemString(d
,"TE_HT_BEFORE", SWIG_FromInt((int)wxTE_HT_BEFORE
));
33355 PyDict_SetItemString(d
,"TE_HT_ON_TEXT", SWIG_FromInt((int)wxTE_HT_ON_TEXT
));
33356 PyDict_SetItemString(d
,"TE_HT_BELOW", SWIG_FromInt((int)wxTE_HT_BELOW
));
33357 PyDict_SetItemString(d
,"TE_HT_BEYOND", SWIG_FromInt((int)wxTE_HT_BEYOND
));
33358 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_UPDATED", PyInt_FromLong(wxEVT_COMMAND_TEXT_UPDATED
));
33359 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_ENTER", PyInt_FromLong(wxEVT_COMMAND_TEXT_ENTER
));
33360 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_URL", PyInt_FromLong(wxEVT_COMMAND_TEXT_URL
));
33361 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_MAXLEN", PyInt_FromLong(wxEVT_COMMAND_TEXT_MAXLEN
));
33362 SWIG_addvarlink(SWIG_globals
,(char*)"ScrollBarNameStr",_wrap_ScrollBarNameStr_get
, _wrap_ScrollBarNameStr_set
);
33363 SWIG_addvarlink(SWIG_globals
,(char*)"SPIN_BUTTON_NAME",_wrap_SPIN_BUTTON_NAME_get
, _wrap_SPIN_BUTTON_NAME_set
);
33364 SWIG_addvarlink(SWIG_globals
,(char*)"SpinCtrlNameStr",_wrap_SpinCtrlNameStr_get
, _wrap_SpinCtrlNameStr_set
);
33365 PyDict_SetItemString(d
,"SP_HORIZONTAL", SWIG_FromInt((int)wxSP_HORIZONTAL
));
33366 PyDict_SetItemString(d
,"SP_VERTICAL", SWIG_FromInt((int)wxSP_VERTICAL
));
33367 PyDict_SetItemString(d
,"SP_ARROW_KEYS", SWIG_FromInt((int)wxSP_ARROW_KEYS
));
33368 PyDict_SetItemString(d
,"SP_WRAP", SWIG_FromInt((int)wxSP_WRAP
));
33369 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPINCTRL_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SPINCTRL_UPDATED
));
33370 SWIG_addvarlink(SWIG_globals
,(char*)"RadioBoxNameStr",_wrap_RadioBoxNameStr_get
, _wrap_RadioBoxNameStr_set
);
33371 SWIG_addvarlink(SWIG_globals
,(char*)"RadioButtonNameStr",_wrap_RadioButtonNameStr_get
, _wrap_RadioButtonNameStr_set
);
33372 SWIG_addvarlink(SWIG_globals
,(char*)"SliderNameStr",_wrap_SliderNameStr_get
, _wrap_SliderNameStr_set
);
33373 SWIG_addvarlink(SWIG_globals
,(char*)"ToggleButtonNameStr",_wrap_ToggleButtonNameStr_get
, _wrap_ToggleButtonNameStr_set
);
33374 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOGGLEBUTTON_CLICKED", PyInt_FromLong(wxEVT_COMMAND_TOGGLEBUTTON_CLICKED
));
33375 SWIG_addvarlink(SWIG_globals
,(char*)"NOTEBOOK_NAME",_wrap_NOTEBOOK_NAME_get
, _wrap_NOTEBOOK_NAME_set
);
33376 PyDict_SetItemString(d
,"NB_FIXEDWIDTH", SWIG_FromInt((int)wxNB_FIXEDWIDTH
));
33377 PyDict_SetItemString(d
,"NB_TOP", SWIG_FromInt((int)wxNB_TOP
));
33378 PyDict_SetItemString(d
,"NB_LEFT", SWIG_FromInt((int)wxNB_LEFT
));
33379 PyDict_SetItemString(d
,"NB_RIGHT", SWIG_FromInt((int)wxNB_RIGHT
));
33380 PyDict_SetItemString(d
,"NB_BOTTOM", SWIG_FromInt((int)wxNB_BOTTOM
));
33381 PyDict_SetItemString(d
,"NB_MULTILINE", SWIG_FromInt((int)wxNB_MULTILINE
));
33382 PyDict_SetItemString(d
,"NB_HITTEST_NOWHERE", SWIG_FromInt((int)wxNB_HITTEST_NOWHERE
));
33383 PyDict_SetItemString(d
,"NB_HITTEST_ONICON", SWIG_FromInt((int)wxNB_HITTEST_ONICON
));
33384 PyDict_SetItemString(d
,"NB_HITTEST_ONLABEL", SWIG_FromInt((int)wxNB_HITTEST_ONLABEL
));
33385 PyDict_SetItemString(d
,"NB_HITTEST_ONITEM", SWIG_FromInt((int)wxNB_HITTEST_ONITEM
));
33386 PyDict_SetItemString(d
, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED
));
33387 PyDict_SetItemString(d
, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING
));
33388 PyDict_SetItemString(d
,"LB_DEFAULT", SWIG_FromInt((int)wxLB_DEFAULT
));
33389 PyDict_SetItemString(d
,"LB_TOP", SWIG_FromInt((int)wxLB_TOP
));
33390 PyDict_SetItemString(d
,"LB_BOTTOM", SWIG_FromInt((int)wxLB_BOTTOM
));
33391 PyDict_SetItemString(d
,"LB_LEFT", SWIG_FromInt((int)wxLB_LEFT
));
33392 PyDict_SetItemString(d
,"LB_RIGHT", SWIG_FromInt((int)wxLB_RIGHT
));
33393 PyDict_SetItemString(d
,"LB_ALIGN_MASK", SWIG_FromInt((int)wxLB_ALIGN_MASK
));
33394 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED
));
33395 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING
));
33396 PyDict_SetItemString(d
,"TOOL_STYLE_BUTTON", SWIG_FromInt((int)wxTOOL_STYLE_BUTTON
));
33397 PyDict_SetItemString(d
,"TOOL_STYLE_SEPARATOR", SWIG_FromInt((int)wxTOOL_STYLE_SEPARATOR
));
33398 PyDict_SetItemString(d
,"TOOL_STYLE_CONTROL", SWIG_FromInt((int)wxTOOL_STYLE_CONTROL
));
33399 PyDict_SetItemString(d
,"TB_HORIZONTAL", SWIG_FromInt((int)wxTB_HORIZONTAL
));
33400 PyDict_SetItemString(d
,"TB_VERTICAL", SWIG_FromInt((int)wxTB_VERTICAL
));
33401 PyDict_SetItemString(d
,"TB_3DBUTTONS", SWIG_FromInt((int)wxTB_3DBUTTONS
));
33402 PyDict_SetItemString(d
,"TB_FLAT", SWIG_FromInt((int)wxTB_FLAT
));
33403 PyDict_SetItemString(d
,"TB_DOCKABLE", SWIG_FromInt((int)wxTB_DOCKABLE
));
33404 PyDict_SetItemString(d
,"TB_NOICONS", SWIG_FromInt((int)wxTB_NOICONS
));
33405 PyDict_SetItemString(d
,"TB_TEXT", SWIG_FromInt((int)wxTB_TEXT
));
33406 PyDict_SetItemString(d
,"TB_NODIVIDER", SWIG_FromInt((int)wxTB_NODIVIDER
));
33407 PyDict_SetItemString(d
,"TB_NOALIGN", SWIG_FromInt((int)wxTB_NOALIGN
));
33408 PyDict_SetItemString(d
,"TB_HORZ_LAYOUT", SWIG_FromInt((int)wxTB_HORZ_LAYOUT
));
33409 PyDict_SetItemString(d
,"TB_HORZ_TEXT", SWIG_FromInt((int)wxTB_HORZ_TEXT
));
33410 SWIG_addvarlink(SWIG_globals
,(char*)"ListCtrlNameStr",_wrap_ListCtrlNameStr_get
, _wrap_ListCtrlNameStr_set
);
33411 PyDict_SetItemString(d
,"LC_VRULES", SWIG_FromInt((int)wxLC_VRULES
));
33412 PyDict_SetItemString(d
,"LC_HRULES", SWIG_FromInt((int)wxLC_HRULES
));
33413 PyDict_SetItemString(d
,"LC_ICON", SWIG_FromInt((int)wxLC_ICON
));
33414 PyDict_SetItemString(d
,"LC_SMALL_ICON", SWIG_FromInt((int)wxLC_SMALL_ICON
));
33415 PyDict_SetItemString(d
,"LC_LIST", SWIG_FromInt((int)wxLC_LIST
));
33416 PyDict_SetItemString(d
,"LC_REPORT", SWIG_FromInt((int)wxLC_REPORT
));
33417 PyDict_SetItemString(d
,"LC_ALIGN_TOP", SWIG_FromInt((int)wxLC_ALIGN_TOP
));
33418 PyDict_SetItemString(d
,"LC_ALIGN_LEFT", SWIG_FromInt((int)wxLC_ALIGN_LEFT
));
33419 PyDict_SetItemString(d
,"LC_AUTOARRANGE", SWIG_FromInt((int)wxLC_AUTOARRANGE
));
33420 PyDict_SetItemString(d
,"LC_VIRTUAL", SWIG_FromInt((int)wxLC_VIRTUAL
));
33421 PyDict_SetItemString(d
,"LC_EDIT_LABELS", SWIG_FromInt((int)wxLC_EDIT_LABELS
));
33422 PyDict_SetItemString(d
,"LC_NO_HEADER", SWIG_FromInt((int)wxLC_NO_HEADER
));
33423 PyDict_SetItemString(d
,"LC_NO_SORT_HEADER", SWIG_FromInt((int)wxLC_NO_SORT_HEADER
));
33424 PyDict_SetItemString(d
,"LC_SINGLE_SEL", SWIG_FromInt((int)wxLC_SINGLE_SEL
));
33425 PyDict_SetItemString(d
,"LC_SORT_ASCENDING", SWIG_FromInt((int)wxLC_SORT_ASCENDING
));
33426 PyDict_SetItemString(d
,"LC_SORT_DESCENDING", SWIG_FromInt((int)wxLC_SORT_DESCENDING
));
33427 PyDict_SetItemString(d
,"LC_MASK_TYPE", SWIG_FromInt((int)wxLC_MASK_TYPE
));
33428 PyDict_SetItemString(d
,"LC_MASK_ALIGN", SWIG_FromInt((int)wxLC_MASK_ALIGN
));
33429 PyDict_SetItemString(d
,"LC_MASK_SORT", SWIG_FromInt((int)wxLC_MASK_SORT
));
33430 PyDict_SetItemString(d
,"LIST_MASK_STATE", SWIG_FromInt((int)wxLIST_MASK_STATE
));
33431 PyDict_SetItemString(d
,"LIST_MASK_TEXT", SWIG_FromInt((int)wxLIST_MASK_TEXT
));
33432 PyDict_SetItemString(d
,"LIST_MASK_IMAGE", SWIG_FromInt((int)wxLIST_MASK_IMAGE
));
33433 PyDict_SetItemString(d
,"LIST_MASK_DATA", SWIG_FromInt((int)wxLIST_MASK_DATA
));
33434 PyDict_SetItemString(d
,"LIST_SET_ITEM", SWIG_FromInt((int)wxLIST_SET_ITEM
));
33435 PyDict_SetItemString(d
,"LIST_MASK_WIDTH", SWIG_FromInt((int)wxLIST_MASK_WIDTH
));
33436 PyDict_SetItemString(d
,"LIST_MASK_FORMAT", SWIG_FromInt((int)wxLIST_MASK_FORMAT
));
33437 PyDict_SetItemString(d
,"LIST_STATE_DONTCARE", SWIG_FromInt((int)wxLIST_STATE_DONTCARE
));
33438 PyDict_SetItemString(d
,"LIST_STATE_DROPHILITED", SWIG_FromInt((int)wxLIST_STATE_DROPHILITED
));
33439 PyDict_SetItemString(d
,"LIST_STATE_FOCUSED", SWIG_FromInt((int)wxLIST_STATE_FOCUSED
));
33440 PyDict_SetItemString(d
,"LIST_STATE_SELECTED", SWIG_FromInt((int)wxLIST_STATE_SELECTED
));
33441 PyDict_SetItemString(d
,"LIST_STATE_CUT", SWIG_FromInt((int)wxLIST_STATE_CUT
));
33442 PyDict_SetItemString(d
,"LIST_STATE_DISABLED", SWIG_FromInt((int)wxLIST_STATE_DISABLED
));
33443 PyDict_SetItemString(d
,"LIST_STATE_FILTERED", SWIG_FromInt((int)wxLIST_STATE_FILTERED
));
33444 PyDict_SetItemString(d
,"LIST_STATE_INUSE", SWIG_FromInt((int)wxLIST_STATE_INUSE
));
33445 PyDict_SetItemString(d
,"LIST_STATE_PICKED", SWIG_FromInt((int)wxLIST_STATE_PICKED
));
33446 PyDict_SetItemString(d
,"LIST_STATE_SOURCE", SWIG_FromInt((int)wxLIST_STATE_SOURCE
));
33447 PyDict_SetItemString(d
,"LIST_HITTEST_ABOVE", SWIG_FromInt((int)wxLIST_HITTEST_ABOVE
));
33448 PyDict_SetItemString(d
,"LIST_HITTEST_BELOW", SWIG_FromInt((int)wxLIST_HITTEST_BELOW
));
33449 PyDict_SetItemString(d
,"LIST_HITTEST_NOWHERE", SWIG_FromInt((int)wxLIST_HITTEST_NOWHERE
));
33450 PyDict_SetItemString(d
,"LIST_HITTEST_ONITEMICON", SWIG_FromInt((int)wxLIST_HITTEST_ONITEMICON
));
33451 PyDict_SetItemString(d
,"LIST_HITTEST_ONITEMLABEL", SWIG_FromInt((int)wxLIST_HITTEST_ONITEMLABEL
));
33452 PyDict_SetItemString(d
,"LIST_HITTEST_ONITEMRIGHT", SWIG_FromInt((int)wxLIST_HITTEST_ONITEMRIGHT
));
33453 PyDict_SetItemString(d
,"LIST_HITTEST_ONITEMSTATEICON", SWIG_FromInt((int)wxLIST_HITTEST_ONITEMSTATEICON
));
33454 PyDict_SetItemString(d
,"LIST_HITTEST_TOLEFT", SWIG_FromInt((int)wxLIST_HITTEST_TOLEFT
));
33455 PyDict_SetItemString(d
,"LIST_HITTEST_TORIGHT", SWIG_FromInt((int)wxLIST_HITTEST_TORIGHT
));
33456 PyDict_SetItemString(d
,"LIST_HITTEST_ONITEM", SWIG_FromInt((int)wxLIST_HITTEST_ONITEM
));
33457 PyDict_SetItemString(d
,"LIST_NEXT_ABOVE", SWIG_FromInt((int)wxLIST_NEXT_ABOVE
));
33458 PyDict_SetItemString(d
,"LIST_NEXT_ALL", SWIG_FromInt((int)wxLIST_NEXT_ALL
));
33459 PyDict_SetItemString(d
,"LIST_NEXT_BELOW", SWIG_FromInt((int)wxLIST_NEXT_BELOW
));
33460 PyDict_SetItemString(d
,"LIST_NEXT_LEFT", SWIG_FromInt((int)wxLIST_NEXT_LEFT
));
33461 PyDict_SetItemString(d
,"LIST_NEXT_RIGHT", SWIG_FromInt((int)wxLIST_NEXT_RIGHT
));
33462 PyDict_SetItemString(d
,"LIST_ALIGN_DEFAULT", SWIG_FromInt((int)wxLIST_ALIGN_DEFAULT
));
33463 PyDict_SetItemString(d
,"LIST_ALIGN_LEFT", SWIG_FromInt((int)wxLIST_ALIGN_LEFT
));
33464 PyDict_SetItemString(d
,"LIST_ALIGN_TOP", SWIG_FromInt((int)wxLIST_ALIGN_TOP
));
33465 PyDict_SetItemString(d
,"LIST_ALIGN_SNAP_TO_GRID", SWIG_FromInt((int)wxLIST_ALIGN_SNAP_TO_GRID
));
33466 PyDict_SetItemString(d
,"LIST_FORMAT_LEFT", SWIG_FromInt((int)wxLIST_FORMAT_LEFT
));
33467 PyDict_SetItemString(d
,"LIST_FORMAT_RIGHT", SWIG_FromInt((int)wxLIST_FORMAT_RIGHT
));
33468 PyDict_SetItemString(d
,"LIST_FORMAT_CENTRE", SWIG_FromInt((int)wxLIST_FORMAT_CENTRE
));
33469 PyDict_SetItemString(d
,"LIST_FORMAT_CENTER", SWIG_FromInt((int)wxLIST_FORMAT_CENTER
));
33470 PyDict_SetItemString(d
,"LIST_AUTOSIZE", SWIG_FromInt((int)wxLIST_AUTOSIZE
));
33471 PyDict_SetItemString(d
,"LIST_AUTOSIZE_USEHEADER", SWIG_FromInt((int)wxLIST_AUTOSIZE_USEHEADER
));
33472 PyDict_SetItemString(d
,"LIST_RECT_BOUNDS", SWIG_FromInt((int)wxLIST_RECT_BOUNDS
));
33473 PyDict_SetItemString(d
,"LIST_RECT_ICON", SWIG_FromInt((int)wxLIST_RECT_ICON
));
33474 PyDict_SetItemString(d
,"LIST_RECT_LABEL", SWIG_FromInt((int)wxLIST_RECT_LABEL
));
33475 PyDict_SetItemString(d
,"LIST_FIND_UP", SWIG_FromInt((int)wxLIST_FIND_UP
));
33476 PyDict_SetItemString(d
,"LIST_FIND_DOWN", SWIG_FromInt((int)wxLIST_FIND_DOWN
));
33477 PyDict_SetItemString(d
,"LIST_FIND_LEFT", SWIG_FromInt((int)wxLIST_FIND_LEFT
));
33478 PyDict_SetItemString(d
,"LIST_FIND_RIGHT", SWIG_FromInt((int)wxLIST_FIND_RIGHT
));
33479 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_DRAG
));
33480 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_RDRAG
));
33481 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT
));
33482 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_END_LABEL_EDIT
));
33483 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ITEM
));
33484 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS
));
33485 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_GET_INFO", PyInt_FromLong(wxEVT_COMMAND_LIST_GET_INFO
));
33486 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_SET_INFO", PyInt_FromLong(wxEVT_COMMAND_LIST_SET_INFO
));
33487 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_SELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_SELECTED
));
33488 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_DESELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_DESELECTED
));
33489 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_LIST_KEY_DOWN
));
33490 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_INSERT_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_INSERT_ITEM
));
33491 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_CLICK
));
33492 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK
));
33493 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK
));
33494 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_ACTIVATED
));
33495 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_CACHE_HINT", PyInt_FromLong(wxEVT_COMMAND_LIST_CACHE_HINT
));
33496 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_RIGHT_CLICK
));
33497 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_BEGIN_DRAG
));
33498 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_DRAGGING", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_DRAGGING
));
33499 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_END_DRAG
));
33500 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_FOCUSED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_FOCUSED
));
33502 // Map renamed classes back to their common name for OOR
33503 wxPyPtrTypeMap_Add("wxListCtrl", "wxPyListCtrl");
33505 SWIG_addvarlink(SWIG_globals
,(char*)"TreeCtrlNameStr",_wrap_TreeCtrlNameStr_get
, _wrap_TreeCtrlNameStr_set
);
33506 PyDict_SetItemString(d
,"TR_NO_BUTTONS", SWIG_FromInt((int)wxTR_NO_BUTTONS
));
33507 PyDict_SetItemString(d
,"TR_HAS_BUTTONS", SWIG_FromInt((int)wxTR_HAS_BUTTONS
));
33508 PyDict_SetItemString(d
,"TR_NO_LINES", SWIG_FromInt((int)wxTR_NO_LINES
));
33509 PyDict_SetItemString(d
,"TR_LINES_AT_ROOT", SWIG_FromInt((int)wxTR_LINES_AT_ROOT
));
33510 PyDict_SetItemString(d
,"TR_SINGLE", SWIG_FromInt((int)wxTR_SINGLE
));
33511 PyDict_SetItemString(d
,"TR_MULTIPLE", SWIG_FromInt((int)wxTR_MULTIPLE
));
33512 PyDict_SetItemString(d
,"TR_EXTENDED", SWIG_FromInt((int)wxTR_EXTENDED
));
33513 PyDict_SetItemString(d
,"TR_HAS_VARIABLE_ROW_HEIGHT", SWIG_FromInt((int)wxTR_HAS_VARIABLE_ROW_HEIGHT
));
33514 PyDict_SetItemString(d
,"TR_EDIT_LABELS", SWIG_FromInt((int)wxTR_EDIT_LABELS
));
33515 PyDict_SetItemString(d
,"TR_HIDE_ROOT", SWIG_FromInt((int)wxTR_HIDE_ROOT
));
33516 PyDict_SetItemString(d
,"TR_ROW_LINES", SWIG_FromInt((int)wxTR_ROW_LINES
));
33517 PyDict_SetItemString(d
,"TR_FULL_ROW_HIGHLIGHT", SWIG_FromInt((int)wxTR_FULL_ROW_HIGHLIGHT
));
33518 PyDict_SetItemString(d
,"TR_DEFAULT_STYLE", SWIG_FromInt((int)wxTR_DEFAULT_STYLE
));
33519 PyDict_SetItemString(d
,"TR_TWIST_BUTTONS", SWIG_FromInt((int)wxTR_TWIST_BUTTONS
));
33520 PyDict_SetItemString(d
,"TR_MAC_BUTTONS", SWIG_FromInt((int)wxTR_MAC_BUTTONS
));
33521 PyDict_SetItemString(d
,"TR_AQUA_BUTTONS", SWIG_FromInt((int)wxTR_AQUA_BUTTONS
));
33522 PyDict_SetItemString(d
,"TreeItemIcon_Normal", SWIG_FromInt((int)wxTreeItemIcon_Normal
));
33523 PyDict_SetItemString(d
,"TreeItemIcon_Selected", SWIG_FromInt((int)wxTreeItemIcon_Selected
));
33524 PyDict_SetItemString(d
,"TreeItemIcon_Expanded", SWIG_FromInt((int)wxTreeItemIcon_Expanded
));
33525 PyDict_SetItemString(d
,"TreeItemIcon_SelectedExpanded", SWIG_FromInt((int)wxTreeItemIcon_SelectedExpanded
));
33526 PyDict_SetItemString(d
,"TreeItemIcon_Max", SWIG_FromInt((int)wxTreeItemIcon_Max
));
33527 PyDict_SetItemString(d
,"TREE_HITTEST_ABOVE", SWIG_FromInt((int)wxTREE_HITTEST_ABOVE
));
33528 PyDict_SetItemString(d
,"TREE_HITTEST_BELOW", SWIG_FromInt((int)wxTREE_HITTEST_BELOW
));
33529 PyDict_SetItemString(d
,"TREE_HITTEST_NOWHERE", SWIG_FromInt((int)wxTREE_HITTEST_NOWHERE
));
33530 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMBUTTON", SWIG_FromInt((int)wxTREE_HITTEST_ONITEMBUTTON
));
33531 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMICON", SWIG_FromInt((int)wxTREE_HITTEST_ONITEMICON
));
33532 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMINDENT", SWIG_FromInt((int)wxTREE_HITTEST_ONITEMINDENT
));
33533 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMLABEL", SWIG_FromInt((int)wxTREE_HITTEST_ONITEMLABEL
));
33534 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMRIGHT", SWIG_FromInt((int)wxTREE_HITTEST_ONITEMRIGHT
));
33535 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMSTATEICON", SWIG_FromInt((int)wxTREE_HITTEST_ONITEMSTATEICON
));
33536 PyDict_SetItemString(d
,"TREE_HITTEST_TOLEFT", SWIG_FromInt((int)wxTREE_HITTEST_TOLEFT
));
33537 PyDict_SetItemString(d
,"TREE_HITTEST_TORIGHT", SWIG_FromInt((int)wxTREE_HITTEST_TORIGHT
));
33538 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMUPPERPART", SWIG_FromInt((int)wxTREE_HITTEST_ONITEMUPPERPART
));
33539 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMLOWERPART", SWIG_FromInt((int)wxTREE_HITTEST_ONITEMLOWERPART
));
33540 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEM", SWIG_FromInt((int)wxTREE_HITTEST_ONITEM
));
33541 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_DRAG
));
33542 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_RDRAG
));
33543 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT
));
33544 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_END_LABEL_EDIT
));
33545 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_TREE_DELETE_ITEM
));
33546 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_GET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_GET_INFO
));
33547 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_SET_INFO
));
33548 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_EXPANDED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDED
));
33549 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_EXPANDING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDING
));
33550 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_COLLAPSED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSED
));
33551 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_COLLAPSING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSING
));
33552 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SEL_CHANGED", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGED
));
33553 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SEL_CHANGING", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGING
));
33554 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_TREE_KEY_DOWN
));
33555 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_ACTIVATED
));
33556 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK
));
33557 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK
));
33558 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_END_DRAG
));
33559 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK
));
33560 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP
));
33562 // Map renamed classes back to their common name for OOR
33563 wxPyPtrTypeMap_Add("wxTreeItemData", "wxPyTreeItemData");
33564 wxPyPtrTypeMap_Add("wxTreeCtrl", "wxPyTreeCtrl");
33566 SWIG_addvarlink(SWIG_globals
,(char*)"DirDialogDefaultFolderStr",_wrap_DirDialogDefaultFolderStr_get
, _wrap_DirDialogDefaultFolderStr_set
);
33567 PyDict_SetItemString(d
,"DIRCTRL_DIR_ONLY", SWIG_FromInt((int)wxDIRCTRL_DIR_ONLY
));
33568 PyDict_SetItemString(d
,"DIRCTRL_SELECT_FIRST", SWIG_FromInt((int)wxDIRCTRL_SELECT_FIRST
));
33569 PyDict_SetItemString(d
,"DIRCTRL_SHOW_FILTERS", SWIG_FromInt((int)wxDIRCTRL_SHOW_FILTERS
));
33570 PyDict_SetItemString(d
,"DIRCTRL_3D_INTERNAL", SWIG_FromInt((int)wxDIRCTRL_3D_INTERNAL
));
33571 PyDict_SetItemString(d
,"DIRCTRL_EDIT_LABELS", SWIG_FromInt((int)wxDIRCTRL_EDIT_LABELS
));
33572 PyDict_SetItemString(d
,"FRAME_EX_CONTEXTHELP", SWIG_FromInt((int)wxFRAME_EX_CONTEXTHELP
));
33573 PyDict_SetItemString(d
,"DIALOG_EX_CONTEXTHELP", SWIG_FromInt((int)wxDIALOG_EX_CONTEXTHELP
));
33574 PyDict_SetItemString(d
, "wxEVT_HELP", PyInt_FromLong(wxEVT_HELP
));
33575 PyDict_SetItemString(d
, "wxEVT_DETAILED_HELP", PyInt_FromLong(wxEVT_DETAILED_HELP
));
33577 wxPyPtrTypeMap_Add("wxDragImage", "wxGenericDragImage");